AppConfig / Paginator / ListHostedConfigurationVersions

ListHostedConfigurationVersions#

class AppConfig.Paginator.ListHostedConfigurationVersions#
paginator = client.get_paginator('list_hosted_configuration_versions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from AppConfig.Client.list_hosted_configuration_versions().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The application ID.

  • ConfigurationProfileId (string) –

    [REQUIRED]

    The configuration profile ID.

  • VersionLabel (string) – An optional filter that can be used to specify the version label of an AppConfig hosted configuration version. This parameter supports filtering by prefix using a wildcard, for example “v2*”. If you don’t specify an asterisk at the end of the value, only an exact match is returned.

  • 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

{
    'Items': [
        {
            'ApplicationId': 'string',
            'ConfigurationProfileId': 'string',
            'VersionNumber': 123,
            'Description': 'string',
            'ContentType': 'string',
            'VersionLabel': 'string',
            'KmsKeyArn': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • Items (list) –

      The elements from this collection.

      • (dict) –

        Information about the configuration.

        • ApplicationId (string) –

          The application ID.

        • ConfigurationProfileId (string) –

          The configuration profile ID.

        • VersionNumber (integer) –

          The configuration version.

        • Description (string) –

          A description of the configuration.

        • ContentType (string) –

          A standard MIME type describing the format of the configuration content. For more information, see Content-Type.

        • VersionLabel (string) –

          A user-defined label for an AppConfig hosted configuration version.

        • KmsKeyArn (string) –

          The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the configuration data in the AppConfig hosted configuration store.