:doc:`Glue <../../glue>` / Paginator / ListSchemaVersions

******************
ListSchemaVersions
******************



.. py:class:: Glue.Paginator.ListSchemaVersions

  ::

    
    paginator = client.get_paginator('list_schema_versions')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`Glue.Client.list_schema_versions`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersions>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          SchemaId={
              'SchemaArn': 'string',
              'SchemaName': 'string',
              'RegistryName': 'string'
          },
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type SchemaId: dict
    :param SchemaId: **[REQUIRED]** 

      This is a wrapper structure to contain schema identity fields. The structure contains:

       

      
      * SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either ``SchemaArn`` or ``SchemaName`` and ``RegistryName`` has to be provided.
       
      * SchemaId$SchemaName: The name of the schema. Either ``SchemaArn`` or ``SchemaName`` and ``RegistryName`` has to be provided.
      

      

    
      - **SchemaArn** *(string) --* 

        The Amazon Resource Name (ARN) of the schema. One of ``SchemaArn`` or ``SchemaName`` has to be provided.

        

      
      - **SchemaName** *(string) --* 

        The name of the schema. One of ``SchemaArn`` or ``SchemaName`` has to be provided.

        

      
      - **RegistryName** *(string) --* 

        The name of the schema registry that contains the schema.

        

      
    
    :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**

      
      ::

        {
            'Schemas': [
                {
                    'SchemaArn': 'string',
                    'SchemaVersionId': 'string',
                    'VersionNumber': 123,
                    'Status': 'AVAILABLE'|'PENDING'|'FAILURE'|'DELETING',
                    'CreatedTime': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **Schemas** *(list) --* 

          An array of ``SchemaVersionList`` objects containing details of each schema version.

          
          

          - *(dict) --* 

            An object containing the details about a schema version.

            
            

            - **SchemaArn** *(string) --* 

              The Amazon Resource Name (ARN) of the schema.

              
            

            - **SchemaVersionId** *(string) --* 

              The unique identifier of the schema version.

              
            

            - **VersionNumber** *(integer) --* 

              The version number of the schema.

              
            

            - **Status** *(string) --* 

              The status of the schema version.

              
            

            - **CreatedTime** *(string) --* 

              The date and time the schema version was created.

              
        
      
    