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 CreatePrompt operation. Creates a prompt in your prompt library that you can add to a flow. For more information, see Prompt management in Amazon Bedrock, Create a prompt using Prompt management and Prompt flows in Amazon Bedrock in the Amazon Bedrock User Guide.
Namespace: Amazon.BedrockAgent.Model
Assembly: AWSSDK.BedrockAgent.dll
Version: 3.x.y.z
public class CreatePromptRequest : AmazonBedrockAgentRequest IAmazonWebServiceRequest
The CreatePromptRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreatePromptRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ClientToken | System.String |
Gets and sets the property ClientToken. 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. |
![]() |
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. |
![]() |
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. Any tags that you want to attach to the prompt. For more information, see Tagging resources in Amazon Bedrock. |
![]() |
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