UNPKG

amplify-s3-chunk-upload

Version:

A custom storage upload plugin for AWS Amplify. Instead of reading file completely in memory, it helps to read file chunk by chunk.

27 lines (26 loc) 808 B
import { CredentialsClass } from '@aws-amplify/core'; import { AWSS3Provider } from '@aws-amplify/storage'; export declare class StorageChunkUpload extends AWSS3Provider { private credentials; static category: string; static providerName: string; private _storageConfig; constructor(config: any, credentials: CredentialsClass); /** * Configure Storage part with aws configuration * @param {Object} config - Configuration of the Storage * @return {Object} - Current configuration */ configure(config?: any): object; put(key: string, object: any, config?: any): Promise<Object>; getCategory(): string; getProviderName(): string; /** * @private */ private _getPrefix; /** * @private */ _ensureCredentials(): any; }