Class: Aws::BedrockAgent::Types::UpdatePromptRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:variants]

Instance Attribute Summary collapse

Instance Attribute Details

#customer_encryption_key_arn ⇒ String

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

Returns:

  • (String)


12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12158

class UpdatePromptRequest < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :prompt_identifier)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#default_variant ⇒ String

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

Returns:

  • (String)


12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12158

class UpdatePromptRequest < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :prompt_identifier)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#description ⇒ String

A description for the prompt.

Returns:

  • (String)


12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12158

class UpdatePromptRequest < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :prompt_identifier)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#name ⇒ String

A name for the prompt.

Returns:

  • (String)


12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12158

class UpdatePromptRequest < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :prompt_identifier)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#prompt_identifier ⇒ String

The unique identifier of the prompt.

Returns:

  • (String)


12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12158

class UpdatePromptRequest < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :prompt_identifier)
  SENSITIVE = [:variants]
  include Aws::Structure
end

#variants ⇒ Array<Types::PromptVariant>

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

Returns:



12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 12158

class UpdatePromptRequest < Struct.new(
  :name,
  :description,
  :customer_encryption_key_arn,
  :default_variant,
  :variants,
  :prompt_identifier)
  SENSITIVE = [:variants]
  include Aws::Structure
end