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 DeleteSlotType operation. Deletes a slot type from a bot locale.

If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.

Inheritance Hierarchy

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

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

Syntax

C#
public class DeleteSlotTypeRequest : AmazonLexModelsV2Request
         IAmazonWebServiceRequest

The DeleteSlotTypeRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteSlotTypeRequest()

Properties

NameTypeDescription
Public Property BotId System.String

Gets and sets the property BotId.

The identifier of the bot associated with the slot type.

Public Property BotVersion System.String

Gets and sets the property BotVersion.

The version of the bot associated with the slot type.

Public Property LocaleId System.String

Gets and sets the property LocaleId.

The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.

Public Property SkipResourceInUseCheck System.Boolean

Gets and sets the property SkipResourceInUseCheck.

By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.

Public Property SlotTypeId System.String

Gets and sets the property SlotTypeId.

The identifier of the slot type to delete.

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