amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Description

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

Creating a Request

data GetAggregateComplianceDetailsByConfigRule Source #

Constructors

GetAggregateComplianceDetailsByConfigRule' 

Fields

  • complianceType :: Maybe 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.

  • limit :: Maybe Natural

    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.

  • nextToken :: Maybe Text

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

  • configurationAggregatorName :: Text

    The name of the configuration aggregator.

  • configRuleName :: Text

    The name of the Config rule for which you want compliance information.

  • accountId :: Text

    The 12-digit account ID of the source account.

  • awsRegion :: Text

    The source region from where the data is aggregated.

Instances

Instances details
ToJSON GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

ToHeaders GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

ToPath GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

ToQuery GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

AWSPager GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

AWSRequest GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Generic GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Read GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Show GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

NFData GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Eq GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Hashable GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

type AWSResponse GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

type Rep GetAggregateComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

type Rep GetAggregateComplianceDetailsByConfigRule = D1 ('MetaData "GetAggregateComplianceDetailsByConfigRule" "Amazonka.Config.GetAggregateComplianceDetailsByConfigRule" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "GetAggregateComplianceDetailsByConfigRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "complianceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComplianceType)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "configurationAggregatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "configRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

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: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.

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.

GetAggregateComplianceDetailsByConfigRule, getAggregateComplianceDetailsByConfigRule_configurationAggregatorName - The name of the configuration aggregator.

GetAggregateComplianceDetailsByConfigRule, getAggregateComplianceDetailsByConfigRule_configRuleName - The name of the Config rule for which you want compliance information.

GetAggregateComplianceDetailsByConfigRule, getAggregateComplianceDetailsByConfigRule_accountId - The 12-digit account ID of the source account.

GetAggregateComplianceDetailsByConfigRule, getAggregateComplianceDetailsByConfigRule_awsRegion - The source region from where the data is aggregated.

Request Lenses

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_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_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_configRuleName :: Lens' GetAggregateComplianceDetailsByConfigRule Text Source #

The name of the Config rule for which you want compliance information.

Destructuring the Response

data GetAggregateComplianceDetailsByConfigRuleResponse Source #

Constructors

GetAggregateComplianceDetailsByConfigRuleResponse' 

Fields

Instances

Instances details
Generic GetAggregateComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Read GetAggregateComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Show GetAggregateComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

NFData GetAggregateComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

Eq GetAggregateComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

type Rep GetAggregateComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetAggregateComplianceDetailsByConfigRule

type Rep GetAggregateComplianceDetailsByConfigRuleResponse = D1 ('MetaData "GetAggregateComplianceDetailsByConfigRuleResponse" "Amazonka.Config.GetAggregateComplianceDetailsByConfigRule" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "GetAggregateComplianceDetailsByConfigRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "aggregateEvaluationResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AggregateEvaluationResult])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAggregateComplianceDetailsByConfigRuleResponse Source #

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:aggregateEvaluationResults:GetAggregateComplianceDetailsByConfigRuleResponse', getAggregateComplianceDetailsByConfigRuleResponse_aggregateEvaluationResults - Returns an AggregateEvaluationResults object.

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: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.