AWS Security ChangesHomeSearch

AWS bedrock documentation change

Service: bedrock · 2026-04-22 · Documentation low

File: bedrock/latest/userguide/model-card-amazon-titan-text-embeddings-v2.md

Summary

Updated API example structure to use new message format with content array and inferenceConfig object

Security assessment

Only API example formatting changes with no security implications. This appears to be a routine update to match API specification changes.

Diff

diff --git a/bedrock/latest/userguide/model-card-amazon-titan-text-embeddings-v2.md b/bedrock/latest/userguide/model-card-amazon-titan-text-embeddings-v2.md
index 7156bb33e..b7b552ab8 100644
--- a//bedrock/latest/userguide/model-card-amazon-titan-text-embeddings-v2.md
+++ b//bedrock/latest/userguide/model-card-amazon-titan-text-embeddings-v2.md
@@ -123,2 +123,7 @@ Invoke API
-                'messages': [{ 'role': 'user', 'content': 'Can you explain the features of Amazon Bedrock?'}],
-                'max_tokens': 1024
+                'messages': [{
+                    'role': 'user',
+                    'content': [{'text': 'Can you explain the features of Amazon Bedrock?'}]
+                }],
+                'inferenceConfig': {
+                    'maxTokens': 1024
+                }