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!

asked a year ago56 views
No Answers

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