Schemas / Client / create_registry

create_registry#

Schemas.Client.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