@aws-amplify/storage
Version:
Storage category of aws-amplify
21 lines (19 loc) • 769 B
JavaScript
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.remove = void 0;
const core_1 = require("@aws-amplify/core");
const remove_1 = require("./internal/remove");
/**
* Remove a file from your S3 bucket.
* @param input - The RemoveInput object.
* @return Output containing the removed object key
* @throws service: {@link S3Exception} - S3 service errors thrown while getting properties
* @throws validation: {@link StorageValidationErrorCode } - Validation errors thrown
*/
const remove = (input) => {
return (0, remove_1.remove)(core_1.Amplify, input);
};
exports.remove = remove;
//# sourceMappingURL=remove.js.map
;