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

gefragt vor 4 Jahren169 Aufrufe
2 Antworten
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

beantwortet vor 4 Jahren
0

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

AWS
beantwortet vor 4 Jahren

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