@filesrocket/amazons3
Version:
Filerocket service to manage files from Amazon S3
13 lines (12 loc) • 379 B
TypeScript
import { Pagination, Query } from '@filesrocket/core';
import S3 from 'aws-sdk/clients/s3';
export declare type Operation = 'getObject' | 'putObject';
export interface AmazonConfig extends S3.ClientConfiguration {
Pagination: Pagination;
Bucket: string;
}
export interface ParamsUrl extends Query {
Expires: number;
Bucket: string;
Key: string;
}