AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdatePrompt operation. Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
Namespace: Amazon.BedrockAgent.Model
Assembly: AWSSDK.BedrockAgent.dll
Version: 3.x.y.z
public class UpdatePromptRequest : AmazonBedrockAgentRequest IAmazonWebServiceRequest
The UpdatePromptRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
UpdatePromptRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
CustomerEncryptionKeyArn | System.String |
Gets and sets the property CustomerEncryptionKeyArn. The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt. |
![]() |
DefaultVariant | System.String |
Gets and sets the property DefaultVariant.
The name of the default variant for the prompt. This value must match the |
![]() |
Description | System.String |
Gets and sets the property Description. A description for the prompt. |
![]() |
Name | System.String |
Gets and sets the property Name. A name for the prompt. |
![]() |
PromptIdentifier | System.String |
Gets and sets the property PromptIdentifier. The unique identifier of the prompt. |
![]() |
Variants | System.Collections.Generic.List<Amazon.BedrockAgent.Model.PromptVariant> |
Gets and sets the property Variants. A list of objects, each containing details about a variant of the prompt. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5