Skip to content

Lambda  >  Operations  >  send_durable_execution_callback_heartbeat

send_durable_execution_callback_heartbeat

Operation

send_durable_execution_callback_heartbeat async

send_durable_execution_callback_heartbeat(input: SendDurableExecutionCallbackHeartbeatInput, plugins: list[Plugin] | None = None) -> SendDurableExecutionCallbackHeartbeatOutput

Sends a heartbeat signal for a long-running callback operation to prevent timeout. Use this API to extend the callback timeout period while the external operation is still in progress.

Parameters:

Name Type Description Default
input SendDurableExecutionCallbackHeartbeatInput

An instance of SendDurableExecutionCallbackHeartbeatInput.

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
SendDurableExecutionCallbackHeartbeatOutput

An instance of SendDurableExecutionCallbackHeartbeatOutput.

Input

SendDurableExecutionCallbackHeartbeatInput dataclass

Dataclass for SendDurableExecutionCallbackHeartbeatInput structure.

Attributes

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

The unique identifier for the callback operation.

Output

SendDurableExecutionCallbackHeartbeatOutput dataclass

Dataclass for SendDurableExecutionCallbackHeartbeatOutput structure.