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 currently associated to the given tracker resource.
This operation returns paginated results.
Synopsis
- data ListTrackerConsumers = ListTrackerConsumers' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- trackerName :: Text
- newListTrackerConsumers :: Text -> ListTrackerConsumers
- listTrackerConsumers_nextToken :: Lens' ListTrackerConsumers (Maybe Text)
- listTrackerConsumers_maxResults :: Lens' ListTrackerConsumers (Maybe Natural)
- 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:
$sel:nextToken: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
$sel:maxResults:ListTrackerConsumers'
, listTrackerConsumers_maxResults
- An optional limit for the number of resources returned in a single call.
Default value: 100
$sel:trackerName:ListTrackerConsumers'
, listTrackerConsumers_trackerName
- The tracker resource whose associated geofence collections you want to
list.
Request Lenses
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_maxResults :: Lens' ListTrackerConsumers (Maybe Natural) Source #
An optional limit for the number of resources returned in a single call.
Default value: 100
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:
$sel:nextToken: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.