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 RDS resource. These tags can also be used with cost allocation reporting to track cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS.
For an overview on tagging Amazon RDS resources, see Tagging Amazon RDS Resources.
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 #
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 RDS resource that the tags are added to. This value is an
Amazon Resource Name (ARN). For information about creating an ARN, see
Constructing an RDS Amazon Resource Name (ARN).
$sel:tags:AddTagsToResource'
, addTagsToResource_tags
- The tags to be assigned to the Amazon RDS resource.
Request Lenses
addTagsToResource_resourceName :: Lens' AddTagsToResource Text Source #
The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
addTagsToResource_tags :: Lens' AddTagsToResource [Tag] Source #
The tags to be assigned to the Amazon RDS resource.
Destructuring the Response
data AddTagsToResourceResponse Source #
See: newAddTagsToResourceResponse
smart constructor.
Instances
Eq AddTagsToResourceResponse Source # | |
Defined in Amazonka.RDS.AddTagsToResource | |
Read AddTagsToResourceResponse Source # | |
Show AddTagsToResourceResponse Source # | |
Defined in Amazonka.RDS.AddTagsToResource showsPrec :: Int -> AddTagsToResourceResponse -> ShowS # show :: AddTagsToResourceResponse -> String # showList :: [AddTagsToResourceResponse] -> ShowS # | |
Generic AddTagsToResourceResponse Source # | |
Defined in Amazonka.RDS.AddTagsToResource type Rep AddTagsToResourceResponse :: Type -> Type # | |
NFData AddTagsToResourceResponse Source # | |
Defined in Amazonka.RDS.AddTagsToResource rnf :: AddTagsToResourceResponse -> () # | |
type Rep AddTagsToResourceResponse Source # | |
newAddTagsToResourceResponse :: AddTagsToResourceResponse Source #
Create a value of AddTagsToResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.