BadRequestException in MediaLive Input Update

0

I'm getting "An error occurred (BadRequestException) when calling the UpdateInput operation: You must specify a MediaConnect Flow Arn." while updating mediaLive inputs using boto3.

lalani
gefragt vor 4 Jahren347 Aufrufe
3 Antworten
0

Can you please provide more information on what actions you are doing when you see this? Are you editing an existing MediaLive input, or trying to create a new MediaLive input? What Input Type?
Can you share your a snippet of your code?

beantwortet vor 4 Jahren
0

import json
import boto3

client = boto3.client('medialive',
region_name="eu-central-1",
aws_access_key_id="XXXX",
aws_secret_access_key="XXXXXXXXX")
response = client.update_input(
Destinations=[
{ },
],
InputId='xxxxx',
InputSecurityGroups=[
],
MediaConnectFlows=[
{},
],
Name='vod',
RoleArn='arn:aws:medialive:eu-central-1:XXXXX:input:XXXX',
Sources=[
{
'Url': 'https://xxxxx/xxxxxxx_TVC_16x9.mp4'
},
]
)

i want to change input source in medialive. type is MP4_FILE.

lalani
beantwortet vor 4 Jahren
0

solved

I removed all unwanted fields like MediaConnectFlow,RoleArn

Thanks

lalani
beantwortet vor 4 Jahren

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