{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-route-53/json-schema/amazon-route-53-change-tags-for-resource-request-schema.json",
  "title": "ChangeTagsForResourceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-route-53-tags-api-openapi.yml#/components/schemas/ChangeTagsForResourceRequest",
  "type": "object",
  "properties": {
    "ResourceType": {
      "type": "string",
      "enum": [
        "healthcheck",
        "hostedzone"
      ],
      "description": "The type of the resource. The resource type for health checks is healthcheck. The resource type for hosted zones is hostedzone."
    },
    "ResourceId": {
      "type": "string",
      "description": "The ID of the resource for which you want to add, change, or delete tags."
    },
    "AddTags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for. You can add a maximum of 10 tags to a health check or a hosted zone."
    },
    "RemoveTagKeys": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys."
    }
  },
  "required": [
    "ResourceType",
    "ResourceId"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The value of Key depends on the operation that you want to perform: Add a tag to a health check or hosted zone: Key is the name that you want to give the new tag. Edit a tag: Key is the name of the tag that you want to change the Value for. Delete a key: Key is the name of the tag you want to remove. Give a name to a health check: Edit the default Name tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check."
        },
        "Value": {
          "type": "string",
          "description": "The value of Value depends on the operation that you want to perform: Add a tag to a health check or hosted zone: Value is the value that you want to give the new tag. Edit a tag: Value is the new value that you want to assign the tag."
        }
      }
    }
  }
}