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!

已提問 1 年前檢視次數 57 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南