{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-disable-fast-snapshot-restores-result-schema.json",
  "title": "DisableFastSnapshotRestoresResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-fast-snapshot-restore-api-openapi.yml#/components/schemas/DisableFastSnapshotRestoresResult",
  "type": "object",
  "properties": {
    "Successful": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DisableFastSnapshotRestoreSuccessItem"
      },
      "description": "Information about the snapshots for which fast snapshot restores were successfully disabled."
    },
    "Unsuccessful": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DisableFastSnapshotRestoreErrorItem"
      },
      "description": "Information about the snapshots for which fast snapshot restores could not be disabled."
    }
  },
  "$defs": {
    "DisableFastSnapshotRestoreErrorItem": {
      "type": "object",
      "properties": {
        "SnapshotId": {
          "type": "string",
          "description": "The ID of the snapshot."
        },
        "FastSnapshotRestoreStateErrors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DisableFastSnapshotRestoreStateErrorItem"
          },
          "description": "The errors."
        }
      }
    },
    "DisableFastSnapshotRestoreStateError": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "description": "The error code."
        },
        "Message": {
          "type": "string",
          "description": "The error message."
        }
      }
    },
    "DisableFastSnapshotRestoreStateErrorItem": {
      "type": "object",
      "properties": {
        "AvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone."
        },
        "AvailabilityZoneId": {
          "type": "string",
          "description": "The ID of the Availability Zone."
        },
        "Error": {
          "$ref": "#/$defs/DisableFastSnapshotRestoreStateError"
        }
      }
    },
    "DisableFastSnapshotRestoreSuccessItem": {
      "type": "object",
      "properties": {
        "SnapshotId": {
          "type": "string",
          "description": "The ID of the snapshot."
        },
        "AvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone."
        },
        "AvailabilityZoneId": {
          "type": "string",
          "description": "The ID of the Availability Zone."
        },
        "State": {
          "type": "string",
          "enum": [
            "enabling",
            "optimizing",
            "enabled",
            "disabling",
            "disabled"
          ],
          "description": "The state of fast snapshot restores for the snapshot."
        },
        "StateTransitionReason": {
          "type": "string",
          "description": "The reason for the state transition. The possible values are as follows: Client.UserInitiated - The state successfully transitioned to enabling or disabling. Client.UserInitiated - Lifecycle state transition - The state successfully transitioned to optimizing, enabled, or disabled."
        },
        "OwnerId": {
          "type": "string",
          "description": "The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot."
        },
        "OwnerAlias": {
          "type": "string",
          "description": "The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use."
        },
        "EnablingTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which fast snapshot restores entered the enabling state."
        },
        "OptimizingTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which fast snapshot restores entered the optimizing state."
        },
        "EnabledTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which fast snapshot restores entered the enabled state."
        },
        "DisablingTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which fast snapshot restores entered the disabling state."
        },
        "DisabledTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which fast snapshot restores entered the disabled state."
        }
      }
    }
  }
}