Timeout issue in Amazon Connect

时光怂恿深爱的人放手 提交于 2020-06-01 05:37:05

问题


We are using Amazon connect which uses the "Get customer input" interact block to use the Amazon Lex which internally connects to Lambda so the flow will be like

Amazon Connect -> (using Get Customer Input, It connects to Amazon Lex) Amazon Lex -> (In Amazon Lex, the intent is pointed to Amazon Lambda) Amazon Lambda

Amazon connect -> Amazon Lex -> AWS Lambda 

The flow works for all the intents as expected.
but for a particular flow, We need to upload the file from lambda to S3 and return the s3 download link as a response to the lex, Since it has the operation of upload the file to S3, the AWS lambda takes 7 seconds to complete the request.

Now the Amazon Connect fails with Error in the Get Customer Input (which points to Amazon Lex),

So do I need to configure any timeout in Amazon Connect (Get Customer Input block / somewhere) which waits till the lambda process of 7 seconds gets completed?

Any help is appreciated.

Thanks,
Harry

来源:https://stackoverflow.com/questions/61977353/timeout-issue-in-amazon-connect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!