Skip to content

send_durable_execution_callback_success

Operation

send_durable_execution_callback_success

Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.

Parameters:

Name Type Description Default
request SendDurableExecutionCallbackSuccessInput | SendDurableExecutionCallbackSuccessInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[SendDurableExecutionCallbackSuccessInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
SendDurableExecutionCallbackSuccessOutput

An instance of SendDurableExecutionCallbackSuccessOutput.

send_durable_execution_callback_success async

Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.

Parameters:

Name Type Description Default
request SendDurableExecutionCallbackSuccessInput | SendDurableExecutionCallbackSuccessInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[SendDurableExecutionCallbackSuccessInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
SendDurableExecutionCallbackSuccessOutput

An instance of SendDurableExecutionCallbackSuccessOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

SendDurableExecutionCallbackSuccessInputDict

Bases: TypedDict

Dictionary form of SendDurableExecutionCallbackSuccessInput.

Attributes

callback_id instance-attribute
callback_id: Required[str]

The unique identifier for the callback operation.

result instance-attribute
result: bytes | None

The result data from the successful callback operation. Maximum size is 1 MB.

SendDurableExecutionCallbackSuccessInput dataclass

Bases: _SerdeShape

Dataclass for SendDurableExecutionCallbackSuccessInput structure.

Attributes

callback_id class-attribute instance-attribute
callback_id: str | None = ...

The unique identifier for the callback operation.

result class-attribute instance-attribute
result: bytes | None = ...

The result data from the successful callback operation. Maximum size is 1 MB.

Output

SendDurableExecutionCallbackSuccessOutput dataclass

Bases: _SerdeShape

Dataclass for SendDurableExecutionCallbackSuccessOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.