| 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.Kendra.ListIndices
Description
Lists the Amazon Kendra indexes that you created.
Synopsis
- data ListIndices = ListIndices' {}
- newListIndices :: ListIndices
- listIndices_maxResults :: Lens' ListIndices (Maybe Natural)
- listIndices_nextToken :: Lens' ListIndices (Maybe Text)
- data ListIndicesResponse = ListIndicesResponse' {}
- newListIndicesResponse :: Int -> ListIndicesResponse
- listIndicesResponse_indexConfigurationSummaryItems :: Lens' ListIndicesResponse (Maybe [IndexConfigurationSummary])
- listIndicesResponse_nextToken :: Lens' ListIndicesResponse (Maybe Text)
- listIndicesResponse_httpStatus :: Lens' ListIndicesResponse Int
Creating a Request
data ListIndices Source #
See: newListIndices smart constructor.
Constructors
| ListIndices' | |
Fields
| |
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:
ListIndices, listIndices_maxResults - The maximum number of indices to return.
ListIndices, listIndices_nextToken - If the previous response was incomplete (because there is more data to
retrieve), Amazon Kendra returns a pagination token in the response. You
can use this pagination token to retrieve the next set of indexes.
Request Lenses
listIndices_maxResults :: Lens' ListIndices (Maybe Natural) Source #
The maximum number of indices to return.
listIndices_nextToken :: Lens' ListIndices (Maybe Text) Source #
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of indexes.
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:indexConfigurationSummaryItems:ListIndicesResponse', listIndicesResponse_indexConfigurationSummaryItems - An array of summary information on the configuration of one or more
indexes.
ListIndices, listIndicesResponse_nextToken - If the response is truncated, Amazon Kendra returns this token that you
can use in the subsequent request to retrieve the next set of indexes.
$sel:httpStatus:ListIndicesResponse', listIndicesResponse_httpStatus - The response's http status code.
Response Lenses
listIndicesResponse_indexConfigurationSummaryItems :: Lens' ListIndicesResponse (Maybe [IndexConfigurationSummary]) Source #
An array of summary information on the configuration of one or more indexes.
listIndicesResponse_nextToken :: Lens' ListIndicesResponse (Maybe Text) Source #
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of indexes.
listIndicesResponse_httpStatus :: Lens' ListIndicesResponse Int Source #
The response's http status code.