Skip to content

Deletes a state machine version

Description

Deletes a state machine version. After you delete a version, you can't call start_execution using that version's ARN or use the version with a state machine alias.

Deleting a state machine version won't terminate its in-progress executions.

You can't delete a state machine version currently referenced by one or more aliases. Before you delete a version, you must either delete the aliases or update them to point to another state machine version.

Related operations:

Usage

sfn_delete_state_machine_version(stateMachineVersionArn)

Arguments

  • stateMachineVersionArn

    [required] The Amazon Resource Name (ARN) of the state machine version to delete.

Value

An empty list.

Request syntax

svc$delete_state_machine_version(
  stateMachineVersionArn = "string"
)