| 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.Route53.ListCidrLocations
Description
Returns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks).
This operation returns paginated results.
Synopsis
- data ListCidrLocations = ListCidrLocations' {
- maxResults :: Maybe Text
- nextToken :: Maybe Text
- collectionId :: Text
- newListCidrLocations :: Text -> ListCidrLocations
- listCidrLocations_maxResults :: Lens' ListCidrLocations (Maybe Text)
- listCidrLocations_nextToken :: Lens' ListCidrLocations (Maybe Text)
- listCidrLocations_collectionId :: Lens' ListCidrLocations Text
- data ListCidrLocationsResponse = ListCidrLocationsResponse' {
- cidrLocations :: Maybe [LocationSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListCidrLocationsResponse :: Int -> ListCidrLocationsResponse
- listCidrLocationsResponse_cidrLocations :: Lens' ListCidrLocationsResponse (Maybe [LocationSummary])
- listCidrLocationsResponse_nextToken :: Lens' ListCidrLocationsResponse (Maybe Text)
- listCidrLocationsResponse_httpStatus :: Lens' ListCidrLocationsResponse Int
Creating a Request
data ListCidrLocations Source #
See: newListCidrLocations smart constructor.
Constructors
| ListCidrLocations' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListCidrLocations |
Create a value of ListCidrLocations 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:ListCidrLocations', listCidrLocations_maxResults - The maximum number of CIDR collection locations to return in the
response.
ListCidrLocations, listCidrLocations_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.
ListCidrLocations, listCidrLocations_collectionId - The CIDR collection ID.
Request Lenses
listCidrLocations_maxResults :: Lens' ListCidrLocations (Maybe Text) Source #
The maximum number of CIDR collection locations to return in the response.
listCidrLocations_nextToken :: Lens' ListCidrLocations (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.
listCidrLocations_collectionId :: Lens' ListCidrLocations Text Source #
The CIDR collection ID.
Destructuring the Response
data ListCidrLocationsResponse Source #
See: newListCidrLocationsResponse smart constructor.
Constructors
| ListCidrLocationsResponse' | |
Fields
| |
Instances
newListCidrLocationsResponse Source #
Create a value of ListCidrLocationsResponse 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:cidrLocations:ListCidrLocationsResponse', listCidrLocationsResponse_cidrLocations - A complex type that contains information about the list of CIDR
locations.
ListCidrLocations, listCidrLocationsResponse_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:ListCidrLocationsResponse', listCidrLocationsResponse_httpStatus - The response's http status code.
Response Lenses
listCidrLocationsResponse_cidrLocations :: Lens' ListCidrLocationsResponse (Maybe [LocationSummary]) Source #
A complex type that contains information about the list of CIDR locations.
listCidrLocationsResponse_nextToken :: Lens' ListCidrLocationsResponse (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.
listCidrLocationsResponse_httpStatus :: Lens' ListCidrLocationsResponse Int Source #
The response's http status code.