(method, params)
| 3 | const accelerationCompatibleS3Methods = new Set(['upload', 'putObject']) |
| 4 | |
| 5 | export const shouldS3Accelerate = (method, params) => { |
| 6 | if ( |
| 7 | accelerationCompatibleS3Methods.has(method) && |
| 8 | params && |
| 9 | params.isS3TransferAccelerationEnabled |
| 10 | ) { |
| 11 | log.notice('Using S3 Transfer Acceleration Endpoint') |
| 12 | return true |
| 13 | } |
| 14 | return false |
| 15 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…