Class: Aws::BedrockRuntime::Types::ContentBlockStart

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

Overview

Note:

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

Content block start information.

Direct Known Subclasses

ToolUse, Unknown

Defined Under Namespace

Classes: ToolUse, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tool_useTypes::ToolUseBlockStart

Information about a tool that the model is requesting to use.



164
165
166
167
168
169
170
171
172
173
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 164

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

  class ToolUse < ContentBlockStart; end
  class Unknown < ContentBlockStart; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



164
165
166
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 164

def unknown
  @unknown
end