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
已提問 4 年前檢視次數 350 次
3 個答案
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?

已回答 4 年前
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
已回答 4 年前
0

solved

I removed all unwanted fields like MediaConnectFlow,RoleArn

Thanks

lalani
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南