AWS Security ChangesHomeSearch

AWS cli documentation change

Service: cli · 2025-09-28 · Documentation medium

File: cli/latest/reference/bedrock-agent-runtime/update-session.md

Summary

Restructured session identifier documentation, modified regex patterns, and reordered output fields

Security assessment

Changes involve validation pattern adjustments and documentation restructuring, but no explicit mention of security fixes. Session ID/ARN pattern modifications could affect authorization checks but lack evidence of addressing a known vulnerability.

Diff

diff --git a/cli/latest/reference/bedrock-agent-runtime/update-session.md b/cli/latest/reference/bedrock-agent-runtime/update-session.md
index 9f31e4d75..8afa0c456 100644
--- a//cli/latest/reference/bedrock-agent-runtime/update-session.md
+++ b//cli/latest/reference/bedrock-agent-runtime/update-session.md
@@ -15 +15 @@
-  * [AWS CLI 2.31.1 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.3 Command Reference](../../index.html) »
@@ -67 +66,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc
-    --session-identifier <value>
@@ -68,0 +68 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc
+    --session-identifier <value>
@@ -93,10 +92,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc
-`--session-identifier` (string) [required]
-
-> The unique identifier of the session to modify. You can specify either the session’s `sessionId` or its Amazon Resource Name (ARN).
-> 
-> Constraints:
-> 
->   * pattern: `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]+:[0-9]{12}:session/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})|([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})$`
-> 
-
-
@@ -144,0 +135,10 @@ JSON Syntax:
+`--session-identifier` (string) [required]
+
+> The unique identifier of the session to modify. You can specify either the session’s `sessionId` or its Amazon Resource Name (ARN).
+> 
+> Constraints:
+> 
+>   * pattern: `(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]+:[0-9]{12}:session/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})|([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})`
+> 
+
+
@@ -244,9 +244 @@ Disable automatically prompt for CLI input parameters.
-createdAt -> (timestamp)
-
-> The timestamp for when the session was created.
-
-lastUpdatedAt -> (timestamp)
-
-> The timestamp for when the session was last modified.
-
-sessionArn -> (string)
+sessionId -> (string)
@@ -254 +246 @@ sessionArn -> (string)
-> The Amazon Resource Name (ARN) of the session that was updated.
+> The unique identifier of the session you updated.
@@ -258 +250 @@ sessionArn -> (string)
->   * pattern: `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]+:[0-9]{12}:session/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
+>   * pattern: `[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}`
@@ -262 +254 @@ sessionArn -> (string)
-sessionId -> (string)
+sessionArn -> (string)
@@ -264 +256 @@ sessionId -> (string)
-> The unique identifier of the session you updated.
+> The Amazon Resource Name (ARN) of the session that was updated.
@@ -268 +260 @@ sessionId -> (string)
->   * pattern: `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
+>   * pattern: `arn:aws(-[^:]+)?:bedrock:[a-z0-9-]+:[0-9]{12}:session/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}`
@@ -283,0 +276,8 @@ sessionStatus -> (string)
+createdAt -> (timestamp)
+
+> The timestamp for when the session was created.
+
+lastUpdatedAt -> (timestamp)
+
+> The timestamp for when the session was last modified.
+
@@ -294 +294 @@ sessionStatus -> (string)
-  * [AWS CLI 2.31.1 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.3 Command Reference](../../index.html) »