Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.