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
preguntada hace 4 años342 visualizaciones
3 Respuestas
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 hace 4 años
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 hace 4 años
0

solved

I removed all unwanted fields like MediaConnectFlow,RoleArn

Thanks

lalani
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas