@aws-amplify/storage
Version:
Storage category of aws-amplify
10 lines (9 loc) • 368 B
TypeScript
export interface StorageProvider {
configure(config: object): object;
get(key: string, options?: any): Promise<String | Object>;
put(key: string, object: any, options?: any): Promise<Object>;
remove(key: string, options?: any): Promise<any>;
list(path: any, options?: any): Promise<any>;
getCategory(): string;
getProviderName(): string;
}