Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ScheduleConfig

import type { ScheduleConfig } from "https://aws-api.deno.dev/v0.4/services/kinesisvideo.ts?docs=full";

This API enables you to specify the duration that the camera, or local media file, should record onto the Edge Agent. The ScheduleConfig consists of the ScheduleExpression and the DurationInMinutes attributes.

If the ScheduleExpression is not provided, then the Edge Agent will always be set to recording mode.

interface ScheduleConfig {
DurationInSeconds: number;
ScheduleExpression: string;
}

§Properties

§
DurationInSeconds: number
[src]

The total duration to record the media. If the ScheduleExpression attribute is provided, then the DurationInSeconds attribute should also be specified.

§
ScheduleExpression: string
[src]

The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided for the RecorderConfig, then the Edge Agent will always be set to recording mode.

For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.