adding aws auth to func