Skip to content

DeleteBotRequest

Source code in docs_src/capo_lex_models_v2/types/delete_bot_request.py
class DeleteBotRequest(TypedDict, closed=True):
    bot_id: "capo_lex_models_v2.types.id.Id"
    """<p>The identifier of the bot to delete. </p>"""
    skip_resource_in_use_check: (
        "capo_lex_models_v2.types.skip_resource_in_use_check.SkipResourceInUseCheck"
    )
    """<p>By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a <code>ResourceInUseException</code> exception if the bot is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the bot even if it is being used by another resource.</p>"""

bot_id instance-attribute

bot_id: Id

The identifier of the bot to delete.

skip_resource_in_use_check instance-attribute

skip_resource_in_use_check: SkipResourceInUseCheck

By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.