AgentsforBedrock / Client / list_flow_versions

list_flow_versions#

AgentsforBedrock.Client.list_flow_versions(**kwargs)#

Returns a list of information about each flow. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

See also: AWS API Documentation

Request Syntax

response = client.list_flow_versions(
    flowIdentifier='string',
    maxResults=123,
    nextToken='string'
)
Parameters:
  • flowIdentifier (string) –

    [REQUIRED]

    The unique identifier of the flow.

  • maxResults (integer) – The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

  • nextToken (string) – If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

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) –

      If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.

Exceptions