awsapi script