Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
- putEvaluations :: Text -> PutEvaluations
- data PutEvaluations
- peEvaluations :: Lens' PutEvaluations [Evaluation]
- peTestMode :: Lens' PutEvaluations (Maybe Bool)
- 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:
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 forPutEvaluations
. 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.
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:
persFailedEvaluations
- Requests that failed because of a client or server error.persResponseStatus
- -- | The response status code.
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.