Copyright | (c) 2013-2021 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 |
Returns the evaluation results for the specified Config rule. The results indicate which Amazon Web Services resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
This operation returns paginated results.
Synopsis
- data GetComplianceDetailsByConfigRule = GetComplianceDetailsByConfigRule' {}
- newGetComplianceDetailsByConfigRule :: Text -> GetComplianceDetailsByConfigRule
- getComplianceDetailsByConfigRule_complianceTypes :: Lens' GetComplianceDetailsByConfigRule (Maybe [ComplianceType])
- getComplianceDetailsByConfigRule_nextToken :: Lens' GetComplianceDetailsByConfigRule (Maybe Text)
- getComplianceDetailsByConfigRule_limit :: Lens' GetComplianceDetailsByConfigRule (Maybe Natural)
- getComplianceDetailsByConfigRule_configRuleName :: Lens' GetComplianceDetailsByConfigRule Text
- data GetComplianceDetailsByConfigRuleResponse = GetComplianceDetailsByConfigRuleResponse' {}
- newGetComplianceDetailsByConfigRuleResponse :: Int -> GetComplianceDetailsByConfigRuleResponse
- getComplianceDetailsByConfigRuleResponse_evaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe [EvaluationResult])
- getComplianceDetailsByConfigRuleResponse_nextToken :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe Text)
- getComplianceDetailsByConfigRuleResponse_httpStatus :: Lens' GetComplianceDetailsByConfigRuleResponse Int
Creating a Request
data GetComplianceDetailsByConfigRule Source #
See: newGetComplianceDetailsByConfigRule
smart constructor.
GetComplianceDetailsByConfigRule' | |
|
Instances
newGetComplianceDetailsByConfigRule Source #
Create a value of GetComplianceDetailsByConfigRule
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:complianceTypes:GetComplianceDetailsByConfigRule'
, getComplianceDetailsByConfigRule_complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
.
$sel:nextToken:GetComplianceDetailsByConfigRule'
, getComplianceDetailsByConfigRule_nextToken
- The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
$sel:limit:GetComplianceDetailsByConfigRule'
, getComplianceDetailsByConfigRule_limit
- The maximum number of evaluation results returned on each page. The
default is 10. You cannot specify a number greater than 100. If you
specify 0, Config uses the default.
$sel:configRuleName:GetComplianceDetailsByConfigRule'
, getComplianceDetailsByConfigRule_configRuleName
- The name of the Config rule for which you want compliance information.
Request Lenses
getComplianceDetailsByConfigRule_complianceTypes :: Lens' GetComplianceDetailsByConfigRule (Maybe [ComplianceType]) Source #
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and
NOT_APPLICABLE
.
getComplianceDetailsByConfigRule_nextToken :: Lens' GetComplianceDetailsByConfigRule (Maybe Text) Source #
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
getComplianceDetailsByConfigRule_limit :: Lens' GetComplianceDetailsByConfigRule (Maybe Natural) Source #
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
getComplianceDetailsByConfigRule_configRuleName :: Lens' GetComplianceDetailsByConfigRule Text Source #
The name of the Config rule for which you want compliance information.
Destructuring the Response
data GetComplianceDetailsByConfigRuleResponse Source #
See: newGetComplianceDetailsByConfigRuleResponse
smart constructor.
GetComplianceDetailsByConfigRuleResponse' | |
|
Instances
newGetComplianceDetailsByConfigRuleResponse Source #
Create a value of GetComplianceDetailsByConfigRuleResponse
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:evaluationResults:GetComplianceDetailsByConfigRuleResponse'
, getComplianceDetailsByConfigRuleResponse_evaluationResults
- Indicates whether the Amazon Web Services resource complies with the
specified Config rule.
$sel:nextToken:GetComplianceDetailsByConfigRule'
, getComplianceDetailsByConfigRuleResponse_nextToken
- The string that you use in a subsequent request to get the next page of
results in a paginated response.
$sel:httpStatus:GetComplianceDetailsByConfigRuleResponse'
, getComplianceDetailsByConfigRuleResponse_httpStatus
- The response's http status code.
Response Lenses
getComplianceDetailsByConfigRuleResponse_evaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe [EvaluationResult]) Source #
Indicates whether the Amazon Web Services resource complies with the specified Config rule.
getComplianceDetailsByConfigRuleResponse_nextToken :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe Text) Source #
The string that you use in a subsequent request to get the next page of results in a paginated response.
getComplianceDetailsByConfigRuleResponse_httpStatus :: Lens' GetComplianceDetailsByConfigRuleResponse Int Source #
The response's http status code.