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

已提問 4 年前檢視次數 169 次
2 個答案
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

已回答 4 年前
0

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

AWS
已回答 4 年前

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

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

回答問題指南