{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-describe-edge-packaging-job-response-schema.json",
  "title": "DescribeEdgePackagingJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-edge-packaging-job-api-openapi.yml#/components/schemas/DescribeEdgePackagingJobResponse",
  "type": "object",
  "properties": {
    "EdgePackagingJobArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the edge packaging job."
    },
    "EdgePackagingJobName": {
      "type": "string",
      "description": "The name of the edge packaging job."
    },
    "CompilationJobName": {
      "type": "string",
      "description": "The name of the SageMaker Neo compilation job that is used to locate model artifacts that are being packaged."
    },
    "ModelName": {
      "type": "string",
      "description": "The name of the model."
    },
    "ModelVersion": {
      "type": "string",
      "description": "The version of the model."
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact Neo."
    },
    "OutputConfig": {
      "$ref": "#/$defs/EdgeOutputConfig"
    },
    "ResourceKey": {
      "type": "string",
      "description": "The Amazon Web Services KMS key to use when encrypting the EBS volume the job run on."
    },
    "EdgePackagingJobStatus": {
      "type": "string",
      "enum": [
        "STARTING",
        "INPROGRESS",
        "COMPLETED",
        "FAILED",
        "STOPPING",
        "STOPPED"
      ],
      "description": "The current status of the packaging job."
    },
    "EdgePackagingJobStatusMessage": {
      "type": "string",
      "description": "Returns a message describing the job status and error messages."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the packaging job was created."
    },
    "LastModifiedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the job was last updated."
    },
    "ModelArtifact": {
      "type": "string",
      "description": "The Amazon Simple Storage (S3) URI where model artifacts ares stored."
    },
    "ModelSignature": {
      "type": "string",
      "description": "The signature document of files in the model artifact."
    },
    "PresetDeploymentOutput": {
      "$ref": "#/$defs/EdgePresetDeploymentOutput"
    }
  },
  "required": [
    "EdgePackagingJobArn",
    "EdgePackagingJobName",
    "EdgePackagingJobStatus"
  ],
  "$defs": {
    "EdgeOutputConfig": {
      "type": "object",
      "properties": {
        "S3OutputLocation": {
          "type": "string",
          "description": "The Amazon Simple Storage (S3) bucker URI."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account."
        },
        "PresetDeploymentType": {
          "type": "string",
          "enum": [
            "GreengrassV2Component"
          ],
          "description": "The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components."
        },
        "PresetDeploymentConfig": {
          "type": "string",
          "description": "The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are: ComponentName (optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of \"SagemakerEdgeManager\" and the name of your SageMaker Edge Manager packaging job. ComponentDescription (optional) - Description of the component. ComponentVersion (optional) - The version of the component. Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor."
        }
      },
      "required": [
        "S3OutputLocation"
      ]
    },
    "EdgePresetDeploymentOutput": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "GreengrassV2Component"
          ],
          "description": "The deployment type created by SageMaker Edge Manager. Currently only supports Amazon Web Services IoT Greengrass Version 2 components."
        },
        "Artifact": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the generated deployable resource."
        },
        "Status": {
          "type": "string",
          "enum": [
            "COMPLETED",
            "FAILED"
          ],
          "description": "The status of the deployable resource."
        },
        "StatusMessage": {
          "type": "string",
          "description": "Returns a message describing the status of the deployed resource."
        }
      },
      "required": [
        "Type"
      ]
    }
  }
}