{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-create-inference-profile-request-schema.json",
  "title": "CreateInferenceProfileRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-inference-profiles-api-openapi.yml#/components/schemas/CreateInferenceProfileRequest",
  "type": "object",
  "properties": {
    "inferenceProfileName": {
      "type": "string",
      "description": "A name for the inference profile."
    },
    "description": {
      "type": "string",
      "description": "A description for the inference profile."
    },
    "clientRequestToken": {
      "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."
    },
    "modelSource": {
      "$ref": "#/$defs/InferenceProfileModelSource"
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "An array of objects, each of which contains a tag and its value. For more information, see Tagging resources in the Amazon Bedrock User Guide."
    }
  },
  "required": [
    "inferenceProfileName",
    "modelSource"
  ],
  "$defs": {
    "InferenceProfileModelSource": {
      "type": "object",
      "properties": {
        "copyFrom": {
          "type": "string",
          "description": "The ARN of the model or system-defined inference profile that is the source for the inference profile."
        }
      },
      "description": "Exactly one member is set."
    },
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "Key for the tag."
        },
        "value": {
          "type": "string",
          "description": "Value for the tag."
        }
      },
      "required": [
        "key",
        "value"
      ]
    }
  }
}