Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ManagedUpload

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates a managed upload object with a set of configuration options.

    Parameters

    Returns ManagedUpload

Properties

Static maxTotalParts

maxTotalParts: number

Default value: 10000

Static minPartSize

minPartSize: number

Returns the minimum number of bytes for an individual part upload. Note: Minimum allowed size is 5 MB. 1024 * 5

Methods

abort

  • abort(): void
  • Aborts a managed upload, including all concurrent upload requests.

    Returns void

on

  • on(event: "httpUploadProgress", listener: (progress: Progress) => void): any
  • Adds a listener that is triggered when theuploader has uploaded more data.

    Parameters

    • event: "httpUploadProgress"

      httpUploadProgress: triggered when the uploader has uploaded more data.

    • listener: (progress: Progress) => void

      Callback to run when the uploader has uploaded more data.

    Returns any

promise

  • Returns a 'thenable' promise.

    Returns Promise<SendData>

send

  • send(callback?: (err: AWSError, data: SendData) => void): void
  • Initiates the managed upload for the payload.

    Parameters

    • Optional callback: (err: AWSError, data: SendData) => void
        • Parameters

          Returns void

    Returns void

Generated using TypeDoc