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.

Defined Under Namespace

Classes: TextPrompt, Unknown

Constant Summary collapse

SENSITIVE =
[:text_prompt]

Instance Attribute Summary collapse

Instance Attribute Details

#text_prompt ⇒ Types::TextPrompt

Contains information about the text prompt to optimize.

Returns:



5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5263

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



5263
5264
5265
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5263

def unknown
  @unknown
end