v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1456373564.1 KB

<note> <p>This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.</p> </note> <p>Sent to acknowledge that a container changed states.</p>

post/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.SubmitContainerStateChange

Headers

X-Amz-Target'AmazonEC2ContainerServiceV20141113.SubmitContainerStateChange' required

Request body

clusterstring

The short name or full ARN of the cluster that hosts the container.

taskstring

The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

containerNamestring

The name of the container.

runtimeIdstring

The ID of the Docker container.

statusstring

The status of the state change request.

exitCodeinteger

The exit code that's returned for the state change request.

reasonstring

The reason for the state change request.

Response

Success

acknowledgmentstring

Acknowledgement of the state change.