AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.BedrockAgent.AmazonBedrockAgentRequest
      Amazon.BedrockAgent.Model.UpdatePromptRequest

Namespace: Amazon.BedrockAgent.Model
Assembly: AWSSDK.BedrockAgent.dll
Version: 3.x.y.z

Syntax

C#
public class UpdatePromptRequest : AmazonBedrockAgentRequest
         IAmazonWebServiceRequest

The UpdatePromptRequest type exposes the following members

Constructors

NameDescription
Public Method UpdatePromptRequest()

Properties

NameTypeDescription
Public Property CustomerEncryptionKeyArn System.String

Gets and sets the property CustomerEncryptionKeyArn.

The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.

Public Property DefaultVariant System.String

Gets and sets the property DefaultVariant.

The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.

Public Property Description System.String

Gets and sets the property Description.

A description for the prompt.

Public Property Name System.String

Gets and sets the property Name.

A name for the prompt.

Public Property PromptIdentifier System.String

Gets and sets the property PromptIdentifier.

The unique identifier of the prompt.

Public Property 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.

Version Information

.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