Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Network.AWS.EMR.RemoveTags
Description
Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tag Clusters .
The following example removes the stack tag with value Prod from a cluster:
Creating a Request
Arguments
:: Text | |
-> RemoveTags |
Creates a value of RemoveTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtResourceId
- The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.rtTagKeys
- A list of tag keys to remove from a resource.
data RemoveTags #
This input identifies a cluster and a list of tags to remove.
See: removeTags
smart constructor.
Instances
Request Lenses
rtResourceId :: Lens' RemoveTags Text #
The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
rtTagKeys :: Lens' RemoveTags [Text] #
A list of tag keys to remove from a resource.
Destructuring the Response
Arguments
:: Int | |
-> RemoveTagsResponse |
Creates a value of RemoveTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtrsResponseStatus
- -- | The response status code.
data RemoveTagsResponse #
This output indicates the result of removing tags from a resource.
See: removeTagsResponse
smart constructor.
Response Lenses
rtrsResponseStatus :: Lens' RemoveTagsResponse Int #
- - | The response status code.