(key: string, value: Buffer, path: string, options: S3HandlerOptions)
| 70 | } |
| 71 | |
| 72 | async put(key: string, value: Buffer, path: string, options: S3HandlerOptions): Promise<void> { |
| 73 | await this.instance.putObject({ |
| 74 | Bucket: this.bucket, |
| 75 | Key: `${path}/${key}`, |
| 76 | Body: value, |
| 77 | StorageClass: options.redundancy || 'STANDARD', |
| 78 | Metadata: options.metadata || {}, |
| 79 | Expires: options.expires, |
| 80 | }); |
| 81 | } |
| 82 | } |
nothing calls this directly
no outgoing calls
no test coverage detected