This union represents a superset of the types you may receive in streaming payload outputs.

See

StreamingPayloadInputTypes for FAQ about mixing types from multiple environments.

To highlight the upstream docs about the SdkStream mixin:

The interface contains mix-in (via Object.assign) methods to transform the runtime-specific stream implementation to specified format. Each stream can ONLY be transformed once.

The available methods are described on the SdkStream type via SdkStreamMixin.