lemon-engine
Version:
Lemon Engine Module to Synchronize Node over DynamoDB + ElastiCache + Elasticsearch by [lemoncloud](https://lemoncloud.io)
24 lines (23 loc) • 750 B
TypeScript
/**
* S3 Proxy Service Exports
* - proxy call to s3 service.
*
*
*
* @author steve@lemoncloud.io
* @date 2019-05-23
* @copyright (C) lemoncloud.io 2019 - All Rights Reserved.
*/
import { EnginePluggable, EnginePluginBuilder } from '../common/types';
export interface S3Proxy extends EnginePluggable {
/**
* get the current endpoint address.
*/
endpoint: () => string;
do_upload: (bucketId: any, fileName: any, fileStream: any, contentType: any) => any;
do_get_object: (bucketId: any, fileName: any) => any;
do_save: (bucket: any, name: any, file: any, type: any, path: any, tags: any) => any;
do_test_self: (options: any) => any;
}
declare const maker: EnginePluginBuilder<S3Proxy>;
export default maker;