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