Automatically publish the bot when status changes to ready

0

Hi

I am working on an app, and in my use case I'd like to call createBotVersion api of aws-sdk javascript library whenever the bot status changes to READY. Writing a cron job is one solution which will publish all the bots with status READY, but it's a load on server as this call might not be needed on regular basis.
Is there any way through which I can listen to the event of bot becoming READY, or maybe I can create a SNS topic or something? Please help

Edited by: nikhilhatcher on Apr 17, 2020 2:48 PM

posta 4 anni fa169 visualizzazioni
2 Risposte
0

I solved this using lambda functions, I triggered the lambda function with CloudWatch events, which ultimately worked as CRON job, and published my bots on daily basis

con risposta 4 anni fa
0

Thank you for the update. We will plan on incorporating this into our documentation.

AWS
con risposta 4 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