list_workflows
¶
list_workflows(
*,
config_overrides: Optional[imagebuilderClientConfig] = None,
owner: Optional[Ownership] = None,
filters: Optional[FilterList] = None,
by_name: Optional[Boolean] = None,
max_results: Optional[RestrictedInteger] = None,
next_token: Optional[PaginationToken] = None,
) -> ListWorkflowsResponse
Lists workflow versions based on filtering parameters. To list the build versions of a specific workflow version, call ListWorkflowBuildVersions.
Parameters:
-
owner(Optional[Ownership], default:None) –Filters results based on the workflow owner. By default, this request returns the workflows that your account owns (
Self). SpecifyAmazonto list the workflows that Image Builder manages. Image Builder rejects theSharedandThirdPartyowner values for workflows, andAWSMarketplacereturns no results. -
filters(Optional[FilterList], default:None) –Filters to narrow the list of workflows. You can filter on
name,version,description, andtype. -
by_name(Optional[Boolean], default:None) –Specifies whether to return one entry per workflow name, with all versions of each workflow aggregated. Defaults to
false, which returns one entry per workflow version. You can't combine this option with theversionfilter. -
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.
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 workflows that you own The following example lists the workflow versions that you own.
Source code in docs_src/capo_imagebuilder/_services/imagebuilder.py
5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 | |