Retrieves the details of a blueprint run.
Parameters:
Raises:
Source code in docs_src/capo_glue/_services/glue.py
| def get_blueprint_run(
self,
blueprint_name: "capo_glue.types.orchestration_name_string.OrchestrationNameString",
run_id: "capo_glue.types.id_string.IdString",
*,
config_overrides: Optional[GlueClientConfig] = None,
) -> "capo_glue.types.get_blueprint_run_response.GetBlueprintRunResponse":
"""<p>Retrieves the details of a blueprint run.</p>
Args:
blueprint_name: <p>The name of the blueprint.</p>
run_id: <p>The run ID for the blueprint run you want to retrieve.</p>
Raises:
capo_glue.errors.entity_not_found_exception.EntityNotFoundException: <p>A specified entity does not exist</p>
capo_glue.errors.internal_service_exception.InternalServiceException: <p>An internal service error occurred.</p>
capo_glue.errors.operation_timeout_exception.OperationTimeoutException: <p>The operation timed out.</p>
capo_glue.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_glue.types.get_blueprint_run_request.GetBlueprintRunRequest]",
) -> OperationResponse[
"capo_glue.types.get_blueprint_run_response.GetBlueprintRunResponse"
]:
import capo_glue._operations.aws_glue.get_blueprint_run
output, http_response = (
capo_glue._operations.aws_glue.get_blueprint_run.get_blueprint_run(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetBlueprintRun")
)
input_: capo_glue.types.get_blueprint_run_request.GetBlueprintRunRequest = {
"blueprint_name": blueprint_name,
"run_id": run_id,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|