{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-put-model-invocation-logging-configuration-request-schema.json",
  "title": "PutModelInvocationLoggingConfigurationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-logging-api-openapi.yml#/components/schemas/PutModelInvocationLoggingConfigurationRequest",
  "type": "object",
  "properties": {
    "loggingConfig": {
      "$ref": "#/$defs/LoggingConfig"
    }
  },
  "required": [
    "loggingConfig"
  ],
  "$defs": {
    "CloudWatchConfig": {
      "type": "object",
      "properties": {
        "logGroupName": {
          "type": "string",
          "description": "The log group name."
        },
        "roleArn": {
          "type": "string",
          "description": "The role Amazon Resource Name (ARN)."
        },
        "largeDataDeliveryS3Config": {
          "$ref": "#/$defs/S3Config"
        }
      },
      "required": [
        "logGroupName",
        "roleArn"
      ]
    },
    "LoggingConfig": {
      "type": "object",
      "properties": {
        "cloudWatchConfig": {
          "$ref": "#/$defs/CloudWatchConfig"
        },
        "s3Config": {
          "$ref": "#/$defs/S3Config"
        },
        "textDataDeliveryEnabled": {
          "type": "boolean",
          "description": "Set to include text data in the log delivery."
        },
        "imageDataDeliveryEnabled": {
          "type": "boolean",
          "description": "Set to include image data in the log delivery."
        },
        "embeddingDataDeliveryEnabled": {
          "type": "boolean",
          "description": "Set to include embeddings data in the log delivery."
        },
        "videoDataDeliveryEnabled": {
          "type": "boolean",
          "description": "Set to include video data in the log delivery."
        },
        "audioDataDeliveryEnabled": {
          "type": "boolean",
          "description": "Set to include audio data in the log delivery."
        }
      }
    },
    "S3Config": {
      "type": "object",
      "properties": {
        "bucketName": {
          "type": "string",
          "description": "S3 bucket name."
        },
        "keyPrefix": {
          "type": "string",
          "description": "S3 prefix."
        }
      },
      "required": [
        "bucketName"
      ]
    }
  }
}