SFN / Client / delete_state_machine
Deletes a state machine. This is an asynchronous operation: It sets the state machine’s status to
DELETINGand begins the deletion process.
A qualified state machine ARN can either refer to a Distributed Map state defined within a state machine, a version ARN, or an alias ARN.
The following are some examples of qualified and unqualified state machine ARNs:
The following qualified state machine ARN refers to a Distributed Map state with a label
mapStateLabelin a state machine named
If you provide a qualified state machine ARN that refers to a Distributed Map state, the request fails with
The following unqualified state machine ARN refers to a state machine named
EXPRESSstate machines, the deletion happens eventually (usually in less than a minute). Running executions may emit logs after
DeleteStateMachineAPI is called.
See also: AWS API Documentation
response = client.delete_state_machine( stateMachineArn='string' )
stateMachineArn (string) –
The Amazon Resource Name (ARN) of the state machine to delete.
- Return type: