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 |
Attaches one or more LF-tags to an existing resource.
Synopsis
- data AddLFTagsToResource = AddLFTagsToResource' {}
- newAddLFTagsToResource :: Resource -> NonEmpty LFTagPair -> AddLFTagsToResource
- addLFTagsToResource_catalogId :: Lens' AddLFTagsToResource (Maybe Text)
- addLFTagsToResource_resource :: Lens' AddLFTagsToResource Resource
- addLFTagsToResource_lFTags :: Lens' AddLFTagsToResource (NonEmpty LFTagPair)
- data AddLFTagsToResourceResponse = AddLFTagsToResourceResponse' {
- failures :: Maybe [LFTagError]
- httpStatus :: Int
- newAddLFTagsToResourceResponse :: Int -> AddLFTagsToResourceResponse
- addLFTagsToResourceResponse_failures :: Lens' AddLFTagsToResourceResponse (Maybe [LFTagError])
- addLFTagsToResourceResponse_httpStatus :: Lens' AddLFTagsToResourceResponse Int
Creating a Request
data AddLFTagsToResource Source #
See: newAddLFTagsToResource
smart constructor.
AddLFTagsToResource' | |
|
Instances
newAddLFTagsToResource Source #
Create a value of AddLFTagsToResource
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:
AddLFTagsToResource
, addLFTagsToResource_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.
AddLFTagsToResource
, addLFTagsToResource_resource
- The database, table, or column resource to which to attach an LF-tag.
AddLFTagsToResource
, addLFTagsToResource_lFTags
- The LF-tags to attach to the resource.
Request Lenses
addLFTagsToResource_catalogId :: Lens' AddLFTagsToResource (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.
addLFTagsToResource_resource :: Lens' AddLFTagsToResource Resource Source #
The database, table, or column resource to which to attach an LF-tag.
addLFTagsToResource_lFTags :: Lens' AddLFTagsToResource (NonEmpty LFTagPair) Source #
The LF-tags to attach to the resource.
Destructuring the Response
data AddLFTagsToResourceResponse Source #
See: newAddLFTagsToResourceResponse
smart constructor.
AddLFTagsToResourceResponse' | |
|
Instances
newAddLFTagsToResourceResponse Source #
Create a value of AddLFTagsToResourceResponse
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:failures:AddLFTagsToResourceResponse'
, addLFTagsToResourceResponse_failures
- A list of failures to tag the resource.
$sel:httpStatus:AddLFTagsToResourceResponse'
, addLFTagsToResourceResponse_httpStatus
- The response's http status code.
Response Lenses
addLFTagsToResourceResponse_failures :: Lens' AddLFTagsToResourceResponse (Maybe [LFTagError]) Source #
A list of failures to tag the resource.
addLFTagsToResourceResponse_httpStatus :: Lens' AddLFTagsToResourceResponse Int Source #
The response's http status code.