Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

create_registry

create_registry(**kwargs)

Creates a registry.

See also: AWS API Documentation

Request Syntax

response = client.create_registry(
    Description='string',
    RegistryName='string',
    Tags={
        'string': 'string'
    }
)
Parameters
  • Description (string) -- A description of the registry to be created.
  • RegistryName (string) --

    [REQUIRED]

    The name of the registry.

  • Tags (dict) --

    Tags to associate with the registry.

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

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

  • Schemas.Client.exceptions.BadRequestException
  • Schemas.Client.exceptions.InternalServerErrorException
  • Schemas.Client.exceptions.UnauthorizedException
  • Schemas.Client.exceptions.ForbiddenException
  • Schemas.Client.exceptions.ServiceUnavailableException
  • Schemas.Client.exceptions.ConflictException