Skip to content

PutLexiconInput

Source code in docs_src/capo_polly/types/put_lexicon_input.py
class PutLexiconInput(TypedDict, closed=True):
    name: "capo_polly.types.lexicon_name.LexiconName"
    """<p>Name of the lexicon. The name must follow the regular expression format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long. </p>"""
    content: "capo_polly.types.lexicon_content.LexiconContent"
    """<p>Content of the PLS lexicon as string data.</p>"""
    tags: NotRequired["capo_polly.types.tag_map.TagMap"]
    """<p>The metadata that you apply to the lexicon to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. You can't replace the tags of an existing lexicon by overwriting it with PutLexicon.</p>"""

content instance-attribute

content: LexiconContent

Content of the PLS lexicon as string data.

name instance-attribute

Name of the lexicon. The name must follow the regular expression format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.

tags instance-attribute

tags: NotRequired[TagMap]

The metadata that you apply to the lexicon to help you categorize and organize it. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters. You can't replace the tags of an existing lexicon by overwriting it with PutLexicon.