docs: func (s *CreateTriggerInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "CreateTriggerInput"}
  	if s.Actions == nil {
  		invalidParams.Add(request.NewErrParamRequired("Actions"))
  	}
  	if s.Name == nil {
  		invalidParams.Add(request.NewErrParamRequired("Name"))
  	}
  	if s.Name != nil && len(*s.Name) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
  	}
  	if s.Type == nil {
  		invalidParams.Add(request.NewErrParamRequired("Type"))
  	}
  	if s.Actions != nil {
  		for i, v := range s.Actions {
  			if v == nil {
  				continue
  			}
  			if err := v.Validate(); err != nil {
  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Actions", i), err.(request.ErrInvalidParams))
  			}
  		}
  	}
  	if s.Predicate != nil {
  		if err := s.Predicate.Validate(); err != nil {
  			invalidParams.AddNested("Predicate", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }