list_workflow_executions
¶
list_workflow_executions(
image_build_version_arn: ImageBuildVersionArn,
*,
config_overrides: Optional[imagebuilderClientConfig] = None,
max_results: Optional[RestrictedInteger] = None,
next_token: Optional[PaginationToken] = None,
) -> ListWorkflowExecutionsResponse
Returns a list of workflow runtime instance metadata objects for a specific image build version.
Parameters:
-
max_results(Optional[RestrictedInteger], default:None) –The maximum number of items to return in a single request.
-
next_token(Optional[PaginationToken], default:None) –A token to specify where to start paginating. Use the
nextTokenvalue from a previously truncated response. -
image_build_version_arn(ImageBuildVersionArn) –List all workflow runtime instances for the specified image build version resource ARN.
Raises:
-
CallRateLimitExceededException–You have exceeded the permitted request rate for the Amazon EC2 APIs that Image Builder calls on your behalf. Retry with an increasing or variable delay between requests.
-
ClientException–A generic client error. This error usually indicates that the request failed a validation check, such as when a downstream service rejects a configured value.
-
ForbiddenException–You are not authorized to perform the requested operation.
-
InvalidPaginationTokenException–You have provided an invalid pagination token in your request.
-
InvalidRequestException–The request is malformed or otherwise invalid. Verify the request and try again.
-
ServiceException–An internal server error occurred while Image Builder processed the request. Retrying the request may succeed.
-
ServiceUnavailableException–The service is unable to process your request at this time.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List the workflow runtime instances for an image build version The following example lists the workflow runtime instances that ran for the specified image build version, which was built with the Image Builder default build and test workflows.
>>> client.list_workflow_executions(image_build_version_arn='arn:aws:imagebuilder:us-west-2:111122223333:image/my-example-recipe/1.0.0/1')
Source code in docs_src/capo_imagebuilder/_services/imagebuilder.py
5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 | |