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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7671

class UpdatePromptRequest < Struct.new(
  :customer_encryption_key_arn,
  :default_variant,
  :description,
  :name,
  :prompt_identifier,
  :variants)
  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.

[1]: docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptVariant.html

Returns:

  • (String)


7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7671

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

#descriptionString

A description for the prompt.

Returns:

  • (String)


7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7671

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

#nameString

A name for the prompt.

Returns:

  • (String)


7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7671

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

#prompt_identifierString

The unique identifier of the prompt.

Returns:

  • (String)


7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7671

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

#variantsArray<Types::PromptVariant>

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

Returns:



7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7671

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