amazonka-config-1.4.5: Amazon Config 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.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 #

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.
  • 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 #

See: putEvaluations smart constructor.

Instances

Eq PutEvaluations # 
Data PutEvaluations # 

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 # 
Show PutEvaluations # 
Generic PutEvaluations # 

Associated Types

type Rep PutEvaluations :: * -> * #

Hashable PutEvaluations # 
ToJSON PutEvaluations # 
NFData PutEvaluations # 

Methods

rnf :: PutEvaluations -> () #

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

Request Lenses

peEvaluations :: Lens' PutEvaluations [Evaluation] #

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.

peResultToken :: Lens' PutEvaluations Text #

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 #

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 #

See: putEvaluationsResponse smart constructor.

Instances

Eq PutEvaluationsResponse # 
Data PutEvaluationsResponse # 

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 # 
Show PutEvaluationsResponse # 
Generic PutEvaluationsResponse # 
NFData PutEvaluationsResponse # 

Methods

rnf :: PutEvaluationsResponse -> () #

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

Response Lenses

persFailedEvaluations :: Lens' PutEvaluationsResponse [Evaluation] #

Requests that failed because of a client or server error.

persResponseStatus :: Lens' PutEvaluationsResponse Int #

  • - | The response status code.