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 CreateSlot operation.
Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For
example, an OrderPizza
intent might need slots for size, crust, and number
of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to
elicit a response from the user.
Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z
public class CreateSlotRequest : AmazonLexModelsV2Request IAmazonWebServiceRequest
The CreateSlotRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateSlotRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
BotId | System.String |
Gets and sets the property BotId. The identifier of the bot associated with the slot. |
![]() |
BotVersion | System.String |
Gets and sets the property BotVersion. The version of the bot associated with the slot. |
![]() |
Description | System.String |
Gets and sets the property Description. A description of the slot. Use this to help identify the slot in lists. |
![]() |
IntentId | System.String |
Gets and sets the property IntentId. The identifier of the intent that contains the slot. |
![]() |
LocaleId | System.String |
Gets and sets the property LocaleId. The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see Supported languages. |
![]() |
MultipleValuesSetting | Amazon.LexModelsV2.Model.MultipleValuesSetting |
Gets and sets the property MultipleValuesSetting.
Indicates whether the slot returns multiple values in one response. Multi-value slots
are only available in the
If the |
![]() |
ObfuscationSetting | Amazon.LexModelsV2.Model.ObfuscationSetting |
Gets and sets the property ObfuscationSetting.
Determines how slot values are used in Amazon CloudWatch logs. If the value of the
The default is to obfuscate values in the CloudWatch logs. |
![]() |
SlotName | System.String |
Gets and sets the property SlotName. The name of the slot. Slot names must be unique within the bot that contains the slot. |
![]() |
SlotTypeId | System.String |
Gets and sets the property SlotTypeId. The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot. |
![]() |
SubSlotSetting | Amazon.LexModelsV2.Model.SubSlotSetting |
Gets and sets the property SubSlotSetting. Specifications for the constituent sub slots and the expression for the composite slot. |
![]() |
ValueElicitationSetting | Amazon.LexModelsV2.Model.SlotValueElicitationSetting |
Gets and sets the property ValueElicitationSetting. Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot. |
.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