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

Description

Attaches one or more LF-tags to an existing resource.

Synopsis

Creating a Request

data AddLFTagsToResource Source #

See: newAddLFTagsToResource smart constructor.

Constructors

AddLFTagsToResource' 

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.

  • resource :: Resource

    The database, table, or column resource to which to attach an LF-tag.

  • lFTags :: NonEmpty LFTagPair

    The LF-tags to attach to the resource.

Instances

Instances details
ToJSON AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

ToHeaders AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

ToPath AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

ToQuery AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

AWSRequest AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Associated Types

type AWSResponse AddLFTagsToResource #

Generic AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Associated Types

type Rep AddLFTagsToResource :: Type -> Type #

Read AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Show AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

NFData AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Methods

rnf :: AddLFTagsToResource -> () #

Eq AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Hashable AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

type AWSResponse AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

type Rep AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

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

newAddLFTagsToResource Source #

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

AddLFTagsToResource, addLFTagsToResource_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.

AddLFTagsToResource, addLFTagsToResource_resource - The database, table, or column resource to which to attach an LF-tag.

AddLFTagsToResource, addLFTagsToResource_lFTags - The LF-tags to attach to the resource.

Request Lenses

addLFTagsToResource_catalogId :: Lens' AddLFTagsToResource (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.

addLFTagsToResource_resource :: Lens' AddLFTagsToResource Resource Source #

The database, table, or column resource to which to attach an LF-tag.

Destructuring the Response

data AddLFTagsToResourceResponse Source #

See: newAddLFTagsToResourceResponse smart constructor.

Constructors

AddLFTagsToResourceResponse' 

Fields

Instances

Instances details
Generic AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Associated Types

type Rep AddLFTagsToResourceResponse :: Type -> Type #

Read AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Show AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

NFData AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Eq AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

type Rep AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

type Rep AddLFTagsToResourceResponse = D1 ('MetaData "AddLFTagsToResourceResponse" "Amazonka.LakeFormation.AddLFTagsToResource" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "AddLFTagsToResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LFTagError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddLFTagsToResourceResponse Source #

Create a value of AddLFTagsToResourceResponse 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:failures:AddLFTagsToResourceResponse', addLFTagsToResourceResponse_failures - A list of failures to tag the resource.

$sel:httpStatus:AddLFTagsToResourceResponse', addLFTagsToResourceResponse_httpStatus - The response's http status code.

Response Lenses