Skip to content

DeleteBotAliasRequest

Source code in docs_src/capo_lex_models_v2/types/delete_bot_alias_request.py
class DeleteBotAliasRequest(TypedDict, closed=True):
    bot_alias_id: "capo_lex_models_v2.types.bot_alias_id.BotAliasId"
    """<p>The unique identifier of the bot alias to delete.</p>"""
    bot_id: "capo_lex_models_v2.types.id.Id"
    """<p>The unique identifier of the bot associated with the alias 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 a bot network, is using the bot alias before it is deleted and throws a <code>ResourceInUseException</code> exception if the alias is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the alias even if it is being used by another resource.</p>"""

bot_alias_id instance-attribute

bot_alias_id: BotAliasId

The unique identifier of the bot alias to delete.

bot_id instance-attribute

bot_id: Id

The unique identifier of the bot associated with the alias 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 a bot network, is using the bot alias before it is deleted and throws a ResourceInUseException exception if the alias is being used by another resource. Set this parameter to true to skip this check and remove the alias even if it is being used by another resource.