AWS Elemental MediaLive
User Guide

Viewing the Schedule Using the AWS CLI

To view actions (AWS CLI)

  1. Enter this command:

    aws medialive describe-schedule --channel-id value --max-results value>

  2. In the create content parameter, include the fields for all the desired actions. For details on each action, see the sections for the individual actions.

  3. Press Enter to submit the command. The response appears on the screen.

  4. If you used the --max-results option and the response included a NextToken, enter the DescribChannel command and pass the value of the NextToken in --next-token:

    aws medialive describe-schedule --channel-id value --next-token 3jhrprd0

  5. Press Enter to submit the command. The response appears on the screen.

Example

This example of a response shows the following actions:

  • An action with the ActionName "corporate_logo_029" to activate an image overlay in layer 1 at 20:30:00 UTC.

  • An action with the ActionName "stop_overlay_029" to deactivate the overlay in layer 1 at 20:42:04 UTC.

  • An action with the ActionName "adavail_3708" to insert a splice_insert at the same time as the deactivate.

  • An action with the ActionName "end_adavail_3708" to return_to_network 15 seconds later, at 20:42:19 UTC.

  • An action with the ActionName "corporate_logo_030" to reactivate the same overlay in layer 1 at the same time as the return.

This schedule describes a workflow where you generally show your corporate logo, but you remove it at the start of each ad avail and then display it again at the end of the ad avail.

{ "NextToken": "3jhrprd0" "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:30:00.000Z" } }, "ActionName": "corporate_logo_029", "ScheduleActionSettings": { "StaticImageActivateSettings": { "Image": { "PasswordParam": "corplogo!2312", "Uri": "s3ssl://logos/corporate/high-res.bmp", "Username": "medialiveoperator" }, "ImageY": 300, "FadeIn": 1500, "ImageX": 200, "Width": 800, "Opacity": 60, "Layer": 1, "Height": 900 } } } { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:04.000Z" } }, "ActionName": " stop_overlay_029", "ScheduleActionSettings": { "StaticImageDeactivateSettings": { "FadeOut": 1500, "Layer": 1 }, } } { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:04.000Z" } }, "ActionName": "adavail_3708", "ScheduleActionSettings": { "Scte35SpliceInsertSettings": { "SpliceEventId": 3708, "Duration": 1350000 }, } } { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:19.000Z" } }, "ActionName": "end_adavail_3708", "ScheduleActionSettings": { "Scte35ReturnToNetworkSettings": { } } } { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:19.000Z" } }, "ActionName": "corporate_logo_030", "ScheduleActionSettings": { "StaticImageActivateSettings": { "Image": { "PasswordParam": "corplogo!2312", "Uri": "s3ssl://logos/corporate/high-res.bmp", "Username": "medialiveoperator" }, "ImageY": 300, "FadeIn": 1500, "ImageX": 200, "Width": 800, "Opacity": 60, "Layer": 1, "Height": 900 } } } ] }