import * as AWS from 'aws-sdk'; import { ServiceEventType } from 'handel-extension-api'; /** * Uploads an entire directory to an S3 bucket with the given key prefix * * THIS FUNCTION REQUIRES AN EXTERNAL DEPENDNCY. It requires the awscli * command-line tool installable via pip. It seems to be the only good way * to do an S3 directory sync, and I don't want to write a good one myself * in Node */ export declare function uploadDirectory(bucketName: string, keyPrefix: string, dirToUpload: string): Promise<{}>; export declare function configureBucketNotifications(bucketName: string, notificationType: ServiceEventType, notificationArn: string, notificationEvents: AWS.S3.EventList, eventFilters: AWS.S3.FilterRuleList): Promise<{}>;