CodeInterpreterStreamOutputReceiver
rboto-bedrock-agentcore==0.4.0 · Service index · Types
Public import: from rboto_bedrock_agentcore.types import CodeInterpreterStreamOutputReceiver.
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 CodeInterpreterStreamOutputReceiver:
def __aiter__(self) -> AsyncIterator[CodeInterpreterStreamOutput]:
...
def __anext__(self) -> Awaitable[CodeInterpreterStreamOutput]:
...
def aclose(self) -> Awaitable[None]:
...
def __aenter__(self) -> Awaitable[CodeInterpreterStreamOutputReceiver]:
...
def __aexit__(self, exc_type: type[BaseException] | None, exc: BaseException | None, traceback: TracebackType | None) -> Awaitable[None]:
...
Related types
CodeInterpreterStreamOutput, CodeInterpreterStreamOutputReceiver