AWS cli documentation change
Summary
Swapped --description and --invocation-id parameters, updated validation patterns, and reordered response fields
Security assessment
The changes involve parameter ordering and validation pattern adjustments (e.g., UUID format enforcement). While UUID validation could improve identifier predictability, there is no explicit mention of a security vulnerability being addressed. The changes appear to be documentation corrections rather than security fixes.
Diff
diff --git a/cli/latest/reference/bedrock-agent-runtime/create-invocation.md b/cli/latest/reference/bedrock-agent-runtime/create-invocation.md index 6e7583535..08ca7ef92 100644 --- a//cli/latest/reference/bedrock-agent-runtime/create-invocation.md +++ b//cli/latest/reference/bedrock-agent-runtime/create-invocation.md @@ -15 +15 @@ - * [AWS CLI 2.31.1 Command Reference](../../index.html) » + * [AWS CLI 2.31.3 Command Reference](../../index.html) » @@ -75 +74,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc - [--description <value>] @@ -76,0 +76 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc + [--description <value>] @@ -102 +102 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -`--description` (string) +`--invocation-id` (string) @@ -104 +104 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -> A description for the interactions in the invocation. For example, “User asking about weather in Seattle”. +> A unique identifier for the invocation in UUID format. @@ -108,2 +108 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -> * min: `1` -> * max: `200` +> * pattern: `[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}` @@ -113 +112 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -`--invocation-id` (string) +`--description` (string) @@ -115 +114 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -> A unique identifier for the invocation in UUID format. +> A description for the interactions in the invocation. For example, “User asking about weather in Seattle”. @@ -119 +118,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -> * pattern: `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$` +> * min: `1` +> * max: `200` @@ -129 +129 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -> * 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})$` +> * 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})` @@ -232,5 +232 @@ Disable automatically prompt for CLI input parameters. -createdAt -> (timestamp) - -> The timestamp for when the invocation was created. - -invocationId -> (string) +sessionId -> (string) @@ -238 +234 @@ invocationId -> (string) -> The unique identifier for the invocation. +> The unique identifier for the session associated with the invocation. @@ -242 +238 @@ invocationId -> (string) -> * pattern: `^[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}` @@ -246 +242 @@ invocationId -> (string) -sessionId -> (string) +invocationId -> (string) @@ -248 +244 @@ sessionId -> (string) -> The unique identifier for the session associated with the invocation. +> The unique identifier for the invocation. @@ -252 +248 @@ sessionId -> (string) -> * pattern: `^[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}` @@ -255,0 +252,4 @@ sessionId -> (string) +createdAt -> (timestamp) + +> The timestamp for when the invocation was created. + @@ -266 +266 @@ sessionId -> (string) - * [AWS CLI 2.31.1 Command Reference](../../index.html) » + * [AWS CLI 2.31.3 Command Reference](../../index.html) »