{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fsx/json-schema/amazon-fsx-restore-volume-from-snapshot-request-schema.json",
  "title": "RestoreVolumeFromSnapshotRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fsx-volume-api-openapi.yml#/components/schemas/RestoreVolumeFromSnapshotRequest",
  "type": "object",
  "properties": {
    "ClientRequestToken": {
      "type": "string"
    },
    "VolumeId": {
      "type": "string",
      "description": "The ID of the volume that you are restoring."
    },
    "SnapshotId": {
      "type": "string",
      "description": "The ID of the source snapshot. Specifies the snapshot that you are restoring from."
    },
    "Options": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "DELETE_INTERMEDIATE_SNAPSHOTS",
          "DELETE_CLONED_VOLUMES"
        ]
      },
      "description": "The settings used when restoring the specified volume from snapshot. DELETE_INTERMEDIATE_SNAPSHOTS - Deletes snapshots between the current state and the specified snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot fails. DELETE_CLONED_VOLUMES - Deletes any dependent clone volumes created from intermediate snapshots. If there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot fails."
    }
  },
  "required": [
    "VolumeId",
    "SnapshotId"
  ]
}