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

Description

Deletes the specified tag key name. If the attribute key does not exist or the tag does not exist, then the operation will not do anything. If the attribute key exists, then the operation checks if any resources are tagged with this attribute key, if yes, the API throws a 400 Exception with the message "Delete not allowed" as the tag key is still attached with resources. You can consider untagging resources with this tag key.

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 AWS Lake Formation environment.

  • tagKey :: Text

    The key-name for the tag to delete.

Instances

Instances details
Eq DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Read DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Show DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Generic DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Associated Types

type Rep DeleteLFTag :: Type -> Type #

NFData DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Methods

rnf :: DeleteLFTag -> () #

Hashable DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

ToJSON DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

AWSRequest DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Associated Types

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

type Rep DeleteLFTag Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

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

Defined in Amazonka.LakeFormation.DeleteLFTag

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:

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

$sel:tagKey:DeleteLFTag', deleteLFTag_tagKey - The key-name for the 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 AWS Lake Formation environment.

deleteLFTag_tagKey :: Lens' DeleteLFTag Text Source #

The key-name for the tag to delete.

Destructuring the Response

data DeleteLFTagResponse Source #

See: newDeleteLFTagResponse smart constructor.

Constructors

DeleteLFTagResponse' 

Fields

Instances

Instances details
Eq DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Read DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Show DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Generic DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Associated Types

type Rep DeleteLFTagResponse :: Type -> Type #

NFData DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

Methods

rnf :: DeleteLFTagResponse -> () #

type Rep DeleteLFTagResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.DeleteLFTag

type Rep DeleteLFTagResponse = D1 ('MetaData "DeleteLFTagResponse" "Amazonka.LakeFormation.DeleteLFTag" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" '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