因此,我一直在关注Amazon文档,以在我正在使用的移动应用程序上设置后端。到目前为止,我已经开始进行身份验证,但是当我尝试设置
时```import {storage} from 'aws-amplify'```
并运行示例方法
``` Storage.put('test.txt', 'Hello')
let file = 'My upload text';
let name = 'myFile.txt';
const access = { level: "public" }; // note the access path
Storage.put(name, file, access);```
我收到以下错误
```MissRequiredParameter: Missing required key 'Bucket' in params```