Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- 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:
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.
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.