UNPKG

930 BSource Map (JSON)View Raw
1{"version":3,"file":"remove.mjs","sources":["../../../../../src/providers/s3/apis/remove.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Amplify } from '@aws-amplify/core';\nimport { remove as removeInternal } from './internal/remove';\n/**\n * Remove a file from your S3 bucket.\n * @param input - The RemoveInput object.\n * @return Output containing the removed object key\n * @throws service: {@link S3Exception} - S3 service errors thrown while getting properties\n * @throws validation: {@link StorageValidationErrorCode } - Validation errors thrown\n */\nexport const remove = (input) => {\n return removeInternal(Amplify, input);\n};\n"],"names":["removeInternal"],"mappings":";;;AAAA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,MAAM,GAAG,CAAC,KAAK,KAAK;AACjC,IAAI,OAAOA,QAAc,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;AAC1C;;;;"}
\No newline at end of file