{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudhsm/json-schema/amazon-cloudhsm-modify-cluster-request-schema.json",
  "title": "ModifyClusterRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudhsm-cluster-api-openapi.yml#/components/schemas/ModifyClusterRequest",
  "type": "object",
  "properties": {
    "HsmType": {
      "type": "string",
      "description": "The desired HSM type of the cluster."
    },
    "BackupRetentionPolicy": {
      "$ref": "#/$defs/BackupRetentionPolicy"
    },
    "ClusterId": {
      "type": "string",
      "description": "The identifier (ID) of the cluster that you want to modify. To find the cluster ID, use DescribeClusters."
    }
  },
  "required": [
    "ClusterId"
  ],
  "$defs": {
    "BackupRetentionPolicy": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "DAYS"
          ],
          "description": "The type of backup retention policy. For the DAYS type, the value is the number of days to retain backups."
        },
        "Value": {
          "type": "string",
          "description": "Use a value between 7 - 379."
        }
      }
    }
  }
}