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 a DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS.
- addTagsToResource :: Text -> AddTagsToResource
- data AddTagsToResource
- attrResourceARN :: Lens' AddTagsToResource Text
- attrTags :: Lens' AddTagsToResource [Tag]
- addTagsToResourceResponse :: Int -> AddTagsToResourceResponse
- data AddTagsToResourceResponse
- attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int
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:
data AddTagsToResource Source #
See: addTagsToResource
smart constructor.
Request Lenses
attrResourceARN :: Lens' AddTagsToResource Text Source #
The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources include a replication instance, endpoint, and a replication task.
Destructuring the Response
addTagsToResourceResponse Source #
Creates a value of AddTagsToResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddTagsToResourceResponse Source #
See: addTagsToResourceResponse
smart constructor.
Response Lenses
attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int Source #
The response status code.