:doc:`Glue <../../glue>` / Client / list_schemas

************
list_schemas
************



.. py:method:: Glue.Client.list_schemas(**kwargs)

  

  Returns a list of schemas with minimal details. Schemas in Deleting status will not be included in the results. Empty results will be returned if there are no schemas available.

   

  When the ``RegistryId`` is not provided, all the schemas across registries will be part of the API response.

  

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


  **Request Syntax**
  ::

    response = client.list_schemas(
        RegistryId={
            'RegistryName': 'string',
            'RegistryArn': 'string'
        },
        MaxResults=123,
        NextToken='string'
    )
    
  :type RegistryId: dict
  :param RegistryId: 

    A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

    

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

      Name of the registry. Used only for lookup. One of ``RegistryArn`` or ``RegistryName`` has to be provided.

      

    
    - **RegistryArn** *(string) --* 

      Arn of the registry to be updated. One of ``RegistryArn`` or ``RegistryName`` has to be provided.

      

    
  
  :type MaxResults: integer
  :param MaxResults: 

    Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.

    

  
  :type NextToken: string
  :param NextToken: 

    A continuation token, if this is a continuation call.

    

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

    
    ::

      {
          'Schemas': [
              {
                  'RegistryName': 'string',
                  'SchemaName': 'string',
                  'SchemaArn': 'string',
                  'Description': 'string',
                  'SchemaStatus': 'AVAILABLE'|'PENDING'|'DELETING',
                  'CreatedTime': 'string',
                  'UpdatedTime': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        An array of ``SchemaListItem`` objects containing details of each schema.

        
        

        - *(dict) --* 

          An object that contains minimal details for a schema.

          
          

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

            the name of the registry where the schema resides.

            
          

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

            The name of the schema.

            
          

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

            The Amazon Resource Name (ARN) for the schema.

            
          

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

            A description for the schema.

            
          

          - **SchemaStatus** *(string) --* 

            The status of the schema.

            
          

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

            The date and time that a schema was created.

            
          

          - **UpdatedTime** *(string) --* 

            The date and time that a schema was updated.

            
      
    
      

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

        A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.

        
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Glue.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

  