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

gefragt vor 5 Jahren199 Aufrufe
3 Antworten
0
Akzeptierte Antwort

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
beantwortet vor 5 Jahren
0

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

beantwortet vor 5 Jahren
0

works now

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen