.. _implementedservice_stepfunctions:

.. |start-h3| raw:: html

    <h3>

.. |end-h3| raw:: html

    </h3>

=============
stepfunctions
=============

|start-h3| Example usage |end-h3|

.. sourcecode:: python

            @mock_stepfunctions
            def test_stepfunctions_behaviour:
                boto3.client("stepfunctions")
                ...



|start-h3| Implemented features for this service |end-h3|

- [ ] 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
  
        The status of every execution is set to 'RUNNING' by default.
        Set the following environment variable if you want to get a FAILED status back:

        .. sourcecode:: bash

            SF_EXECUTION_HISTORY_TYPE=FAILURE
        

- [ ] describe_map_run
- [X] describe_state_machine
- [ ] describe_state_machine_alias
- [ ] describe_state_machine_for_execution
- [ ] get_activity_task
- [X] get_execution_history
  
        A static list of successful events is returned by default.
        Set the following environment variable if you want to get a static list of events for a failed execution:

        .. sourcecode:: bash

            SF_EXECUTION_HISTORY_TYPE=FAILURE
        

- [ ] list_activities
- [X] list_executions
  
        The status of every execution is set to 'RUNNING' by default.
        Set the following environment variable if you want to get a FAILED status back:

        .. sourcecode:: bash

            SF_EXECUTION_HISTORY_TYPE=FAILURE
        

- [ ] 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
- [ ] send_task_failure
- [ ] send_task_heartbeat
- [ ] send_task_success
- [X] start_execution
- [ ] start_sync_execution
- [X] stop_execution
- [X] tag_resource
- [ ] test_state
- [X] untag_resource
- [ ] update_map_run
- [X] update_state_machine
- [ ] update_state_machine_alias

