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
asked 3 years ago409 views
1 Answer
0

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

JakeBr
answered 3 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