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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

To list the current tags, use DescribeTags . For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide .

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:

  • 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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • 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 the aws: prefix).
  • dtsResources - The IDs of one or more resources.

data DeleteTags Source #

Contains the parameters for DeleteTags.

See: deleteTags smart constructor.

Instances
Eq DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Data DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteTags -> c DeleteTags #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteTags #

toConstr :: DeleteTags -> Constr #

dataTypeOf :: DeleteTags -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteTags) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteTags) #

gmapT :: (forall b. Data b => b -> b) -> DeleteTags -> DeleteTags #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTags -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTags -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteTags -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteTags -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteTags -> m DeleteTags #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTags -> m DeleteTags #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTags -> m DeleteTags #

Read DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Show DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Generic DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Associated Types

type Rep DeleteTags :: Type -> Type #

Hashable DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

AWSRequest DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Associated Types

type Rs DeleteTags :: Type #

ToHeaders DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Methods

toHeaders :: DeleteTags -> [Header] #

ToPath DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

ToQuery DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

NFData DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Methods

rnf :: DeleteTags -> () #

type Rep DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

type Rep DeleteTags = D1 (MetaData "DeleteTags" "Network.AWS.EC2.DeleteTags" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteTags'" PrefixI True) (S1 (MetaSel (Just "_dtsDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_dtsTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 (MetaSel (Just "_dtsResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs DeleteTags Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

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.

Instances
Eq DeleteTagsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Data DeleteTagsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteTagsResponse -> c DeleteTagsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteTagsResponse #

toConstr :: DeleteTagsResponse -> Constr #

dataTypeOf :: DeleteTagsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteTagsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteTagsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteTagsResponse -> DeleteTagsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTagsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteTagsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteTagsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteTagsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteTagsResponse -> m DeleteTagsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTagsResponse -> m DeleteTagsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteTagsResponse -> m DeleteTagsResponse #

Read DeleteTagsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Show DeleteTagsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Generic DeleteTagsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Associated Types

type Rep DeleteTagsResponse :: Type -> Type #

NFData DeleteTagsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

Methods

rnf :: DeleteTagsResponse -> () #

type Rep DeleteTagsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteTags

type Rep DeleteTagsResponse = D1 (MetaData "DeleteTagsResponse" "Network.AWS.EC2.DeleteTags" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DeleteTagsResponse'" PrefixI False) (U1 :: Type -> Type))