{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-personalize/json-schema/amazon-personalize-describe-data-deletion-job-response-schema.json",
  "title": "DescribeDataDeletionJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-personalize-data-deletion-job-api-openapi.yml#/components/schemas/DescribeDataDeletionJobResponse",
  "type": "object",
  "properties": {
    "dataDeletionJob": {
      "$ref": "#/$defs/DataDeletionJob"
    }
  },
  "$defs": {
    "DataDeletionJob": {
      "type": "object",
      "properties": {
        "jobName": {
          "type": "string",
          "description": "The name of the data deletion job."
        },
        "dataDeletionJobArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the data deletion job."
        },
        "datasetGroupArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the dataset group the job deletes records from."
        },
        "dataSource": {
          "$ref": "#/$defs/DataSource"
        },
        "roleArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source."
        },
        "status": {
          "type": "string",
          "description": "The status of the data deletion job. A data deletion job can have one of the following statuses: PENDING > IN_PROGRESS > COMPLETED -or- FAILED"
        },
        "numDeleted": {
          "type": "integer",
          "description": "The number of records deleted by a COMPLETED job."
        },
        "creationDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The creation date and time (in Unix time) of the data deletion job."
        },
        "lastUpdatedDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time (in Unix time) the data deletion job was last updated."
        },
        "failureReason": {
          "type": "string",
          "description": "If a data deletion job fails, provides the reason why."
        }
      }
    },
    "DataSource": {
      "type": "object",
      "properties": {
        "dataLocation": {
          "type": "string",
          "description": "For dataset import jobs, the path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For data deletion jobs, the path to the Amazon S3 bucket that stores the list of records to delete. For example: s3://bucket-name/folder-name/fileName.csv If your CSV files are in a folder in your Amazon S3 bucket and you want your import job or data deletion job to consider multiple files, you can specify the path to the folder. With a data deletion job, Amazon Personalize uses all files in the folder and any sub folder. Use the following syntax with a / after the folder"
        }
      }
    }
  }
}