Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for PutEvaluations.
- putEvaluations :: Text -> PutEvaluations
- data PutEvaluations
- peEvaluations :: Lens' PutEvaluations [Evaluation]
- peResultToken :: Lens' PutEvaluations Text
- putEvaluationsResponse :: Int -> PutEvaluationsResponse
- data PutEvaluationsResponse
- persFailedEvaluations :: Lens' PutEvaluationsResponse [Evaluation]
- persResponseStatus :: Lens' PutEvaluationsResponse Int
Creating a Request
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:
data PutEvaluations Source
See: putEvaluations
smart constructor.
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.
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
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.
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.