{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-billing-and-cost-management/json-schema/amazon-billing-and-cost-management-list-exports-response-schema.json",
  "title": "ListExportsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-export-api-openapi.yml#/components/schemas/ListExportsResponse",
  "type": "object",
  "properties": {
    "Exports": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ExportReference"
      },
      "description": "The details of the exports, including name and export status."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to retrieve the next set of results."
    }
  },
  "$defs": {
    "ExportReference": {
      "type": "object",
      "properties": {
        "ExportArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for this export."
        },
        "ExportName": {
          "type": "string",
          "description": "The name of this specific data export."
        },
        "ExportStatus": {
          "$ref": "#/$defs/ExportStatus"
        }
      },
      "required": [
        "ExportArn",
        "ExportName",
        "ExportStatus"
      ]
    },
    "ExportStatus": {
      "type": "object",
      "properties": {
        "StatusCode": {
          "type": "string",
          "enum": [
            "HEALTHY",
            "UNHEALTHY"
          ],
          "description": "The status code for the request."
        },
        "StatusReason": {
          "type": "string",
          "enum": [
            "INSUFFICIENT_PERMISSION",
            "BILL_OWNER_CHANGED",
            "INTERNAL_FAILURE",
            "DEPRECATED"
          ],
          "description": "The description for the status code."
        },
        "CreatedAt": {
          "type": "string",
          "description": "The timestamp of when the export was created."
        },
        "LastUpdatedAt": {
          "type": "string",
          "description": "The timestamp of when the export was updated."
        },
        "LastRefreshedAt": {
          "type": "string",
          "description": "The timestamp of when the export was last generated."
        }
      }
    }
  }
}