Skip to content

Lambda  >  Operations  >  stop_durable_execution

stop_durable_execution

Operation

stop_durable_execution async

stop_durable_execution(input: StopDurableExecutionInput, plugins: list[Plugin] | None = None) -> StopDurableExecutionOutput

Stops a running durable execution. The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.

Parameters:

Name Type Description Default
input StopDurableExecutionInput

An instance of StopDurableExecutionInput.

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
StopDurableExecutionOutput

An instance of StopDurableExecutionOutput.

Input

StopDurableExecutionInput dataclass

Dataclass for StopDurableExecutionInput structure.

Attributes

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

The Amazon Resource Name (ARN) of the durable execution.

error class-attribute instance-attribute
error: ErrorObject | None = None

Optional error details explaining why the execution is being stopped.

Output

StopDurableExecutionOutput dataclass

Dataclass for StopDurableExecutionOutput structure.

Attributes

stop_timestamp instance-attribute
stop_timestamp: datetime

The timestamp when the execution was stopped (ISO 8601 format).