import type * as repostspace from "@distilled.cloud/aws/repostspace"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Space } from "./Space.ts"; export interface GetChannelRequest extends Omit { } /** * Runtime binding for the `GetChannel` operation (IAM action * `repostspace:GetChannel` on the space ARN). * * Reads a channel of the bound {@link Space} — its name, description, * status, and per-accessor channel roles. * Provide the implementation with * `Effect.provide(AWS.RePostSpace.GetChannelHttp)`. * ### Managing Channels * **Example:** Read a channel * ```typescript * const getChannel = yield* AWS.RePostSpace.GetChannel(space); * * const channel = yield* getChannel({ channelId }); * console.log(channel.channelName, channel.channelStatus); * ``` * * @binding */ export interface GetChannel extends Binding.Service Effect.Effect<(request: GetChannelRequest) => Effect.Effect>> { } export declare const GetChannel: GetChannel; //# sourceMappingURL=GetChannel.d.ts.map