{"version":"1.0","type":"rich","title":"get step function status","description":"This example shows the status of a Step Functions execution by extracting the departure forecast from its event history. It queries the execution history using the AWS SDK’s `StepFunctions.getExecutionHistory` method, then filters for `PassStateEntered` events to parse the flight and forecast data embedded in the state input. The handler, written with `co.wrap` and Bluebird promises, returns the execution ARN and the parsed departure object as a JSON response via an API Gateway Lambda trigger.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-4a7b7eb540be2069883294cf0adf97d9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}