{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-personalize/json-schema/amazon-personalize-describe-dataset-export-job-response-schema.json",
  "title": "DescribeDatasetExportJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-personalize-dataset-export-job-api-openapi.yml#/components/schemas/DescribeDatasetExportJobResponse",
  "type": "object",
  "properties": {
    "datasetExportJob": {
      "$ref": "#/$defs/DatasetExportJob"
    }
  },
  "$defs": {
    "DatasetExportJob": {
      "type": "object",
      "properties": {
        "jobName": {
          "type": "string",
          "description": "The name of the export job."
        },
        "datasetExportJobArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the dataset export job."
        },
        "datasetArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the dataset to export."
        },
        "ingestionMode": {
          "type": "string",
          "enum": [
            "BULK",
            "PUT",
            "ALL"
          ],
          "description": "The data to export, based on how you imported the data. You can choose to export BULK data that you imported using a dataset import job, PUT data that you imported incrementally (using the console, PutEvents, PutUsers and PutItems operations), or ALL for both types. The default value is PUT."
        },
        "roleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM service role that has permissions to add data to your output Amazon S3 bucket."
        },
        "status": {
          "type": "string",
          "description": "The status of the dataset export job. A dataset export job can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED"
        },
        "jobOutput": {
          "$ref": "#/$defs/DatasetExportJobOutput"
        },
        "creationDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The creation date and time (in Unix time) of the dataset export job."
        },
        "lastUpdatedDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time (in Unix time) the status of the dataset export job was last updated."
        },
        "failureReason": {
          "type": "string",
          "description": "If a dataset export job fails, provides the reason why."
        }
      }
    },
    "DatasetExportJobOutput": {
      "type": "object",
      "properties": {
        "s3DataDestination": {
          "$ref": "#/$defs/S3DataConfig"
        }
      },
      "required": [
        "s3DataDestination"
      ]
    },
    "S3DataConfig": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "The file path of the Amazon S3 bucket."
        },
        "kmsKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files."
        }
      },
      "required": [
        "path"
      ]
    }
  }
}