Fixing an error in setting up AWS ClientConfiguration

The doIf argument was accidentally ignored