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

***************
create_registry
***************



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

  

  Creates a new registry which may be used to hold a collection of schemas.

  

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


  **Request Syntax**
  ::

    response = client.create_registry(
        RegistryName='string',
        Description='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type RegistryName: string
  :param RegistryName: **[REQUIRED]** 

    Name of the registry to be created of max length of 255, and may only contain letters, numbers, hyphen, underscore, dollar sign, or hash mark. No whitespace.

    

  
  :type Description: string
  :param Description: 

    A description of the registry. If description is not provided, there will not be any default value for this.

    

  
  :type Tags: dict
  :param Tags: 

    Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'RegistryArn': 'string',
          'RegistryName': 'string',
          'Description': 'string',
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) of the newly created registry.

        
      

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

        The name of the registry.

        
      

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

        A description of the registry.

        
      

      - **Tags** *(dict) --* 

        The tags for the registry.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

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

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

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

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

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

  