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

Description

Deletes the specified LF-tag given a key name. If the input parameter tag key was not found, then the operation will throw an exception. When you delete an LF-tag, the LFTagPolicy attached to the LF-tag becomes invalid. If the deleted LF-tag was still assigned to any resource, the tag policy attach to the deleted LF-tag will no longer be applied to the resource.

Synopsis

Creating a Request

data DeleteLFTag Source #

See: newDeleteLFTag smart constructor.

Constructors

DeleteLFTag' 

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 to delete.

Instances

Instances details
ToJSON DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

ToHeaders DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Methods

toHeaders :: DeleteLFTag -> [Header] #

ToPath DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

ToQuery DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

AWSRequest DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Associated Types

type AWSResponse DeleteLFTag #

Generic DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Associated Types

type Rep DeleteLFTag :: Type -> Type #

Read DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Show DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

NFData DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Methods

rnf :: DeleteLFTag -> () #

Eq DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Hashable DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

type AWSResponse DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

type Rep DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

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

newDeleteLFTag Source #

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

DeleteLFTag, deleteLFTag_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.

DeleteLFTag, deleteLFTag_tagKey - The key-name for the LF-tag to delete.

Request Lenses

deleteLFTag_catalogId :: Lens' DeleteLFTag (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.

deleteLFTag_tagKey :: Lens' DeleteLFTag Text Source #

The key-name for the LF-tag to delete.

Destructuring the Response

data DeleteLFTagResponse Source #

See: newDeleteLFTagResponse smart constructor.

Constructors

DeleteLFTagResponse' 

Fields

Instances

Instances details
Generic DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Associated Types

type Rep DeleteLFTagResponse :: Type -> Type #

Read DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Show DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

NFData DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Methods

rnf :: DeleteLFTagResponse -> () #

Eq DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

type Rep DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

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

newDeleteLFTagResponse Source #

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

Response Lenses