amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteTags

Contents

Description

Deletes the specified set of tags from the specified set of resources. This call is designed to follow a DescribeTags request.

For more information about tags, see Tagging Your Resources in the AmazonElastic Compute Cloud User Guide.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteTags.html

Synopsis

Request

Request constructor

deleteTags :: DeleteTags Source

DeleteTags constructor.

The fields accessible through corresponding lenses are:

Request lenses

dt1DryRun :: 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.

dt1Resources :: Lens' DeleteTags [Text] Source

The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.

dt1Tags :: Lens' DeleteTags [Tag] Source

One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.

Response

Response constructor