MWAAServerless / Paginator / ListWorkflows

ListWorkflows

class MWAAServerless.Paginator.ListWorkflows
paginator = client.get_paginator('list_workflows')
paginate(**kwargs)

Creates an iterator that will paginate through responses from MWAAServerless.Client.list_workflows().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

PaginationConfig (dict) –

A dictionary that provides parameters to control pagination.

  • MaxItems (integer) –

    The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

  • PageSize (integer) –

    The size of each page.

  • StartingToken (string) –

    A token to specify where to start paginating. This is the NextToken from a previous response.

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'
        },
    ],

}

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.