Module Values_0.CreateParticipantRequestSource

Adds a new participant into an on-going chat contact or webRTC call. For more information, see Customize chat flow experiences by integrating custom participants or Enable multi-user web, in-app, and video calling.

Sourcetype nonrec t = {
  1. instanceId : InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    *)
  2. contactId : ContactId.t;
    (*

    The identifier of the contact in this instance of Amazon Connect. Supports contacts in the CHAT channel and VOICE (WebRTC) channels. For WebRTC calls, this should be the initial contact ID that was generated when the contact was first created (from the StartWebRTCContact API) in the VOICE channel

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

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

    *)
  4. participantDetails : ParticipantDetailsToAdd.t;
    (*

    Information identifying the participant. The only valid value for ParticipantRole is CUSTOM_BOT for chat contact and CUSTOMER for voice contact.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> instanceId:InstanceId.t -> contactId:ContactId.t -> participantDetails:ParticipantDetailsToAdd.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of InstanceId.t | `Structure of (string * [> `Enum of string | `String of DisplayName.t | `Structure of (string * [> `Enum of string ]) 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