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 place index resources in your AWS account.
This operation returns paginated results.
Synopsis
- data ListPlaceIndexes = ListPlaceIndexes' {}
- newListPlaceIndexes :: ListPlaceIndexes
- listPlaceIndexes_nextToken :: Lens' ListPlaceIndexes (Maybe Text)
- listPlaceIndexes_maxResults :: Lens' ListPlaceIndexes (Maybe Natural)
- 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.
ListPlaceIndexes' | |
|
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:
$sel:nextToken: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
$sel:maxResults:ListPlaceIndexes'
, listPlaceIndexes_maxResults
- An optional limit for the maximum number of results returned in a single
call.
Default value: 100
Request Lenses
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
listPlaceIndexes_maxResults :: Lens' ListPlaceIndexes (Maybe Natural) Source #
An optional limit for the maximum number of results returned in a single call.
Default value: 100
Destructuring the Response
data ListPlaceIndexesResponse Source #
See: newListPlaceIndexesResponse
smart constructor.
ListPlaceIndexesResponse' | |
|
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:
$sel:nextToken:ListPlaceIndexes'
, listPlaceIndexesResponse_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: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 there are additional pages available. You can use the token in a following request to fetch the next set 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