| 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.ListCoverage
Description
Lists coverage details for you environment.
This operation returns paginated results.
Synopsis
- data ListCoverage = ListCoverage' {}
- newListCoverage :: ListCoverage
- listCoverage_filterCriteria :: Lens' ListCoverage (Maybe CoverageFilterCriteria)
- listCoverage_maxResults :: Lens' ListCoverage (Maybe Natural)
- listCoverage_nextToken :: Lens' ListCoverage (Maybe Text)
- data ListCoverageResponse = ListCoverageResponse' {}
- newListCoverageResponse :: Int -> ListCoverageResponse
- listCoverageResponse_coveredResources :: Lens' ListCoverageResponse (Maybe [CoveredResource])
- listCoverageResponse_nextToken :: Lens' ListCoverageResponse (Maybe Text)
- listCoverageResponse_httpStatus :: Lens' ListCoverageResponse Int
Creating a Request
data ListCoverage Source #
See: newListCoverage smart constructor.
Constructors
| ListCoverage' | |
Fields
| |
Instances
newListCoverage :: ListCoverage Source #
Create a value of ListCoverage 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:ListCoverage', listCoverage_filterCriteria - An object that contains details on the filters to apply to the coverage
data for your environment.
$sel:maxResults:ListCoverage', listCoverage_maxResults - The maximum number of results to return in the response.
ListCoverage, listCoverage_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
listCoverage_filterCriteria :: Lens' ListCoverage (Maybe CoverageFilterCriteria) Source #
An object that contains details on the filters to apply to the coverage data for your environment.
listCoverage_maxResults :: Lens' ListCoverage (Maybe Natural) Source #
The maximum number of results to return in the response.
listCoverage_nextToken :: Lens' ListCoverage (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 ListCoverageResponse Source #
See: newListCoverageResponse smart constructor.
Constructors
| ListCoverageResponse' | |
Fields
| |
Instances
newListCoverageResponse Source #
Arguments
| :: Int | |
| -> ListCoverageResponse |
Create a value of ListCoverageResponse 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:coveredResources:ListCoverageResponse', listCoverageResponse_coveredResources - An object that contains details on the covered resources in your
environment.
ListCoverage, listCoverageResponse_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:ListCoverageResponse', listCoverageResponse_httpStatus - The response's http status code.
Response Lenses
listCoverageResponse_coveredResources :: Lens' ListCoverageResponse (Maybe [CoveredResource]) Source #
An object that contains details on the covered resources in your environment.
listCoverageResponse_nextToken :: Lens' ListCoverageResponse (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.
listCoverageResponse_httpStatus :: Lens' ListCoverageResponse Int Source #
The response's http status code.