You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `container` parameter is **not used** in AWS, so the structure created will be:
142
-
> * storage
143
-
> * directory
144
-
145
118
146
119
### PresignedPut Usage
147
120
@@ -245,76 +218,6 @@ Local Provider will write files on `.<storageName>/rocketfiles` folder
245
218
246
219
**Note**: Azure will return a 201 status but Local will return a 200
247
220
248
-
#### AWS
249
-
250
-
Create a command in your application and call the `presignedGet` method on the FileHandler class with the `directory` and `filename` you want to get on the storage.
251
-
252
-
The `storageName` parameter is optional. It will use the first storage if undefined.
Create a command in your application and call the `presignedGet` method on the FileHandler class with the `directory` and `filename` you want to get on the storage.
@@ -418,7 +321,7 @@ mutation {
418
321
}
419
322
```
420
323
421
-
This returns the following payload in Azure and AWS:
324
+
This returns the following payload in Azure:
422
325
423
326
```json
424
327
{
@@ -504,7 +407,7 @@ This returns the following payload:
504
407
{
505
408
"id": "f119ef635226888dd1bacd734f8955db",
506
409
"metadata": {
507
-
// A bunch of fields (depending on Azure or AWS)
410
+
// A bunch of fields (depending on Azure)
508
411
}
509
412
],
510
413
"count": 1,
@@ -544,7 +447,7 @@ For Local
544
447
545
448
For each upload file a new event will be generated.
546
449
547
-
On Azure and AWS, the event will be like this:
450
+
On Azure, the event will be like this:
548
451
549
452
```json
550
453
{
@@ -558,7 +461,7 @@ On Azure and AWS, the event will be like this:
558
461
"value": {
559
462
"id": "xxx",
560
463
"metadata": {
561
-
// A bunch of fields (depending on Azure or AWS)
464
+
// A bunch of fields (depending on Azure)
562
465
}
563
466
},
564
467
"createdAt": "2022-10-26T10:23:36.562Z",
@@ -636,7 +539,6 @@ az role assignment create \
636
539
Local Provider doesn't check `paths`. You should check that the `directory` and `files` passed as paratemers are valid.
637
540
638
541
### TODOs:
639
-
- Add file deletion to Azure and Local (only supported in AWS at the moment).
640
542
- Optional storage deletion when unmounting the stack.
641
543
- Optional events, in case you don't want to store that information in the events-store.
642
-
- When deleting a file, save a deletion event in the events-store. Only uploads are stored at the moment.
544
+
- When deleting a file, save a deletion event in the events-store. Only uploads are stored at the moment.
0 commit comments