InvokeModelWithBidirectionalStreamOutput¶
Union Type¶
InvokeModelWithBidirectionalStreamOutput
module-attribute
¶
InvokeModelWithBidirectionalStreamOutput = Union[InvokeModelWithBidirectionalStreamOutputChunk | InvokeModelWithBidirectionalStreamOutputInternalServerException | InvokeModelWithBidirectionalStreamOutputModelStreamErrorException | InvokeModelWithBidirectionalStreamOutputValidationException | InvokeModelWithBidirectionalStreamOutputThrottlingException | InvokeModelWithBidirectionalStreamOutputModelTimeoutException | InvokeModelWithBidirectionalStreamOutputServiceUnavailableException | InvokeModelWithBidirectionalStreamOutputUnknown]
Output from the bidirectional stream that was used for model invocation.
Union Member Types¶
InvokeModelWithBidirectionalStreamOutputChunk
dataclass
¶
The speech chunk that was provided as output from the invocation step.
Attributes¶
InvokeModelWithBidirectionalStreamOutputInternalServerException
dataclass
¶
The request encountered an unknown internal error.
Attributes¶
InvokeModelWithBidirectionalStreamOutputModelStreamErrorException
dataclass
¶
The request encountered an error with the model stream.
Attributes¶
InvokeModelWithBidirectionalStreamOutputValidationException
dataclass
¶
The input fails to satisfy the constraints specified by an Amazon Web Services service.
Attributes¶
InvokeModelWithBidirectionalStreamOutputThrottlingException
dataclass
¶
The request was denied due to request throttling.
Attributes¶
InvokeModelWithBidirectionalStreamOutputModelTimeoutException
dataclass
¶
The connection was closed because a request was not received within the timeout period.