Imports github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws/credentials github.com/aws/aws-sdk-go/aws/session github.com/aws/aws-sdk-go/service/sts Standard library imports bufio bytes encoding/json fmt io/ioutil log math/rand net/http os strconv strings time