繁体   English   中英

如何使用 REST API 网关同步运行 AWS Step Functions

[英]How to run AWS Step Functions Synchronously using the REST API Gateway

At the moment, there isn't a way to run the StartSyncExecution Step Function method through the REST API Gateway, only through the HTTP API Gateway.

对此有什么可能的解决方法?

您需要同时创建 HTTP API 和 REST ZDB974238714CA8DE634A7CE1D08。

  1. 您设置了 HTTP API,它在您的步骤 Function 上调用 StartSyncExecution。
  2. 在 REST API 中设置使用 HTTP 集成的资源和方法。
  3. You put the URL for your HTTP API in to the HTTP integration of the REST API.

If you're sending data to the Step Function, make sure you use POST on both your HTTP API and REST API and set everything to passthrough (it should be by default).

暂无
暂无

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

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