{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-update-task-set-request-schema.json",
  "title": "UpdateTaskSetRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecs-task-set-api-openapi.yml#/components/schemas/UpdateTaskSetRequest",
  "type": "object",
  "properties": {
    "cluster": {
      "type": "string",
      "description": "The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set is found in."
    },
    "service": {
      "type": "string",
      "description": "The short name or full Amazon Resource Name (ARN) of the service that the task set is found in."
    },
    "taskSet": {
      "type": "string",
      "description": "The short name or full Amazon Resource Name (ARN) of the task set to update."
    },
    "scale": {
      "$ref": "#/$defs/Scale"
    }
  },
  "required": [
    "cluster",
    "service",
    "taskSet",
    "scale"
  ],
  "$defs": {
    "Scale": {
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "description": "The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100."
        },
        "unit": {
          "type": "string",
          "enum": [
            "PERCENT"
          ],
          "description": "The unit of measure for the scale value."
        }
      }
    }
  }
}