@aws-sdk/client-finspace 3.504.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 +100 -1711
- package/dist-es/protocols/Aws_restJson1.js +110 -1721
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1302,7 +1302,7 @@ var se_UpdateKxVolumeCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1302
1302
|
}, "se_UpdateKxVolumeCommand");
|
|
1303
1303
|
var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1304
1304
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1305
|
-
return
|
|
1305
|
+
return de_CommandError(output, context);
|
|
1306
1306
|
}
|
|
1307
1307
|
const contents = (0, import_smithy_client.map)({
|
|
1308
1308
|
$metadata: deserializeMetadata(output)
|
|
@@ -1316,43 +1316,9 @@ var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1316
1316
|
Object.assign(contents, doc);
|
|
1317
1317
|
return contents;
|
|
1318
1318
|
}, "de_CreateEnvironmentCommand");
|
|
1319
|
-
var de_CreateEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1320
|
-
const parsedOutput = {
|
|
1321
|
-
...output,
|
|
1322
|
-
body: await parseErrorBody(output.body, context)
|
|
1323
|
-
};
|
|
1324
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1325
|
-
switch (errorCode) {
|
|
1326
|
-
case "AccessDeniedException":
|
|
1327
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1328
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1329
|
-
case "InternalServerException":
|
|
1330
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1331
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1332
|
-
case "LimitExceededException":
|
|
1333
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1334
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1335
|
-
case "ServiceQuotaExceededException":
|
|
1336
|
-
case "com.amazonaws.finspace#ServiceQuotaExceededException":
|
|
1337
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1338
|
-
case "ThrottlingException":
|
|
1339
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1340
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1341
|
-
case "ValidationException":
|
|
1342
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1343
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1344
|
-
default:
|
|
1345
|
-
const parsedBody = parsedOutput.body;
|
|
1346
|
-
return throwDefaultError({
|
|
1347
|
-
output,
|
|
1348
|
-
parsedBody,
|
|
1349
|
-
errorCode
|
|
1350
|
-
});
|
|
1351
|
-
}
|
|
1352
|
-
}, "de_CreateEnvironmentCommandError");
|
|
1353
1319
|
var de_CreateKxChangesetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1354
1320
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1355
|
-
return
|
|
1321
|
+
return de_CommandError(output, context);
|
|
1356
1322
|
}
|
|
1357
1323
|
const contents = (0, import_smithy_client.map)({
|
|
1358
1324
|
$metadata: deserializeMetadata(output)
|
|
@@ -1371,46 +1337,9 @@ var de_CreateKxChangesetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1371
1337
|
Object.assign(contents, doc);
|
|
1372
1338
|
return contents;
|
|
1373
1339
|
}, "de_CreateKxChangesetCommand");
|
|
1374
|
-
var de_CreateKxChangesetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1375
|
-
const parsedOutput = {
|
|
1376
|
-
...output,
|
|
1377
|
-
body: await parseErrorBody(output.body, context)
|
|
1378
|
-
};
|
|
1379
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1380
|
-
switch (errorCode) {
|
|
1381
|
-
case "AccessDeniedException":
|
|
1382
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1383
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1384
|
-
case "ConflictException":
|
|
1385
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1386
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1387
|
-
case "InternalServerException":
|
|
1388
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1389
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1390
|
-
case "LimitExceededException":
|
|
1391
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1392
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1393
|
-
case "ResourceNotFoundException":
|
|
1394
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1395
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1396
|
-
case "ThrottlingException":
|
|
1397
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1398
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1399
|
-
case "ValidationException":
|
|
1400
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1401
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1402
|
-
default:
|
|
1403
|
-
const parsedBody = parsedOutput.body;
|
|
1404
|
-
return throwDefaultError({
|
|
1405
|
-
output,
|
|
1406
|
-
parsedBody,
|
|
1407
|
-
errorCode
|
|
1408
|
-
});
|
|
1409
|
-
}
|
|
1410
|
-
}, "de_CreateKxChangesetCommandError");
|
|
1411
1340
|
var de_CreateKxClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1412
1341
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1413
|
-
return
|
|
1342
|
+
return de_CommandError(output, context);
|
|
1414
1343
|
}
|
|
1415
1344
|
const contents = (0, import_smithy_client.map)({
|
|
1416
1345
|
$metadata: deserializeMetadata(output)
|
|
@@ -1445,46 +1374,9 @@ var de_CreateKxClusterCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1445
1374
|
Object.assign(contents, doc);
|
|
1446
1375
|
return contents;
|
|
1447
1376
|
}, "de_CreateKxClusterCommand");
|
|
1448
|
-
var de_CreateKxClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1449
|
-
const parsedOutput = {
|
|
1450
|
-
...output,
|
|
1451
|
-
body: await parseErrorBody(output.body, context)
|
|
1452
|
-
};
|
|
1453
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1454
|
-
switch (errorCode) {
|
|
1455
|
-
case "AccessDeniedException":
|
|
1456
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1457
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1458
|
-
case "ConflictException":
|
|
1459
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1460
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1461
|
-
case "InternalServerException":
|
|
1462
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1463
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1464
|
-
case "LimitExceededException":
|
|
1465
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1466
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1467
|
-
case "ResourceNotFoundException":
|
|
1468
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1469
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1470
|
-
case "ThrottlingException":
|
|
1471
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1472
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1473
|
-
case "ValidationException":
|
|
1474
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1475
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1476
|
-
default:
|
|
1477
|
-
const parsedBody = parsedOutput.body;
|
|
1478
|
-
return throwDefaultError({
|
|
1479
|
-
output,
|
|
1480
|
-
parsedBody,
|
|
1481
|
-
errorCode
|
|
1482
|
-
});
|
|
1483
|
-
}
|
|
1484
|
-
}, "de_CreateKxClusterCommandError");
|
|
1485
1377
|
var de_CreateKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1486
1378
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1487
|
-
return
|
|
1379
|
+
return de_CommandError(output, context);
|
|
1488
1380
|
}
|
|
1489
1381
|
const contents = (0, import_smithy_client.map)({
|
|
1490
1382
|
$metadata: deserializeMetadata(output)
|
|
@@ -1501,49 +1393,9 @@ var de_CreateKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1501
1393
|
Object.assign(contents, doc);
|
|
1502
1394
|
return contents;
|
|
1503
1395
|
}, "de_CreateKxDatabaseCommand");
|
|
1504
|
-
var de_CreateKxDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1505
|
-
const parsedOutput = {
|
|
1506
|
-
...output,
|
|
1507
|
-
body: await parseErrorBody(output.body, context)
|
|
1508
|
-
};
|
|
1509
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1510
|
-
switch (errorCode) {
|
|
1511
|
-
case "AccessDeniedException":
|
|
1512
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1513
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1514
|
-
case "ConflictException":
|
|
1515
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1516
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1517
|
-
case "InternalServerException":
|
|
1518
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1519
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1520
|
-
case "LimitExceededException":
|
|
1521
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1522
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1523
|
-
case "ResourceAlreadyExistsException":
|
|
1524
|
-
case "com.amazonaws.finspace#ResourceAlreadyExistsException":
|
|
1525
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1526
|
-
case "ResourceNotFoundException":
|
|
1527
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1528
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1529
|
-
case "ThrottlingException":
|
|
1530
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1531
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1532
|
-
case "ValidationException":
|
|
1533
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1534
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1535
|
-
default:
|
|
1536
|
-
const parsedBody = parsedOutput.body;
|
|
1537
|
-
return throwDefaultError({
|
|
1538
|
-
output,
|
|
1539
|
-
parsedBody,
|
|
1540
|
-
errorCode
|
|
1541
|
-
});
|
|
1542
|
-
}
|
|
1543
|
-
}, "de_CreateKxDatabaseCommandError");
|
|
1544
1396
|
var de_CreateKxDataviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1545
1397
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1546
|
-
return
|
|
1398
|
+
return de_CommandError(output, context);
|
|
1547
1399
|
}
|
|
1548
1400
|
const contents = (0, import_smithy_client.map)({
|
|
1549
1401
|
$metadata: deserializeMetadata(output)
|
|
@@ -1566,49 +1418,9 @@ var de_CreateKxDataviewCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1566
1418
|
Object.assign(contents, doc);
|
|
1567
1419
|
return contents;
|
|
1568
1420
|
}, "de_CreateKxDataviewCommand");
|
|
1569
|
-
var de_CreateKxDataviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1570
|
-
const parsedOutput = {
|
|
1571
|
-
...output,
|
|
1572
|
-
body: await parseErrorBody(output.body, context)
|
|
1573
|
-
};
|
|
1574
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1575
|
-
switch (errorCode) {
|
|
1576
|
-
case "AccessDeniedException":
|
|
1577
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1578
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1579
|
-
case "ConflictException":
|
|
1580
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1581
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1582
|
-
case "InternalServerException":
|
|
1583
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1584
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1585
|
-
case "LimitExceededException":
|
|
1586
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1587
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1588
|
-
case "ResourceAlreadyExistsException":
|
|
1589
|
-
case "com.amazonaws.finspace#ResourceAlreadyExistsException":
|
|
1590
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1591
|
-
case "ResourceNotFoundException":
|
|
1592
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1593
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1594
|
-
case "ThrottlingException":
|
|
1595
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1596
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1597
|
-
case "ValidationException":
|
|
1598
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1599
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1600
|
-
default:
|
|
1601
|
-
const parsedBody = parsedOutput.body;
|
|
1602
|
-
return throwDefaultError({
|
|
1603
|
-
output,
|
|
1604
|
-
parsedBody,
|
|
1605
|
-
errorCode
|
|
1606
|
-
});
|
|
1607
|
-
}
|
|
1608
|
-
}, "de_CreateKxDataviewCommandError");
|
|
1609
1421
|
var de_CreateKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1610
1422
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1611
|
-
return
|
|
1423
|
+
return de_CommandError(output, context);
|
|
1612
1424
|
}
|
|
1613
1425
|
const contents = (0, import_smithy_client.map)({
|
|
1614
1426
|
$metadata: deserializeMetadata(output)
|
|
@@ -1626,46 +1438,9 @@ var de_CreateKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1626
1438
|
Object.assign(contents, doc);
|
|
1627
1439
|
return contents;
|
|
1628
1440
|
}, "de_CreateKxEnvironmentCommand");
|
|
1629
|
-
var de_CreateKxEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1630
|
-
const parsedOutput = {
|
|
1631
|
-
...output,
|
|
1632
|
-
body: await parseErrorBody(output.body, context)
|
|
1633
|
-
};
|
|
1634
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1635
|
-
switch (errorCode) {
|
|
1636
|
-
case "AccessDeniedException":
|
|
1637
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1638
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1639
|
-
case "ConflictException":
|
|
1640
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1641
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1642
|
-
case "InternalServerException":
|
|
1643
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1644
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1645
|
-
case "LimitExceededException":
|
|
1646
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1647
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1648
|
-
case "ServiceQuotaExceededException":
|
|
1649
|
-
case "com.amazonaws.finspace#ServiceQuotaExceededException":
|
|
1650
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1651
|
-
case "ThrottlingException":
|
|
1652
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1653
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1654
|
-
case "ValidationException":
|
|
1655
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1656
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1657
|
-
default:
|
|
1658
|
-
const parsedBody = parsedOutput.body;
|
|
1659
|
-
return throwDefaultError({
|
|
1660
|
-
output,
|
|
1661
|
-
parsedBody,
|
|
1662
|
-
errorCode
|
|
1663
|
-
});
|
|
1664
|
-
}
|
|
1665
|
-
}, "de_CreateKxEnvironmentCommandError");
|
|
1666
1441
|
var de_CreateKxScalingGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1667
1442
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1668
|
-
return
|
|
1443
|
+
return de_CommandError(output, context);
|
|
1669
1444
|
}
|
|
1670
1445
|
const contents = (0, import_smithy_client.map)({
|
|
1671
1446
|
$metadata: deserializeMetadata(output)
|
|
@@ -1683,46 +1458,9 @@ var de_CreateKxScalingGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1683
1458
|
Object.assign(contents, doc);
|
|
1684
1459
|
return contents;
|
|
1685
1460
|
}, "de_CreateKxScalingGroupCommand");
|
|
1686
|
-
var de_CreateKxScalingGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1687
|
-
const parsedOutput = {
|
|
1688
|
-
...output,
|
|
1689
|
-
body: await parseErrorBody(output.body, context)
|
|
1690
|
-
};
|
|
1691
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1692
|
-
switch (errorCode) {
|
|
1693
|
-
case "AccessDeniedException":
|
|
1694
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1695
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1696
|
-
case "ConflictException":
|
|
1697
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1698
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1699
|
-
case "InternalServerException":
|
|
1700
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1701
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1702
|
-
case "LimitExceededException":
|
|
1703
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1704
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1705
|
-
case "ResourceNotFoundException":
|
|
1706
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1707
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1708
|
-
case "ThrottlingException":
|
|
1709
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1710
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1711
|
-
case "ValidationException":
|
|
1712
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1713
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1714
|
-
default:
|
|
1715
|
-
const parsedBody = parsedOutput.body;
|
|
1716
|
-
return throwDefaultError({
|
|
1717
|
-
output,
|
|
1718
|
-
parsedBody,
|
|
1719
|
-
errorCode
|
|
1720
|
-
});
|
|
1721
|
-
}
|
|
1722
|
-
}, "de_CreateKxScalingGroupCommandError");
|
|
1723
1461
|
var de_CreateKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1724
1462
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1725
|
-
return
|
|
1463
|
+
return de_CommandError(output, context);
|
|
1726
1464
|
}
|
|
1727
1465
|
const contents = (0, import_smithy_client.map)({
|
|
1728
1466
|
$metadata: deserializeMetadata(output)
|
|
@@ -1737,49 +1475,9 @@ var de_CreateKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1737
1475
|
Object.assign(contents, doc);
|
|
1738
1476
|
return contents;
|
|
1739
1477
|
}, "de_CreateKxUserCommand");
|
|
1740
|
-
var de_CreateKxUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1741
|
-
const parsedOutput = {
|
|
1742
|
-
...output,
|
|
1743
|
-
body: await parseErrorBody(output.body, context)
|
|
1744
|
-
};
|
|
1745
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1746
|
-
switch (errorCode) {
|
|
1747
|
-
case "AccessDeniedException":
|
|
1748
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1749
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1750
|
-
case "ConflictException":
|
|
1751
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1752
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1753
|
-
case "InternalServerException":
|
|
1754
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1755
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1756
|
-
case "LimitExceededException":
|
|
1757
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1758
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1759
|
-
case "ResourceAlreadyExistsException":
|
|
1760
|
-
case "com.amazonaws.finspace#ResourceAlreadyExistsException":
|
|
1761
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1762
|
-
case "ResourceNotFoundException":
|
|
1763
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1764
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1765
|
-
case "ThrottlingException":
|
|
1766
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1767
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1768
|
-
case "ValidationException":
|
|
1769
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1770
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1771
|
-
default:
|
|
1772
|
-
const parsedBody = parsedOutput.body;
|
|
1773
|
-
return throwDefaultError({
|
|
1774
|
-
output,
|
|
1775
|
-
parsedBody,
|
|
1776
|
-
errorCode
|
|
1777
|
-
});
|
|
1778
|
-
}
|
|
1779
|
-
}, "de_CreateKxUserCommandError");
|
|
1780
1478
|
var de_CreateKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1781
1479
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1782
|
-
return
|
|
1480
|
+
return de_CommandError(output, context);
|
|
1783
1481
|
}
|
|
1784
1482
|
const contents = (0, import_smithy_client.map)({
|
|
1785
1483
|
$metadata: deserializeMetadata(output)
|
|
@@ -1801,49 +1499,9 @@ var de_CreateKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1801
1499
|
Object.assign(contents, doc);
|
|
1802
1500
|
return contents;
|
|
1803
1501
|
}, "de_CreateKxVolumeCommand");
|
|
1804
|
-
var de_CreateKxVolumeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1805
|
-
const parsedOutput = {
|
|
1806
|
-
...output,
|
|
1807
|
-
body: await parseErrorBody(output.body, context)
|
|
1808
|
-
};
|
|
1809
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1810
|
-
switch (errorCode) {
|
|
1811
|
-
case "AccessDeniedException":
|
|
1812
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1813
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1814
|
-
case "ConflictException":
|
|
1815
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1816
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1817
|
-
case "InternalServerException":
|
|
1818
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1819
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1820
|
-
case "LimitExceededException":
|
|
1821
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1822
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1823
|
-
case "ResourceAlreadyExistsException":
|
|
1824
|
-
case "com.amazonaws.finspace#ResourceAlreadyExistsException":
|
|
1825
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1826
|
-
case "ResourceNotFoundException":
|
|
1827
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1828
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1829
|
-
case "ThrottlingException":
|
|
1830
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1831
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1832
|
-
case "ValidationException":
|
|
1833
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1834
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1835
|
-
default:
|
|
1836
|
-
const parsedBody = parsedOutput.body;
|
|
1837
|
-
return throwDefaultError({
|
|
1838
|
-
output,
|
|
1839
|
-
parsedBody,
|
|
1840
|
-
errorCode
|
|
1841
|
-
});
|
|
1842
|
-
}
|
|
1843
|
-
}, "de_CreateKxVolumeCommandError");
|
|
1844
1502
|
var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1845
1503
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1846
|
-
return
|
|
1504
|
+
return de_CommandError(output, context);
|
|
1847
1505
|
}
|
|
1848
1506
|
const contents = (0, import_smithy_client.map)({
|
|
1849
1507
|
$metadata: deserializeMetadata(output)
|
|
@@ -1851,40 +1509,9 @@ var de_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1851
1509
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1852
1510
|
return contents;
|
|
1853
1511
|
}, "de_DeleteEnvironmentCommand");
|
|
1854
|
-
var de_DeleteEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1855
|
-
const parsedOutput = {
|
|
1856
|
-
...output,
|
|
1857
|
-
body: await parseErrorBody(output.body, context)
|
|
1858
|
-
};
|
|
1859
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1860
|
-
switch (errorCode) {
|
|
1861
|
-
case "AccessDeniedException":
|
|
1862
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1863
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1864
|
-
case "InternalServerException":
|
|
1865
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1866
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1867
|
-
case "ResourceNotFoundException":
|
|
1868
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1869
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1870
|
-
case "ThrottlingException":
|
|
1871
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1872
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1873
|
-
case "ValidationException":
|
|
1874
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1875
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1876
|
-
default:
|
|
1877
|
-
const parsedBody = parsedOutput.body;
|
|
1878
|
-
return throwDefaultError({
|
|
1879
|
-
output,
|
|
1880
|
-
parsedBody,
|
|
1881
|
-
errorCode
|
|
1882
|
-
});
|
|
1883
|
-
}
|
|
1884
|
-
}, "de_DeleteEnvironmentCommandError");
|
|
1885
1512
|
var de_DeleteKxClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1886
1513
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1887
|
-
return
|
|
1514
|
+
return de_CommandError(output, context);
|
|
1888
1515
|
}
|
|
1889
1516
|
const contents = (0, import_smithy_client.map)({
|
|
1890
1517
|
$metadata: deserializeMetadata(output)
|
|
@@ -1892,46 +1519,9 @@ var de_DeleteKxClusterCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1892
1519
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1893
1520
|
return contents;
|
|
1894
1521
|
}, "de_DeleteKxClusterCommand");
|
|
1895
|
-
var de_DeleteKxClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1896
|
-
const parsedOutput = {
|
|
1897
|
-
...output,
|
|
1898
|
-
body: await parseErrorBody(output.body, context)
|
|
1899
|
-
};
|
|
1900
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1901
|
-
switch (errorCode) {
|
|
1902
|
-
case "AccessDeniedException":
|
|
1903
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1904
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1905
|
-
case "ConflictException":
|
|
1906
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1907
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1908
|
-
case "InternalServerException":
|
|
1909
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1910
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1911
|
-
case "LimitExceededException":
|
|
1912
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
1913
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1914
|
-
case "ResourceNotFoundException":
|
|
1915
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1916
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1917
|
-
case "ThrottlingException":
|
|
1918
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1919
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1920
|
-
case "ValidationException":
|
|
1921
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1922
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1923
|
-
default:
|
|
1924
|
-
const parsedBody = parsedOutput.body;
|
|
1925
|
-
return throwDefaultError({
|
|
1926
|
-
output,
|
|
1927
|
-
parsedBody,
|
|
1928
|
-
errorCode
|
|
1929
|
-
});
|
|
1930
|
-
}
|
|
1931
|
-
}, "de_DeleteKxClusterCommandError");
|
|
1932
1522
|
var de_DeleteKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1933
1523
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1934
|
-
return
|
|
1524
|
+
return de_CommandError(output, context);
|
|
1935
1525
|
}
|
|
1936
1526
|
const contents = (0, import_smithy_client.map)({
|
|
1937
1527
|
$metadata: deserializeMetadata(output)
|
|
@@ -1939,43 +1529,9 @@ var de_DeleteKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1939
1529
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1940
1530
|
return contents;
|
|
1941
1531
|
}, "de_DeleteKxDatabaseCommand");
|
|
1942
|
-
var de_DeleteKxDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1943
|
-
const parsedOutput = {
|
|
1944
|
-
...output,
|
|
1945
|
-
body: await parseErrorBody(output.body, context)
|
|
1946
|
-
};
|
|
1947
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1948
|
-
switch (errorCode) {
|
|
1949
|
-
case "AccessDeniedException":
|
|
1950
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1951
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1952
|
-
case "ConflictException":
|
|
1953
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1954
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1955
|
-
case "InternalServerException":
|
|
1956
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
1957
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1958
|
-
case "ResourceNotFoundException":
|
|
1959
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
1960
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1961
|
-
case "ThrottlingException":
|
|
1962
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
1963
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1964
|
-
case "ValidationException":
|
|
1965
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
1966
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1967
|
-
default:
|
|
1968
|
-
const parsedBody = parsedOutput.body;
|
|
1969
|
-
return throwDefaultError({
|
|
1970
|
-
output,
|
|
1971
|
-
parsedBody,
|
|
1972
|
-
errorCode
|
|
1973
|
-
});
|
|
1974
|
-
}
|
|
1975
|
-
}, "de_DeleteKxDatabaseCommandError");
|
|
1976
1532
|
var de_DeleteKxDataviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1977
1533
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1978
|
-
return
|
|
1534
|
+
return de_CommandError(output, context);
|
|
1979
1535
|
}
|
|
1980
1536
|
const contents = (0, import_smithy_client.map)({
|
|
1981
1537
|
$metadata: deserializeMetadata(output)
|
|
@@ -1983,43 +1539,9 @@ var de_DeleteKxDataviewCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1983
1539
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1984
1540
|
return contents;
|
|
1985
1541
|
}, "de_DeleteKxDataviewCommand");
|
|
1986
|
-
var de_DeleteKxDataviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1987
|
-
const parsedOutput = {
|
|
1988
|
-
...output,
|
|
1989
|
-
body: await parseErrorBody(output.body, context)
|
|
1990
|
-
};
|
|
1991
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1992
|
-
switch (errorCode) {
|
|
1993
|
-
case "AccessDeniedException":
|
|
1994
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
1995
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1996
|
-
case "ConflictException":
|
|
1997
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
1998
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1999
|
-
case "InternalServerException":
|
|
2000
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2001
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2002
|
-
case "ResourceNotFoundException":
|
|
2003
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2004
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2005
|
-
case "ThrottlingException":
|
|
2006
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2007
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2008
|
-
case "ValidationException":
|
|
2009
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2010
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2011
|
-
default:
|
|
2012
|
-
const parsedBody = parsedOutput.body;
|
|
2013
|
-
return throwDefaultError({
|
|
2014
|
-
output,
|
|
2015
|
-
parsedBody,
|
|
2016
|
-
errorCode
|
|
2017
|
-
});
|
|
2018
|
-
}
|
|
2019
|
-
}, "de_DeleteKxDataviewCommandError");
|
|
2020
1542
|
var de_DeleteKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2021
1543
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2022
|
-
return
|
|
1544
|
+
return de_CommandError(output, context);
|
|
2023
1545
|
}
|
|
2024
1546
|
const contents = (0, import_smithy_client.map)({
|
|
2025
1547
|
$metadata: deserializeMetadata(output)
|
|
@@ -2027,43 +1549,9 @@ var de_DeleteKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2027
1549
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2028
1550
|
return contents;
|
|
2029
1551
|
}, "de_DeleteKxEnvironmentCommand");
|
|
2030
|
-
var de_DeleteKxEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2031
|
-
const parsedOutput = {
|
|
2032
|
-
...output,
|
|
2033
|
-
body: await parseErrorBody(output.body, context)
|
|
2034
|
-
};
|
|
2035
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2036
|
-
switch (errorCode) {
|
|
2037
|
-
case "AccessDeniedException":
|
|
2038
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2039
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2040
|
-
case "ConflictException":
|
|
2041
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2042
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2043
|
-
case "InternalServerException":
|
|
2044
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2045
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2046
|
-
case "ResourceNotFoundException":
|
|
2047
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2048
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2049
|
-
case "ThrottlingException":
|
|
2050
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2051
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2052
|
-
case "ValidationException":
|
|
2053
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2054
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2055
|
-
default:
|
|
2056
|
-
const parsedBody = parsedOutput.body;
|
|
2057
|
-
return throwDefaultError({
|
|
2058
|
-
output,
|
|
2059
|
-
parsedBody,
|
|
2060
|
-
errorCode
|
|
2061
|
-
});
|
|
2062
|
-
}
|
|
2063
|
-
}, "de_DeleteKxEnvironmentCommandError");
|
|
2064
1552
|
var de_DeleteKxScalingGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2065
1553
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2066
|
-
return
|
|
1554
|
+
return de_CommandError(output, context);
|
|
2067
1555
|
}
|
|
2068
1556
|
const contents = (0, import_smithy_client.map)({
|
|
2069
1557
|
$metadata: deserializeMetadata(output)
|
|
@@ -2071,46 +1559,9 @@ var de_DeleteKxScalingGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2071
1559
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2072
1560
|
return contents;
|
|
2073
1561
|
}, "de_DeleteKxScalingGroupCommand");
|
|
2074
|
-
var de_DeleteKxScalingGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2075
|
-
const parsedOutput = {
|
|
2076
|
-
...output,
|
|
2077
|
-
body: await parseErrorBody(output.body, context)
|
|
2078
|
-
};
|
|
2079
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2080
|
-
switch (errorCode) {
|
|
2081
|
-
case "AccessDeniedException":
|
|
2082
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2083
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2084
|
-
case "ConflictException":
|
|
2085
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2086
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2087
|
-
case "InternalServerException":
|
|
2088
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2089
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2090
|
-
case "LimitExceededException":
|
|
2091
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
2092
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2093
|
-
case "ResourceNotFoundException":
|
|
2094
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2095
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2096
|
-
case "ThrottlingException":
|
|
2097
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2098
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2099
|
-
case "ValidationException":
|
|
2100
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2101
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2102
|
-
default:
|
|
2103
|
-
const parsedBody = parsedOutput.body;
|
|
2104
|
-
return throwDefaultError({
|
|
2105
|
-
output,
|
|
2106
|
-
parsedBody,
|
|
2107
|
-
errorCode
|
|
2108
|
-
});
|
|
2109
|
-
}
|
|
2110
|
-
}, "de_DeleteKxScalingGroupCommandError");
|
|
2111
1562
|
var de_DeleteKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2112
1563
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2113
|
-
return
|
|
1564
|
+
return de_CommandError(output, context);
|
|
2114
1565
|
}
|
|
2115
1566
|
const contents = (0, import_smithy_client.map)({
|
|
2116
1567
|
$metadata: deserializeMetadata(output)
|
|
@@ -2118,43 +1569,9 @@ var de_DeleteKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2118
1569
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2119
1570
|
return contents;
|
|
2120
1571
|
}, "de_DeleteKxUserCommand");
|
|
2121
|
-
var de_DeleteKxUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2122
|
-
const parsedOutput = {
|
|
2123
|
-
...output,
|
|
2124
|
-
body: await parseErrorBody(output.body, context)
|
|
2125
|
-
};
|
|
2126
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2127
|
-
switch (errorCode) {
|
|
2128
|
-
case "AccessDeniedException":
|
|
2129
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2130
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2131
|
-
case "ConflictException":
|
|
2132
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2133
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2134
|
-
case "InternalServerException":
|
|
2135
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2136
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2137
|
-
case "ResourceNotFoundException":
|
|
2138
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2139
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2140
|
-
case "ThrottlingException":
|
|
2141
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2142
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2143
|
-
case "ValidationException":
|
|
2144
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2145
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2146
|
-
default:
|
|
2147
|
-
const parsedBody = parsedOutput.body;
|
|
2148
|
-
return throwDefaultError({
|
|
2149
|
-
output,
|
|
2150
|
-
parsedBody,
|
|
2151
|
-
errorCode
|
|
2152
|
-
});
|
|
2153
|
-
}
|
|
2154
|
-
}, "de_DeleteKxUserCommandError");
|
|
2155
1572
|
var de_DeleteKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2156
1573
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2157
|
-
return
|
|
1574
|
+
return de_CommandError(output, context);
|
|
2158
1575
|
}
|
|
2159
1576
|
const contents = (0, import_smithy_client.map)({
|
|
2160
1577
|
$metadata: deserializeMetadata(output)
|
|
@@ -2162,46 +1579,9 @@ var de_DeleteKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2162
1579
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2163
1580
|
return contents;
|
|
2164
1581
|
}, "de_DeleteKxVolumeCommand");
|
|
2165
|
-
var de_DeleteKxVolumeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2166
|
-
const parsedOutput = {
|
|
2167
|
-
...output,
|
|
2168
|
-
body: await parseErrorBody(output.body, context)
|
|
2169
|
-
};
|
|
2170
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2171
|
-
switch (errorCode) {
|
|
2172
|
-
case "AccessDeniedException":
|
|
2173
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2174
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2175
|
-
case "ConflictException":
|
|
2176
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2177
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2178
|
-
case "InternalServerException":
|
|
2179
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2180
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2181
|
-
case "LimitExceededException":
|
|
2182
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
2183
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2184
|
-
case "ResourceNotFoundException":
|
|
2185
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2186
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2187
|
-
case "ThrottlingException":
|
|
2188
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2189
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2190
|
-
case "ValidationException":
|
|
2191
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2192
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2193
|
-
default:
|
|
2194
|
-
const parsedBody = parsedOutput.body;
|
|
2195
|
-
return throwDefaultError({
|
|
2196
|
-
output,
|
|
2197
|
-
parsedBody,
|
|
2198
|
-
errorCode
|
|
2199
|
-
});
|
|
2200
|
-
}
|
|
2201
|
-
}, "de_DeleteKxVolumeCommandError");
|
|
2202
1582
|
var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2203
1583
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2204
|
-
return
|
|
1584
|
+
return de_CommandError(output, context);
|
|
2205
1585
|
}
|
|
2206
1586
|
const contents = (0, import_smithy_client.map)({
|
|
2207
1587
|
$metadata: deserializeMetadata(output)
|
|
@@ -2213,37 +1593,9 @@ var de_GetEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2213
1593
|
Object.assign(contents, doc);
|
|
2214
1594
|
return contents;
|
|
2215
1595
|
}, "de_GetEnvironmentCommand");
|
|
2216
|
-
var de_GetEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2217
|
-
const parsedOutput = {
|
|
2218
|
-
...output,
|
|
2219
|
-
body: await parseErrorBody(output.body, context)
|
|
2220
|
-
};
|
|
2221
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2222
|
-
switch (errorCode) {
|
|
2223
|
-
case "AccessDeniedException":
|
|
2224
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2225
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2226
|
-
case "InternalServerException":
|
|
2227
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2228
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2229
|
-
case "ResourceNotFoundException":
|
|
2230
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2231
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2232
|
-
case "ValidationException":
|
|
2233
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2234
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2235
|
-
default:
|
|
2236
|
-
const parsedBody = parsedOutput.body;
|
|
2237
|
-
return throwDefaultError({
|
|
2238
|
-
output,
|
|
2239
|
-
parsedBody,
|
|
2240
|
-
errorCode
|
|
2241
|
-
});
|
|
2242
|
-
}
|
|
2243
|
-
}, "de_GetEnvironmentCommandError");
|
|
2244
1596
|
var de_GetKxChangesetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2245
1597
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2246
|
-
return
|
|
1598
|
+
return de_CommandError(output, context);
|
|
2247
1599
|
}
|
|
2248
1600
|
const contents = (0, import_smithy_client.map)({
|
|
2249
1601
|
$metadata: deserializeMetadata(output)
|
|
@@ -2263,40 +1615,9 @@ var de_GetKxChangesetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2263
1615
|
Object.assign(contents, doc);
|
|
2264
1616
|
return contents;
|
|
2265
1617
|
}, "de_GetKxChangesetCommand");
|
|
2266
|
-
var de_GetKxChangesetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2267
|
-
const parsedOutput = {
|
|
2268
|
-
...output,
|
|
2269
|
-
body: await parseErrorBody(output.body, context)
|
|
2270
|
-
};
|
|
2271
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2272
|
-
switch (errorCode) {
|
|
2273
|
-
case "AccessDeniedException":
|
|
2274
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2275
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2276
|
-
case "InternalServerException":
|
|
2277
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2278
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2279
|
-
case "ResourceNotFoundException":
|
|
2280
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2281
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2282
|
-
case "ThrottlingException":
|
|
2283
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2284
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2285
|
-
case "ValidationException":
|
|
2286
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2287
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2288
|
-
default:
|
|
2289
|
-
const parsedBody = parsedOutput.body;
|
|
2290
|
-
return throwDefaultError({
|
|
2291
|
-
output,
|
|
2292
|
-
parsedBody,
|
|
2293
|
-
errorCode
|
|
2294
|
-
});
|
|
2295
|
-
}
|
|
2296
|
-
}, "de_GetKxChangesetCommandError");
|
|
2297
1618
|
var de_GetKxClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2298
1619
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2299
|
-
return
|
|
1620
|
+
return de_CommandError(output, context);
|
|
2300
1621
|
}
|
|
2301
1622
|
const contents = (0, import_smithy_client.map)({
|
|
2302
1623
|
$metadata: deserializeMetadata(output)
|
|
@@ -2330,46 +1651,9 @@ var de_GetKxClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2330
1651
|
Object.assign(contents, doc);
|
|
2331
1652
|
return contents;
|
|
2332
1653
|
}, "de_GetKxClusterCommand");
|
|
2333
|
-
var de_GetKxClusterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2334
|
-
const parsedOutput = {
|
|
2335
|
-
...output,
|
|
2336
|
-
body: await parseErrorBody(output.body, context)
|
|
2337
|
-
};
|
|
2338
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2339
|
-
switch (errorCode) {
|
|
2340
|
-
case "AccessDeniedException":
|
|
2341
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2342
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2343
|
-
case "ConflictException":
|
|
2344
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2345
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2346
|
-
case "InternalServerException":
|
|
2347
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2348
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2349
|
-
case "LimitExceededException":
|
|
2350
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
2351
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2352
|
-
case "ResourceNotFoundException":
|
|
2353
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2354
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2355
|
-
case "ThrottlingException":
|
|
2356
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2357
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2358
|
-
case "ValidationException":
|
|
2359
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2360
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2361
|
-
default:
|
|
2362
|
-
const parsedBody = parsedOutput.body;
|
|
2363
|
-
return throwDefaultError({
|
|
2364
|
-
output,
|
|
2365
|
-
parsedBody,
|
|
2366
|
-
errorCode
|
|
2367
|
-
});
|
|
2368
|
-
}
|
|
2369
|
-
}, "de_GetKxClusterCommandError");
|
|
2370
1654
|
var de_GetKxConnectionStringCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2371
1655
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2372
|
-
return
|
|
1656
|
+
return de_CommandError(output, context);
|
|
2373
1657
|
}
|
|
2374
1658
|
const contents = (0, import_smithy_client.map)({
|
|
2375
1659
|
$metadata: deserializeMetadata(output)
|
|
@@ -2381,40 +1665,9 @@ var de_GetKxConnectionStringCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2381
1665
|
Object.assign(contents, doc);
|
|
2382
1666
|
return contents;
|
|
2383
1667
|
}, "de_GetKxConnectionStringCommand");
|
|
2384
|
-
var de_GetKxConnectionStringCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2385
|
-
const parsedOutput = {
|
|
2386
|
-
...output,
|
|
2387
|
-
body: await parseErrorBody(output.body, context)
|
|
2388
|
-
};
|
|
2389
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2390
|
-
switch (errorCode) {
|
|
2391
|
-
case "AccessDeniedException":
|
|
2392
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2393
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2394
|
-
case "InternalServerException":
|
|
2395
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2396
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2397
|
-
case "ResourceNotFoundException":
|
|
2398
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2399
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2400
|
-
case "ThrottlingException":
|
|
2401
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2402
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2403
|
-
case "ValidationException":
|
|
2404
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2405
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2406
|
-
default:
|
|
2407
|
-
const parsedBody = parsedOutput.body;
|
|
2408
|
-
return throwDefaultError({
|
|
2409
|
-
output,
|
|
2410
|
-
parsedBody,
|
|
2411
|
-
errorCode
|
|
2412
|
-
});
|
|
2413
|
-
}
|
|
2414
|
-
}, "de_GetKxConnectionStringCommandError");
|
|
2415
1668
|
var de_GetKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2416
1669
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2417
|
-
return
|
|
1670
|
+
return de_CommandError(output, context);
|
|
2418
1671
|
}
|
|
2419
1672
|
const contents = (0, import_smithy_client.map)({
|
|
2420
1673
|
$metadata: deserializeMetadata(output)
|
|
@@ -2435,40 +1688,9 @@ var de_GetKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2435
1688
|
Object.assign(contents, doc);
|
|
2436
1689
|
return contents;
|
|
2437
1690
|
}, "de_GetKxDatabaseCommand");
|
|
2438
|
-
var de_GetKxDatabaseCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2439
|
-
const parsedOutput = {
|
|
2440
|
-
...output,
|
|
2441
|
-
body: await parseErrorBody(output.body, context)
|
|
2442
|
-
};
|
|
2443
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2444
|
-
switch (errorCode) {
|
|
2445
|
-
case "AccessDeniedException":
|
|
2446
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2447
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2448
|
-
case "InternalServerException":
|
|
2449
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2450
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2451
|
-
case "ResourceNotFoundException":
|
|
2452
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2453
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2454
|
-
case "ThrottlingException":
|
|
2455
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2456
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2457
|
-
case "ValidationException":
|
|
2458
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2459
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2460
|
-
default:
|
|
2461
|
-
const parsedBody = parsedOutput.body;
|
|
2462
|
-
return throwDefaultError({
|
|
2463
|
-
output,
|
|
2464
|
-
parsedBody,
|
|
2465
|
-
errorCode
|
|
2466
|
-
});
|
|
2467
|
-
}
|
|
2468
|
-
}, "de_GetKxDatabaseCommandError");
|
|
2469
1691
|
var de_GetKxDataviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2470
1692
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2471
|
-
return
|
|
1693
|
+
return de_CommandError(output, context);
|
|
2472
1694
|
}
|
|
2473
1695
|
const contents = (0, import_smithy_client.map)({
|
|
2474
1696
|
$metadata: deserializeMetadata(output)
|
|
@@ -2493,40 +1715,9 @@ var de_GetKxDataviewCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2493
1715
|
Object.assign(contents, doc);
|
|
2494
1716
|
return contents;
|
|
2495
1717
|
}, "de_GetKxDataviewCommand");
|
|
2496
|
-
var de_GetKxDataviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2497
|
-
const parsedOutput = {
|
|
2498
|
-
...output,
|
|
2499
|
-
body: await parseErrorBody(output.body, context)
|
|
2500
|
-
};
|
|
2501
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2502
|
-
switch (errorCode) {
|
|
2503
|
-
case "AccessDeniedException":
|
|
2504
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2505
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2506
|
-
case "InternalServerException":
|
|
2507
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2508
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2509
|
-
case "ResourceNotFoundException":
|
|
2510
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2511
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2512
|
-
case "ThrottlingException":
|
|
2513
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2514
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2515
|
-
case "ValidationException":
|
|
2516
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2517
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2518
|
-
default:
|
|
2519
|
-
const parsedBody = parsedOutput.body;
|
|
2520
|
-
return throwDefaultError({
|
|
2521
|
-
output,
|
|
2522
|
-
parsedBody,
|
|
2523
|
-
errorCode
|
|
2524
|
-
});
|
|
2525
|
-
}
|
|
2526
|
-
}, "de_GetKxDataviewCommandError");
|
|
2527
1718
|
var de_GetKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2528
1719
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2529
|
-
return
|
|
1720
|
+
return de_CommandError(output, context);
|
|
2530
1721
|
}
|
|
2531
1722
|
const contents = (0, import_smithy_client.map)({
|
|
2532
1723
|
$metadata: deserializeMetadata(output)
|
|
@@ -2554,40 +1745,9 @@ var de_GetKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2554
1745
|
Object.assign(contents, doc);
|
|
2555
1746
|
return contents;
|
|
2556
1747
|
}, "de_GetKxEnvironmentCommand");
|
|
2557
|
-
var de_GetKxEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2558
|
-
const parsedOutput = {
|
|
2559
|
-
...output,
|
|
2560
|
-
body: await parseErrorBody(output.body, context)
|
|
2561
|
-
};
|
|
2562
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2563
|
-
switch (errorCode) {
|
|
2564
|
-
case "AccessDeniedException":
|
|
2565
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2566
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2567
|
-
case "ConflictException":
|
|
2568
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2569
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2570
|
-
case "InternalServerException":
|
|
2571
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2572
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2573
|
-
case "ResourceNotFoundException":
|
|
2574
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2575
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2576
|
-
case "ValidationException":
|
|
2577
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2578
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2579
|
-
default:
|
|
2580
|
-
const parsedBody = parsedOutput.body;
|
|
2581
|
-
return throwDefaultError({
|
|
2582
|
-
output,
|
|
2583
|
-
parsedBody,
|
|
2584
|
-
errorCode
|
|
2585
|
-
});
|
|
2586
|
-
}
|
|
2587
|
-
}, "de_GetKxEnvironmentCommandError");
|
|
2588
1748
|
var de_GetKxScalingGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2589
1749
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2590
|
-
return
|
|
1750
|
+
return de_CommandError(output, context);
|
|
2591
1751
|
}
|
|
2592
1752
|
const contents = (0, import_smithy_client.map)({
|
|
2593
1753
|
$metadata: deserializeMetadata(output)
|
|
@@ -2607,46 +1767,9 @@ var de_GetKxScalingGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2607
1767
|
Object.assign(contents, doc);
|
|
2608
1768
|
return contents;
|
|
2609
1769
|
}, "de_GetKxScalingGroupCommand");
|
|
2610
|
-
var de_GetKxScalingGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2611
|
-
const parsedOutput = {
|
|
2612
|
-
...output,
|
|
2613
|
-
body: await parseErrorBody(output.body, context)
|
|
2614
|
-
};
|
|
2615
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2616
|
-
switch (errorCode) {
|
|
2617
|
-
case "AccessDeniedException":
|
|
2618
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2619
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2620
|
-
case "ConflictException":
|
|
2621
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2622
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2623
|
-
case "InternalServerException":
|
|
2624
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2625
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2626
|
-
case "LimitExceededException":
|
|
2627
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
2628
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2629
|
-
case "ResourceNotFoundException":
|
|
2630
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2631
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2632
|
-
case "ThrottlingException":
|
|
2633
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2634
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2635
|
-
case "ValidationException":
|
|
2636
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2637
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2638
|
-
default:
|
|
2639
|
-
const parsedBody = parsedOutput.body;
|
|
2640
|
-
return throwDefaultError({
|
|
2641
|
-
output,
|
|
2642
|
-
parsedBody,
|
|
2643
|
-
errorCode
|
|
2644
|
-
});
|
|
2645
|
-
}
|
|
2646
|
-
}, "de_GetKxScalingGroupCommandError");
|
|
2647
1770
|
var de_GetKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2648
1771
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2649
|
-
return
|
|
1772
|
+
return de_CommandError(output, context);
|
|
2650
1773
|
}
|
|
2651
1774
|
const contents = (0, import_smithy_client.map)({
|
|
2652
1775
|
$metadata: deserializeMetadata(output)
|
|
@@ -2661,40 +1784,9 @@ var de_GetKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2661
1784
|
Object.assign(contents, doc);
|
|
2662
1785
|
return contents;
|
|
2663
1786
|
}, "de_GetKxUserCommand");
|
|
2664
|
-
var de_GetKxUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2665
|
-
const parsedOutput = {
|
|
2666
|
-
...output,
|
|
2667
|
-
body: await parseErrorBody(output.body, context)
|
|
2668
|
-
};
|
|
2669
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2670
|
-
switch (errorCode) {
|
|
2671
|
-
case "AccessDeniedException":
|
|
2672
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2673
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2674
|
-
case "InternalServerException":
|
|
2675
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2676
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2677
|
-
case "ResourceNotFoundException":
|
|
2678
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2679
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2680
|
-
case "ThrottlingException":
|
|
2681
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2682
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2683
|
-
case "ValidationException":
|
|
2684
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2685
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2686
|
-
default:
|
|
2687
|
-
const parsedBody = parsedOutput.body;
|
|
2688
|
-
return throwDefaultError({
|
|
2689
|
-
output,
|
|
2690
|
-
parsedBody,
|
|
2691
|
-
errorCode
|
|
2692
|
-
});
|
|
2693
|
-
}
|
|
2694
|
-
}, "de_GetKxUserCommandError");
|
|
2695
1787
|
var de_GetKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2696
1788
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2697
|
-
return
|
|
1789
|
+
return de_CommandError(output, context);
|
|
2698
1790
|
}
|
|
2699
1791
|
const contents = (0, import_smithy_client.map)({
|
|
2700
1792
|
$metadata: deserializeMetadata(output)
|
|
@@ -2718,46 +1810,9 @@ var de_GetKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2718
1810
|
Object.assign(contents, doc);
|
|
2719
1811
|
return contents;
|
|
2720
1812
|
}, "de_GetKxVolumeCommand");
|
|
2721
|
-
var de_GetKxVolumeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2722
|
-
const parsedOutput = {
|
|
2723
|
-
...output,
|
|
2724
|
-
body: await parseErrorBody(output.body, context)
|
|
2725
|
-
};
|
|
2726
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2727
|
-
switch (errorCode) {
|
|
2728
|
-
case "AccessDeniedException":
|
|
2729
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2730
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2731
|
-
case "ConflictException":
|
|
2732
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2733
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2734
|
-
case "InternalServerException":
|
|
2735
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2736
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2737
|
-
case "LimitExceededException":
|
|
2738
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
2739
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2740
|
-
case "ResourceNotFoundException":
|
|
2741
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2742
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2743
|
-
case "ThrottlingException":
|
|
2744
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2745
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2746
|
-
case "ValidationException":
|
|
2747
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2748
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2749
|
-
default:
|
|
2750
|
-
const parsedBody = parsedOutput.body;
|
|
2751
|
-
return throwDefaultError({
|
|
2752
|
-
output,
|
|
2753
|
-
parsedBody,
|
|
2754
|
-
errorCode
|
|
2755
|
-
});
|
|
2756
|
-
}
|
|
2757
|
-
}, "de_GetKxVolumeCommandError");
|
|
2758
1813
|
var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2759
1814
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2760
|
-
return
|
|
1815
|
+
return de_CommandError(output, context);
|
|
2761
1816
|
}
|
|
2762
1817
|
const contents = (0, import_smithy_client.map)({
|
|
2763
1818
|
$metadata: deserializeMetadata(output)
|
|
@@ -2770,34 +1825,9 @@ var de_ListEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2770
1825
|
Object.assign(contents, doc);
|
|
2771
1826
|
return contents;
|
|
2772
1827
|
}, "de_ListEnvironmentsCommand");
|
|
2773
|
-
var de_ListEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2774
|
-
const parsedOutput = {
|
|
2775
|
-
...output,
|
|
2776
|
-
body: await parseErrorBody(output.body, context)
|
|
2777
|
-
};
|
|
2778
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2779
|
-
switch (errorCode) {
|
|
2780
|
-
case "AccessDeniedException":
|
|
2781
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2782
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2783
|
-
case "InternalServerException":
|
|
2784
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2785
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2786
|
-
case "ValidationException":
|
|
2787
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2788
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2789
|
-
default:
|
|
2790
|
-
const parsedBody = parsedOutput.body;
|
|
2791
|
-
return throwDefaultError({
|
|
2792
|
-
output,
|
|
2793
|
-
parsedBody,
|
|
2794
|
-
errorCode
|
|
2795
|
-
});
|
|
2796
|
-
}
|
|
2797
|
-
}, "de_ListEnvironmentsCommandError");
|
|
2798
1828
|
var de_ListKxChangesetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2799
1829
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2800
|
-
return
|
|
1830
|
+
return de_CommandError(output, context);
|
|
2801
1831
|
}
|
|
2802
1832
|
const contents = (0, import_smithy_client.map)({
|
|
2803
1833
|
$metadata: deserializeMetadata(output)
|
|
@@ -2810,40 +1840,9 @@ var de_ListKxChangesetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2810
1840
|
Object.assign(contents, doc);
|
|
2811
1841
|
return contents;
|
|
2812
1842
|
}, "de_ListKxChangesetsCommand");
|
|
2813
|
-
var de_ListKxChangesetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2814
|
-
const parsedOutput = {
|
|
2815
|
-
...output,
|
|
2816
|
-
body: await parseErrorBody(output.body, context)
|
|
2817
|
-
};
|
|
2818
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2819
|
-
switch (errorCode) {
|
|
2820
|
-
case "AccessDeniedException":
|
|
2821
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2822
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2823
|
-
case "InternalServerException":
|
|
2824
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2825
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2826
|
-
case "ResourceNotFoundException":
|
|
2827
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2828
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2829
|
-
case "ThrottlingException":
|
|
2830
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2831
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2832
|
-
case "ValidationException":
|
|
2833
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2834
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2835
|
-
default:
|
|
2836
|
-
const parsedBody = parsedOutput.body;
|
|
2837
|
-
return throwDefaultError({
|
|
2838
|
-
output,
|
|
2839
|
-
parsedBody,
|
|
2840
|
-
errorCode
|
|
2841
|
-
});
|
|
2842
|
-
}
|
|
2843
|
-
}, "de_ListKxChangesetsCommandError");
|
|
2844
1843
|
var de_ListKxClusterNodesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2845
1844
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2846
|
-
return
|
|
1845
|
+
return de_CommandError(output, context);
|
|
2847
1846
|
}
|
|
2848
1847
|
const contents = (0, import_smithy_client.map)({
|
|
2849
1848
|
$metadata: deserializeMetadata(output)
|
|
@@ -2856,43 +1855,9 @@ var de_ListKxClusterNodesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2856
1855
|
Object.assign(contents, doc);
|
|
2857
1856
|
return contents;
|
|
2858
1857
|
}, "de_ListKxClusterNodesCommand");
|
|
2859
|
-
var de_ListKxClusterNodesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2860
|
-
const parsedOutput = {
|
|
2861
|
-
...output,
|
|
2862
|
-
body: await parseErrorBody(output.body, context)
|
|
2863
|
-
};
|
|
2864
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2865
|
-
switch (errorCode) {
|
|
2866
|
-
case "AccessDeniedException":
|
|
2867
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2868
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2869
|
-
case "InternalServerException":
|
|
2870
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2871
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2872
|
-
case "LimitExceededException":
|
|
2873
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
2874
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2875
|
-
case "ResourceNotFoundException":
|
|
2876
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2877
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2878
|
-
case "ThrottlingException":
|
|
2879
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2880
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2881
|
-
case "ValidationException":
|
|
2882
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2883
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2884
|
-
default:
|
|
2885
|
-
const parsedBody = parsedOutput.body;
|
|
2886
|
-
return throwDefaultError({
|
|
2887
|
-
output,
|
|
2888
|
-
parsedBody,
|
|
2889
|
-
errorCode
|
|
2890
|
-
});
|
|
2891
|
-
}
|
|
2892
|
-
}, "de_ListKxClusterNodesCommandError");
|
|
2893
1858
|
var de_ListKxClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2894
1859
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2895
|
-
return
|
|
1860
|
+
return de_CommandError(output, context);
|
|
2896
1861
|
}
|
|
2897
1862
|
const contents = (0, import_smithy_client.map)({
|
|
2898
1863
|
$metadata: deserializeMetadata(output)
|
|
@@ -2905,46 +1870,9 @@ var de_ListKxClustersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2905
1870
|
Object.assign(contents, doc);
|
|
2906
1871
|
return contents;
|
|
2907
1872
|
}, "de_ListKxClustersCommand");
|
|
2908
|
-
var de_ListKxClustersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2909
|
-
const parsedOutput = {
|
|
2910
|
-
...output,
|
|
2911
|
-
body: await parseErrorBody(output.body, context)
|
|
2912
|
-
};
|
|
2913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2914
|
-
switch (errorCode) {
|
|
2915
|
-
case "AccessDeniedException":
|
|
2916
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2917
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2918
|
-
case "ConflictException":
|
|
2919
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
2920
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2921
|
-
case "InternalServerException":
|
|
2922
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2923
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2924
|
-
case "LimitExceededException":
|
|
2925
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
2926
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2927
|
-
case "ResourceNotFoundException":
|
|
2928
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2929
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2930
|
-
case "ThrottlingException":
|
|
2931
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2932
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2933
|
-
case "ValidationException":
|
|
2934
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2935
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2936
|
-
default:
|
|
2937
|
-
const parsedBody = parsedOutput.body;
|
|
2938
|
-
return throwDefaultError({
|
|
2939
|
-
output,
|
|
2940
|
-
parsedBody,
|
|
2941
|
-
errorCode
|
|
2942
|
-
});
|
|
2943
|
-
}
|
|
2944
|
-
}, "de_ListKxClustersCommandError");
|
|
2945
1873
|
var de_ListKxDatabasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2946
1874
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2947
|
-
return
|
|
1875
|
+
return de_CommandError(output, context);
|
|
2948
1876
|
}
|
|
2949
1877
|
const contents = (0, import_smithy_client.map)({
|
|
2950
1878
|
$metadata: deserializeMetadata(output)
|
|
@@ -2957,40 +1885,9 @@ var de_ListKxDatabasesCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2957
1885
|
Object.assign(contents, doc);
|
|
2958
1886
|
return contents;
|
|
2959
1887
|
}, "de_ListKxDatabasesCommand");
|
|
2960
|
-
var de_ListKxDatabasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2961
|
-
const parsedOutput = {
|
|
2962
|
-
...output,
|
|
2963
|
-
body: await parseErrorBody(output.body, context)
|
|
2964
|
-
};
|
|
2965
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2966
|
-
switch (errorCode) {
|
|
2967
|
-
case "AccessDeniedException":
|
|
2968
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
2969
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2970
|
-
case "InternalServerException":
|
|
2971
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
2972
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2973
|
-
case "ResourceNotFoundException":
|
|
2974
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2975
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2976
|
-
case "ThrottlingException":
|
|
2977
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
2978
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2979
|
-
case "ValidationException":
|
|
2980
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
2981
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2982
|
-
default:
|
|
2983
|
-
const parsedBody = parsedOutput.body;
|
|
2984
|
-
return throwDefaultError({
|
|
2985
|
-
output,
|
|
2986
|
-
parsedBody,
|
|
2987
|
-
errorCode
|
|
2988
|
-
});
|
|
2989
|
-
}
|
|
2990
|
-
}, "de_ListKxDatabasesCommandError");
|
|
2991
1888
|
var de_ListKxDataviewsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2992
1889
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2993
|
-
return
|
|
1890
|
+
return de_CommandError(output, context);
|
|
2994
1891
|
}
|
|
2995
1892
|
const contents = (0, import_smithy_client.map)({
|
|
2996
1893
|
$metadata: deserializeMetadata(output)
|
|
@@ -3003,40 +1900,9 @@ var de_ListKxDataviewsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3003
1900
|
Object.assign(contents, doc);
|
|
3004
1901
|
return contents;
|
|
3005
1902
|
}, "de_ListKxDataviewsCommand");
|
|
3006
|
-
var de_ListKxDataviewsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3007
|
-
const parsedOutput = {
|
|
3008
|
-
...output,
|
|
3009
|
-
body: await parseErrorBody(output.body, context)
|
|
3010
|
-
};
|
|
3011
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3012
|
-
switch (errorCode) {
|
|
3013
|
-
case "AccessDeniedException":
|
|
3014
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3015
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3016
|
-
case "InternalServerException":
|
|
3017
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3018
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3019
|
-
case "ResourceNotFoundException":
|
|
3020
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3021
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3022
|
-
case "ThrottlingException":
|
|
3023
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3024
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3025
|
-
case "ValidationException":
|
|
3026
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3027
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3028
|
-
default:
|
|
3029
|
-
const parsedBody = parsedOutput.body;
|
|
3030
|
-
return throwDefaultError({
|
|
3031
|
-
output,
|
|
3032
|
-
parsedBody,
|
|
3033
|
-
errorCode
|
|
3034
|
-
});
|
|
3035
|
-
}
|
|
3036
|
-
}, "de_ListKxDataviewsCommandError");
|
|
3037
1903
|
var de_ListKxEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3038
1904
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3039
|
-
return
|
|
1905
|
+
return de_CommandError(output, context);
|
|
3040
1906
|
}
|
|
3041
1907
|
const contents = (0, import_smithy_client.map)({
|
|
3042
1908
|
$metadata: deserializeMetadata(output)
|
|
@@ -3049,34 +1915,9 @@ var de_ListKxEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3049
1915
|
Object.assign(contents, doc);
|
|
3050
1916
|
return contents;
|
|
3051
1917
|
}, "de_ListKxEnvironmentsCommand");
|
|
3052
|
-
var de_ListKxEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3053
|
-
const parsedOutput = {
|
|
3054
|
-
...output,
|
|
3055
|
-
body: await parseErrorBody(output.body, context)
|
|
3056
|
-
};
|
|
3057
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3058
|
-
switch (errorCode) {
|
|
3059
|
-
case "AccessDeniedException":
|
|
3060
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3061
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3062
|
-
case "InternalServerException":
|
|
3063
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3064
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3065
|
-
case "ValidationException":
|
|
3066
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3067
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3068
|
-
default:
|
|
3069
|
-
const parsedBody = parsedOutput.body;
|
|
3070
|
-
return throwDefaultError({
|
|
3071
|
-
output,
|
|
3072
|
-
parsedBody,
|
|
3073
|
-
errorCode
|
|
3074
|
-
});
|
|
3075
|
-
}
|
|
3076
|
-
}, "de_ListKxEnvironmentsCommandError");
|
|
3077
1918
|
var de_ListKxScalingGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3078
1919
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3079
|
-
return
|
|
1920
|
+
return de_CommandError(output, context);
|
|
3080
1921
|
}
|
|
3081
1922
|
const contents = (0, import_smithy_client.map)({
|
|
3082
1923
|
$metadata: deserializeMetadata(output)
|
|
@@ -3089,46 +1930,9 @@ var de_ListKxScalingGroupsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3089
1930
|
Object.assign(contents, doc);
|
|
3090
1931
|
return contents;
|
|
3091
1932
|
}, "de_ListKxScalingGroupsCommand");
|
|
3092
|
-
var de_ListKxScalingGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3093
|
-
const parsedOutput = {
|
|
3094
|
-
...output,
|
|
3095
|
-
body: await parseErrorBody(output.body, context)
|
|
3096
|
-
};
|
|
3097
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3098
|
-
switch (errorCode) {
|
|
3099
|
-
case "AccessDeniedException":
|
|
3100
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3101
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3102
|
-
case "ConflictException":
|
|
3103
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3104
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3105
|
-
case "InternalServerException":
|
|
3106
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3107
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3108
|
-
case "LimitExceededException":
|
|
3109
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
3110
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3111
|
-
case "ResourceNotFoundException":
|
|
3112
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3113
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3114
|
-
case "ThrottlingException":
|
|
3115
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3116
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3117
|
-
case "ValidationException":
|
|
3118
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3119
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3120
|
-
default:
|
|
3121
|
-
const parsedBody = parsedOutput.body;
|
|
3122
|
-
return throwDefaultError({
|
|
3123
|
-
output,
|
|
3124
|
-
parsedBody,
|
|
3125
|
-
errorCode
|
|
3126
|
-
});
|
|
3127
|
-
}
|
|
3128
|
-
}, "de_ListKxScalingGroupsCommandError");
|
|
3129
1933
|
var de_ListKxUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3130
1934
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3131
|
-
return
|
|
1935
|
+
return de_CommandError(output, context);
|
|
3132
1936
|
}
|
|
3133
1937
|
const contents = (0, import_smithy_client.map)({
|
|
3134
1938
|
$metadata: deserializeMetadata(output)
|
|
@@ -3141,40 +1945,9 @@ var de_ListKxUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3141
1945
|
Object.assign(contents, doc);
|
|
3142
1946
|
return contents;
|
|
3143
1947
|
}, "de_ListKxUsersCommand");
|
|
3144
|
-
var de_ListKxUsersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3145
|
-
const parsedOutput = {
|
|
3146
|
-
...output,
|
|
3147
|
-
body: await parseErrorBody(output.body, context)
|
|
3148
|
-
};
|
|
3149
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3150
|
-
switch (errorCode) {
|
|
3151
|
-
case "AccessDeniedException":
|
|
3152
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3153
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3154
|
-
case "InternalServerException":
|
|
3155
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3156
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3157
|
-
case "ResourceNotFoundException":
|
|
3158
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3159
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3160
|
-
case "ThrottlingException":
|
|
3161
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3162
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3163
|
-
case "ValidationException":
|
|
3164
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3165
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3166
|
-
default:
|
|
3167
|
-
const parsedBody = parsedOutput.body;
|
|
3168
|
-
return throwDefaultError({
|
|
3169
|
-
output,
|
|
3170
|
-
parsedBody,
|
|
3171
|
-
errorCode
|
|
3172
|
-
});
|
|
3173
|
-
}
|
|
3174
|
-
}, "de_ListKxUsersCommandError");
|
|
3175
1948
|
var de_ListKxVolumesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3176
1949
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3177
|
-
return
|
|
1950
|
+
return de_CommandError(output, context);
|
|
3178
1951
|
}
|
|
3179
1952
|
const contents = (0, import_smithy_client.map)({
|
|
3180
1953
|
$metadata: deserializeMetadata(output)
|
|
@@ -3187,46 +1960,9 @@ var de_ListKxVolumesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3187
1960
|
Object.assign(contents, doc);
|
|
3188
1961
|
return contents;
|
|
3189
1962
|
}, "de_ListKxVolumesCommand");
|
|
3190
|
-
var de_ListKxVolumesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3191
|
-
const parsedOutput = {
|
|
3192
|
-
...output,
|
|
3193
|
-
body: await parseErrorBody(output.body, context)
|
|
3194
|
-
};
|
|
3195
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3196
|
-
switch (errorCode) {
|
|
3197
|
-
case "AccessDeniedException":
|
|
3198
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3199
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3200
|
-
case "ConflictException":
|
|
3201
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3202
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3203
|
-
case "InternalServerException":
|
|
3204
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3205
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3206
|
-
case "LimitExceededException":
|
|
3207
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
3208
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3209
|
-
case "ResourceNotFoundException":
|
|
3210
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3211
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3212
|
-
case "ThrottlingException":
|
|
3213
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3214
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3215
|
-
case "ValidationException":
|
|
3216
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3217
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3218
|
-
default:
|
|
3219
|
-
const parsedBody = parsedOutput.body;
|
|
3220
|
-
return throwDefaultError({
|
|
3221
|
-
output,
|
|
3222
|
-
parsedBody,
|
|
3223
|
-
errorCode
|
|
3224
|
-
});
|
|
3225
|
-
}
|
|
3226
|
-
}, "de_ListKxVolumesCommandError");
|
|
3227
1963
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3228
1964
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3229
|
-
return
|
|
1965
|
+
return de_CommandError(output, context);
|
|
3230
1966
|
}
|
|
3231
1967
|
const contents = (0, import_smithy_client.map)({
|
|
3232
1968
|
$metadata: deserializeMetadata(output)
|
|
@@ -3238,196 +1974,53 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3238
1974
|
Object.assign(contents, doc);
|
|
3239
1975
|
return contents;
|
|
3240
1976
|
}, "de_ListTagsForResourceCommand");
|
|
3241
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3242
|
-
const parsedOutput = {
|
|
3243
|
-
...output,
|
|
3244
|
-
body: await parseErrorBody(output.body, context)
|
|
3245
|
-
};
|
|
3246
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3247
|
-
switch (errorCode) {
|
|
3248
|
-
case "InternalServerException":
|
|
3249
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3250
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3251
|
-
case "InvalidRequestException":
|
|
3252
|
-
case "com.amazonaws.finspace#InvalidRequestException":
|
|
3253
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3254
|
-
case "ResourceNotFoundException":
|
|
3255
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3256
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3257
|
-
default:
|
|
3258
|
-
const parsedBody = parsedOutput.body;
|
|
3259
|
-
return throwDefaultError({
|
|
3260
|
-
output,
|
|
3261
|
-
parsedBody,
|
|
3262
|
-
errorCode
|
|
3263
|
-
});
|
|
3264
|
-
}
|
|
3265
|
-
}, "de_ListTagsForResourceCommandError");
|
|
3266
1977
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3267
1978
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3268
|
-
return
|
|
3269
|
-
}
|
|
3270
|
-
const contents = (0, import_smithy_client.map)({
|
|
3271
|
-
$metadata: deserializeMetadata(output)
|
|
3272
|
-
});
|
|
3273
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3274
|
-
return contents;
|
|
3275
|
-
}, "de_TagResourceCommand");
|
|
3276
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3277
|
-
const parsedOutput = {
|
|
3278
|
-
...output,
|
|
3279
|
-
body: await parseErrorBody(output.body, context)
|
|
3280
|
-
};
|
|
3281
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3282
|
-
switch (errorCode) {
|
|
3283
|
-
case "InternalServerException":
|
|
3284
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3285
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3286
|
-
case "InvalidRequestException":
|
|
3287
|
-
case "com.amazonaws.finspace#InvalidRequestException":
|
|
3288
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3289
|
-
case "ResourceNotFoundException":
|
|
3290
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3291
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3292
|
-
default:
|
|
3293
|
-
const parsedBody = parsedOutput.body;
|
|
3294
|
-
return throwDefaultError({
|
|
3295
|
-
output,
|
|
3296
|
-
parsedBody,
|
|
3297
|
-
errorCode
|
|
3298
|
-
});
|
|
3299
|
-
}
|
|
3300
|
-
}, "de_TagResourceCommandError");
|
|
3301
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3302
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3303
|
-
return de_UntagResourceCommandError(output, context);
|
|
3304
|
-
}
|
|
3305
|
-
const contents = (0, import_smithy_client.map)({
|
|
3306
|
-
$metadata: deserializeMetadata(output)
|
|
3307
|
-
});
|
|
3308
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3309
|
-
return contents;
|
|
3310
|
-
}, "de_UntagResourceCommand");
|
|
3311
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3312
|
-
const parsedOutput = {
|
|
3313
|
-
...output,
|
|
3314
|
-
body: await parseErrorBody(output.body, context)
|
|
3315
|
-
};
|
|
3316
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3317
|
-
switch (errorCode) {
|
|
3318
|
-
case "InternalServerException":
|
|
3319
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3320
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3321
|
-
case "InvalidRequestException":
|
|
3322
|
-
case "com.amazonaws.finspace#InvalidRequestException":
|
|
3323
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3324
|
-
case "ResourceNotFoundException":
|
|
3325
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3326
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3327
|
-
default:
|
|
3328
|
-
const parsedBody = parsedOutput.body;
|
|
3329
|
-
return throwDefaultError({
|
|
3330
|
-
output,
|
|
3331
|
-
parsedBody,
|
|
3332
|
-
errorCode
|
|
3333
|
-
});
|
|
3334
|
-
}
|
|
3335
|
-
}, "de_UntagResourceCommandError");
|
|
3336
|
-
var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3337
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3338
|
-
return de_UpdateEnvironmentCommandError(output, context);
|
|
1979
|
+
return de_CommandError(output, context);
|
|
3339
1980
|
}
|
|
3340
1981
|
const contents = (0, import_smithy_client.map)({
|
|
3341
1982
|
$metadata: deserializeMetadata(output)
|
|
3342
|
-
});
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
}
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
const parsedBody = parsedOutput.body;
|
|
3374
|
-
return throwDefaultError({
|
|
3375
|
-
output,
|
|
3376
|
-
parsedBody,
|
|
3377
|
-
errorCode
|
|
3378
|
-
});
|
|
3379
|
-
}
|
|
3380
|
-
}, "de_UpdateEnvironmentCommandError");
|
|
3381
|
-
var de_UpdateKxClusterCodeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3382
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3383
|
-
return de_UpdateKxClusterCodeConfigurationCommandError(output, context);
|
|
3384
|
-
}
|
|
3385
|
-
const contents = (0, import_smithy_client.map)({
|
|
3386
|
-
$metadata: deserializeMetadata(output)
|
|
3387
|
-
});
|
|
3388
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3389
|
-
return contents;
|
|
3390
|
-
}, "de_UpdateKxClusterCodeConfigurationCommand");
|
|
3391
|
-
var de_UpdateKxClusterCodeConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3392
|
-
const parsedOutput = {
|
|
3393
|
-
...output,
|
|
3394
|
-
body: await parseErrorBody(output.body, context)
|
|
3395
|
-
};
|
|
3396
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3397
|
-
switch (errorCode) {
|
|
3398
|
-
case "AccessDeniedException":
|
|
3399
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3400
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3401
|
-
case "ConflictException":
|
|
3402
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3403
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3404
|
-
case "InternalServerException":
|
|
3405
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3406
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3407
|
-
case "LimitExceededException":
|
|
3408
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
3409
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3410
|
-
case "ResourceNotFoundException":
|
|
3411
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3412
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3413
|
-
case "ThrottlingException":
|
|
3414
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3415
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3416
|
-
case "ValidationException":
|
|
3417
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3418
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3419
|
-
default:
|
|
3420
|
-
const parsedBody = parsedOutput.body;
|
|
3421
|
-
return throwDefaultError({
|
|
3422
|
-
output,
|
|
3423
|
-
parsedBody,
|
|
3424
|
-
errorCode
|
|
3425
|
-
});
|
|
1983
|
+
});
|
|
1984
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1985
|
+
return contents;
|
|
1986
|
+
}, "de_TagResourceCommand");
|
|
1987
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1988
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1989
|
+
return de_CommandError(output, context);
|
|
1990
|
+
}
|
|
1991
|
+
const contents = (0, import_smithy_client.map)({
|
|
1992
|
+
$metadata: deserializeMetadata(output)
|
|
1993
|
+
});
|
|
1994
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1995
|
+
return contents;
|
|
1996
|
+
}, "de_UntagResourceCommand");
|
|
1997
|
+
var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1998
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1999
|
+
return de_CommandError(output, context);
|
|
2000
|
+
}
|
|
2001
|
+
const contents = (0, import_smithy_client.map)({
|
|
2002
|
+
$metadata: deserializeMetadata(output)
|
|
2003
|
+
});
|
|
2004
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2005
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2006
|
+
environment: import_smithy_client._json
|
|
2007
|
+
});
|
|
2008
|
+
Object.assign(contents, doc);
|
|
2009
|
+
return contents;
|
|
2010
|
+
}, "de_UpdateEnvironmentCommand");
|
|
2011
|
+
var de_UpdateKxClusterCodeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2012
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2013
|
+
return de_CommandError(output, context);
|
|
3426
2014
|
}
|
|
3427
|
-
|
|
2015
|
+
const contents = (0, import_smithy_client.map)({
|
|
2016
|
+
$metadata: deserializeMetadata(output)
|
|
2017
|
+
});
|
|
2018
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2019
|
+
return contents;
|
|
2020
|
+
}, "de_UpdateKxClusterCodeConfigurationCommand");
|
|
3428
2021
|
var de_UpdateKxClusterDatabasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3429
2022
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3430
|
-
return
|
|
2023
|
+
return de_CommandError(output, context);
|
|
3431
2024
|
}
|
|
3432
2025
|
const contents = (0, import_smithy_client.map)({
|
|
3433
2026
|
$metadata: deserializeMetadata(output)
|
|
@@ -3435,46 +2028,9 @@ var de_UpdateKxClusterDatabasesCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3435
2028
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3436
2029
|
return contents;
|
|
3437
2030
|
}, "de_UpdateKxClusterDatabasesCommand");
|
|
3438
|
-
var de_UpdateKxClusterDatabasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3439
|
-
const parsedOutput = {
|
|
3440
|
-
...output,
|
|
3441
|
-
body: await parseErrorBody(output.body, context)
|
|
3442
|
-
};
|
|
3443
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3444
|
-
switch (errorCode) {
|
|
3445
|
-
case "AccessDeniedException":
|
|
3446
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3447
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3448
|
-
case "ConflictException":
|
|
3449
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3450
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3451
|
-
case "InternalServerException":
|
|
3452
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3453
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3454
|
-
case "LimitExceededException":
|
|
3455
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
3456
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3457
|
-
case "ResourceNotFoundException":
|
|
3458
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3459
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3460
|
-
case "ThrottlingException":
|
|
3461
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3462
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3463
|
-
case "ValidationException":
|
|
3464
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3465
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3466
|
-
default:
|
|
3467
|
-
const parsedBody = parsedOutput.body;
|
|
3468
|
-
return throwDefaultError({
|
|
3469
|
-
output,
|
|
3470
|
-
parsedBody,
|
|
3471
|
-
errorCode
|
|
3472
|
-
});
|
|
3473
|
-
}
|
|
3474
|
-
}, "de_UpdateKxClusterDatabasesCommandError");
|
|
3475
2031
|
var de_UpdateKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3476
2032
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3477
|
-
return
|
|
2033
|
+
return de_CommandError(output, context);
|
|
3478
2034
|
}
|
|
3479
2035
|
const contents = (0, import_smithy_client.map)({
|
|
3480
2036
|
$metadata: deserializeMetadata(output)
|
|
@@ -3489,43 +2045,9 @@ var de_UpdateKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3489
2045
|
Object.assign(contents, doc);
|
|
3490
2046
|
return contents;
|
|
3491
2047
|
}, "de_UpdateKxDatabaseCommand");
|
|
3492
|
-
var de_UpdateKxDatabaseCommandError = /* @__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 "AccessDeniedException":
|
|
3500
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3501
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3502
|
-
case "ConflictException":
|
|
3503
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3504
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3505
|
-
case "InternalServerException":
|
|
3506
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3507
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3508
|
-
case "ResourceNotFoundException":
|
|
3509
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3510
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3511
|
-
case "ThrottlingException":
|
|
3512
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3513
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3514
|
-
case "ValidationException":
|
|
3515
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3516
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3517
|
-
default:
|
|
3518
|
-
const parsedBody = parsedOutput.body;
|
|
3519
|
-
return throwDefaultError({
|
|
3520
|
-
output,
|
|
3521
|
-
parsedBody,
|
|
3522
|
-
errorCode
|
|
3523
|
-
});
|
|
3524
|
-
}
|
|
3525
|
-
}, "de_UpdateKxDatabaseCommandError");
|
|
3526
2048
|
var de_UpdateKxDataviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3527
2049
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3528
|
-
return
|
|
2050
|
+
return de_CommandError(output, context);
|
|
3529
2051
|
}
|
|
3530
2052
|
const contents = (0, import_smithy_client.map)({
|
|
3531
2053
|
$metadata: deserializeMetadata(output)
|
|
@@ -3549,46 +2071,9 @@ var de_UpdateKxDataviewCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3549
2071
|
Object.assign(contents, doc);
|
|
3550
2072
|
return contents;
|
|
3551
2073
|
}, "de_UpdateKxDataviewCommand");
|
|
3552
|
-
var de_UpdateKxDataviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3553
|
-
const parsedOutput = {
|
|
3554
|
-
...output,
|
|
3555
|
-
body: await parseErrorBody(output.body, context)
|
|
3556
|
-
};
|
|
3557
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3558
|
-
switch (errorCode) {
|
|
3559
|
-
case "AccessDeniedException":
|
|
3560
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3561
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3562
|
-
case "ConflictException":
|
|
3563
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3564
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3565
|
-
case "InternalServerException":
|
|
3566
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3567
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3568
|
-
case "ResourceAlreadyExistsException":
|
|
3569
|
-
case "com.amazonaws.finspace#ResourceAlreadyExistsException":
|
|
3570
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
3571
|
-
case "ResourceNotFoundException":
|
|
3572
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3573
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3574
|
-
case "ThrottlingException":
|
|
3575
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3576
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3577
|
-
case "ValidationException":
|
|
3578
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3579
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3580
|
-
default:
|
|
3581
|
-
const parsedBody = parsedOutput.body;
|
|
3582
|
-
return throwDefaultError({
|
|
3583
|
-
output,
|
|
3584
|
-
parsedBody,
|
|
3585
|
-
errorCode
|
|
3586
|
-
});
|
|
3587
|
-
}
|
|
3588
|
-
}, "de_UpdateKxDataviewCommandError");
|
|
3589
2074
|
var de_UpdateKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3590
2075
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3591
|
-
return
|
|
2076
|
+
return de_CommandError(output, context);
|
|
3592
2077
|
}
|
|
3593
2078
|
const contents = (0, import_smithy_client.map)({
|
|
3594
2079
|
$metadata: deserializeMetadata(output)
|
|
@@ -3615,43 +2100,9 @@ var de_UpdateKxEnvironmentCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3615
2100
|
Object.assign(contents, doc);
|
|
3616
2101
|
return contents;
|
|
3617
2102
|
}, "de_UpdateKxEnvironmentCommand");
|
|
3618
|
-
var de_UpdateKxEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3619
|
-
const parsedOutput = {
|
|
3620
|
-
...output,
|
|
3621
|
-
body: await parseErrorBody(output.body, context)
|
|
3622
|
-
};
|
|
3623
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3624
|
-
switch (errorCode) {
|
|
3625
|
-
case "AccessDeniedException":
|
|
3626
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3627
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3628
|
-
case "ConflictException":
|
|
3629
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3630
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3631
|
-
case "InternalServerException":
|
|
3632
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3633
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3634
|
-
case "ResourceNotFoundException":
|
|
3635
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3636
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3637
|
-
case "ThrottlingException":
|
|
3638
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3639
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3640
|
-
case "ValidationException":
|
|
3641
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3642
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3643
|
-
default:
|
|
3644
|
-
const parsedBody = parsedOutput.body;
|
|
3645
|
-
return throwDefaultError({
|
|
3646
|
-
output,
|
|
3647
|
-
parsedBody,
|
|
3648
|
-
errorCode
|
|
3649
|
-
});
|
|
3650
|
-
}
|
|
3651
|
-
}, "de_UpdateKxEnvironmentCommandError");
|
|
3652
2103
|
var de_UpdateKxEnvironmentNetworkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3653
2104
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3654
|
-
return
|
|
2105
|
+
return de_CommandError(output, context);
|
|
3655
2106
|
}
|
|
3656
2107
|
const contents = (0, import_smithy_client.map)({
|
|
3657
2108
|
$metadata: deserializeMetadata(output)
|
|
@@ -3678,43 +2129,9 @@ var de_UpdateKxEnvironmentNetworkCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3678
2129
|
Object.assign(contents, doc);
|
|
3679
2130
|
return contents;
|
|
3680
2131
|
}, "de_UpdateKxEnvironmentNetworkCommand");
|
|
3681
|
-
var de_UpdateKxEnvironmentNetworkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3682
|
-
const parsedOutput = {
|
|
3683
|
-
...output,
|
|
3684
|
-
body: await parseErrorBody(output.body, context)
|
|
3685
|
-
};
|
|
3686
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3687
|
-
switch (errorCode) {
|
|
3688
|
-
case "AccessDeniedException":
|
|
3689
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3690
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3691
|
-
case "ConflictException":
|
|
3692
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3693
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3694
|
-
case "InternalServerException":
|
|
3695
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3696
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3697
|
-
case "ResourceNotFoundException":
|
|
3698
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3699
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3700
|
-
case "ThrottlingException":
|
|
3701
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3702
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3703
|
-
case "ValidationException":
|
|
3704
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3705
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3706
|
-
default:
|
|
3707
|
-
const parsedBody = parsedOutput.body;
|
|
3708
|
-
return throwDefaultError({
|
|
3709
|
-
output,
|
|
3710
|
-
parsedBody,
|
|
3711
|
-
errorCode
|
|
3712
|
-
});
|
|
3713
|
-
}
|
|
3714
|
-
}, "de_UpdateKxEnvironmentNetworkCommandError");
|
|
3715
2132
|
var de_UpdateKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3716
2133
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3717
|
-
return
|
|
2134
|
+
return de_CommandError(output, context);
|
|
3718
2135
|
}
|
|
3719
2136
|
const contents = (0, import_smithy_client.map)({
|
|
3720
2137
|
$metadata: deserializeMetadata(output)
|
|
@@ -3729,46 +2146,9 @@ var de_UpdateKxUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3729
2146
|
Object.assign(contents, doc);
|
|
3730
2147
|
return contents;
|
|
3731
2148
|
}, "de_UpdateKxUserCommand");
|
|
3732
|
-
var de_UpdateKxUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3733
|
-
const parsedOutput = {
|
|
3734
|
-
...output,
|
|
3735
|
-
body: await parseErrorBody(output.body, context)
|
|
3736
|
-
};
|
|
3737
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3738
|
-
switch (errorCode) {
|
|
3739
|
-
case "AccessDeniedException":
|
|
3740
|
-
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3741
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3742
|
-
case "ConflictException":
|
|
3743
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3744
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3745
|
-
case "InternalServerException":
|
|
3746
|
-
case "com.amazonaws.finspace#InternalServerException":
|
|
3747
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3748
|
-
case "LimitExceededException":
|
|
3749
|
-
case "com.amazonaws.finspace#LimitExceededException":
|
|
3750
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3751
|
-
case "ResourceNotFoundException":
|
|
3752
|
-
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
3753
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3754
|
-
case "ThrottlingException":
|
|
3755
|
-
case "com.amazonaws.finspace#ThrottlingException":
|
|
3756
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3757
|
-
case "ValidationException":
|
|
3758
|
-
case "com.amazonaws.finspace#ValidationException":
|
|
3759
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3760
|
-
default:
|
|
3761
|
-
const parsedBody = parsedOutput.body;
|
|
3762
|
-
return throwDefaultError({
|
|
3763
|
-
output,
|
|
3764
|
-
parsedBody,
|
|
3765
|
-
errorCode
|
|
3766
|
-
});
|
|
3767
|
-
}
|
|
3768
|
-
}, "de_UpdateKxUserCommandError");
|
|
3769
2149
|
var de_UpdateKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3770
2150
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3771
|
-
return
|
|
2151
|
+
return de_CommandError(output, context);
|
|
3772
2152
|
}
|
|
3773
2153
|
const contents = (0, import_smithy_client.map)({
|
|
3774
2154
|
$metadata: deserializeMetadata(output)
|
|
@@ -3792,7 +2172,7 @@ var de_UpdateKxVolumeCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3792
2172
|
Object.assign(contents, doc);
|
|
3793
2173
|
return contents;
|
|
3794
2174
|
}, "de_UpdateKxVolumeCommand");
|
|
3795
|
-
var
|
|
2175
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3796
2176
|
const parsedOutput = {
|
|
3797
2177
|
...output,
|
|
3798
2178
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3802,24 +2182,33 @@ var de_UpdateKxVolumeCommandError = /* @__PURE__ */ __name(async (output, contex
|
|
|
3802
2182
|
case "AccessDeniedException":
|
|
3803
2183
|
case "com.amazonaws.finspace#AccessDeniedException":
|
|
3804
2184
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3805
|
-
case "ConflictException":
|
|
3806
|
-
case "com.amazonaws.finspace#ConflictException":
|
|
3807
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3808
2185
|
case "InternalServerException":
|
|
3809
2186
|
case "com.amazonaws.finspace#InternalServerException":
|
|
3810
2187
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3811
2188
|
case "LimitExceededException":
|
|
3812
2189
|
case "com.amazonaws.finspace#LimitExceededException":
|
|
3813
2190
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3814
|
-
case "
|
|
3815
|
-
case "com.amazonaws.finspace#
|
|
3816
|
-
throw await
|
|
2191
|
+
case "ServiceQuotaExceededException":
|
|
2192
|
+
case "com.amazonaws.finspace#ServiceQuotaExceededException":
|
|
2193
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3817
2194
|
case "ThrottlingException":
|
|
3818
2195
|
case "com.amazonaws.finspace#ThrottlingException":
|
|
3819
2196
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3820
2197
|
case "ValidationException":
|
|
3821
2198
|
case "com.amazonaws.finspace#ValidationException":
|
|
3822
2199
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2200
|
+
case "ConflictException":
|
|
2201
|
+
case "com.amazonaws.finspace#ConflictException":
|
|
2202
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2203
|
+
case "ResourceNotFoundException":
|
|
2204
|
+
case "com.amazonaws.finspace#ResourceNotFoundException":
|
|
2205
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2206
|
+
case "ResourceAlreadyExistsException":
|
|
2207
|
+
case "com.amazonaws.finspace#ResourceAlreadyExistsException":
|
|
2208
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2209
|
+
case "InvalidRequestException":
|
|
2210
|
+
case "com.amazonaws.finspace#InvalidRequestException":
|
|
2211
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3823
2212
|
default:
|
|
3824
2213
|
const parsedBody = parsedOutput.body;
|
|
3825
2214
|
return throwDefaultError({
|
|
@@ -3828,7 +2217,7 @@ var de_UpdateKxVolumeCommandError = /* @__PURE__ */ __name(async (output, contex
|
|
|
3828
2217
|
errorCode
|
|
3829
2218
|
});
|
|
3830
2219
|
}
|
|
3831
|
-
}, "
|
|
2220
|
+
}, "de_CommandError");
|
|
3832
2221
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(FinspaceServiceException);
|
|
3833
2222
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3834
2223
|
const contents = (0, import_smithy_client.map)({});
|