Module Values.SendMessageRequestSource

Submits a message to the Amazon Q in Connect session.

Sourcetype nonrec t = {
  1. assistantId : UuidOrArn.t;
    (*

    The identifier of the Amazon Q in Connect assistant.

    *)
  2. sessionId : UuidOrArn.t;
    (*

    The identifier of the Amazon Q in Connect session.

    *)
  3. type_ : MessageType.t;
    (*

    The message type.

    *)
  4. message : MessageInput.t;
    (*

    The message data to submit to the Amazon Q in Connect session.

    *)
  5. aiAgentId : UuidOrArnOrEitherWithQualifier.t option;
    (*

    The identifier of the AI Agent to use for processing the message.

    *)
  6. conversationContext : ConversationContext.t option;
    (*

    The conversation context before the Amazon Q in Connect session.

    *)
  7. configuration : MessageConfiguration.t option;
    (*

    The configuration of the SendMessage request.

    *)
  8. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the AWS SDK populates this field.For more information about idempotency, see Making retries safe with idempotent APIs.

    *)
  9. orchestratorUseCase : NonEmptyString.t option;
    (*

    The orchestrator use case for message processing.

    *)
  10. metadata : MessageMetadata.t option;
    (*

    Additional metadata for the message.

    *)
  11. originRequestId : SendMessageRequestOriginRequestIdString.t option;
    (*

    Request identifier from the origin system, used for end-to-end tracing across spans.

    *)
}
Sourceval context_ : string
Sourceval make : ?aiAgentId:??? -> ?conversationContext:??? -> ?configuration:??? -> ?clientToken:??? -> ?orchestratorUseCase:??? -> ?metadata:??? -> ?originRequestId:??? -> assistantId:UuidOrArn.t -> sessionId:UuidOrArn.t -> type_:MessageType.t -> message:MessageInput.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of UuidOrArn.t | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `Integer of Integer.t | `String of SensitiveString.t | `Timestamp of Timestamp.t ]) list ] list | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of Uuid.t | `Structure of (string * [> `Integer of CitationSpanOffset.t ]) list ]) list ] list | `String of TextMessageValueString.t | `Structure of (string * [> `Boolean of Boolean.t ]) 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