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 |
Returns a summary of resource evaluation for the specified resource evaluation ID from the proactive rules that were run. The results indicate which evaluation context was used to evaluate the rules, which resource details were evaluated, the evaluation mode that was run, and whether the resource details comply with the configuration of the proactive rules.
Synopsis
- data GetResourceEvaluationSummary = GetResourceEvaluationSummary' {}
- newGetResourceEvaluationSummary :: Text -> GetResourceEvaluationSummary
- getResourceEvaluationSummary_resourceEvaluationId :: Lens' GetResourceEvaluationSummary Text
- data GetResourceEvaluationSummaryResponse = GetResourceEvaluationSummaryResponse' {}
- newGetResourceEvaluationSummaryResponse :: Int -> GetResourceEvaluationSummaryResponse
- getResourceEvaluationSummaryResponse_compliance :: Lens' GetResourceEvaluationSummaryResponse (Maybe ComplianceType)
- getResourceEvaluationSummaryResponse_evaluationContext :: Lens' GetResourceEvaluationSummaryResponse (Maybe EvaluationContext)
- getResourceEvaluationSummaryResponse_evaluationMode :: Lens' GetResourceEvaluationSummaryResponse (Maybe EvaluationMode)
- getResourceEvaluationSummaryResponse_evaluationStartTimestamp :: Lens' GetResourceEvaluationSummaryResponse (Maybe UTCTime)
- getResourceEvaluationSummaryResponse_evaluationStatus :: Lens' GetResourceEvaluationSummaryResponse (Maybe EvaluationStatus)
- getResourceEvaluationSummaryResponse_resourceDetails :: Lens' GetResourceEvaluationSummaryResponse (Maybe ResourceDetails)
- getResourceEvaluationSummaryResponse_resourceEvaluationId :: Lens' GetResourceEvaluationSummaryResponse (Maybe Text)
- getResourceEvaluationSummaryResponse_httpStatus :: Lens' GetResourceEvaluationSummaryResponse Int
Creating a Request
data GetResourceEvaluationSummary Source #
See: newGetResourceEvaluationSummary
smart constructor.
GetResourceEvaluationSummary' | |
|
Instances
newGetResourceEvaluationSummary Source #
Create a value of GetResourceEvaluationSummary
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:
GetResourceEvaluationSummary
, getResourceEvaluationSummary_resourceEvaluationId
- The unique ResourceEvaluationId
of Amazon Web Services resource
execution for which you want to retrieve the evaluation summary.
Request Lenses
getResourceEvaluationSummary_resourceEvaluationId :: Lens' GetResourceEvaluationSummary Text Source #
The unique ResourceEvaluationId
of Amazon Web Services resource
execution for which you want to retrieve the evaluation summary.
Destructuring the Response
data GetResourceEvaluationSummaryResponse Source #
See: newGetResourceEvaluationSummaryResponse
smart constructor.
GetResourceEvaluationSummaryResponse' | |
|
Instances
newGetResourceEvaluationSummaryResponse Source #
Create a value of GetResourceEvaluationSummaryResponse
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:
GetResourceEvaluationSummaryResponse
, getResourceEvaluationSummaryResponse_compliance
- The compliance status of the resource evaluation summary.
$sel:evaluationContext:GetResourceEvaluationSummaryResponse'
, getResourceEvaluationSummaryResponse_evaluationContext
- Returns an EvaluationContext
object.
GetResourceEvaluationSummaryResponse
, getResourceEvaluationSummaryResponse_evaluationMode
- Lists results of the mode that you requested to retrieve the resource
evaluation summary. The valid values are Detective or Proactive.
GetResourceEvaluationSummaryResponse
, getResourceEvaluationSummaryResponse_evaluationStartTimestamp
- The start timestamp when Config rule starts evaluating compliance for
the provided resource details.
$sel:evaluationStatus:GetResourceEvaluationSummaryResponse'
, getResourceEvaluationSummaryResponse_evaluationStatus
- Returns an EvaluationStatus
object.
$sel:resourceDetails:GetResourceEvaluationSummaryResponse'
, getResourceEvaluationSummaryResponse_resourceDetails
- Returns a ResourceDetails
object.
GetResourceEvaluationSummary
, getResourceEvaluationSummaryResponse_resourceEvaluationId
- The unique ResourceEvaluationId
of Amazon Web Services resource
execution for which you want to retrieve the evaluation summary.
$sel:httpStatus:GetResourceEvaluationSummaryResponse'
, getResourceEvaluationSummaryResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceEvaluationSummaryResponse_compliance :: Lens' GetResourceEvaluationSummaryResponse (Maybe ComplianceType) Source #
The compliance status of the resource evaluation summary.
getResourceEvaluationSummaryResponse_evaluationContext :: Lens' GetResourceEvaluationSummaryResponse (Maybe EvaluationContext) Source #
Returns an EvaluationContext
object.
getResourceEvaluationSummaryResponse_evaluationMode :: Lens' GetResourceEvaluationSummaryResponse (Maybe EvaluationMode) Source #
Lists results of the mode that you requested to retrieve the resource evaluation summary. The valid values are Detective or Proactive.
getResourceEvaluationSummaryResponse_evaluationStartTimestamp :: Lens' GetResourceEvaluationSummaryResponse (Maybe UTCTime) Source #
The start timestamp when Config rule starts evaluating compliance for the provided resource details.
getResourceEvaluationSummaryResponse_evaluationStatus :: Lens' GetResourceEvaluationSummaryResponse (Maybe EvaluationStatus) Source #
Returns an EvaluationStatus
object.
getResourceEvaluationSummaryResponse_resourceDetails :: Lens' GetResourceEvaluationSummaryResponse (Maybe ResourceDetails) Source #
Returns a ResourceDetails
object.
getResourceEvaluationSummaryResponse_resourceEvaluationId :: Lens' GetResourceEvaluationSummaryResponse (Maybe Text) Source #
The unique ResourceEvaluationId
of Amazon Web Services resource
execution for which you want to retrieve the evaluation summary.
getResourceEvaluationSummaryResponse_httpStatus :: Lens' GetResourceEvaluationSummaryResponse Int Source #
The response's http status code.