Lambda / Client / stop_durable_execution
stop_durable_execution¶
- Lambda.Client.stop_durable_execution(**kwargs)¶
Stops a running durable execution. The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.
See also: AWS API Documentation
Request Syntax
response = client.stop_durable_execution( DurableExecutionArn='string', Error={ 'ErrorMessage': 'string', 'ErrorType': 'string', 'ErrorData': 'string', 'StackTrace': [ 'string', ] } )
- Parameters:
DurableExecutionArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the durable execution.
Error (dict) –
Optional error details explaining why the execution is being stopped.
ErrorMessage (string) –
A human-readable error message.
ErrorType (string) –
The error type.
ErrorData (string) –
Machine-readable error data.
StackTrace (list) –
Stack trace information for the error.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'StopTimestamp': datetime(2015, 1, 1) }
Response Structure
(dict) –
StopTimestamp (datetime) –
The timestamp when the execution was stopped (ISO 8601 format).
Exceptions
Lambda.Client.exceptions.InvalidParameterValueExceptionLambda.Client.exceptions.TooManyRequestsExceptionLambda.Client.exceptions.ServiceExceptionLambda.Client.exceptions.ResourceNotFoundException