Skip to content

Polly  >  Operations  >  list_lexicons

list_lexicons

Operation

list_lexicons async

list_lexicons(input: ListLexiconsInput, plugins: list[Plugin] | None = None) -> ListLexiconsOutput

Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

Parameters:

Name Type Description Default
input ListLexiconsInput

An instance of ListLexiconsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListLexiconsOutput

An instance of ListLexiconsOutput.

Input

ListLexiconsInput dataclass

Dataclass for ListLexiconsInput structure.

Attributes

next_token class-attribute instance-attribute
next_token: str | None = None

An opaque pagination token returned from previous ListLexicons operation. If present, indicates where to continue the list of lexicons.

Output

ListLexiconsOutput dataclass

Dataclass for ListLexiconsOutput structure.

Attributes

lexicons class-attribute instance-attribute
lexicons: list[LexiconDescription] | None = None

A list of lexicon names and attributes.

next_token class-attribute instance-attribute
next_token: str | None = None

The pagination token to use in the next request to continue the listing of lexicons. NextToken is returned only if the response is truncated.