added aws.GetAttributes function