Copyright | (c) 2013-2017 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 |
Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS 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.
- getComplianceDetailsByConfigRule :: Text -> GetComplianceDetailsByConfigRule
- data GetComplianceDetailsByConfigRule
- gcdbcrComplianceTypes :: Lens' GetComplianceDetailsByConfigRule [ComplianceType]
- gcdbcrNextToken :: Lens' GetComplianceDetailsByConfigRule (Maybe Text)
- gcdbcrLimit :: Lens' GetComplianceDetailsByConfigRule (Maybe Natural)
- gcdbcrConfigRuleName :: Lens' GetComplianceDetailsByConfigRule Text
- getComplianceDetailsByConfigRuleResponse :: Int -> GetComplianceDetailsByConfigRuleResponse
- data GetComplianceDetailsByConfigRuleResponse
- gcdbcrrsEvaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse [EvaluationResult]
- gcdbcrrsNextToken :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe Text)
- gcdbcrrsResponseStatus :: Lens' GetComplianceDetailsByConfigRuleResponse Int
Creating a Request
getComplianceDetailsByConfigRule Source #
Creates a value of GetComplianceDetailsByConfigRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcdbcrComplianceTypes
- Filters the results by compliance. The allowed values areCOMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.gcdbcrNextToken
- TheNextToken
string returned on a previous page that you use to get the next page of results in a paginated response.gcdbcrLimit
- The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.gcdbcrConfigRuleName
- The name of the AWS Config rule for which you want compliance information.
data GetComplianceDetailsByConfigRule Source #
See: getComplianceDetailsByConfigRule
smart constructor.
Request Lenses
gcdbcrComplianceTypes :: Lens' GetComplianceDetailsByConfigRule [ComplianceType] Source #
Filters the results by compliance. The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
gcdbcrNextToken :: 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.
gcdbcrLimit :: Lens' GetComplianceDetailsByConfigRule (Maybe Natural) Source #
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
gcdbcrConfigRuleName :: Lens' GetComplianceDetailsByConfigRule Text Source #
The name of the AWS Config rule for which you want compliance information.
Destructuring the Response
getComplianceDetailsByConfigRuleResponse Source #
Creates a value of GetComplianceDetailsByConfigRuleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcdbcrrsEvaluationResults
- Indicates whether the AWS resource complies with the specified AWS Config rule.gcdbcrrsNextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.gcdbcrrsResponseStatus
- -- | The response status code.
data GetComplianceDetailsByConfigRuleResponse Source #
See: getComplianceDetailsByConfigRuleResponse
smart constructor.
Response Lenses
gcdbcrrsEvaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse [EvaluationResult] Source #
Indicates whether the AWS resource complies with the specified AWS Config rule.
gcdbcrrsNextToken :: 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.
gcdbcrrsResponseStatus :: Lens' GetComplianceDetailsByConfigRuleResponse Int Source #
- - | The response status code.