{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-well-architected-tool/json-schema/amazon-well-architected-tool-update-agent-goal-request-schema.json",
  "title": "UpdateAgentGoalRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-well-architected-tool-goals-api-openapi.yml#/components/schemas/UpdateAgentGoalRequest",
  "type": "object",
  "properties": {
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."
    },
    "profileArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the profile containing the goal to update."
    },
    "id": {
      "type": "string",
      "description": "The unique identifier of the goal to update."
    },
    "pillars": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "COST_OPTIMIZATION",
          "SECURITY",
          "RESILIENCE",
          "PERFORMANCE",
          "OPERATIONAL_EXCELLENCE"
        ]
      },
      "description": "The updated pillars for the goal. Pillars define the optimization focus areas such as cost, performance, resilience, and operational excellence."
    },
    "title": {
      "type": "string",
      "description": "The updated title for the goal. Maximum length of 1000 characters."
    },
    "description": {
      "type": "string",
      "description": "A description of the goal."
    }
  },
  "required": [
    "profileArn",
    "id"
  ]
}