UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

9 lines (8 loc) 420 B
import { UploadDataInput, UploadDataWithPathInput } from '../../types'; import { ItemWithKey, ItemWithPath } from '../../types/outputs'; /** * Get a function the returns a promise to call putObject API to S3. * * @internal */ export declare const putObjectJob: (uploadDataInput: UploadDataInput | UploadDataWithPathInput, abortSignal: AbortSignal, totalLength?: number) => () => Promise<ItemWithKey | ItemWithPath>;