{"version":3,"file":"uploadData.mjs","sources":["../../../../../src/providers/s3/apis/uploadData.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { Amplify, defaultStorage } from '@aws-amplify/core';\nimport { uploadData as uploadDataInternal } from './internal/uploadData';\nexport function uploadData(input) {\n    return uploadDataInternal(Amplify, {\n        ...input,\n        options: {\n            ...input?.options,\n            // This option enables caching in-progress multipart uploads.\n            // It's ONLY needed for client-side API.\n            resumableUploadsCache: defaultStorage,\n        },\n    });\n}\n"],"names":["uploadDataInternal"],"mappings":";;;AAAA;AACA;AAGO,SAAS,UAAU,CAAC,KAAK,EAAE;AAClC,IAAI,OAAOA,YAAkB,CAAC,OAAO,EAAE;AACvC,QAAQ,GAAG,KAAK;AAChB,QAAQ,OAAO,EAAE;AACjB,YAAY,GAAG,KAAK,EAAE,OAAO;AAC7B;AACA;AACA,YAAY,qBAAqB,EAAE,cAAc;AACjD,SAAS;AACT,KAAK,CAAC;AACN;;;;"}