Merge pull request #7708 from theodorz/patch-1

Update to fix S3 with latest AWS SDK
This commit is contained in:
Horiuchi_H
2016-01-21 11:18:04 +09:00
+3 -9
View File
@@ -147,7 +147,8 @@ declare module "aws-sdk" {
export class S3 {
constructor(options?: any);
public client: s3.Client;
putObject(params: s3.PutObjectRequest, callback: (err: any, data: any) => void): void;
getObject(params: s3.GetObjectRequest, callback: (err: any, data: any) => void): void;
}
export class DynamoDB {
@@ -1042,14 +1043,7 @@ declare module "aws-sdk" {
}
export module s3 {
export interface Client {
config: ClientConfig;
putObject(params: PutObjectRequest, callback: (err: any, data: any) => void): void;
getObject(params: GetObjectRequest, callback: (err: any, data: any) => void): void;
}
export interface PutObjectRequest {
ACL?: string;
Body?: any;