:doc:`Redshift <../../redshift>` / Paginator / DescribeClusterVersions

***********************
DescribeClusterVersions
***********************



.. py:class:: Redshift.Paginator.DescribeClusterVersions

  ::

    
    paginator = client.get_paginator('describe_cluster_versions')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`Redshift.Client.describe_cluster_versions`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersions>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          ClusterVersion='string',
          ClusterParameterGroupFamily='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type ClusterVersion: string
    :param ClusterVersion: 

      The specific cluster version to return.

       

      Example: ``1.0``

      

    
    :type ClusterParameterGroupFamily: string
    :param ClusterParameterGroupFamily: 

      The name of a specific cluster parameter group family to return details for.

       

      Constraints:

       

      
      * Must be 1 to 255 alphanumeric characters
       
      * First character must be a letter
       
      * Cannot end with a hyphen or contain two consecutive hyphens
      

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'ClusterVersions': [
                {
                    'ClusterVersion': 'string',
                    'ClusterParameterGroupFamily': 'string',
                    'Description': 'string'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 

        Contains the output from the  DescribeClusterVersions action.

        
        

        - **ClusterVersions** *(list) --* 

          A list of ``Version`` elements.

          
          

          - *(dict) --* 

            Describes a cluster version, including the parameter group family and description of the version.

            
            

            - **ClusterVersion** *(string) --* 

              The version number used by the cluster.

              
            

            - **ClusterParameterGroupFamily** *(string) --* 

              The name of the cluster parameter group family for the cluster.

              
            

            - **Description** *(string) --* 

              The description of the cluster version.

              
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    