UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

1 lines 1.43 kB
{"version":3,"file":"remove.mjs","sources":["../../../../src/internals/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 '../../providers/s3/apis/internal/remove';\n/**\n * @internal\n */\nexport const remove = (input) => {\n return removeInternal(Amplify, {\n path: input.path,\n options: {\n useAccelerateEndpoint: input?.options?.useAccelerateEndpoint,\n bucket: input?.options?.bucket,\n expectedBucketOwner: input?.options?.expectedBucketOwner,\n locationCredentialsProvider: input?.options?.locationCredentialsProvider,\n customEndpoint: input?.options?.customEndpoint,\n onProgress: input?.options?.onProgress,\n },\n });\n};\n"],"names":["removeInternal"],"mappings":";;;AAAA;AACA;AAGA;AACA;AACA;AACY,MAAC,MAAM,GAAG,CAAC,KAAK,KAAK;AACjC,IAAI,OAAOA,QAAc,CAAC,OAAO,EAAE;AACnC,QAAQ,IAAI,EAAE,KAAK,CAAC,IAAI;AACxB,QAAQ,OAAO,EAAE;AACjB,YAAY,qBAAqB,EAAE,KAAK,EAAE,OAAO,EAAE,qBAAqB;AACxE,YAAY,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM;AAC1C,YAAY,mBAAmB,EAAE,KAAK,EAAE,OAAO,EAAE,mBAAmB;AACpE,YAAY,2BAA2B,EAAE,KAAK,EAAE,OAAO,EAAE,2BAA2B;AACpF,YAAY,cAAc,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc;AAC1D,YAAY,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU;AAClD,SAAS;AACT,KAAK,CAAC;AACN;;;;"}