Skip to content

Delete State Machine Version

sfn_delete_state_machine_version R Documentation

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:

  • publish_state_machine_version

  • list_state_machine_versions

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"
)