ChatOutputStream
The streaming output for the Chat
API.
Inheritors
Types
A request from Amazon Q Business to the end user for information Amazon Q Business needs to successfully complete a requested plugin action.
An authentication verification event activated by an end user request to use a custom plugin.
A failed file upload event during a web experience chat.
A metadata event for a AI-generated text output message in a Amazon Q Business conversation.
Information about the payload of the ChatOutputStream
event containing the AI-generated message output.
Functions
Casts this ChatOutputStream as a ActionReviewEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.ActionReviewEvent value. Throws an exception if the ChatOutputStream is not a ActionReviewEvent.
Casts this ChatOutputStream as a ActionReviewEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.ActionReviewEvent value. Returns null if the ChatOutputStream is not a ActionReviewEvent.
Casts this ChatOutputStream as a AuthChallengeRequestEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.AuthChallengeRequestEvent value. Throws an exception if the ChatOutputStream is not a AuthChallengeRequestEvent.
Casts this ChatOutputStream as a AuthChallengeRequestEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.AuthChallengeRequestEvent value. Returns null if the ChatOutputStream is not a AuthChallengeRequestEvent.
Casts this ChatOutputStream as a FailedAttachmentEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.FailedAttachmentEvent value. Throws an exception if the ChatOutputStream is not a FailedAttachmentEvent.
Casts this ChatOutputStream as a FailedAttachmentEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.FailedAttachmentEvent value. Returns null if the ChatOutputStream is not a FailedAttachmentEvent.
Casts this ChatOutputStream as a MetadataEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.MetadataEvent value. Throws an exception if the ChatOutputStream is not a MetadataEvent.
Casts this ChatOutputStream as a MetadataEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.MetadataEvent value. Returns null if the ChatOutputStream is not a MetadataEvent.
Casts this ChatOutputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextOutputEvent value. Throws an exception if the ChatOutputStream is not a TextEvent.
Casts this ChatOutputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextOutputEvent value. Returns null if the ChatOutputStream is not a TextEvent.