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

Contents

Description

Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.

See: AWS API Reference for GetComplianceSummaryByResourceType.

Synopsis

Creating a Request

getComplianceSummaryByResourceType :: GetComplianceSummaryByResourceType Source

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

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

Request Lenses

gcsbrtResourceTypes :: Lens' GetComplianceSummaryByResourceType [Text] Source

Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.

For this request, you can specify an AWS resource type such as 'AWS::EC2::Instance', and you can specify that the resource type is an AWS account by specifying 'AWS::::Account'.

Destructuring the Response

getComplianceSummaryByResourceTypeResponse Source

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

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

Response Lenses

gcsbrtrsComplianceSummariesByResourceType :: Lens' GetComplianceSummaryByResourceTypeResponse [ComplianceSummaryByResourceType] Source

The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100.