Class: Aws::BedrockAgentCore::Types::ResponseChunk
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCore::Types::ResponseChunk
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb
Overview
A structure representing a response chunk that contains exactly one of
the possible event types: contentStart, contentDelta, or
contentStop.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#content_delta ⇒ Types::ContentDeltaEvent
An event containing incremental output (stdout or stderr) from the command execution.
-
#content_start ⇒ Types::ContentStartEvent
An event indicating the start of content streaming from the command execution.
-
#content_stop ⇒ Types::ContentStopEvent
An event indicating the completion of the command execution, including the exit code and final status.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
Instance Attribute Details
#content_delta ⇒ Types::ContentDeltaEvent
An event containing incremental output (stdout or stderr) from the command execution. These are the middle chunks.
9070 9071 9072 9073 9074 9075 9076 9077 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 9070 class ResponseChunk < Struct.new( :content_start, :content_delta, :content_stop, :event_type) SENSITIVE = [] include Aws::Structure end |
#content_start ⇒ Types::ContentStartEvent
An event indicating the start of content streaming from the command execution. This is the first chunk received.
9070 9071 9072 9073 9074 9075 9076 9077 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 9070 class ResponseChunk < Struct.new( :content_start, :content_delta, :content_stop, :event_type) SENSITIVE = [] include Aws::Structure end |
#content_stop ⇒ Types::ContentStopEvent
An event indicating the completion of the command execution, including the exit code and final status. This is the last chunk received.
9070 9071 9072 9073 9074 9075 9076 9077 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 9070 class ResponseChunk < Struct.new( :content_start, :content_delta, :content_stop, :event_type) SENSITIVE = [] include Aws::Structure end |
#event_type ⇒ Object
Returns the value of attribute event_type
9070 9071 9072 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 9070 def event_type @event_type end |