Class: Aws::BedrockRuntime::Types::ContentBlockDeltaEvent

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

Overview

The content block delta event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_block_indexInteger

The block index for a content block delta event.

Returns:

  • (Integer)


337
338
339
340
341
342
343
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 337

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

#deltaTypes::ContentBlockDelta

The delta for a content block delta event.



337
338
339
340
341
342
343
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 337

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

#event_typeObject

Returns the value of attribute event_type

Returns:

  • (Object)

    the current value of event_type



337
338
339
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 337

def event_type
  @event_type
end