code: func (s *SendTestEventNotificationInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "SendTestEventNotificationInput"}
  	if s.Notification == nil {
  		invalidParams.Add(request.NewErrParamRequired("Notification"))
  	}
  	if s.TestEventType == nil {
  		invalidParams.Add(request.NewErrParamRequired("TestEventType"))
  	}
  	if s.Notification != nil {
  		if err := s.Notification.Validate(); err != nil {
  			invalidParams.AddNested("Notification", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }
docs: // Validate inspects the fields of the type to determine if they are valid.