SFN / Client / delete_state_machine_version
delete_state_machine_version#
- SFN.Client.delete_state_machine_version(**kwargs)#
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.
Note
Deleting a state machine version won’t terminate its in-progress executions.
Note
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
See also: AWS API Documentation
Request Syntax
response = client.delete_state_machine_version( stateMachineVersionArn='string' )
- Parameters:
stateMachineVersionArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the state machine version to delete.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
SFN.Client.exceptions.ValidationException
SFN.Client.exceptions.InvalidArn
SFN.Client.exceptions.ConflictException