Class: Aws::DevOpsAgent::Types::SendMessageEvents

Inherits:
Enumerator
  • Object
show all
Defined in:
lib/aws-sdk-devopsagent/types.rb

Overview

Event stream for chat message responses using the content block model. Events follow a lifecycle: responseCreated -> responseInProgress -> (contentBlockStart/contentBlockDelta/contentBlockStop events) -> responseCompleted|responseFailed

SendMessage always uses content block mode — legacy per-field events (outputTextDelta, functionCallArgumentsDelta, etc.) are not emitted.

EventStream is an Enumerator of Events.

#event_types #=> Array, returns all modeled event types in the stream

Instance Method Summary collapse

Instance Method Details

#event_typesObject



5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
# File 'lib/aws-sdk-devopsagent/types.rb', line 5205

def event_types
  [
    :response_created,
    :response_in_progress,
    :response_completed,
    :response_failed,
    :summary,
    :heartbeat,
    :content_block_start,
    :content_block_delta,
    :content_block_stop
  ]
end