{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-documentdb/json-schema/amazon-documentdb-delete-cluster-output-schema.json",
  "title": "DeleteClusterOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-documentdb-cluster-api-openapi.yml#/components/schemas/DeleteClusterOutput",
  "type": "object",
  "properties": {
    "cluster": {
      "$ref": "#/$defs/Cluster"
    }
  },
  "required": [
    "cluster"
  ],
  "$defs": {
    "Cluster": {
      "type": "object",
      "properties": {
        "clusterName": {
          "type": "string",
          "description": "The name of the elastic cluster."
        },
        "clusterArn": {
          "type": "string",
          "description": "The ARN identifier of the elastic cluster."
        },
        "status": {
          "type": "string",
          "description": "The status of the elastic cluster."
        },
        "clusterEndpoint": {
          "type": "string",
          "description": "The URL used to connect to the elastic cluster."
        },
        "createTime": {
          "type": "string",
          "description": "The time when the elastic cluster was created in Universal Coordinated Time (UTC)."
        },
        "adminUserName": {
          "type": "string",
          "description": "The name of the elastic cluster administrator."
        },
        "authType": {
          "type": "string",
          "description": "The authentication type for the elastic cluster."
        },
        "shardCapacity": {
          "type": "integer",
          "description": "The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64."
        },
        "shardCount": {
          "type": "integer",
          "description": "The number of shards assigned to the elastic cluster. Maximum is 32."
        },
        "vpcSecurityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of EC2 VPC security groups associated with thie elastic cluster."
        },
        "subnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon EC2 subnet IDs for the elastic cluster."
        },
        "preferredMaintenanceWindow": {
          "type": "string",
          "description": "The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi"
        },
        "kmsKeyId": {
          "type": "string",
          "description": "The KMS key identifier to use to encrypt the elastic cluster."
        },
        "shards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Shard"
          },
          "description": "The total number of shards in the cluster."
        },
        "backupRetentionPeriod": {
          "type": "integer",
          "description": "The number of days for which automatic snapshots are retained."
        },
        "preferredBackupWindow": {
          "type": "string",
          "description": "The daily time range during which automated backups are created if automated backups are enabled, as determined by backupRetentionPeriod."
        },
        "shardInstanceCount": {
          "type": "integer",
          "description": "The number of replica instances applying to all shards in the cluster. A shardInstanceCount value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability."
        }
      },
      "required": [
        "clusterName",
        "clusterArn",
        "status",
        "clusterEndpoint",
        "createTime",
        "adminUserName",
        "authType",
        "shardCapacity",
        "shardCount",
        "vpcSecurityGroupIds",
        "subnetIds",
        "preferredMaintenanceWindow",
        "kmsKeyId"
      ]
    },
    "Shard": {
      "type": "object",
      "properties": {
        "shardId": {
          "type": "string",
          "description": "The ID of the shard."
        },
        "createTime": {
          "type": "string",
          "description": "The time when the shard was created in Universal Coordinated Time (UTC)."
        },
        "status": {
          "type": "string",
          "description": "The current status of the shard."
        }
      },
      "required": [
        "shardId",
        "createTime",
        "status"
      ]
    }
  }
}