libZSservicesZSamazonka-glueZSamazonka-glue
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glue.CreateRegistry

Description

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

Synopsis

Creating a Request

data CreateRegistry Source #

See: newCreateRegistry smart constructor.

Constructors

CreateRegistry' 

Fields

  • description :: Maybe Text

    A description of the registry. If description is not provided, there will not be any default value for this.

  • tags :: Maybe (HashMap Text Text)

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

  • registryName :: Text

    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.

Instances

Instances details
Eq CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Read CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Show CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Generic CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Associated Types

type Rep CreateRegistry :: Type -> Type #

NFData CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Methods

rnf :: CreateRegistry -> () #

Hashable CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

ToJSON CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

AWSRequest CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Associated Types

type AWSResponse CreateRegistry #

ToHeaders CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

ToPath CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

ToQuery CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

type Rep CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

type Rep CreateRegistry = D1 ('MetaData "CreateRegistry" "Amazonka.Glue.CreateRegistry" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateRegistry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateRegistry Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

newCreateRegistry Source #

Create a value of CreateRegistry with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:description:CreateRegistry', createRegistry_description - A description of the registry. If description is not provided, there will not be any default value for this.

$sel:tags:CreateRegistry', createRegistry_tags - Amazon Web Services tags that contain a key value pair and may be searched by console, command line, or API.

$sel:registryName:CreateRegistry', createRegistry_registryName - 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.

Request Lenses

createRegistry_description :: Lens' CreateRegistry (Maybe Text) Source #

A description of the registry. If description is not provided, there will not be any default value for this.

createRegistry_tags :: Lens' CreateRegistry (Maybe (HashMap Text Text)) Source #

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

createRegistry_registryName :: Lens' CreateRegistry Text Source #

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.

Destructuring the Response

data CreateRegistryResponse Source #

See: newCreateRegistryResponse smart constructor.

Constructors

CreateRegistryResponse' 

Fields

Instances

Instances details
Eq CreateRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Read CreateRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Show CreateRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Generic CreateRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Associated Types

type Rep CreateRegistryResponse :: Type -> Type #

NFData CreateRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

Methods

rnf :: CreateRegistryResponse -> () #

type Rep CreateRegistryResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateRegistry

type Rep CreateRegistryResponse = D1 ('MetaData "CreateRegistryResponse" "Amazonka.Glue.CreateRegistry" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateRegistryResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "registryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateRegistryResponse Source #

Create a value of CreateRegistryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:registryName:CreateRegistry', createRegistryResponse_registryName - The name of the registry.

$sel:registryArn:CreateRegistryResponse', createRegistryResponse_registryArn - The Amazon Resource Name (ARN) of the newly created registry.

$sel:description:CreateRegistry', createRegistryResponse_description - A description of the registry.

$sel:tags:CreateRegistry', createRegistryResponse_tags - The tags for the registry.

$sel:httpStatus:CreateRegistryResponse', createRegistryResponse_httpStatus - The response's http status code.

Response Lenses

createRegistryResponse_registryArn :: Lens' CreateRegistryResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the newly created registry.