Skip to content

Lambda  >  Structures  >  Operation

Operation

Structure Class

Operation dataclass

Information about an operation within a durable execution.

Attributes

callback_details class-attribute instance-attribute
callback_details: CallbackDetails | None = None

Contains details about a callback operation in a durable execution, including the callback token and timeout configuration.

chained_invoke_details class-attribute instance-attribute
chained_invoke_details: ChainedInvokeDetails | None = None

Contains details about a chained function invocation in a durable execution, including the target function and invocation parameters.

context_details class-attribute instance-attribute
context_details: ContextDetails | None = None

Details about the context, if this operation represents a context.

end_timestamp class-attribute instance-attribute
end_timestamp: datetime | None = None

The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

execution_details class-attribute instance-attribute
execution_details: ExecutionDetails | None = None

Details about the execution, if this operation represents an execution.

id instance-attribute
id: str

The unique identifier for this operation.

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

The customer-provided name for this operation.

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

The unique identifier of the parent operation, if this operation is running within a child context.

start_timestamp instance-attribute
start_timestamp: datetime

The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

status instance-attribute

The current status of the operation.

step_details class-attribute instance-attribute
step_details: StepDetails | None = None

Details about the step, if this operation represents a step.

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

The subtype of the operation, providing additional categorization.

type instance-attribute

The type of operation.

wait_details class-attribute instance-attribute
wait_details: WaitDetails | None = None

Details about the wait operation, if this operation represents a wait.