Commit 70e07bb
authored
Use new AWS SDK client constructors. (#5232)
[SC-51986](https://app.shortcut.com/tiledb-inc/story/51986/stop-using-deprecated-s3client-constructors)
AWS SDK client constructors that accept a generic `ClientConfig` are
[deprecated](https://github.com/aws/aws-sdk-cpp/blob/8f42b8167fbb31fb3c0392b58c4b6327e71afbb8/generated/src/aws-cpp-sdk-s3/include/aws/s3/S3Client.h#L105-L135).
The suggested alternatives accept subclasses of `ClientConfig`, which
may include service-specific options (like payload signing policy and
using virtual addressing for S3).
This PR moves to the new constructors when creating both S3 and STS
clients.
---
TYPE: NO_HISTORY1 parent c0c3bb4 commit 70e07bb
2 files changed
+32
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1348 | 1348 | | |
1349 | 1349 | | |
1350 | 1350 | | |
1351 | | - | |
| 1351 | + | |
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
| |||
1388 | 1388 | | |
1389 | 1389 | | |
1390 | 1390 | | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
1391 | 1395 | | |
1392 | 1396 | | |
1393 | 1397 | | |
| |||
1443 | 1447 | | |
1444 | 1448 | | |
1445 | 1449 | | |
1446 | | - | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
1447 | 1456 | | |
1448 | 1457 | | |
1449 | 1458 | | |
| |||
1465 | 1474 | | |
1466 | 1475 | | |
1467 | 1476 | | |
1468 | | - | |
| 1477 | + | |
1469 | 1478 | | |
1470 | | - | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
1471 | 1487 | | |
1472 | 1488 | | |
1473 | 1489 | | |
| |||
1492 | 1508 | | |
1493 | 1509 | | |
1494 | 1510 | | |
1495 | | - | |
1496 | | - | |
1497 | | - | |
1498 | | - | |
1499 | | - | |
1500 | | - | |
| 1511 | + | |
| 1512 | + | |
1501 | 1513 | | |
1502 | 1514 | | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
| 1515 | + | |
1509 | 1516 | | |
1510 | 1517 | | |
1511 | 1518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
| 358 | + | |
| 359 | + | |
361 | 360 | | |
362 | 361 | | |
363 | 362 | | |
364 | 363 | | |
365 | 364 | | |
366 | 365 | | |
367 | | - | |
368 | | - | |
369 | | - | |
| 366 | + | |
370 | 367 | | |
371 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
1355 | | - | |
| 1355 | + | |
1356 | 1356 | | |
1357 | 1357 | | |
1358 | 1358 | | |
| |||
0 commit comments