code: func New(cnf *config.Config) iface.Broker {
  	b := &Broker{Broker: common.NewBroker(cnf)}
  	if cnf.SQS != nil && cnf.SQS.Client != nil {
  		// Use provided *SQS client
  		b.service = cnf.SQS.Client
  	} else {
  		// Initialize a session that the SDK will use to load credentials from the shared credentials file, ~/.aws/credentials.
  		// See details on: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html
  		// Also, env AWS_REGION is also required
  		b.sess = session.Must(session.NewSessionWithOptions(session.Options{
  			SharedConfigState: session.SharedConfigEnable,
  		}))
  		b.service = awssqs.New(b.sess)
  	}
  
  	return b
  }
docs: // New creates new Broker instance