Values.UpdateSlotRequestSourceUpdates the settings for a slot.
type nonrec t = {slotId : Id.t;The unique identifier for the slot to update.
*)slotName : Name.t;The new name for the slot.
*)description : Description.t option;The new description for the slot.
*)slotTypeId : BuiltInOrCustomSlotTypeId.t option;The unique identifier of the new slot type to associate with this slot.
*)valueElicitationSetting : SlotValueElicitationSetting.t;A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.
*)obfuscationSetting : ObfuscationSetting.t option;New settings that determine how slot values are formatted in Amazon CloudWatch logs.
*)botId : Id.t;The unique identifier of the bot that contains the slot.
*)botVersion : DraftBotVersion.t;The version of the bot that contains the slot. Must always be DRAFT.
*)localeId : LocaleId.t;The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more information, see Supported languages.
*)intentId : Id.t;The identifier of the intent that contains the slot.
*)multipleValuesSetting : MultipleValuesSetting.t option;Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException. If the multipleValuesSetting is not set, the default value is false.
*)subSlotSetting : SubSlotSetting.t option;Specifications for the constituent sub slots and the expression for the composite slot.
*)}val make :
?description:??? ->
?slotTypeId:??? ->
?obfuscationSetting:??? ->
?multipleValuesSetting:??? ->
?subSlotSetting:??? ->
slotId:Id.t ->
slotName:Name.t ->
valueElicitationSetting:SlotValueElicitationSetting.t ->
botId:Id.t ->
botVersion:DraftBotVersion.t ->
localeId:LocaleId.t ->
intentId:Id.t ->
unit ->
tval 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 ])
list ]