Class: Aws::BedrockAgentCore::Types::HarnessToolResultBlockDelta
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::HarnessToolResultBlockDelta
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
Note:
HarnessToolResultBlockDelta is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HarnessToolResultBlockDelta corresponding to the set member.
A delta update to a tool result content block.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[:text, :json]
Instance Attribute Summary collapse
-
#json ⇒ Hash, ...
A JSON tool result delta.
-
#text ⇒ String
A text tool result delta.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#json ⇒ Hash, ...
A JSON tool result delta.
5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5431 class HarnessToolResultBlockDelta < Struct.new( :text, :json, :unknown) SENSITIVE = [:text, :json] include Aws::Structure include Aws::Structure::Union class Text < HarnessToolResultBlockDelta; end class Json < HarnessToolResultBlockDelta; end class Unknown < HarnessToolResultBlockDelta; end end |
#text ⇒ String
A text tool result delta.
5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5431 class HarnessToolResultBlockDelta < Struct.new( :text, :json, :unknown) SENSITIVE = [:text, :json] include Aws::Structure include Aws::Structure::Union class Text < HarnessToolResultBlockDelta; end class Json < HarnessToolResultBlockDelta; end class Unknown < HarnessToolResultBlockDelta; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
5431 5432 5433 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 5431 def unknown @unknown end |