| 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.ListPlaceIndexes
Description
Lists place index resources in your AWS account.
This operation returns paginated results.
Synopsis
- data ListPlaceIndexes = ListPlaceIndexes' {}
- newListPlaceIndexes :: ListPlaceIndexes
- listPlaceIndexes_maxResults :: Lens' ListPlaceIndexes (Maybe Natural)
- listPlaceIndexes_nextToken :: Lens' ListPlaceIndexes (Maybe Text)
- data ListPlaceIndexesResponse = ListPlaceIndexesResponse' {}
- newListPlaceIndexesResponse :: Int -> ListPlaceIndexesResponse
- listPlaceIndexesResponse_nextToken :: Lens' ListPlaceIndexesResponse (Maybe Text)
- listPlaceIndexesResponse_httpStatus :: Lens' ListPlaceIndexesResponse Int
- listPlaceIndexesResponse_entries :: Lens' ListPlaceIndexesResponse [ListPlaceIndexesResponseEntry]
Creating a Request
data ListPlaceIndexes Source #
See: newListPlaceIndexes smart constructor.
Constructors
| ListPlaceIndexes' | |
Fields
| |
Instances
newListPlaceIndexes :: ListPlaceIndexes Source #
Create a value of ListPlaceIndexes 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:
ListPlaceIndexes, listPlaceIndexes_maxResults - An optional limit for the maximum number of results returned in a single
call.
Default value: 100
ListPlaceIndexes, listPlaceIndexes_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
listPlaceIndexes_maxResults :: Lens' ListPlaceIndexes (Maybe Natural) Source #
An optional limit for the maximum number of results returned in a single call.
Default value: 100
listPlaceIndexes_nextToken :: Lens' ListPlaceIndexes (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 ListPlaceIndexesResponse Source #
See: newListPlaceIndexesResponse smart constructor.
Constructors
| ListPlaceIndexesResponse' | |
Fields
| |
Instances
newListPlaceIndexesResponse Source #
Create a value of ListPlaceIndexesResponse 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:
ListPlaceIndexes, listPlaceIndexesResponse_nextToken - A pagination token indicating that there are additional pages available.
You can use the token in a new request to fetch the next page of
results.
$sel:httpStatus:ListPlaceIndexesResponse', listPlaceIndexesResponse_httpStatus - The response's http status code.
$sel:entries:ListPlaceIndexesResponse', listPlaceIndexesResponse_entries - Lists the place index resources that exist in your AWS account
Response Lenses
listPlaceIndexesResponse_nextToken :: Lens' ListPlaceIndexesResponse (Maybe Text) Source #
A pagination token indicating that there are additional pages available. You can use the token in a new request to fetch the next page of results.
listPlaceIndexesResponse_httpStatus :: Lens' ListPlaceIndexesResponse Int Source #
The response's http status code.
listPlaceIndexesResponse_entries :: Lens' ListPlaceIndexesResponse [ListPlaceIndexesResponseEntry] Source #
Lists the place index resources that exist in your AWS account