我有一个 SQS 队列,我想在消息到达队列时触发 lambda 函数。我已经编写了 lambda 函数,当我单击“测试”按钮时它可以成功运行。当我转到 SQS 并尝试将其配置为 lambda 触发器时,我看到以下错误消息。
我使用相同的用户和角色创建了 SQS 队列和 lambda 函数,并且 lambda 函数对同一角色具有执行权限。
我还添加了 SQS receiveMessage 权限,但它似乎没有什么区别,除非我在设置时做错了什么。
什么可能导致问题?
谢谢你的帮助
我想从我的 PowerApps 流中调用一个名为 get_customer 的 SQL Server 存储过程。你怎么做到这一点?
我可以在帖子中看到其他人已经能够做到这一点,但我看不到 PowerApps 中的选项,我唯一的数据源选项是访问表和视图,而不是存储过程。
我在屏幕 1 上有一个按钮,单击时我希望它调用存储过程,然后在同一表单的列表中显示结果。我怎样才能做到这一点?
谢谢
我已经在 AWS 中创建了一个 Redis Elasticache 集群,并希望使用 Python 脚本读取和写入数据到集群中,该脚本最终将成为一个 Lambda 函数。我读过连接到集群的典型方法是 EC2。我已经设置了一个 EC2 实例并使用 SSH 和密钥对成功连接到它。
我的问题是:
谢谢你的帮助
python amazon-ec2 amazon-web-services amazon-elasticache aws-lambda
我正在使用 Anypoint 7 和 Mule 4.1。
我想从计算机上的文件夹中读取 Excel (xlsx) 文件并将其转换为 JSON,但我收到错误消息:
您使用以下参数调用了函数“值选择器”:
我认为这归结为流媒体,但不确定如何解决。
谢谢你的帮助
XML:
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw"
xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core"
xmlns:ftp="http://www.mulesoft.org/schema/mule/ftp"
xmlns:sftp="http://www.mulesoft.org/schema/mule/sftp" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/sftp http://www.mulesoft.org/schema/mule/sftp/current/mule-sftp.xsd
http://www.mulesoft.org/schema/mule/ftp http://www.mulesoft.org/schema/mule/ftp/current/mule-ftp.xsd
http://www.mulesoft.org/schema/mule/ee/core http://www.mulesoft.org/schema/mule/ee/core/current/mule-ee.xsd
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd">
<flow name="testFlow" doc:id="3030b14f-b215-4c85-a6a4-96236516c552" >
<scheduler doc:name="Scheduler" doc:id="d0985a96-a23c-4e2c-80ae-d78a9acd938e" >
<scheduling-strategy >
<fixed-frequency timeUnit="SECONDS"/>
</scheduling-strategy>
</scheduler>
<file:read doc:name="Read xlsx file" doc:id="90b40273-ec58-47de-a48b-9812c52a74ea" path="C:\apps\test-api\src\test\resources\input\myTestExcelFile.xlsx" config-ref="File_Config">
<ee:repeatable-file-store-stream />
</file:read>
<ee:transform doc:name="Transform Message" doc:id="36dbec15-6e02-4fdf-8176-025ad7fdce61" >
<ee:message >
<ee:set-payload ><![CDATA[%dw 2.0
input payload application/xlsx
output application/json
--- …Run Code Online (Sandbox Code Playgroud) aws-lambda ×2
amazon-ec2 ×1
amazon-sqs ×1
dataweave ×1
mule ×1
powerapps ×1
python ×1
sql-server ×1