Copyright | (c) 2013-2021 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 |
Lists geofence collections in your AWS account.
This operation returns paginated results.
Synopsis
- data ListGeofenceCollections = ListGeofenceCollections' {}
- newListGeofenceCollections :: ListGeofenceCollections
- listGeofenceCollections_nextToken :: Lens' ListGeofenceCollections (Maybe Text)
- listGeofenceCollections_maxResults :: Lens' ListGeofenceCollections (Maybe Natural)
- data ListGeofenceCollectionsResponse = ListGeofenceCollectionsResponse' {}
- newListGeofenceCollectionsResponse :: Int -> ListGeofenceCollectionsResponse
- listGeofenceCollectionsResponse_nextToken :: Lens' ListGeofenceCollectionsResponse (Maybe Text)
- listGeofenceCollectionsResponse_httpStatus :: Lens' ListGeofenceCollectionsResponse Int
- listGeofenceCollectionsResponse_entries :: Lens' ListGeofenceCollectionsResponse [ListGeofenceCollectionsResponseEntry]
Creating a Request
data ListGeofenceCollections Source #
See: newListGeofenceCollections
smart constructor.
ListGeofenceCollections' | |
|
Instances
newListGeofenceCollections :: ListGeofenceCollections Source #
Create a value of ListGeofenceCollections
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:nextToken:ListGeofenceCollections'
, listGeofenceCollections_nextToken
- The pagination token specifying which page of results to return in the
response. If no token is provided, the default page is the first page.
Default value: null
$sel:maxResults:ListGeofenceCollections'
, listGeofenceCollections_maxResults
- An optional limit for the number of resources returned in a single call.
Default value: 100
Request Lenses
listGeofenceCollections_nextToken :: Lens' ListGeofenceCollections (Maybe Text) Source #
The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.
Default value: null
listGeofenceCollections_maxResults :: Lens' ListGeofenceCollections (Maybe Natural) Source #
An optional limit for the number of resources returned in a single call.
Default value: 100
Destructuring the Response
data ListGeofenceCollectionsResponse Source #
See: newListGeofenceCollectionsResponse
smart constructor.
ListGeofenceCollectionsResponse' | |
|
Instances
newListGeofenceCollectionsResponse Source #
Create a value of ListGeofenceCollectionsResponse
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:nextToken:ListGeofenceCollections'
, listGeofenceCollectionsResponse_nextToken
- A pagination token indicating there are additional pages available. You
can use the token in a following request to fetch the next set of
results.
$sel:httpStatus:ListGeofenceCollectionsResponse'
, listGeofenceCollectionsResponse_httpStatus
- The response's http status code.
$sel:entries:ListGeofenceCollectionsResponse'
, listGeofenceCollectionsResponse_entries
- Lists the geofence collections that exist in your AWS account.
Response Lenses
listGeofenceCollectionsResponse_nextToken :: Lens' ListGeofenceCollectionsResponse (Maybe Text) Source #
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
listGeofenceCollectionsResponse_httpStatus :: Lens' ListGeofenceCollectionsResponse Int Source #
The response's http status code.
listGeofenceCollectionsResponse_entries :: Lens' ListGeofenceCollectionsResponse [ListGeofenceCollectionsResponseEntry] Source #
Lists the geofence collections that exist in your AWS account.