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