Skip to content

DeleteBotVersionRequest

Source code in docs_src/capo_lex_models_v2/types/delete_bot_version_request.py
class DeleteBotVersionRequest(TypedDict, closed=True):
    bot_id: "capo_lex_models_v2.types.id.Id"
    """<p>The identifier of the bot that contains the version.</p>"""
    bot_version: "capo_lex_models_v2.types.numerical_bot_version.NumericalBotVersion"
    """<p>The version 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 version is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the version even if it is being used by another resource.</p>"""

bot_id instance-attribute

bot_id: Id

The identifier of the bot that contains the version.

bot_version instance-attribute

bot_version: NumericalBotVersion

The version 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 version is being used by another resource. Set this parameter to true to skip this check and remove the version even if it is being used by another resource.