{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-create-flow-alias-request-schema.json",
  "title": "CreateFlowAliasRequest",
  "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/CreateFlowAliasRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "A name for 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 for which to create an alias."
    },
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock."
    }
  },
  "required": [
    "name",
    "routingConfiguration",
    "flowIdentifier"
  ],
  "$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."
        }
      }
    }
  }
}