Class: Aws::BedrockAgentCore::Types::HarnessToolResultContentBlock
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::HarnessToolResultContentBlock
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
Note:
HarnessToolResultContentBlock is a union - when making an API calls you must set exactly one of the members.
A content block within a tool result.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[:text, :json]
Instance Attribute Summary collapse
-
#json ⇒ Hash, ...
JSON content.
-
#text ⇒ String
Text content.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#json ⇒ Hash, ...
JSON content.
5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5477 class HarnessToolResultContentBlock < Struct.new( :text, :json, :unknown) SENSITIVE = [:text, :json] include Aws::Structure include Aws::Structure::Union class Text < HarnessToolResultContentBlock; end class Json < HarnessToolResultContentBlock; end class Unknown < HarnessToolResultContentBlock; end end |
#text ⇒ String
Text content.
5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5477 class HarnessToolResultContentBlock < Struct.new( :text, :json, :unknown) SENSITIVE = [:text, :json] include Aws::Structure include Aws::Structure::Union class Text < HarnessToolResultContentBlock; end class Json < HarnessToolResultContentBlock; end class Unknown < HarnessToolResultContentBlock; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
5477 5478 5479 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5477 def unknown @unknown end |