UNPKG

1.09 kBSource Map (JSON)View Raw
1{"version":3,"file":"getProperties.mjs","sources":["../../../../../src/providers/s3/apis/getProperties.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 { getProperties as getPropertiesInternal } from './internal/getProperties';\n/**\n * Gets the properties of a file. The properties include S3 system metadata and\n * the user metadata that was provided when uploading the file.\n *\n * @param input - The GetPropertiesInput object.\n * @returns Requested object properties.\n * @throws A {@link S3Exception} when the underlying S3 service returned error.\n * @throws A {@link StorageValidationErrorCode} when API call parameters are invalid.\n */\nexport const getProperties = (input) => {\n return getPropertiesInternal(Amplify, input);\n};\n"],"names":["getPropertiesInternal"],"mappings":";;;AAAA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,aAAa,GAAG,CAAC,KAAK,KAAK;AACxC,IAAI,OAAOA,eAAqB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;AACjD;;;;"}
\No newline at end of file