The listRegions action lists all the S3 regions that are defined for the CAS server environment. This action is useful for administrators and users to verify which custom S3 regions are available for use in operations like loading data from S3 buckets.
This example demonstrates how to use the `listRegions` action to retrieve a list of all custom S3 regions configured in the CAS server. The result is a table that shows the name and other details for each region.
| 1 | PROC CAS; S3.listRegions; RUN; |