ReturnControl
Contains the parameters and information that the agent elicited from the customer to carry out an action. This information is returned to the system and can be used in your own setup for fulfilling the action.
Inherited functions
Casts this ResponseStream as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PayloadPart value. Throws an exception if the ResponseStream is not a Chunk.
Casts this ResponseStream as a Chunk and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PayloadPart value. Returns null if the ResponseStream is not a Chunk.
Casts this ResponseStream as a Files and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FilePart value. Throws an exception if the ResponseStream is not a Files.
Casts this ResponseStream as a Files and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FilePart value. Returns null if the ResponseStream is not a Files.
Casts this ResponseStream as a ReturnControl and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ReturnControlPayload value. Throws an exception if the ResponseStream is not a ReturnControl.
Casts this ResponseStream as a ReturnControl and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ReturnControlPayload value. Returns null if the ResponseStream is not a ReturnControl.
Casts this ResponseStream as a Trace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TracePart value. Throws an exception if the ResponseStream is not a Trace.
Casts this ResponseStream as a Trace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TracePart value. Returns null if the ResponseStream is not a Trace.