UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

17 lines (16 loc) 596 B
import { ProgressInfo, RemoveWithPathOutput } from '../types'; export interface DeleteFolderContentsParams { s3Config: any; bucket: string; folderKey: string; expectedBucketOwner?: string; onProgress?(progress: ProgressInfo): void; abortSignal?: AbortSignal; } /** * Deletes all contents of a folder in S3 using batch operations * * @param params - Configuration object for the delete operation * @returns Promise that resolves to the removal result */ export declare const deleteFolderContents: (params: DeleteFolderContentsParams) => Promise<RemoveWithPathOutput>;