AppStream 2.0 - 'Uncaught TypeError: AWS.AppStream is not a constructor'

0

Hello,

I am currently trying to make API calls using AppStream, however I keep getting an error saying that AWS.AppStream is not a constructor, despite writing it to match the documentation here https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/AppStream.html.

I made sure to have the most recent sdk included and have no problem setting the AWS region and credentials or making API calls for other services. It only seems to reject the constructor for AppStream. This is what I have it written as:

'var appstream = new AWS.AppStream();'

Any help is appreciated.

Edited by: JakeBr on Feb 18, 2021 3:59 PM

JakeBr
已提问 3 年前418 查看次数
1 回答
0

Figured out the issue. The current sdk does not automatically include AppStream

JakeBr
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则