AWS Elemental MediaLive
User Guide

JSON for a Time Signal Message

The JSON for a Time Signal

This JSON goes in the Creates section of the command body. This JSON body has the Pascal case (upper camel case) that applies to the AWS CLI.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "string" } }, "ActionName": "string", "ScheduleActionSettings": { "Scte35TimeSignalSettings": { "Scte35Descriptors": [ { "Scte35DescriptorSettings": { "SegmentationDescriptorScte35DescriptorSettings": { "SubSegmentsExpected": "integer", "SegmentationEventId": "integer", "SegmentationDuration": "integer", "SegmentationCancelIndicator": "enum", "SubSegmentNum": "integer", "SegmentationUpidType": "integer", "SegmentNum": "integer", "SegmentationCancelIndicator": "SEGMENTATION_EVENT_CANCELED", "DeliveryRestrictions": { "DeviceRestrictions": "enum", "WebDeliveryAllowedFlag": "enum", "NoRegionalBlackoutFlag": "enum", "ArchiveAllowedFlag": "enum" }, "SegmentationUpid": "string", "SegmentationTypeId": "integer", "SegmentsExpected": "integer" } } } ] } } } ] } }

Example

This example of a request creates an action for a time_signal with a UTC start time of 20:42:04.000 and with a unique integer for the SegmentationEventId. Also note that for the restrictions fields, the NoRegionalBlackoutFlag has a restriction set (regional blackouts are in place).

This JSON body has the Pascal case (upper camel case) that applies to the AWS CLI.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:04.000Z" } }, "ActionName": "adavail_3708", "ScheduleActionSettings": { "Scte35TimeSignalSettings": { "Scte35Descriptors": [ { "Scte35DescriptorSettings": { "SegmentationDescriptorScte35DescriptorSettings": { "SubSegmentsExpected": 0, "SegmentationEventId": 7054, "SegmentationDuration": 1350000, "SegmentationCancelIndicator": 0, "SubSegmentNum": 0, "SegmentationUpidType": 12, "SegmentNum": 0, "SegmentationCancelIndicator": "SEGMENTATION_EVENT_NOT_CANCELED", "DeliveryRestrictions": { "DeviceRestrictions": "NONE", "WebDeliveryAllowedFlag": "WEB_DELIVERY_ALLOWED", "NoRegionalBlackoutFlag": "REGIONAL_BLACKOUT", "ArchiveAllowedFlag": "ARCHIVE_ALLOWED" }, "SegmentationUpid": "4a414e3136494e4155303031", "SegmentationTypeId": 52, "SegmentsExpected": 0 } } } ] } } } ] } }