libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation
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.LakeFormation.AddLFTagsToResource

Description

Attaches one or more 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 AWS Lake Formation environment.

  • resource :: Resource

    The resource to which to attach a tag.

  • lFTags :: NonEmpty LFTagPair

    The tags to attach to the resource.

Instances

Instances details
Eq AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Read AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Show AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Generic AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Associated Types

type Rep AddLFTagsToResource :: Type -> Type #

NFData AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Methods

rnf :: AddLFTagsToResource -> () #

Hashable AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

ToJSON AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

AWSRequest AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Associated Types

type AWSResponse 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

type Rep AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

type Rep AddLFTagsToResource = D1 ('MetaData "AddLFTagsToResource" "Amazonka.LakeFormation.AddLFTagsToResource" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" '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)))))
type AWSResponse AddLFTagsToResource Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

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:

$sel:catalogId: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 AWS Lake Formation environment.

$sel:resource:AddLFTagsToResource', addLFTagsToResource_resource - The resource to which to attach a tag.

$sel:lFTags:AddLFTagsToResource', addLFTagsToResource_lFTags - The 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 AWS Lake Formation environment.

addLFTagsToResource_resource :: Lens' AddLFTagsToResource Resource Source #

The resource to which to attach a tag.

Destructuring the Response

data AddLFTagsToResourceResponse Source #

See: newAddLFTagsToResourceResponse smart constructor.

Constructors

AddLFTagsToResourceResponse' 

Fields

Instances

Instances details
Eq AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Read AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Show AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Generic AddLFTagsToResourceResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.AddLFTagsToResource

Associated Types

type Rep AddLFTagsToResourceResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" '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