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

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.

Synopsis

Creating a Request

data GetComplianceSummaryByResourceType Source #

Constructors

GetComplianceSummaryByResourceType' 

Fields

  • resourceTypes :: Maybe [Text]

    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 Amazon Web Services resource type such as AWS::EC2::Instance. You can specify that the resource type is an Amazon Web Services account by specifying AWS::::Account.

Instances

Instances details
Eq GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Read GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Show GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Generic GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Associated Types

type Rep GetComplianceSummaryByResourceType :: Type -> Type #

NFData GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Hashable GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

ToJSON GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

AWSRequest GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

ToHeaders GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

ToPath GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

ToQuery GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

type Rep GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

type Rep GetComplianceSummaryByResourceType = D1 ('MetaData "GetComplianceSummaryByResourceType" "Amazonka.Config.GetComplianceSummaryByResourceType" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "GetComplianceSummaryByResourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))
type AWSResponse GetComplianceSummaryByResourceType Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

newGetComplianceSummaryByResourceType :: GetComplianceSummaryByResourceType Source #

Create a value of GetComplianceSummaryByResourceType 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:resourceTypes:GetComplianceSummaryByResourceType', getComplianceSummaryByResourceType_resourceTypes - 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 Amazon Web Services resource type such as AWS::EC2::Instance. You can specify that the resource type is an Amazon Web Services account by specifying AWS::::Account.

Request Lenses

getComplianceSummaryByResourceType_resourceTypes :: Lens' GetComplianceSummaryByResourceType (Maybe [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 Amazon Web Services resource type such as AWS::EC2::Instance. You can specify that the resource type is an Amazon Web Services account by specifying AWS::::Account.

Destructuring the Response

data GetComplianceSummaryByResourceTypeResponse Source #

Constructors

GetComplianceSummaryByResourceTypeResponse' 

Fields

Instances

Instances details
Eq GetComplianceSummaryByResourceTypeResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Read GetComplianceSummaryByResourceTypeResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Show GetComplianceSummaryByResourceTypeResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

Generic GetComplianceSummaryByResourceTypeResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

NFData GetComplianceSummaryByResourceTypeResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

type Rep GetComplianceSummaryByResourceTypeResponse Source # 
Instance details

Defined in Amazonka.Config.GetComplianceSummaryByResourceType

type Rep GetComplianceSummaryByResourceTypeResponse = D1 ('MetaData "GetComplianceSummaryByResourceTypeResponse" "Amazonka.Config.GetComplianceSummaryByResourceType" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "GetComplianceSummaryByResourceTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "complianceSummariesByResourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ComplianceSummaryByResourceType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetComplianceSummaryByResourceTypeResponse Source #

Create a value of GetComplianceSummaryByResourceTypeResponse 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:complianceSummariesByResourceType:GetComplianceSummaryByResourceTypeResponse', getComplianceSummaryByResourceTypeResponse_complianceSummariesByResourceType - 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.

$sel:httpStatus:GetComplianceSummaryByResourceTypeResponse', getComplianceSummaryByResourceTypeResponse_httpStatus - The response's http status code.

Response Lenses

getComplianceSummaryByResourceTypeResponse_complianceSummariesByResourceType :: Lens' GetComplianceSummaryByResourceTypeResponse (Maybe [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.