Skip to content

SubmitTaskStateChangeRequest

Source code in docs_src/capo_ecs/types/submit_task_state_change_request.py
class SubmitTaskStateChangeRequest(TypedDict, closed=True):
    cluster: NotRequired["capo_ecs.types.string.String"]
    """<p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.</p>"""
    task: NotRequired["capo_ecs.types.string.String"]
    """<p>The task ID or full ARN of the task in the state change request.</p>"""
    status: NotRequired["capo_ecs.types.string.String"]
    """<p>The status of the state change request.</p>"""
    reason: NotRequired["capo_ecs.types.string.String"]
    """<p>The reason for the state change request.</p>"""
    containers: NotRequired[
        "capo_ecs.types.container_state_changes.ContainerStateChanges"
    ]
    """<p>Any containers that's associated with the state change request.</p>"""
    attachments: NotRequired[
        "capo_ecs.types.attachment_state_changes.AttachmentStateChanges"
    ]
    """<p>Any attachments associated with the state change request.</p>"""
    managed_agents: NotRequired[
        "capo_ecs.types.managed_agent_state_changes.ManagedAgentStateChanges"
    ]
    """<p>The details for the managed agent that's associated with the task.</p>"""
    pull_started_at: NotRequired["capo_ecs.types.timestamp.Timestamp"]
    """<p>The Unix timestamp for the time when the container image pull started.</p>"""
    pull_stopped_at: NotRequired["capo_ecs.types.timestamp.Timestamp"]
    """<p>The Unix timestamp for the time when the container image pull completed.</p>"""
    execution_stopped_at: NotRequired["capo_ecs.types.timestamp.Timestamp"]
    """<p>The Unix timestamp for the time when the task execution stopped.</p>"""

attachments instance-attribute

attachments: NotRequired[AttachmentStateChanges]

Any attachments associated with the state change request.

cluster instance-attribute

cluster: NotRequired[String]

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

containers instance-attribute

containers: NotRequired[ContainerStateChanges]

Any containers that's associated with the state change request.

execution_stopped_at instance-attribute

execution_stopped_at: NotRequired[Timestamp]

The Unix timestamp for the time when the task execution stopped.

managed_agents instance-attribute

managed_agents: NotRequired[ManagedAgentStateChanges]

The details for the managed agent that's associated with the task.

pull_started_at instance-attribute

pull_started_at: NotRequired[Timestamp]

The Unix timestamp for the time when the container image pull started.

pull_stopped_at instance-attribute

pull_stopped_at: NotRequired[Timestamp]

The Unix timestamp for the time when the container image pull completed.

reason instance-attribute

reason: NotRequired[String]

The reason for the state change request.

status instance-attribute

status: NotRequired[String]

The status of the state change request.

task instance-attribute

task: NotRequired[String]

The task ID or full ARN of the task in the state change request.