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 |
Attaches one or more 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:
$sel:catalogId: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 AWS Lake Formation environment.
$sel:resource:AddLFTagsToResource'
, addLFTagsToResource_resource
- The resource to which to attach a tag.
$sel:lFTags:AddLFTagsToResource'
, addLFTagsToResource_lFTags
- The 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 AWS Lake Formation environment.
addLFTagsToResource_resource :: Lens' AddLFTagsToResource Resource Source #
The resource to which to attach a tag.
addLFTagsToResource_lFTags :: Lens' AddLFTagsToResource (NonEmpty LFTagPair) Source #
The 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.