SFN.Client.
stop_execution
(**kwargs)¶Stops an execution.
This API action is not supported by EXPRESS
state machines.
See also: AWS API Documentation
Request Syntax
response = client.stop_execution(
executionArn='string',
error='string',
cause='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the execution to stop.
dict
Response Syntax
{
'stopDate': datetime(2015, 1, 1)
}
Response Structure
(dict) --
stopDate (datetime) --
The date the execution is stopped.
Exceptions
SFN.Client.exceptions.ExecutionDoesNotExist
SFN.Client.exceptions.InvalidArn
SFN.Client.exceptions.ValidationException