AWS cli documentation change
Summary
Updated AWS CLI version reference from 2.28.8 to 2.28.11, reordered command parameters, restructured documentation sections, and modified parameter descriptions for prompt configuration fields including encryption, inference configurations, and template handling
Security assessment
While the change includes encryption key documentation (customer-encryption-key-arn), this appears to be a restructuring of existing security documentation rather than addressing a new vulnerability. No concrete evidence of security vulnerability fixes or net-new security feature documentation added.
Diff
diff --git a/cli/latest/reference/bedrock-agent/create-prompt.md b/cli/latest/reference/bedrock-agent/create-prompt.md index 5d8513251..ee56c93c6 100644 --- a//cli/latest/reference/bedrock-agent/create-prompt.md +++ b//cli/latest/reference/bedrock-agent/create-prompt.md @@ -15 +15 @@ - * [AWS CLI 2.28.8 Command Reference](../../index.html) » + * [AWS CLI 2.28.11 Command Reference](../../index.html) » @@ -69 +69,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc - [--client-token <value>] + --name <value> + [--description <value>] @@ -72,3 +72,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc - [--description <value>] - --name <value> - [--tags <value>] @@ -75,0 +74,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc + [--client-token <value>] + [--tags <value>] @@ -100,16 +99,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -`--client-token` (string) - -> A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html) . - -`--customer-encryption-key-arn` (string) - -> The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. - -`--default-variant` (string) - -> The name of the default variant for the prompt. This value must match the `name` field in the relevant [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) object. - -`--description` (string) - -> A description for the prompt. - @@ -120,12 +104 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/bedroc -`--tags` (map) - -> Any tags that you want to attach to the prompt. For more information, see [Tagging resources in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html) . -> -> key -> (string) -> -> value -> (string) - -Shorthand Syntax: - - - KeyName1=string,KeyName2=string +`--description` (string) @@ -132,0 +106 @@ Shorthand Syntax: +> A description for the prompt. @@ -134 +108 @@ Shorthand Syntax: -JSON Syntax: +`--customer-encryption-key-arn` (string) @@ -135,0 +110 @@ JSON Syntax: +> The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. @@ -137,2 +112 @@ JSON Syntax: - {"string": "string" - ...} +`--default-variant` (string) @@ -139,0 +114 @@ JSON Syntax: +> The name of the default variant for the prompt. This value must match the `name` field in the relevant [PromptVariant](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html) object. @@ -149 +124 @@ JSON Syntax: ->> additionalModelRequestFields -> (document) +>> name -> (string) @@ -151 +126 @@ JSON Syntax: ->>> Contains model-specific inference configurations that aren’t in the `inferenceConfiguration` field. To see model-specific inference parameters, see [Inference request parameters and response fields for foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html) . +>>> The name of the prompt variant. @@ -153 +128 @@ JSON Syntax: ->> genAiResource -> (tagged union structure) +>> templateType -> (string) @@ -155,13 +130 @@ JSON Syntax: ->>> Specifies a generative AI resource with which to use the prompt. ->>> ->>> ### Note ->>> ->>> This is a Tagged Union structure. Only one of the following top level keys can be set: `agent`. ->>> ->>> agent -> (structure) ->>> ->>>> Specifies an Amazon Bedrock agent with which to use the prompt. ->>>> ->>>> agentIdentifier -> (string) ->>>> ->>>>> The ARN of the agent with which to use the prompt. +>>> The type of prompt template to use. @@ -169 +132 @@ JSON Syntax: ->> inferenceConfiguration -> (tagged union structure) +>> templateConfiguration -> (tagged union structure) @@ -171 +134 @@ JSON Syntax: ->>> Contains inference configurations for the prompt variant. +>>> Contains configurations for the prompt template. @@ -175 +138 @@ JSON Syntax: ->>> This is a Tagged Union structure. Only one of the following top level keys can be set: `text`. +>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `text`, `chat`. @@ -179 +142 @@ JSON Syntax: ->>>> Contains inference configurations for a text prompt. +>>>> Contains configurations for the text in a message for a prompt. @@ -181 +144 @@ JSON Syntax: ->>>> maxTokens -> (integer) +>>>> text -> (string) @@ -183 +146 @@ JSON Syntax: ->>>>> The maximum number of tokens to return in the response. +>>>>> The message for the prompt. @@ -185 +148 @@ JSON Syntax: ->>>> stopSequences -> (list) +>>>> cachePoint -> (structure) @@ -187 +150 @@ JSON Syntax: ->>>>> A list of strings that define sequences after which the model will stop generating. +>>>>> A cache checkpoint within a template configuration. @@ -189,45 +152,3 @@ JSON Syntax: ->>>>> (string) ->>>> ->>>> temperature -> (float) ->>>> ->>>>> Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs. ->>>> ->>>> topP -> (float) ->>>> ->>>>> The percentage of most-likely candidates that the model considers for the next token. ->> ->> metadata -> (list) ->> ->>> An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant. ->>> ->>> (structure) ->>> ->>>> Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see [Create a prompt using Prompt management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html) . ->>>> ->>>> key -> (string) ->>>> ->>>>> The key of a metadata tag for a prompt variant. ->>>> ->>>> value -> (string) ->>>> ->>>>> The value of a metadata tag for a prompt variant. ->> ->> modelId -> (string) ->> ->>> The unique identifier of the model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) with which to run inference on the prompt. ->> ->> name -> (string) ->> ->>> The name of the prompt variant. ->> ->> templateConfiguration -> (tagged union structure) ->> ->>> Contains configurations for the prompt template. ->>> ->>> ### Note ->>> ->>> This is a Tagged Union structure. Only one of the following top level keys can be set: `chat`, `text`. ->>> ->>> chat -> (structure) ->>> ->>>> Contains configurations to use the prompt in a conversational format. +>>>>> type -> (string) +>>>>> +>>>>>> Indicates that the CachePointBlock is of the default type @@ -245,0 +167,4 @@ JSON Syntax: +>>> +>>> chat -> (structure) +>>> +>>>> Contains configurations to use the prompt in a conversational format. @@ -254,0 +180,4 @@ JSON Syntax: +>>>>>> role -> (string) +>>>>>> +>>>>>>> The role that the message belongs to. +>>>>>> @@ -265 +194,5 @@ JSON Syntax: ->>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `cachePoint`, `text`. +>>>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `text`, `cachePoint`. +>>>>>>>> +>>>>>>>> text -> (string) +>>>>>>>> +>>>>>>>>> The text in the message. @@ -274,8 +206,0 @@ JSON Syntax: ->>>>>>>> ->>>>>>>> text -> (string) ->>>>>>>> ->>>>>>>>> The text in the message. ->>>>>> ->>>>>> role -> (string) ->>>>>> ->>>>>>> The role that the message belongs to. @@ -293 +218,5 @@ JSON Syntax: ->>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `cachePoint`, `text`. +>>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `text`, `cachePoint`. +>>>>>> +>>>>>> text -> (string) +>>>>>> +>>>>>>> The text in the system prompt. @@ -302,4 +230,0 @@ JSON Syntax: ->>>>>> ->>>>>> text -> (string) ->>>>>> ->>>>>>> The text in the system prompt. @@ -307 +232 @@ JSON Syntax: ->>>> toolConfiguration -> (structure) +>>>> inputVariables -> (list)