| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector2.ListCoverageStatistics
Description
Lists Amazon Inspector coverage statistics for your environment.
This operation returns paginated results.
Synopsis
- data ListCoverageStatistics = ListCoverageStatistics' {}
- newListCoverageStatistics :: ListCoverageStatistics
- listCoverageStatistics_filterCriteria :: Lens' ListCoverageStatistics (Maybe CoverageFilterCriteria)
- listCoverageStatistics_groupBy :: Lens' ListCoverageStatistics (Maybe GroupKey)
- listCoverageStatistics_nextToken :: Lens' ListCoverageStatistics (Maybe Text)
- data ListCoverageStatisticsResponse = ListCoverageStatisticsResponse' {
- countsByGroup :: Maybe (NonEmpty Counts)
- nextToken :: Maybe Text
- httpStatus :: Int
- totalCounts :: Integer
- newListCoverageStatisticsResponse :: Int -> Integer -> ListCoverageStatisticsResponse
- listCoverageStatisticsResponse_countsByGroup :: Lens' ListCoverageStatisticsResponse (Maybe (NonEmpty Counts))
- listCoverageStatisticsResponse_nextToken :: Lens' ListCoverageStatisticsResponse (Maybe Text)
- listCoverageStatisticsResponse_httpStatus :: Lens' ListCoverageStatisticsResponse Int
- listCoverageStatisticsResponse_totalCounts :: Lens' ListCoverageStatisticsResponse Integer
Creating a Request
data ListCoverageStatistics Source #
See: newListCoverageStatistics smart constructor.
Constructors
| ListCoverageStatistics' | |
Fields
| |
Instances
newListCoverageStatistics :: ListCoverageStatistics Source #
Create a value of ListCoverageStatistics 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:filterCriteria:ListCoverageStatistics', listCoverageStatistics_filterCriteria - An object that contains details on the filters to apply to the coverage
data for your environment.
$sel:groupBy:ListCoverageStatistics', listCoverageStatistics_groupBy - The value to group the results by.
ListCoverageStatistics, listCoverageStatistics_nextToken - A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
Request Lenses
listCoverageStatistics_filterCriteria :: Lens' ListCoverageStatistics (Maybe CoverageFilterCriteria) Source #
An object that contains details on the filters to apply to the coverage data for your environment.
listCoverageStatistics_groupBy :: Lens' ListCoverageStatistics (Maybe GroupKey) Source #
The value to group the results by.
listCoverageStatistics_nextToken :: Lens' ListCoverageStatistics (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
Destructuring the Response
data ListCoverageStatisticsResponse Source #
See: newListCoverageStatisticsResponse smart constructor.
Constructors
| ListCoverageStatisticsResponse' | |
Fields
| |
Instances
newListCoverageStatisticsResponse Source #
Arguments
| :: Int | |
| -> Integer | |
| -> ListCoverageStatisticsResponse |
Create a value of ListCoverageStatisticsResponse 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:countsByGroup:ListCoverageStatisticsResponse', listCoverageStatisticsResponse_countsByGroup - An array with the number for each group.
ListCoverageStatistics, listCoverageStatisticsResponse_nextToken - A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
$sel:httpStatus:ListCoverageStatisticsResponse', listCoverageStatisticsResponse_httpStatus - The response's http status code.
$sel:totalCounts:ListCoverageStatisticsResponse', listCoverageStatisticsResponse_totalCounts - The total number for all groups.
Response Lenses
listCoverageStatisticsResponse_countsByGroup :: Lens' ListCoverageStatisticsResponse (Maybe (NonEmpty Counts)) Source #
An array with the number for each group.
listCoverageStatisticsResponse_nextToken :: Lens' ListCoverageStatisticsResponse (Maybe Text) Source #
A token to use for paginating results that are returned in the response.
Set the value of this parameter to null for the first request to a list
action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
listCoverageStatisticsResponse_httpStatus :: Lens' ListCoverageStatisticsResponse Int Source #
The response's http status code.
listCoverageStatisticsResponse_totalCounts :: Lens' ListCoverageStatisticsResponse Integer Source #
The total number for all groups.