[{"data":1,"prerenderedAt":61},["ShallowReactive",2],{"workflow-streaming-async-workflow":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":16,"diagram":17,"extension":18,"framework":19,"gitHub":20,"introBox":29,"level":36,"meta":37,"resources":38,"s3URL":47,"services":48,"simplicity":52,"stem":53,"testing":54,"type":58,"usecase":59,"videoId":28,"__hash__":60},"workflows\u002Fworkflows\u002Fstreaming-async-workflow.json","Streaming asynchronous results",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fross-boast.json",{"text":13},[14,15],"sam build","sam deploy --guided","Push results for state machines using DynamoDB and Lambda response streaming function URL","\u002Fassets\u002Fimages\u002Fworkflows\u002Fstreaming-async-workflow.png","json","AWS SAM",{"template":21,"payloads":26},{"repoURL":22,"templateDir":23,"templateFile":24,"ASL":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fasync-state-machine-streaming-lambda-results-sam\u002F","async-state-machine-streaming-lambda-results-sam","template.yaml","statemachine\u002Fstatemachine.asl.json",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31},"How it works",[32,33,34,35],"This pattern demonstrates how you can use Lambda response streaming, exposed over HTTP using a function URL, to receive live updates from an asynchronous workflow.","The workflow is triggered by a HTTP POST request to an API Gateway endpoint.","This endpoint triggers an asynchronous execution of a Step Functions Express workflow and returns the execution ARN for the execution and a Lambda Function URL.","The execution ARN can be supplied to the Lambda Function URL as a query parameter via a HTTP GET request to enable the client to receive streaming results in JSON lines format as the asynchronous workflow progresses.","200",{},{"headline":39,"bullets":40},"Additional resources",[41,44],{"text":42,"link":43},"Modern Application Integration Patterns","https:\u002F\u002Fcatalog.workshops.aws\u002Fmodern-apps-with-step-functions",{"text":45,"link":46},"Introduction to Service Coordination with Step Functions and SAM","https:\u002F\u002Fcatalog.workshops.aws\u002Fserverless-service-coordination",null,[49,50,51],"dynamodb","lambda","apigw","2 - Pattern","workflows\u002Fstreaming-async-workflow",{"headline":55,"text":56},"Testing",[57],"See the GitHub repo for detailed testing instructions.","Express","APIs","wLgN4Q-AJfjnDMw585M_absknnA0-do8g0SL9GnqW4Y",1782229685931]