s3

listRegions

Description

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.

s3.listRegions;

Examples

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.

SAS® / CAS Code Code awaiting community validation
Copied!
1PROC CAS; S3.listRegions; RUN;
Result :
The action returns a result object containing a table named 'RegionInfo'. This table lists the configured regions, typically with columns for the region's name, its associated hostname, and whether SSL is enabled.

FAQ

What is the purpose of the listRegions action?
What is the basic CASL syntax for the listRegions action?