fix formatting of aws call