---
title: "POST /#X-Amz-Target=AWSWAF_Regional_20161128.ListSubscribedRuleGroups"
method: POST
path: "/#X-Amz-Target=AWSWAF_Regional_20161128.ListSubscribedRuleGroups"
---

# POST /#X-Amz-Target=AWSWAF_Regional_20161128.ListSubscribedRuleGroups

`POST /#X-Amz-Target=AWSWAF_Regional_20161128.ListSubscribedRuleGroups`

<note> <p>This is <b>AWS WAF Classic</b> documentation. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p> <p> <b>For the latest version of AWS WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p> </note> <p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>

## Headers

- `X-Amz-Target` 'AWSWAF_Regional_20161128.ListSubscribedRuleGroups', required

## Request body

- ListSubscribedRuleGroupsRequest
  - `NextMarker` string — If you specify a value for <code>Limit</code> and you have more <code>ByteMatchSets</code>subscribed rule groups than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of subscribed rule groups. For the second and subsequent <code>ListSubscribedRuleGroupsRequest</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of subscribed rule groups.
  - `Limit` integer — Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more objects than the number you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of objects.

## Response `200`

Success

- ListSubscribedRuleGroupsResponse
  - `NextMarker` string — If you have more objects than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more objects, submit another <code>ListSubscribedRuleGroups</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.
  - `RuleGroups` SubscribedRuleGroupSummary[] — An array of <a>RuleGroup</a> objects.
    - `RuleGroupId` string, required — A unique identifier for a <code>RuleGroup</code>.
    - `Name` string, required — A friendly name or description of the <code>RuleGroup</code>. You can't change the name of a <code>RuleGroup</code> after you create it.
    - `MetricName` string, required — A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the <code>RuleGroup</code>.

## Other responses

- `480` — WAFNonexistentItemException
- `481` — WAFInternalErrorException

---

[API](https://skmtc.net/aws/apis/waf-regional.md) · [All operations](https://skmtc.net/aws/apis/waf-regional/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/waf-regional/versions/12b830ff94fb/schema)
