Skip to content

DeleteSlotTypeRequest

Source code in docs_src/capo_lex_models_v2/types/delete_slot_type_request.py
class DeleteSlotTypeRequest(TypedDict, closed=True):
    slot_type_id: "capo_lex_models_v2.types.id.Id"
    """<p>The identifier of the slot type to delete.</p>"""
    bot_id: "capo_lex_models_v2.types.id.Id"
    """<p>The identifier of the bot associated with the slot type.</p>"""
    bot_version: "capo_lex_models_v2.types.draft_bot_version.DraftBotVersion"
    """<p>The version of the bot associated with the slot type.</p>"""
    locale_id: "capo_lex_models_v2.types.locale_id.LocaleId"
    """<p>The identifier of the language and locale that the slot type will be deleted from. 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>"""
    skip_resource_in_use_check: (
        "capo_lex_models_v2.types.skip_resource_in_use_check.SkipResourceInUseCheck"
    )
    """<p>By default, the <code>DeleteSlotType</code> operations throws a <code>ResourceInUseException</code> exception if you try to delete a slot type used by a slot. Set the <code>skipResourceInUseCheck</code> parameter to <code>true</code> to skip this check and remove the slot type even if a slot uses it.</p>"""

bot_id instance-attribute

bot_id: Id

The identifier of the bot associated with the slot type.

bot_version instance-attribute

bot_version: DraftBotVersion

The version of the bot associated with the slot type.

locale_id instance-attribute

locale_id: LocaleId

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

skip_resource_in_use_check instance-attribute

skip_resource_in_use_check: SkipResourceInUseCheck

By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.

slot_type_id instance-attribute

slot_type_id: Id

The identifier of the slot type to delete.