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 CreateSlotType operation. Creates a custom slot type
To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.
Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z
public class CreateSlotTypeRequest : AmazonLexModelsV2Request IAmazonWebServiceRequest
The CreateSlotTypeRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateSlotTypeRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
BotId | System.String |
Gets and sets the property BotId. The identifier of the bot associated with this slot type. |
![]() |
BotVersion | System.String |
Gets and sets the property BotVersion. The identifier of the bot version associated with this slot type. |
![]() |
CompositeSlotTypeSetting | Amazon.LexModelsV2.Model.CompositeSlotTypeSetting |
Gets and sets the property CompositeSlotTypeSetting. Specifications for a composite slot type. |
![]() |
Description | System.String |
Gets and sets the property Description. A description of the slot type. Use the description to help identify the slot type in lists. |
![]() |
ExternalSourceSetting | Amazon.LexModelsV2.Model.ExternalSourceSetting |
Gets and sets the property ExternalSourceSetting. Sets the type of external information used to create the slot type. |
![]() |
LocaleId | System.String |
Gets and sets the property LocaleId. The identifier of the language and locale that the slot type will be used in. The string must match one of the supported locales. All of the bots, intents, and slots used by the slot type must have the same locale. For more information, see Supported languages. |
![]() |
ParentSlotTypeSignature | System.String |
Gets and sets the property ParentSlotTypeSignature. The built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type.
Only |
![]() |
SlotTypeName | System.String |
Gets and sets the property SlotTypeName. The name for the slot. A slot type name must be unique within the intent. |
![]() |
SlotTypeValues | System.Collections.Generic.List<Amazon.LexModelsV2.Model.SlotTypeValue> |
Gets and sets the property SlotTypeValues.
A list of |
![]() |
ValueSelectionSetting | Amazon.LexModelsV2.Model.SlotValueSelectionSetting |
Gets and sets the property ValueSelectionSetting. Determines the strategy that Amazon Lex uses to select a value from the list of possible values. The field can be set to one of the following values:
If you don't specify the |
.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