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 |
Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.
This operation returns paginated results.
Synopsis
- data ListLexicons = ListLexicons' {}
- newListLexicons :: ListLexicons
- listLexicons_nextToken :: Lens' ListLexicons (Maybe Text)
- data ListLexiconsResponse = ListLexiconsResponse' {
- lexicons :: Maybe [LexiconDescription]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListLexiconsResponse :: Int -> ListLexiconsResponse
- listLexiconsResponse_lexicons :: Lens' ListLexiconsResponse (Maybe [LexiconDescription])
- listLexiconsResponse_nextToken :: Lens' ListLexiconsResponse (Maybe Text)
- listLexiconsResponse_httpStatus :: Lens' ListLexiconsResponse Int
Creating a Request
data ListLexicons Source #
See: newListLexicons
smart constructor.
Instances
newListLexicons :: ListLexicons Source #
Create a value of ListLexicons
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:ListLexicons'
, listLexicons_nextToken
- An opaque pagination token returned from previous ListLexicons
operation. If present, indicates where to continue the list of lexicons.
Request Lenses
listLexicons_nextToken :: Lens' ListLexicons (Maybe Text) Source #
An opaque pagination token returned from previous ListLexicons
operation. If present, indicates where to continue the list of lexicons.
Destructuring the Response
data ListLexiconsResponse Source #
See: newListLexiconsResponse
smart constructor.
ListLexiconsResponse' | |
|
Instances
newListLexiconsResponse Source #
Create a value of ListLexiconsResponse
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:lexicons:ListLexiconsResponse'
, listLexiconsResponse_lexicons
- A list of lexicon names and attributes.
$sel:nextToken:ListLexicons'
, listLexiconsResponse_nextToken
- The pagination token to use in the next request to continue the listing
of lexicons. NextToken
is returned only if the response is truncated.
$sel:httpStatus:ListLexiconsResponse'
, listLexiconsResponse_httpStatus
- The response's http status code.
Response Lenses
listLexiconsResponse_lexicons :: Lens' ListLexiconsResponse (Maybe [LexiconDescription]) Source #
A list of lexicon names and attributes.
listLexiconsResponse_nextToken :: Lens' ListLexiconsResponse (Maybe Text) Source #
The pagination token to use in the next request to continue the listing
of lexicons. NextToken
is returned only if the response is truncated.
listLexiconsResponse_httpStatus :: Lens' ListLexiconsResponse Int Source #
The response's http status code.