import { S3Bucket } from "https://deno.land/x/s3@0.5.0/src/bucket.ts";
Constructors
new
S3Bucket(config: S3BucketConfig)Methods
private
parseListObjectResponseXml(x: string): ListObjectsResponsecopyObject(): Promise<PutObjectResponse>
deleteObject(key: string, options?: DeleteObjectOptions): Promise<DeleteObjectResponse>
empty(): Promise<string[]>
Deletes all objects in the bucket recursively. Returns a list of deleted keys.
getObject(key: string, options?: GetObjectOptions): Promise<GetObjectResponse | undefined>
headObject(key: string, options?: GetObjectOptions): Promise<HeadObjectResponse | undefined>
listAllObjects(options: ListAllObjectsOptions): AsyncGenerator<S3Object>
listObjects(options?: ListObjectsOptions): Promise<ListObjectsResponse | undefined>
putObject(): Promise<PutObjectResponse>