create_registry

Glue.Client.create_registry(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.create_registry(
    RegistryName='string',
    Description='string',
    Tags={
        'string': 'string'
    }
)
Parameters
  • RegistryName (string) --

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

  • Description (string) -- A description of the registry. If description is not provided, there will not be any default value for this.
  • Tags (dict) --

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

    • (string) --
      • (string) --
Return type

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

  • Glue.Client.exceptions.InvalidInputException
  • Glue.Client.exceptions.AccessDeniedException
  • Glue.Client.exceptions.AlreadyExistsException
  • Glue.Client.exceptions.ResourceNumberLimitExceededException
  • Glue.Client.exceptions.ConcurrentModificationException
  • Glue.Client.exceptions.InternalServiceException