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
posta 3 anni fa418 visualizzazioni
1 Risposta
0

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

JakeBr
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande