docs: func (s *UpdateReceiptRuleInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "UpdateReceiptRuleInput"}
  	if s.Rule == nil {
  		invalidParams.Add(request.NewErrParamRequired("Rule"))
  	}
  	if s.RuleSetName == nil {
  		invalidParams.Add(request.NewErrParamRequired("RuleSetName"))
  	}
  	if s.Rule != nil {
  		if err := s.Rule.Validate(); err != nil {
  			invalidParams.AddNested("Rule", err.(request.ErrInvalidParams))
  		}
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }