code: func NewDNSProviderConfig(config *Config) (*DNSProvider, error) {
  	if config == nil {
  		return nil, errors.New("lightsail: the configuration of the DNS provider is nil")
  	}
  
  	retryer := customRetryer{}
  	retryer.NumMaxRetries = maxRetries
  
  	conf := aws.NewConfig().WithRegion(config.Region)
  	sess, err := session.NewSession(request.WithRetryer(conf, retryer))
  	if err != nil {
  		return nil, err
  	}
  
  	return &DNSProvider{
  		config: config,
  		client: lightsail.New(sess),
  	}, nil
  }
docs: // NewDNSProviderConfig return a DNSProvider instance configured for AWS Lightsail.