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

已提問 5 年前檢視次數 197 次
3 個答案
0
已接受的答案

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
已回答 5 年前
0

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

已回答 5 年前
0

works now

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南