Class: Aws::BedrockAgentCore::Types::HarnessContentBlockStartEvent

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

Overview

Event indicating the start of a content block.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_block_index ⇒ Integer

The index of the content block within the message.

Returns:

  • (Integer)


4668
4669
4670
4671
4672
4673
4674
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4668

class HarnessContentBlockStartEvent < Struct.new(
  :content_block_index,
  :start,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#event_type ⇒ Object

Returns the value of attribute event_type

Returns:

  • (Object) —

    the current value of event_type



4668
4669
4670
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4668

def event_type
  @event_type
end

#start ⇒ Types::HarnessContentBlockStart

The content block start payload.



4668
4669
4670
4671
4672
4673
4674
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 4668

class HarnessContentBlockStartEvent < Struct.new(
  :content_block_index,
  :start,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end