| 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.Location.ListTrackers
Description
Lists tracker resources in your AWS account.
This operation returns paginated results.
Synopsis
- data ListTrackers = ListTrackers' {}
- newListTrackers :: ListTrackers
- listTrackers_maxResults :: Lens' ListTrackers (Maybe Natural)
- listTrackers_nextToken :: Lens' ListTrackers (Maybe Text)
- data ListTrackersResponse = ListTrackersResponse' {}
- newListTrackersResponse :: Int -> ListTrackersResponse
- listTrackersResponse_nextToken :: Lens' ListTrackersResponse (Maybe Text)
- listTrackersResponse_httpStatus :: Lens' ListTrackersResponse Int
- listTrackersResponse_entries :: Lens' ListTrackersResponse [ListTrackersResponseEntry]
Creating a Request
data ListTrackers Source #
See: newListTrackers smart constructor.
Constructors
| ListTrackers' | |
Fields
| |
Instances
newListTrackers :: ListTrackers Source #
Create a value of ListTrackers 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:
ListTrackers, listTrackers_maxResults - An optional limit for the number of resources returned in a single call.
Default value: 100
ListTrackers, listTrackers_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
Request Lenses
listTrackers_maxResults :: Lens' ListTrackers (Maybe Natural) Source #
An optional limit for the number of resources returned in a single call.
Default value: 100
listTrackers_nextToken :: Lens' ListTrackers (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
Destructuring the Response
data ListTrackersResponse Source #
See: newListTrackersResponse smart constructor.
Constructors
| ListTrackersResponse' | |
Fields
| |
Instances
newListTrackersResponse Source #
Arguments
| :: Int | |
| -> ListTrackersResponse |
Create a value of ListTrackersResponse 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:
ListTrackers, listTrackersResponse_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:ListTrackersResponse', listTrackersResponse_httpStatus - The response's http status code.
$sel:entries:ListTrackersResponse', listTrackersResponse_entries - Contains tracker resources in your AWS account. Details include tracker
name, description and timestamps for when the tracker was created and
last updated.
Response Lenses
listTrackersResponse_nextToken :: Lens' ListTrackersResponse (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.
listTrackersResponse_httpStatus :: Lens' ListTrackersResponse Int Source #
The response's http status code.
listTrackersResponse_entries :: Lens' ListTrackersResponse [ListTrackersResponseEntry] Source #
Contains tracker resources in your AWS account. Details include tracker name, description and timestamps for when the tracker was created and last updated.