Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 .
Creating a Request
Creates a value of AddTagsToResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
attrResourceName
- The Amazon RDS resource the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) .attrTags
- The tags to be assigned to the Amazon RDS resource.
data AddTagsToResource Source #
See: addTagsToResource
smart constructor.
Request Lenses
attrResourceName :: Lens' AddTagsToResource Text Source #
The Amazon RDS resource the tags will be added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) .
attrTags :: Lens' AddTagsToResource [Tag] Source #
The tags to be assigned to the Amazon RDS resource.
Destructuring the Response
addTagsToResourceResponse :: AddTagsToResourceResponse Source #
Creates a value of AddTagsToResourceResponse
with the minimum fields required to make a request.
data AddTagsToResourceResponse Source #
See: addTagsToResourceResponse
smart constructor.