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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인