Scénario de test & Cas d'usage
The s3.addRegion action is a server-side administrative action for configuring S3 connectivity. It does not operate on CAS tables, so no data loading is required.
| 1 | /* No |
| 2 | data creation is necessary for this action. */ |
| 1 | PROC CAS; |
| 2 | S3.addRegion / |
| 3 | name='minio-onprem' |
| 4 | host='10.0.1.50' |
| 5 | region='us-east-1' |
| 6 | port=9000 |
| 7 | nossl=true; |
| 8 | RUN; |
| 1 | PROC CAS; |
| 2 | S3.listRegions; |
| 3 | RUN; |
The first step should complete successfully with a note in the log confirming the region was added. The second step should output a result table that includes the 'minio-onprem' region, showing the correct host ('10.0.1.50'), port (9000), and SSL status (disabled).