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 Antworten
1
Akzeptierte Antwort

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
beantwortet vor 5 Monaten
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
beantwortet vor 5 Monaten
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
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen