AWS.Scheduler is not a constructor

0

My purpose is to create a specific schedule using lambda. But I can't create constructor for scheduler due to error "AWS.Scheduler is not a constructor".

Declaration: const AWS = require('aws-sdk'); var scheduler = new AWS.Scheduler({apiVersion: '2021-06-30'});

Docs: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Scheduler.html

I dumped AWS but can not find out Scheduler

Can anyone help me with this case? Thanks so much!

gefragt vor einem Jahr57 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen