ListInputs
Source:
src/AWS/MediaLive/ListInputs.ts
Runtime binding for medialive:ListInputs.
Enumerates the account’s MediaLive inputs (one page per call — pass
NextToken from the previous response to continue) — e.g. an
inventory endpoint that maps ingest endpoints to the channels they
feed. Account-level: the deploy-time grant is medialive:ListInputs
on *. Provide the implementation with
Effect.provide(AWS.MediaLive.ListInputsHttp).
Observing Inputs
Section titled “Observing Inputs”// init — bind the account-level operationconst listInputs = yield* AWS.MediaLive.ListInputs();
// runtimeconst { Inputs } = yield* listInputs({ MaxResults: 20 });const attached = (Inputs ?? []).filter((i) => i.State === "ATTACHED");