AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteBot operation.
Deletes all versions of a bot, including the Draft
version. To delete a specific
version, use the DeleteBotVersion
operation.
When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.
If a bot has an alias, the DeleteBot
operation returns a ResourceInUseException
exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck
parameter to true
.
Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z
public class DeleteBotRequest : AmazonLexModelsV2Request IAmazonWebServiceRequest
The DeleteBotRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DeleteBotRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
BotId | System.String |
Gets and sets the property BotId. The identifier of the bot to delete. |
![]() |
SkipResourceInUseCheck | System.Boolean |
Gets and sets the property 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 |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5