Amazon Connect中的超时问题 [英] Timeout issue in Amazon Connect

查看:436
本文介绍了Amazon Connect中的超时问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Amazon connect,它使用获取客户输入"交互块来使用内部连接到Lambda的Amazon Lex,因此流程类似于

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->(使用获取客户输入,它连接到Amazon Lex)Amazon Lex->(在Amazon Lex中,意图是指向Amazon Lambda)Amazon Lambda

Amazon connect -> Amazon Lex -> AWS Lambda 

该流程适用于所有意图.
但对于特定的流程,我们需要将文件从lambda上传到S3并返回s3下载链接作为对lex的响应.由于它具有将文件上传到S3的操作,因此AWS lambda需要7秒钟才能完成要求.

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.

现在,Amazon Connect失败,并在获取客户输入"(指向Amazon Lex)中出现错误

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

那我是否需要在Amazon Connect(获取客户输入块/某处)中配置任何超时,直到7秒钟的lambda过程完成?

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?

感谢您的帮助.

谢谢,
哈里

推荐答案

Amazon Connect是一个呼叫中心解决方案,如果让客户等待超过3秒钟的提示,那将是糟糕的客户体验.执行和上传操作的用例似乎是一项可操作的工作,它可以通过Amazon Connect触发流程,并且通话可以继续进行. S3上传完成后,便可以将状态通知给相关的收件人.

Amazon Connect is a call center solution where it would be a bad customer experience to make them wait for prompts even more than 3 seconds. The use case of performing and upload operation seems to be an operational job where it can trigger the process through Amazon Connect and the call can move on. Once the S3 upload is done then it can notify the concerned recipients on the status.

这篇关于Amazon Connect中的超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆