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 the search indices.
Requires permission to access the ListIndices action.
This operation returns paginated results.
Synopsis
- data ListIndices = ListIndices' {}
- newListIndices :: ListIndices
- listIndices_nextToken :: Lens' ListIndices (Maybe Text)
- listIndices_maxResults :: Lens' ListIndices (Maybe Natural)
- data ListIndicesResponse = ListIndicesResponse' {
- nextToken :: Maybe Text
- indexNames :: Maybe [Text]
- httpStatus :: Int
- newListIndicesResponse :: Int -> ListIndicesResponse
- listIndicesResponse_nextToken :: Lens' ListIndicesResponse (Maybe Text)
- listIndicesResponse_indexNames :: Lens' ListIndicesResponse (Maybe [Text])
- listIndicesResponse_httpStatus :: Lens' ListIndicesResponse Int
Creating a Request
data ListIndices Source #
See: newListIndices
smart constructor.
Instances
newListIndices :: ListIndices Source #
Create a value of ListIndices
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:ListIndices'
, listIndices_nextToken
- The token used to get the next set of results, or null
if there are no
additional results.
$sel:maxResults:ListIndices'
, listIndices_maxResults
- The maximum number of results to return at one time.
Request Lenses
listIndices_nextToken :: Lens' ListIndices (Maybe Text) Source #
The token used to get the next set of results, or null
if there are no
additional results.
listIndices_maxResults :: Lens' ListIndices (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
data ListIndicesResponse Source #
See: newListIndicesResponse
smart constructor.
ListIndicesResponse' | |
|
Instances
newListIndicesResponse Source #
Create a value of ListIndicesResponse
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:ListIndices'
, listIndicesResponse_nextToken
- The token used to get the next set of results, or null
if there are no
additional results.
$sel:indexNames:ListIndicesResponse'
, listIndicesResponse_indexNames
- The index names.
$sel:httpStatus:ListIndicesResponse'
, listIndicesResponse_httpStatus
- The response's http status code.
Response Lenses
listIndicesResponse_nextToken :: Lens' ListIndicesResponse (Maybe Text) Source #
The token used to get the next set of results, or null
if there are no
additional results.
listIndicesResponse_indexNames :: Lens' ListIndicesResponse (Maybe [Text]) Source #
The index names.
listIndicesResponse_httpStatus :: Lens' ListIndicesResponse Int Source #
The response's http status code.