AWS MediaLive ConflictException: Unable to Add Schedules actions to channel

0

I have a CloudFormation template that creates a MediaLive channel with two inputs—static and dynamic. It sends a CREATE_COMPLETE notification to an SNS topic, which then triggers a Lambda function to update the MediaLive channel's schedule with dynamic input by fetching files from S3.

However, the issue arises when updating the schedules: sometimes, I receive the error "ConflictException: This channel does not currently support the ability to add channel schedules. To enable channel scheduling for this channel, please restart it."

Any insights on how to resolve this would be appreciated.

3回答
1
承認された回答

Using the scheduling function with AWS MediaLIve Channels has some requirements. A channel can not be started with a Dynamic Input. A Static input must first be selected. Once the channel is running, then input switches to Dynamic inputs can be performed.

Also, depending on the input switch being scheduled, the channel may need to be running for the schedule to properly execute. This is especially true with the Switch Immediate and Follow selections for upcoming content.

AWS
回答済み 5ヶ月前
1

Could it be that you are not following the rule for the API bach updates where delete actions must be performed before any add actions? Use the delete-schedule command only on idle channels.

Please see the following documentation: https://docs.aws.amazon.com/medialive/latest/ug/about-batch-update-schedule.html

AWS
回答済み 5ヶ月前
0

You might also take a look in IAM to make sure your permissions/roles are setup to give the services involved the ability to perform actions and access resources you need.

AWS
エキスパート
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ