问题
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