UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

21 lines (18 loc) 799 B
import { Amplify } from '@aws-amplify/core'; import { getProperties as getProperties$1 } from './internal/getProperties.mjs'; // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 /** * Gets the properties of a file. The properties include S3 system metadata and * the user metadata that was provided when uploading the file. * * @param input - The GetPropertiesInput object. * @returns Requested object properties. * @throws A {@link S3Exception} when the underlying S3 service returned error. * @throws A {@link StorageValidationErrorCode} when API call parameters are invalid. */ const getProperties = (input) => { return getProperties$1(Amplify, input); }; export { getProperties }; //# sourceMappingURL=getProperties.mjs.map