AWS Security ChangesHomeSearch

AWS bedrock medium security documentation change

Service: bedrock · 2025-11-13 · Security-related medium

File: bedrock/latest/userguide/model-parameters-marengo-3.md

Summary

Updated documentation for TwelveLabs Marengo Embed 3.0 model parameters, including added code examples, clarified input types (text/image/audio/video), new segmentation parameters, embedding options/scopes, and async output locations.

Security assessment

The change adds explicit bucket owner validation in S3 URIs (e.g., 'bucketOwner': '123456789012') which helps prevent cross-account access issues. It also emphasizes that either base64String OR s3Location must be used (not both), reducing misconfiguration risks. However, there's no direct evidence of addressing an active security vulnerability.

Diff

diff --git a/bedrock/latest/userguide/model-parameters-marengo-3.md b/bedrock/latest/userguide/model-parameters-marengo-3.md
index 329f3cbe9..2e656f26a 100644
--- a//bedrock/latest/userguide/model-parameters-marengo-3.md
+++ b//bedrock/latest/userguide/model-parameters-marengo-3.md
@@ -5 +5 @@
-TwelveLabs Marengo Embed 3.0 request parametersTwelveLabs Marengo Embed 3.0 response
+TwelveLabs Marengo Embed 3.0 request parametersTwelveLabs Marengo Embed 3.0 responseTwelveLabs Marengo Embed 3.0 code examples
@@ -73,0 +74,2 @@ If you define audio or video inline by using base64-encoding, make sure that the
+  * TwelveLabs Marengo Embed 3.0 code examples
+
@@ -101 +103 @@ Text
-Text & image
+Image
@@ -106,3 +108,2 @@ Text & image
-        "inputType": "text_image",
-        "text_image": {
-            "inputText": "string",
+      "inputType": "image",
+      "image": {
@@ -109,0 +111 @@ Text & image
+          "base64String": "base64-encoded string", // base64String OR s3Location, exactly one
@@ -111 +113 @@ Text & image
-                    "uri": "s3://amzn-s3-demo-bucket",
+            "uri": "s3://amzn-s3-demo-bucket/folder/dog.jpg",
@@ -118,14 +120 @@ Text & image
-Inline image
-    
-    
-    
-    {
-        "inputType": "image",
-        "image": {
-            "mediaSource": {
-                "base64String": "base64-encoded string"
-            }
-        }
-    }
-
-S3 image
+Text & image
@@ -136,2 +125,3 @@ S3 image
-        "inputType": "image",
-        "image": {
+      "inputType": "text_image",
+      "text_image": {
+        "inputText": "man walking a dog",
@@ -138,0 +129 @@ S3 image
+          "base64String": "base64-encoded string", // base64String OR s3Location, exactly one
@@ -140,2 +131,2 @@ S3 image
-                    "uri": "s3://amzn-s3-demo-bucket",
-                    "bucketOwner": "string"
+            "uri": "s3://amzn-s3-demo-bucket/folder/dog.jpg",
+            "bucketOwner": "123456789012"
@@ -147 +138 @@ S3 image
-S3 video
+Audio
@@ -152,2 +143,2 @@ S3 video
-        "inputType": "video",
-        "video": {
+      "inputType": "audio",
+      "audio": {
@@ -154,0 +146 @@ S3 video
+          "base64String": "base64-encoded string", // base64String OR s3Location, exactly one
@@ -156,2 +148,2 @@ S3 video
-                   "uri": "s3://amzn-s3-demo-bucket",
-                   "bucketOwner": "string"
+            "uri": "s3://amzn-s3-demo-bucket/audio/a.wav",
+            "bucketOwner": "123456789012"
@@ -158,0 +151,7 @@ S3 video
+        },
+        "startSec": 0,
+        "endSec": 6,
+        "segmentation": {
+          "method": "fixed", 
+          "fixed": {
+            "durationSec": 6
@@ -159,0 +159,9 @@ S3 video
+        },
+        "embeddingOption": [
+          "audio",
+          "transcription"
+        ], // optional, default=both
+        "embeddingScope": [
+          "clip",
+          "asset"
+        ] // optional, one or both
@@ -163 +171 @@ S3 video
-S3 audio
+Video
@@ -168,2 +176,2 @@ S3 audio
-        "inputType": "audio",
-        "audio": {
+      "inputType": "video",
+      "video": {
@@ -170,0 +179 @@ S3 audio
+          "base64String": "base64-encoded string", // base64String OR s3Location, exactly one
@@ -172,2 +181,2 @@ S3 audio
-                  "uri": "s3://amzn-s3-demo-bucket",
-                  "bucketOwner": "string"
+            "uri": "s3://amzn-s3-demo-bucket/video/clip.mp4",
+            "bucketOwner": "123456789012"
@@ -174,0 +184,7 @@ S3 audio
+        },
+        "startSec": 0,
+        "endSec": 6,
+        "segmentation": {
+          "method": "dynamic", // dynamic OR fixed, exactly one
+          "dynamic": {
+            "minDurationSec": 4
@@ -175,0 +192,3 @@ S3 audio
+          "method": "fixed",
+          "fixed": {
+            "durationSec": 6
@@ -176,0 +196,12 @@ S3 audio
+        },
+        "embeddingOption": [
+          "visual",
+          "audio", 
+          "transcription"
+        ], // optional, default=all
+        "embeddingScope": [
+          "clip",
+          "asset"
+        ] // optional, one or both
+      },
+      "inferenceId": "some inference id"
@@ -187 +218 @@ Modality for the embedding.
-  * **Valid values:** `video` | `text` | `audio` | `image` | `text_image`
+  * **Valid values:** `text` | `image` | `text_image` | `audio` | `video`
@@ -241,0 +273,118 @@ The format of the `mediaSource` object in the request body depends on whether th
+Specifies which types of embeddings to retrieve.
+
+  * **Type:** List
+
+  * **Required:** No
+
+  * **Valid values for list members:**
+
+    * `visual` – Visual embeddings from the video.
+
+    * `audio` – Embeddings of the audio in the video.
+
+    * `transcription` – Embeddings of the transcribed text.
+
+  * **Default value:**
+
+    * Video: ["visual", "audio", "transcription"]
+
+    * Audio: ["audio", "transcription"]
+
+  * **Compatible input types:** Video, Audio
+
+
+
+
+Specifies the scope of the embeddings to retrieve.
+
+  * **Type:** List
+
+  * **Required:** No
+
+  * **Valid values for list members:**
+
+    * `clip` – Returns embeddings for each clip.
+
+    * `asset` – Returns embeddings for the entire asset.
+
+  * **Compatible input types:** Video, Audio
+
+
+
+
+The time point in seconds of the clip where processing should begin.
+
+  * **Type:** Double
+
+  * **Required:** No
+
+  * **Minimum value:** 0
+
+  * **Default value:** 0
+
+  * **Compatible input types:** Video, Audio
+
+
+
+
+The time point in seconds where processing should end.
+
+  * **Type:** Double
+
+  * **Required:** No
+
+  * **Minimum value:** startSec + segment length
+
+  * **Maximum value:** Duration of media
+
+  * **Default value:** Duration of media
+
+  * **Compatible input types:** Video, Audio