{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-flow-alias-request-schema.json",
  "title": "UpdateFlowAliasRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-aliases-api-openapi.yml#/components/schemas/UpdateFlowAliasRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the alias."
    },
    "description": {
      "type": "string",
      "description": "A description for the alias."
    },
    "routingConfiguration": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FlowAliasRoutingConfigurationListItem"
      },
      "description": "Contains information about the version to which to map the alias."
    },
    "concurrencyConfiguration": {
      "$ref": "#/$defs/FlowAliasConcurrencyConfiguration"
    },
    "flowIdentifier": {
      "type": "string",
      "description": "The unique identifier of the flow."
    },
    "aliasIdentifier": {
      "type": "string",
      "description": "The unique identifier of the alias."
    }
  },
  "required": [
    "name",
    "routingConfiguration",
    "flowIdentifier",
    "aliasIdentifier"
  ],
  "$defs": {
    "FlowAliasConcurrencyConfiguration": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "Automatic",
            "Manual"
          ],
          "description": "The type of concurrency to use for parallel node execution. Specify one of the following options: Automatic - Amazon Bedrock determines which nodes can be executed in parallel based on the flow definition and its dependencies. Manual - You specify which nodes can be executed in parallel."
        },
        "maxConcurrency": {
          "type": "integer",
          "description": "The maximum number of nodes that can be executed concurrently in the flow."
        }
      },
      "required": [
        "type"
      ]
    },
    "FlowAliasRoutingConfigurationListItem": {
      "type": "object",
      "properties": {
        "flowVersion": {
          "type": "string",
          "description": "The version that the alias maps to."
        }
      }
    }
  }
}