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 |
Removes the tags identified by the TagKeys
list from the named
resource. A tag is a key-value pair where the key and value are
case-sensitive. You can use tags to categorize and track all your
ElastiCache resources, with the exception of global replication group.
When you add or remove tags on replication groups, those actions will be
replicated to all nodes in the replication group. For more information,
see
Resource-level permissions.
Synopsis
- data RemoveTagsFromResource = RemoveTagsFromResource' {
- resourceName :: Text
- tagKeys :: [Text]
- newRemoveTagsFromResource :: Text -> RemoveTagsFromResource
- removeTagsFromResource_resourceName :: Lens' RemoveTagsFromResource Text
- removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text]
- data TagListMessage = TagListMessage' {}
- newTagListMessage :: TagListMessage
- tagListMessage_tagList :: Lens' TagListMessage (Maybe [Tag])
Creating a Request
data RemoveTagsFromResource Source #
Represents the input of a RemoveTagsFromResource
operation.
See: newRemoveTagsFromResource
smart constructor.
RemoveTagsFromResource' | |
|
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:resourceName:RemoveTagsFromResource'
, removeTagsFromResource_resourceName
- The Amazon Resource Name (ARN) of the resource from which you want the
tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
$sel:tagKeys:RemoveTagsFromResource'
, removeTagsFromResource_tagKeys
- A list of TagKeys
identifying the tags you want removed from the named
resource.
Request Lenses
removeTagsFromResource_resourceName :: Lens' RemoveTagsFromResource Text Source #
The Amazon Resource Name (ARN) of the resource from which you want the
tags removed, for example
arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster
or
arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
.
For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Service Namespaces.
removeTagsFromResource_tagKeys :: Lens' RemoveTagsFromResource [Text] Source #
A list of TagKeys
identifying the tags you want removed from the named
resource.
Destructuring the Response
data TagListMessage Source #
Represents the output from the AddTagsToResource
,
ListTagsForResource
, and RemoveTagsFromResource
operations.
See: newTagListMessage
smart constructor.
Instances
newTagListMessage :: TagListMessage Source #
Create a value of TagListMessage
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:tagList:TagListMessage'
, tagListMessage_tagList
- A list of tags as key-value pairs.
Response Lenses
tagListMessage_tagList :: Lens' TagListMessage (Maybe [Tag]) Source #
A list of tags as key-value pairs.