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

demandé il y a 5 ans197 vues
3 réponses
0
Réponse acceptée

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
répondu il y a 5 ans
0

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

répondu il y a 5 ans
0

works now

répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions