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 a summary count of compliant and non-compliant resources for a compliance type. For example, this call can return State Manager associations, patches, or custom compliance types according to the filter criteria that you specify.
This operation returns paginated results.
Synopsis
- data ListComplianceSummaries = ListComplianceSummaries' {}
- newListComplianceSummaries :: ListComplianceSummaries
- listComplianceSummaries_filters :: Lens' ListComplianceSummaries (Maybe [ComplianceStringFilter])
- listComplianceSummaries_nextToken :: Lens' ListComplianceSummaries (Maybe Text)
- listComplianceSummaries_maxResults :: Lens' ListComplianceSummaries (Maybe Natural)
- data ListComplianceSummariesResponse = ListComplianceSummariesResponse' {}
- newListComplianceSummariesResponse :: Int -> ListComplianceSummariesResponse
- listComplianceSummariesResponse_nextToken :: Lens' ListComplianceSummariesResponse (Maybe Text)
- listComplianceSummariesResponse_complianceSummaryItems :: Lens' ListComplianceSummariesResponse (Maybe [ComplianceSummaryItem])
- listComplianceSummariesResponse_httpStatus :: Lens' ListComplianceSummariesResponse Int
Creating a Request
data ListComplianceSummaries Source #
See: newListComplianceSummaries
smart constructor.
ListComplianceSummaries' | |
|
Instances
newListComplianceSummaries :: ListComplianceSummaries Source #
Create a value of ListComplianceSummaries
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:filters:ListComplianceSummaries'
, listComplianceSummaries_filters
- One or more compliance or inventory filters. Use a filter to return a
more specific list of results.
$sel:nextToken:ListComplianceSummaries'
, listComplianceSummaries_nextToken
- A token to start the list. Use this token to get the next set of
results.
$sel:maxResults:ListComplianceSummaries'
, listComplianceSummaries_maxResults
- The maximum number of items to return for this call. Currently, you can
specify null or 50. The call also returns a token that you can specify
in a subsequent call to get the next set of results.
Request Lenses
listComplianceSummaries_filters :: Lens' ListComplianceSummaries (Maybe [ComplianceStringFilter]) Source #
One or more compliance or inventory filters. Use a filter to return a more specific list of results.
listComplianceSummaries_nextToken :: Lens' ListComplianceSummaries (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
listComplianceSummaries_maxResults :: Lens' ListComplianceSummaries (Maybe Natural) Source #
The maximum number of items to return for this call. Currently, you can specify null or 50. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Destructuring the Response
data ListComplianceSummariesResponse Source #
See: newListComplianceSummariesResponse
smart constructor.
ListComplianceSummariesResponse' | |
|
Instances
newListComplianceSummariesResponse Source #
Create a value of ListComplianceSummariesResponse
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:nextToken:ListComplianceSummaries'
, listComplianceSummariesResponse_nextToken
- The token for the next set of items to return. Use this token to get the
next set of results.
$sel:complianceSummaryItems:ListComplianceSummariesResponse'
, listComplianceSummariesResponse_complianceSummaryItems
- A list of compliant and non-compliant summary counts based on compliance
types. For example, this call returns State Manager associations,
patches, or custom compliance types according to the filter criteria
that you specified.
$sel:httpStatus:ListComplianceSummariesResponse'
, listComplianceSummariesResponse_httpStatus
- The response's http status code.
Response Lenses
listComplianceSummariesResponse_nextToken :: Lens' ListComplianceSummariesResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
listComplianceSummariesResponse_complianceSummaryItems :: Lens' ListComplianceSummariesResponse (Maybe [ComplianceSummaryItem]) Source #
A list of compliant and non-compliant summary counts based on compliance types. For example, this call returns State Manager associations, patches, or custom compliance types according to the filter criteria that you specified.
listComplianceSummariesResponse_httpStatus :: Lens' ListComplianceSummariesResponse Int Source #
The response's http status code.