removed dependency on aws sdk