amazonka-config-1.6.0: Amazon Config 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.Config.PutEvaluations

Contents

Description

Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.

Synopsis

Creating a Request

putEvaluations Source #

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

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

  • peEvaluations - The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.
  • peTestMode - Use this parameter to specify a test run for PutEvaluations . You can verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config.
  • peResultToken - An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.

data PutEvaluations Source #

See: putEvaluations smart constructor.

Instances

Eq PutEvaluations Source # 
Data PutEvaluations Source # 

Methods

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

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

toConstr :: PutEvaluations -> Constr #

dataTypeOf :: PutEvaluations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutEvaluations Source # 
Show PutEvaluations Source # 
Generic PutEvaluations Source # 

Associated Types

type Rep PutEvaluations :: * -> * #

Hashable PutEvaluations Source # 
ToJSON PutEvaluations Source # 
NFData PutEvaluations Source # 

Methods

rnf :: PutEvaluations -> () #

AWSRequest PutEvaluations Source # 
ToHeaders PutEvaluations Source # 
ToPath PutEvaluations Source # 
ToQuery PutEvaluations Source # 
type Rep PutEvaluations Source # 
type Rep PutEvaluations = D1 * (MetaData "PutEvaluations" "Network.AWS.Config.PutEvaluations" "amazonka-config-1.6.0-9zDxyg80KzcBBK3huoZi1A" False) (C1 * (MetaCons "PutEvaluations'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_peEvaluations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Evaluation]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_peTestMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_peResultToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs PutEvaluations Source # 

Request Lenses

peEvaluations :: Lens' PutEvaluations [Evaluation] Source #

The assessments that the AWS Lambda function performs. Each evaluation identifies an AWS resource and indicates whether it complies with the AWS Config rule that invokes the AWS Lambda function.

peTestMode :: Lens' PutEvaluations (Maybe Bool) Source #

Use this parameter to specify a test run for PutEvaluations . You can verify whether your AWS Lambda function will deliver evaluation results to AWS Config. No updates occur to your existing evaluations, and evaluation results are not sent to AWS Config.

peResultToken :: Lens' PutEvaluations Text Source #

An encrypted token that associates an evaluation with an AWS Config rule. Identifies the rule and the event that triggered the evaluation.

Destructuring the Response

putEvaluationsResponse Source #

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

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

data PutEvaluationsResponse Source #

See: putEvaluationsResponse smart constructor.

Instances

Eq PutEvaluationsResponse Source # 
Data PutEvaluationsResponse Source # 

Methods

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

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

toConstr :: PutEvaluationsResponse -> Constr #

dataTypeOf :: PutEvaluationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutEvaluationsResponse Source # 
Show PutEvaluationsResponse Source # 
Generic PutEvaluationsResponse Source # 
NFData PutEvaluationsResponse Source # 

Methods

rnf :: PutEvaluationsResponse -> () #

type Rep PutEvaluationsResponse Source # 
type Rep PutEvaluationsResponse = D1 * (MetaData "PutEvaluationsResponse" "Network.AWS.Config.PutEvaluations" "amazonka-config-1.6.0-9zDxyg80KzcBBK3huoZi1A" False) (C1 * (MetaCons "PutEvaluationsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_persFailedEvaluations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Evaluation]))) (S1 * (MetaSel (Just Symbol "_persResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

persFailedEvaluations :: Lens' PutEvaluationsResponse [Evaluation] Source #

Requests that failed because of a client or server error.

persResponseStatus :: Lens' PutEvaluationsResponse Int Source #

  • - | The response status code.