amazonka-cloudtrail-1.6.0: Amazon CloudTrail 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.CloudTrail.RemoveTags

Contents

Description

Removes the specified tags from a trail.

Synopsis

Creating a Request

removeTags Source #

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

Use one of the following lenses to modify other fields as desired:

  • rtTagsList - Specifies a list of tags to be removed.
  • rtResourceId - Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

data RemoveTags Source #

Specifies the tags to remove from a trail.

See: removeTags smart constructor.

Instances

Eq RemoveTags Source # 
Data RemoveTags Source # 

Methods

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

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

toConstr :: RemoveTags -> Constr #

dataTypeOf :: RemoveTags -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveTags Source # 
Show RemoveTags Source # 
Generic RemoveTags Source # 

Associated Types

type Rep RemoveTags :: * -> * #

Hashable RemoveTags Source # 
ToJSON RemoveTags Source # 
NFData RemoveTags Source # 

Methods

rnf :: RemoveTags -> () #

AWSRequest RemoveTags Source # 
ToHeaders RemoveTags Source # 

Methods

toHeaders :: RemoveTags -> [Header] #

ToPath RemoveTags Source # 
ToQuery RemoveTags Source # 
type Rep RemoveTags Source # 
type Rep RemoveTags = D1 * (MetaData "RemoveTags" "Network.AWS.CloudTrail.RemoveTags" "amazonka-cloudtrail-1.6.0-CIARAmXp7eLLpjoE8ijUGs" False) (C1 * (MetaCons "RemoveTags'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rtTagsList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) (S1 * (MetaSel (Just Symbol "_rtResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs RemoveTags Source # 

Request Lenses

rtTagsList :: Lens' RemoveTags [Tag] Source #

Specifies a list of tags to be removed.

rtResourceId :: Lens' RemoveTags Text Source #

Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is: arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail

Destructuring the Response

removeTagsResponse Source #

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

Use one of the following lenses to modify other fields as desired:

data RemoveTagsResponse Source #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: removeTagsResponse smart constructor.

Instances

Eq RemoveTagsResponse Source # 
Data RemoveTagsResponse Source # 

Methods

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

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

toConstr :: RemoveTagsResponse -> Constr #

dataTypeOf :: RemoveTagsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveTagsResponse Source # 
Show RemoveTagsResponse Source # 
Generic RemoveTagsResponse Source # 
NFData RemoveTagsResponse Source # 

Methods

rnf :: RemoveTagsResponse -> () #

type Rep RemoveTagsResponse Source # 
type Rep RemoveTagsResponse = D1 * (MetaData "RemoveTagsResponse" "Network.AWS.CloudTrail.RemoveTags" "amazonka-cloudtrail-1.6.0-CIARAmXp7eLLpjoE8ijUGs" True) (C1 * (MetaCons "RemoveTagsResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rtrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

rtrsResponseStatus :: Lens' RemoveTagsResponse Int Source #

  • - | The response status code.