CreatePromptRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

A description for the prompt.

Link copied to clipboard
val name: String?

A name for the prompt.

Link copied to clipboard

Any tags that you want to attach to the prompt. For more information, see Tagging resources in Amazon Bedrock.

Link copied to clipboard

A list of objects, each containing details about a variant of the prompt.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String