This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a task changed states.
ecs_submit_task_state_change(cluster, task, status, reason, containers,
attachments, pullStartedAt, pullStoppedAt, executionStoppedAt)
A list with the following syntax:
list(
acknowledgment = "string"
)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
The task ID or full ARN of the task in the state change request.
The status of the state change request.
The reason for the state change request.
Any containers associated with the state change request.
Any attachments associated with the state change request.
The Unix timestamp for when the container image pull began.
The Unix timestamp for when the container image pull completed.
The Unix timestamp for when the task execution stopped.
svc$submit_task_state_change(
cluster = "string",
task = "string",
status = "string",
reason = "string",
containers = list(
list(
containerName = "string",
imageDigest = "string",
runtimeId = "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"
)
)