Values.UpdateIntentRequestSourceUpdates the settings for an intent.
type nonrec t = {intentId : Id.t;The unique identifier of the intent to update.
*)intentName : Name.t;The new name for the intent.
*)intentDisplayName : DisplayName.t option;The new display name for the intent.
*)description : Description.t option;The new description of the intent.
*)parentIntentSignature : IntentSignature.t option;The signature of the new built-in intent to use as the parent of this intent.
*)sampleUtterances : SampleUtterancesList.t option;New utterances used to invoke the intent.
*)dialogCodeHook : DialogCodeHookSettings.t option;The new Lambda function to use between each turn of the conversation with the bot.
*)fulfillmentCodeHook : FulfillmentCodeHookSettings.t option;The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.
*)slotPriorities : SlotPrioritiesList.t option;A new list of slots and their priorities that are contained by the intent.
*)intentConfirmationSetting : IntentConfirmationSetting.t option;New prompts that Amazon Lex sends to the user to confirm the completion of an intent.
*)intentClosingSetting : IntentClosingSetting.t option;The new response that Amazon Lex sends the user when the intent is closed.
*)inputContexts : InputContextsList.t option;A new list of contexts that must be active in order for Amazon Lex to consider the intent.
*)outputContexts : OutputContextsList.t option;A new list of contexts that Amazon Lex activates when the intent is fulfilled.
*)kendraConfiguration : KendraConfiguration.t option;New configuration settings for connecting to an Amazon Kendra index.
*)botId : Id.t;The identifier of the bot that contains the intent.
*)botVersion : DraftBotVersion.t;The version of the bot that contains the intent. Must be DRAFT.
*)localeId : LocaleId.t;The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages.
*)initialResponseSetting : InitialResponseSetting.t option;Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
*)qnAIntentConfiguration : QnAIntentConfiguration.t option;Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.
*)qInConnectIntentConfiguration : QInConnectIntentConfiguration.t option;Qinconnect intent configuration details for the update intent request.
*)}val make :
?intentDisplayName:??? ->
?description:??? ->
?parentIntentSignature:??? ->
?sampleUtterances:??? ->
?dialogCodeHook:??? ->
?fulfillmentCodeHook:??? ->
?slotPriorities:??? ->
?intentConfirmationSetting:??? ->
?intentClosingSetting:??? ->
?inputContexts:??? ->
?outputContexts:??? ->
?kendraConfiguration:??? ->
?initialResponseSetting:??? ->
?qnAIntentConfiguration:??? ->
?qInConnectIntentConfiguration:??? ->
intentId:Id.t ->
intentName:Name.t ->
botId:Id.t ->
botVersion:DraftBotVersion.t ->
localeId:LocaleId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Integer of PriorityValue.t
| `String of Utterance.t ])
list ]
list
| `String of Id.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `String of KendraIndexArn.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Integer of FulfillmentTimeout.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
([> `Enum of string | `String of NonEmptyString.t ]
* [> `String of String_.t
| `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
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `Integer of FulfillmentStartResponseDelay.t
| `List of
[> `String of IncludeField.t
| `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 ]
* Awso.Botodata.value)
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `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 Name.t ] * Awso.Botodata.value)
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `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 ]
* Awso.Botodata.value)
list
| `String of Name.t
| `Structure of
(string
* [> `Boolean of BoxedBoolean.t
| `Enum of string
| `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 Name.t ]
* Awso.Botodata.value)
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 ])
list ])
list ])
list ])
list ])
list ])
list ])
list ])
list ]