Redshift / Paginator / DescribeClusterDbRevisions

DescribeClusterDbRevisions#

class Redshift.Paginator.DescribeClusterDbRevisions#
paginator = client.get_paginator('describe_cluster_db_revisions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Redshift.Client.describe_cluster_db_revisions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ClusterIdentifier='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ClusterIdentifier (string) – A unique identifier for a cluster whose ClusterDbRevisions you are requesting. This parameter is case sensitive. All clusters defined for an account are returned by default.

  • 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

{
    'ClusterDbRevisions': [
        {
            'ClusterIdentifier': 'string',
            'CurrentDatabaseRevision': 'string',
            'DatabaseRevisionReleaseDate': datetime(2015, 1, 1),
            'RevisionTargets': [
                {
                    'DatabaseRevision': 'string',
                    'Description': 'string',
                    'DatabaseRevisionReleaseDate': datetime(2015, 1, 1)
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ClusterDbRevisions (list) –

      A list of revisions.

      • (dict) –

        Describes a ClusterDbRevision.

        • ClusterIdentifier (string) –

          The unique identifier of the cluster.

        • CurrentDatabaseRevision (string) –

          A string representing the current cluster version.

        • DatabaseRevisionReleaseDate (datetime) –

          The date on which the database revision was released.

        • RevisionTargets (list) –

          A list of RevisionTarget objects, where each object describes the database revision that a cluster can be updated to.

          • (dict) –

            Describes a RevisionTarget.

            • DatabaseRevision (string) –

              A unique string that identifies the version to update the cluster to. You can use this value in ModifyClusterDbRevision.

            • Description (string) –

              A string that describes the changes and features that will be applied to the cluster when it is updated to the corresponding ClusterDbRevision.

            • DatabaseRevisionReleaseDate (datetime) –

              The date on which the database revision was released.

    • NextToken (string) –

      A token to resume pagination.