Class: Aws::BedrockRuntime::Types::ContentBlockStopEvent

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

Overview

A content block stop event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_block_indexInteger

The index for a content block.

Returns:

  • (Integer)


394
395
396
397
398
399
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 394

class ContentBlockStopEvent < Struct.new(
  :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



394
395
396
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 394

def event_type
  @event_type
end