{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-storage-gateway/json-schema/amazon-storage-gateway-list-cache-reports-output-schema.json",
  "title": "ListCacheReportsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-storage-gateway-cache-report-api-openapi.yml#/components/schemas/ListCacheReportsOutput",
  "type": "object",
  "properties": {
    "CacheReportList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CacheReportInfo"
      },
      "description": "A list of existing cache reports for all file shares associated with your Amazon Web Services account. This list includes all information provided by the DescribeCacheReport action, such as report status, completion progress, start time, end time, filters, and tags."
    },
    "Marker": {
      "type": "string",
      "description": "If the request includes Marker, the response returns that value in this field."
    }
  },
  "$defs": {
    "CacheReportFilter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "enum": [
            "UploadState",
            "UploadFailureReason"
          ],
          "description": "The parameter name for a filter that determines which files are included or excluded from a cache report. Valid Names: UploadFailureReason | UploadState"
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The parameter value for a filter that determines which files are included or excluded from a cache report. Valid UploadFailureReason Values: InaccessibleStorageClass | InvalidObjectState | ObjectMissing | S3AccessDenied Valid UploadState Values: FailingUpload"
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    },
    "CacheReportInfo": {
      "type": "object",
      "properties": {
        "CacheReportARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the cache report you want to describe."
        },
        "CacheReportStatus": {
          "type": "string",
          "enum": [
            "IN_PROGRESS",
            "COMPLETED",
            "CANCELED",
            "FAILED",
            "ERROR"
          ],
          "description": "The status of the specified cache report."
        },
        "ReportCompletionPercent": {
          "type": "integer",
          "description": "The percentage of the report generation process that has been completed at time of inquiry."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the gateway stopped generating the cache report."
        },
        "Role": {
          "type": "string"
        },
        "FileShareARN": {
          "type": "string"
        },
        "LocationARN": {
          "type": "string",
          "description": "The ARN of the Amazon S3 bucket location where the cache report is saved."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the gateway started generating the cache report."
        },
        "InclusionFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CacheReportFilter"
          },
          "description": "The list of filters and parameters that determine which files are included in the report."
        },
        "ExclusionFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CacheReportFilter"
          },
          "description": "The list of filters and parameters that determine which files are excluded from the report."
        },
        "ReportName": {
          "type": "string",
          "description": "The file name of the completed cache report object stored in Amazon S3."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The list of key/value tags associated with the report."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "Tag key. The key can't start with aws:."
        },
        "Value": {
          "type": "string",
          "description": "Value of the tag key."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}