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='secure-archive-eu' |
| 4 | host='s3.newprovidr.com' |
| 5 | region='eu-west-2' |
| 6 | sslrequired=true |
| 7 | sslport=9090; |
| 8 | RUN; |
| 1 | PROC CAS; |
| 2 | S3.addRegion / |
| 3 | name='secure-archive-eu' |
| 4 | host='s3.newprovider.com' |
| 5 | region='eu-west-2' |
| 6 | sslrequired=true |
| 7 | sslport=9090; |
| 8 | RUN; |
| 1 | PROC CAS; |
| 2 | S3.listRegions RESULT=r; |
| 3 | PRINT r; |
| 4 | RUN; |
Steps 1 and 2 should execute successfully, with the second call overwriting the first. The final result table from step 3 must show only one entry for 'secure-archive-eu' and its host must be the corrected value 's3.newprovider.com', not the initial typo.