Lambda / Client / send_durable_execution_callback_failure
send_durable_execution_callback_failure¶
- Lambda.Client.send_durable_execution_callback_failure(**kwargs)¶
Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.
See also: AWS API Documentation
Request Syntax
response = client.send_durable_execution_callback_failure( CallbackId='string', Error={ 'ErrorMessage': 'string', 'ErrorType': 'string', 'ErrorData': 'string', 'StackTrace': [ 'string', ] } )
- Parameters:
CallbackId (string) –
[REQUIRED]
The unique identifier for the callback operation.
Error (dict) –
Error details describing why the callback operation failed.
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
{}Response Structure
(dict) –
Exceptions
Lambda.Client.exceptions.InvalidParameterValueExceptionLambda.Client.exceptions.TooManyRequestsExceptionLambda.Client.exceptions.ServiceExceptionLambda.Client.exceptions.CallbackTimeoutException