amazonka-config-1.3.3: 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.GetComplianceDetailsByResource

Contents

Description

Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.

See: AWS API Reference for GetComplianceDetailsByResource.

Synopsis

Creating a Request

getComplianceDetailsByResource Source

Creates a value of GetComplianceDetailsByResource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gcdbrComplianceTypes :: Lens' GetComplianceDetailsByResource [ComplianceType] Source

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

gcdbrNextToken :: Lens' GetComplianceDetailsByResource (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.

gcdbrResourceType :: Lens' GetComplianceDetailsByResource Text Source

The type of the AWS resource for which you want compliance information.

gcdbrResourceId :: Lens' GetComplianceDetailsByResource Text Source

The ID of the AWS resource for which you want compliance information.

Destructuring the Response

getComplianceDetailsByResourceResponse Source

Creates a value of GetComplianceDetailsByResourceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gcdbrrsEvaluationResults :: Lens' GetComplianceDetailsByResourceResponse [EvaluationResult] Source

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

gcdbrrsNextToken :: Lens' GetComplianceDetailsByResourceResponse (Maybe Text) Source

The string that you use in a subsequent request to get the next page of results in a paginated response.