libZSservicesZSamazonka-configZSamazonka-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Config.GetComplianceDetailsByConfigRule

Description

Returns the evaluation results for the specified Config 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.

This operation returns paginated results.

Synopsis

Creating a Request

data GetComplianceDetailsByConfigRule Source #

See: newGetComplianceDetailsByConfigRule smart constructor.

Constructors

GetComplianceDetailsByConfigRule' 

Fields

  • complianceTypes :: Maybe [ComplianceType]

    Filters the results by compliance.

    The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

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

  • limit :: Maybe Natural

    The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

  • configRuleName :: Text

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

Instances

Instances details
Eq GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Read GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Show GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Generic GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Associated Types

type Rep GetComplianceDetailsByConfigRule :: Type -> Type #

NFData GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Hashable GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

ToJSON GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

AWSPager GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

AWSRequest GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

ToHeaders GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

ToPath GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

ToQuery GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

type Rep GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

type Rep GetComplianceDetailsByConfigRule = D1 ('MetaData "GetComplianceDetailsByConfigRule" "Amazonka.Config.GetComplianceDetailsByConfigRule" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "GetComplianceDetailsByConfigRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "complianceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ComplianceType])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "configRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetComplianceDetailsByConfigRule Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

newGetComplianceDetailsByConfigRule Source #

Create a value of GetComplianceDetailsByConfigRule 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:complianceTypes:GetComplianceDetailsByConfigRule', getComplianceDetailsByConfigRule_complianceTypes - Filters the results by compliance.

The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

$sel:nextToken:GetComplianceDetailsByConfigRule', getComplianceDetailsByConfigRule_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:GetComplianceDetailsByConfigRule', getComplianceDetailsByConfigRule_limit - The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

$sel:configRuleName:GetComplianceDetailsByConfigRule', getComplianceDetailsByConfigRule_configRuleName - The name of the Config rule for which you want compliance information.

Request Lenses

getComplianceDetailsByConfigRule_complianceTypes :: Lens' GetComplianceDetailsByConfigRule (Maybe [ComplianceType]) Source #

Filters the results by compliance.

The allowed values are COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE.

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

getComplianceDetailsByConfigRule_limit :: Lens' GetComplianceDetailsByConfigRule (Maybe Natural) Source #

The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

getComplianceDetailsByConfigRule_configRuleName :: Lens' GetComplianceDetailsByConfigRule Text Source #

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

Destructuring the Response

data GetComplianceDetailsByConfigRuleResponse Source #

Constructors

GetComplianceDetailsByConfigRuleResponse' 

Fields

Instances

Instances details
Eq GetComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Read GetComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Show GetComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

Generic GetComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

NFData GetComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

type Rep GetComplianceDetailsByConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceDetailsByConfigRule

type Rep GetComplianceDetailsByConfigRuleResponse = D1 ('MetaData "GetComplianceDetailsByConfigRuleResponse" "Amazonka.Config.GetComplianceDetailsByConfigRule" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "GetComplianceDetailsByConfigRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "evaluationResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EvaluationResult])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetComplianceDetailsByConfigRuleResponse Source #

Create a value of GetComplianceDetailsByConfigRuleResponse 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:evaluationResults:GetComplianceDetailsByConfigRuleResponse', getComplianceDetailsByConfigRuleResponse_evaluationResults - Indicates whether the Amazon Web Services resource complies with the specified Config rule.

$sel:nextToken:GetComplianceDetailsByConfigRule', getComplianceDetailsByConfigRuleResponse_nextToken - The string that you use in a subsequent request to get the next page of results in a paginated response.

$sel:httpStatus:GetComplianceDetailsByConfigRuleResponse', getComplianceDetailsByConfigRuleResponse_httpStatus - The response's http status code.

Response Lenses

getComplianceDetailsByConfigRuleResponse_evaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse (Maybe [EvaluationResult]) Source #

Indicates whether the Amazon Web Services resource complies with the specified Config rule.

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