Я получаю следующую ошибку при выполнении пошаговых функций: -
{
"error": "States.Runtime",
"cause": "An error occurred while executing the state 'RenameThing' (entered at the event id #9). Invalid path '$.list[$.index]' : com.jayway.jsonpath.InvalidPathException: Could not analyze path component: [$.index]"
}
Ниже вводится: -
{
"name": "RenameThing",
"input": {
"list": [
{
"xxx": "xxxxx",
"yyy": "yyyyy",
"zzz": "zzzz"
},
{
"xxx": "xxxxx2",
"yyy": "yyyyy2",
"zzz": "zzzz2"
}
],
"continue": true,
"index": 0
}
}
Путь ввода: -
"InputPath":"$.list[$.index]",
Кажется, aws не может найти путь [$ .index].