Retrieves the details of blueprint runs for a specified blueprint.
Parameters:
-
blueprint_name
(NameString)
–
The name of the blueprint.
-
next_token
(Optional[GenericString], default:
None
)
–
A continuation token, if this is a continuation request.
-
max_results
(Optional[PageSize], default:
None
)
–
The maximum size of a list to return.
Raises:
Source code in docs_src/capo_glue/_services/async_glue.py
| async def get_blueprint_runs(
self,
blueprint_name: "capo_glue.types.name_string.NameString",
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
next_token: Optional["capo_glue.types.generic_string.GenericString"] = None,
max_results: Optional["capo_glue.types.page_size.PageSize"] = None,
) -> "capo_glue.types.get_blueprint_runs_response.GetBlueprintRunsResponse":
"""<p>Retrieves the details of blueprint runs for a specified blueprint.</p>
Args:
blueprint_name: <p>The name of the blueprint.</p>
next_token: <p>A continuation token, if this is a continuation request.</p>
max_results: <p>The maximum size of a list to return.</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.invalid_input_exception.InvalidInputException: <p>The input provided was not valid.</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.
"""
async def _handler(
req: "AsyncOperationRequest[capo_glue.types.get_blueprint_runs_request.GetBlueprintRunsRequest]",
) -> AsyncOperationResponse[
"capo_glue.types.get_blueprint_runs_response.GetBlueprintRunsResponse"
]:
import capo_glue._operations.aws_glue.get_blueprint_runs
(
output,
http_response,
) = await capo_glue._operations.aws_glue.get_blueprint_runs.async_get_blueprint_runs(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetBlueprintRuns")
)
input_: capo_glue.types.get_blueprint_runs_request.GetBlueprintRunsRequest = {
"blueprint_name": blueprint_name
}
if next_token is not None:
input_["next_token"] = next_token
if max_results is not None:
input_["max_results"] = max_results
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|