AWS Security ChangesHomeSearch

AWS cli documentation change

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

File: cli/latest/reference/bedrock-agent-runtime/list-sessions.md

Summary

Updated CLI version, modified sessionArn/sessionId patterns, reordered fields, and adjusted nextToken regex pattern. Added createdAt/lastUpdatedAt documentation.

Security assessment

Changes include ARN pattern adjustments and documentation restructuring, but no explicit security context. Modified regex patterns (removed ^/$) could affect validation but aren't clearly linked to security fixes.

Diff

diff --git a/cli/latest/reference/bedrock-agent-runtime/list-sessions.md b/cli/latest/reference/bedrock-agent-runtime/list-sessions.md
index 13239ab02..a668b86c4 100644
--- a//cli/latest/reference/bedrock-agent-runtime/list-sessions.md
+++ b//cli/latest/reference/bedrock-agent-runtime/list-sessions.md
@@ -15 +15 @@
-  * [AWS CLI 2.31.1 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.3 Command Reference](../../index.html) »
@@ -213,12 +212,0 @@ Disable automatically prompt for CLI input parameters.
-nextToken -> (string)
-
-> If the total number of results is greater than the `maxResults` value provided in the request, use this token when making another request in the `nextToken` field to return the next batch of results.
-> 
-> Constraints:
-> 
->   * min: `1`
->   * max: `2048`
->   * pattern: `^\S*$`
-> 
-
-
@@ -233,9 +221 @@ sessionSummaries -> (list)
->> createdAt -> (timestamp) [required]
->>
->>> The timestamp for when the session was created.
->> 
->> lastUpdatedAt -> (timestamp) [required]
->>
->>> The timestamp for when the session was last modified.
->> 
->> sessionArn -> (string) [required]
+>> sessionId -> (string) [required]
@@ -243 +223 @@ sessionSummaries -> (list)
->>> The Amazon Resource Name (ARN) of the session.
+>>> The unique identifier for the session.
@@ -247 +227 @@ sessionSummaries -> (list)
->>>   * 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}`
@@ -251 +231 @@ sessionSummaries -> (list)
->> sessionId -> (string) [required]
+>> sessionArn -> (string) [required]
@@ -253 +233 @@ sessionSummaries -> (list)
->>> The unique identifier for the session.
+>>> The Amazon Resource Name (ARN) of the session.
@@ -257 +237 @@ sessionSummaries -> (list)
->>>   * 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}`
@@ -271,0 +252,20 @@ sessionSummaries -> (list)
+>> 
+>> createdAt -> (timestamp) [required]
+>>
+>>> The timestamp for when the session was created.
+>> 
+>> lastUpdatedAt -> (timestamp) [required]
+>>
+>>> The timestamp for when the session was last modified.
+
+nextToken -> (string)
+
+> If the total number of results is greater than the `maxResults` value provided in the request, use this token when making another request in the `nextToken` field to return the next batch of results.
+> 
+> Constraints:
+> 
+>   * min: `1`
+>   * max: `2048`
+>   * pattern: `\S*`
+> 
+
@@ -283 +283 @@ sessionSummaries -> (list)
-  * [AWS CLI 2.31.1 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.3 Command Reference](../../index.html) »