Copyright | (c) 2013-2015 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 |
Undocumented operation.
See: AWS API Reference for ChangeTagsForResource.
- changeTagsForResource :: TagResourceType -> Text -> ChangeTagsForResource
- data ChangeTagsForResource
- ctfrRemoveTagKeys :: Lens' ChangeTagsForResource (Maybe (NonEmpty Text))
- ctfrAddTags :: Lens' ChangeTagsForResource (Maybe (NonEmpty Tag))
- ctfrResourceType :: Lens' ChangeTagsForResource TagResourceType
- ctfrResourceId :: Lens' ChangeTagsForResource Text
- changeTagsForResourceResponse :: Int -> ChangeTagsForResourceResponse
- data ChangeTagsForResourceResponse
- ctfrrsResponseStatus :: Lens' ChangeTagsForResourceResponse Int
Creating a Request
Creates a value of ChangeTagsForResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChangeTagsForResource Source
A complex type containing information about a request to add, change, or delete the tags that are associated with a resource.
See: changeTagsForResource
smart constructor.
Request Lenses
ctfrRemoveTagKeys :: Lens' ChangeTagsForResource (Maybe (NonEmpty Text)) Source
A list of Tag
keys that you want to remove from the specified
resource.
ctfrResourceType :: Lens' ChangeTagsForResource TagResourceType Source
The type of the resource.
- The resource type for health checks is
healthcheck
. - The resource type for hosted zones is
hostedzone
.
ctfrResourceId :: Lens' ChangeTagsForResource Text Source
The ID of the resource for which you want to add, change, or delete tags.
Destructuring the Response
changeTagsForResourceResponse Source
Creates a value of ChangeTagsForResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChangeTagsForResourceResponse Source
Empty response for the request.
See: changeTagsForResourceResponse
smart constructor.
Response Lenses
ctfrrsResponseStatus :: Lens' ChangeTagsForResourceResponse Int Source
The response status code.