{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ses/json-schema/amazon-ses-list-address-list-import-jobs-response-schema.json",
  "title": "ListAddressListImportJobsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ses-address-list-import-job-api-openapi.yml#/components/schemas/ListAddressListImportJobsResponse",
  "type": "object",
  "properties": {
    "ImportJobs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImportJob"
      },
      "description": "The list of import jobs."
    },
    "NextToken": {
      "type": "string",
      "description": "If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page."
    }
  },
  "required": [
    "ImportJobs"
  ],
  "$defs": {
    "ImportDataFormat": {
      "type": "object",
      "properties": {
        "ImportDataType": {
          "type": "string",
          "enum": [
            "CSV",
            "JSON"
          ],
          "description": "The type of file that would be passed as an input for the address list import job."
        }
      },
      "required": [
        "ImportDataType"
      ]
    },
    "ImportJob": {
      "type": "object",
      "properties": {
        "JobId": {
          "type": "string",
          "description": "The identifier of the import job."
        },
        "Name": {
          "type": "string",
          "description": "A user-friendly name for the import job."
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATED",
            "PROCESSING",
            "COMPLETED",
            "FAILED",
            "STOPPED"
          ],
          "description": "The status of the import job."
        },
        "PreSignedUrl": {
          "type": "string",
          "description": "The pre-signed URL target for uploading the input file."
        },
        "ImportedItemsCount": {
          "type": "integer",
          "description": "The number of addresses in the input that were successfully imported into the address list."
        },
        "FailedItemsCount": {
          "type": "integer",
          "description": "The number of addresses in the input that failed to get imported into address list."
        },
        "ImportDataFormat": {
          "$ref": "#/$defs/ImportDataFormat"
        },
        "AddressListId": {
          "type": "string",
          "description": "The unique identifier of the address list the import job was created for."
        },
        "CreatedTimestamp": {
          "type": "string",
          "description": "The timestamp of when the import job was created."
        },
        "StartTimestamp": {
          "type": "string",
          "description": "The timestamp of when the import job was started."
        },
        "CompletedTimestamp": {
          "type": "string",
          "description": "The timestamp of when the import job was completed."
        },
        "Error": {
          "type": "string",
          "description": "The reason for failure of an import job."
        }
      },
      "required": [
        "JobId",
        "Name",
        "Status",
        "PreSignedUrl",
        "ImportDataFormat",
        "AddressListId",
        "CreatedTimestamp"
      ]
    }
  }
}