{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-greengrass/json-schema/amazon-iot-greengrass-get-deployment-status-response-schema.json",
  "title": "GetDeploymentStatusResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-greengrass-operations-api-openapi.yml#/components/schemas/GetDeploymentStatusResponse",
  "type": "object",
  "properties": {
    "DeploymentStatus": {
      "type": "string",
      "description": "The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''."
    },
    "DeploymentType": {
      "type": "string",
      "enum": [
        "NewDeployment",
        "Redeployment",
        "ResetDeployment",
        "ForceResetDeployment"
      ],
      "description": "The type of the deployment."
    },
    "ErrorDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ErrorDetail"
      },
      "description": "Error details"
    },
    "ErrorMessage": {
      "type": "string",
      "description": "Error message"
    },
    "UpdatedAt": {
      "type": "string",
      "description": "The time, in milliseconds since the epoch, when the deployment status was updated."
    }
  },
  "$defs": {
    "ErrorDetail": {
      "type": "object",
      "properties": {
        "DetailedErrorCode": {
          "type": "string",
          "description": "A detailed error code."
        },
        "DetailedErrorMessage": {
          "type": "string",
          "description": "A detailed error message."
        }
      }
    }
  }
}