A typical ZIS custom state can be passed like this:
"xxx": {
"Type": "Action",
"ActionName": "<custom-action-name">
"Parameters": {
<here are the parameters>
},
"ResultPath": "<name of the variable to pass the response>",
"Next": "<nextaction>"
},
So in the variable of "ResultPath" I can access to the response, but I need to access to the header of the response. Any idea?