Skip to content

StepDetails

Source code in docs_src/capo_lambda/types/step_details.py
class StepDetails(TypedDict, closed=True):
    attempt: "capo_lambda.types.attempt_count.AttemptCount"
    """<p>The current attempt number for this step.</p>"""
    next_attempt_timestamp: NotRequired[
        "capo_lambda.types.execution_timestamp.ExecutionTimestamp"
    ]
    """<p>The date and time when the next attempt is scheduled, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.</p>"""
    result: NotRequired["capo_lambda.types.operation_payload.OperationPayload"]
    """<p>The JSON response payload from the step operation.</p>"""
    error: NotRequired["capo_lambda.types.error_object.ErrorObject"]
    """<p>Details about the step failure.</p>"""

attempt instance-attribute

attempt: AttemptCount

The current attempt number for this step.

error instance-attribute

error: NotRequired[ErrorObject]

Details about the step failure.

next_attempt_timestamp instance-attribute

next_attempt_timestamp: NotRequired[ExecutionTimestamp]

The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.

result instance-attribute

result: NotRequired[OperationPayload]

The JSON response payload from the step operation.