Skip to content

CallbackDetails

Source code in docs_src/capo_lambda/types/callback_details.py
class CallbackDetails(TypedDict, closed=True):
    callback_id: NotRequired["capo_lambda.types.callback_id.CallbackId"]
    """<p>The callback ID. Callback IDs are generated by the <code>DurableContext</code> when a durable function calls <code>ctx.waitForCallback</code>.</p>"""
    result: NotRequired["capo_lambda.types.operation_payload.OperationPayload"]
    """<p>The response payload from the callback operation as a string.</p>"""
    error: NotRequired["capo_lambda.types.error_object.ErrorObject"]
    """<p>An error object that contains details about the failure.</p>"""

callback_id instance-attribute

callback_id: NotRequired[CallbackId]

The callback ID. Callback IDs are generated by the DurableContext when a durable function calls ctx.waitForCallback.

error instance-attribute

error: NotRequired[ErrorObject]

An error object that contains details about the failure.

result instance-attribute

result: NotRequired[OperationPayload]

The response payload from the callback operation as a string.