(bucketName, configJson)
| 46 | } |
| 47 | |
| 48 | function getRateLimitPutRequest(bucketName, configJson) { |
| 49 | return { |
| 50 | bucketName, |
| 51 | headers: { |
| 52 | host: `${bucketName}.s3.amazonaws.com`, |
| 53 | }, |
| 54 | url: '/?rate-limit', |
| 55 | method: 'PUT', |
| 56 | post: JSON.stringify(configJson), |
| 57 | actionImplicitDenies: false, |
| 58 | }; |
| 59 | } |
| 60 | |
| 61 | describe('bucketDeleteRateLimit API', () => { |
| 62 | let sandbox; |
no outgoing calls
no test coverage detected