1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
There are two issues with what you did. The first is that when you reference other variables or intrinsic functions, you need to append .$ to the key. The second is that when you need to include ' in the string, you need to escape them using \\. It should look like this:
"Arguments": {
"--SQLStatement.$": "States.Format('call dw_merge_vendor({}, {}),', $.param1, $.param2)"
}
If you need the params enclosed in ', you should use the following:
"Arguments": {
"--SQLStatement.$": "States.Format('call dw_merge_vendor(\\'{}\\', \\'{}\\'),', $.param1, $.param2)"
}
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 3年前