sfn_publish_state_machine_version function

Creates a version from the current revision of a state machine