:doc:`Schemas <../../schemas>` / Client / create_registry

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



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

  

  Creates a registry.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateRegistry>`_  


  **Request Syntax**
  ::

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

    A description of the registry to be created.

    

  
  :type RegistryName: string
  :param RegistryName: **[REQUIRED]** 

    The name of the registry.

    

  
  :type Tags: dict
  :param Tags: 

    Tags to associate with the registry.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

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

    

    - *(dict) --* 

      201 response

      
      

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

        The description of the registry.

        
      

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

        The ARN of the registry.

        
      

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

        The name of the registry.

        
      

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

        Tags associated with the registry.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`Schemas.Client.exceptions.BadRequestException`

  
  *   :py:class:`Schemas.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`Schemas.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`Schemas.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Schemas.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Schemas.Client.exceptions.ConflictException`

  