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 |
Returns a paginated list of CIDR collections in the Amazon Web Services account (metadata only).
This operation returns paginated results.
Synopsis
- data ListCidrCollections = ListCidrCollections' {}
- newListCidrCollections :: ListCidrCollections
- listCidrCollections_maxResults :: Lens' ListCidrCollections (Maybe Text)
- listCidrCollections_nextToken :: Lens' ListCidrCollections (Maybe Text)
- data ListCidrCollectionsResponse = ListCidrCollectionsResponse' {}
- newListCidrCollectionsResponse :: Int -> ListCidrCollectionsResponse
- listCidrCollectionsResponse_cidrCollections :: Lens' ListCidrCollectionsResponse (Maybe [CollectionSummary])
- listCidrCollectionsResponse_nextToken :: Lens' ListCidrCollectionsResponse (Maybe Text)
- listCidrCollectionsResponse_httpStatus :: Lens' ListCidrCollectionsResponse Int
Creating a Request
data ListCidrCollections Source #
See: newListCidrCollections
smart constructor.
Instances
newListCidrCollections :: ListCidrCollections Source #
Create a value of ListCidrCollections
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:maxResults:ListCidrCollections'
, listCidrCollections_maxResults
- The maximum number of CIDR collections to return in the response.
ListCidrCollections
, listCidrCollections_nextToken
- An opaque pagination token to indicate where the service is to begin
enumerating results.
If no value is provided, the listing of results starts from the beginning.
Request Lenses
listCidrCollections_maxResults :: Lens' ListCidrCollections (Maybe Text) Source #
The maximum number of CIDR collections to return in the response.
listCidrCollections_nextToken :: Lens' ListCidrCollections (Maybe Text) Source #
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
Destructuring the Response
data ListCidrCollectionsResponse Source #
See: newListCidrCollectionsResponse
smart constructor.
ListCidrCollectionsResponse' | |
|
Instances
newListCidrCollectionsResponse Source #
Create a value of ListCidrCollectionsResponse
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:cidrCollections:ListCidrCollectionsResponse'
, listCidrCollectionsResponse_cidrCollections
- A complex type with information about the CIDR collection.
ListCidrCollections
, listCidrCollectionsResponse_nextToken
- An opaque pagination token to indicate where the service is to begin
enumerating results.
If no value is provided, the listing of results starts from the beginning.
$sel:httpStatus:ListCidrCollectionsResponse'
, listCidrCollectionsResponse_httpStatus
- The response's http status code.
Response Lenses
listCidrCollectionsResponse_cidrCollections :: Lens' ListCidrCollectionsResponse (Maybe [CollectionSummary]) Source #
A complex type with information about the CIDR collection.
listCidrCollectionsResponse_nextToken :: Lens' ListCidrCollectionsResponse (Maybe Text) Source #
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
listCidrCollectionsResponse_httpStatus :: Lens' ListCidrCollectionsResponse Int Source #
The response's http status code.