amazonka-inspector-1.4.1: Amazon Inspector SDK.

Copyright(c) 2013-2016 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.Inspector.UpdateAssessmentTarget

Contents

Description

Updates the assessment target that is specified by the ARN of the assessment target.

Synopsis

Creating a Request

updateAssessmentTarget Source #

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

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

data UpdateAssessmentTarget Source #

See: updateAssessmentTarget smart constructor.

Instances

Eq UpdateAssessmentTarget Source # 
Data UpdateAssessmentTarget Source # 

Methods

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

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

toConstr :: UpdateAssessmentTarget -> Constr #

dataTypeOf :: UpdateAssessmentTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateAssessmentTarget -> () #

AWSRequest UpdateAssessmentTarget Source # 
ToQuery UpdateAssessmentTarget Source # 
ToPath UpdateAssessmentTarget Source # 
ToHeaders UpdateAssessmentTarget Source # 
type Rep UpdateAssessmentTarget Source # 
type Rep UpdateAssessmentTarget = D1 (MetaData "UpdateAssessmentTarget" "Network.AWS.Inspector.UpdateAssessmentTarget" "amazonka-inspector-1.4.1-1CXYBEp1eb1L32uTBJMrtk" False) (C1 (MetaCons "UpdateAssessmentTarget'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uatAssessmentTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_uatAssessmentTargetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uatResourceGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateAssessmentTarget Source # 

Request Lenses

uatAssessmentTargetARN :: Lens' UpdateAssessmentTarget Text Source #

The ARN of the assessment target that you want to update.

uatAssessmentTargetName :: Lens' UpdateAssessmentTarget Text Source #

The name of the assessment target that you want to update.

uatResourceGroupARN :: Lens' UpdateAssessmentTarget Text Source #

The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.

Destructuring the Response

updateAssessmentTargetResponse :: UpdateAssessmentTargetResponse Source #

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

data UpdateAssessmentTargetResponse Source #

See: updateAssessmentTargetResponse smart constructor.

Instances

Eq UpdateAssessmentTargetResponse Source # 
Data UpdateAssessmentTargetResponse Source # 

Methods

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

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

toConstr :: UpdateAssessmentTargetResponse -> Constr #

dataTypeOf :: UpdateAssessmentTargetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateAssessmentTargetResponse Source # 
Show UpdateAssessmentTargetResponse Source # 
Generic UpdateAssessmentTargetResponse Source # 
NFData UpdateAssessmentTargetResponse Source # 
type Rep UpdateAssessmentTargetResponse Source # 
type Rep UpdateAssessmentTargetResponse = D1 (MetaData "UpdateAssessmentTargetResponse" "Network.AWS.Inspector.UpdateAssessmentTarget" "amazonka-inspector-1.4.1-1CXYBEp1eb1L32uTBJMrtk" False) (C1 (MetaCons "UpdateAssessmentTargetResponse'" PrefixI False) U1)