Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the search indices.
Synopsis
- listIndices :: ListIndices
- data ListIndices
- liNextToken :: Lens' ListIndices (Maybe Text)
- liMaxResults :: Lens' ListIndices (Maybe Natural)
- listIndicesResponse :: Int -> ListIndicesResponse
- data ListIndicesResponse
- lirsNextToken :: Lens' ListIndicesResponse (Maybe Text)
- lirsIndexNames :: Lens' ListIndicesResponse [Text]
- lirsResponseStatus :: Lens' ListIndicesResponse Int
Creating a Request
listIndices :: ListIndices Source #
Creates a value of ListIndices
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
liNextToken
- The token used to get the next set of results, or null if there are no additional results.liMaxResults
- The maximum number of results to return at one time.
data ListIndices Source #
See: listIndices
smart constructor.
Instances
Request Lenses
liNextToken :: Lens' ListIndices (Maybe Text) Source #
The token used to get the next set of results, or null if there are no additional results.
liMaxResults :: Lens' ListIndices (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
Creates a value of ListIndicesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lirsNextToken
- The token used to get the next set of results, or null if there are no additional results.lirsIndexNames
- The index names.lirsResponseStatus
- -- | The response status code.
data ListIndicesResponse Source #
See: listIndicesResponse
smart constructor.
Instances
Response Lenses
lirsNextToken :: Lens' ListIndicesResponse (Maybe Text) Source #
The token used to get the next set of results, or null if there are no additional results.
lirsIndexNames :: Lens' ListIndicesResponse [Text] Source #
The index names.
lirsResponseStatus :: Lens' ListIndicesResponse Int Source #
- - | The response status code.