To parse the JSON response on Linux or macOS machines, you can use a tool, such as jq on the GitHub website. For example, the following command parses the JSON file for all IPv4 addresses that Amazon S3 uses:
Note: You might see a difference between IP address ranges on the JSON file list and AWS managed prefix lists. AWS manages all IP addresses that are reported in the ip-ranges.json file. It's a best practice to use the JSON file to manually retrieve the IP address range for Amazon S3.