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 |
Deletes the specified set of tags from the specified set of resources.
To list the current tags, use DescribeTags
. For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide .
Creating a Request
deleteTags :: DeleteTags Source #
Creates a value of DeleteTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtsDryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dtsTags
- One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string. If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have theaws:
prefix).dtsResources
- The IDs of one or more resources.
data DeleteTags Source #
Contains the parameters for DeleteTags.
See: deleteTags
smart constructor.
Request Lenses
dtsDryRun :: Lens' DeleteTags (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
dtsTags :: Lens' DeleteTags [Tag] Source #
One or more tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string. If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete AWS-generated tags (tags that have the aws:
prefix).
dtsResources :: Lens' DeleteTags [Text] Source #
The IDs of one or more resources.
Destructuring the Response
deleteTagsResponse :: DeleteTagsResponse Source #
Creates a value of DeleteTagsResponse
with the minimum fields required to make a request.
data DeleteTagsResponse Source #
See: deleteTagsResponse
smart constructor.