Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetComplianceSummaryByResourceType = GetComplianceSummaryByResourceType' {
- resourceTypes :: Maybe [Text]
- newGetComplianceSummaryByResourceType :: GetComplianceSummaryByResourceType
- getComplianceSummaryByResourceType_resourceTypes :: Lens' GetComplianceSummaryByResourceType (Maybe [Text])
- data GetComplianceSummaryByResourceTypeResponse = GetComplianceSummaryByResourceTypeResponse' {}
- newGetComplianceSummaryByResourceTypeResponse :: Int -> GetComplianceSummaryByResourceTypeResponse
- getComplianceSummaryByResourceTypeResponse_complianceSummariesByResourceType :: Lens' GetComplianceSummaryByResourceTypeResponse (Maybe [ComplianceSummaryByResourceType])
- getComplianceSummaryByResourceTypeResponse_httpStatus :: Lens' GetComplianceSummaryByResourceTypeResponse Int
Creating a Request
data GetComplianceSummaryByResourceType Source #
See: newGetComplianceSummaryByResourceType
smart constructor.
GetComplianceSummaryByResourceType' | |
|
Instances
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 #
See: newGetComplianceSummaryByResourceTypeResponse
smart constructor.
GetComplianceSummaryByResourceTypeResponse' | |
|
Instances
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.
getComplianceSummaryByResourceTypeResponse_httpStatus :: Lens' GetComplianceSummaryByResourceTypeResponse Int Source #
The response's http status code.