AgentsforBedrock / Paginator / ListFlowVersions

ListFlowVersions#

class AgentsforBedrock.Paginator.ListFlowVersions#
paginator = client.get_paginator('list_flow_versions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from AgentsforBedrock.Client.list_flow_versions().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The unique identifier of the flow.

  • 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

{
    'flowVersionSummaries': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'id': 'string',
            'status': 'Failed'|'Prepared'|'Preparing'|'NotPrepared',
            'version': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • flowVersionSummaries (list) –

      A list, each member of which contains information about a flow.

      • (dict) –

        Contains information about a version of a flow.

        This data type is used in the following API operations:

        • arn (string) –

          The Amazon Resource Name (ARN) of the flow that the version belongs to.

        • createdAt (datetime) –

          The time at the version was created.

        • id (string) –

          The unique identifier of the flow.

        • status (string) –

          The status of the flow.

        • version (string) –

          The version of the flow.

    • NextToken (string) –

      A token to resume pagination.