Copyright | (c) 2013-2016 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 |
Network.AWS.Config.GetComplianceDetailsByConfigRule
Description
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.
- 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 #
Arguments
:: Text | |
-> GetComplianceDetailsByConfigRule |
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 #
See: getComplianceDetailsByConfigRule
smart constructor.
Instances
Request Lenses
gcdbcrComplianceTypes :: Lens' GetComplianceDetailsByConfigRule [ComplianceType] #
Filters the results by compliance. The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
gcdbcrNextToken :: Lens' GetComplianceDetailsByConfigRule (Maybe Text) #
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) #
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 #
The name of the AWS Config rule for which you want compliance information.
Destructuring the Response
getComplianceDetailsByConfigRuleResponse #
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 #
See: getComplianceDetailsByConfigRuleResponse
smart constructor.
Instances
Response Lenses
gcdbcrrsEvaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse [EvaluationResult] #
Indicates whether the AWS resource complies with the specified AWS Config rule.
gcdbcrrsNextToken :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe Text) #
The string that you use in a subsequent request to get the next page of results in a paginated response.
gcdbcrrsResponseStatus :: Lens' GetComplianceDetailsByConfigRuleResponse Int #
- - | The response status code.