Module Values.DescribeIntentResponseSource

Returns metadata about an intent.

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

    The unique identifier assigned to the intent when it was created.

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

    The name specified for the intent.

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

    The display name specified for the intent.

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

    The description of the intent.

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

    The identifier of the built-in intent that this intent is derived from, if any.

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

    User utterances that trigger this intent.

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

    The Lambda function called during each turn of a conversation with the intent.

    *)
  8. fulfillmentCodeHook : FulfillmentCodeHookSettings.t option;
    (*

    The Lambda function called when the intent is complete and ready for fulfillment.

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

    The list that determines the priority that slots should be elicited from the user.

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

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

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

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

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

    A list of contexts that must be active for the intent to be considered for sending to the user.

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

    A list of contexts that are activated when the intent is fulfilled.

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

    Configuration information required to use the AMAZON.KendraSearchIntent intent.

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

    The identifier of the bot associated with the intent.

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

    The version of the bot associated with the intent.

    *)
  17. localeId : LocaleId.t option;
    (*

    The language and locale specified for the intent.

    *)
  18. creationDateTime : Timestamp.t option;
    (*

    A timestamp of the date and time that the intent was created.

    *)
  19. lastUpdatedDateTime : Timestamp.t option;
    (*

    A timestamp of the date and time that the intent was last updated.

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

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

    *)
  21. qnAIntentConfiguration : QnAIntentConfiguration.t option;
    (*

    Details about the configuration of the built-in Amazon.QnAIntent.

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

    Qinconnect intent configuration details for the describe intent response.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?intentId:??? -> ?intentName:??? -> ?intentDisplayName:??? -> ?description:??? -> ?parentIntentSignature:??? -> ?sampleUtterances:??? -> ?dialogCodeHook:??? -> ?fulfillmentCodeHook:??? -> ?slotPriorities:??? -> ?intentConfirmationSetting:??? -> ?intentClosingSetting:??? -> ?inputContexts:??? -> ?outputContexts:??? -> ?kendraConfiguration:??? -> ?botId:??? -> ?botVersion:??? -> ?localeId:??? -> ?creationDateTime:??? -> ?lastUpdatedDateTime:??? -> ?initialResponseSetting:??? -> ?qnAIntentConfiguration:??? -> ?qInConnectIntentConfiguration:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.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 | `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