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 Members¶
InvokeModelWithBidirectionalStreamOutputChunk
dataclass
¶
The speech chunk that was provided as output from the invocation step.
Source code in src/aws_sdk_bedrock_runtime/models.py
13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 | |
InvokeModelWithBidirectionalStreamOutputInternalServerException
dataclass
¶
The request encountered an unknown internal error.
Source code in src/aws_sdk_bedrock_runtime/models.py
13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 | |
InvokeModelWithBidirectionalStreamOutputModelStreamErrorException
dataclass
¶
The request encountered an error with the model stream.
Source code in src/aws_sdk_bedrock_runtime/models.py
13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 | |
InvokeModelWithBidirectionalStreamOutputValidationException
dataclass
¶
The input fails to satisfy the constraints specified by an Amazon Web Services service.
Source code in src/aws_sdk_bedrock_runtime/models.py
13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 | |
InvokeModelWithBidirectionalStreamOutputThrottlingException
dataclass
¶
The request was denied due to request throttling.
Source code in src/aws_sdk_bedrock_runtime/models.py
13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 | |
InvokeModelWithBidirectionalStreamOutputModelTimeoutException
dataclass
¶
The connection was closed because a request was not received within the timeout period.
Source code in src/aws_sdk_bedrock_runtime/models.py
13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 | |
InvokeModelWithBidirectionalStreamOutputServiceUnavailableException
dataclass
¶
The request has failed due to a temporary failure of the server.
Source code in src/aws_sdk_bedrock_runtime/models.py
13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 | |
InvokeModelWithBidirectionalStreamOutputUnknown
dataclass
¶
Represents an unknown variant.
If you receive this value, you will need to update your library to receive the parsed value.
This value may not be deliberately sent.
Source code in src/aws_sdk_bedrock_runtime/models.py
13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 | |