docs: func (s *SetStackPolicyInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "SetStackPolicyInput"}
  	if s.StackName == nil {
  		invalidParams.Add(request.NewErrParamRequired("StackName"))
  	}
  	if s.StackPolicyBody != nil && len(*s.StackPolicyBody) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("StackPolicyBody", 1))
  	}
  	if s.StackPolicyURL != nil && len(*s.StackPolicyURL) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("StackPolicyURL", 1))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }