stepfunctions

class moto.stepfunctions.models.StepFunctionBackend(region_name: str, account_id: str)

Configure Moto to explicitly parse and execute the StateMachine:

@mock_aws(config={"stepfunctions": {"execute_state_machine": True}})

By default, executing a StateMachine does nothing, and calling describe_state_machine will return static data.

Set the following environment variable if you want to get the static data to have a FAILED status:

SF_EXECUTION_HISTORY_TYPE=FAILURE

Implemented features for this service

  • [ ] create_activity

  • [X] create_state_machine

  • [ ] create_state_machine_alias

  • [ ] delete_activity

  • [X] delete_state_machine

  • [ ] delete_state_machine_alias

  • [ ] delete_state_machine_version

  • [ ] describe_activity

  • [X] describe_execution

  • [X] describe_map_run

  • [X] describe_state_machine

  • [ ] describe_state_machine_alias

  • [X] describe_state_machine_for_execution

  • [ ] get_activity_task

  • [X] get_execution_history

  • [ ] list_activities

  • [X] list_executions

  • [X] list_map_runs

  • [ ] list_state_machine_aliases

  • [ ] list_state_machine_versions

  • [X] list_state_machines

  • [X] list_tags_for_resource

  • [ ] publish_state_machine_version

  • [ ] redrive_execution

  • [X] send_task_failure

  • [X] send_task_heartbeat

  • [X] send_task_success

  • [X] start_execution

  • [ ] start_sync_execution

  • [X] stop_execution

  • [X] tag_resource

  • [ ] test_state

  • [X] untag_resource

  • [X] update_map_run

  • [X] update_state_machine

  • [ ] update_state_machine_alias