UNPKG

@gravitywelluk/aws

Version:

Library of commonly used AWS wrapper functions to communicate with the AWS SDK

13 lines (12 loc) 495 B
import type AWSModule from "aws-sdk"; export interface DeleteS3ObjectParams { key: string; bucket: string; } /** * Deletes an object from AWS S3 * * @param deleteObjectParams - The parameters required to delete the object from S3 * @param awsS3ConfigOverrides - Configuration option overrides */ export declare const deleteObjectFromS3: (deleteObjectParams: DeleteS3ObjectParams, awsS3ConfigOverrides?: AWSModule.S3.ClientConfiguration) => Promise<AWSModule.S3.DeleteObjectOutput>;