簡體   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