@aws-amplify/storage
Version:
Storage category of aws-amplify
12 lines (9 loc) • 435 B
JavaScript
import { getAmplifyServerContext } from '@aws-amplify/core/internals/adapter-core';
import { getUrl as getUrl$1 } from '../internal/getUrl.mjs';
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
const getUrl = async (contextSpec, input) => {
return getUrl$1(getAmplifyServerContext(contextSpec).amplify, input);
};
export { getUrl };
//# sourceMappingURL=getUrl.mjs.map