UNPKG

657 BJavaScriptView Raw
1import { Amplify } from '@aws-amplify/core';
2import { remove as remove$1 } from './internal/remove.mjs';
3
4// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5// SPDX-License-Identifier: Apache-2.0
6/**
7 * Remove a file from your S3 bucket.
8 * @param input - The RemoveInput object.
9 * @return Output containing the removed object key
10 * @throws service: {@link S3Exception} - S3 service errors thrown while getting properties
11 * @throws validation: {@link StorageValidationErrorCode } - Validation errors thrown
12 */
13const remove = (input) => {
14 return remove$1(Amplify, input);
15};
16
17export { remove };
18//# sourceMappingURL=remove.mjs.map