简体   繁体   English

有谁知道如何配置 Amazon AWS 平台来编程技能?

[英]Anyone who knows how to configure the Amazon AWS platform to program skills?

I'm working with Amazon's AWS platform and I need to program Lambda functions that I will need use as Skills for Alexa.我正在使用 Amazon 的 AWS 平台,我需要对 Lambda 函数进行编程,我需要将这些函数用作 Alexa 的技能。 But when I have to connect my Lambda function with the Alexa Developer platform I am experiencing problems especially when it asks me to enter the data relating to the linking account.但是当我必须将我的 Lambda 函数与 Alexa Developer 平台连接时,我遇到了问题,尤其是当它要求我输入与链接帐户相关的数据时。

在此处输入图片说明

The data I entered are these, however, once I turn on my app and go to the skill that I have programmed to activate it on my alexa, I get this error:我输入的数据是这些,但是,一旦我打开我的应用程序并转到我编程的技能以在我的 alexa 上激活它,我就会收到此错误:

在此处输入图片说明

If i get your question right- you want to link Alexa Dev Console to the lambda function.如果我问对了您的问题 - 您想将 Alexa Dev Console 链接到 lambda 函数。 First you need to go to Alexa developer console .首先,您需要转到 Alexa 开发人员控制台 On the "Build" category there is a topic called "Endpoint" .“构建”类别中,有一个名为“端点”的主题。 Click on that.点击那个。 Copy your skill id and head over to Lambda .复制您的技能 ID 并转到 Lambda In there you need to enter the skill id, while creating a function .在那里你需要输入技能 ID,同时创建一个函数 After the function is set up, head to the editor.设置功能后,前往编辑器。 On the upper right corner of the page you see your "ARN" .在页面的右上角,您会看到您的“ARN” Click on the copy button at the end of the line.单击该行末尾的复制按钮。 Get back to Alexa developer console .回到 Alexa 开发者控制台 At "Endpoint" you enter the ARN value in the "default region" .“端点”处,在“默认区域”中输入ARN 值 After saving (at lambda and developer console), your link should be established.保存后(在 lambda开发人员控制台),您的链接应该建立。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM