Skip to content

DescribeInput

Source: src/AWS/MediaLive/DescribeInput.ts

Runtime binding for medialive:DescribeInput.

Reads the bound Input’s live state — attachment state (DETACHED/ATTACHED), resolved push ingest URLs, sources, and security groups — e.g. so a stream-key service can hand a contributor the RTMP endpoint to push to. The input id is injected from the binding. Provide the implementation with Effect.provide(AWS.MediaLive.DescribeInputHttp).

// init — bind the operation to the input
const describeInput = yield* AWS.MediaLive.DescribeInput(input);
// runtime
const { Destinations } = yield* describeInput();
const ingestUrl = Destinations?.[0]?.Url;