not using requests; import boto only if needed