本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
狀態變更事件的 JSON
以通道或多工狀態變更為基礎的事件會由其detail-type
屬性識別:
-
MediaLive Channel State Change
對於一個頻道
-
MediaLive Multiplex State Change
對於多路復用。
範例
以下是狀態變更事件的 JSON 裝載範例。請注意detail-type
第 3 行中的。
{ "version": "0", "id": "fbcbbbe3-2541-d4a3-d819-x39f522a8ce", "detail-type": "MediaLive Channel State Change", "source": "aws.medialive", "account": "111122223333", "time": "2023-03-08T18:40:59Z", "region": "us-west-2", "resources": [ "arn:aws:medialive:us-west-2:111122223333:channel:283886" ], "detail": { "channel_arn": "arn:aws:medialive:us-west-2:111122223333:channel:123456", "state": "DELETED", "message": "Deleted channel", "pipelines_running_count": 0 } }