Values_0.CreateParticipantRequestSourceAdds 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.
type nonrec t = {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.
*)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
*)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.
*)participantDetails : ParticipantDetailsToAdd.t;Information identifying the participant. The only valid value for ParticipantRole is CUSTOM_BOT for chat contact and CUSTOMER for voice contact.
*)}val make :
?clientToken:??? ->
instanceId:InstanceId.t ->
contactId:ContactId.t ->
participantDetails:ParticipantDetailsToAdd.t ->
unit ->
tval 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 ]