Skip to content

/AWS1/CL_DOASENDMSGEVENTS_EV

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_responsecreated TYPE REF TO /AWS1/CL_DOASENDMSGRSPCREDEVT /AWS1/CL_DOASENDMSGRSPCREDEVT

Emitted when the response is created

io_responseinprogress TYPE REF TO /AWS1/CL_DOASENDMSGRSPINPRGEVT /AWS1/CL_DOASENDMSGRSPINPRGEVT

Emitted while the response is being generated

io_responsecompleted TYPE REF TO /AWS1/CL_DOASENDMSGRSPCMPLEVT /AWS1/CL_DOASENDMSGRSPCMPLEVT

Emitted when the response completes successfully

io_responsefailed TYPE REF TO /AWS1/CL_DOASENDMSGRSPFAILEVT /AWS1/CL_DOASENDMSGRSPFAILEVT

Emitted when the response fails

io_summary TYPE REF TO /AWS1/CL_DOASENDMSGSUMMEVENT /AWS1/CL_DOASENDMSGSUMMEVENT

Emitted to provide a summary of agent actions

io_heartbeat TYPE REF TO /AWS1/CL_DOASENDMSGHEARTBEAT00 /AWS1/CL_DOASENDMSGHEARTBEAT00

Heartbeat event sent periodically to keep the connection alive during idle periods

io_contentblockstart TYPE REF TO /AWS1/CL_DOASENDMSGCONTBLKST00 /AWS1/CL_DOASENDMSGCONTBLKST00

Emitted when a new content block starts

io_contentblockdelta TYPE REF TO /AWS1/CL_DOASENDMSGCONTBLKDE00 /AWS1/CL_DOASENDMSGCONTBLKDE00

Emitted for each incremental content delta within a content block

io_contentblockstop TYPE REF TO /AWS1/CL_DOASENDMSGCONTBLKST01 /AWS1/CL_DOASENDMSGCONTBLKST01

Emitted when a content block is complete


Queryable Attributes

responseCreated

Emitted when the response is created

Accessible with the following methods

Method Description
GET_RESPONSECREATED() Getter for RESPONSECREATED

responseInProgress

Emitted while the response is being generated

Accessible with the following methods

Method Description
GET_RESPONSEINPROGRESS() Getter for RESPONSEINPROGRESS

responseCompleted

Emitted when the response completes successfully

Accessible with the following methods

Method Description
GET_RESPONSECOMPLETED() Getter for RESPONSECOMPLETED

responseFailed

Emitted when the response fails

Accessible with the following methods

Method Description
GET_RESPONSEFAILED() Getter for RESPONSEFAILED

summary

Emitted to provide a summary of agent actions

Accessible with the following methods

Method Description
GET_SUMMARY() Getter for SUMMARY

heartbeat

Heartbeat event sent periodically to keep the connection alive during idle periods

Accessible with the following methods

Method Description
GET_HEARTBEAT() Getter for HEARTBEAT

contentBlockStart

Emitted when a new content block starts

Accessible with the following methods

Method Description
GET_CONTENTBLOCKSTART() Getter for CONTENTBLOCKSTART

contentBlockDelta

Emitted for each incremental content delta within a content block

Accessible with the following methods

Method Description
GET_CONTENTBLOCKDELTA() Getter for CONTENTBLOCKDELTA

contentBlockStop

Emitted when a content block is complete

Accessible with the following methods

Method Description
GET_CONTENTBLOCKSTOP() Getter for CONTENTBLOCKSTOP