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 |
Updates the list of possible values for the specified LF-tag key. If the LF-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 LF-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:
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 Lake Formation environment.
$sel:tagValuesToAdd:UpdateLFTag'
, updateLFTag_tagValuesToAdd
- A list of LF-tag values to add from the LF-tag.
$sel:tagValuesToDelete:UpdateLFTag'
, updateLFTag_tagValuesToDelete
- A list of LF-tag values to delete from the LF-tag.
UpdateLFTag
, updateLFTag_tagKey
- The key-name for the LF-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 Lake Formation environment.
updateLFTag_tagValuesToAdd :: Lens' UpdateLFTag (Maybe (NonEmpty Text)) Source #
A list of LF-tag values to add from the LF-tag.
updateLFTag_tagValuesToDelete :: Lens' UpdateLFTag (Maybe (NonEmpty Text)) Source #
A list of LF-tag values to delete from the LF-tag.
updateLFTag_tagKey :: Lens' UpdateLFTag Text Source #
The key-name for the LF-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.