ChatInputStream
The streaming input for the Chat
API.
Inheritors
Types
A request from an end user to perform an Amazon Q Business plugin action.
A request by an end user to upload a file during chat.
An authentication verification event response by a third party authentication server to Amazon Q Business.
A configuration event activated by an end user request to select a specific chat mode.
The end of the streaming input for the Chat
API.
Information about the payload of the ChatInputStream
event containing the end user message input.
Functions
Casts this ChatInputStream as a ActionExecutionEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.ActionExecutionEvent value. Throws an exception if the ChatInputStream is not a ActionExecutionEvent.
Casts this ChatInputStream as a ActionExecutionEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.ActionExecutionEvent value. Returns null if the ChatInputStream is not a ActionExecutionEvent.
Casts this ChatInputStream as a AttachmentEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.AttachmentInputEvent value. Throws an exception if the ChatInputStream is not a AttachmentEvent.
Casts this ChatInputStream as a AttachmentEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.AttachmentInputEvent value. Returns null if the ChatInputStream is not a AttachmentEvent.
Casts this ChatInputStream as a AuthChallengeResponseEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.AuthChallengeResponseEvent value. Throws an exception if the ChatInputStream is not a AuthChallengeResponseEvent.
Casts this ChatInputStream as a AuthChallengeResponseEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.AuthChallengeResponseEvent value. Returns null if the ChatInputStream is not a AuthChallengeResponseEvent.
Casts this ChatInputStream as a ConfigurationEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.ConfigurationEvent value. Throws an exception if the ChatInputStream is not a ConfigurationEvent.
Casts this ChatInputStream as a ConfigurationEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.ConfigurationEvent value. Returns null if the ChatInputStream is not a ConfigurationEvent.
Casts this ChatInputStream as a EndOfInputEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.EndOfInputEvent value. Throws an exception if the ChatInputStream is not a EndOfInputEvent.
Casts this ChatInputStream as a EndOfInputEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.EndOfInputEvent value. Returns null if the ChatInputStream is not a EndOfInputEvent.
Casts this ChatInputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextInputEvent value. Throws an exception if the ChatInputStream is not a TextEvent.
Casts this ChatInputStream as a TextEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.TextInputEvent value. Returns null if the ChatInputStream is not a TextEvent.