Fixing an error in setting up AWS ClientConfiguration