store aws callback to array for saving