put_lexicon¶
Operation¶
put_lexicon
async
¶
put_lexicon(input: PutLexiconInput, plugins: list[Plugin] | None = None) -> PutLexiconOutput
Stores a pronunciation lexicon in an Amazon Web Services Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.
For more information, see Managing Lexicons.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
PutLexiconInput
|
An instance of |
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 |
|---|---|
PutLexiconOutput
|
An instance of |
Input¶
PutLexiconInput
dataclass
¶
Output¶
PutLexiconOutput
dataclass
¶
Dataclass for PutLexiconOutput structure.