Skip to content

GetChannel

Source: src/AWS/RePostSpace/GetChannel.ts

Runtime binding for the GetChannel operation (IAM action repostspace:GetChannel on the space ARN).

Reads a channel of the bound Space — its name, description, status, and per-accessor channel roles. Provide the implementation with Effect.provide(AWS.RePostSpace.GetChannelHttp).

const getChannel = yield* AWS.RePostSpace.GetChannel(space);
const channel = yield* getChannel({ channelId });
console.log(channel.channelName, channel.channelStatus);