AWS SDK Version 3 for .NET
API Reference

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 DeleteBotVersion operation. Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.LexModelsV2.AmazonLexModelsV2Request
      Amazon.LexModelsV2.Model.DeleteBotVersionRequest

Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteBotVersionRequest : AmazonLexModelsV2Request
         IAmazonWebServiceRequest

The DeleteBotVersionRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteBotVersionRequest()

Properties

NameTypeDescription
Public Property BotId System.String

Gets and sets the property BotId.

The identifier of the bot that contains the version.

Public Property BotVersion System.String

Gets and sets the property BotVersion.

The version of the bot to delete.

Public Property 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 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.

Version Information

.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