Class: Aws::BedrockAgent::Types::PromptMetadataEntry

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

Overview

Contains a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see [Create a prompt using Prompt management].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html

Constant Summary collapse

SENSITIVE =
[:key, :value]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of a metadata tag for a prompt variant.

Returns:

  • (String)


6017
6018
6019
6020
6021
6022
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6017

class PromptMetadataEntry < Struct.new(
  :key,
  :value)
  SENSITIVE = [:key, :value]
  include Aws::Structure
end

#valueString

The value of a metadata tag for a prompt variant.

Returns:

  • (String)


6017
6018
6019
6020
6021
6022
# File 'lib/aws-sdk-bedrockagent/types.rb', line 6017

class PromptMetadataEntry < Struct.new(
  :key,
  :value)
  SENSITIVE = [:key, :value]
  include Aws::Structure
end