@aws-sdk/client-dynamodb 3.506.0 → 3.509.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +170 -1621
- package/dist-es/protocols/Aws_json1_0.js +164 -1615
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1348,7 +1348,7 @@ var se_UpdateTimeToLiveCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1348
1348
|
}, "se_UpdateTimeToLiveCommand");
|
|
1349
1349
|
var de_BatchExecuteStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1350
1350
|
if (output.statusCode >= 300) {
|
|
1351
|
-
return
|
|
1351
|
+
return de_CommandError(output, context);
|
|
1352
1352
|
}
|
|
1353
1353
|
const data = await parseBody(output.body, context);
|
|
1354
1354
|
let contents = {};
|
|
@@ -1359,31 +1359,9 @@ var de_BatchExecuteStatementCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1359
1359
|
};
|
|
1360
1360
|
return response;
|
|
1361
1361
|
}, "de_BatchExecuteStatementCommand");
|
|
1362
|
-
var de_BatchExecuteStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1363
|
-
const parsedOutput = {
|
|
1364
|
-
...output,
|
|
1365
|
-
body: await parseErrorBody(output.body, context)
|
|
1366
|
-
};
|
|
1367
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1368
|
-
switch (errorCode) {
|
|
1369
|
-
case "InternalServerError":
|
|
1370
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1371
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1372
|
-
case "RequestLimitExceeded":
|
|
1373
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
1374
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
1375
|
-
default:
|
|
1376
|
-
const parsedBody = parsedOutput.body;
|
|
1377
|
-
return throwDefaultError({
|
|
1378
|
-
output,
|
|
1379
|
-
parsedBody,
|
|
1380
|
-
errorCode
|
|
1381
|
-
});
|
|
1382
|
-
}
|
|
1383
|
-
}, "de_BatchExecuteStatementCommandError");
|
|
1384
1362
|
var de_BatchGetItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1385
1363
|
if (output.statusCode >= 300) {
|
|
1386
|
-
return
|
|
1364
|
+
return de_CommandError(output, context);
|
|
1387
1365
|
}
|
|
1388
1366
|
const data = await parseBody(output.body, context);
|
|
1389
1367
|
let contents = {};
|
|
@@ -1394,40 +1372,9 @@ var de_BatchGetItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1394
1372
|
};
|
|
1395
1373
|
return response;
|
|
1396
1374
|
}, "de_BatchGetItemCommand");
|
|
1397
|
-
var de_BatchGetItemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
-
const parsedOutput = {
|
|
1399
|
-
...output,
|
|
1400
|
-
body: await parseErrorBody(output.body, context)
|
|
1401
|
-
};
|
|
1402
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1403
|
-
switch (errorCode) {
|
|
1404
|
-
case "InternalServerError":
|
|
1405
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1406
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1407
|
-
case "InvalidEndpointException":
|
|
1408
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1409
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1410
|
-
case "ProvisionedThroughputExceededException":
|
|
1411
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
1412
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
1413
|
-
case "RequestLimitExceeded":
|
|
1414
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
1415
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
1416
|
-
case "ResourceNotFoundException":
|
|
1417
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
1418
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1419
|
-
default:
|
|
1420
|
-
const parsedBody = parsedOutput.body;
|
|
1421
|
-
return throwDefaultError({
|
|
1422
|
-
output,
|
|
1423
|
-
parsedBody,
|
|
1424
|
-
errorCode
|
|
1425
|
-
});
|
|
1426
|
-
}
|
|
1427
|
-
}, "de_BatchGetItemCommandError");
|
|
1428
1375
|
var de_BatchWriteItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1429
1376
|
if (output.statusCode >= 300) {
|
|
1430
|
-
return
|
|
1377
|
+
return de_CommandError(output, context);
|
|
1431
1378
|
}
|
|
1432
1379
|
const data = await parseBody(output.body, context);
|
|
1433
1380
|
let contents = {};
|
|
@@ -1438,43 +1385,9 @@ var de_BatchWriteItemCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1438
1385
|
};
|
|
1439
1386
|
return response;
|
|
1440
1387
|
}, "de_BatchWriteItemCommand");
|
|
1441
|
-
var de_BatchWriteItemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1442
|
-
const parsedOutput = {
|
|
1443
|
-
...output,
|
|
1444
|
-
body: await parseErrorBody(output.body, context)
|
|
1445
|
-
};
|
|
1446
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1447
|
-
switch (errorCode) {
|
|
1448
|
-
case "InternalServerError":
|
|
1449
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1450
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1451
|
-
case "InvalidEndpointException":
|
|
1452
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1453
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1454
|
-
case "ItemCollectionSizeLimitExceededException":
|
|
1455
|
-
case "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException":
|
|
1456
|
-
throw await de_ItemCollectionSizeLimitExceededExceptionRes(parsedOutput, context);
|
|
1457
|
-
case "ProvisionedThroughputExceededException":
|
|
1458
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
1459
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
1460
|
-
case "RequestLimitExceeded":
|
|
1461
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
1462
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
1463
|
-
case "ResourceNotFoundException":
|
|
1464
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
1465
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1466
|
-
default:
|
|
1467
|
-
const parsedBody = parsedOutput.body;
|
|
1468
|
-
return throwDefaultError({
|
|
1469
|
-
output,
|
|
1470
|
-
parsedBody,
|
|
1471
|
-
errorCode
|
|
1472
|
-
});
|
|
1473
|
-
}
|
|
1474
|
-
}, "de_BatchWriteItemCommandError");
|
|
1475
1388
|
var de_CreateBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1476
1389
|
if (output.statusCode >= 300) {
|
|
1477
|
-
return
|
|
1390
|
+
return de_CommandError(output, context);
|
|
1478
1391
|
}
|
|
1479
1392
|
const data = await parseBody(output.body, context);
|
|
1480
1393
|
let contents = {};
|
|
@@ -1485,46 +1398,9 @@ var de_CreateBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1485
1398
|
};
|
|
1486
1399
|
return response;
|
|
1487
1400
|
}, "de_CreateBackupCommand");
|
|
1488
|
-
var de_CreateBackupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1489
|
-
const parsedOutput = {
|
|
1490
|
-
...output,
|
|
1491
|
-
body: await parseErrorBody(output.body, context)
|
|
1492
|
-
};
|
|
1493
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1494
|
-
switch (errorCode) {
|
|
1495
|
-
case "BackupInUseException":
|
|
1496
|
-
case "com.amazonaws.dynamodb#BackupInUseException":
|
|
1497
|
-
throw await de_BackupInUseExceptionRes(parsedOutput, context);
|
|
1498
|
-
case "ContinuousBackupsUnavailableException":
|
|
1499
|
-
case "com.amazonaws.dynamodb#ContinuousBackupsUnavailableException":
|
|
1500
|
-
throw await de_ContinuousBackupsUnavailableExceptionRes(parsedOutput, context);
|
|
1501
|
-
case "InternalServerError":
|
|
1502
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1503
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1504
|
-
case "InvalidEndpointException":
|
|
1505
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1506
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1507
|
-
case "LimitExceededException":
|
|
1508
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
1509
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1510
|
-
case "TableInUseException":
|
|
1511
|
-
case "com.amazonaws.dynamodb#TableInUseException":
|
|
1512
|
-
throw await de_TableInUseExceptionRes(parsedOutput, context);
|
|
1513
|
-
case "TableNotFoundException":
|
|
1514
|
-
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
1515
|
-
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
1516
|
-
default:
|
|
1517
|
-
const parsedBody = parsedOutput.body;
|
|
1518
|
-
return throwDefaultError({
|
|
1519
|
-
output,
|
|
1520
|
-
parsedBody,
|
|
1521
|
-
errorCode
|
|
1522
|
-
});
|
|
1523
|
-
}
|
|
1524
|
-
}, "de_CreateBackupCommandError");
|
|
1525
1401
|
var de_CreateGlobalTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1526
1402
|
if (output.statusCode >= 300) {
|
|
1527
|
-
return
|
|
1403
|
+
return de_CommandError(output, context);
|
|
1528
1404
|
}
|
|
1529
1405
|
const data = await parseBody(output.body, context);
|
|
1530
1406
|
let contents = {};
|
|
@@ -1535,40 +1411,9 @@ var de_CreateGlobalTableCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1535
1411
|
};
|
|
1536
1412
|
return response;
|
|
1537
1413
|
}, "de_CreateGlobalTableCommand");
|
|
1538
|
-
var de_CreateGlobalTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1539
|
-
const parsedOutput = {
|
|
1540
|
-
...output,
|
|
1541
|
-
body: await parseErrorBody(output.body, context)
|
|
1542
|
-
};
|
|
1543
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1544
|
-
switch (errorCode) {
|
|
1545
|
-
case "GlobalTableAlreadyExistsException":
|
|
1546
|
-
case "com.amazonaws.dynamodb#GlobalTableAlreadyExistsException":
|
|
1547
|
-
throw await de_GlobalTableAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1548
|
-
case "InternalServerError":
|
|
1549
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1550
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1551
|
-
case "InvalidEndpointException":
|
|
1552
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1553
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1554
|
-
case "LimitExceededException":
|
|
1555
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
1556
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1557
|
-
case "TableNotFoundException":
|
|
1558
|
-
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
1559
|
-
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
1560
|
-
default:
|
|
1561
|
-
const parsedBody = parsedOutput.body;
|
|
1562
|
-
return throwDefaultError({
|
|
1563
|
-
output,
|
|
1564
|
-
parsedBody,
|
|
1565
|
-
errorCode
|
|
1566
|
-
});
|
|
1567
|
-
}
|
|
1568
|
-
}, "de_CreateGlobalTableCommandError");
|
|
1569
1414
|
var de_CreateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1570
1415
|
if (output.statusCode >= 300) {
|
|
1571
|
-
return
|
|
1416
|
+
return de_CommandError(output, context);
|
|
1572
1417
|
}
|
|
1573
1418
|
const data = await parseBody(output.body, context);
|
|
1574
1419
|
let contents = {};
|
|
@@ -1579,37 +1424,9 @@ var de_CreateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1579
1424
|
};
|
|
1580
1425
|
return response;
|
|
1581
1426
|
}, "de_CreateTableCommand");
|
|
1582
|
-
var de_CreateTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1583
|
-
const parsedOutput = {
|
|
1584
|
-
...output,
|
|
1585
|
-
body: await parseErrorBody(output.body, context)
|
|
1586
|
-
};
|
|
1587
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1588
|
-
switch (errorCode) {
|
|
1589
|
-
case "InternalServerError":
|
|
1590
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1591
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1592
|
-
case "InvalidEndpointException":
|
|
1593
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1594
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1595
|
-
case "LimitExceededException":
|
|
1596
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
1597
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1598
|
-
case "ResourceInUseException":
|
|
1599
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
1600
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1601
|
-
default:
|
|
1602
|
-
const parsedBody = parsedOutput.body;
|
|
1603
|
-
return throwDefaultError({
|
|
1604
|
-
output,
|
|
1605
|
-
parsedBody,
|
|
1606
|
-
errorCode
|
|
1607
|
-
});
|
|
1608
|
-
}
|
|
1609
|
-
}, "de_CreateTableCommandError");
|
|
1610
1427
|
var de_DeleteBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1611
1428
|
if (output.statusCode >= 300) {
|
|
1612
|
-
return
|
|
1429
|
+
return de_CommandError(output, context);
|
|
1613
1430
|
}
|
|
1614
1431
|
const data = await parseBody(output.body, context);
|
|
1615
1432
|
let contents = {};
|
|
@@ -1620,40 +1437,9 @@ var de_DeleteBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1620
1437
|
};
|
|
1621
1438
|
return response;
|
|
1622
1439
|
}, "de_DeleteBackupCommand");
|
|
1623
|
-
var de_DeleteBackupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1624
|
-
const parsedOutput = {
|
|
1625
|
-
...output,
|
|
1626
|
-
body: await parseErrorBody(output.body, context)
|
|
1627
|
-
};
|
|
1628
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1629
|
-
switch (errorCode) {
|
|
1630
|
-
case "BackupInUseException":
|
|
1631
|
-
case "com.amazonaws.dynamodb#BackupInUseException":
|
|
1632
|
-
throw await de_BackupInUseExceptionRes(parsedOutput, context);
|
|
1633
|
-
case "BackupNotFoundException":
|
|
1634
|
-
case "com.amazonaws.dynamodb#BackupNotFoundException":
|
|
1635
|
-
throw await de_BackupNotFoundExceptionRes(parsedOutput, context);
|
|
1636
|
-
case "InternalServerError":
|
|
1637
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1638
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1639
|
-
case "InvalidEndpointException":
|
|
1640
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1641
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1642
|
-
case "LimitExceededException":
|
|
1643
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
1644
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1645
|
-
default:
|
|
1646
|
-
const parsedBody = parsedOutput.body;
|
|
1647
|
-
return throwDefaultError({
|
|
1648
|
-
output,
|
|
1649
|
-
parsedBody,
|
|
1650
|
-
errorCode
|
|
1651
|
-
});
|
|
1652
|
-
}
|
|
1653
|
-
}, "de_DeleteBackupCommandError");
|
|
1654
1440
|
var de_DeleteItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1655
1441
|
if (output.statusCode >= 300) {
|
|
1656
|
-
return
|
|
1442
|
+
return de_CommandError(output, context);
|
|
1657
1443
|
}
|
|
1658
1444
|
const data = await parseBody(output.body, context);
|
|
1659
1445
|
let contents = {};
|
|
@@ -1664,49 +1450,9 @@ var de_DeleteItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1664
1450
|
};
|
|
1665
1451
|
return response;
|
|
1666
1452
|
}, "de_DeleteItemCommand");
|
|
1667
|
-
var de_DeleteItemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1668
|
-
const parsedOutput = {
|
|
1669
|
-
...output,
|
|
1670
|
-
body: await parseErrorBody(output.body, context)
|
|
1671
|
-
};
|
|
1672
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1673
|
-
switch (errorCode) {
|
|
1674
|
-
case "ConditionalCheckFailedException":
|
|
1675
|
-
case "com.amazonaws.dynamodb#ConditionalCheckFailedException":
|
|
1676
|
-
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
1677
|
-
case "InternalServerError":
|
|
1678
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1679
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1680
|
-
case "InvalidEndpointException":
|
|
1681
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1682
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1683
|
-
case "ItemCollectionSizeLimitExceededException":
|
|
1684
|
-
case "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException":
|
|
1685
|
-
throw await de_ItemCollectionSizeLimitExceededExceptionRes(parsedOutput, context);
|
|
1686
|
-
case "ProvisionedThroughputExceededException":
|
|
1687
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
1688
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
1689
|
-
case "RequestLimitExceeded":
|
|
1690
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
1691
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
1692
|
-
case "ResourceNotFoundException":
|
|
1693
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
1694
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1695
|
-
case "TransactionConflictException":
|
|
1696
|
-
case "com.amazonaws.dynamodb#TransactionConflictException":
|
|
1697
|
-
throw await de_TransactionConflictExceptionRes(parsedOutput, context);
|
|
1698
|
-
default:
|
|
1699
|
-
const parsedBody = parsedOutput.body;
|
|
1700
|
-
return throwDefaultError({
|
|
1701
|
-
output,
|
|
1702
|
-
parsedBody,
|
|
1703
|
-
errorCode
|
|
1704
|
-
});
|
|
1705
|
-
}
|
|
1706
|
-
}, "de_DeleteItemCommandError");
|
|
1707
1453
|
var de_DeleteTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1708
1454
|
if (output.statusCode >= 300) {
|
|
1709
|
-
return
|
|
1455
|
+
return de_CommandError(output, context);
|
|
1710
1456
|
}
|
|
1711
1457
|
const data = await parseBody(output.body, context);
|
|
1712
1458
|
let contents = {};
|
|
@@ -1717,78 +1463,22 @@ var de_DeleteTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1717
1463
|
};
|
|
1718
1464
|
return response;
|
|
1719
1465
|
}, "de_DeleteTableCommand");
|
|
1720
|
-
var
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
case "InvalidEndpointException":
|
|
1731
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1732
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1733
|
-
case "LimitExceededException":
|
|
1734
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
1735
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1736
|
-
case "ResourceInUseException":
|
|
1737
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
1738
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1739
|
-
case "ResourceNotFoundException":
|
|
1740
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
1741
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1742
|
-
default:
|
|
1743
|
-
const parsedBody = parsedOutput.body;
|
|
1744
|
-
return throwDefaultError({
|
|
1745
|
-
output,
|
|
1746
|
-
parsedBody,
|
|
1747
|
-
errorCode
|
|
1748
|
-
});
|
|
1749
|
-
}
|
|
1750
|
-
}, "de_DeleteTableCommandError");
|
|
1751
|
-
var de_DescribeBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1752
|
-
if (output.statusCode >= 300) {
|
|
1753
|
-
return de_DescribeBackupCommandError(output, context);
|
|
1754
|
-
}
|
|
1755
|
-
const data = await parseBody(output.body, context);
|
|
1756
|
-
let contents = {};
|
|
1757
|
-
contents = de_DescribeBackupOutput(data, context);
|
|
1758
|
-
const response = {
|
|
1759
|
-
$metadata: deserializeMetadata(output),
|
|
1760
|
-
...contents
|
|
1466
|
+
var de_DescribeBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1467
|
+
if (output.statusCode >= 300) {
|
|
1468
|
+
return de_CommandError(output, context);
|
|
1469
|
+
}
|
|
1470
|
+
const data = await parseBody(output.body, context);
|
|
1471
|
+
let contents = {};
|
|
1472
|
+
contents = de_DescribeBackupOutput(data, context);
|
|
1473
|
+
const response = {
|
|
1474
|
+
$metadata: deserializeMetadata(output),
|
|
1475
|
+
...contents
|
|
1761
1476
|
};
|
|
1762
1477
|
return response;
|
|
1763
1478
|
}, "de_DescribeBackupCommand");
|
|
1764
|
-
var de_DescribeBackupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1765
|
-
const parsedOutput = {
|
|
1766
|
-
...output,
|
|
1767
|
-
body: await parseErrorBody(output.body, context)
|
|
1768
|
-
};
|
|
1769
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1770
|
-
switch (errorCode) {
|
|
1771
|
-
case "BackupNotFoundException":
|
|
1772
|
-
case "com.amazonaws.dynamodb#BackupNotFoundException":
|
|
1773
|
-
throw await de_BackupNotFoundExceptionRes(parsedOutput, context);
|
|
1774
|
-
case "InternalServerError":
|
|
1775
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1776
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1777
|
-
case "InvalidEndpointException":
|
|
1778
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1779
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1780
|
-
default:
|
|
1781
|
-
const parsedBody = parsedOutput.body;
|
|
1782
|
-
return throwDefaultError({
|
|
1783
|
-
output,
|
|
1784
|
-
parsedBody,
|
|
1785
|
-
errorCode
|
|
1786
|
-
});
|
|
1787
|
-
}
|
|
1788
|
-
}, "de_DescribeBackupCommandError");
|
|
1789
1479
|
var de_DescribeContinuousBackupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1790
1480
|
if (output.statusCode >= 300) {
|
|
1791
|
-
return
|
|
1481
|
+
return de_CommandError(output, context);
|
|
1792
1482
|
}
|
|
1793
1483
|
const data = await parseBody(output.body, context);
|
|
1794
1484
|
let contents = {};
|
|
@@ -1799,34 +1489,9 @@ var de_DescribeContinuousBackupsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1799
1489
|
};
|
|
1800
1490
|
return response;
|
|
1801
1491
|
}, "de_DescribeContinuousBackupsCommand");
|
|
1802
|
-
var de_DescribeContinuousBackupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1803
|
-
const parsedOutput = {
|
|
1804
|
-
...output,
|
|
1805
|
-
body: await parseErrorBody(output.body, context)
|
|
1806
|
-
};
|
|
1807
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1808
|
-
switch (errorCode) {
|
|
1809
|
-
case "InternalServerError":
|
|
1810
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1811
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1812
|
-
case "InvalidEndpointException":
|
|
1813
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1814
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1815
|
-
case "TableNotFoundException":
|
|
1816
|
-
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
1817
|
-
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
1818
|
-
default:
|
|
1819
|
-
const parsedBody = parsedOutput.body;
|
|
1820
|
-
return throwDefaultError({
|
|
1821
|
-
output,
|
|
1822
|
-
parsedBody,
|
|
1823
|
-
errorCode
|
|
1824
|
-
});
|
|
1825
|
-
}
|
|
1826
|
-
}, "de_DescribeContinuousBackupsCommandError");
|
|
1827
1492
|
var de_DescribeContributorInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1828
1493
|
if (output.statusCode >= 300) {
|
|
1829
|
-
return
|
|
1494
|
+
return de_CommandError(output, context);
|
|
1830
1495
|
}
|
|
1831
1496
|
const data = await parseBody(output.body, context);
|
|
1832
1497
|
let contents = {};
|
|
@@ -1837,31 +1502,9 @@ var de_DescribeContributorInsightsCommand = /* @__PURE__ */ __name(async (output
|
|
|
1837
1502
|
};
|
|
1838
1503
|
return response;
|
|
1839
1504
|
}, "de_DescribeContributorInsightsCommand");
|
|
1840
|
-
var de_DescribeContributorInsightsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1841
|
-
const parsedOutput = {
|
|
1842
|
-
...output,
|
|
1843
|
-
body: await parseErrorBody(output.body, context)
|
|
1844
|
-
};
|
|
1845
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1846
|
-
switch (errorCode) {
|
|
1847
|
-
case "InternalServerError":
|
|
1848
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1849
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1850
|
-
case "ResourceNotFoundException":
|
|
1851
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
1852
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1853
|
-
default:
|
|
1854
|
-
const parsedBody = parsedOutput.body;
|
|
1855
|
-
return throwDefaultError({
|
|
1856
|
-
output,
|
|
1857
|
-
parsedBody,
|
|
1858
|
-
errorCode
|
|
1859
|
-
});
|
|
1860
|
-
}
|
|
1861
|
-
}, "de_DescribeContributorInsightsCommandError");
|
|
1862
1505
|
var de_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1863
1506
|
if (output.statusCode >= 300) {
|
|
1864
|
-
return
|
|
1507
|
+
return de_CommandError(output, context);
|
|
1865
1508
|
}
|
|
1866
1509
|
const data = await parseBody(output.body, context);
|
|
1867
1510
|
let contents = {};
|
|
@@ -1872,22 +1515,9 @@ var de_DescribeEndpointsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1872
1515
|
};
|
|
1873
1516
|
return response;
|
|
1874
1517
|
}, "de_DescribeEndpointsCommand");
|
|
1875
|
-
var de_DescribeEndpointsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1876
|
-
const parsedOutput = {
|
|
1877
|
-
...output,
|
|
1878
|
-
body: await parseErrorBody(output.body, context)
|
|
1879
|
-
};
|
|
1880
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1881
|
-
const parsedBody = parsedOutput.body;
|
|
1882
|
-
return throwDefaultError({
|
|
1883
|
-
output,
|
|
1884
|
-
parsedBody,
|
|
1885
|
-
errorCode
|
|
1886
|
-
});
|
|
1887
|
-
}, "de_DescribeEndpointsCommandError");
|
|
1888
1518
|
var de_DescribeExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1889
1519
|
if (output.statusCode >= 300) {
|
|
1890
|
-
return
|
|
1520
|
+
return de_CommandError(output, context);
|
|
1891
1521
|
}
|
|
1892
1522
|
const data = await parseBody(output.body, context);
|
|
1893
1523
|
let contents = {};
|
|
@@ -1898,34 +1528,9 @@ var de_DescribeExportCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1898
1528
|
};
|
|
1899
1529
|
return response;
|
|
1900
1530
|
}, "de_DescribeExportCommand");
|
|
1901
|
-
var de_DescribeExportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1902
|
-
const parsedOutput = {
|
|
1903
|
-
...output,
|
|
1904
|
-
body: await parseErrorBody(output.body, context)
|
|
1905
|
-
};
|
|
1906
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1907
|
-
switch (errorCode) {
|
|
1908
|
-
case "ExportNotFoundException":
|
|
1909
|
-
case "com.amazonaws.dynamodb#ExportNotFoundException":
|
|
1910
|
-
throw await de_ExportNotFoundExceptionRes(parsedOutput, context);
|
|
1911
|
-
case "InternalServerError":
|
|
1912
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1913
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1914
|
-
case "LimitExceededException":
|
|
1915
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
1916
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1917
|
-
default:
|
|
1918
|
-
const parsedBody = parsedOutput.body;
|
|
1919
|
-
return throwDefaultError({
|
|
1920
|
-
output,
|
|
1921
|
-
parsedBody,
|
|
1922
|
-
errorCode
|
|
1923
|
-
});
|
|
1924
|
-
}
|
|
1925
|
-
}, "de_DescribeExportCommandError");
|
|
1926
1531
|
var de_DescribeGlobalTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1927
1532
|
if (output.statusCode >= 300) {
|
|
1928
|
-
return
|
|
1533
|
+
return de_CommandError(output, context);
|
|
1929
1534
|
}
|
|
1930
1535
|
const data = await parseBody(output.body, context);
|
|
1931
1536
|
let contents = {};
|
|
@@ -1936,34 +1541,9 @@ var de_DescribeGlobalTableCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1936
1541
|
};
|
|
1937
1542
|
return response;
|
|
1938
1543
|
}, "de_DescribeGlobalTableCommand");
|
|
1939
|
-
var de_DescribeGlobalTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1940
|
-
const parsedOutput = {
|
|
1941
|
-
...output,
|
|
1942
|
-
body: await parseErrorBody(output.body, context)
|
|
1943
|
-
};
|
|
1944
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1945
|
-
switch (errorCode) {
|
|
1946
|
-
case "GlobalTableNotFoundException":
|
|
1947
|
-
case "com.amazonaws.dynamodb#GlobalTableNotFoundException":
|
|
1948
|
-
throw await de_GlobalTableNotFoundExceptionRes(parsedOutput, context);
|
|
1949
|
-
case "InternalServerError":
|
|
1950
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1951
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1952
|
-
case "InvalidEndpointException":
|
|
1953
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1954
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1955
|
-
default:
|
|
1956
|
-
const parsedBody = parsedOutput.body;
|
|
1957
|
-
return throwDefaultError({
|
|
1958
|
-
output,
|
|
1959
|
-
parsedBody,
|
|
1960
|
-
errorCode
|
|
1961
|
-
});
|
|
1962
|
-
}
|
|
1963
|
-
}, "de_DescribeGlobalTableCommandError");
|
|
1964
1544
|
var de_DescribeGlobalTableSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1965
1545
|
if (output.statusCode >= 300) {
|
|
1966
|
-
return
|
|
1546
|
+
return de_CommandError(output, context);
|
|
1967
1547
|
}
|
|
1968
1548
|
const data = await parseBody(output.body, context);
|
|
1969
1549
|
let contents = {};
|
|
@@ -1974,34 +1554,9 @@ var de_DescribeGlobalTableSettingsCommand = /* @__PURE__ */ __name(async (output
|
|
|
1974
1554
|
};
|
|
1975
1555
|
return response;
|
|
1976
1556
|
}, "de_DescribeGlobalTableSettingsCommand");
|
|
1977
|
-
var de_DescribeGlobalTableSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1978
|
-
const parsedOutput = {
|
|
1979
|
-
...output,
|
|
1980
|
-
body: await parseErrorBody(output.body, context)
|
|
1981
|
-
};
|
|
1982
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1983
|
-
switch (errorCode) {
|
|
1984
|
-
case "GlobalTableNotFoundException":
|
|
1985
|
-
case "com.amazonaws.dynamodb#GlobalTableNotFoundException":
|
|
1986
|
-
throw await de_GlobalTableNotFoundExceptionRes(parsedOutput, context);
|
|
1987
|
-
case "InternalServerError":
|
|
1988
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
1989
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1990
|
-
case "InvalidEndpointException":
|
|
1991
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
1992
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
1993
|
-
default:
|
|
1994
|
-
const parsedBody = parsedOutput.body;
|
|
1995
|
-
return throwDefaultError({
|
|
1996
|
-
output,
|
|
1997
|
-
parsedBody,
|
|
1998
|
-
errorCode
|
|
1999
|
-
});
|
|
2000
|
-
}
|
|
2001
|
-
}, "de_DescribeGlobalTableSettingsCommandError");
|
|
2002
1557
|
var de_DescribeImportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2003
1558
|
if (output.statusCode >= 300) {
|
|
2004
|
-
return
|
|
1559
|
+
return de_CommandError(output, context);
|
|
2005
1560
|
}
|
|
2006
1561
|
const data = await parseBody(output.body, context);
|
|
2007
1562
|
let contents = {};
|
|
@@ -2012,28 +1567,9 @@ var de_DescribeImportCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2012
1567
|
};
|
|
2013
1568
|
return response;
|
|
2014
1569
|
}, "de_DescribeImportCommand");
|
|
2015
|
-
var de_DescribeImportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2016
|
-
const parsedOutput = {
|
|
2017
|
-
...output,
|
|
2018
|
-
body: await parseErrorBody(output.body, context)
|
|
2019
|
-
};
|
|
2020
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2021
|
-
switch (errorCode) {
|
|
2022
|
-
case "ImportNotFoundException":
|
|
2023
|
-
case "com.amazonaws.dynamodb#ImportNotFoundException":
|
|
2024
|
-
throw await de_ImportNotFoundExceptionRes(parsedOutput, context);
|
|
2025
|
-
default:
|
|
2026
|
-
const parsedBody = parsedOutput.body;
|
|
2027
|
-
return throwDefaultError({
|
|
2028
|
-
output,
|
|
2029
|
-
parsedBody,
|
|
2030
|
-
errorCode
|
|
2031
|
-
});
|
|
2032
|
-
}
|
|
2033
|
-
}, "de_DescribeImportCommandError");
|
|
2034
1570
|
var de_DescribeKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2035
1571
|
if (output.statusCode >= 300) {
|
|
2036
|
-
return
|
|
1572
|
+
return de_CommandError(output, context);
|
|
2037
1573
|
}
|
|
2038
1574
|
const data = await parseBody(output.body, context);
|
|
2039
1575
|
let contents = {};
|
|
@@ -2044,34 +1580,9 @@ var de_DescribeKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async
|
|
|
2044
1580
|
};
|
|
2045
1581
|
return response;
|
|
2046
1582
|
}, "de_DescribeKinesisStreamingDestinationCommand");
|
|
2047
|
-
var de_DescribeKinesisStreamingDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2048
|
-
const parsedOutput = {
|
|
2049
|
-
...output,
|
|
2050
|
-
body: await parseErrorBody(output.body, context)
|
|
2051
|
-
};
|
|
2052
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2053
|
-
switch (errorCode) {
|
|
2054
|
-
case "InternalServerError":
|
|
2055
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2056
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2057
|
-
case "InvalidEndpointException":
|
|
2058
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2059
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2060
|
-
case "ResourceNotFoundException":
|
|
2061
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2062
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2063
|
-
default:
|
|
2064
|
-
const parsedBody = parsedOutput.body;
|
|
2065
|
-
return throwDefaultError({
|
|
2066
|
-
output,
|
|
2067
|
-
parsedBody,
|
|
2068
|
-
errorCode
|
|
2069
|
-
});
|
|
2070
|
-
}
|
|
2071
|
-
}, "de_DescribeKinesisStreamingDestinationCommandError");
|
|
2072
1583
|
var de_DescribeLimitsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2073
1584
|
if (output.statusCode >= 300) {
|
|
2074
|
-
return
|
|
1585
|
+
return de_CommandError(output, context);
|
|
2075
1586
|
}
|
|
2076
1587
|
const data = await parseBody(output.body, context);
|
|
2077
1588
|
let contents = {};
|
|
@@ -2082,31 +1593,9 @@ var de_DescribeLimitsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2082
1593
|
};
|
|
2083
1594
|
return response;
|
|
2084
1595
|
}, "de_DescribeLimitsCommand");
|
|
2085
|
-
var de_DescribeLimitsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2086
|
-
const parsedOutput = {
|
|
2087
|
-
...output,
|
|
2088
|
-
body: await parseErrorBody(output.body, context)
|
|
2089
|
-
};
|
|
2090
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2091
|
-
switch (errorCode) {
|
|
2092
|
-
case "InternalServerError":
|
|
2093
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2094
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2095
|
-
case "InvalidEndpointException":
|
|
2096
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2097
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2098
|
-
default:
|
|
2099
|
-
const parsedBody = parsedOutput.body;
|
|
2100
|
-
return throwDefaultError({
|
|
2101
|
-
output,
|
|
2102
|
-
parsedBody,
|
|
2103
|
-
errorCode
|
|
2104
|
-
});
|
|
2105
|
-
}
|
|
2106
|
-
}, "de_DescribeLimitsCommandError");
|
|
2107
1596
|
var de_DescribeTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2108
1597
|
if (output.statusCode >= 300) {
|
|
2109
|
-
return
|
|
1598
|
+
return de_CommandError(output, context);
|
|
2110
1599
|
}
|
|
2111
1600
|
const data = await parseBody(output.body, context);
|
|
2112
1601
|
let contents = {};
|
|
@@ -2117,34 +1606,9 @@ var de_DescribeTableCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2117
1606
|
};
|
|
2118
1607
|
return response;
|
|
2119
1608
|
}, "de_DescribeTableCommand");
|
|
2120
|
-
var de_DescribeTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2121
|
-
const parsedOutput = {
|
|
2122
|
-
...output,
|
|
2123
|
-
body: await parseErrorBody(output.body, context)
|
|
2124
|
-
};
|
|
2125
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2126
|
-
switch (errorCode) {
|
|
2127
|
-
case "InternalServerError":
|
|
2128
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2129
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2130
|
-
case "InvalidEndpointException":
|
|
2131
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2132
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2133
|
-
case "ResourceNotFoundException":
|
|
2134
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2135
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2136
|
-
default:
|
|
2137
|
-
const parsedBody = parsedOutput.body;
|
|
2138
|
-
return throwDefaultError({
|
|
2139
|
-
output,
|
|
2140
|
-
parsedBody,
|
|
2141
|
-
errorCode
|
|
2142
|
-
});
|
|
2143
|
-
}
|
|
2144
|
-
}, "de_DescribeTableCommandError");
|
|
2145
1609
|
var de_DescribeTableReplicaAutoScalingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2146
1610
|
if (output.statusCode >= 300) {
|
|
2147
|
-
return
|
|
1611
|
+
return de_CommandError(output, context);
|
|
2148
1612
|
}
|
|
2149
1613
|
const data = await parseBody(output.body, context);
|
|
2150
1614
|
let contents = {};
|
|
@@ -2155,31 +1619,9 @@ var de_DescribeTableReplicaAutoScalingCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2155
1619
|
};
|
|
2156
1620
|
return response;
|
|
2157
1621
|
}, "de_DescribeTableReplicaAutoScalingCommand");
|
|
2158
|
-
var de_DescribeTableReplicaAutoScalingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2159
|
-
const parsedOutput = {
|
|
2160
|
-
...output,
|
|
2161
|
-
body: await parseErrorBody(output.body, context)
|
|
2162
|
-
};
|
|
2163
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2164
|
-
switch (errorCode) {
|
|
2165
|
-
case "InternalServerError":
|
|
2166
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2167
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2168
|
-
case "ResourceNotFoundException":
|
|
2169
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2170
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2171
|
-
default:
|
|
2172
|
-
const parsedBody = parsedOutput.body;
|
|
2173
|
-
return throwDefaultError({
|
|
2174
|
-
output,
|
|
2175
|
-
parsedBody,
|
|
2176
|
-
errorCode
|
|
2177
|
-
});
|
|
2178
|
-
}
|
|
2179
|
-
}, "de_DescribeTableReplicaAutoScalingCommandError");
|
|
2180
1622
|
var de_DescribeTimeToLiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2181
1623
|
if (output.statusCode >= 300) {
|
|
2182
|
-
return
|
|
1624
|
+
return de_CommandError(output, context);
|
|
2183
1625
|
}
|
|
2184
1626
|
const data = await parseBody(output.body, context);
|
|
2185
1627
|
let contents = {};
|
|
@@ -2190,34 +1632,9 @@ var de_DescribeTimeToLiveCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2190
1632
|
};
|
|
2191
1633
|
return response;
|
|
2192
1634
|
}, "de_DescribeTimeToLiveCommand");
|
|
2193
|
-
var de_DescribeTimeToLiveCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2194
|
-
const parsedOutput = {
|
|
2195
|
-
...output,
|
|
2196
|
-
body: await parseErrorBody(output.body, context)
|
|
2197
|
-
};
|
|
2198
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2199
|
-
switch (errorCode) {
|
|
2200
|
-
case "InternalServerError":
|
|
2201
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2202
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2203
|
-
case "InvalidEndpointException":
|
|
2204
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2205
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2206
|
-
case "ResourceNotFoundException":
|
|
2207
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2208
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2209
|
-
default:
|
|
2210
|
-
const parsedBody = parsedOutput.body;
|
|
2211
|
-
return throwDefaultError({
|
|
2212
|
-
output,
|
|
2213
|
-
parsedBody,
|
|
2214
|
-
errorCode
|
|
2215
|
-
});
|
|
2216
|
-
}
|
|
2217
|
-
}, "de_DescribeTimeToLiveCommandError");
|
|
2218
1635
|
var de_DisableKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2219
1636
|
if (output.statusCode >= 300) {
|
|
2220
|
-
return
|
|
1637
|
+
return de_CommandError(output, context);
|
|
2221
1638
|
}
|
|
2222
1639
|
const data = await parseBody(output.body, context);
|
|
2223
1640
|
let contents = {};
|
|
@@ -2228,40 +1645,9 @@ var de_DisableKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async
|
|
|
2228
1645
|
};
|
|
2229
1646
|
return response;
|
|
2230
1647
|
}, "de_DisableKinesisStreamingDestinationCommand");
|
|
2231
|
-
var de_DisableKinesisStreamingDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2232
|
-
const parsedOutput = {
|
|
2233
|
-
...output,
|
|
2234
|
-
body: await parseErrorBody(output.body, context)
|
|
2235
|
-
};
|
|
2236
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2237
|
-
switch (errorCode) {
|
|
2238
|
-
case "InternalServerError":
|
|
2239
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2240
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2241
|
-
case "InvalidEndpointException":
|
|
2242
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2243
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2244
|
-
case "LimitExceededException":
|
|
2245
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2246
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2247
|
-
case "ResourceInUseException":
|
|
2248
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
2249
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2250
|
-
case "ResourceNotFoundException":
|
|
2251
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2252
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2253
|
-
default:
|
|
2254
|
-
const parsedBody = parsedOutput.body;
|
|
2255
|
-
return throwDefaultError({
|
|
2256
|
-
output,
|
|
2257
|
-
parsedBody,
|
|
2258
|
-
errorCode
|
|
2259
|
-
});
|
|
2260
|
-
}
|
|
2261
|
-
}, "de_DisableKinesisStreamingDestinationCommandError");
|
|
2262
1648
|
var de_EnableKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2263
1649
|
if (output.statusCode >= 300) {
|
|
2264
|
-
return
|
|
1650
|
+
return de_CommandError(output, context);
|
|
2265
1651
|
}
|
|
2266
1652
|
const data = await parseBody(output.body, context);
|
|
2267
1653
|
let contents = {};
|
|
@@ -2272,40 +1658,9 @@ var de_EnableKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (
|
|
|
2272
1658
|
};
|
|
2273
1659
|
return response;
|
|
2274
1660
|
}, "de_EnableKinesisStreamingDestinationCommand");
|
|
2275
|
-
var de_EnableKinesisStreamingDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2276
|
-
const parsedOutput = {
|
|
2277
|
-
...output,
|
|
2278
|
-
body: await parseErrorBody(output.body, context)
|
|
2279
|
-
};
|
|
2280
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2281
|
-
switch (errorCode) {
|
|
2282
|
-
case "InternalServerError":
|
|
2283
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2284
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2285
|
-
case "InvalidEndpointException":
|
|
2286
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2287
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2288
|
-
case "LimitExceededException":
|
|
2289
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2290
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2291
|
-
case "ResourceInUseException":
|
|
2292
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
2293
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2294
|
-
case "ResourceNotFoundException":
|
|
2295
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2296
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2297
|
-
default:
|
|
2298
|
-
const parsedBody = parsedOutput.body;
|
|
2299
|
-
return throwDefaultError({
|
|
2300
|
-
output,
|
|
2301
|
-
parsedBody,
|
|
2302
|
-
errorCode
|
|
2303
|
-
});
|
|
2304
|
-
}
|
|
2305
|
-
}, "de_EnableKinesisStreamingDestinationCommandError");
|
|
2306
1661
|
var de_ExecuteStatementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2307
1662
|
if (output.statusCode >= 300) {
|
|
2308
|
-
return
|
|
1663
|
+
return de_CommandError(output, context);
|
|
2309
1664
|
}
|
|
2310
1665
|
const data = await parseBody(output.body, context);
|
|
2311
1666
|
let contents = {};
|
|
@@ -2316,49 +1671,9 @@ var de_ExecuteStatementCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2316
1671
|
};
|
|
2317
1672
|
return response;
|
|
2318
1673
|
}, "de_ExecuteStatementCommand");
|
|
2319
|
-
var de_ExecuteStatementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2320
|
-
const parsedOutput = {
|
|
2321
|
-
...output,
|
|
2322
|
-
body: await parseErrorBody(output.body, context)
|
|
2323
|
-
};
|
|
2324
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2325
|
-
switch (errorCode) {
|
|
2326
|
-
case "ConditionalCheckFailedException":
|
|
2327
|
-
case "com.amazonaws.dynamodb#ConditionalCheckFailedException":
|
|
2328
|
-
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
2329
|
-
case "DuplicateItemException":
|
|
2330
|
-
case "com.amazonaws.dynamodb#DuplicateItemException":
|
|
2331
|
-
throw await de_DuplicateItemExceptionRes(parsedOutput, context);
|
|
2332
|
-
case "InternalServerError":
|
|
2333
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2334
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2335
|
-
case "ItemCollectionSizeLimitExceededException":
|
|
2336
|
-
case "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException":
|
|
2337
|
-
throw await de_ItemCollectionSizeLimitExceededExceptionRes(parsedOutput, context);
|
|
2338
|
-
case "ProvisionedThroughputExceededException":
|
|
2339
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
2340
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
2341
|
-
case "RequestLimitExceeded":
|
|
2342
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
2343
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
2344
|
-
case "ResourceNotFoundException":
|
|
2345
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2346
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2347
|
-
case "TransactionConflictException":
|
|
2348
|
-
case "com.amazonaws.dynamodb#TransactionConflictException":
|
|
2349
|
-
throw await de_TransactionConflictExceptionRes(parsedOutput, context);
|
|
2350
|
-
default:
|
|
2351
|
-
const parsedBody = parsedOutput.body;
|
|
2352
|
-
return throwDefaultError({
|
|
2353
|
-
output,
|
|
2354
|
-
parsedBody,
|
|
2355
|
-
errorCode
|
|
2356
|
-
});
|
|
2357
|
-
}
|
|
2358
|
-
}, "de_ExecuteStatementCommandError");
|
|
2359
1674
|
var de_ExecuteTransactionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2360
1675
|
if (output.statusCode >= 300) {
|
|
2361
|
-
return
|
|
1676
|
+
return de_CommandError(output, context);
|
|
2362
1677
|
}
|
|
2363
1678
|
const data = await parseBody(output.body, context);
|
|
2364
1679
|
let contents = {};
|
|
@@ -2369,46 +1684,9 @@ var de_ExecuteTransactionCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2369
1684
|
};
|
|
2370
1685
|
return response;
|
|
2371
1686
|
}, "de_ExecuteTransactionCommand");
|
|
2372
|
-
var de_ExecuteTransactionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2373
|
-
const parsedOutput = {
|
|
2374
|
-
...output,
|
|
2375
|
-
body: await parseErrorBody(output.body, context)
|
|
2376
|
-
};
|
|
2377
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2378
|
-
switch (errorCode) {
|
|
2379
|
-
case "IdempotentParameterMismatchException":
|
|
2380
|
-
case "com.amazonaws.dynamodb#IdempotentParameterMismatchException":
|
|
2381
|
-
throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput, context);
|
|
2382
|
-
case "InternalServerError":
|
|
2383
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2384
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2385
|
-
case "ProvisionedThroughputExceededException":
|
|
2386
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
2387
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
2388
|
-
case "RequestLimitExceeded":
|
|
2389
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
2390
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
2391
|
-
case "ResourceNotFoundException":
|
|
2392
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2393
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2394
|
-
case "TransactionCanceledException":
|
|
2395
|
-
case "com.amazonaws.dynamodb#TransactionCanceledException":
|
|
2396
|
-
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
2397
|
-
case "TransactionInProgressException":
|
|
2398
|
-
case "com.amazonaws.dynamodb#TransactionInProgressException":
|
|
2399
|
-
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
2400
|
-
default:
|
|
2401
|
-
const parsedBody = parsedOutput.body;
|
|
2402
|
-
return throwDefaultError({
|
|
2403
|
-
output,
|
|
2404
|
-
parsedBody,
|
|
2405
|
-
errorCode
|
|
2406
|
-
});
|
|
2407
|
-
}
|
|
2408
|
-
}, "de_ExecuteTransactionCommandError");
|
|
2409
1687
|
var de_ExportTableToPointInTimeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2410
1688
|
if (output.statusCode >= 300) {
|
|
2411
|
-
return
|
|
1689
|
+
return de_CommandError(output, context);
|
|
2412
1690
|
}
|
|
2413
1691
|
const data = await parseBody(output.body, context);
|
|
2414
1692
|
let contents = {};
|
|
@@ -2419,43 +1697,9 @@ var de_ExportTableToPointInTimeCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2419
1697
|
};
|
|
2420
1698
|
return response;
|
|
2421
1699
|
}, "de_ExportTableToPointInTimeCommand");
|
|
2422
|
-
var de_ExportTableToPointInTimeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2423
|
-
const parsedOutput = {
|
|
2424
|
-
...output,
|
|
2425
|
-
body: await parseErrorBody(output.body, context)
|
|
2426
|
-
};
|
|
2427
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2428
|
-
switch (errorCode) {
|
|
2429
|
-
case "ExportConflictException":
|
|
2430
|
-
case "com.amazonaws.dynamodb#ExportConflictException":
|
|
2431
|
-
throw await de_ExportConflictExceptionRes(parsedOutput, context);
|
|
2432
|
-
case "InternalServerError":
|
|
2433
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2434
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2435
|
-
case "InvalidExportTimeException":
|
|
2436
|
-
case "com.amazonaws.dynamodb#InvalidExportTimeException":
|
|
2437
|
-
throw await de_InvalidExportTimeExceptionRes(parsedOutput, context);
|
|
2438
|
-
case "LimitExceededException":
|
|
2439
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2440
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2441
|
-
case "PointInTimeRecoveryUnavailableException":
|
|
2442
|
-
case "com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException":
|
|
2443
|
-
throw await de_PointInTimeRecoveryUnavailableExceptionRes(parsedOutput, context);
|
|
2444
|
-
case "TableNotFoundException":
|
|
2445
|
-
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
2446
|
-
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
2447
|
-
default:
|
|
2448
|
-
const parsedBody = parsedOutput.body;
|
|
2449
|
-
return throwDefaultError({
|
|
2450
|
-
output,
|
|
2451
|
-
parsedBody,
|
|
2452
|
-
errorCode
|
|
2453
|
-
});
|
|
2454
|
-
}
|
|
2455
|
-
}, "de_ExportTableToPointInTimeCommandError");
|
|
2456
1700
|
var de_GetItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2457
1701
|
if (output.statusCode >= 300) {
|
|
2458
|
-
return
|
|
1702
|
+
return de_CommandError(output, context);
|
|
2459
1703
|
}
|
|
2460
1704
|
const data = await parseBody(output.body, context);
|
|
2461
1705
|
let contents = {};
|
|
@@ -2466,40 +1710,9 @@ var de_GetItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2466
1710
|
};
|
|
2467
1711
|
return response;
|
|
2468
1712
|
}, "de_GetItemCommand");
|
|
2469
|
-
var de_GetItemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2470
|
-
const parsedOutput = {
|
|
2471
|
-
...output,
|
|
2472
|
-
body: await parseErrorBody(output.body, context)
|
|
2473
|
-
};
|
|
2474
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2475
|
-
switch (errorCode) {
|
|
2476
|
-
case "InternalServerError":
|
|
2477
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2478
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2479
|
-
case "InvalidEndpointException":
|
|
2480
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2481
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2482
|
-
case "ProvisionedThroughputExceededException":
|
|
2483
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
2484
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
2485
|
-
case "RequestLimitExceeded":
|
|
2486
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
2487
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
2488
|
-
case "ResourceNotFoundException":
|
|
2489
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2490
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2491
|
-
default:
|
|
2492
|
-
const parsedBody = parsedOutput.body;
|
|
2493
|
-
return throwDefaultError({
|
|
2494
|
-
output,
|
|
2495
|
-
parsedBody,
|
|
2496
|
-
errorCode
|
|
2497
|
-
});
|
|
2498
|
-
}
|
|
2499
|
-
}, "de_GetItemCommandError");
|
|
2500
1713
|
var de_ImportTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2501
1714
|
if (output.statusCode >= 300) {
|
|
2502
|
-
return
|
|
1715
|
+
return de_CommandError(output, context);
|
|
2503
1716
|
}
|
|
2504
1717
|
const data = await parseBody(output.body, context);
|
|
2505
1718
|
let contents = {};
|
|
@@ -2510,34 +1723,9 @@ var de_ImportTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2510
1723
|
};
|
|
2511
1724
|
return response;
|
|
2512
1725
|
}, "de_ImportTableCommand");
|
|
2513
|
-
var de_ImportTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2514
|
-
const parsedOutput = {
|
|
2515
|
-
...output,
|
|
2516
|
-
body: await parseErrorBody(output.body, context)
|
|
2517
|
-
};
|
|
2518
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2519
|
-
switch (errorCode) {
|
|
2520
|
-
case "ImportConflictException":
|
|
2521
|
-
case "com.amazonaws.dynamodb#ImportConflictException":
|
|
2522
|
-
throw await de_ImportConflictExceptionRes(parsedOutput, context);
|
|
2523
|
-
case "LimitExceededException":
|
|
2524
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2525
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2526
|
-
case "ResourceInUseException":
|
|
2527
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
2528
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2529
|
-
default:
|
|
2530
|
-
const parsedBody = parsedOutput.body;
|
|
2531
|
-
return throwDefaultError({
|
|
2532
|
-
output,
|
|
2533
|
-
parsedBody,
|
|
2534
|
-
errorCode
|
|
2535
|
-
});
|
|
2536
|
-
}
|
|
2537
|
-
}, "de_ImportTableCommandError");
|
|
2538
1726
|
var de_ListBackupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2539
1727
|
if (output.statusCode >= 300) {
|
|
2540
|
-
return
|
|
1728
|
+
return de_CommandError(output, context);
|
|
2541
1729
|
}
|
|
2542
1730
|
const data = await parseBody(output.body, context);
|
|
2543
1731
|
let contents = {};
|
|
@@ -2548,31 +1736,9 @@ var de_ListBackupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2548
1736
|
};
|
|
2549
1737
|
return response;
|
|
2550
1738
|
}, "de_ListBackupsCommand");
|
|
2551
|
-
var de_ListBackupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2552
|
-
const parsedOutput = {
|
|
2553
|
-
...output,
|
|
2554
|
-
body: await parseErrorBody(output.body, context)
|
|
2555
|
-
};
|
|
2556
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2557
|
-
switch (errorCode) {
|
|
2558
|
-
case "InternalServerError":
|
|
2559
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2560
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2561
|
-
case "InvalidEndpointException":
|
|
2562
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2563
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2564
|
-
default:
|
|
2565
|
-
const parsedBody = parsedOutput.body;
|
|
2566
|
-
return throwDefaultError({
|
|
2567
|
-
output,
|
|
2568
|
-
parsedBody,
|
|
2569
|
-
errorCode
|
|
2570
|
-
});
|
|
2571
|
-
}
|
|
2572
|
-
}, "de_ListBackupsCommandError");
|
|
2573
1739
|
var de_ListContributorInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2574
1740
|
if (output.statusCode >= 300) {
|
|
2575
|
-
return
|
|
1741
|
+
return de_CommandError(output, context);
|
|
2576
1742
|
}
|
|
2577
1743
|
const data = await parseBody(output.body, context);
|
|
2578
1744
|
let contents = {};
|
|
@@ -2583,31 +1749,9 @@ var de_ListContributorInsightsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2583
1749
|
};
|
|
2584
1750
|
return response;
|
|
2585
1751
|
}, "de_ListContributorInsightsCommand");
|
|
2586
|
-
var de_ListContributorInsightsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2587
|
-
const parsedOutput = {
|
|
2588
|
-
...output,
|
|
2589
|
-
body: await parseErrorBody(output.body, context)
|
|
2590
|
-
};
|
|
2591
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2592
|
-
switch (errorCode) {
|
|
2593
|
-
case "InternalServerError":
|
|
2594
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2595
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2596
|
-
case "ResourceNotFoundException":
|
|
2597
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2598
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2599
|
-
default:
|
|
2600
|
-
const parsedBody = parsedOutput.body;
|
|
2601
|
-
return throwDefaultError({
|
|
2602
|
-
output,
|
|
2603
|
-
parsedBody,
|
|
2604
|
-
errorCode
|
|
2605
|
-
});
|
|
2606
|
-
}
|
|
2607
|
-
}, "de_ListContributorInsightsCommandError");
|
|
2608
1752
|
var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2609
1753
|
if (output.statusCode >= 300) {
|
|
2610
|
-
return
|
|
1754
|
+
return de_CommandError(output, context);
|
|
2611
1755
|
}
|
|
2612
1756
|
const data = await parseBody(output.body, context);
|
|
2613
1757
|
let contents = {};
|
|
@@ -2618,31 +1762,9 @@ var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2618
1762
|
};
|
|
2619
1763
|
return response;
|
|
2620
1764
|
}, "de_ListExportsCommand");
|
|
2621
|
-
var de_ListExportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2622
|
-
const parsedOutput = {
|
|
2623
|
-
...output,
|
|
2624
|
-
body: await parseErrorBody(output.body, context)
|
|
2625
|
-
};
|
|
2626
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2627
|
-
switch (errorCode) {
|
|
2628
|
-
case "InternalServerError":
|
|
2629
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2630
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2631
|
-
case "LimitExceededException":
|
|
2632
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2633
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2634
|
-
default:
|
|
2635
|
-
const parsedBody = parsedOutput.body;
|
|
2636
|
-
return throwDefaultError({
|
|
2637
|
-
output,
|
|
2638
|
-
parsedBody,
|
|
2639
|
-
errorCode
|
|
2640
|
-
});
|
|
2641
|
-
}
|
|
2642
|
-
}, "de_ListExportsCommandError");
|
|
2643
1765
|
var de_ListGlobalTablesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2644
1766
|
if (output.statusCode >= 300) {
|
|
2645
|
-
return
|
|
1767
|
+
return de_CommandError(output, context);
|
|
2646
1768
|
}
|
|
2647
1769
|
const data = await parseBody(output.body, context);
|
|
2648
1770
|
let contents = {};
|
|
@@ -2653,31 +1775,9 @@ var de_ListGlobalTablesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2653
1775
|
};
|
|
2654
1776
|
return response;
|
|
2655
1777
|
}, "de_ListGlobalTablesCommand");
|
|
2656
|
-
var de_ListGlobalTablesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2657
|
-
const parsedOutput = {
|
|
2658
|
-
...output,
|
|
2659
|
-
body: await parseErrorBody(output.body, context)
|
|
2660
|
-
};
|
|
2661
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2662
|
-
switch (errorCode) {
|
|
2663
|
-
case "InternalServerError":
|
|
2664
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2665
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2666
|
-
case "InvalidEndpointException":
|
|
2667
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2668
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2669
|
-
default:
|
|
2670
|
-
const parsedBody = parsedOutput.body;
|
|
2671
|
-
return throwDefaultError({
|
|
2672
|
-
output,
|
|
2673
|
-
parsedBody,
|
|
2674
|
-
errorCode
|
|
2675
|
-
});
|
|
2676
|
-
}
|
|
2677
|
-
}, "de_ListGlobalTablesCommandError");
|
|
2678
1778
|
var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2679
1779
|
if (output.statusCode >= 300) {
|
|
2680
|
-
return
|
|
1780
|
+
return de_CommandError(output, context);
|
|
2681
1781
|
}
|
|
2682
1782
|
const data = await parseBody(output.body, context);
|
|
2683
1783
|
let contents = {};
|
|
@@ -2688,28 +1788,9 @@ var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2688
1788
|
};
|
|
2689
1789
|
return response;
|
|
2690
1790
|
}, "de_ListImportsCommand");
|
|
2691
|
-
var de_ListImportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2692
|
-
const parsedOutput = {
|
|
2693
|
-
...output,
|
|
2694
|
-
body: await parseErrorBody(output.body, context)
|
|
2695
|
-
};
|
|
2696
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2697
|
-
switch (errorCode) {
|
|
2698
|
-
case "LimitExceededException":
|
|
2699
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2700
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2701
|
-
default:
|
|
2702
|
-
const parsedBody = parsedOutput.body;
|
|
2703
|
-
return throwDefaultError({
|
|
2704
|
-
output,
|
|
2705
|
-
parsedBody,
|
|
2706
|
-
errorCode
|
|
2707
|
-
});
|
|
2708
|
-
}
|
|
2709
|
-
}, "de_ListImportsCommandError");
|
|
2710
1791
|
var de_ListTablesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2711
1792
|
if (output.statusCode >= 300) {
|
|
2712
|
-
return
|
|
1793
|
+
return de_CommandError(output, context);
|
|
2713
1794
|
}
|
|
2714
1795
|
const data = await parseBody(output.body, context);
|
|
2715
1796
|
let contents = {};
|
|
@@ -2720,31 +1801,9 @@ var de_ListTablesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2720
1801
|
};
|
|
2721
1802
|
return response;
|
|
2722
1803
|
}, "de_ListTablesCommand");
|
|
2723
|
-
var de_ListTablesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2724
|
-
const parsedOutput = {
|
|
2725
|
-
...output,
|
|
2726
|
-
body: await parseErrorBody(output.body, context)
|
|
2727
|
-
};
|
|
2728
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2729
|
-
switch (errorCode) {
|
|
2730
|
-
case "InternalServerError":
|
|
2731
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2732
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2733
|
-
case "InvalidEndpointException":
|
|
2734
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2735
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2736
|
-
default:
|
|
2737
|
-
const parsedBody = parsedOutput.body;
|
|
2738
|
-
return throwDefaultError({
|
|
2739
|
-
output,
|
|
2740
|
-
parsedBody,
|
|
2741
|
-
errorCode
|
|
2742
|
-
});
|
|
2743
|
-
}
|
|
2744
|
-
}, "de_ListTablesCommandError");
|
|
2745
1804
|
var de_ListTagsOfResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2746
1805
|
if (output.statusCode >= 300) {
|
|
2747
|
-
return
|
|
1806
|
+
return de_CommandError(output, context);
|
|
2748
1807
|
}
|
|
2749
1808
|
const data = await parseBody(output.body, context);
|
|
2750
1809
|
let contents = {};
|
|
@@ -2755,34 +1814,9 @@ var de_ListTagsOfResourceCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2755
1814
|
};
|
|
2756
1815
|
return response;
|
|
2757
1816
|
}, "de_ListTagsOfResourceCommand");
|
|
2758
|
-
var de_ListTagsOfResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2759
|
-
const parsedOutput = {
|
|
2760
|
-
...output,
|
|
2761
|
-
body: await parseErrorBody(output.body, context)
|
|
2762
|
-
};
|
|
2763
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2764
|
-
switch (errorCode) {
|
|
2765
|
-
case "InternalServerError":
|
|
2766
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2767
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2768
|
-
case "InvalidEndpointException":
|
|
2769
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2770
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2771
|
-
case "ResourceNotFoundException":
|
|
2772
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2773
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2774
|
-
default:
|
|
2775
|
-
const parsedBody = parsedOutput.body;
|
|
2776
|
-
return throwDefaultError({
|
|
2777
|
-
output,
|
|
2778
|
-
parsedBody,
|
|
2779
|
-
errorCode
|
|
2780
|
-
});
|
|
2781
|
-
}
|
|
2782
|
-
}, "de_ListTagsOfResourceCommandError");
|
|
2783
1817
|
var de_PutItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2784
1818
|
if (output.statusCode >= 300) {
|
|
2785
|
-
return
|
|
1819
|
+
return de_CommandError(output, context);
|
|
2786
1820
|
}
|
|
2787
1821
|
const data = await parseBody(output.body, context);
|
|
2788
1822
|
let contents = {};
|
|
@@ -2793,49 +1827,9 @@ var de_PutItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2793
1827
|
};
|
|
2794
1828
|
return response;
|
|
2795
1829
|
}, "de_PutItemCommand");
|
|
2796
|
-
var de_PutItemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2797
|
-
const parsedOutput = {
|
|
2798
|
-
...output,
|
|
2799
|
-
body: await parseErrorBody(output.body, context)
|
|
2800
|
-
};
|
|
2801
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2802
|
-
switch (errorCode) {
|
|
2803
|
-
case "ConditionalCheckFailedException":
|
|
2804
|
-
case "com.amazonaws.dynamodb#ConditionalCheckFailedException":
|
|
2805
|
-
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
2806
|
-
case "InternalServerError":
|
|
2807
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2808
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2809
|
-
case "InvalidEndpointException":
|
|
2810
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2811
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2812
|
-
case "ItemCollectionSizeLimitExceededException":
|
|
2813
|
-
case "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException":
|
|
2814
|
-
throw await de_ItemCollectionSizeLimitExceededExceptionRes(parsedOutput, context);
|
|
2815
|
-
case "ProvisionedThroughputExceededException":
|
|
2816
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
2817
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
2818
|
-
case "RequestLimitExceeded":
|
|
2819
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
2820
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
2821
|
-
case "ResourceNotFoundException":
|
|
2822
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2823
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2824
|
-
case "TransactionConflictException":
|
|
2825
|
-
case "com.amazonaws.dynamodb#TransactionConflictException":
|
|
2826
|
-
throw await de_TransactionConflictExceptionRes(parsedOutput, context);
|
|
2827
|
-
default:
|
|
2828
|
-
const parsedBody = parsedOutput.body;
|
|
2829
|
-
return throwDefaultError({
|
|
2830
|
-
output,
|
|
2831
|
-
parsedBody,
|
|
2832
|
-
errorCode
|
|
2833
|
-
});
|
|
2834
|
-
}
|
|
2835
|
-
}, "de_PutItemCommandError");
|
|
2836
1830
|
var de_QueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2837
1831
|
if (output.statusCode >= 300) {
|
|
2838
|
-
return
|
|
1832
|
+
return de_CommandError(output, context);
|
|
2839
1833
|
}
|
|
2840
1834
|
const data = await parseBody(output.body, context);
|
|
2841
1835
|
let contents = {};
|
|
@@ -2846,40 +1840,9 @@ var de_QueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2846
1840
|
};
|
|
2847
1841
|
return response;
|
|
2848
1842
|
}, "de_QueryCommand");
|
|
2849
|
-
var de_QueryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2850
|
-
const parsedOutput = {
|
|
2851
|
-
...output,
|
|
2852
|
-
body: await parseErrorBody(output.body, context)
|
|
2853
|
-
};
|
|
2854
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2855
|
-
switch (errorCode) {
|
|
2856
|
-
case "InternalServerError":
|
|
2857
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2858
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2859
|
-
case "InvalidEndpointException":
|
|
2860
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2861
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2862
|
-
case "ProvisionedThroughputExceededException":
|
|
2863
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
2864
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
2865
|
-
case "RequestLimitExceeded":
|
|
2866
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
2867
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
2868
|
-
case "ResourceNotFoundException":
|
|
2869
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2870
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2871
|
-
default:
|
|
2872
|
-
const parsedBody = parsedOutput.body;
|
|
2873
|
-
return throwDefaultError({
|
|
2874
|
-
output,
|
|
2875
|
-
parsedBody,
|
|
2876
|
-
errorCode
|
|
2877
|
-
});
|
|
2878
|
-
}
|
|
2879
|
-
}, "de_QueryCommandError");
|
|
2880
1843
|
var de_RestoreTableFromBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2881
1844
|
if (output.statusCode >= 300) {
|
|
2882
|
-
return
|
|
1845
|
+
return de_CommandError(output, context);
|
|
2883
1846
|
}
|
|
2884
1847
|
const data = await parseBody(output.body, context);
|
|
2885
1848
|
let contents = {};
|
|
@@ -2890,46 +1853,9 @@ var de_RestoreTableFromBackupCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2890
1853
|
};
|
|
2891
1854
|
return response;
|
|
2892
1855
|
}, "de_RestoreTableFromBackupCommand");
|
|
2893
|
-
var de_RestoreTableFromBackupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2894
|
-
const parsedOutput = {
|
|
2895
|
-
...output,
|
|
2896
|
-
body: await parseErrorBody(output.body, context)
|
|
2897
|
-
};
|
|
2898
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2899
|
-
switch (errorCode) {
|
|
2900
|
-
case "BackupInUseException":
|
|
2901
|
-
case "com.amazonaws.dynamodb#BackupInUseException":
|
|
2902
|
-
throw await de_BackupInUseExceptionRes(parsedOutput, context);
|
|
2903
|
-
case "BackupNotFoundException":
|
|
2904
|
-
case "com.amazonaws.dynamodb#BackupNotFoundException":
|
|
2905
|
-
throw await de_BackupNotFoundExceptionRes(parsedOutput, context);
|
|
2906
|
-
case "InternalServerError":
|
|
2907
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2908
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2909
|
-
case "InvalidEndpointException":
|
|
2910
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2911
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2912
|
-
case "LimitExceededException":
|
|
2913
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2914
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2915
|
-
case "TableAlreadyExistsException":
|
|
2916
|
-
case "com.amazonaws.dynamodb#TableAlreadyExistsException":
|
|
2917
|
-
throw await de_TableAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2918
|
-
case "TableInUseException":
|
|
2919
|
-
case "com.amazonaws.dynamodb#TableInUseException":
|
|
2920
|
-
throw await de_TableInUseExceptionRes(parsedOutput, context);
|
|
2921
|
-
default:
|
|
2922
|
-
const parsedBody = parsedOutput.body;
|
|
2923
|
-
return throwDefaultError({
|
|
2924
|
-
output,
|
|
2925
|
-
parsedBody,
|
|
2926
|
-
errorCode
|
|
2927
|
-
});
|
|
2928
|
-
}
|
|
2929
|
-
}, "de_RestoreTableFromBackupCommandError");
|
|
2930
1856
|
var de_RestoreTableToPointInTimeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2931
1857
|
if (output.statusCode >= 300) {
|
|
2932
|
-
return
|
|
1858
|
+
return de_CommandError(output, context);
|
|
2933
1859
|
}
|
|
2934
1860
|
const data = await parseBody(output.body, context);
|
|
2935
1861
|
let contents = {};
|
|
@@ -2940,93 +1866,22 @@ var de_RestoreTableToPointInTimeCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2940
1866
|
};
|
|
2941
1867
|
return response;
|
|
2942
1868
|
}, "de_RestoreTableToPointInTimeCommand");
|
|
2943
|
-
var
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
case "InvalidEndpointException":
|
|
2954
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2955
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2956
|
-
case "InvalidRestoreTimeException":
|
|
2957
|
-
case "com.amazonaws.dynamodb#InvalidRestoreTimeException":
|
|
2958
|
-
throw await de_InvalidRestoreTimeExceptionRes(parsedOutput, context);
|
|
2959
|
-
case "LimitExceededException":
|
|
2960
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2961
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2962
|
-
case "PointInTimeRecoveryUnavailableException":
|
|
2963
|
-
case "com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException":
|
|
2964
|
-
throw await de_PointInTimeRecoveryUnavailableExceptionRes(parsedOutput, context);
|
|
2965
|
-
case "TableAlreadyExistsException":
|
|
2966
|
-
case "com.amazonaws.dynamodb#TableAlreadyExistsException":
|
|
2967
|
-
throw await de_TableAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2968
|
-
case "TableInUseException":
|
|
2969
|
-
case "com.amazonaws.dynamodb#TableInUseException":
|
|
2970
|
-
throw await de_TableInUseExceptionRes(parsedOutput, context);
|
|
2971
|
-
case "TableNotFoundException":
|
|
2972
|
-
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
2973
|
-
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
2974
|
-
default:
|
|
2975
|
-
const parsedBody = parsedOutput.body;
|
|
2976
|
-
return throwDefaultError({
|
|
2977
|
-
output,
|
|
2978
|
-
parsedBody,
|
|
2979
|
-
errorCode
|
|
2980
|
-
});
|
|
2981
|
-
}
|
|
2982
|
-
}, "de_RestoreTableToPointInTimeCommandError");
|
|
2983
|
-
var de_ScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2984
|
-
if (output.statusCode >= 300) {
|
|
2985
|
-
return de_ScanCommandError(output, context);
|
|
2986
|
-
}
|
|
2987
|
-
const data = await parseBody(output.body, context);
|
|
2988
|
-
let contents = {};
|
|
2989
|
-
contents = de_ScanOutput(data, context);
|
|
2990
|
-
const response = {
|
|
2991
|
-
$metadata: deserializeMetadata(output),
|
|
2992
|
-
...contents
|
|
1869
|
+
var de_ScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1870
|
+
if (output.statusCode >= 300) {
|
|
1871
|
+
return de_CommandError(output, context);
|
|
1872
|
+
}
|
|
1873
|
+
const data = await parseBody(output.body, context);
|
|
1874
|
+
let contents = {};
|
|
1875
|
+
contents = de_ScanOutput(data, context);
|
|
1876
|
+
const response = {
|
|
1877
|
+
$metadata: deserializeMetadata(output),
|
|
1878
|
+
...contents
|
|
2993
1879
|
};
|
|
2994
1880
|
return response;
|
|
2995
1881
|
}, "de_ScanCommand");
|
|
2996
|
-
var de_ScanCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2997
|
-
const parsedOutput = {
|
|
2998
|
-
...output,
|
|
2999
|
-
body: await parseErrorBody(output.body, context)
|
|
3000
|
-
};
|
|
3001
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3002
|
-
switch (errorCode) {
|
|
3003
|
-
case "InternalServerError":
|
|
3004
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3005
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3006
|
-
case "InvalidEndpointException":
|
|
3007
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3008
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3009
|
-
case "ProvisionedThroughputExceededException":
|
|
3010
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
3011
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
3012
|
-
case "RequestLimitExceeded":
|
|
3013
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
3014
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
3015
|
-
case "ResourceNotFoundException":
|
|
3016
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3017
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3018
|
-
default:
|
|
3019
|
-
const parsedBody = parsedOutput.body;
|
|
3020
|
-
return throwDefaultError({
|
|
3021
|
-
output,
|
|
3022
|
-
parsedBody,
|
|
3023
|
-
errorCode
|
|
3024
|
-
});
|
|
3025
|
-
}
|
|
3026
|
-
}, "de_ScanCommandError");
|
|
3027
1882
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3028
1883
|
if (output.statusCode >= 300) {
|
|
3029
|
-
return
|
|
1884
|
+
return de_CommandError(output, context);
|
|
3030
1885
|
}
|
|
3031
1886
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3032
1887
|
const response = {
|
|
@@ -3034,40 +1889,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3034
1889
|
};
|
|
3035
1890
|
return response;
|
|
3036
1891
|
}, "de_TagResourceCommand");
|
|
3037
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3038
|
-
const parsedOutput = {
|
|
3039
|
-
...output,
|
|
3040
|
-
body: await parseErrorBody(output.body, context)
|
|
3041
|
-
};
|
|
3042
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3043
|
-
switch (errorCode) {
|
|
3044
|
-
case "InternalServerError":
|
|
3045
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3046
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3047
|
-
case "InvalidEndpointException":
|
|
3048
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3049
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3050
|
-
case "LimitExceededException":
|
|
3051
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3052
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3053
|
-
case "ResourceInUseException":
|
|
3054
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3055
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3056
|
-
case "ResourceNotFoundException":
|
|
3057
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3058
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3059
|
-
default:
|
|
3060
|
-
const parsedBody = parsedOutput.body;
|
|
3061
|
-
return throwDefaultError({
|
|
3062
|
-
output,
|
|
3063
|
-
parsedBody,
|
|
3064
|
-
errorCode
|
|
3065
|
-
});
|
|
3066
|
-
}
|
|
3067
|
-
}, "de_TagResourceCommandError");
|
|
3068
1892
|
var de_TransactGetItemsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3069
1893
|
if (output.statusCode >= 300) {
|
|
3070
|
-
return
|
|
1894
|
+
return de_CommandError(output, context);
|
|
3071
1895
|
}
|
|
3072
1896
|
const data = await parseBody(output.body, context);
|
|
3073
1897
|
let contents = {};
|
|
@@ -3078,43 +1902,9 @@ var de_TransactGetItemsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3078
1902
|
};
|
|
3079
1903
|
return response;
|
|
3080
1904
|
}, "de_TransactGetItemsCommand");
|
|
3081
|
-
var de_TransactGetItemsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3082
|
-
const parsedOutput = {
|
|
3083
|
-
...output,
|
|
3084
|
-
body: await parseErrorBody(output.body, context)
|
|
3085
|
-
};
|
|
3086
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3087
|
-
switch (errorCode) {
|
|
3088
|
-
case "InternalServerError":
|
|
3089
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3090
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3091
|
-
case "InvalidEndpointException":
|
|
3092
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3093
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3094
|
-
case "ProvisionedThroughputExceededException":
|
|
3095
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
3096
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
3097
|
-
case "RequestLimitExceeded":
|
|
3098
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
3099
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
3100
|
-
case "ResourceNotFoundException":
|
|
3101
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3102
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3103
|
-
case "TransactionCanceledException":
|
|
3104
|
-
case "com.amazonaws.dynamodb#TransactionCanceledException":
|
|
3105
|
-
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
3106
|
-
default:
|
|
3107
|
-
const parsedBody = parsedOutput.body;
|
|
3108
|
-
return throwDefaultError({
|
|
3109
|
-
output,
|
|
3110
|
-
parsedBody,
|
|
3111
|
-
errorCode
|
|
3112
|
-
});
|
|
3113
|
-
}
|
|
3114
|
-
}, "de_TransactGetItemsCommandError");
|
|
3115
1905
|
var de_TransactWriteItemsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3116
1906
|
if (output.statusCode >= 300) {
|
|
3117
|
-
return
|
|
1907
|
+
return de_CommandError(output, context);
|
|
3118
1908
|
}
|
|
3119
1909
|
const data = await parseBody(output.body, context);
|
|
3120
1910
|
let contents = {};
|
|
@@ -3125,49 +1915,9 @@ var de_TransactWriteItemsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3125
1915
|
};
|
|
3126
1916
|
return response;
|
|
3127
1917
|
}, "de_TransactWriteItemsCommand");
|
|
3128
|
-
var de_TransactWriteItemsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3129
|
-
const parsedOutput = {
|
|
3130
|
-
...output,
|
|
3131
|
-
body: await parseErrorBody(output.body, context)
|
|
3132
|
-
};
|
|
3133
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3134
|
-
switch (errorCode) {
|
|
3135
|
-
case "IdempotentParameterMismatchException":
|
|
3136
|
-
case "com.amazonaws.dynamodb#IdempotentParameterMismatchException":
|
|
3137
|
-
throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput, context);
|
|
3138
|
-
case "InternalServerError":
|
|
3139
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3140
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3141
|
-
case "InvalidEndpointException":
|
|
3142
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3143
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3144
|
-
case "ProvisionedThroughputExceededException":
|
|
3145
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
3146
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
3147
|
-
case "RequestLimitExceeded":
|
|
3148
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
3149
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
3150
|
-
case "ResourceNotFoundException":
|
|
3151
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3152
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3153
|
-
case "TransactionCanceledException":
|
|
3154
|
-
case "com.amazonaws.dynamodb#TransactionCanceledException":
|
|
3155
|
-
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
3156
|
-
case "TransactionInProgressException":
|
|
3157
|
-
case "com.amazonaws.dynamodb#TransactionInProgressException":
|
|
3158
|
-
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
3159
|
-
default:
|
|
3160
|
-
const parsedBody = parsedOutput.body;
|
|
3161
|
-
return throwDefaultError({
|
|
3162
|
-
output,
|
|
3163
|
-
parsedBody,
|
|
3164
|
-
errorCode
|
|
3165
|
-
});
|
|
3166
|
-
}
|
|
3167
|
-
}, "de_TransactWriteItemsCommandError");
|
|
3168
1918
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3169
1919
|
if (output.statusCode >= 300) {
|
|
3170
|
-
return
|
|
1920
|
+
return de_CommandError(output, context);
|
|
3171
1921
|
}
|
|
3172
1922
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3173
1923
|
const response = {
|
|
@@ -3175,40 +1925,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3175
1925
|
};
|
|
3176
1926
|
return response;
|
|
3177
1927
|
}, "de_UntagResourceCommand");
|
|
3178
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3179
|
-
const parsedOutput = {
|
|
3180
|
-
...output,
|
|
3181
|
-
body: await parseErrorBody(output.body, context)
|
|
3182
|
-
};
|
|
3183
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3184
|
-
switch (errorCode) {
|
|
3185
|
-
case "InternalServerError":
|
|
3186
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3187
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3188
|
-
case "InvalidEndpointException":
|
|
3189
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3190
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3191
|
-
case "LimitExceededException":
|
|
3192
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3193
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3194
|
-
case "ResourceInUseException":
|
|
3195
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3196
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3197
|
-
case "ResourceNotFoundException":
|
|
3198
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3199
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3200
|
-
default:
|
|
3201
|
-
const parsedBody = parsedOutput.body;
|
|
3202
|
-
return throwDefaultError({
|
|
3203
|
-
output,
|
|
3204
|
-
parsedBody,
|
|
3205
|
-
errorCode
|
|
3206
|
-
});
|
|
3207
|
-
}
|
|
3208
|
-
}, "de_UntagResourceCommandError");
|
|
3209
1928
|
var de_UpdateContinuousBackupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3210
1929
|
if (output.statusCode >= 300) {
|
|
3211
|
-
return
|
|
1930
|
+
return de_CommandError(output, context);
|
|
3212
1931
|
}
|
|
3213
1932
|
const data = await parseBody(output.body, context);
|
|
3214
1933
|
let contents = {};
|
|
@@ -3219,37 +1938,9 @@ var de_UpdateContinuousBackupsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3219
1938
|
};
|
|
3220
1939
|
return response;
|
|
3221
1940
|
}, "de_UpdateContinuousBackupsCommand");
|
|
3222
|
-
var de_UpdateContinuousBackupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3223
|
-
const parsedOutput = {
|
|
3224
|
-
...output,
|
|
3225
|
-
body: await parseErrorBody(output.body, context)
|
|
3226
|
-
};
|
|
3227
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3228
|
-
switch (errorCode) {
|
|
3229
|
-
case "ContinuousBackupsUnavailableException":
|
|
3230
|
-
case "com.amazonaws.dynamodb#ContinuousBackupsUnavailableException":
|
|
3231
|
-
throw await de_ContinuousBackupsUnavailableExceptionRes(parsedOutput, context);
|
|
3232
|
-
case "InternalServerError":
|
|
3233
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3234
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3235
|
-
case "InvalidEndpointException":
|
|
3236
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3237
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3238
|
-
case "TableNotFoundException":
|
|
3239
|
-
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
3240
|
-
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
3241
|
-
default:
|
|
3242
|
-
const parsedBody = parsedOutput.body;
|
|
3243
|
-
return throwDefaultError({
|
|
3244
|
-
output,
|
|
3245
|
-
parsedBody,
|
|
3246
|
-
errorCode
|
|
3247
|
-
});
|
|
3248
|
-
}
|
|
3249
|
-
}, "de_UpdateContinuousBackupsCommandError");
|
|
3250
1941
|
var de_UpdateContributorInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3251
1942
|
if (output.statusCode >= 300) {
|
|
3252
|
-
return
|
|
1943
|
+
return de_CommandError(output, context);
|
|
3253
1944
|
}
|
|
3254
1945
|
const data = await parseBody(output.body, context);
|
|
3255
1946
|
let contents = {};
|
|
@@ -3259,79 +1950,23 @@ var de_UpdateContributorInsightsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3259
1950
|
...contents
|
|
3260
1951
|
};
|
|
3261
1952
|
return response;
|
|
3262
|
-
}, "de_UpdateContributorInsightsCommand");
|
|
3263
|
-
var
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
body: await parseErrorBody(output.body, context)
|
|
3267
|
-
};
|
|
3268
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3269
|
-
switch (errorCode) {
|
|
3270
|
-
case "InternalServerError":
|
|
3271
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3272
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3273
|
-
case "ResourceNotFoundException":
|
|
3274
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3275
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3276
|
-
default:
|
|
3277
|
-
const parsedBody = parsedOutput.body;
|
|
3278
|
-
return throwDefaultError({
|
|
3279
|
-
output,
|
|
3280
|
-
parsedBody,
|
|
3281
|
-
errorCode
|
|
3282
|
-
});
|
|
3283
|
-
}
|
|
3284
|
-
}, "de_UpdateContributorInsightsCommandError");
|
|
3285
|
-
var de_UpdateGlobalTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3286
|
-
if (output.statusCode >= 300) {
|
|
3287
|
-
return de_UpdateGlobalTableCommandError(output, context);
|
|
3288
|
-
}
|
|
3289
|
-
const data = await parseBody(output.body, context);
|
|
3290
|
-
let contents = {};
|
|
3291
|
-
contents = de_UpdateGlobalTableOutput(data, context);
|
|
3292
|
-
const response = {
|
|
3293
|
-
$metadata: deserializeMetadata(output),
|
|
3294
|
-
...contents
|
|
3295
|
-
};
|
|
3296
|
-
return response;
|
|
3297
|
-
}, "de_UpdateGlobalTableCommand");
|
|
3298
|
-
var de_UpdateGlobalTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3299
|
-
const parsedOutput = {
|
|
3300
|
-
...output,
|
|
3301
|
-
body: await parseErrorBody(output.body, context)
|
|
3302
|
-
};
|
|
3303
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3304
|
-
switch (errorCode) {
|
|
3305
|
-
case "GlobalTableNotFoundException":
|
|
3306
|
-
case "com.amazonaws.dynamodb#GlobalTableNotFoundException":
|
|
3307
|
-
throw await de_GlobalTableNotFoundExceptionRes(parsedOutput, context);
|
|
3308
|
-
case "InternalServerError":
|
|
3309
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3310
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3311
|
-
case "InvalidEndpointException":
|
|
3312
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3313
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3314
|
-
case "ReplicaAlreadyExistsException":
|
|
3315
|
-
case "com.amazonaws.dynamodb#ReplicaAlreadyExistsException":
|
|
3316
|
-
throw await de_ReplicaAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3317
|
-
case "ReplicaNotFoundException":
|
|
3318
|
-
case "com.amazonaws.dynamodb#ReplicaNotFoundException":
|
|
3319
|
-
throw await de_ReplicaNotFoundExceptionRes(parsedOutput, context);
|
|
3320
|
-
case "TableNotFoundException":
|
|
3321
|
-
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
3322
|
-
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
3323
|
-
default:
|
|
3324
|
-
const parsedBody = parsedOutput.body;
|
|
3325
|
-
return throwDefaultError({
|
|
3326
|
-
output,
|
|
3327
|
-
parsedBody,
|
|
3328
|
-
errorCode
|
|
3329
|
-
});
|
|
1953
|
+
}, "de_UpdateContributorInsightsCommand");
|
|
1954
|
+
var de_UpdateGlobalTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1955
|
+
if (output.statusCode >= 300) {
|
|
1956
|
+
return de_CommandError(output, context);
|
|
3330
1957
|
}
|
|
3331
|
-
|
|
1958
|
+
const data = await parseBody(output.body, context);
|
|
1959
|
+
let contents = {};
|
|
1960
|
+
contents = de_UpdateGlobalTableOutput(data, context);
|
|
1961
|
+
const response = {
|
|
1962
|
+
$metadata: deserializeMetadata(output),
|
|
1963
|
+
...contents
|
|
1964
|
+
};
|
|
1965
|
+
return response;
|
|
1966
|
+
}, "de_UpdateGlobalTableCommand");
|
|
3332
1967
|
var de_UpdateGlobalTableSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3333
1968
|
if (output.statusCode >= 300) {
|
|
3334
|
-
return
|
|
1969
|
+
return de_CommandError(output, context);
|
|
3335
1970
|
}
|
|
3336
1971
|
const data = await parseBody(output.body, context);
|
|
3337
1972
|
let contents = {};
|
|
@@ -3342,46 +1977,9 @@ var de_UpdateGlobalTableSettingsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3342
1977
|
};
|
|
3343
1978
|
return response;
|
|
3344
1979
|
}, "de_UpdateGlobalTableSettingsCommand");
|
|
3345
|
-
var de_UpdateGlobalTableSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3346
|
-
const parsedOutput = {
|
|
3347
|
-
...output,
|
|
3348
|
-
body: await parseErrorBody(output.body, context)
|
|
3349
|
-
};
|
|
3350
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3351
|
-
switch (errorCode) {
|
|
3352
|
-
case "GlobalTableNotFoundException":
|
|
3353
|
-
case "com.amazonaws.dynamodb#GlobalTableNotFoundException":
|
|
3354
|
-
throw await de_GlobalTableNotFoundExceptionRes(parsedOutput, context);
|
|
3355
|
-
case "IndexNotFoundException":
|
|
3356
|
-
case "com.amazonaws.dynamodb#IndexNotFoundException":
|
|
3357
|
-
throw await de_IndexNotFoundExceptionRes(parsedOutput, context);
|
|
3358
|
-
case "InternalServerError":
|
|
3359
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3360
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3361
|
-
case "InvalidEndpointException":
|
|
3362
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3363
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3364
|
-
case "LimitExceededException":
|
|
3365
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3366
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3367
|
-
case "ReplicaNotFoundException":
|
|
3368
|
-
case "com.amazonaws.dynamodb#ReplicaNotFoundException":
|
|
3369
|
-
throw await de_ReplicaNotFoundExceptionRes(parsedOutput, context);
|
|
3370
|
-
case "ResourceInUseException":
|
|
3371
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3372
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3373
|
-
default:
|
|
3374
|
-
const parsedBody = parsedOutput.body;
|
|
3375
|
-
return throwDefaultError({
|
|
3376
|
-
output,
|
|
3377
|
-
parsedBody,
|
|
3378
|
-
errorCode
|
|
3379
|
-
});
|
|
3380
|
-
}
|
|
3381
|
-
}, "de_UpdateGlobalTableSettingsCommandError");
|
|
3382
1980
|
var de_UpdateItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3383
1981
|
if (output.statusCode >= 300) {
|
|
3384
|
-
return
|
|
1982
|
+
return de_CommandError(output, context);
|
|
3385
1983
|
}
|
|
3386
1984
|
const data = await parseBody(output.body, context);
|
|
3387
1985
|
let contents = {};
|
|
@@ -3392,49 +1990,9 @@ var de_UpdateItemCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3392
1990
|
};
|
|
3393
1991
|
return response;
|
|
3394
1992
|
}, "de_UpdateItemCommand");
|
|
3395
|
-
var de_UpdateItemCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3396
|
-
const parsedOutput = {
|
|
3397
|
-
...output,
|
|
3398
|
-
body: await parseErrorBody(output.body, context)
|
|
3399
|
-
};
|
|
3400
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3401
|
-
switch (errorCode) {
|
|
3402
|
-
case "ConditionalCheckFailedException":
|
|
3403
|
-
case "com.amazonaws.dynamodb#ConditionalCheckFailedException":
|
|
3404
|
-
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
3405
|
-
case "InternalServerError":
|
|
3406
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3407
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3408
|
-
case "InvalidEndpointException":
|
|
3409
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3410
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3411
|
-
case "ItemCollectionSizeLimitExceededException":
|
|
3412
|
-
case "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException":
|
|
3413
|
-
throw await de_ItemCollectionSizeLimitExceededExceptionRes(parsedOutput, context);
|
|
3414
|
-
case "ProvisionedThroughputExceededException":
|
|
3415
|
-
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
3416
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
3417
|
-
case "RequestLimitExceeded":
|
|
3418
|
-
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
3419
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
3420
|
-
case "ResourceNotFoundException":
|
|
3421
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3422
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3423
|
-
case "TransactionConflictException":
|
|
3424
|
-
case "com.amazonaws.dynamodb#TransactionConflictException":
|
|
3425
|
-
throw await de_TransactionConflictExceptionRes(parsedOutput, context);
|
|
3426
|
-
default:
|
|
3427
|
-
const parsedBody = parsedOutput.body;
|
|
3428
|
-
return throwDefaultError({
|
|
3429
|
-
output,
|
|
3430
|
-
parsedBody,
|
|
3431
|
-
errorCode
|
|
3432
|
-
});
|
|
3433
|
-
}
|
|
3434
|
-
}, "de_UpdateItemCommandError");
|
|
3435
1993
|
var de_UpdateKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3436
1994
|
if (output.statusCode >= 300) {
|
|
3437
|
-
return
|
|
1995
|
+
return de_CommandError(output, context);
|
|
3438
1996
|
}
|
|
3439
1997
|
const data = await parseBody(output.body, context);
|
|
3440
1998
|
let contents = {};
|
|
@@ -3445,40 +2003,9 @@ var de_UpdateKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (
|
|
|
3445
2003
|
};
|
|
3446
2004
|
return response;
|
|
3447
2005
|
}, "de_UpdateKinesisStreamingDestinationCommand");
|
|
3448
|
-
var de_UpdateKinesisStreamingDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3449
|
-
const parsedOutput = {
|
|
3450
|
-
...output,
|
|
3451
|
-
body: await parseErrorBody(output.body, context)
|
|
3452
|
-
};
|
|
3453
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3454
|
-
switch (errorCode) {
|
|
3455
|
-
case "InternalServerError":
|
|
3456
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3457
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3458
|
-
case "InvalidEndpointException":
|
|
3459
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3460
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3461
|
-
case "LimitExceededException":
|
|
3462
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3463
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3464
|
-
case "ResourceInUseException":
|
|
3465
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3466
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3467
|
-
case "ResourceNotFoundException":
|
|
3468
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3469
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3470
|
-
default:
|
|
3471
|
-
const parsedBody = parsedOutput.body;
|
|
3472
|
-
return throwDefaultError({
|
|
3473
|
-
output,
|
|
3474
|
-
parsedBody,
|
|
3475
|
-
errorCode
|
|
3476
|
-
});
|
|
3477
|
-
}
|
|
3478
|
-
}, "de_UpdateKinesisStreamingDestinationCommandError");
|
|
3479
2006
|
var de_UpdateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3480
2007
|
if (output.statusCode >= 300) {
|
|
3481
|
-
return
|
|
2008
|
+
return de_CommandError(output, context);
|
|
3482
2009
|
}
|
|
3483
2010
|
const data = await parseBody(output.body, context);
|
|
3484
2011
|
let contents = {};
|
|
@@ -3489,40 +2016,9 @@ var de_UpdateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3489
2016
|
};
|
|
3490
2017
|
return response;
|
|
3491
2018
|
}, "de_UpdateTableCommand");
|
|
3492
|
-
var de_UpdateTableCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3493
|
-
const parsedOutput = {
|
|
3494
|
-
...output,
|
|
3495
|
-
body: await parseErrorBody(output.body, context)
|
|
3496
|
-
};
|
|
3497
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3498
|
-
switch (errorCode) {
|
|
3499
|
-
case "InternalServerError":
|
|
3500
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3501
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3502
|
-
case "InvalidEndpointException":
|
|
3503
|
-
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3504
|
-
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3505
|
-
case "LimitExceededException":
|
|
3506
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3507
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3508
|
-
case "ResourceInUseException":
|
|
3509
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3510
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3511
|
-
case "ResourceNotFoundException":
|
|
3512
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3513
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3514
|
-
default:
|
|
3515
|
-
const parsedBody = parsedOutput.body;
|
|
3516
|
-
return throwDefaultError({
|
|
3517
|
-
output,
|
|
3518
|
-
parsedBody,
|
|
3519
|
-
errorCode
|
|
3520
|
-
});
|
|
3521
|
-
}
|
|
3522
|
-
}, "de_UpdateTableCommandError");
|
|
3523
2019
|
var de_UpdateTableReplicaAutoScalingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3524
2020
|
if (output.statusCode >= 300) {
|
|
3525
|
-
return
|
|
2021
|
+
return de_CommandError(output, context);
|
|
3526
2022
|
}
|
|
3527
2023
|
const data = await parseBody(output.body, context);
|
|
3528
2024
|
let contents = {};
|
|
@@ -3533,37 +2029,9 @@ var de_UpdateTableReplicaAutoScalingCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3533
2029
|
};
|
|
3534
2030
|
return response;
|
|
3535
2031
|
}, "de_UpdateTableReplicaAutoScalingCommand");
|
|
3536
|
-
var de_UpdateTableReplicaAutoScalingCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3537
|
-
const parsedOutput = {
|
|
3538
|
-
...output,
|
|
3539
|
-
body: await parseErrorBody(output.body, context)
|
|
3540
|
-
};
|
|
3541
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3542
|
-
switch (errorCode) {
|
|
3543
|
-
case "InternalServerError":
|
|
3544
|
-
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3545
|
-
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3546
|
-
case "LimitExceededException":
|
|
3547
|
-
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3548
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3549
|
-
case "ResourceInUseException":
|
|
3550
|
-
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3551
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3552
|
-
case "ResourceNotFoundException":
|
|
3553
|
-
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3554
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3555
|
-
default:
|
|
3556
|
-
const parsedBody = parsedOutput.body;
|
|
3557
|
-
return throwDefaultError({
|
|
3558
|
-
output,
|
|
3559
|
-
parsedBody,
|
|
3560
|
-
errorCode
|
|
3561
|
-
});
|
|
3562
|
-
}
|
|
3563
|
-
}, "de_UpdateTableReplicaAutoScalingCommandError");
|
|
3564
2032
|
var de_UpdateTimeToLiveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3565
2033
|
if (output.statusCode >= 300) {
|
|
3566
|
-
return
|
|
2034
|
+
return de_CommandError(output, context);
|
|
3567
2035
|
}
|
|
3568
2036
|
const data = await parseBody(output.body, context);
|
|
3569
2037
|
let contents = {};
|
|
@@ -3574,7 +2042,7 @@ var de_UpdateTimeToLiveCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3574
2042
|
};
|
|
3575
2043
|
return response;
|
|
3576
2044
|
}, "de_UpdateTimeToLiveCommand");
|
|
3577
|
-
var
|
|
2045
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3578
2046
|
const parsedOutput = {
|
|
3579
2047
|
...output,
|
|
3580
2048
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3584,18 +2052,99 @@ var de_UpdateTimeToLiveCommandError = /* @__PURE__ */ __name(async (output, cont
|
|
|
3584
2052
|
case "InternalServerError":
|
|
3585
2053
|
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3586
2054
|
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2055
|
+
case "RequestLimitExceeded":
|
|
2056
|
+
case "com.amazonaws.dynamodb#RequestLimitExceeded":
|
|
2057
|
+
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
3587
2058
|
case "InvalidEndpointException":
|
|
3588
2059
|
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3589
2060
|
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2061
|
+
case "ProvisionedThroughputExceededException":
|
|
2062
|
+
case "com.amazonaws.dynamodb#ProvisionedThroughputExceededException":
|
|
2063
|
+
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput, context);
|
|
2064
|
+
case "ResourceNotFoundException":
|
|
2065
|
+
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2066
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2067
|
+
case "ItemCollectionSizeLimitExceededException":
|
|
2068
|
+
case "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException":
|
|
2069
|
+
throw await de_ItemCollectionSizeLimitExceededExceptionRes(parsedOutput, context);
|
|
2070
|
+
case "BackupInUseException":
|
|
2071
|
+
case "com.amazonaws.dynamodb#BackupInUseException":
|
|
2072
|
+
throw await de_BackupInUseExceptionRes(parsedOutput, context);
|
|
2073
|
+
case "ContinuousBackupsUnavailableException":
|
|
2074
|
+
case "com.amazonaws.dynamodb#ContinuousBackupsUnavailableException":
|
|
2075
|
+
throw await de_ContinuousBackupsUnavailableExceptionRes(parsedOutput, context);
|
|
3590
2076
|
case "LimitExceededException":
|
|
3591
2077
|
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3592
2078
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2079
|
+
case "TableInUseException":
|
|
2080
|
+
case "com.amazonaws.dynamodb#TableInUseException":
|
|
2081
|
+
throw await de_TableInUseExceptionRes(parsedOutput, context);
|
|
2082
|
+
case "TableNotFoundException":
|
|
2083
|
+
case "com.amazonaws.dynamodb#TableNotFoundException":
|
|
2084
|
+
throw await de_TableNotFoundExceptionRes(parsedOutput, context);
|
|
2085
|
+
case "GlobalTableAlreadyExistsException":
|
|
2086
|
+
case "com.amazonaws.dynamodb#GlobalTableAlreadyExistsException":
|
|
2087
|
+
throw await de_GlobalTableAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3593
2088
|
case "ResourceInUseException":
|
|
3594
2089
|
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3595
2090
|
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3596
|
-
case "
|
|
3597
|
-
case "com.amazonaws.dynamodb#
|
|
3598
|
-
throw await
|
|
2091
|
+
case "BackupNotFoundException":
|
|
2092
|
+
case "com.amazonaws.dynamodb#BackupNotFoundException":
|
|
2093
|
+
throw await de_BackupNotFoundExceptionRes(parsedOutput, context);
|
|
2094
|
+
case "ConditionalCheckFailedException":
|
|
2095
|
+
case "com.amazonaws.dynamodb#ConditionalCheckFailedException":
|
|
2096
|
+
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
2097
|
+
case "TransactionConflictException":
|
|
2098
|
+
case "com.amazonaws.dynamodb#TransactionConflictException":
|
|
2099
|
+
throw await de_TransactionConflictExceptionRes(parsedOutput, context);
|
|
2100
|
+
case "ExportNotFoundException":
|
|
2101
|
+
case "com.amazonaws.dynamodb#ExportNotFoundException":
|
|
2102
|
+
throw await de_ExportNotFoundExceptionRes(parsedOutput, context);
|
|
2103
|
+
case "GlobalTableNotFoundException":
|
|
2104
|
+
case "com.amazonaws.dynamodb#GlobalTableNotFoundException":
|
|
2105
|
+
throw await de_GlobalTableNotFoundExceptionRes(parsedOutput, context);
|
|
2106
|
+
case "ImportNotFoundException":
|
|
2107
|
+
case "com.amazonaws.dynamodb#ImportNotFoundException":
|
|
2108
|
+
throw await de_ImportNotFoundExceptionRes(parsedOutput, context);
|
|
2109
|
+
case "DuplicateItemException":
|
|
2110
|
+
case "com.amazonaws.dynamodb#DuplicateItemException":
|
|
2111
|
+
throw await de_DuplicateItemExceptionRes(parsedOutput, context);
|
|
2112
|
+
case "IdempotentParameterMismatchException":
|
|
2113
|
+
case "com.amazonaws.dynamodb#IdempotentParameterMismatchException":
|
|
2114
|
+
throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput, context);
|
|
2115
|
+
case "TransactionCanceledException":
|
|
2116
|
+
case "com.amazonaws.dynamodb#TransactionCanceledException":
|
|
2117
|
+
throw await de_TransactionCanceledExceptionRes(parsedOutput, context);
|
|
2118
|
+
case "TransactionInProgressException":
|
|
2119
|
+
case "com.amazonaws.dynamodb#TransactionInProgressException":
|
|
2120
|
+
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
2121
|
+
case "ExportConflictException":
|
|
2122
|
+
case "com.amazonaws.dynamodb#ExportConflictException":
|
|
2123
|
+
throw await de_ExportConflictExceptionRes(parsedOutput, context);
|
|
2124
|
+
case "InvalidExportTimeException":
|
|
2125
|
+
case "com.amazonaws.dynamodb#InvalidExportTimeException":
|
|
2126
|
+
throw await de_InvalidExportTimeExceptionRes(parsedOutput, context);
|
|
2127
|
+
case "PointInTimeRecoveryUnavailableException":
|
|
2128
|
+
case "com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException":
|
|
2129
|
+
throw await de_PointInTimeRecoveryUnavailableExceptionRes(parsedOutput, context);
|
|
2130
|
+
case "ImportConflictException":
|
|
2131
|
+
case "com.amazonaws.dynamodb#ImportConflictException":
|
|
2132
|
+
throw await de_ImportConflictExceptionRes(parsedOutput, context);
|
|
2133
|
+
case "TableAlreadyExistsException":
|
|
2134
|
+
case "com.amazonaws.dynamodb#TableAlreadyExistsException":
|
|
2135
|
+
throw await de_TableAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2136
|
+
case "InvalidRestoreTimeException":
|
|
2137
|
+
case "com.amazonaws.dynamodb#InvalidRestoreTimeException":
|
|
2138
|
+
throw await de_InvalidRestoreTimeExceptionRes(parsedOutput, context);
|
|
2139
|
+
case "ReplicaAlreadyExistsException":
|
|
2140
|
+
case "com.amazonaws.dynamodb#ReplicaAlreadyExistsException":
|
|
2141
|
+
throw await de_ReplicaAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2142
|
+
case "ReplicaNotFoundException":
|
|
2143
|
+
case "com.amazonaws.dynamodb#ReplicaNotFoundException":
|
|
2144
|
+
throw await de_ReplicaNotFoundExceptionRes(parsedOutput, context);
|
|
2145
|
+
case "IndexNotFoundException":
|
|
2146
|
+
case "com.amazonaws.dynamodb#IndexNotFoundException":
|
|
2147
|
+
throw await de_IndexNotFoundExceptionRes(parsedOutput, context);
|
|
3599
2148
|
default:
|
|
3600
2149
|
const parsedBody = parsedOutput.body;
|
|
3601
2150
|
return throwDefaultError({
|
|
@@ -3604,7 +2153,7 @@ var de_UpdateTimeToLiveCommandError = /* @__PURE__ */ __name(async (output, cont
|
|
|
3604
2153
|
errorCode
|
|
3605
2154
|
});
|
|
3606
2155
|
}
|
|
3607
|
-
}, "
|
|
2156
|
+
}, "de_CommandError");
|
|
3608
2157
|
var de_BackupInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3609
2158
|
const body = parsedOutput.body;
|
|
3610
2159
|
const deserialized = (0, import_smithy_client._json)(body);
|