{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-forecast/json-schema/amazon-forecast-describe-what-if-forecast-export-response-schema.json",
  "title": "DescribeWhatIfForecastExportResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-forecast-what-if-forecast-export-api-openapi.yml#/components/schemas/DescribeWhatIfForecastExportResponse",
  "type": "object",
  "properties": {
    "WhatIfForecastExportArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the what-if forecast export."
    },
    "WhatIfForecastExportName": {
      "type": "string",
      "description": "The name of the what-if forecast export."
    },
    "WhatIfForecastArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource."
    },
    "Destination": {
      "$ref": "#/$defs/DataDestination"
    },
    "Message": {
      "type": "string",
      "description": "If an error occurred, an informational message about the error."
    },
    "Status": {
      "type": "string",
      "description": "The status of the what-if forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED CREATE_STOPPING, CREATE_STOPPED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the what-if forecast export must be ACTIVE before you can access the forecast export."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "When the what-if forecast export was created."
    },
    "EstimatedTimeRemainingInMinutes": {
      "type": "integer",
      "description": "The approximate time remaining to complete the what-if forecast export, in minutes."
    },
    "LastModificationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The last time the resource was modified. The timestamp depends on the status of the job: CREATE_PENDING - The CreationTime. CREATE_IN_PROGRESS - The current timestamp. CREATE_STOPPING - The current timestamp. CREATE_STOPPED - When the job stopped. ACTIVE or CREATE_FAILED - When the job finished or failed."
    },
    "Format": {
      "type": "string",
      "description": "The format of the exported data, CSV or PARQUET."
    }
  },
  "$defs": {
    "DataDestination": {
      "type": "object",
      "properties": {
        "S3Config": {
          "$ref": "#/$defs/S3Config"
        }
      },
      "required": [
        "S3Config"
      ]
    },
    "S3Config": {
      "type": "object",
      "properties": {
        "Path": {
          "type": "string",
          "description": "The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket."
        },
        "RoleArn": {
          "type": "string",
          "description": "The ARN of the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or files. If you provide a value for the KMSKeyArn key, the role must allow access to the key. Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn't in your account, you get an InvalidInputException error."
        },
        "KMSKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of an Key Management Service (KMS) key."
        }
      },
      "required": [
        "Path",
        "RoleArn"
      ]
    }
  }
}