amazonka-inspector-1.5.0: Amazon Inspector SDK.

Copyright(c) 2013-2017 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.Inspector.SetTagsForResource

Contents

Description

Sets tags (key and value pairs) to the assessment template that is specified by the ARN of the assessment template.

Synopsis

Creating a Request

setTagsForResource Source #

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

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

  • stfrTags - A collection of key and value pairs that you want to set to the assessment template.
  • stfrResourceARN - The ARN of the assessment template that you want to set tags to.

data SetTagsForResource Source #

See: setTagsForResource smart constructor.

Instances

Eq SetTagsForResource Source # 
Data SetTagsForResource Source # 

Methods

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

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

toConstr :: SetTagsForResource -> Constr #

dataTypeOf :: SetTagsForResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetTagsForResource Source # 
Show SetTagsForResource Source # 
Generic SetTagsForResource Source # 
Hashable SetTagsForResource Source # 
ToJSON SetTagsForResource Source # 
NFData SetTagsForResource Source # 

Methods

rnf :: SetTagsForResource -> () #

AWSRequest SetTagsForResource Source # 
ToQuery SetTagsForResource Source # 
ToPath SetTagsForResource Source # 
ToHeaders SetTagsForResource Source # 
type Rep SetTagsForResource Source # 
type Rep SetTagsForResource = D1 (MetaData "SetTagsForResource" "Network.AWS.Inspector.SetTagsForResource" "amazonka-inspector-1.5.0-7FB889gAl01LG9BEQFHuYd" False) (C1 (MetaCons "SetTagsForResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_stfrTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) (S1 (MetaSel (Just Symbol "_stfrResourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs SetTagsForResource Source # 

Request Lenses

stfrTags :: Lens' SetTagsForResource [Tag] Source #

A collection of key and value pairs that you want to set to the assessment template.

stfrResourceARN :: Lens' SetTagsForResource Text Source #

The ARN of the assessment template that you want to set tags to.

Destructuring the Response

setTagsForResourceResponse :: SetTagsForResourceResponse Source #

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

data SetTagsForResourceResponse Source #

See: setTagsForResourceResponse smart constructor.

Instances

Eq SetTagsForResourceResponse Source # 
Data SetTagsForResourceResponse Source # 

Methods

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

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

toConstr :: SetTagsForResourceResponse -> Constr #

dataTypeOf :: SetTagsForResourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SetTagsForResourceResponse Source # 
Show SetTagsForResourceResponse Source # 
Generic SetTagsForResourceResponse Source # 
NFData SetTagsForResourceResponse Source # 
type Rep SetTagsForResourceResponse Source # 
type Rep SetTagsForResourceResponse = D1 (MetaData "SetTagsForResourceResponse" "Network.AWS.Inspector.SetTagsForResource" "amazonka-inspector-1.5.0-7FB889gAl01LG9BEQFHuYd" False) (C1 (MetaCons "SetTagsForResourceResponse'" PrefixI False) U1)