警示事件的 JSON - MediaLive

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

警示事件的 JSON

警示為基礎的事件會由其detail-type屬性識別:

  • MediaLive Channel Alert對於一個頻道

  • MediaLive Multiplex Alert對於多路復用。

範例

以下是警示事件的 JSON 承載範例。請注意detail-type第 3 行中的。

{ "version": "0", "id": "154769fb-9f7c-32a1-6822-26fppppe5a58", "detail-type": "MediaLive Channel Alert", "source": "aws.medialive", "account": "111122223333", "time": "2023-03-08T18:14:25Z", "region": "us-west-2", "resources": [ "arn:aws:medialive:us-west-2:111122223333:channel:123456" ], "detail": { "alarm_state": "CLEARED", "alarm_id": "7ad616bd389832yue90aab1324bffab5b834a", "alert_type": "Failed to Create Output File or Socket", "pipeline": "0", "channel_arn": "arn:aws:medialive:us-west-2:111122223333:channel:123456", "message": "MPEGTS muxer for mediaID [1] unable to open output or stream [https://<path>]." } }