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 for a specific resource in a 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.
The results can return an empty result page. But if you have a
nextToken
, the results are displayed on the next page.
This operation returns paginated results.
Synopsis
- data GetAggregateComplianceDetailsByConfigRule = GetAggregateComplianceDetailsByConfigRule' {}
- newGetAggregateComplianceDetailsByConfigRule :: Text -> Text -> Text -> Text -> GetAggregateComplianceDetailsByConfigRule
- getAggregateComplianceDetailsByConfigRule_nextToken :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe Text)
- getAggregateComplianceDetailsByConfigRule_limit :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe Natural)
- getAggregateComplianceDetailsByConfigRule_complianceType :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe ComplianceType)
- getAggregateComplianceDetailsByConfigRule_configurationAggregatorName :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- getAggregateComplianceDetailsByConfigRule_configRuleName :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- getAggregateComplianceDetailsByConfigRule_accountId :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- getAggregateComplianceDetailsByConfigRule_awsRegion :: Lens' GetAggregateComplianceDetailsByConfigRule Text
- data GetAggregateComplianceDetailsByConfigRuleResponse = GetAggregateComplianceDetailsByConfigRuleResponse' {}
- newGetAggregateComplianceDetailsByConfigRuleResponse :: Int -> GetAggregateComplianceDetailsByConfigRuleResponse
- getAggregateComplianceDetailsByConfigRuleResponse_nextToken :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse (Maybe Text)
- getAggregateComplianceDetailsByConfigRuleResponse_aggregateEvaluationResults :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse (Maybe [AggregateEvaluationResult])
- getAggregateComplianceDetailsByConfigRuleResponse_httpStatus :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse Int
Creating a Request
data GetAggregateComplianceDetailsByConfigRule Source #
See: newGetAggregateComplianceDetailsByConfigRule
smart constructor.
GetAggregateComplianceDetailsByConfigRule' | |
|
Instances
newGetAggregateComplianceDetailsByConfigRule Source #
Create a value of GetAggregateComplianceDetailsByConfigRule
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:nextToken:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRule_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:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRule_limit
- 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, Config uses the default.
$sel:complianceType:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRule_complianceType
- The resource compliance status.
For the GetAggregateComplianceDetailsByConfigRuleRequest
data type,
Config supports only the COMPLIANT
and NON_COMPLIANT
. Config does
not support the NOT_APPLICABLE
and INSUFFICIENT_DATA
values.
$sel:configurationAggregatorName:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRule_configurationAggregatorName
- The name of the configuration aggregator.
$sel:configRuleName:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRule_configRuleName
- The name of the Config rule for which you want compliance information.
$sel:accountId:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRule_accountId
- The 12-digit account ID of the source account.
$sel:awsRegion:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRule_awsRegion
- The source region from where the data is aggregated.
Request Lenses
getAggregateComplianceDetailsByConfigRule_nextToken :: 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.
getAggregateComplianceDetailsByConfigRule_limit :: 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, Config uses the default.
getAggregateComplianceDetailsByConfigRule_complianceType :: Lens' GetAggregateComplianceDetailsByConfigRule (Maybe ComplianceType) Source #
The resource compliance status.
For the GetAggregateComplianceDetailsByConfigRuleRequest
data type,
Config supports only the COMPLIANT
and NON_COMPLIANT
. Config does
not support the NOT_APPLICABLE
and INSUFFICIENT_DATA
values.
getAggregateComplianceDetailsByConfigRule_configurationAggregatorName :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The name of the configuration aggregator.
getAggregateComplianceDetailsByConfigRule_configRuleName :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The name of the Config rule for which you want compliance information.
getAggregateComplianceDetailsByConfigRule_accountId :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The 12-digit account ID of the source account.
getAggregateComplianceDetailsByConfigRule_awsRegion :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #
The source region from where the data is aggregated.
Destructuring the Response
data GetAggregateComplianceDetailsByConfigRuleResponse Source #
See: newGetAggregateComplianceDetailsByConfigRuleResponse
smart constructor.
GetAggregateComplianceDetailsByConfigRuleResponse' | |
|
Instances
newGetAggregateComplianceDetailsByConfigRuleResponse Source #
:: Int |
|
-> GetAggregateComplianceDetailsByConfigRuleResponse |
Create a value of GetAggregateComplianceDetailsByConfigRuleResponse
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:nextToken:GetAggregateComplianceDetailsByConfigRule'
, getAggregateComplianceDetailsByConfigRuleResponse_nextToken
- The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
$sel:aggregateEvaluationResults:GetAggregateComplianceDetailsByConfigRuleResponse'
, getAggregateComplianceDetailsByConfigRuleResponse_aggregateEvaluationResults
- Returns an AggregateEvaluationResults object.
$sel:httpStatus:GetAggregateComplianceDetailsByConfigRuleResponse'
, getAggregateComplianceDetailsByConfigRuleResponse_httpStatus
- The response's http status code.
Response Lenses
getAggregateComplianceDetailsByConfigRuleResponse_nextToken :: 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.
getAggregateComplianceDetailsByConfigRuleResponse_aggregateEvaluationResults :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse (Maybe [AggregateEvaluationResult]) Source #
Returns an AggregateEvaluationResults object.
getAggregateComplianceDetailsByConfigRuleResponse_httpStatus :: Lens' GetAggregateComplianceDetailsByConfigRuleResponse Int Source #
The response's http status code.