List IP Sets
AI-generatedSummary
Lists all IP Sets configured in an AWS WAF account for a specified scope (Regional or CloudFront).
Inputs
- Scope (required) — Specifies the scope of the IP Sets to list: 'REGIONAL' for ALB and API Gateway, or 'CLOUDFRONT' for CloudFront distributions.
Output shape
a list of items, each containing an array of IP Set objects and a pagination token
The response includes an 'ipSets' array of objects (with Name and Id) and a 'nextMarker' for paginated results.
Examples
Example 1: List all Regional IP Sets in your WAF account
Set Scope to 'REGIONAL'
Example 2: List all CloudFront IP Sets
Set Scope to 'CLOUDFRONT'