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 |
Amazonka.DMS.RemoveTagsFromResource
Description
Removes metadata tags from an DMS resource, including replication instance, endpoint, security group, and migration task. For more information, see Tag data type description.
Synopsis
- data RemoveTagsFromResource = RemoveTagsFromResource' {
- resourceArn :: Text
- tagKeys :: [Text]
- newRemoveTagsFromResource :: Text -> RemoveTagsFromResource
- removeTagsFromResource_resourceArn :: Lens' RemoveTagsFromResource Text
- removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text]
- data RemoveTagsFromResourceResponse = RemoveTagsFromResourceResponse' {
- httpStatus :: Int
- newRemoveTagsFromResourceResponse :: Int -> RemoveTagsFromResourceResponse
- removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int
Creating a Request
data RemoveTagsFromResource Source #
Removes one or more tags from an DMS resource.
See: newRemoveTagsFromResource
smart constructor.
Constructors
RemoveTagsFromResource' | |
Fields
|
Instances
newRemoveTagsFromResource Source #
Create a value of RemoveTagsFromResource
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:resourceArn:RemoveTagsFromResource'
, removeTagsFromResource_resourceArn
- An DMS resource from which you want to remove tag(s). The value for this
parameter is an Amazon Resource Name (ARN).
$sel:tagKeys:RemoveTagsFromResource'
, removeTagsFromResource_tagKeys
- The tag key (name) of the tag to be removed.
Request Lenses
removeTagsFromResource_resourceArn :: Lens' RemoveTagsFromResource Text Source #
An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).
removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text] Source #
The tag key (name) of the tag to be removed.
Destructuring the Response
data RemoveTagsFromResourceResponse Source #
See: newRemoveTagsFromResourceResponse
smart constructor.
Constructors
RemoveTagsFromResourceResponse' | |
Fields
|
Instances
newRemoveTagsFromResourceResponse Source #
Create a value of RemoveTagsFromResourceResponse
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:httpStatus:RemoveTagsFromResourceResponse'
, removeTagsFromResourceResponse_httpStatus
- The response's http status code.
Response Lenses
removeTagsFromResourceResponse_httpStatus :: Lens' RemoveTagsFromResourceResponse Int Source #
The response's http status code.