v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1456338351.9 KB

CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.

put/CancelImageCreation

Request body

imageBuildVersionArnstring required

The Amazon Resource Name (ARN) of the image that you want to cancel creation for.

clientTokenstring required

Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a> in the <i>Amazon EC2 API Reference</i>.

Response

Success

requestIdstring

The request ID that uniquely identifies this request.

clientTokenstring

The idempotency token that was used for this request.

imageBuildVersionArnstring

The ARN of the image whose creation this request canceled.

All 56 operations