Module Values.UpdateIntentRequestSource

Updates the settings for an intent.

Sourcetype nonrec t = {
  1. intentId : Id.t;
    (*

    The unique identifier of the intent to update.

    *)
  2. intentName : Name.t;
    (*

    The new name for the intent.

    *)
  3. intentDisplayName : DisplayName.t option;
    (*

    The new display name for the intent.

    *)
  4. description : Description.t option;
    (*

    The new description of the intent.

    *)
  5. parentIntentSignature : IntentSignature.t option;
    (*

    The signature of the new built-in intent to use as the parent of this intent.

    *)
  6. sampleUtterances : SampleUtterancesList.t option;
    (*

    New utterances used to invoke the intent.

    *)
  7. dialogCodeHook : DialogCodeHookSettings.t option;
    (*

    The new Lambda function to use between each turn of the conversation with the bot.

    *)
  8. 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.

    *)
  9. slotPriorities : SlotPrioritiesList.t option;
    (*

    A new list of slots and their priorities that are contained by the intent.

    *)
  10. intentConfirmationSetting : IntentConfirmationSetting.t option;
    (*

    New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

    *)
  11. intentClosingSetting : IntentClosingSetting.t option;
    (*

    The new response that Amazon Lex sends the user when the intent is closed.

    *)
  12. inputContexts : InputContextsList.t option;
    (*

    A new list of contexts that must be active in order for Amazon Lex to consider the intent.

    *)
  13. outputContexts : OutputContextsList.t option;
    (*

    A new list of contexts that Amazon Lex activates when the intent is fulfilled.

    *)
  14. kendraConfiguration : KendraConfiguration.t option;
    (*

    New configuration settings for connecting to an Amazon Kendra index.

    *)
  15. botId : Id.t;
    (*

    The identifier of the bot that contains the intent.

    *)
  16. botVersion : DraftBotVersion.t;
    (*

    The version of the bot that contains the intent. Must be DRAFT.

    *)
  17. 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.

    *)
  18. initialResponseSetting : InitialResponseSetting.t option;
    (*

    Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

    *)
  19. 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.

    *)
  20. qInConnectIntentConfiguration : QInConnectIntentConfiguration.t option;
    (*

    Qinconnect intent configuration details for the update intent request.

    *)
}
Sourceval context_ : string
Sourceval 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 -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t