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