Values.CreateSlotResponseSourceCreates 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.
type nonrec t = {slotId : Id.t option;The unique identifier associated with the slot. Use this to identify the slot when you update or delete it.
*)slotName : Name.t option;The name specified for the slot.
*)description : Description.t option;The description associated with the slot.
*)slotTypeId : BuiltInOrCustomSlotTypeId.t option;The unique identifier of the slot type associated with this slot.
*)valueElicitationSetting : SlotValueElicitationSetting.t option;The value elicitation settings specified for the slot.
*)obfuscationSetting : ObfuscationSetting.t option;Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.
*)botId : Id.t option;The unique identifier of the bot associated with the slot.
*)botVersion : DraftBotVersion.t option;The version of the bot associated with the slot.
*)localeId : LocaleId.t option;The language and local specified for the slot.
*)intentId : Id.t option;The unique identifier of the intent associated with the slot.
*)creationDateTime : Timestamp.t option;The timestamp of the date and time that the slot was created.
*)multipleValuesSetting : MultipleValuesSetting.t option;Indicates whether the slot returns multiple values in one response.
*)subSlotSetting : SubSlotSetting.t option;Specifications for the constituent sub slots and the expression for the composite slot.
*)}type nonrec error = [ | `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `PreconditionFailedException of PreconditionFailedException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?slotId:??? ->
?slotName:??? ->
?description:??? ->
?slotTypeId:??? ->
?valueElicitationSetting:??? ->
?obfuscationSetting:??? ->
?botId:??? ->
?botVersion:??? ->
?localeId:??? ->
?intentId:??? ->
?creationDateTime:??? ->
?multipleValuesSetting:??? ->
?subSlotSetting:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `String of Id.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `Structure of (string * [> `String of Utterance.t ]) list ]
list
| `Map of
([> `String of Name.t ]
* [> `Structure of
(string
* [> `String of BuiltInOrCustomSlotTypeId.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of Utterance.t ])
list ]
list
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Integer of PromptMaxRetries.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
*
[>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `String of
SlotDefaultValueString.t
| `Structure of
(string
* [> `Structure of
(string
* [> `List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `Enum of string ]
* [> `Structure of
(string
* [> `Boolean of
BoxedBoolean.t
| `Structure of
(string
* [> `Boolean of
BoxedBoolean.t
| `Integer of
TimeInMilliSeconds.t
| `Structure of
(string
* [> `Integer of
TimeInMilliSeconds.t
| `String of
DTMFCharacter.t ])
list ])
list ])
list ])
list
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of
StillWaitingResponseFrequency.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [>
`Structure of
(string
*
[>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list ])
list ])
list ])
list ])
list ])
list
| `String of SubSlotExpression.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Integer of PromptMaxRetries.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `String of SlotDefaultValueString.t
| `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
ButtonText.t ])
list ]
list
| `String of PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `Enum of string ]
* [> `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of TimeInMilliSeconds.t
| `Structure of
(string
* [> `Integer of TimeInMilliSeconds.t
| `String of DTMFCharacter.t ])
list ])
list ])
list ])
list
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Integer of StillWaitingResponseFrequency.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
*
[>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of String_.t ])
list
| `String of ConditionExpression.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `String of
ButtonText.t ])
list ]
list
| `Map of
([> `String of Name.t ]
* Awso.Botodata.value)
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of String_.t ])
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Map of
([> `String of Name.t ] * Awso.Botodata.value)
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Structure of
(string
* [>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
*
[>
`Structure of
(string
*
[>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
*
[>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of
NonEmptyString.t ]
* [> `String of String_.t ])
list
| `String of
ConditionExpression.t
| `Structure of
(string
* [> `Boolean of
BoxedBoolean.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `String of
ButtonText.t ])
list ]
list
| `Map of
([> `String of Name.t ]
* Awso.Botodata.value)
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of String_.t ])
list
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Map of
([> `String of Name.t ]
* Awso.Botodata.value)
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [>
`Structure of
(string
*
[>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [>
`List of
[>
`Structure of
(string
*
[>
`String of
ButtonText.t ])
list ]
list
| `String of
PlainTextMessageValue.t ])
list ])
list ])
list ]
list
| `Map of
([> `String of NonEmptyString.t ]
* [> `String of String_.t ])
list
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Map of
([> `String of Name.t ]
* Awso.Botodata.value)
list
| `String of Name.t ])
list ])
list ])
list ])
list ])
list ])
list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]