[ { "input": null, "output": { "foo": "The output of the function", }, "task_behavior": { "arn:aws:lambda:us-east-1:123456789012:function:foo": { "output": "The output of the function", } }, "states": ["Hello", "Goodbye"], }, { "input": { "object": { "array": [1, 2, 3], "number": 42 } }, "output": { "foo": "The output of the function", "object": { "array": [1, 2, 3], "number": 42 } }, "task_behavior": { "arn:aws:lambda:us-east-1:123456789012:function:foo": { "output": "The output of the function", } }, "states": ["Hello", "Goodbye"], }, { "input": { "foo": { "array": [1, 2, 3], "number": 42 } }, "output": { "foo": "The output of the function", }, "task_behavior": { "arn:aws:lambda:us-east-1:123456789012:function:foo": { "output": "The output of the function", } }, "states": ["Hello", "Goodbye"], }, { "input": "string as input, causes an error here!", "error": { "Error": "States.TaskFailed", "Cause": "Malformed output parameters*", }, "task_behavior": { "arn:aws:lambda:us-east-1:123456789012:function:foo": { "output": "The output of the function", } }, "states": ["Hello"], }, ]