Output
An output event.
Inherited functions
Casts this RetrieveAndGenerateStreamResponseOutput as a Citation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.CitationEvent value. Throws an exception if the RetrieveAndGenerateStreamResponseOutput is not a Citation.
Casts this RetrieveAndGenerateStreamResponseOutput as a Citation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.CitationEvent value. Returns null if the RetrieveAndGenerateStreamResponseOutput is not a Citation.
Casts this RetrieveAndGenerateStreamResponseOutput as a Guardrail and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.GuardrailEvent value. Throws an exception if the RetrieveAndGenerateStreamResponseOutput is not a Guardrail.
Casts this RetrieveAndGenerateStreamResponseOutput as a Guardrail and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.GuardrailEvent value. Returns null if the RetrieveAndGenerateStreamResponseOutput is not a Guardrail.
Casts this RetrieveAndGenerateStreamResponseOutput as a Output and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.RetrieveAndGenerateOutputEvent value. Throws an exception if the RetrieveAndGenerateStreamResponseOutput is not a Output.
Casts this RetrieveAndGenerateStreamResponseOutput as a Output and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.RetrieveAndGenerateOutputEvent value. Returns null if the RetrieveAndGenerateStreamResponseOutput is not a Output.