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

***************
update_registry
***************



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

  

  Updates an existing registry which is used to hold a collection of schemas. The updated properties relate to the registry, and do not modify any of the schemas within the registry.

  

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


  **Request Syntax**
  ::

    response = client.update_registry(
        RegistryId={
            'RegistryName': 'string',
            'RegistryArn': 'string'
        },
        Description='string'
    )
    
  :type RegistryId: dict
  :param RegistryId: **[REQUIRED]** 

    This is 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 Description: string
  :param Description: **[REQUIRED]** 

    A description of the registry. If description is not provided, this field will not be updated.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The name of the updated registry.

        
      

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

        The Amazon Resource name (ARN) of the updated registry.

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

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

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

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

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

  