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_arnString

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

Returns:

  • (String)


11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11322

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

#default_variantString

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

Returns:

  • (String)


11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11322

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

#descriptionString

A description for the prompt.

Returns:

  • (String)


11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11322

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

#nameString

A name for the prompt.

Returns:

  • (String)


11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11322

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

#prompt_identifierString

The unique identifier of the prompt.

Returns:

  • (String)


11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11322

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

#variantsArray<Types::PromptVariant>

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

Returns:



11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 11322

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