* Check if tier is supported * @param {object} restoreInfo - restore information * @returns {ArsenalError|undefined} return NotImplemented error if tier not support
(restoreInfo)
| 16 | * @returns {ArsenalError|undefined} return NotImplemented error if tier not support |
| 17 | */ |
| 18 | function checkTierSupported(restoreInfo) { |
| 19 | if (!allowedRestoreObjectRequestTierValues.includes(restoreInfo.tier)) { |
| 20 | return errors.NotImplemented; |
| 21 | } |
| 22 | return undefined; |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * POST Object restore process |