| 1118 | return r; |
| 1119 | }; |
| 1120 | const newPutIngestBucketRequest = location => new DummyRequest({ |
| 1121 | bucketName, |
| 1122 | namespace, |
| 1123 | headers: { host: `${bucketName}.s3.amazonaws.com` }, |
| 1124 | url: '/', |
| 1125 | post: '<?xml version="1.0" encoding="UTF-8"?>' + |
| 1126 | '<CreateBucketConfiguration ' + |
| 1127 | 'xmlns="http://s3.amazonaws.com/doc/2006-03-01/">' + |
| 1128 | `<LocationConstraint>${location}</LocationConstraint>` + |
| 1129 | '</CreateBucketConfiguration>', |
| 1130 | }); |
| 1131 | const archiveRestoreRequested = { |
| 1132 | archiveInfo: { foo: 0, bar: 'stuff' }, // opaque, can be anything... |
| 1133 | restoreRequestedAt: new Date().toString(), |