{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-get-model-import-job-response-schema.json",
  "title": "GetModelImportJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-model-import-jobs-api-openapi.yml#/components/schemas/GetModelImportJobResponse",
  "type": "object",
  "properties": {
    "jobArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the import job."
    },
    "jobName": {
      "type": "string",
      "description": "The name of the import job."
    },
    "importedModelName": {
      "type": "string",
      "description": "The name of the imported model."
    },
    "importedModelArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the imported model."
    },
    "roleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM role associated with this job."
    },
    "modelDataSource": {
      "$ref": "#/$defs/ModelDataSource"
    },
    "status": {
      "type": "string",
      "enum": [
        "InProgress",
        "Completed",
        "Failed"
      ],
      "description": "The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed."
    },
    "failureMessage": {
      "type": "string",
      "description": "Information about why the import job failed."
    },
    "creationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time the resource was created."
    },
    "lastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last modified."
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "Time that the resource transitioned to terminal state."
    },
    "vpcConfig": {
      "$ref": "#/$defs/VpcConfig"
    },
    "importedModelKmsKeyArn": {
      "type": "string",
      "description": "The imported model is encrypted at rest using this key."
    }
  },
  "$defs": {
    "ModelDataSource": {
      "type": "object",
      "properties": {
        "s3DataSource": {
          "$ref": "#/$defs/S3DataSource"
        }
      },
      "description": "Exactly one member is set."
    },
    "S3DataSource": {
      "type": "object",
      "properties": {
        "s3Uri": {
          "type": "string",
          "description": "The URI of the Amazon S3 data source."
        }
      },
      "required": [
        "s3Uri"
      ]
    },
    "VpcConfig": {
      "type": "object",
      "properties": {
        "subnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of IDs for each subnet in the VPC to use."
        },
        "securityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of IDs for each security group in the VPC to use."
        }
      },
      "required": [
        "subnetIds",
        "securityGroupIds"
      ]
    }
  }
}