Connect / Client / list_view_versions

list_view_versions#

Connect.Client.list_view_versions(**kwargs)#

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

Results will be sorted from highest to lowest.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • ViewId (string) –

    [REQUIRED]

    The identifier of the view. Both ViewArn and ViewId can be used.

  • 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

{
    'ViewVersionSummaryList': [
        {
            'Id': 'string',
            'Arn': 'string',
            'Description': 'string',
            'Name': 'string',
            'Type': 'CUSTOMER_MANAGED'|'AWS_MANAGED',
            'Version': 123,
            'VersionDescription': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ViewVersionSummaryList (list) –

      A list of view version summaries.

      • (dict) –

        A summary of a view version’s metadata.

        • Id (string) –

          The identifier of the view version.

        • Arn (string) –

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

        • Description (string) –

          The description of the view version.

        • Name (string) –

          The name of the view version.

        • Type (string) –

          The type of the view version.

        • Version (integer) –

          The sequentially incremented version of the view version.

        • VersionDescription (string) –

          The description of the view version.

    • 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.

Exceptions

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.TooManyRequestsException