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

asked 5 years ago183 views
3 Answers
0
Accepted Answer

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
answered 5 years ago
0

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

answered 5 years ago
0

works now

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions