StartViewerSessionRevocation
Source:
src/AWS/IVS/StartViewerSessionRevocation.ts
Runtime binding for ivs:StartViewerSessionRevocation.
Starts revoking the viewer session for a given viewer ID on the bound
Channel — used with private channels to eject a viewer whose
playback authorization token carries that viewerId. Optionally revoke
every session at or below a token version. The channel ARN is injected
from the binding. Provide the implementation with
Effect.provide(AWS.IVS.StartViewerSessionRevocationHttp).
Revoking Viewer Sessions
Section titled “Revoking Viewer Sessions”// init — bind the operation to the channelconst revokeViewerSession = yield* AWS.IVS.StartViewerSessionRevocation(channel);
// runtimeyield* revokeViewerSession({ viewerId: "user-123" });