Module Smaws_Client_SFN.DeleteStateMachineVersion

val request : Smaws_Lib.Context.t -> delete_state_machine_version_input -> (delete_state_machine_version_output, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of conflict_exception | `InvalidArn of invalid_arn | `ValidationException of validation_exception ]) Stdlib.result

Deletes a state machine version. After you delete a version, you can't call StartExecution 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:

  • PublishStateMachineVersion
  • ListStateMachineVersions