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 |
Removes all tags from the specified resource.
- removeTagsFromResource :: ResourceTypeForTagging -> Text -> RemoveTagsFromResource
- data RemoveTagsFromResource
- rtfrResourceType :: Lens' RemoveTagsFromResource ResourceTypeForTagging
- rtfrResourceId :: Lens' RemoveTagsFromResource Text
- rtfrTagKeys :: Lens' RemoveTagsFromResource [Text]
- removeTagsFromResourceResponse :: Int -> RemoveTagsFromResourceResponse
- data RemoveTagsFromResourceResponse
- rtfrrsResponseStatus :: Lens' RemoveTagsFromResourceResponse Int
Creating a Request
removeTagsFromResource Source #
Creates a value of RemoveTagsFromResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtfrResourceType
- The type of resource of which you want to remove a tag.rtfrResourceId
- The resource ID for which you want to remove tags. Use the ID of the resource. Here are some examples: ManagedInstance: mi-012345abcde MaintenanceWindow: mw-012345abcde PatchBaseline: pb-012345abcde For the Document and Parameter values, use the name of the resource.rtfrTagKeys
- Tag keys that you want to remove from the specified resource.
data RemoveTagsFromResource Source #
See: removeTagsFromResource
smart constructor.
Request Lenses
rtfrResourceType :: Lens' RemoveTagsFromResource ResourceTypeForTagging Source #
The type of resource of which you want to remove a tag.
rtfrResourceId :: Lens' RemoveTagsFromResource Text Source #
The resource ID for which you want to remove tags. Use the ID of the resource. Here are some examples: ManagedInstance: mi-012345abcde MaintenanceWindow: mw-012345abcde PatchBaseline: pb-012345abcde For the Document and Parameter values, use the name of the resource.
rtfrTagKeys :: Lens' RemoveTagsFromResource [Text] Source #
Tag keys that you want to remove from the specified resource.
Destructuring the Response
removeTagsFromResourceResponse Source #
Creates a value of RemoveTagsFromResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtfrrsResponseStatus
- -- | The response status code.
data RemoveTagsFromResourceResponse Source #
See: removeTagsFromResourceResponse
smart constructor.
Response Lenses
rtfrrsResponseStatus :: Lens' RemoveTagsFromResourceResponse Int Source #
- - | The response status code.