Module Values.DisconnectParticipantRequestSource

Disconnects a specified participant from a specified stage. If the participant is publishing using an IngestConfiguration, DisconnectParticipant also updates the stageArn in the IngestConfiguration to be an empty string.

Sourcetype nonrec t = {
  1. stageArn : StageArn.t;
    (*

    ARN of the stage to which the participant is attached.

    *)
  2. participantId : ParticipantTokenId.t;
    (*

    Identifier of the participant to be disconnected. IVS assigns this; it is returned by CreateParticipantToken (for streams using WebRTC ingest) or CreateIngestConfiguration (for streams using RTMP ingest).

    *)
  3. reason : DisconnectParticipantReason.t option;
    (*

    Description of why this participant is being disconnected.

    *)
}
Sourceval context_ : string
Sourceval make : ?reason:??? -> stageArn:StageArn.t -> participantId:ParticipantTokenId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of StageArn.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