Class: Aws::BedrockAgentRuntime::Types::InputPrompt

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

Overview

Note:

InputPrompt is a union - when making an API calls you must set exactly one of the members.

Contains information about the prompt to optimize.

Direct Known Subclasses

TextPrompt, Unknown

Defined Under Namespace

Classes: TextPrompt, Unknown

Constant Summary collapse

SENSITIVE =
[:text_prompt]

Instance Attribute Summary collapse

Instance Attribute Details

#text_promptTypes::TextPrompt

Contains information about the text prompt to optimize.

Returns:



2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2595

class InputPrompt < Struct.new(
  :text_prompt,
  :unknown)
  SENSITIVE = [:text_prompt]
  include Aws::Structure
  include Aws::Structure::Union

  class TextPrompt < InputPrompt; end
  class Unknown < InputPrompt; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2595
2596
2597
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2595

def unknown
  @unknown
end