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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ