code: func NewSessionWithConfig(awsConfig *aws.Config, logger *logrus.Logger) *session.Session {
  	return NewSessionWithConfigLevel(awsConfig, aws.LogDebugWithRequestErrors, logger)
  }
docs: // NewSessionWithConfig returns an awsSession that includes the user supplied
  // configuration information