Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

The interface contains mix-in utility functions to transfer the runtime-specific stream implementation to specified format. Each stream can ONLY be transformed once.

Hierarchy

  • SdkStreamMixin

Properties

transformToByteArray: (() => Promise<Uint8Array>)

Type declaration

    • (): Promise<Uint8Array>
    • Returns Promise<Uint8Array>

transformToString: ((encoding?: string) => Promise<string>)

Type declaration

    • (encoding?: string): Promise<string>
    • Parameters

      • Optional encoding: string

      Returns Promise<string>

transformToWebStream: (() => ReadableStream<any>)

Type declaration

    • (): ReadableStream<any>
    • Returns ReadableStream<any>