Skip to content

Operation

Source code in docs_src/capo_lambda/types/operation.py
class Operation(TypedDict, closed=True):
    id: "capo_lambda.types.operation_id.OperationId"
    """<p>The unique identifier for this operation.</p>"""
    parent_id: NotRequired["capo_lambda.types.operation_id.OperationId"]
    """<p>The unique identifier of the parent operation, if this operation is running within a child context.</p>"""
    name: NotRequired["capo_lambda.types.operation_name.OperationName"]
    """<p>The customer-provided name for this operation.</p>"""
    type: "capo_lambda.types.operation_type.OperationType"
    """<p>The type of operation.</p>"""
    sub_type: NotRequired["capo_lambda.types.operation_sub_type.OperationSubType"]
    """<p>The subtype of the operation, providing additional categorization.</p>"""
    start_timestamp: "capo_lambda.types.execution_timestamp.ExecutionTimestamp"
    """<p>The date and time when the operation started, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>"""
    end_timestamp: NotRequired[
        "capo_lambda.types.execution_timestamp.ExecutionTimestamp"
    ]
    """<p>The date and time when the operation ended, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>"""
    status: "capo_lambda.types.operation_status.OperationStatus"
    """<p>The current status of the operation.</p>"""
    execution_details: NotRequired[
        "capo_lambda.types.execution_details.ExecutionDetails"
    ]
    """<p>Details about the execution, if this operation represents an execution.</p>"""
    context_details: NotRequired["capo_lambda.types.context_details.ContextDetails"]
    """<p>Details about the context, if this operation represents a context.</p>"""
    step_details: NotRequired["capo_lambda.types.step_details.StepDetails"]
    """<p>Details about the step, if this operation represents a step.</p>"""
    wait_details: NotRequired["capo_lambda.types.wait_details.WaitDetails"]
    """<p>Details about the wait operation, if this operation represents a wait.</p>"""
    callback_details: NotRequired["capo_lambda.types.callback_details.CallbackDetails"]
    chained_invoke_details: NotRequired[
        "capo_lambda.types.chained_invoke_details.ChainedInvokeDetails"
    ]

callback_details instance-attribute

callback_details: NotRequired[CallbackDetails]

chained_invoke_details instance-attribute

chained_invoke_details: NotRequired[ChainedInvokeDetails]

context_details instance-attribute

context_details: NotRequired[ContextDetails]

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

end_timestamp instance-attribute

end_timestamp: NotRequired[ExecutionTimestamp]

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

execution_details instance-attribute

execution_details: NotRequired[ExecutionDetails]

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

id instance-attribute

The unique identifier for this operation.

name instance-attribute

name: NotRequired[OperationName]

The customer-provided name for this operation.

parent_id instance-attribute

parent_id: NotRequired[OperationId]

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

start_timestamp instance-attribute

start_timestamp: ExecutionTimestamp

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 instance-attribute

step_details: NotRequired[StepDetails]

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

sub_type instance-attribute

sub_type: NotRequired[OperationSubType]

The subtype of the operation, providing additional categorization.

type instance-attribute

The type of operation.

wait_details instance-attribute

wait_details: NotRequired[WaitDetails]

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