UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

1 lines 698 B
{"version":3,"file":"copy.mjs","sources":["../../../../../../src/providers/s3/apis/server/copy.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { getAmplifyServerContext, } from '@aws-amplify/core/internals/adapter-core';\nimport { copy as copyInternal } from '../internal/copy';\nexport const copy = async (contextSpec, input) => {\n return copyInternal(getAmplifyServerContext(contextSpec).amplify, input);\n};\n"],"names":["copyInternal"],"mappings":";;;AAAA;AACA;AAGY,MAAC,IAAI,GAAG,OAAO,WAAW,EAAE,KAAK,KAAK;AAClD,IAAI,OAAOA,MAAY,CAAC,uBAAuB,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;AAC7E;;;;"}