We define the workflow in Json.
State types "
Task -- single unit of work
Choice
Fail Stops running a state and mark it as failure
Succeed Stops running a state and marks it as success
Pass Passes the input to the output
Wait
Parallel Run 2 steps in parallel
Map
AWS Step Functions API
Create
StartExecution
StopExecution
List -- lists all state machines running
Describe
GetExecutionHistory