func NewThingConfig(resp *iot.CreateKeysAndCertificateOutput) *ThingConfig {
	return &ThingConfig{
		CertificateArn: *resp.CertificateArn,
		CertificateID:  *resp.CertificateId,
		CertificatePem: *resp.CertificatePem,
		KeyPair:        resp.KeyPair,
	}
}
NewThingConfig create a new thing configuration using the response
package provision
import (
	"fmt"
	"io/ioutil"
	"github.com/aws/aws-sdk-go/service/iot"
	"gopkg.in/yaml.v2"
)
type ThingConfig struct {
	CertificateArn string
	CertificateID string
	CertificatePem string
	KeyPair *iot.KeyPair
}