| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Config.PutExternalEvaluation
Description
Add or updates the evaluations for process checks. This API checks if the rule is a process check when the name of the Config rule is provided.
Synopsis
- data PutExternalEvaluation = PutExternalEvaluation' {}
- newPutExternalEvaluation :: Text -> ExternalEvaluation -> PutExternalEvaluation
- putExternalEvaluation_configRuleName :: Lens' PutExternalEvaluation Text
- putExternalEvaluation_externalEvaluation :: Lens' PutExternalEvaluation ExternalEvaluation
- data PutExternalEvaluationResponse = PutExternalEvaluationResponse' {
- httpStatus :: Int
- newPutExternalEvaluationResponse :: Int -> PutExternalEvaluationResponse
- putExternalEvaluationResponse_httpStatus :: Lens' PutExternalEvaluationResponse Int
Creating a Request
data PutExternalEvaluation Source #
See: newPutExternalEvaluation smart constructor.
Constructors
| PutExternalEvaluation' | |
Fields
| |
Instances
newPutExternalEvaluation Source #
Arguments
| :: Text | |
| -> ExternalEvaluation | |
| -> PutExternalEvaluation |
Create a value of PutExternalEvaluation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutExternalEvaluation, putExternalEvaluation_configRuleName - The name of the Config rule.
$sel:externalEvaluation:PutExternalEvaluation', putExternalEvaluation_externalEvaluation - An ExternalEvaluation object that provides details about compliance.
Request Lenses
putExternalEvaluation_configRuleName :: Lens' PutExternalEvaluation Text Source #
The name of the Config rule.
putExternalEvaluation_externalEvaluation :: Lens' PutExternalEvaluation ExternalEvaluation Source #
An ExternalEvaluation object that provides details about compliance.
Destructuring the Response
data PutExternalEvaluationResponse Source #
See: newPutExternalEvaluationResponse smart constructor.
Constructors
| PutExternalEvaluationResponse' | |
Fields
| |
Instances
newPutExternalEvaluationResponse Source #
Create a value of PutExternalEvaluationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:PutExternalEvaluationResponse', putExternalEvaluationResponse_httpStatus - The response's http status code.
Response Lenses
putExternalEvaluationResponse_httpStatus :: Lens' PutExternalEvaluationResponse Int Source #
The response's http status code.