1 Answer
- Newest
- Most votes
- Most comments
0
I could solve this isuse after so many different tries. In golang I found that you have to specify in Parameters object Body field not as documentation says RequestBody
"Body.$": "States.JsonToString($)",
"UpdateTerminal": {
"Type": "Task",
"Next": "HasBeenUpdated",
"Resource": "${UpdateTerminalApiFunctionArn}",
"Parameters": {
"ApiEndpoint": "${APIDomainName}/${APIBasePath}",
"Method": "POST",
"Stage": "${ApiStageName}",
"Path": "",
"PathParameters": {
"terminalId.$": "$.terminalId"
},
**"Body.$": "States.JsonToString($)",**
"AuthType": "NO_AUTH"
},
"Retry": \[
{
"ErrorEquals": \[
"States.TaskFailed"
],
"IntervalSeconds": 2,
"MaxAttempts": 3,
"BackoffRate": 2.0
}
]
},
answered 3 years ago
Relevant content
- Accepted Answerasked 2 months ago
- asked a year ago
- Accepted Answer
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago