send_durable_execution_callback_failure¶
Operation¶
send_durable_execution_callback_failure
async
¶
send_durable_execution_callback_failure(input: SendDurableExecutionCallbackFailureInput, plugins: list[Plugin] | None = None) -> SendDurableExecutionCallbackFailureOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
SendDurableExecutionCallbackFailureInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
SendDurableExecutionCallbackFailureOutput
|
An instance of |
Input¶
SendDurableExecutionCallbackFailureInput
dataclass
¶
Dataclass for SendDurableExecutionCallbackFailureInput structure.
Attributes¶
callback_id
class-attribute
instance-attribute
¶
callback_id: str | None = None
The unique identifier for the callback operation.
error
class-attribute
instance-attribute
¶
error: ErrorObject | None = None
Error details describing why the callback operation failed.
Output¶
SendDurableExecutionCallbackFailureOutput
dataclass
¶
Dataclass for SendDurableExecutionCallbackFailureOutput structure.