Copyright | (c) 2013-2018 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 for a specific resource in a 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.
Synopsis
- getAggregateComplianceDetailsByConfigRule :: Text -> Text -> Text -> Text -> GetAggregateComplianceDetailsByConfigRule
- data GetAggregateComplianceDetailsByConfigRule
- gacdbcrNextToken :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe Text)
- gacdbcrLimit :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe Natural)
- gacdbcrComplianceType :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe ComplianceType)
- gacdbcrConfigurationAggregatorName :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- gacdbcrConfigRuleName :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- gacdbcrAccountId :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- gacdbcrAWSRegion :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- getAggregateComplianceDetailsByConfigRuleResponse :: Int -> GetAggregateComplianceDetailsByConfigRuleResponse
- data GetAggregateComplianceDetailsByConfigRuleResponse
- gacdbcrrsNextToken :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse (Maybe Text)
- gacdbcrrsAggregateEvaluationResults :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse [AggregateEvaluationResult]
- gacdbcrrsResponseStatus :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse Int
Creating a Request
getAggregateComplianceDetailsByConfigRule Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> GetAggregateComplianceDetailsByConfigRule |
Creates a value of GetAggregateComplianceDetailsByConfigRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gacdbcrNextToken
- The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.gacdbcrLimit
- The maximum number of evaluation results returned on each page. The default is 50. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.gacdbcrComplianceType
- The resource compliance status.gacdbcrConfigurationAggregatorName
- The name of the configuration aggregator.gacdbcrConfigRuleName
- The name of the AWS Config rule for which you want compliance information.gacdbcrAccountId
- The 12-digit account ID of the source account.gacdbcrAWSRegion
- The source region from where the data is aggregated.
data GetAggregateComplianceDetailsByConfigRule Source #
See: getAggregateComplianceDetailsByConfigRule
smart constructor.
Instances
Request Lenses
gacdbcrNextToken :: Lens' GetAggregateComplianceDetailsByConfigRule (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.
gacdbcrLimit :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe Natural) Source #
The maximum number of evaluation results returned on each page. The default is 50. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.
gacdbcrComplianceType :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe ComplianceType) Source #
The resource compliance status.
gacdbcrConfigurationAggregatorName :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The name of the configuration aggregator.
gacdbcrConfigRuleName :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The name of the AWS Config rule for which you want compliance information.
gacdbcrAccountId :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The 12-digit account ID of the source account.
gacdbcrAWSRegion :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The source region from where the data is aggregated.
Destructuring the Response
getAggregateComplianceDetailsByConfigRuleResponse Source #
Creates a value of GetAggregateComplianceDetailsByConfigRuleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gacdbcrrsNextToken
- The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.gacdbcrrsAggregateEvaluationResults
- Returns an AggregateEvaluationResults object.gacdbcrrsResponseStatus
- -- | The response status code.
data GetAggregateComplianceDetailsByConfigRuleResponse Source #
See: getAggregateComplianceDetailsByConfigRuleResponse
smart constructor.
Instances
Response Lenses
gacdbcrrsNextToken :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse (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.
gacdbcrrsAggregateEvaluationResults :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse [AggregateEvaluationResult] Source #
Returns an AggregateEvaluationResults object.
gacdbcrrsResponseStatus :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse Int Source #
- - | The response status code.