ListFragments
Source:
src/AWS/KinesisVideo/ListFragments.ts
Runtime binding for kinesisvideo:ListFragments (archived media data
plane).
Bind this operation to a Stream inside a function runtime to get a
callable that resolves the per-stream data endpoint (GetDataEndpoint)
and lists the media fragments stored in the requested timestamp range.
Reading Media
Section titled “Reading Media”// initconst listFragments = yield* AWS.KinesisVideo.ListFragments(stream);
// runtimeconst { Fragments } = yield* listFragments({ FragmentSelector: { FragmentSelectorType: "SERVER_TIMESTAMP", TimestampRange: { StartTimestamp: start, EndTimestamp: end }, },});