AWS Security ChangesHomeSearch

AWS nova documentation change

Service: nova · 2026-03-07 · Documentation low

File: nova/latest/nova2-userguide/nova-sagemaker-inference-getting-started.md

Summary

Added service quota requirements, updated container image references, and added sample API responses for different inference formats

Security assessment

Changes primarily focus on improving documentation clarity (service quota details), updating image tag recommendations (removed versioned tag reference), and adding example API responses. No security vulnerabilities or explicit security features are mentioned in the changes.

Diff

diff --git a/nova/latest/nova2-userguide/nova-sagemaker-inference-getting-started.md b/nova/latest/nova2-userguide/nova-sagemaker-inference-getting-started.md
index dd22c517c..18c1a3cb0 100644
--- a//nova/latest/nova2-userguide/nova-sagemaker-inference-getting-started.md
+++ b//nova/latest/nova2-userguide/nova-sagemaker-inference-getting-started.md
@@ -28,0 +29,2 @@ The following are prerequisites to deploy Amazon Nova models on SageMaker infere
+  * Service quota increase - Request an Amazon SageMaker service quota increase for the ML instance type you plan to use for your SageMaker Inference endpoint (for example, `ml.p5.48xlarge for endpoint usage`). For a list of supported instance types, see [Supported models and instances](./nova-model-sagemaker-inference.html#nova-sagemaker-inference-supported). To request an increase, see [Requesting a quota increase](https://docs.aws.amazon.com//servicequotas/latest/userguide/request-quota-increase.html). For information about SageMaker instance quotas, see [SageMaker endpoints and quotas](https://docs.aws.amazon.com//general/latest/gr/sagemaker.html).
+
@@ -168 +170 @@ For more information about SageMaker execution roles, see [SageMaker Roles](http
-Configure the deployment parameters for your Amazon Nova model. These settings control model behavior, resource allocation, and inference characteristics.
+Configure the deployment parameters for your Amazon Nova model. These settings control model behavior, resource allocation, and inference characteristics. For a list of supported instance types and supported CONTEXT_LENGTH and MAX_CONCURRENCY values for each, see [Supported models and instances](./nova-model-sagemaker-inference.html#nova-sagemaker-inference-supported).
@@ -208,7 +210,2 @@ Configure the deployment parameters for your Amazon Nova model. These settings c
-    # Container Image - Replace with the image URI provided by your AWS contact
-    # Two image tags are available (both point to the same image):
-    IMAGE_LATEST = f"{ECR_ACCOUNT_MAP[REGION]}.dkr.ecr.{REGION}.amazonaws.com/nova-inference-repo:SM-Inference-latest"
-    IMAGE_VERSIONED = f"{ECR_ACCOUNT_MAP[REGION]}.dkr.ecr.{REGION}.amazonaws.com/nova-inference-repo:v1.0.0"
-    
-    # Use the versioned tag for production deployments (recommended)
-    IMAGE = IMAGE_VERSIONED
+    # Container Image
+    IMAGE = f"{ECR_ACCOUNT_MAP[REGION]}.dkr.ecr.{REGION}.amazonaws.com/nova-inference-repo:SM-Inference-latest"
@@ -216,3 +212,0 @@ Configure the deployment parameters for your Amazon Nova model. These settings c
-    print(f"Available tags:")
-    print(f"  Latest: {IMAGE_LATEST}")
-    print(f"  Versioned: {IMAGE_VERSIONED}")
@@ -631,0 +626,39 @@ Use the chat format for conversational interactions:
+**Sample response:**
+    
+    
+    {
+        "id": "chatcmpl-123456",
+        "object": "chat.completion",
+        "created": 1234567890,
+        "model": "default",
+        "choices": [
+            {
+                "index": 0,
+                "message": {
+                    "role": "assistant",
+                    "content": "Hello! I'm doing well, thank you for asking. I'm here and ready to help you with any questions or tasks you might have. How can I assist you today?"
+                },
+                "logprobs": {
+                    "content": [
+                        {
+                            "token": "Hello",
+                            "logprob": -0.123,
+                            "top_logprobs": [
+                                {"token": "Hello", "logprob": -0.123},
+                                {"token": "Hi", "logprob": -2.456},
+                                {"token": "Hey", "logprob": -3.789}
+                            ]
+                        }
+                        # Additional tokens...
+                    ]
+                },
+                "finish_reason": "stop"
+            }
+        ],
+        "usage": {
+            "prompt_tokens": 12,
+            "completion_tokens": 28,
+            "total_tokens": 40
+        }
+    }
+
@@ -652,0 +686,30 @@ Use the completion format for simple text generation:
+**Sample response:**
+    
+    
+    {
+        "id": "cmpl-789012",
+        "object": "text_completion",
+        "created": 1234567890,
+        "model": "default",
+        "choices": [
+            {
+                "text": " Paris.",
+                "index": 0,
+                "logprobs": {
+                    "tokens": [" Paris", "."],
+                    "token_logprobs": [-0.001, -0.002],
+                    "top_logprobs": [
+                        {" Paris": -0.001, " London": -5.234, " Rome": -6.789},
+                        {".": -0.002, ",": -4.567, "!": -7.890}
+                    ]
+                },
+                "finish_reason": "stop"
+            }
+        ],
+        "usage": {
+            "prompt_tokens": 6,
+            "completion_tokens": 2,
+            "total_tokens": 8
+        }
+    }
+
@@ -673,0 +737,14 @@ Use the completion format for simple text generation:
+**Sample streaming output:**
+    
+    
+    Chunk: data: {"id":"chatcmpl-029ca032-fa01-4868-80b7-c4cb1af90fb9","object":"chat.completion.chunk","created":1772060532,"model":"default","choices":[{"index":0,"delta":{"role":"assistant","content":"","reasoning_content":null},"logprobs":null,"finish_reason":null}],"prompt_token_ids":null}
+    Chunk: data: {"id":"chatcmpl-029ca032-fa01-4868-80b7-c4cb1af90fb9","object":"chat.completion.chunk","created":1772060532,"model":"default","choices":[{"index":0,"delta":{"content":" Once","reasoning_content":null},"logprobs":{"content":[{"token":"\u2581Once","logprob":-0.6078429222106934,"bytes":[226,150,129,79,110,99,101],"top_logprobs":[{"token":"\u2581Once","logprob":-0.6078429222106934,"bytes":[226,150,129,79,110,99,101]},{"token":"\u2581In","logprob":-0.7864127159118652,"bytes":[226,150,129,73,110]}]}]},"finish_reason":null,"token_ids":null}]}
+    Chunk: data: {"id":"chatcmpl-029ca032-fa01-4868-80b7-c4cb1af90fb9","object":"chat.completion.chunk","created":1772060532,"model":"default","choices":[{"index":0,"delta":{"content":" upon","reasoning_content":null},"logprobs":{"content":[{"token":"\u2581upon","logprob":-0.0012345,"bytes":[226,150,129,117,112,111,110],"top_logprobs":[{"token":"\u2581upon","logprob":-0.0012345,"bytes":[226,150,129,117,112,111,110]},{"token":"\u2581a","logprob":-6.789,"bytes":[226,150,129,97]}]}]},"finish_reason":null,"token_ids":null}]}
+    Chunk: data: {"id":"chatcmpl-029ca032-fa01-4868-80b7-c4cb1af90fb9","object":"chat.completion.chunk","created":1772060532,"model":"default","choices":[{"index":0,"delta":{"content":" a","reasoning_content":null},"logprobs":{"content":[{"token":"\u2581a","logprob":-0.0001234,"bytes":[226,150,129,97],"top_logprobs":[{"token":"\u2581a","logprob":-0.0001234,"bytes":[226,150,129,97]},{"token":"\u2581time","logprob":-9.123,"bytes":[226,150,129,116,105,109,101]}]}]},"finish_reason":null,"token_ids":null}]}
+    Chunk: data: {"id":"chatcmpl-029ca032-fa01-4868-80b7-c4cb1af90fb9","object":"chat.completion.chunk","created":1772060532,"model":"default","choices":[{"index":0,"delta":{"content":" time","reasoning_content":null},"logprobs":{"content":[{"token":"\u2581time","logprob":-0.0023456,"bytes":[226,150,129,116,105,109,101],"top_logprobs":[{"token":"\u2581time","logprob":-0.0023456,"bytes":[226,150,129,116,105,109,101]},{"token":",","logprob":-6.012,"bytes":[44]}]}]},"finish_reason":null,"token_ids":null}]}
+    
+    # Additional chunks...
+    
+    Chunk: data: {"id":"chatcmpl-029ca032-fa01-4868-80b7-c4cb1af90fb9","object":"chat.completion.chunk","created":1772060532,"model":"default","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":{"prompt_tokens":15,"completion_tokens":87,"total_tokens":102}}
+    Chunk: data: [DONE]
+
@@ -697,0 +775,25 @@ Use multimodal format for image and text inputs:
+**Sample response:**
+    
+    
+    {
+        "id": "chatcmpl-345678",
+        "object": "chat.completion",
+        "created": 1234567890,
+        "model": "default",
+        "choices": [
+            {
+                "index": 0,
+                "message": {
+                    "role": "assistant",
+                    "content": "The image shows..."
+                },
+                "finish_reason": "stop"
+            }
+        ],
+        "usage": {
+            "prompt_tokens": 1250,
+            "completion_tokens": 45,
+            "total_tokens": 1295
+        }
+    }
+