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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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 Amazon Elastic Compute Cloud User Guide.

See: AWS API Reference for DeleteTags.

Synopsis

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:

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

dtsResources :: Lens' DeleteTags [Text] Source

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

Destructuring the Response

deleteTagsResponse :: DeleteTagsResponse Source

Creates a value of DeleteTagsResponse with the minimum fields required to make a request.