Connect / Client / list_contact_flow_versions

list_contact_flow_versions#

Connect.Client.list_contact_flow_versions(**kwargs)#

Returns all the available versions for the specified Amazon Connect instance and flow identifier.

See also: AWS API Documentation

Request Syntax

response = client.list_contact_flow_versions(
    InstanceId='string',
    ContactFlowId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • ContactFlowId (string) –

    [REQUIRED]

    The identifier of the flow.

  • NextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • MaxResults (integer) – The maximum number of results to return per page. The default MaxResult size is 100.

Return type:

dict

Returns:

Response Syntax

{
    'ContactFlowVersionSummaryList': [
        {
            'Arn': 'string',
            'VersionDescription': 'string',
            'Version': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ContactFlowVersionSummaryList (list) –

      A list of flow version summaries.

      • (dict) –

        A summary of a flow version’s metadata.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the view version.

        • VersionDescription (string) –

          The description of the flow version.

        • Version (integer) –

          The identifier of the flow version.

    • NextToken (string) –

      If there are additional results, this is the token for the next set of results.

Exceptions

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.ThrottlingException