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:



3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3992

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



3992
3993
3994
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 3992

def unknown
  @unknown
end