Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteLFTag = DeleteLFTag' {}
- newDeleteLFTag :: Text -> DeleteLFTag
- deleteLFTag_catalogId :: Lens' DeleteLFTag (Maybe Text)
- deleteLFTag_tagKey :: Lens' DeleteLFTag Text
- data DeleteLFTagResponse = DeleteLFTagResponse' {
- httpStatus :: Int
- newDeleteLFTagResponse :: Int -> DeleteLFTagResponse
- deleteLFTagResponse_httpStatus :: Lens' DeleteLFTagResponse Int
Creating a Request
data DeleteLFTag Source #
See: newDeleteLFTag
smart constructor.
DeleteLFTag' | |
|
Instances
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.
DeleteLFTagResponse' | |
|
Instances
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
deleteLFTagResponse_httpStatus :: Lens' DeleteLFTagResponse Int Source #
The response's http status code.