Redshift / Paginator / DescribeClusterTracks

DescribeClusterTracks#

class Redshift.Paginator.DescribeClusterTracks#
paginator = client.get_paginator('describe_cluster_tracks')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    MaintenanceTrackName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • MaintenanceTrackName (string) – The name of the maintenance track.

  • 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

{
    'MaintenanceTracks': [
        {
            'MaintenanceTrackName': 'string',
            'DatabaseVersion': 'string',
            'UpdateTargets': [
                {
                    'MaintenanceTrackName': 'string',
                    'DatabaseVersion': 'string',
                    'SupportedOperations': [
                        {
                            'OperationName': 'string'
                        },
                    ]
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • MaintenanceTracks (list) –

      A list of maintenance tracks output by the DescribeClusterTracks operation.

      • (dict) –

        Defines a maintenance track that determines which Amazon Redshift version to apply during a maintenance window. If the value for MaintenanceTrack is current, the cluster is updated to the most recently certified maintenance release. If the value is trailing, the cluster is updated to the previously certified maintenance release.

        • MaintenanceTrackName (string) –

          The name of the maintenance track. Possible values are current and trailing.

        • DatabaseVersion (string) –

          The version number for the cluster release.

        • UpdateTargets (list) –

          An array of UpdateTarget objects to update with the maintenance track.

          • (dict) –

            A maintenance track that you can switch the current track to.

            • MaintenanceTrackName (string) –

              The name of the new maintenance track.

            • DatabaseVersion (string) –

              The cluster version for the new maintenance track.

            • SupportedOperations (list) –

              A list of operations supported by the maintenance track.

              • (dict) –

                Describes the operations that are allowed on a maintenance track.

                • OperationName (string) –

                  A list of the supported operations.

    • NextToken (string) –

      A token to resume pagination.