update_registry

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

Request Syntax

response = client.update_registry(
    RegistryId={
        'RegistryName': 'string',
        'RegistryArn': 'string'
    },
    Description='string'
)
Parameters
  • RegistryId (dict) --

    [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.

  • Description (string) --

    [REQUIRED]

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

Return type

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

  • Glue.Client.exceptions.InvalidInputException
  • Glue.Client.exceptions.AccessDeniedException
  • Glue.Client.exceptions.EntityNotFoundException
  • Glue.Client.exceptions.ConcurrentModificationException
  • Glue.Client.exceptions.InternalServiceException