DisconnectParticipant
Source:
src/AWS/IVSRealtime/DisconnectParticipant.ts
Forcibly disconnect a participant from the bound stage — the moderation
call made from a deployed Lambda or Task. If the participant is publishing
via an ingest configuration, its stageArn attachment is also cleared.
Moderating Participants
Section titled “Moderating Participants”// initconst disconnectParticipant = yield* IVSRealtime.DisconnectParticipant(stage);
// runtimeyield* disconnectParticipant({ participantId: "abcDEF123", reason: "moderated",});