{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-start-async-invoke-request-schema.json",
  "title": "StartAsyncInvokeRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-async-invoke-api-openapi.yml#/components/schemas/StartAsyncInvokeRequest",
  "type": "object",
  "properties": {
    "clientRequestToken": {
      "type": "string",
      "description": "Specify idempotency token to ensure that requests are not duplicated."
    },
    "modelId": {
      "type": "string",
      "description": "The model to invoke."
    },
    "modelInput": {
      "type": "object",
      "description": "Input to send to the model."
    },
    "outputDataConfig": {
      "$ref": "#/$defs/AsyncInvokeOutputDataConfig"
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BedrockRuntimeTag"
      },
      "description": "Tags to apply to the invocation."
    }
  },
  "required": [
    "modelId",
    "modelInput",
    "outputDataConfig"
  ],
  "$defs": {
    "AsyncInvokeOutputDataConfig": {
      "type": "object",
      "properties": {
        "s3OutputDataConfig": {
          "$ref": "#/$defs/AsyncInvokeS3OutputDataConfig"
        }
      },
      "description": "Exactly one member is set."
    },
    "AsyncInvokeS3OutputDataConfig": {
      "type": "object",
      "properties": {
        "s3Uri": {
          "type": "string",
          "description": "An object URI starting with s3://."
        },
        "kmsKeyId": {
          "type": "string",
          "description": "A KMS encryption key ID."
        },
        "bucketOwner": {
          "type": "string",
          "description": "If the bucket belongs to another AWS account, specify that account's ID."
        }
      },
      "required": [
        "s3Uri"
      ]
    },
    "BedrockRuntimeTag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The tag's key."
        },
        "value": {
          "type": "string",
          "description": "The tag's value."
        }
      },
      "required": [
        "key",
        "value"
      ]
    }
  }
}