Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
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.
- listComplianceSummaries :: ListComplianceSummaries
- data ListComplianceSummaries
- lcsFilters :: Lens' ListComplianceSummaries [ComplianceStringFilter]
- lcsNextToken :: Lens' ListComplianceSummaries (Maybe Text)
- lcsMaxResults :: Lens' ListComplianceSummaries (Maybe Natural)
- listComplianceSummariesResponse :: Int -> ListComplianceSummariesResponse
- data ListComplianceSummariesResponse
- lcsrsNextToken :: Lens' ListComplianceSummariesResponse (Maybe Text)
- lcsrsComplianceSummaryItems :: Lens' ListComplianceSummariesResponse [ComplianceSummaryItem]
- lcsrsResponseStatus :: Lens' ListComplianceSummariesResponse Int
Creating a Request
listComplianceSummaries :: ListComplianceSummaries Source #
Creates a value of ListComplianceSummaries
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcsFilters
- One or more compliance or inventory filters. Use a filter to return a more specific list of results.lcsNextToken
- A token to start the list. Use this token to get the next set of results.lcsMaxResults
- 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.
data ListComplianceSummaries Source #
See: listComplianceSummaries
smart constructor.
Request Lenses
lcsFilters :: Lens' ListComplianceSummaries [ComplianceStringFilter] Source #
One or more compliance or inventory filters. Use a filter to return a more specific list of results.
lcsNextToken :: Lens' ListComplianceSummaries (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
lcsMaxResults :: 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
listComplianceSummariesResponse Source #
Creates a value of ListComplianceSummariesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcsrsNextToken
- The token for the next set of items to return. Use this token to get the next set of results.lcsrsComplianceSummaryItems
- 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.lcsrsResponseStatus
- -- | The response status code.
data ListComplianceSummariesResponse Source #
See: listComplianceSummariesResponse
smart constructor.
Response Lenses
lcsrsNextToken :: 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.
lcsrsComplianceSummaryItems :: Lens' ListComplianceSummariesResponse [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.
lcsrsResponseStatus :: Lens' ListComplianceSummariesResponse Int Source #
- - | The response status code.