MWAAServerless / Client / list_workflows
list_workflows¶
- MWAAServerless.Client.list_workflows(**kwargs)¶
Lists all workflows in your account, with optional pagination support. This operation returns summary information for workflows, showing only the most recently created version of each workflow. Amazon Managed Workflows for Apache Airflow Serverless maintains workflow metadata in a highly available, distributed storage system that enables efficient querying and filtering. The service implements proper access controls to ensure you can only view workflows that you have permissions to access, supporting both individual and team-based workflow management scenarios.
See also: AWS API Documentation
Request Syntax
response = client.list_workflows( MaxResults=123, NextToken='string' )
- Parameters:
MaxResults (integer) – The maximum number of workflows you want to return in a single response.
NextToken (string) – The pagination token you need to use to retrieve the next set of results. This value is returned from a previous call to
ListWorkflows.
- Return type:
dict
- Returns:
Response Syntax
{ 'Workflows': [ { 'WorkflowArn': 'string', 'WorkflowVersion': 'string', 'Name': 'string', 'Description': 'string', 'CreatedAt': datetime(2015, 1, 1), 'ModifiedAt': datetime(2015, 1, 1), 'WorkflowStatus': 'READY'|'DELETING', 'TriggerMode': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Workflows (list) –
A list of workflow summaries for all workflows in your account.
(dict) –
Summary information about a workflow, including basic identification and metadata.
WorkflowArn (string) –
The Amazon Resource Name (ARN) of the workflow.
WorkflowVersion (string) –
The version identifier of the workflow.
Name (string) –
The name of the workflow.
Description (string) –
The description of the workflow.
CreatedAt (datetime) –
The timestamp when the workflow was created, in ISO 8601 date-time format.
ModifiedAt (datetime) –
The timestamp when the workflow was last modified, in ISO 8601 date-time format.
WorkflowStatus (string) –
The current status of the workflow.
TriggerMode (string) –
The trigger mode for the workflow execution.
NextToken (string) –
The pagination token you need to use to retrieve the next set of results. This value is null if there are no more results.
Exceptions
MWAAServerless.Client.exceptions.ThrottlingExceptionMWAAServerless.Client.exceptions.ValidationExceptionMWAAServerless.Client.exceptions.AccessDeniedExceptionMWAAServerless.Client.exceptions.InternalServerExceptionMWAAServerless.Client.exceptions.OperationTimeoutException