Imports github.com/aws/aws-sdk-go/aws/client github.com/aws/aws-sdk-go/internal/sdkuri github.com/aws/aws-sdk-go/aws/ec2metadata github.com/aws/aws-sdk-go/aws/credentials github.com/aws/aws-sdk-go/aws/awserr Standard library imports bufio encoding/json fmt strings time