(method, params)
| 77 | const accelerationCompatibleS3Methods = new Set(['upload', 'putObject']) |
| 78 | |
| 79 | const shouldS3Accelerate = (method, params) => { |
| 80 | if ( |
| 81 | accelerationCompatibleS3Methods.has(method) && |
| 82 | params && |
| 83 | params.isS3TransferAccelerationEnabled |
| 84 | ) { |
| 85 | log.notice('Using S3 Transfer Acceleration Endpoint') |
| 86 | return true |
| 87 | } |
| 88 | return false |
| 89 | } |
| 90 | |
| 91 | const getServiceInstance = memoize( |
| 92 | (service, method) => { |
no test coverage detected
searching dependent graphs…