Gets the details of a specific data set.
Parameters:
-
application_id
(Identifier)
–
The unique identifier of the application that this data set is associated with.
-
data_set_name
(String200)
–
The name of the data set.
Raises:
Source code in docs_src/capo_m2/_services/m2.py
| def get_data_set_details(
self,
application_id: "capo_m2.types.identifier.Identifier",
data_set_name: "capo_m2.types.string200.String200",
*,
config_overrides: Optional[m2ClientConfig] = None,
) -> "capo_m2.types.get_data_set_details_response.GetDataSetDetailsResponse":
"""<p>Gets the details of a specific data set.</p>
Args:
application_id: <p>The unique identifier of the application that this data set is associated with.</p>
data_set_name: <p>The name of the data set.</p>
Raises:
capo_m2.errors.access_denied_exception.AccessDeniedException: <p>The account or role doesn't have the right permissions to make the request.</p>
capo_m2.errors.conflict_exception.ConflictException: <p>The parameters provided in the request conflict with existing resources.</p>
capo_m2.errors.execution_timeout_exception.ExecutionTimeoutException: <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
capo_m2.errors.internal_server_exception.InternalServerException: <p>An unexpected error occurred during the processing of the request.</p>
capo_m2.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified resource was not found.</p>
capo_m2.errors.service_unavailable_exception.ServiceUnavailableException: <p>Server cannot process the request at the moment.</p>
capo_m2.errors.throttling_exception.ThrottlingException: <p>The number of requests made exceeds the limit.</p>
capo_m2.errors.validation_exception.ValidationException: <p>One or more parameters provided in the request is not valid.</p>
capo_m2.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_m2.types.get_data_set_details_request.GetDataSetDetailsRequest]",
) -> OperationResponse[
"capo_m2.types.get_data_set_details_response.GetDataSetDetailsResponse"
]:
import capo_m2._operations.aws_supernova_control_plane_service.get_data_set_details
output, http_response = (
capo_m2._operations.aws_supernova_control_plane_service.get_data_set_details.get_data_set_details(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetDataSetDetails")
)
input_: capo_m2.types.get_data_set_details_request.GetDataSetDetailsRequest = {
"application_id": application_id,
"data_set_name": data_set_name,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|