Skip to content

AttemptDetail

Source code in docs_src/capo_batch/types/attempt_detail.py
class AttemptDetail(TypedDict, closed=True):
    container: NotRequired[
        "capo_batch.types.attempt_container_detail.AttemptContainerDetail"
    ]
    """<p>The details for the container in this job attempt.</p>"""
    started_at: NotRequired["capo_batch.types.long.Long"]
    """<p>The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the <code>STARTING</code> state to the <code>RUNNING</code> state).</p>"""
    stopped_at: NotRequired["capo_batch.types.long.Long"]
    """<p>The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the <code>RUNNING</code> state to a terminal state, such as <code>SUCCEEDED</code> or <code>FAILED</code>).</p>"""
    status_reason: NotRequired["capo_batch.types.string.String"]
    """<p>A short, human-readable string to provide additional details for the current status of the job attempt.</p>"""
    task_properties: NotRequired[
        "capo_batch.types.list_attempt_ecs_task_details.ListAttemptEcsTaskDetails"
    ]
    """<p>The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.</p>"""

container instance-attribute

container: NotRequired[AttemptContainerDetail]

The details for the container in this job attempt.

started_at instance-attribute

started_at: NotRequired[Long]

The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING state to the RUNNING state).

status_reason instance-attribute

status_reason: NotRequired[String]

A short, human-readable string to provide additional details for the current status of the job attempt.

stopped_at instance-attribute

stopped_at: NotRequired[Long]

The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

task_properties instance-attribute

task_properties: NotRequired[ListAttemptEcsTaskDetails]

The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.