scripts for aws api