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 |
Updates the list of possible values for the specified tag key. If the tag does not exist, the operation throws an EntityNotFoundException. The values in the delete key values will be deleted from list of possible values. If any value in the delete key values is attached to a resource, then API errors out with a 400 Exception - "Update not allowed". Untag the attribute before deleting the tag key's value.
Synopsis
- data UpdateLFTag = UpdateLFTag' {}
- newUpdateLFTag :: Text -> UpdateLFTag
- updateLFTag_catalogId :: Lens' UpdateLFTag (Maybe Text)
- updateLFTag_tagValuesToAdd :: Lens' UpdateLFTag (Maybe (NonEmpty Text))
- updateLFTag_tagValuesToDelete :: Lens' UpdateLFTag (Maybe (NonEmpty Text))
- updateLFTag_tagKey :: Lens' UpdateLFTag Text
- data UpdateLFTagResponse = UpdateLFTagResponse' {
- httpStatus :: Int
- newUpdateLFTagResponse :: Int -> UpdateLFTagResponse
- updateLFTagResponse_httpStatus :: Lens' UpdateLFTagResponse Int
Creating a Request
data UpdateLFTag Source #
See: newUpdateLFTag
smart constructor.
UpdateLFTag' | |
|
Instances
Create a value of UpdateLFTag
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:UpdateLFTag'
, updateLFTag_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:tagValuesToAdd:UpdateLFTag'
, updateLFTag_tagValuesToAdd
- A list of tag values to add from the tag.
$sel:tagValuesToDelete:UpdateLFTag'
, updateLFTag_tagValuesToDelete
- A list of tag values to delete from the tag.
$sel:tagKey:UpdateLFTag'
, updateLFTag_tagKey
- The key-name for the tag for which to add or delete values.
Request Lenses
updateLFTag_catalogId :: Lens' UpdateLFTag (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.
updateLFTag_tagValuesToAdd :: Lens' UpdateLFTag (Maybe (NonEmpty Text)) Source #
A list of tag values to add from the tag.
updateLFTag_tagValuesToDelete :: Lens' UpdateLFTag (Maybe (NonEmpty Text)) Source #
A list of tag values to delete from the tag.
updateLFTag_tagKey :: Lens' UpdateLFTag Text Source #
The key-name for the tag for which to add or delete values.
Destructuring the Response
data UpdateLFTagResponse Source #
See: newUpdateLFTagResponse
smart constructor.
UpdateLFTagResponse' | |
|
Instances
newUpdateLFTagResponse Source #
Create a value of UpdateLFTagResponse
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:UpdateLFTagResponse'
, updateLFTagResponse_httpStatus
- The response's http status code.
Response Lenses
updateLFTagResponse_httpStatus :: Lens' UpdateLFTagResponse Int Source #
The response's http status code.