InvokeModelWithBidirectionalStreamOutputReceiver
rboto-bedrock-runtime==0.4.0 · Service index · Types
Public import: from rboto_bedrock_runtime.types import InvokeModelWithBidirectionalStreamOutputReceiver.
Used in: not referenced by operation signatures. Async stream. Consume once with async for; byte streams also support await stream.read(), which buffers the complete body.
class InvokeModelWithBidirectionalStreamOutputReceiver:
def __aiter__(self) -> AsyncIterator[InvokeModelWithBidirectionalStreamEventOutput]:
...
def __anext__(self) -> Awaitable[InvokeModelWithBidirectionalStreamEventOutput]:
...
def aclose(self) -> Awaitable[None]:
...
def __aenter__(self) -> Awaitable[InvokeModelWithBidirectionalStreamOutputReceiver]:
...
def __aexit__(self, exc_type: type[BaseException] | None, exc: BaseException | None, traceback: TracebackType | None) -> Awaitable[None]:
...
Related types
InvokeModelWithBidirectionalStreamEventOutput, InvokeModelWithBidirectionalStreamOutputReceiver