{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-memorydb/json-schema/amazon-memorydb-describe-clusters-response-schema.json",
  "title": "DescribeClustersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-memorydb-clusters-api-openapi.yml#/components/schemas/DescribeClustersResponse",
  "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."
    },
    "Clusters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Cluster"
      },
      "description": "A list of clusters"
    }
  },
  "$defs": {
    "ACLsUpdateStatus": {
      "type": "object",
      "properties": {
        "ACLToApply": {
          "type": "string",
          "description": "A list of ACLs pending to be applied."
        }
      }
    },
    "Cluster": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The user-supplied name of the cluster. This identifier is a unique key that identifies a cluster."
        },
        "Description": {
          "type": "string",
          "description": "A description of the cluster"
        },
        "Status": {
          "type": "string",
          "description": "The status of the cluster. For example, Available, Updating, Creating."
        },
        "PendingUpdates": {
          "$ref": "#/$defs/ClusterPendingUpdates"
        },
        "MultiRegionClusterName": {
          "type": "string",
          "description": "The name of the multi-Region cluster that this cluster belongs to."
        },
        "NumberOfShards": {
          "type": "integer",
          "description": "The number of shards in the cluster"
        },
        "Shards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Shard"
          },
          "description": "A list of shards that are members of the cluster."
        },
        "AvailabilityMode": {
          "type": "string",
          "enum": [
            "singleaz",
            "multiaz"
          ],
          "description": "Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz)."
        },
        "ClusterEndpoint": {
          "$ref": "#/$defs/Endpoint"
        },
        "NodeType": {
          "type": "string",
          "description": "The cluster's node type"
        },
        "Engine": {
          "type": "string",
          "description": "The name of the engine used by the cluster."
        },
        "EngineVersion": {
          "type": "string",
          "description": "The Redis OSS engine version used by the cluster"
        },
        "EnginePatchVersion": {
          "type": "string",
          "description": "The Redis OSS engine patch version used by the cluster"
        },
        "ParameterGroupName": {
          "type": "string",
          "description": "The name of the parameter group used by the cluster"
        },
        "ParameterGroupStatus": {
          "type": "string",
          "description": "The status of the parameter group used by the cluster, for example 'active' or 'applying'."
        },
        "SecurityGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SecurityGroupMembership"
          },
          "description": "A list of security groups used by the cluster"
        },
        "SubnetGroupName": {
          "type": "string",
          "description": "The name of the subnet group used by the cluster"
        },
        "TLSEnabled": {
          "type": "boolean",
          "description": "A flag to indicate if In-transit encryption is enabled"
        },
        "KmsKeyId": {
          "type": "string",
          "description": "The ID of the KMS key used to encrypt the cluster"
        },
        "ARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the cluster."
        },
        "SnsTopicArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the SNS notification topic"
        },
        "SnsTopicStatus": {
          "type": "string",
          "description": "The SNS topic must be in Active status to receive notifications"
        },
        "SnapshotRetentionLimit": {
          "type": "integer",
          "description": "The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted."
        },
        "MaintenanceWindow": {
          "type": "string",
          "description": "Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period."
        },
        "SnapshotWindow": {
          "type": "string",
          "description": "The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00 If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range."
        },
        "ACLName": {
          "type": "string",
          "description": "The name of the Access Control List associated with this cluster."
        },
        "AutoMinorVersionUpgrade": {
          "type": "boolean",
          "description": "When set to true, the cluster will automatically receive minor engine version upgrades after launch."
        },
        "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."
        },
        "NetworkType": {
          "type": "string",
          "enum": [
            "ipv4",
            "ipv6",
            "dual_stack"
          ],
          "description": "The IP address type for the cluster. Returns 'ipv4' for IPv4 only, 'ipv6' for IPv6 only, or 'dual-stack' if the cluster supports both IPv4 and IPv6 addressing."
        },
        "IpDiscovery": {
          "type": "string",
          "enum": [
            "ipv4",
            "ipv6"
          ],
          "description": "The mechanism that the cluster uses to discover IP addresses. Returns 'ipv4' when DNS endpoints resolve to IPv4 addresses, or 'ipv6' when DNS endpoints resolve to IPv6 addresses."
        }
      }
    },
    "ClusterPendingUpdates": {
      "type": "object",
      "properties": {
        "Resharding": {
          "$ref": "#/$defs/ReshardingStatus"
        },
        "ACLs": {
          "$ref": "#/$defs/ACLsUpdateStatus"
        },
        "ServiceUpdates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PendingModifiedServiceUpdate"
          },
          "description": "A list of service updates being applied to the cluster"
        }
      }
    },
    "Endpoint": {
      "type": "object",
      "properties": {
        "Address": {
          "type": "string",
          "description": "The DNS hostname of the node."
        },
        "Port": {
          "type": "integer",
          "description": "The port number that the engine is listening on."
        }
      }
    },
    "Node": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The node identifier. A node name is a numeric identifier (0001, 0002, etc.). The combination of cluster name, shard name and node name uniquely identifies every node used in a customer's Amazon account."
        },
        "Status": {
          "type": "string",
          "description": "The status of the service update on the node"
        },
        "AvailabilityZone": {
          "type": "string",
          "description": "The Availability Zone in which the node resides"
        },
        "CreateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the node was created."
        },
        "Endpoint": {
          "$ref": "#/$defs/Endpoint"
        }
      }
    },
    "PendingModifiedServiceUpdate": {
      "type": "object",
      "properties": {
        "ServiceUpdateName": {
          "type": "string",
          "description": "The unique ID of the service update"
        },
        "Status": {
          "type": "string",
          "enum": [
            "available",
            "in-progress",
            "complete",
            "scheduled"
          ],
          "description": "The status of the service update"
        }
      }
    },
    "ReshardingStatus": {
      "type": "object",
      "properties": {
        "SlotMigration": {
          "$ref": "#/$defs/SlotMigration"
        }
      }
    },
    "SecurityGroupMembership": {
      "type": "object",
      "properties": {
        "SecurityGroupId": {
          "type": "string",
          "description": "The identifier of the security group."
        },
        "Status": {
          "type": "string",
          "description": "The status of the security group membership. The status changes whenever a security group is modified, or when the security groups assigned to a cluster are modified."
        }
      }
    },
    "Shard": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the shard"
        },
        "Status": {
          "type": "string",
          "description": "The current state of this replication group - creating, available, modifying, deleting."
        },
        "Slots": {
          "type": "string",
          "description": "The keyspace for this shard."
        },
        "Nodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Node"
          },
          "description": "A list containing information about individual nodes within the shard"
        },
        "NumberOfNodes": {
          "type": "integer",
          "description": "The number of nodes in the shard"
        }
      }
    },
    "SlotMigration": {
      "type": "object",
      "properties": {
        "ProgressPercentage": {
          "type": "number",
          "description": "The percentage of the slot migration that is complete."
        }
      }
    }
  }
}