Module Values_2.StartWebRTCContactResponseSource

Places an inbound in-app, web, or video call to a contact, and then initiates the flow. It performs the actions in the flow that are specified (in ContactFlowId) and present in the Amazon Connect instance (specified as InstanceId).

Sourcetype nonrec t = {
  1. connectionData : Values_0.ConnectionData.t option;
    (*

    Information required for the client application (mobile application or website) to connect to the call.

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

    The identifier of the contact in this instance of Amazon Connect.

    *)
  3. participantId : Values_0.ParticipantId.t option;
    (*

    The identifier for a contact participant. The ParticipantId for a contact participant is the same throughout the contact lifecycle.

    *)
  4. participantToken : Values_0.ParticipantToken.t option;
    (*

    The token used by the contact participant to call the CreateParticipantConnection API. The participant token is valid for the lifetime of a contact participant.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServiceException of Values_0.InternalServiceException.t
  2. | `InvalidParameterException of Values_0.InvalidParameterException.t
  3. | `InvalidRequestException of Values_0.InvalidRequestException.t
  4. | `LimitExceededException of Values_0.LimitExceededException.t
  5. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?connectionData:??? -> ?contactId:??? -> ?participantId:??? -> ?participantToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.ContactId.t | `Structure of (string * [> `Structure of (string * [> `String of string | `Structure of (string * [> `String of string | `Structure of (string * [> `Enum of string ]) 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