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 |
Lists geofence collections currently associated to the given tracker resource.
This operation returns paginated results.
Synopsis
- data ListTrackerConsumers = ListTrackerConsumers' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- trackerName :: Text
- newListTrackerConsumers :: Text -> ListTrackerConsumers
- listTrackerConsumers_maxResults :: Lens' ListTrackerConsumers (Maybe Natural)
- listTrackerConsumers_nextToken :: Lens' ListTrackerConsumers (Maybe Text)
- listTrackerConsumers_trackerName :: Lens' ListTrackerConsumers Text
- data ListTrackerConsumersResponse = ListTrackerConsumersResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- consumerArns :: [Text]
- newListTrackerConsumersResponse :: Int -> ListTrackerConsumersResponse
- listTrackerConsumersResponse_nextToken :: Lens' ListTrackerConsumersResponse (Maybe Text)
- listTrackerConsumersResponse_httpStatus :: Lens' ListTrackerConsumersResponse Int
- listTrackerConsumersResponse_consumerArns :: Lens' ListTrackerConsumersResponse [Text]
Creating a Request
data ListTrackerConsumers Source #
See: newListTrackerConsumers
smart constructor.
ListTrackerConsumers' | |
|
Instances
newListTrackerConsumers Source #
Create a value of ListTrackerConsumers
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:
ListTrackerConsumers
, listTrackerConsumers_maxResults
- An optional limit for the number of resources returned in a single call.
Default value: 100
ListTrackerConsumers
, listTrackerConsumers_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
ListTrackerConsumers
, listTrackerConsumers_trackerName
- The tracker resource whose associated geofence collections you want to
list.
Request Lenses
listTrackerConsumers_maxResults :: Lens' ListTrackerConsumers (Maybe Natural) Source #
An optional limit for the number of resources returned in a single call.
Default value: 100
listTrackerConsumers_nextToken :: Lens' ListTrackerConsumers (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
listTrackerConsumers_trackerName :: Lens' ListTrackerConsumers Text Source #
The tracker resource whose associated geofence collections you want to list.
Destructuring the Response
data ListTrackerConsumersResponse Source #
See: newListTrackerConsumersResponse
smart constructor.
ListTrackerConsumersResponse' | |
|
Instances
newListTrackerConsumersResponse Source #
Create a value of ListTrackerConsumersResponse
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:
ListTrackerConsumers
, listTrackerConsumersResponse_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:ListTrackerConsumersResponse'
, listTrackerConsumersResponse_httpStatus
- The response's http status code.
$sel:consumerArns:ListTrackerConsumersResponse'
, listTrackerConsumersResponse_consumerArns
- Contains the list of geofence collection ARNs associated to the tracker
resource.
Response Lenses
listTrackerConsumersResponse_nextToken :: Lens' ListTrackerConsumersResponse (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.
listTrackerConsumersResponse_httpStatus :: Lens' ListTrackerConsumersResponse Int Source #
The response's http status code.
listTrackerConsumersResponse_consumerArns :: Lens' ListTrackerConsumersResponse [Text] Source #
Contains the list of geofence collection ARNs associated to the tracker resource.