amazonka-lakeformation-2.0: Amazon Lake Formation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LakeFormation.CreateLFTag

Description

Creates an LF-tag with the specified name and values.

Synopsis

Creating a Request

data CreateLFTag Source #

See: newCreateLFTag smart constructor.

Constructors

CreateLFTag' 

Fields

  • catalogId :: Maybe Text

    The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

  • tagKey :: Text

    The key-name for the LF-tag.

  • tagValues :: NonEmpty Text

    A list of possible values an attribute can take.

Instances

Instances details
ToJSON CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

ToHeaders CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Methods

toHeaders :: CreateLFTag -> [Header] #

ToPath CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

ToQuery CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

AWSRequest CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Associated Types

type AWSResponse CreateLFTag #

Generic CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Associated Types

type Rep CreateLFTag :: Type -> Type #

Read CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Show CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

NFData CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Methods

rnf :: CreateLFTag -> () #

Eq CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Hashable CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

type AWSResponse CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

type Rep CreateLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

type Rep CreateLFTag = D1 ('MetaData "CreateLFTag" "Amazonka.LakeFormation.CreateLFTag" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "CreateLFTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tagKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

newCreateLFTag Source #

Create a value of CreateLFTag 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:

CreateLFTag, createLFTag_catalogId - The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

CreateLFTag, createLFTag_tagKey - The key-name for the LF-tag.

CreateLFTag, createLFTag_tagValues - A list of possible values an attribute can take.

Request Lenses

createLFTag_catalogId :: Lens' CreateLFTag (Maybe Text) Source #

The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.

createLFTag_tagKey :: Lens' CreateLFTag Text Source #

The key-name for the LF-tag.

createLFTag_tagValues :: Lens' CreateLFTag (NonEmpty Text) Source #

A list of possible values an attribute can take.

Destructuring the Response

data CreateLFTagResponse Source #

See: newCreateLFTagResponse smart constructor.

Constructors

CreateLFTagResponse' 

Fields

Instances

Instances details
Generic CreateLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Associated Types

type Rep CreateLFTagResponse :: Type -> Type #

Read CreateLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Show CreateLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

NFData CreateLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

Methods

rnf :: CreateLFTagResponse -> () #

Eq CreateLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

type Rep CreateLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.CreateLFTag

type Rep CreateLFTagResponse = D1 ('MetaData "CreateLFTagResponse" "Amazonka.LakeFormation.CreateLFTag" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "CreateLFTagResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLFTagResponse Source #

Create a value of CreateLFTagResponse 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:httpStatus:CreateLFTagResponse', createLFTagResponse_httpStatus - The response's http status code.

Response Lenses