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!

feita há um ano57 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas