Skip to content

CreateChannel

Source: src/AWS/RePostSpace/CreateChannel.ts

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

Creates a channel — a topic-scoped area for questions and articles — inside the bound Space. Channels are content organization and cannot be deleted (the re:Post Private API has no DeleteChannel), so they are modeled as a runtime capability rather than a Resource. Provide the implementation with Effect.provide(AWS.RePostSpace.CreateChannelHttp).

const createChannel = yield* AWS.RePostSpace.CreateChannel(space);
const { channelId } = yield* createChannel({
channelName: "Networking",
channelDescription: "VPC, DNS, and connectivity questions",
});