How to use the @aws-amplify/storage.remove function in @aws-amplify/storage

To help you get started, we’ve selected a few @aws-amplify/storage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yhenni1989 / Plush / src / components / Feed.js View on Github external
removeImageFromS3 = async (key) => {
    await Storage.remove(key)
      .then(result => console.log('Picture deleted', result))
      .catch(err => console.log(err))
  }

@aws-amplify/storage

Storage category of aws-amplify

Apache-2.0
Latest version published 3 days ago

Package Health Score

92 / 100
Full package analysis

Similar packages