MediaPackage corrupts input when passing in Tags

0

aws-sdk javascript 2.419.0

When I create a MediaPackage Channel in the Console, I get the correct inputs showing on MediaPackage, which are two inputs with an ID, URL, Username, and Password fields all filled out.

When I use the SDK and use MediaPackage, the channel builds, but the MediaPackage channel has two inputs but the first one has no ID and the URL is has /None/channel in it (eg. https://555555ca212fa91fb.mediapackage.us-east-1.amazonaws.com/in/v2/zzzzza44a01634ee6bfa5af15cc13zzzzz/None/channel ).

input data is normal:

             var params = {
                 Id: 'testchannel6',
                 Description: 'standard description',
                 Tags: {
                     'OrgID': 'testorg'
                 }
             }

This is exactly how it shows in the documentation:
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/MediaPackage.html#createChannel-property

Also, the tag is added... its just that when I add Tags to the params I get the /None/channel issue.

to clarify. If I remove the "Tags" it works as expected - just without the tags obviously.

I suppose this is a bug?

Edited by: rbalhorn on Mar 22, 2019 2:58 PM

preguntada hace 5 años197 visualizaciones
3 Respuestas
0
Respuesta aceptada

Hi rballhorn,

Thanks again for bringing this to our attention. New channels should now no longer show this behaviour. Please recreate any channels you still have in this state.

I hope this helps, please let us know if you have any other questions!

Kind regards,
Thijs

AWS
ThijsB
respondido hace 5 años
0

Hi rbalhorn. Thanks for bringing this up. The service team will look into this and respond with an update as soon as possible.

respondido hace 5 años
0

works now

respondido hace 5 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