Made the rest get call fail when no amazon creds are given