{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-quicksight/json-schema/amazon-quicksight-describe-dashboard-snapshot-job-response-schema.json",
  "title": "DescribeDashboardSnapshotJobResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-quicksight-operations-api-openapi.yml#/components/schemas/DescribeDashboardSnapshotJobResponse",
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "type": "string",
      "description": "The ID of the Amazon Web Services account that the dashboard snapshot job is executed in."
    },
    "DashboardId": {
      "type": "string",
      "description": "The ID of the dashboard that you have started a snapshot job for."
    },
    "SnapshotJobId": {
      "type": "string",
      "description": "The ID of the job to be described. The job ID is set when you start a new job with a StartDashboardSnapshotJob API call."
    },
    "UserConfiguration": {
      "$ref": "#/$defs/SnapshotUserConfigurationRedacted"
    },
    "SnapshotConfiguration": {
      "$ref": "#/$defs/SnapshotConfiguration"
    },
    "Arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) for the snapshot job. The job ARN is generated when you start a new job with a StartDashboardSnapshotJob API call."
    },
    "JobStatus": {
      "type": "string",
      "enum": [
        "QUEUED",
        "RUNNING",
        "COMPLETED",
        "FAILED"
      ],
      "description": "Indicates the status of a job. The status updates as the job executes. This shows one of the following values. COMPLETED - The job was completed successfully. FAILED - The job failed to execute. QUEUED - The job is queued and hasn't started yet. RUNNING - The job is still running."
    },
    "CreatedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the snapshot job was created."
    },
    "LastUpdatedTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the snapshot job status was last updated."
    },
    "RequestId": {
      "type": "string",
      "description": "The Amazon Web Services request ID for this operation."
    },
    "Status": {
      "type": "integer",
      "description": "The HTTP status of the request"
    }
  },
  "$defs": {
    "DateTimeParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "A display name for the date-time parameter."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date-time"
          },
          "description": "The values for the date-time parameter."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    },
    "DecimalParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "A display name for the decimal parameter."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "The values for the decimal parameter."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    },
    "IntegerParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the integer parameter."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "The values for the integer parameter."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    },
    "Parameters": {
      "type": "object",
      "properties": {
        "StringParameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StringParameter"
          },
          "description": "The parameters that have a data type of string."
        },
        "IntegerParameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IntegerParameter"
          },
          "description": "The parameters that have a data type of integer."
        },
        "DecimalParameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DecimalParameter"
          },
          "description": "The parameters that have a data type of decimal."
        },
        "DateTimeParameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DateTimeParameter"
          },
          "description": "The parameters that have a data type of date-time."
        }
      }
    },
    "S3BucketConfiguration": {
      "type": "object",
      "properties": {
        "BucketName": {
          "type": "string",
          "description": "The name of an existing Amazon S3 bucket where the generated snapshot artifacts are sent."
        },
        "BucketPrefix": {
          "type": "string",
          "description": "The prefix of the Amazon S3 bucket that the generated snapshots are stored in."
        },
        "BucketRegion": {
          "type": "string",
          "description": "The region that the Amazon S3 bucket is located in. The bucket must be located in the same region that the StartDashboardSnapshotJob API call is made."
        }
      },
      "required": [
        "BucketName",
        "BucketPrefix",
        "BucketRegion"
      ]
    },
    "SnapshotAnonymousUserRedacted": {
      "type": "object",
      "properties": {
        "RowLevelPermissionTagKeys": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The tag keys for the RowLevelPermissionTags."
        }
      }
    },
    "SnapshotConfiguration": {
      "type": "object",
      "properties": {
        "FileGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SnapshotFileGroup"
          },
          "description": "A list of SnapshotJobResultFileGroup objects that contain information about the snapshot that is generated. This list can hold a maximum of 6 FileGroup configurations."
        },
        "DestinationConfiguration": {
          "$ref": "#/$defs/SnapshotDestinationConfiguration"
        },
        "Parameters": {
          "$ref": "#/$defs/Parameters"
        }
      },
      "required": [
        "FileGroups"
      ]
    },
    "SnapshotDestinationConfiguration": {
      "type": "object",
      "properties": {
        "S3Destinations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SnapshotS3DestinationConfiguration"
          },
          "description": "A list of SnapshotS3DestinationConfiguration objects that contain Amazon S3 destination configurations. This structure can hold a maximum of 1 S3DestinationConfiguration."
        }
      }
    },
    "SnapshotFile": {
      "type": "object",
      "properties": {
        "SheetSelections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SnapshotFileSheetSelection"
          },
          "description": "A list of SnapshotFileSheetSelection objects that contain information on the dashboard sheet that is exported. These objects provide information about the snapshot artifacts that are generated during the job. This structure can hold a maximum of 5 CSV configurations, 5 Excel configurations, or 1 configuration for PDF."
        },
        "FormatType": {
          "type": "string",
          "enum": [
            "CSV",
            "PDF",
            "EXCEL"
          ],
          "description": "The format of the snapshot file to be generated. You can choose between CSV, Excel, or PDF."
        }
      },
      "required": [
        "SheetSelections",
        "FormatType"
      ]
    },
    "SnapshotFileGroup": {
      "type": "object",
      "properties": {
        "Files": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SnapshotFile"
          },
          "description": "A list of SnapshotFile objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time."
        }
      }
    },
    "SnapshotFileSheetSelection": {
      "type": "object",
      "properties": {
        "SheetId": {
          "type": "string",
          "description": "The sheet ID of the dashboard to generate the snapshot artifact from. This value is required for CSV, Excel, and PDF format types."
        },
        "SelectionScope": {
          "type": "string",
          "enum": [
            "ALL_VISUALS",
            "SELECTED_VISUALS"
          ],
          "description": "The selection scope of the visuals on a sheet of a dashboard that you are generating a snapthot of. You can choose one of the following options. ALL_VISUALS - Selects all visuals that are on the sheet. This value is required if the snapshot is a PDF. SELECTED_VISUALS - Select the visual that you want to add to the snapshot. This value is required if the snapshot is a CSV or Excel workbook."
        },
        "VisualIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A structure that lists the IDs of the visuals in the selected sheet. Supported visual types are table, pivot table visuals. This value is required if you are generating a CSV or Excel workbook. This value supports a maximum of 1 visual ID for CSV and 5 visual IDs across up to 5 sheet selections for Excel. If you are generating an Excel workbook, the order of the visual IDs provided in this structure determines the order of the worksheets in the Excel file."
        }
      },
      "required": [
        "SheetId",
        "SelectionScope"
      ]
    },
    "SnapshotS3DestinationConfiguration": {
      "type": "object",
      "properties": {
        "BucketConfiguration": {
          "$ref": "#/$defs/S3BucketConfiguration"
        }
      },
      "required": [
        "BucketConfiguration"
      ]
    },
    "SnapshotUserConfigurationRedacted": {
      "type": "object",
      "properties": {
        "AnonymousUsers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SnapshotAnonymousUserRedacted"
          },
          "description": "An array of records that describe anonymous users that the dashboard snapshot is generated for. Sensitive user information is excluded."
        }
      }
    },
    "StringParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "A display name for a string parameter."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values of a string parameter."
        }
      },
      "required": [
        "Name",
        "Values"
      ]
    }
  }
}