Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
See: AWS API Reference for GetComplianceDetailsByConfigRule.
- 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:
data GetComplianceDetailsByConfigRule Source
See: getComplianceDetailsByConfigRule
smart constructor.
Request Lenses
gcdbcrComplianceTypes :: Lens' GetComplianceDetailsByConfigRule [ComplianceType] Source
Specify to filter the results by compliance. The valid values are
Compliant
, NonCompliant
, and NotApplicable
.
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:
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.