code: func (s *GetDomainStatisticsReportInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "GetDomainStatisticsReportInput"}
  	if s.Domain == nil {
  		invalidParams.Add(request.NewErrParamRequired("Domain"))
  	}
  	if s.Domain != nil && len(*s.Domain) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Domain", 1))
  	}
  	if s.EndDate == nil {
  		invalidParams.Add(request.NewErrParamRequired("EndDate"))
  	}
  	if s.StartDate == nil {
  		invalidParams.Add(request.NewErrParamRequired("StartDate"))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }
docs: // Validate inspects the fields of the type to determine if they are valid.