Chunk
A response chunk containing command execution events such as content start, content delta, or content stop events.
Inherited functions
Link copied to clipboard
Casts this InvokeAgentRuntimeCommandStreamOutput as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ResponseChunk value. Throws an exception if the InvokeAgentRuntimeCommandStreamOutput is not a Chunk.
Link copied to clipboard
Casts this InvokeAgentRuntimeCommandStreamOutput as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.ResponseChunk value. Returns null if the InvokeAgentRuntimeCommandStreamOutput is not a Chunk.