本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
查看计划(AWS CLI)
您可以使用 AWS CLI 来查看一个频道当前计划中的操作列表:
-
通道中尚未执行的操作
-
之前已执行的操作
要查看计划,请使用 DescribeSchedule
命令。在不同的界面中,此命令的表示方式不同:
-
在中 AWS CLI,命令是
describe-schedule
。 -
在中API,命令由
HTTP GET
on 表示channels/channelId/schedule
。 -
在中 AWS SDKs,命令由适用于该SDK语言的构造表示。
查看操作(AWS CLI)
-
输入以下命令:
aws medialive describe-schedule --channel-id
value
--max-results value -
要提交命令,请按 Enter。响应将显示在屏幕上。
-
如果您使用了
-max-results
选项并且响应包含NextToken
,则输入 DescribeChannel 命令并在--next-token
中传递NextToken
的值:例如:aws medialive describe-schedule --channel-id
value
--next-token 3jhrprd0 -
要提交命令,请按 Enter。响应将显示在屏幕上。
示例
命令响应的JSON正文与BatchUpdateSchedule
命令请求的正文类似。
此响应示例显示以下操作:
-
在 20:30:
ActionName
corporate-logo-029
00 激活图层 1 中的图像叠加层的操作 UTC -
在 20:42:
ActionName
stop-overlay-029
04 停用图层 1 中的叠加层的操作 UTC -
ActionName
为adavail-3708
的操作,用于在停用操作的同时插入 splice_insert。 -
在 return-to-network 15 秒后,即
ActionName
end-adavail-3708
20:42:19 的动作 UTC -
ActionName
为corporate-logo-030
的操作,用于在返回的同时在第 1 层中重新激活同一叠加
此计划描述一个工作流,其中通常会显示您公司的徽标,但您在每个广告效用开始时将删除此徽标,然后在广告效用结束时再次显示此徽标。
{ "NextToken": "3jhrprd0", "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:30:00.000Z" } }, "ActionName": "corporate-logo-029", "ScheduleActionSettings": { "StaticImageActivateSettings": { "Image": { "PasswordParam": "corplogo!2312", "Uri": "s3ssl://amzn-s3-demo-bucket/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": { "SpliceEventId": 3708 } } }, { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:19.000Z" } }, "ActionName": "corporate-logo-030", "ScheduleActionSettings": { "StaticImageActivateSettings": { "Image": { "PasswordParam": "corplogo!2312", "Uri": "s3ssl://amzn-s3-demo-bucket/logos/corporate/high-res.bmp", "Username": "medialiveoperator" }, "ImageY": 300, "FadeIn": 1500, "ImageX": 200, "Width": 800, "Opacity": 60, "Layer": 1, "Height": 900 } } } ] }