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
feita há 4 anos332 visualizações
3 Respostas
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?

respondido há 4 anos
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
respondido há 4 anos
0

solved

I removed all unwanted fields like MediaConnectFlow,RoleArn

Thanks

lalani
respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas