{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-import-image-result-schema.json",
  "title": "ImportImageResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-image-api-openapi.yml#/components/schemas/ImportImageResult",
  "type": "object",
  "properties": {
    "Architecture": {
      "type": "string",
      "description": "The architecture of the virtual machine."
    },
    "Description": {
      "type": "string",
      "description": "A description of the import task."
    },
    "Encrypted": {
      "type": "boolean",
      "description": "Indicates whether the AMI is encrypted."
    },
    "Hypervisor": {
      "type": "string",
      "description": "The target hypervisor of the import task."
    },
    "ImageId": {
      "type": "string",
      "description": "The ID of the Amazon Machine Image (AMI) created by the import task."
    },
    "ImportTaskId": {
      "type": "string",
      "description": "The task ID of the import image task."
    },
    "KmsKeyId": {
      "type": "string",
      "description": "The identifier for the symmetric KMS key that was used to create the encrypted AMI."
    },
    "LicenseType": {
      "type": "string",
      "description": "The license type of the virtual machine."
    },
    "Platform": {
      "type": "string",
      "description": "The operating system of the virtual machine."
    },
    "Progress": {
      "type": "string",
      "description": "The progress of the task."
    },
    "SnapshotDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SnapshotDetail"
      },
      "description": "Information about the snapshots."
    },
    "Status": {
      "type": "string",
      "description": "A brief status of the task."
    },
    "StatusMessage": {
      "type": "string",
      "description": "A detailed status message of the import task."
    },
    "LicenseSpecifications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImportImageLicenseConfigurationResponse"
      },
      "description": "The ARNs of the license configurations."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Any tags assigned to the import image task."
    },
    "UsageOperation": {
      "type": "string",
      "description": "The usage operation value."
    }
  },
  "$defs": {
    "ImportImageLicenseConfigurationResponse": {
      "type": "object",
      "properties": {
        "LicenseConfigurationArn": {
          "type": "string",
          "description": "The ARN of a license configuration."
        }
      }
    },
    "SnapshotDetail": {
      "type": "object",
      "properties": {
        "Description": {
          "type": "string",
          "description": "A description for the snapshot."
        },
        "DeviceName": {
          "type": "string",
          "description": "The block device mapping for the snapshot."
        },
        "DiskImageSize": {
          "type": "number",
          "description": "The size of the disk in the snapshot, in GiB."
        },
        "Format": {
          "type": "string",
          "description": "The format of the disk image from which the snapshot is created."
        },
        "Progress": {
          "type": "string",
          "description": "The percentage of progress for the task."
        },
        "SnapshotId": {
          "type": "string",
          "description": "The snapshot ID of the disk being imported."
        },
        "Status": {
          "type": "string",
          "description": "A brief status of the snapshot creation."
        },
        "StatusMessage": {
          "type": "string",
          "description": "A detailed status message for the snapshot creation."
        },
        "Url": {
          "type": "string",
          "description": "The URL used to access the disk image."
        },
        "UserBucket": {
          "$ref": "#/$defs/UserBucketDetails"
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters."
        }
      }
    },
    "UserBucketDetails": {
      "type": "object",
      "properties": {
        "S3Bucket": {
          "type": "string",
          "description": "The Amazon S3 bucket from which the disk image was created."
        },
        "S3Key": {
          "type": "string",
          "description": "The file name of the disk image."
        }
      }
    }
  }
}