paws.compute (version 0.1.0)

ecs_submit_task_state_change: This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent

Description

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

Usage

ecs_submit_task_state_change(cluster, task, status, reason, containers,
  attachments, pullStartedAt, pullStoppedAt, executionStoppedAt)

Arguments

cluster

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

task

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

status

The status of the state change request.

reason

The reason for the state change request.

containers

Any containers associated with the state change request.

attachments

Any attachments associated with the state change request.

pullStartedAt

The Unix timestamp for when the container image pull began.

pullStoppedAt

The Unix timestamp for when the container image pull completed.

executionStoppedAt

The Unix timestamp for when the task execution stopped.

Request syntax

svc$submit_task_state_change(
  cluster = "string",
  task = "string",
  status = "string",
  reason = "string",
  containers = list(
    list(
      containerName = "string",
      exitCode = 123,
      networkBindings = list(
        list(
          bindIP = "string",
          containerPort = 123,
          hostPort = 123,
          protocol = "tcp"|"udp"
        )
      ),
      reason = "string",
      status = "string"
    )
  ),
  attachments = list(
    list(
      attachmentArn = "string",
      status = "string"
    )
  ),
  pullStartedAt = as.POSIXct(
    "2015-01-01"
  ),
  pullStoppedAt = as.POSIXct(
    "2015-01-01"
  ),
  executionStoppedAt = as.POSIXct(
    "2015-01-01"
  )
)

Details

Sent to acknowledge that a task changed states.