Module Values.GetIntentResponseSource

Returns information about an intent. In addition to the intent name, you must specify the intent version. This operation requires permissions to perform the lex:GetIntent action.

Sourcetype nonrec t = {
  1. name : IntentName.t option;
    (*

    The name of the intent.

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

    A description of the intent.

    *)
  3. slots : SlotList.t option;
    (*

    An array of intent slots configured for the intent.

    *)
  4. sampleUtterances : IntentUtteranceList.t option;
    (*

    An array of sample utterances configured for the intent.

    *)
  5. confirmationPrompt : Prompt.t option;
    (*

    If defined in the bot, Amazon Lex uses prompt to confirm the intent before fulfilling the user's request. For more information, see PutIntent.

    *)
  6. rejectionStatement : Statement.t option;
    (*

    If the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

    *)
  7. followUpPrompt : FollowUpPrompt.t option;
    (*

    If defined in the bot, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled. For more information, see PutIntent.

    *)
  8. conclusionStatement : Statement.t option;
    (*

    After the Lambda function specified in the fulfillmentActivity element fulfills the intent, Amazon Lex conveys this statement to the user.

    *)
  9. dialogCodeHook : CodeHook.t option;
    (*

    If defined in the bot, Amazon Amazon Lex invokes this Lambda function for each user input. For more information, see PutIntent.

    *)
  10. fulfillmentActivity : FulfillmentActivity.t option;
    (*

    Describes how the intent is fulfilled. For more information, see PutIntent.

    *)
  11. parentIntentSignature : BuiltinIntentSignature.t option;
    (*

    A unique identifier for a built-in intent.

    *)
  12. lastUpdatedDate : Timestamp.t option;
    (*

    The date that the intent was updated. When you create a resource, the creation date and the last updated date are the same.

    *)
  13. createdDate : Timestamp.t option;
    (*

    The date that the intent was created.

    *)
  14. version : Version.t option;
    (*

    The version of the intent.

    *)
  15. checksum : String_.t option;
    (*

    Checksum of the intent.

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

    Configuration information, if any, to connect to an Amazon Kendra index with the AMAZON.KendraSearchIntent intent.

    *)
  17. inputContexts : InputContextList.t option;
    (*

    An array of InputContext objects that lists the contexts that must be active for Amazon Lex to choose the intent in a conversation with the user.

    *)
  18. outputContexts : OutputContextList.t option;
    (*

    An array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?description:??? -> ?slots:??? -> ?sampleUtterances:??? -> ?confirmationPrompt:??? -> ?rejectionStatement:??? -> ?followUpPrompt:??? -> ?conclusionStatement:??? -> ?dialogCodeHook:??? -> ?fulfillmentActivity:??? -> ?parentIntentSignature:??? -> ?lastUpdatedDate:??? -> ?createdDate:??? -> ?version:??? -> ?checksum:??? -> ?kendraConfiguration:??? -> ?inputContexts:??? -> ?outputContexts:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Utterance.t | `Structure of (string * [> `Enum of string | `Integer of Priority.t | `List of [> `String of Utterance.t ] list | `String of SlotName.t | `Structure of (string * [> `Integer of PromptMaxAttempts.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of GroupNumber.t | `String of ContentString.t ]) list ] list | `String of ResponseCard.t ]) list ]) list ] list | `String of IntentName.t | `Structure of (string * [> `Enum of string | `Integer of PromptMaxAttempts.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of GroupNumber.t | `String of ContentString.t ]) list ] list | `String of ResponseCard.t | `Structure of (string * [> `Integer of PromptMaxAttempts.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of GroupNumber.t | `String of ContentString.t ]) list ] list | `String of ResponseCard.t ]) list ]) list | `Timestamp of Timestamp.t ]) 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