list_workflows
async
¶
list_workflows(
*,
config_overrides: Optional[AsyncimagebuilderClientConfig] = 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/async_imagebuilder.py
5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 | |