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 |
Adds metadata tags to an Amazon DocumentDB resource. You can use these
tags with cost allocation reporting to track costs that are associated
with Amazon DocumentDB resources or in a Condition
statement in an
Identity and Access Management (IAM) policy for Amazon DocumentDB.
Synopsis
- data AddTagsToResource = AddTagsToResource' {
- resourceName :: Text
- tags :: [Tag]
- newAddTagsToResource :: Text -> AddTagsToResource
- addTagsToResource_resourceName :: Lens' AddTagsToResource Text
- addTagsToResource_tags :: Lens' AddTagsToResource [Tag]
- data AddTagsToResourceResponse = AddTagsToResourceResponse' {
- newAddTagsToResourceResponse :: AddTagsToResourceResponse
Creating a Request
data AddTagsToResource Source #
Represents the input to AddTagsToResource.
See: newAddTagsToResource
smart constructor.
AddTagsToResource' | |
|
Instances
Create a value of AddTagsToResource
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:resourceName:AddTagsToResource'
, addTagsToResource_resourceName
- The Amazon DocumentDB resource that the tags are added to. This value is
an Amazon Resource Name .
$sel:tags:AddTagsToResource'
, addTagsToResource_tags
- The tags to be assigned to the Amazon DocumentDB resource.
Request Lenses
addTagsToResource_resourceName :: Lens' AddTagsToResource Text Source #
The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .
addTagsToResource_tags :: Lens' AddTagsToResource [Tag] Source #
The tags to be assigned to the Amazon DocumentDB resource.
Destructuring the Response
data AddTagsToResourceResponse Source #
See: newAddTagsToResourceResponse
smart constructor.
Instances
Eq AddTagsToResourceResponse Source # | |
Read AddTagsToResourceResponse Source # | |
Show AddTagsToResourceResponse Source # | |
Defined in Amazonka.DocumentDB.AddTagsToResource showsPrec :: Int -> AddTagsToResourceResponse -> ShowS # show :: AddTagsToResourceResponse -> String # showList :: [AddTagsToResourceResponse] -> ShowS # | |
Generic AddTagsToResourceResponse Source # | |
Defined in Amazonka.DocumentDB.AddTagsToResource type Rep AddTagsToResourceResponse :: Type -> Type # | |
NFData AddTagsToResourceResponse Source # | |
Defined in Amazonka.DocumentDB.AddTagsToResource rnf :: AddTagsToResourceResponse -> () # | |
type Rep AddTagsToResourceResponse Source # | |
Defined in Amazonka.DocumentDB.AddTagsToResource |
newAddTagsToResourceResponse :: AddTagsToResourceResponse Source #
Create a value of AddTagsToResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.