AWS cli documentation change
Summary
Updated AWS CLI version reference from 2.28.8 to 2.28.11 and restructured prompt configuration documentation including changes to field names, descriptions, and template configuration structures
Security assessment
Changes involve documentation restructuring and field description updates without mentioning security vulnerabilities or protections. The modifications focus on configuration parameters and template structures rather than security controls.
Diff
diff --git a/cli/latest/reference/bedrock-agent/get-prompt.md b/cli/latest/reference/bedrock-agent/get-prompt.md index 04a1a2d0e..d088a11eb 100644 --- a//cli/latest/reference/bedrock-agent/get-prompt.md +++ b//cli/latest/reference/bedrock-agent/get-prompt.md @@ -15 +15 @@ - * [AWS CLI 2.28.8 Command Reference](../../index.html) » + * [AWS CLI 2.28.11 Command Reference](../../index.html) » @@ -202 +202 @@ Disable automatically prompt for CLI input parameters. -arn -> (string) +name -> (string) @@ -204 +204 @@ arn -> (string) -> The Amazon Resource Name (ARN) of the prompt or the prompt version (if you specified a version in the request). +> The name of the prompt. @@ -206 +206 @@ arn -> (string) -createdAt -> (timestamp) +description -> (string) @@ -208 +208 @@ createdAt -> (timestamp) -> The time at which the prompt was created. +> The descriptino of the prompt. @@ -218,16 +217,0 @@ defaultVariant -> (string) -description -> (string) - -> The descriptino of the prompt. - -id -> (string) - -> The unique identifier of the prompt. - -name -> (string) - -> The name of the prompt. - -updatedAt -> (timestamp) - -> The time at which the prompt was last updated. - @@ -242 +226 @@ variants -> (list) ->> additionalModelRequestFields -> (document) +>> name -> (string) @@ -244 +228 @@ variants -> (list) ->>> 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. @@ -246 +230 @@ variants -> (list) ->> genAiResource -> (tagged union structure) +>> templateType -> (string) @@ -248,13 +232 @@ variants -> (list) ->>> 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. @@ -262 +234 @@ variants -> (list) ->> inferenceConfiguration -> (tagged union structure) +>> templateConfiguration -> (tagged union structure) @@ -264 +236 @@ variants -> (list) ->>> Contains inference configurations for the prompt variant. +>>> Contains configurations for the prompt template. @@ -268 +240 @@ variants -> (list) ->>> 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`. @@ -272 +244 @@ variants -> (list) ->>>> Contains inference configurations for a text prompt. +>>>> Contains configurations for the text in a message for a prompt. @@ -274 +246 @@ variants -> (list) ->>>> maxTokens -> (integer) +>>>> text -> (string) @@ -276 +248 @@ variants -> (list) ->>>>> The maximum number of tokens to return in the response. +>>>>> The message for the prompt. @@ -278 +250 @@ variants -> (list) ->>>> stopSequences -> (list) +>>>> cachePoint -> (structure) @@ -280 +252 @@ variants -> (list) ->>>>> A list of strings that define sequences after which the model will stop generating. +>>>>> A cache checkpoint within a template configuration. @@ -282,45 +254,3 @@ variants -> (list) ->>>>> (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 @@ -338,0 +269,4 @@ variants -> (list) +>>> +>>> chat -> (structure) +>>> +>>>> Contains configurations to use the prompt in a conversational format. @@ -347,0 +282,4 @@ variants -> (list) +>>>>>> role -> (string) +>>>>>> +>>>>>>> The role that the message belongs to. +>>>>>> @@ -358 +296,5 @@ variants -> (list) ->>>>>>>> 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. @@ -367,8 +308,0 @@ variants -> (list) ->>>>>>>> ->>>>>>>> text -> (string) ->>>>>>>> ->>>>>>>>> The text in the message. ->>>>>> ->>>>>> role -> (string) ->>>>>> ->>>>>>> The role that the message belongs to. @@ -386 +320,5 @@ variants -> (list) ->>>>>> 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. @@ -395,4 +332,0 @@ variants -> (list) ->>>>>> ->>>>>> text -> (string) ->>>>>> ->>>>>>> The text in the system prompt. @@ -400 +334 @@ variants -> (list) ->>>> toolConfiguration -> (structure) +>>>> inputVariables -> (list) @@ -402 +336 @@ variants -> (list) ->>>>> Configuration information for the tools that the model can use when generating a response. +>>>>> An array of the variables in the prompt template. @@ -404 +338 @@ variants -> (list) ->>>>> toolChoice -> (tagged union structure) +>>>>> (structure) @@ -406,13 +340 @@ variants -> (list) ->>>>>> Defines which tools the model should request when invoked. ->>>>>> ->>>>>> ### Note ->>>>>> ->>>>>> This is a Tagged Union structure. Only one of the following top level keys can be set: `any`, `auto`, `tool`. ->>>>>> ->>>>>> any -> (structure) ->>>>>> ->>>>>>> Defines tools, at least one of which must be requested by the model. No text is generated but the results of tool use are sent back to the model to help generate a response. ->>>>>> ->>>>>> auto -> (structure) ->>>>>> ->>>>>>> Defines tools. The model automatically decides whether to call a tool or to generate text instead. +>>>>>> Contains information about a variable in the prompt. @@ -420 +342 @@ variants -> (list) ->>>>>> tool -> (structure) +>>>>>> name -> (string) @@ -422,5 +344,5 @@ variants -> (list) ->>>>>>> Defines a specific tool that the model must request. No text is generated but the results of tool use are sent back to the model to help generate a response.