InvokeHarnessStreamOutput¶
Union Type¶
InvokeHarnessStreamOutput
module-attribute
¶
InvokeHarnessStreamOutput = Union[InvokeHarnessStreamOutputMessageStart | InvokeHarnessStreamOutputContentBlockStart | InvokeHarnessStreamOutputContentBlockDelta | InvokeHarnessStreamOutputContentBlockStop | InvokeHarnessStreamOutputMessageStop | InvokeHarnessStreamOutputMetadata | InvokeHarnessStreamOutputInternalServerException | InvokeHarnessStreamOutputValidationException | InvokeHarnessStreamOutputRuntimeClientError | InvokeHarnessStreamOutputHookEvent | InvokeHarnessStreamOutputUnknown]
The streaming events returned by a harness invocation.
Union Member Types¶
InvokeHarnessStreamOutputMessageStart
dataclass
¶
InvokeHarnessStreamOutputContentBlockStart
dataclass
¶
InvokeHarnessStreamOutputContentBlockDelta
dataclass
¶
InvokeHarnessStreamOutputContentBlockStop
dataclass
¶
InvokeHarnessStreamOutputMessageStop
dataclass
¶
InvokeHarnessStreamOutputMetadata
dataclass
¶
InvokeHarnessStreamOutputInternalServerException
dataclass
¶
Bases: _SerdeShape
The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.
Attributes¶
InvokeHarnessStreamOutputValidationException
dataclass
¶
Bases: _SerdeShape
The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.