amazonka-config-1.3.6: Amazon Config SDK.

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

Network.AWS.Config.GetComplianceDetailsByConfigRule

Contents

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.

See: AWS API Reference for GetComplianceDetailsByConfigRule.

Synopsis

Creating a Request

getComplianceDetailsByConfigRule Source

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:

Request Lenses

gcdbcrComplianceTypes :: Lens' GetComplianceDetailsByConfigRule [ComplianceType] Source

Specify to filter the results by compliance. The valid values are Compliant, NonCompliant, and NotApplicable.

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

gcdbcrLimit :: Lens' GetComplianceDetailsByConfigRule (Maybe Natural) Source

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 Source

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

Destructuring the Response

getComplianceDetailsByConfigRuleResponse Source

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:

Response Lenses

gcdbcrrsEvaluationResults :: Lens' GetComplianceDetailsByConfigRuleResponse [EvaluationResult] Source

Indicates whether the AWS resource complies with the specified AWS Config rule.

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