{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-memorydb/json-schema/amazon-memorydb-describe-snapshots-response-schema.json",
  "title": "DescribeSnapshotsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-memorydb-snapshots-api-openapi.yml#/components/schemas/DescribeSnapshotsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged."
    },
    "Snapshots": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Snapshot"
      },
      "description": "A list of snapshots. Each item in the list contains detailed information about one snapshot."
    }
  },
  "$defs": {
    "ClusterConfiguration": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the cluster"
        },
        "Description": {
          "type": "string",
          "description": "The description of the cluster configuration"
        },
        "NodeType": {
          "type": "string",
          "description": "The node type used for the cluster"
        },
        "Engine": {
          "type": "string",
          "description": "The name of the engine used by the cluster configuration."
        },
        "EngineVersion": {
          "type": "string",
          "description": "The Redis OSS engine version used by the cluster"
        },
        "MaintenanceWindow": {
          "type": "string",
          "description": "The specified maintenance window for the cluster"
        },
        "TopicArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the SNS notification topic for the cluster"
        },
        "Port": {
          "type": "integer",
          "description": "The port used by the cluster"
        },
        "ParameterGroupName": {
          "type": "string",
          "description": "The name of parameter group used by the cluster"
        },
        "SubnetGroupName": {
          "type": "string",
          "description": "The name of the subnet group used by the cluster"
        },
        "VpcId": {
          "type": "string",
          "description": "The ID of the VPC the cluster belongs to"
        },
        "SnapshotRetentionLimit": {
          "type": "integer",
          "description": "The snapshot retention limit set by the cluster"
        },
        "SnapshotWindow": {
          "type": "string",
          "description": "The snapshot window set by the cluster"
        },
        "NumShards": {
          "type": "integer",
          "description": "The number of shards in the cluster"
        },
        "Shards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ShardDetail"
          },
          "description": "The list of shards in the cluster"
        },
        "MultiRegionParameterGroupName": {
          "type": "string",
          "description": "The name of the multi-Region parameter group associated with the cluster configuration."
        },
        "MultiRegionClusterName": {
          "type": "string",
          "description": "The name for the multi-Region cluster associated with the cluster configuration."
        }
      }
    },
    "ShardConfiguration": {
      "type": "object",
      "properties": {
        "Slots": {
          "type": "string",
          "description": "A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey."
        },
        "ReplicaCount": {
          "type": "integer",
          "description": "The number of read replica nodes in this shard."
        }
      }
    },
    "ShardDetail": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the shard"
        },
        "Configuration": {
          "$ref": "#/$defs/ShardConfiguration"
        },
        "Size": {
          "type": "string",
          "description": "The size of the shard's snapshot"
        },
        "SnapshotCreationTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the shard's snapshot was created"
        }
      }
    },
    "Snapshot": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the snapshot"
        },
        "Status": {
          "type": "string",
          "description": "The status of the snapshot. Valid values: creating | available | restoring | copying | deleting."
        },
        "Source": {
          "type": "string",
          "description": "Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual)."
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The ID of the KMS key used to encrypt the snapshot."
        },
        "ARN": {
          "type": "string",
          "description": "The ARN (Amazon Resource Name) of the snapshot."
        },
        "ClusterConfiguration": {
          "$ref": "#/$defs/ClusterConfiguration"
        },
        "DataTiering": {
          "type": "string",
          "enum": [
            "true",
            "false"
          ],
          "description": "Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering."
        }
      }
    }
  }
}