Skip to content

Instantly share code, notes, and snippets.

@SemantiveCode
Created October 31, 2018 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SemantiveCode/3b4f4127ed111173432b0cea462d6a01 to your computer and use it in GitHub Desktop.
Save SemantiveCode/3b4f4127ed111173432b0cea462d6a01 to your computer and use it in GitHub Desktop.
Async Execution - send success
def handler(event, context):
  task_token = event['task_token']
  output_state = event['state'][0]
  states_client.send_task_success(
      taskToken=task_token,
      output=json.dumps(output_state),
  )
  return event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment