validateInput = (lambdaARN, optimalValue) => {
    if (!lambdaARN) {
        throw new Error('Missing or empty lambdaARN');
    }
    if (!optimalValue) {
        throw new Error('Missing or empty optimal value');
    }
}
Optionally auto-optimize based on the optimal power value.