code: func (c *Client) UpdateWAFRuleSets(i *UpdateWAFRuleRuleSetsInput) (*Ruleset, error) {
  	if i.Service == "" {
  		return nil, ErrMissingService
  	}
  
  	if i.ID == "" {
  		return nil, ErrMissingWAFID
  	}
  
  	path := fmt.Sprintf("/service/%s/wafs/%s/ruleset", i.Service, i.ID)
  	resp, err := c.PatchJSONAPI(path, i, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var ruleset Ruleset
  	if err := jsonapi.UnmarshalPayload(resp.Body, &ruleset); err != nil {
  		return nil, err
  	}
  	return &ruleset, nil
  }
docs: // UpdateWAFRuleSets updates the rulesets for a role associated with a firewall WAF.