{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-structure/ec2-image-builder-cancel-image-creation-request-structure.json",
"name": "CancelImageCreationRequest",
"description": "CancelImageCreationRequest schema from EC2 Image Builder",
"type": "object",
"properties": {
"imageBuildVersionArn": {
"allOf": [
{
"$ref": "#/components/schemas/ImageBuildVersionArn"
},
{
"description": "The Amazon Resource Name (ARN) of the image that you want to cancel creation for."
}
]
},
"clientToken": {
"allOf": [
{
"$ref": "#/components/schemas/ClientToken"
},
{
"description": "Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference."
}
]
}
},
"required": [
"imageBuildVersionArn",
"clientToken"
]
}