{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-agent-alias-request-schema.json",
  "title": "UpdateAgentAliasRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-agentaliases-api-openapi.yml#/components/schemas/UpdateAgentAliasRequest",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "description": "The unique identifier of the agent."
    },
    "agentAliasId": {
      "type": "string",
      "description": "The unique identifier of the alias."
    },
    "agentAliasName": {
      "type": "string",
      "description": "Specifies a new name for the alias."
    },
    "description": {
      "type": "string",
      "description": "Specifies a new description for the alias."
    },
    "routingConfiguration": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentAliasRoutingConfigurationListItem"
      },
      "description": "Contains details about the routing configuration of the alias."
    },
    "aliasInvocationState": {
      "type": "string",
      "enum": [
        "ACCEPT_INVOCATIONS",
        "REJECT_INVOCATIONS"
      ],
      "description": "The invocation state for the agent alias. To pause the agent alias, set the value to REJECT_INVOCATIONS. To start the agent alias running again, set the value to ACCEPT_INVOCATIONS. Use the GetAgentAlias, or ListAgentAliases, operation to get the invocation state of an agent alias."
    }
  },
  "required": [
    "agentId",
    "agentAliasId",
    "agentAliasName"
  ],
  "$defs": {
    "AgentAliasRoutingConfigurationListItem": {
      "type": "object",
      "properties": {
        "agentVersion": {
          "type": "string",
          "description": "The version of the agent with which the alias is associated."
        },
        "provisionedThroughput": {
          "type": "string",
          "description": "Information on the Provisioned Throughput assigned to an agent alias."
        }
      }
    }
  }
}