Class: Aws::BedrockAgentCoreControl::Types::HarnessSystemContentBlock

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

Overview

Note:

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

Note:

HarnessSystemContentBlock is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HarnessSystemContentBlock corresponding to the set member.

A content block in the system prompt.

Defined Under Namespace

Classes: Text, Unknown

Constant Summary collapse

SENSITIVE =
[:text]

Instance Attribute Summary collapse

Instance Attribute Details

#text ⇒ String

The text content of the system prompt block.

Returns:

  • (String)


12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12709

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

  class Text < HarnessSystemContentBlock; end
  class Unknown < HarnessSystemContentBlock; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



12709
12710
12711
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12709

def unknown
  @unknown
end