Skip to content

MultipleValuesSetting

Source code in docs_src/capo_lex_models_v2/types/multiple_values_setting.py
class MultipleValuesSetting(TypedDict, closed=True):
    allow_multiple_values: "capo_lex_models_v2.types.boolean.Boolean"
    """<p>Indicates whether a slot can return multiple values. When <code>true</code>, the slot may return more than one value in a response. When <code>false</code>, the slot returns only a single value.</p> <p>Multi-value slots are only available in the en-US locale. If you set this value to <code>true</code> in any other locale, Amazon Lex throws a <code>ValidationException</code>.</p> <p>If the <code>allowMutlipleValues</code> is not set, the default value is <code>false</code>.</p>"""

allow_multiple_values instance-attribute

allow_multiple_values: Boolean

Indicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value.

Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException.

If the allowMutlipleValues is not set, the default value is false.