Class: Aws::BedrockRuntime::Types::ContentBlockStartEvent

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

Overview

Content block start event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_block_indexInteger

The index for a content block start event.

Returns:

  • (Integer)


251
252
253
254
255
256
257
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 251

class ContentBlockStartEvent < Struct.new(
  :start,
  :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



251
252
253
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 251

def event_type
  @event_type
end

#startTypes::ContentBlockStart

Start information about a content block start event.



251
252
253
254
255
256
257
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 251

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