allows passing in sdk or ses client object