Skip to content

UpdateSlotTypeRequest

Source code in docs_src/capo_lex_models_v2/types/update_slot_type_request.py
class UpdateSlotTypeRequest(TypedDict, closed=True):
    slot_type_id: "capo_lex_models_v2.types.id.Id"
    """<p>The unique identifier of the slot type to update.</p>"""
    slot_type_name: "capo_lex_models_v2.types.name.Name"
    """<p>The new name of the slot type.</p>"""
    description: NotRequired["capo_lex_models_v2.types.description.Description"]
    """<p>The new description of the slot type.</p>"""
    slot_type_values: NotRequired[
        "capo_lex_models_v2.types.slot_type_values.SlotTypeValues"
    ]
    """<p>A new list of values and their optional synonyms that define the values that the slot type can take.</p>"""
    value_selection_setting: NotRequired[
        "capo_lex_models_v2.types.slot_value_selection_setting.SlotValueSelectionSetting"
    ]
    """<p>The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.</p>"""
    parent_slot_type_signature: NotRequired[
        "capo_lex_models_v2.types.slot_type_signature.SlotTypeSignature"
    ]
    """<p>The new built-in slot type that should be used as the parent of this slot type.</p>"""
    bot_id: "capo_lex_models_v2.types.id.Id"
    """<p>The identifier of the bot that contains the slot type.</p>"""
    bot_version: "capo_lex_models_v2.types.draft_bot_version.DraftBotVersion"
    """<p>The version of the bot that contains the slot type. Must be <code>DRAFT</code>.</p>"""
    locale_id: "capo_lex_models_v2.types.locale_id.LocaleId"
    """<p>The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>"""
    external_source_setting: NotRequired[
        "capo_lex_models_v2.types.external_source_setting.ExternalSourceSetting"
    ]
    composite_slot_type_setting: NotRequired[
        "capo_lex_models_v2.types.composite_slot_type_setting.CompositeSlotTypeSetting"
    ]
    """<p>Specifications for a composite slot type.</p>"""

bot_id instance-attribute

bot_id: Id

The identifier of the bot that contains the slot type.

bot_version instance-attribute

bot_version: DraftBotVersion

The version of the bot that contains the slot type. Must be DRAFT.

composite_slot_type_setting instance-attribute

composite_slot_type_setting: NotRequired[CompositeSlotTypeSetting]

Specifications for a composite slot type.

description instance-attribute

description: NotRequired[Description]

The new description of the slot type.

external_source_setting instance-attribute

external_source_setting: NotRequired[ExternalSourceSetting]

locale_id instance-attribute

locale_id: LocaleId

The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.

parent_slot_type_signature instance-attribute

parent_slot_type_signature: NotRequired[SlotTypeSignature]

The new built-in slot type that should be used as the parent of this slot type.

slot_type_id instance-attribute

slot_type_id: Id

The unique identifier of the slot type to update.

slot_type_name instance-attribute

slot_type_name: Name

The new name of the slot type.

slot_type_values instance-attribute

slot_type_values: NotRequired[SlotTypeValues]

A new list of values and their optional synonyms that define the values that the slot type can take.

value_selection_setting instance-attribute

value_selection_setting: NotRequired[SlotValueSelectionSetting]

The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.