@aws-sdk/client-appstream 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 +161 -2116
- package/dist-es/protocols/Aws_json1_1.js +198 -2153
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1318,7 +1318,7 @@ var se_UpdateStackCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1318
1318
|
}, "se_UpdateStackCommand");
|
|
1319
1319
|
var de_AssociateAppBlockBuilderAppBlockCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1320
1320
|
if (output.statusCode >= 300) {
|
|
1321
|
-
return
|
|
1321
|
+
return de_CommandError(output, context);
|
|
1322
1322
|
}
|
|
1323
1323
|
const data = await parseBody(output.body, context);
|
|
1324
1324
|
let contents = {};
|
|
@@ -1329,40 +1329,9 @@ var de_AssociateAppBlockBuilderAppBlockCommand = /* @__PURE__ */ __name(async (o
|
|
|
1329
1329
|
};
|
|
1330
1330
|
return response;
|
|
1331
1331
|
}, "de_AssociateAppBlockBuilderAppBlockCommand");
|
|
1332
|
-
var de_AssociateAppBlockBuilderAppBlockCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1333
|
-
const parsedOutput = {
|
|
1334
|
-
...output,
|
|
1335
|
-
body: await parseErrorBody(output.body, context)
|
|
1336
|
-
};
|
|
1337
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1338
|
-
switch (errorCode) {
|
|
1339
|
-
case "ConcurrentModificationException":
|
|
1340
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
1341
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1342
|
-
case "InvalidParameterCombinationException":
|
|
1343
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
1344
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1345
|
-
case "LimitExceededException":
|
|
1346
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1347
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1348
|
-
case "OperationNotPermittedException":
|
|
1349
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1350
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1351
|
-
case "ResourceNotFoundException":
|
|
1352
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1353
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1354
|
-
default:
|
|
1355
|
-
const parsedBody = parsedOutput.body;
|
|
1356
|
-
return throwDefaultError({
|
|
1357
|
-
output,
|
|
1358
|
-
parsedBody,
|
|
1359
|
-
errorCode
|
|
1360
|
-
});
|
|
1361
|
-
}
|
|
1362
|
-
}, "de_AssociateAppBlockBuilderAppBlockCommandError");
|
|
1363
1332
|
var de_AssociateApplicationFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1364
1333
|
if (output.statusCode >= 300) {
|
|
1365
|
-
return
|
|
1334
|
+
return de_CommandError(output, context);
|
|
1366
1335
|
}
|
|
1367
1336
|
const data = await parseBody(output.body, context);
|
|
1368
1337
|
let contents = {};
|
|
@@ -1373,40 +1342,9 @@ var de_AssociateApplicationFleetCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1373
1342
|
};
|
|
1374
1343
|
return response;
|
|
1375
1344
|
}, "de_AssociateApplicationFleetCommand");
|
|
1376
|
-
var de_AssociateApplicationFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1377
|
-
const parsedOutput = {
|
|
1378
|
-
...output,
|
|
1379
|
-
body: await parseErrorBody(output.body, context)
|
|
1380
|
-
};
|
|
1381
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1382
|
-
switch (errorCode) {
|
|
1383
|
-
case "ConcurrentModificationException":
|
|
1384
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
1385
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1386
|
-
case "InvalidParameterCombinationException":
|
|
1387
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
1388
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1389
|
-
case "LimitExceededException":
|
|
1390
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1391
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1392
|
-
case "OperationNotPermittedException":
|
|
1393
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1394
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1395
|
-
case "ResourceNotFoundException":
|
|
1396
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1397
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1398
|
-
default:
|
|
1399
|
-
const parsedBody = parsedOutput.body;
|
|
1400
|
-
return throwDefaultError({
|
|
1401
|
-
output,
|
|
1402
|
-
parsedBody,
|
|
1403
|
-
errorCode
|
|
1404
|
-
});
|
|
1405
|
-
}
|
|
1406
|
-
}, "de_AssociateApplicationFleetCommandError");
|
|
1407
1345
|
var de_AssociateApplicationToEntitlementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1408
1346
|
if (output.statusCode >= 300) {
|
|
1409
|
-
return
|
|
1347
|
+
return de_CommandError(output, context);
|
|
1410
1348
|
}
|
|
1411
1349
|
const data = await parseBody(output.body, context);
|
|
1412
1350
|
let contents = {};
|
|
@@ -1417,37 +1355,9 @@ var de_AssociateApplicationToEntitlementCommand = /* @__PURE__ */ __name(async (
|
|
|
1417
1355
|
};
|
|
1418
1356
|
return response;
|
|
1419
1357
|
}, "de_AssociateApplicationToEntitlementCommand");
|
|
1420
|
-
var de_AssociateApplicationToEntitlementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1421
|
-
const parsedOutput = {
|
|
1422
|
-
...output,
|
|
1423
|
-
body: await parseErrorBody(output.body, context)
|
|
1424
|
-
};
|
|
1425
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1426
|
-
switch (errorCode) {
|
|
1427
|
-
case "EntitlementNotFoundException":
|
|
1428
|
-
case "com.amazonaws.appstream#EntitlementNotFoundException":
|
|
1429
|
-
throw await de_EntitlementNotFoundExceptionRes(parsedOutput, context);
|
|
1430
|
-
case "LimitExceededException":
|
|
1431
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1432
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1433
|
-
case "OperationNotPermittedException":
|
|
1434
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1435
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1436
|
-
case "ResourceNotFoundException":
|
|
1437
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1438
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1439
|
-
default:
|
|
1440
|
-
const parsedBody = parsedOutput.body;
|
|
1441
|
-
return throwDefaultError({
|
|
1442
|
-
output,
|
|
1443
|
-
parsedBody,
|
|
1444
|
-
errorCode
|
|
1445
|
-
});
|
|
1446
|
-
}
|
|
1447
|
-
}, "de_AssociateApplicationToEntitlementCommandError");
|
|
1448
1358
|
var de_AssociateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1449
1359
|
if (output.statusCode >= 300) {
|
|
1450
|
-
return
|
|
1360
|
+
return de_CommandError(output, context);
|
|
1451
1361
|
}
|
|
1452
1362
|
const data = await parseBody(output.body, context);
|
|
1453
1363
|
let contents = {};
|
|
@@ -1458,43 +1368,9 @@ var de_AssociateFleetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1458
1368
|
};
|
|
1459
1369
|
return response;
|
|
1460
1370
|
}, "de_AssociateFleetCommand");
|
|
1461
|
-
var de_AssociateFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1462
|
-
const parsedOutput = {
|
|
1463
|
-
...output,
|
|
1464
|
-
body: await parseErrorBody(output.body, context)
|
|
1465
|
-
};
|
|
1466
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1467
|
-
switch (errorCode) {
|
|
1468
|
-
case "ConcurrentModificationException":
|
|
1469
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
1470
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1471
|
-
case "IncompatibleImageException":
|
|
1472
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
1473
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
1474
|
-
case "InvalidAccountStatusException":
|
|
1475
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
1476
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
1477
|
-
case "LimitExceededException":
|
|
1478
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1479
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1480
|
-
case "OperationNotPermittedException":
|
|
1481
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1482
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1483
|
-
case "ResourceNotFoundException":
|
|
1484
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1485
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1486
|
-
default:
|
|
1487
|
-
const parsedBody = parsedOutput.body;
|
|
1488
|
-
return throwDefaultError({
|
|
1489
|
-
output,
|
|
1490
|
-
parsedBody,
|
|
1491
|
-
errorCode
|
|
1492
|
-
});
|
|
1493
|
-
}
|
|
1494
|
-
}, "de_AssociateFleetCommandError");
|
|
1495
1371
|
var de_BatchAssociateUserStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1496
1372
|
if (output.statusCode >= 300) {
|
|
1497
|
-
return
|
|
1373
|
+
return de_CommandError(output, context);
|
|
1498
1374
|
}
|
|
1499
1375
|
const data = await parseBody(output.body, context);
|
|
1500
1376
|
let contents = {};
|
|
@@ -1505,31 +1381,9 @@ var de_BatchAssociateUserStackCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1505
1381
|
};
|
|
1506
1382
|
return response;
|
|
1507
1383
|
}, "de_BatchAssociateUserStackCommand");
|
|
1508
|
-
var de_BatchAssociateUserStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1509
|
-
const parsedOutput = {
|
|
1510
|
-
...output,
|
|
1511
|
-
body: await parseErrorBody(output.body, context)
|
|
1512
|
-
};
|
|
1513
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1514
|
-
switch (errorCode) {
|
|
1515
|
-
case "InvalidParameterCombinationException":
|
|
1516
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
1517
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1518
|
-
case "OperationNotPermittedException":
|
|
1519
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1520
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1521
|
-
default:
|
|
1522
|
-
const parsedBody = parsedOutput.body;
|
|
1523
|
-
return throwDefaultError({
|
|
1524
|
-
output,
|
|
1525
|
-
parsedBody,
|
|
1526
|
-
errorCode
|
|
1527
|
-
});
|
|
1528
|
-
}
|
|
1529
|
-
}, "de_BatchAssociateUserStackCommandError");
|
|
1530
1384
|
var de_BatchDisassociateUserStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1531
1385
|
if (output.statusCode >= 300) {
|
|
1532
|
-
return
|
|
1386
|
+
return de_CommandError(output, context);
|
|
1533
1387
|
}
|
|
1534
1388
|
const data = await parseBody(output.body, context);
|
|
1535
1389
|
let contents = {};
|
|
@@ -1540,31 +1394,9 @@ var de_BatchDisassociateUserStackCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1540
1394
|
};
|
|
1541
1395
|
return response;
|
|
1542
1396
|
}, "de_BatchDisassociateUserStackCommand");
|
|
1543
|
-
var de_BatchDisassociateUserStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1544
|
-
const parsedOutput = {
|
|
1545
|
-
...output,
|
|
1546
|
-
body: await parseErrorBody(output.body, context)
|
|
1547
|
-
};
|
|
1548
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1549
|
-
switch (errorCode) {
|
|
1550
|
-
case "InvalidParameterCombinationException":
|
|
1551
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
1552
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1553
|
-
case "OperationNotPermittedException":
|
|
1554
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1555
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1556
|
-
default:
|
|
1557
|
-
const parsedBody = parsedOutput.body;
|
|
1558
|
-
return throwDefaultError({
|
|
1559
|
-
output,
|
|
1560
|
-
parsedBody,
|
|
1561
|
-
errorCode
|
|
1562
|
-
});
|
|
1563
|
-
}
|
|
1564
|
-
}, "de_BatchDisassociateUserStackCommandError");
|
|
1565
1397
|
var de_CopyImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1566
1398
|
if (output.statusCode >= 300) {
|
|
1567
|
-
return
|
|
1399
|
+
return de_CommandError(output, context);
|
|
1568
1400
|
}
|
|
1569
1401
|
const data = await parseBody(output.body, context);
|
|
1570
1402
|
let contents = {};
|
|
@@ -1575,43 +1407,9 @@ var de_CopyImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1575
1407
|
};
|
|
1576
1408
|
return response;
|
|
1577
1409
|
}, "de_CopyImageCommand");
|
|
1578
|
-
var de_CopyImageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1579
|
-
const parsedOutput = {
|
|
1580
|
-
...output,
|
|
1581
|
-
body: await parseErrorBody(output.body, context)
|
|
1582
|
-
};
|
|
1583
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1584
|
-
switch (errorCode) {
|
|
1585
|
-
case "IncompatibleImageException":
|
|
1586
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
1587
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
1588
|
-
case "InvalidAccountStatusException":
|
|
1589
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
1590
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
1591
|
-
case "LimitExceededException":
|
|
1592
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1593
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1594
|
-
case "ResourceAlreadyExistsException":
|
|
1595
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
1596
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1597
|
-
case "ResourceNotAvailableException":
|
|
1598
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
1599
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
1600
|
-
case "ResourceNotFoundException":
|
|
1601
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1602
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1603
|
-
default:
|
|
1604
|
-
const parsedBody = parsedOutput.body;
|
|
1605
|
-
return throwDefaultError({
|
|
1606
|
-
output,
|
|
1607
|
-
parsedBody,
|
|
1608
|
-
errorCode
|
|
1609
|
-
});
|
|
1610
|
-
}
|
|
1611
|
-
}, "de_CopyImageCommandError");
|
|
1612
1410
|
var de_CreateAppBlockCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1613
1411
|
if (output.statusCode >= 300) {
|
|
1614
|
-
return
|
|
1412
|
+
return de_CommandError(output, context);
|
|
1615
1413
|
}
|
|
1616
1414
|
const data = await parseBody(output.body, context);
|
|
1617
1415
|
let contents = {};
|
|
@@ -1622,37 +1420,9 @@ var de_CreateAppBlockCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1622
1420
|
};
|
|
1623
1421
|
return response;
|
|
1624
1422
|
}, "de_CreateAppBlockCommand");
|
|
1625
|
-
var de_CreateAppBlockCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1626
|
-
const parsedOutput = {
|
|
1627
|
-
...output,
|
|
1628
|
-
body: await parseErrorBody(output.body, context)
|
|
1629
|
-
};
|
|
1630
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1631
|
-
switch (errorCode) {
|
|
1632
|
-
case "ConcurrentModificationException":
|
|
1633
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
1634
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1635
|
-
case "LimitExceededException":
|
|
1636
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1637
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1638
|
-
case "OperationNotPermittedException":
|
|
1639
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1640
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1641
|
-
case "ResourceAlreadyExistsException":
|
|
1642
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
1643
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1644
|
-
default:
|
|
1645
|
-
const parsedBody = parsedOutput.body;
|
|
1646
|
-
return throwDefaultError({
|
|
1647
|
-
output,
|
|
1648
|
-
parsedBody,
|
|
1649
|
-
errorCode
|
|
1650
|
-
});
|
|
1651
|
-
}
|
|
1652
|
-
}, "de_CreateAppBlockCommandError");
|
|
1653
1423
|
var de_CreateAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1654
1424
|
if (output.statusCode >= 300) {
|
|
1655
|
-
return
|
|
1425
|
+
return de_CommandError(output, context);
|
|
1656
1426
|
}
|
|
1657
1427
|
const data = await parseBody(output.body, context);
|
|
1658
1428
|
let contents = {};
|
|
@@ -1663,90 +1433,22 @@ var de_CreateAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1663
1433
|
};
|
|
1664
1434
|
return response;
|
|
1665
1435
|
}, "de_CreateAppBlockBuilderCommand");
|
|
1666
|
-
var
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
case "InvalidAccountStatusException":
|
|
1677
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
1678
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
1679
|
-
case "InvalidParameterCombinationException":
|
|
1680
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
1681
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1682
|
-
case "InvalidRoleException":
|
|
1683
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
1684
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
1685
|
-
case "LimitExceededException":
|
|
1686
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1687
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1688
|
-
case "OperationNotPermittedException":
|
|
1689
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1690
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1691
|
-
case "RequestLimitExceededException":
|
|
1692
|
-
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
1693
|
-
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
1694
|
-
case "ResourceAlreadyExistsException":
|
|
1695
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
1696
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1697
|
-
case "ResourceNotAvailableException":
|
|
1698
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
1699
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
1700
|
-
case "ResourceNotFoundException":
|
|
1701
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1702
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1703
|
-
default:
|
|
1704
|
-
const parsedBody = parsedOutput.body;
|
|
1705
|
-
return throwDefaultError({
|
|
1706
|
-
output,
|
|
1707
|
-
parsedBody,
|
|
1708
|
-
errorCode
|
|
1709
|
-
});
|
|
1710
|
-
}
|
|
1711
|
-
}, "de_CreateAppBlockBuilderCommandError");
|
|
1712
|
-
var de_CreateAppBlockBuilderStreamingURLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1713
|
-
if (output.statusCode >= 300) {
|
|
1714
|
-
return de_CreateAppBlockBuilderStreamingURLCommandError(output, context);
|
|
1715
|
-
}
|
|
1716
|
-
const data = await parseBody(output.body, context);
|
|
1717
|
-
let contents = {};
|
|
1718
|
-
contents = de_CreateAppBlockBuilderStreamingURLResult(data, context);
|
|
1719
|
-
const response = {
|
|
1720
|
-
$metadata: deserializeMetadata(output),
|
|
1721
|
-
...contents
|
|
1436
|
+
var de_CreateAppBlockBuilderStreamingURLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1437
|
+
if (output.statusCode >= 300) {
|
|
1438
|
+
return de_CommandError(output, context);
|
|
1439
|
+
}
|
|
1440
|
+
const data = await parseBody(output.body, context);
|
|
1441
|
+
let contents = {};
|
|
1442
|
+
contents = de_CreateAppBlockBuilderStreamingURLResult(data, context);
|
|
1443
|
+
const response = {
|
|
1444
|
+
$metadata: deserializeMetadata(output),
|
|
1445
|
+
...contents
|
|
1722
1446
|
};
|
|
1723
1447
|
return response;
|
|
1724
1448
|
}, "de_CreateAppBlockBuilderStreamingURLCommand");
|
|
1725
|
-
var de_CreateAppBlockBuilderStreamingURLCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1726
|
-
const parsedOutput = {
|
|
1727
|
-
...output,
|
|
1728
|
-
body: await parseErrorBody(output.body, context)
|
|
1729
|
-
};
|
|
1730
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1731
|
-
switch (errorCode) {
|
|
1732
|
-
case "OperationNotPermittedException":
|
|
1733
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1734
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1735
|
-
case "ResourceNotFoundException":
|
|
1736
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1737
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1738
|
-
default:
|
|
1739
|
-
const parsedBody = parsedOutput.body;
|
|
1740
|
-
return throwDefaultError({
|
|
1741
|
-
output,
|
|
1742
|
-
parsedBody,
|
|
1743
|
-
errorCode
|
|
1744
|
-
});
|
|
1745
|
-
}
|
|
1746
|
-
}, "de_CreateAppBlockBuilderStreamingURLCommandError");
|
|
1747
1449
|
var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1748
1450
|
if (output.statusCode >= 300) {
|
|
1749
|
-
return
|
|
1451
|
+
return de_CommandError(output, context);
|
|
1750
1452
|
}
|
|
1751
1453
|
const data = await parseBody(output.body, context);
|
|
1752
1454
|
let contents = {};
|
|
@@ -1757,40 +1459,9 @@ var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1757
1459
|
};
|
|
1758
1460
|
return response;
|
|
1759
1461
|
}, "de_CreateApplicationCommand");
|
|
1760
|
-
var de_CreateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1761
|
-
const parsedOutput = {
|
|
1762
|
-
...output,
|
|
1763
|
-
body: await parseErrorBody(output.body, context)
|
|
1764
|
-
};
|
|
1765
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1766
|
-
switch (errorCode) {
|
|
1767
|
-
case "ConcurrentModificationException":
|
|
1768
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
1769
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1770
|
-
case "LimitExceededException":
|
|
1771
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1772
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1773
|
-
case "OperationNotPermittedException":
|
|
1774
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1775
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1776
|
-
case "ResourceAlreadyExistsException":
|
|
1777
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
1778
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1779
|
-
case "ResourceNotFoundException":
|
|
1780
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1781
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1782
|
-
default:
|
|
1783
|
-
const parsedBody = parsedOutput.body;
|
|
1784
|
-
return throwDefaultError({
|
|
1785
|
-
output,
|
|
1786
|
-
parsedBody,
|
|
1787
|
-
errorCode
|
|
1788
|
-
});
|
|
1789
|
-
}
|
|
1790
|
-
}, "de_CreateApplicationCommandError");
|
|
1791
1462
|
var de_CreateDirectoryConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1792
1463
|
if (output.statusCode >= 300) {
|
|
1793
|
-
return
|
|
1464
|
+
return de_CommandError(output, context);
|
|
1794
1465
|
}
|
|
1795
1466
|
const data = await parseBody(output.body, context);
|
|
1796
1467
|
let contents = {};
|
|
@@ -1801,43 +1472,9 @@ var de_CreateDirectoryConfigCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1801
1472
|
};
|
|
1802
1473
|
return response;
|
|
1803
1474
|
}, "de_CreateDirectoryConfigCommand");
|
|
1804
|
-
var de_CreateDirectoryConfigCommandError = /* @__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 "InvalidAccountStatusException":
|
|
1812
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
1813
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
1814
|
-
case "InvalidRoleException":
|
|
1815
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
1816
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
1817
|
-
case "LimitExceededException":
|
|
1818
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1819
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1820
|
-
case "OperationNotPermittedException":
|
|
1821
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1822
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1823
|
-
case "ResourceAlreadyExistsException":
|
|
1824
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
1825
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1826
|
-
case "ResourceNotFoundException":
|
|
1827
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1828
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1829
|
-
default:
|
|
1830
|
-
const parsedBody = parsedOutput.body;
|
|
1831
|
-
return throwDefaultError({
|
|
1832
|
-
output,
|
|
1833
|
-
parsedBody,
|
|
1834
|
-
errorCode
|
|
1835
|
-
});
|
|
1836
|
-
}
|
|
1837
|
-
}, "de_CreateDirectoryConfigCommandError");
|
|
1838
1475
|
var de_CreateEntitlementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1839
1476
|
if (output.statusCode >= 300) {
|
|
1840
|
-
return
|
|
1477
|
+
return de_CommandError(output, context);
|
|
1841
1478
|
}
|
|
1842
1479
|
const data = await parseBody(output.body, context);
|
|
1843
1480
|
let contents = {};
|
|
@@ -1848,37 +1485,9 @@ var de_CreateEntitlementCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1848
1485
|
};
|
|
1849
1486
|
return response;
|
|
1850
1487
|
}, "de_CreateEntitlementCommand");
|
|
1851
|
-
var de_CreateEntitlementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1852
|
-
const parsedOutput = {
|
|
1853
|
-
...output,
|
|
1854
|
-
body: await parseErrorBody(output.body, context)
|
|
1855
|
-
};
|
|
1856
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1857
|
-
switch (errorCode) {
|
|
1858
|
-
case "EntitlementAlreadyExistsException":
|
|
1859
|
-
case "com.amazonaws.appstream#EntitlementAlreadyExistsException":
|
|
1860
|
-
throw await de_EntitlementAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1861
|
-
case "LimitExceededException":
|
|
1862
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1863
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1864
|
-
case "OperationNotPermittedException":
|
|
1865
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1866
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1867
|
-
case "ResourceNotFoundException":
|
|
1868
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1869
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1870
|
-
default:
|
|
1871
|
-
const parsedBody = parsedOutput.body;
|
|
1872
|
-
return throwDefaultError({
|
|
1873
|
-
output,
|
|
1874
|
-
parsedBody,
|
|
1875
|
-
errorCode
|
|
1876
|
-
});
|
|
1877
|
-
}
|
|
1878
|
-
}, "de_CreateEntitlementCommandError");
|
|
1879
1488
|
var de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1880
1489
|
if (output.statusCode >= 300) {
|
|
1881
|
-
return
|
|
1490
|
+
return de_CommandError(output, context);
|
|
1882
1491
|
}
|
|
1883
1492
|
const data = await parseBody(output.body, context);
|
|
1884
1493
|
let contents = {};
|
|
@@ -1889,58 +1498,9 @@ var de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1889
1498
|
};
|
|
1890
1499
|
return response;
|
|
1891
1500
|
}, "de_CreateFleetCommand");
|
|
1892
|
-
var de_CreateFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1893
|
-
const parsedOutput = {
|
|
1894
|
-
...output,
|
|
1895
|
-
body: await parseErrorBody(output.body, context)
|
|
1896
|
-
};
|
|
1897
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1898
|
-
switch (errorCode) {
|
|
1899
|
-
case "ConcurrentModificationException":
|
|
1900
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
1901
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1902
|
-
case "IncompatibleImageException":
|
|
1903
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
1904
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
1905
|
-
case "InvalidAccountStatusException":
|
|
1906
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
1907
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
1908
|
-
case "InvalidParameterCombinationException":
|
|
1909
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
1910
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1911
|
-
case "InvalidRoleException":
|
|
1912
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
1913
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
1914
|
-
case "LimitExceededException":
|
|
1915
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1916
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1917
|
-
case "OperationNotPermittedException":
|
|
1918
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1919
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1920
|
-
case "RequestLimitExceededException":
|
|
1921
|
-
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
1922
|
-
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
1923
|
-
case "ResourceAlreadyExistsException":
|
|
1924
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
1925
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1926
|
-
case "ResourceNotAvailableException":
|
|
1927
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
1928
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
1929
|
-
case "ResourceNotFoundException":
|
|
1930
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1931
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1932
|
-
default:
|
|
1933
|
-
const parsedBody = parsedOutput.body;
|
|
1934
|
-
return throwDefaultError({
|
|
1935
|
-
output,
|
|
1936
|
-
parsedBody,
|
|
1937
|
-
errorCode
|
|
1938
|
-
});
|
|
1939
|
-
}
|
|
1940
|
-
}, "de_CreateFleetCommandError");
|
|
1941
1501
|
var de_CreateImageBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1942
1502
|
if (output.statusCode >= 300) {
|
|
1943
|
-
return
|
|
1503
|
+
return de_CommandError(output, context);
|
|
1944
1504
|
}
|
|
1945
1505
|
const data = await parseBody(output.body, context);
|
|
1946
1506
|
let contents = {};
|
|
@@ -1951,58 +1511,9 @@ var de_CreateImageBuilderCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1951
1511
|
};
|
|
1952
1512
|
return response;
|
|
1953
1513
|
}, "de_CreateImageBuilderCommand");
|
|
1954
|
-
var de_CreateImageBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1955
|
-
const parsedOutput = {
|
|
1956
|
-
...output,
|
|
1957
|
-
body: await parseErrorBody(output.body, context)
|
|
1958
|
-
};
|
|
1959
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1960
|
-
switch (errorCode) {
|
|
1961
|
-
case "ConcurrentModificationException":
|
|
1962
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
1963
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1964
|
-
case "IncompatibleImageException":
|
|
1965
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
1966
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
1967
|
-
case "InvalidAccountStatusException":
|
|
1968
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
1969
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
1970
|
-
case "InvalidParameterCombinationException":
|
|
1971
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
1972
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1973
|
-
case "InvalidRoleException":
|
|
1974
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
1975
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
1976
|
-
case "LimitExceededException":
|
|
1977
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
1978
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1979
|
-
case "OperationNotPermittedException":
|
|
1980
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
1981
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1982
|
-
case "RequestLimitExceededException":
|
|
1983
|
-
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
1984
|
-
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
1985
|
-
case "ResourceAlreadyExistsException":
|
|
1986
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
1987
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1988
|
-
case "ResourceNotAvailableException":
|
|
1989
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
1990
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
1991
|
-
case "ResourceNotFoundException":
|
|
1992
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
1993
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1994
|
-
default:
|
|
1995
|
-
const parsedBody = parsedOutput.body;
|
|
1996
|
-
return throwDefaultError({
|
|
1997
|
-
output,
|
|
1998
|
-
parsedBody,
|
|
1999
|
-
errorCode
|
|
2000
|
-
});
|
|
2001
|
-
}
|
|
2002
|
-
}, "de_CreateImageBuilderCommandError");
|
|
2003
1514
|
var de_CreateImageBuilderStreamingURLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2004
1515
|
if (output.statusCode >= 300) {
|
|
2005
|
-
return
|
|
1516
|
+
return de_CommandError(output, context);
|
|
2006
1517
|
}
|
|
2007
1518
|
const data = await parseBody(output.body, context);
|
|
2008
1519
|
let contents = {};
|
|
@@ -2013,31 +1524,9 @@ var de_CreateImageBuilderStreamingURLCommand = /* @__PURE__ */ __name(async (out
|
|
|
2013
1524
|
};
|
|
2014
1525
|
return response;
|
|
2015
1526
|
}, "de_CreateImageBuilderStreamingURLCommand");
|
|
2016
|
-
var de_CreateImageBuilderStreamingURLCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2017
|
-
const parsedOutput = {
|
|
2018
|
-
...output,
|
|
2019
|
-
body: await parseErrorBody(output.body, context)
|
|
2020
|
-
};
|
|
2021
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2022
|
-
switch (errorCode) {
|
|
2023
|
-
case "OperationNotPermittedException":
|
|
2024
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2025
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2026
|
-
case "ResourceNotFoundException":
|
|
2027
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2028
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2029
|
-
default:
|
|
2030
|
-
const parsedBody = parsedOutput.body;
|
|
2031
|
-
return throwDefaultError({
|
|
2032
|
-
output,
|
|
2033
|
-
parsedBody,
|
|
2034
|
-
errorCode
|
|
2035
|
-
});
|
|
2036
|
-
}
|
|
2037
|
-
}, "de_CreateImageBuilderStreamingURLCommandError");
|
|
2038
1527
|
var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2039
1528
|
if (output.statusCode >= 300) {
|
|
2040
|
-
return
|
|
1529
|
+
return de_CommandError(output, context);
|
|
2041
1530
|
}
|
|
2042
1531
|
const data = await parseBody(output.body, context);
|
|
2043
1532
|
let contents = {};
|
|
@@ -2048,49 +1537,9 @@ var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2048
1537
|
};
|
|
2049
1538
|
return response;
|
|
2050
1539
|
}, "de_CreateStackCommand");
|
|
2051
|
-
var de_CreateStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2052
|
-
const parsedOutput = {
|
|
2053
|
-
...output,
|
|
2054
|
-
body: await parseErrorBody(output.body, context)
|
|
2055
|
-
};
|
|
2056
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2057
|
-
switch (errorCode) {
|
|
2058
|
-
case "ConcurrentModificationException":
|
|
2059
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2060
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2061
|
-
case "InvalidAccountStatusException":
|
|
2062
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
2063
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
2064
|
-
case "InvalidParameterCombinationException":
|
|
2065
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
2066
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2067
|
-
case "InvalidRoleException":
|
|
2068
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
2069
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
2070
|
-
case "LimitExceededException":
|
|
2071
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
2072
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2073
|
-
case "OperationNotPermittedException":
|
|
2074
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2075
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2076
|
-
case "ResourceAlreadyExistsException":
|
|
2077
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
2078
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2079
|
-
case "ResourceNotFoundException":
|
|
2080
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2081
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2082
|
-
default:
|
|
2083
|
-
const parsedBody = parsedOutput.body;
|
|
2084
|
-
return throwDefaultError({
|
|
2085
|
-
output,
|
|
2086
|
-
parsedBody,
|
|
2087
|
-
errorCode
|
|
2088
|
-
});
|
|
2089
|
-
}
|
|
2090
|
-
}, "de_CreateStackCommandError");
|
|
2091
1540
|
var de_CreateStreamingURLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2092
1541
|
if (output.statusCode >= 300) {
|
|
2093
|
-
return
|
|
1542
|
+
return de_CommandError(output, context);
|
|
2094
1543
|
}
|
|
2095
1544
|
const data = await parseBody(output.body, context);
|
|
2096
1545
|
let contents = {};
|
|
@@ -2101,37 +1550,9 @@ var de_CreateStreamingURLCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2101
1550
|
};
|
|
2102
1551
|
return response;
|
|
2103
1552
|
}, "de_CreateStreamingURLCommand");
|
|
2104
|
-
var de_CreateStreamingURLCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2105
|
-
const parsedOutput = {
|
|
2106
|
-
...output,
|
|
2107
|
-
body: await parseErrorBody(output.body, context)
|
|
2108
|
-
};
|
|
2109
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2110
|
-
switch (errorCode) {
|
|
2111
|
-
case "InvalidParameterCombinationException":
|
|
2112
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
2113
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2114
|
-
case "OperationNotPermittedException":
|
|
2115
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2116
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2117
|
-
case "ResourceNotAvailableException":
|
|
2118
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
2119
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
2120
|
-
case "ResourceNotFoundException":
|
|
2121
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2122
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2123
|
-
default:
|
|
2124
|
-
const parsedBody = parsedOutput.body;
|
|
2125
|
-
return throwDefaultError({
|
|
2126
|
-
output,
|
|
2127
|
-
parsedBody,
|
|
2128
|
-
errorCode
|
|
2129
|
-
});
|
|
2130
|
-
}
|
|
2131
|
-
}, "de_CreateStreamingURLCommandError");
|
|
2132
1553
|
var de_CreateUpdatedImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2133
1554
|
if (output.statusCode >= 300) {
|
|
2134
|
-
return
|
|
1555
|
+
return de_CommandError(output, context);
|
|
2135
1556
|
}
|
|
2136
1557
|
const data = await parseBody(output.body, context);
|
|
2137
1558
|
let contents = {};
|
|
@@ -2142,46 +1563,9 @@ var de_CreateUpdatedImageCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2142
1563
|
};
|
|
2143
1564
|
return response;
|
|
2144
1565
|
}, "de_CreateUpdatedImageCommand");
|
|
2145
|
-
var de_CreateUpdatedImageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2146
|
-
const parsedOutput = {
|
|
2147
|
-
...output,
|
|
2148
|
-
body: await parseErrorBody(output.body, context)
|
|
2149
|
-
};
|
|
2150
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2151
|
-
switch (errorCode) {
|
|
2152
|
-
case "ConcurrentModificationException":
|
|
2153
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2154
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2155
|
-
case "IncompatibleImageException":
|
|
2156
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
2157
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
2158
|
-
case "InvalidAccountStatusException":
|
|
2159
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
2160
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
2161
|
-
case "LimitExceededException":
|
|
2162
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
2163
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2164
|
-
case "OperationNotPermittedException":
|
|
2165
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2166
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2167
|
-
case "ResourceAlreadyExistsException":
|
|
2168
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
2169
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2170
|
-
case "ResourceNotFoundException":
|
|
2171
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2172
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2173
|
-
default:
|
|
2174
|
-
const parsedBody = parsedOutput.body;
|
|
2175
|
-
return throwDefaultError({
|
|
2176
|
-
output,
|
|
2177
|
-
parsedBody,
|
|
2178
|
-
errorCode
|
|
2179
|
-
});
|
|
2180
|
-
}
|
|
2181
|
-
}, "de_CreateUpdatedImageCommandError");
|
|
2182
1566
|
var de_CreateUsageReportSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2183
1567
|
if (output.statusCode >= 300) {
|
|
2184
|
-
return
|
|
1568
|
+
return de_CommandError(output, context);
|
|
2185
1569
|
}
|
|
2186
1570
|
const data = await parseBody(output.body, context);
|
|
2187
1571
|
let contents = {};
|
|
@@ -2192,34 +1576,9 @@ var de_CreateUsageReportSubscriptionCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2192
1576
|
};
|
|
2193
1577
|
return response;
|
|
2194
1578
|
}, "de_CreateUsageReportSubscriptionCommand");
|
|
2195
|
-
var de_CreateUsageReportSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2196
|
-
const parsedOutput = {
|
|
2197
|
-
...output,
|
|
2198
|
-
body: await parseErrorBody(output.body, context)
|
|
2199
|
-
};
|
|
2200
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2201
|
-
switch (errorCode) {
|
|
2202
|
-
case "InvalidAccountStatusException":
|
|
2203
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
2204
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
2205
|
-
case "InvalidRoleException":
|
|
2206
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
2207
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
2208
|
-
case "LimitExceededException":
|
|
2209
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
2210
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2211
|
-
default:
|
|
2212
|
-
const parsedBody = parsedOutput.body;
|
|
2213
|
-
return throwDefaultError({
|
|
2214
|
-
output,
|
|
2215
|
-
parsedBody,
|
|
2216
|
-
errorCode
|
|
2217
|
-
});
|
|
2218
|
-
}
|
|
2219
|
-
}, "de_CreateUsageReportSubscriptionCommandError");
|
|
2220
1579
|
var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2221
1580
|
if (output.statusCode >= 300) {
|
|
2222
|
-
return
|
|
1581
|
+
return de_CommandError(output, context);
|
|
2223
1582
|
}
|
|
2224
1583
|
const data = await parseBody(output.body, context);
|
|
2225
1584
|
let contents = {};
|
|
@@ -2230,78 +1589,22 @@ var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2230
1589
|
};
|
|
2231
1590
|
return response;
|
|
2232
1591
|
}, "de_CreateUserCommand");
|
|
2233
|
-
var de_CreateUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2234
|
-
const parsedOutput = {
|
|
2235
|
-
...output,
|
|
2236
|
-
body: await parseErrorBody(output.body, context)
|
|
2237
|
-
};
|
|
2238
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2239
|
-
switch (errorCode) {
|
|
2240
|
-
case "InvalidAccountStatusException":
|
|
2241
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
2242
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
2243
|
-
case "InvalidParameterCombinationException":
|
|
2244
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
2245
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2246
|
-
case "LimitExceededException":
|
|
2247
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
2248
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2249
|
-
case "OperationNotPermittedException":
|
|
2250
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2251
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2252
|
-
case "ResourceAlreadyExistsException":
|
|
2253
|
-
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
2254
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2255
|
-
default:
|
|
2256
|
-
const parsedBody = parsedOutput.body;
|
|
2257
|
-
return throwDefaultError({
|
|
2258
|
-
output,
|
|
2259
|
-
parsedBody,
|
|
2260
|
-
errorCode
|
|
2261
|
-
});
|
|
2262
|
-
}
|
|
2263
|
-
}, "de_CreateUserCommandError");
|
|
2264
1592
|
var de_DeleteAppBlockCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2265
1593
|
if (output.statusCode >= 300) {
|
|
2266
|
-
return
|
|
2267
|
-
}
|
|
2268
|
-
const data = await parseBody(output.body, context);
|
|
2269
|
-
let contents = {};
|
|
2270
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2271
|
-
const response = {
|
|
2272
|
-
$metadata: deserializeMetadata(output),
|
|
2273
|
-
...contents
|
|
2274
|
-
};
|
|
2275
|
-
return response;
|
|
2276
|
-
}, "de_DeleteAppBlockCommand");
|
|
2277
|
-
var de_DeleteAppBlockCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2278
|
-
const parsedOutput = {
|
|
2279
|
-
...output,
|
|
2280
|
-
body: await parseErrorBody(output.body, context)
|
|
2281
|
-
};
|
|
2282
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2283
|
-
switch (errorCode) {
|
|
2284
|
-
case "ConcurrentModificationException":
|
|
2285
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2286
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2287
|
-
case "ResourceInUseException":
|
|
2288
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2289
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2290
|
-
case "ResourceNotFoundException":
|
|
2291
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2292
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2293
|
-
default:
|
|
2294
|
-
const parsedBody = parsedOutput.body;
|
|
2295
|
-
return throwDefaultError({
|
|
2296
|
-
output,
|
|
2297
|
-
parsedBody,
|
|
2298
|
-
errorCode
|
|
2299
|
-
});
|
|
1594
|
+
return de_CommandError(output, context);
|
|
2300
1595
|
}
|
|
2301
|
-
|
|
1596
|
+
const data = await parseBody(output.body, context);
|
|
1597
|
+
let contents = {};
|
|
1598
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1599
|
+
const response = {
|
|
1600
|
+
$metadata: deserializeMetadata(output),
|
|
1601
|
+
...contents
|
|
1602
|
+
};
|
|
1603
|
+
return response;
|
|
1604
|
+
}, "de_DeleteAppBlockCommand");
|
|
2302
1605
|
var de_DeleteAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2303
1606
|
if (output.statusCode >= 300) {
|
|
2304
|
-
return
|
|
1607
|
+
return de_CommandError(output, context);
|
|
2305
1608
|
}
|
|
2306
1609
|
const data = await parseBody(output.body, context);
|
|
2307
1610
|
let contents = {};
|
|
@@ -2312,37 +1615,9 @@ var de_DeleteAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2312
1615
|
};
|
|
2313
1616
|
return response;
|
|
2314
1617
|
}, "de_DeleteAppBlockBuilderCommand");
|
|
2315
|
-
var de_DeleteAppBlockBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2316
|
-
const parsedOutput = {
|
|
2317
|
-
...output,
|
|
2318
|
-
body: await parseErrorBody(output.body, context)
|
|
2319
|
-
};
|
|
2320
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2321
|
-
switch (errorCode) {
|
|
2322
|
-
case "ConcurrentModificationException":
|
|
2323
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2324
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2325
|
-
case "OperationNotPermittedException":
|
|
2326
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2327
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2328
|
-
case "ResourceInUseException":
|
|
2329
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2330
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2331
|
-
case "ResourceNotFoundException":
|
|
2332
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2333
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2334
|
-
default:
|
|
2335
|
-
const parsedBody = parsedOutput.body;
|
|
2336
|
-
return throwDefaultError({
|
|
2337
|
-
output,
|
|
2338
|
-
parsedBody,
|
|
2339
|
-
errorCode
|
|
2340
|
-
});
|
|
2341
|
-
}
|
|
2342
|
-
}, "de_DeleteAppBlockBuilderCommandError");
|
|
2343
1618
|
var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2344
1619
|
if (output.statusCode >= 300) {
|
|
2345
|
-
return
|
|
1620
|
+
return de_CommandError(output, context);
|
|
2346
1621
|
}
|
|
2347
1622
|
const data = await parseBody(output.body, context);
|
|
2348
1623
|
let contents = {};
|
|
@@ -2353,37 +1628,9 @@ var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2353
1628
|
};
|
|
2354
1629
|
return response;
|
|
2355
1630
|
}, "de_DeleteApplicationCommand");
|
|
2356
|
-
var de_DeleteApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2357
|
-
const parsedOutput = {
|
|
2358
|
-
...output,
|
|
2359
|
-
body: await parseErrorBody(output.body, context)
|
|
2360
|
-
};
|
|
2361
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2362
|
-
switch (errorCode) {
|
|
2363
|
-
case "ConcurrentModificationException":
|
|
2364
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2365
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2366
|
-
case "OperationNotPermittedException":
|
|
2367
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2368
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2369
|
-
case "ResourceInUseException":
|
|
2370
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2371
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2372
|
-
case "ResourceNotFoundException":
|
|
2373
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2374
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2375
|
-
default:
|
|
2376
|
-
const parsedBody = parsedOutput.body;
|
|
2377
|
-
return throwDefaultError({
|
|
2378
|
-
output,
|
|
2379
|
-
parsedBody,
|
|
2380
|
-
errorCode
|
|
2381
|
-
});
|
|
2382
|
-
}
|
|
2383
|
-
}, "de_DeleteApplicationCommandError");
|
|
2384
1631
|
var de_DeleteDirectoryConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2385
1632
|
if (output.statusCode >= 300) {
|
|
2386
|
-
return
|
|
1633
|
+
return de_CommandError(output, context);
|
|
2387
1634
|
}
|
|
2388
1635
|
const data = await parseBody(output.body, context);
|
|
2389
1636
|
let contents = {};
|
|
@@ -2394,31 +1641,9 @@ var de_DeleteDirectoryConfigCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2394
1641
|
};
|
|
2395
1642
|
return response;
|
|
2396
1643
|
}, "de_DeleteDirectoryConfigCommand");
|
|
2397
|
-
var de_DeleteDirectoryConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2398
|
-
const parsedOutput = {
|
|
2399
|
-
...output,
|
|
2400
|
-
body: await parseErrorBody(output.body, context)
|
|
2401
|
-
};
|
|
2402
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2403
|
-
switch (errorCode) {
|
|
2404
|
-
case "ResourceInUseException":
|
|
2405
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2406
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2407
|
-
case "ResourceNotFoundException":
|
|
2408
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2409
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2410
|
-
default:
|
|
2411
|
-
const parsedBody = parsedOutput.body;
|
|
2412
|
-
return throwDefaultError({
|
|
2413
|
-
output,
|
|
2414
|
-
parsedBody,
|
|
2415
|
-
errorCode
|
|
2416
|
-
});
|
|
2417
|
-
}
|
|
2418
|
-
}, "de_DeleteDirectoryConfigCommandError");
|
|
2419
1644
|
var de_DeleteEntitlementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2420
1645
|
if (output.statusCode >= 300) {
|
|
2421
|
-
return
|
|
1646
|
+
return de_CommandError(output, context);
|
|
2422
1647
|
}
|
|
2423
1648
|
const data = await parseBody(output.body, context);
|
|
2424
1649
|
let contents = {};
|
|
@@ -2429,37 +1654,9 @@ var de_DeleteEntitlementCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2429
1654
|
};
|
|
2430
1655
|
return response;
|
|
2431
1656
|
}, "de_DeleteEntitlementCommand");
|
|
2432
|
-
var de_DeleteEntitlementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2433
|
-
const parsedOutput = {
|
|
2434
|
-
...output,
|
|
2435
|
-
body: await parseErrorBody(output.body, context)
|
|
2436
|
-
};
|
|
2437
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2438
|
-
switch (errorCode) {
|
|
2439
|
-
case "ConcurrentModificationException":
|
|
2440
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2441
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2442
|
-
case "EntitlementNotFoundException":
|
|
2443
|
-
case "com.amazonaws.appstream#EntitlementNotFoundException":
|
|
2444
|
-
throw await de_EntitlementNotFoundExceptionRes(parsedOutput, context);
|
|
2445
|
-
case "OperationNotPermittedException":
|
|
2446
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2447
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2448
|
-
case "ResourceNotFoundException":
|
|
2449
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2450
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2451
|
-
default:
|
|
2452
|
-
const parsedBody = parsedOutput.body;
|
|
2453
|
-
return throwDefaultError({
|
|
2454
|
-
output,
|
|
2455
|
-
parsedBody,
|
|
2456
|
-
errorCode
|
|
2457
|
-
});
|
|
2458
|
-
}
|
|
2459
|
-
}, "de_DeleteEntitlementCommandError");
|
|
2460
1657
|
var de_DeleteFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2461
1658
|
if (output.statusCode >= 300) {
|
|
2462
|
-
return
|
|
1659
|
+
return de_CommandError(output, context);
|
|
2463
1660
|
}
|
|
2464
1661
|
const data = await parseBody(output.body, context);
|
|
2465
1662
|
let contents = {};
|
|
@@ -2470,34 +1667,9 @@ var de_DeleteFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2470
1667
|
};
|
|
2471
1668
|
return response;
|
|
2472
1669
|
}, "de_DeleteFleetCommand");
|
|
2473
|
-
var de_DeleteFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2474
|
-
const parsedOutput = {
|
|
2475
|
-
...output,
|
|
2476
|
-
body: await parseErrorBody(output.body, context)
|
|
2477
|
-
};
|
|
2478
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2479
|
-
switch (errorCode) {
|
|
2480
|
-
case "ConcurrentModificationException":
|
|
2481
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2482
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2483
|
-
case "ResourceInUseException":
|
|
2484
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2485
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2486
|
-
case "ResourceNotFoundException":
|
|
2487
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2488
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2489
|
-
default:
|
|
2490
|
-
const parsedBody = parsedOutput.body;
|
|
2491
|
-
return throwDefaultError({
|
|
2492
|
-
output,
|
|
2493
|
-
parsedBody,
|
|
2494
|
-
errorCode
|
|
2495
|
-
});
|
|
2496
|
-
}
|
|
2497
|
-
}, "de_DeleteFleetCommandError");
|
|
2498
1670
|
var de_DeleteImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2499
1671
|
if (output.statusCode >= 300) {
|
|
2500
|
-
return
|
|
1672
|
+
return de_CommandError(output, context);
|
|
2501
1673
|
}
|
|
2502
1674
|
const data = await parseBody(output.body, context);
|
|
2503
1675
|
let contents = {};
|
|
@@ -2508,37 +1680,9 @@ var de_DeleteImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2508
1680
|
};
|
|
2509
1681
|
return response;
|
|
2510
1682
|
}, "de_DeleteImageCommand");
|
|
2511
|
-
var de_DeleteImageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2512
|
-
const parsedOutput = {
|
|
2513
|
-
...output,
|
|
2514
|
-
body: await parseErrorBody(output.body, context)
|
|
2515
|
-
};
|
|
2516
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2517
|
-
switch (errorCode) {
|
|
2518
|
-
case "ConcurrentModificationException":
|
|
2519
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2520
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2521
|
-
case "OperationNotPermittedException":
|
|
2522
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2523
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2524
|
-
case "ResourceInUseException":
|
|
2525
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2526
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2527
|
-
case "ResourceNotFoundException":
|
|
2528
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2529
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2530
|
-
default:
|
|
2531
|
-
const parsedBody = parsedOutput.body;
|
|
2532
|
-
return throwDefaultError({
|
|
2533
|
-
output,
|
|
2534
|
-
parsedBody,
|
|
2535
|
-
errorCode
|
|
2536
|
-
});
|
|
2537
|
-
}
|
|
2538
|
-
}, "de_DeleteImageCommandError");
|
|
2539
1683
|
var de_DeleteImageBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2540
1684
|
if (output.statusCode >= 300) {
|
|
2541
|
-
return
|
|
1685
|
+
return de_CommandError(output, context);
|
|
2542
1686
|
}
|
|
2543
1687
|
const data = await parseBody(output.body, context);
|
|
2544
1688
|
let contents = {};
|
|
@@ -2549,34 +1693,9 @@ var de_DeleteImageBuilderCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2549
1693
|
};
|
|
2550
1694
|
return response;
|
|
2551
1695
|
}, "de_DeleteImageBuilderCommand");
|
|
2552
|
-
var de_DeleteImageBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2553
|
-
const parsedOutput = {
|
|
2554
|
-
...output,
|
|
2555
|
-
body: await parseErrorBody(output.body, context)
|
|
2556
|
-
};
|
|
2557
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2558
|
-
switch (errorCode) {
|
|
2559
|
-
case "ConcurrentModificationException":
|
|
2560
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2561
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2562
|
-
case "OperationNotPermittedException":
|
|
2563
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2564
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2565
|
-
case "ResourceNotFoundException":
|
|
2566
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2567
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2568
|
-
default:
|
|
2569
|
-
const parsedBody = parsedOutput.body;
|
|
2570
|
-
return throwDefaultError({
|
|
2571
|
-
output,
|
|
2572
|
-
parsedBody,
|
|
2573
|
-
errorCode
|
|
2574
|
-
});
|
|
2575
|
-
}
|
|
2576
|
-
}, "de_DeleteImageBuilderCommandError");
|
|
2577
1696
|
var de_DeleteImagePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2578
1697
|
if (output.statusCode >= 300) {
|
|
2579
|
-
return
|
|
1698
|
+
return de_CommandError(output, context);
|
|
2580
1699
|
}
|
|
2581
1700
|
const data = await parseBody(output.body, context);
|
|
2582
1701
|
let contents = {};
|
|
@@ -2587,31 +1706,9 @@ var de_DeleteImagePermissionsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2587
1706
|
};
|
|
2588
1707
|
return response;
|
|
2589
1708
|
}, "de_DeleteImagePermissionsCommand");
|
|
2590
|
-
var de_DeleteImagePermissionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2591
|
-
const parsedOutput = {
|
|
2592
|
-
...output,
|
|
2593
|
-
body: await parseErrorBody(output.body, context)
|
|
2594
|
-
};
|
|
2595
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2596
|
-
switch (errorCode) {
|
|
2597
|
-
case "ResourceNotAvailableException":
|
|
2598
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
2599
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
2600
|
-
case "ResourceNotFoundException":
|
|
2601
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2602
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2603
|
-
default:
|
|
2604
|
-
const parsedBody = parsedOutput.body;
|
|
2605
|
-
return throwDefaultError({
|
|
2606
|
-
output,
|
|
2607
|
-
parsedBody,
|
|
2608
|
-
errorCode
|
|
2609
|
-
});
|
|
2610
|
-
}
|
|
2611
|
-
}, "de_DeleteImagePermissionsCommandError");
|
|
2612
1709
|
var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2613
1710
|
if (output.statusCode >= 300) {
|
|
2614
|
-
return
|
|
1711
|
+
return de_CommandError(output, context);
|
|
2615
1712
|
}
|
|
2616
1713
|
const data = await parseBody(output.body, context);
|
|
2617
1714
|
let contents = {};
|
|
@@ -2622,72 +1719,22 @@ var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2622
1719
|
};
|
|
2623
1720
|
return response;
|
|
2624
1721
|
}, "de_DeleteStackCommand");
|
|
2625
|
-
var
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
body: await parseErrorBody(output.body, context)
|
|
2629
|
-
};
|
|
2630
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2631
|
-
switch (errorCode) {
|
|
2632
|
-
case "ConcurrentModificationException":
|
|
2633
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
2634
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
2635
|
-
case "OperationNotPermittedException":
|
|
2636
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2637
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2638
|
-
case "ResourceInUseException":
|
|
2639
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2640
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2641
|
-
case "ResourceNotFoundException":
|
|
2642
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2643
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2644
|
-
default:
|
|
2645
|
-
const parsedBody = parsedOutput.body;
|
|
2646
|
-
return throwDefaultError({
|
|
2647
|
-
output,
|
|
2648
|
-
parsedBody,
|
|
2649
|
-
errorCode
|
|
2650
|
-
});
|
|
2651
|
-
}
|
|
2652
|
-
}, "de_DeleteStackCommandError");
|
|
2653
|
-
var de_DeleteUsageReportSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2654
|
-
if (output.statusCode >= 300) {
|
|
2655
|
-
return de_DeleteUsageReportSubscriptionCommandError(output, context);
|
|
2656
|
-
}
|
|
2657
|
-
const data = await parseBody(output.body, context);
|
|
2658
|
-
let contents = {};
|
|
2659
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2660
|
-
const response = {
|
|
2661
|
-
$metadata: deserializeMetadata(output),
|
|
2662
|
-
...contents
|
|
2663
|
-
};
|
|
2664
|
-
return response;
|
|
2665
|
-
}, "de_DeleteUsageReportSubscriptionCommand");
|
|
2666
|
-
var de_DeleteUsageReportSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2667
|
-
const parsedOutput = {
|
|
2668
|
-
...output,
|
|
2669
|
-
body: await parseErrorBody(output.body, context)
|
|
2670
|
-
};
|
|
2671
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2672
|
-
switch (errorCode) {
|
|
2673
|
-
case "InvalidAccountStatusException":
|
|
2674
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
2675
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
2676
|
-
case "ResourceNotFoundException":
|
|
2677
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2678
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2679
|
-
default:
|
|
2680
|
-
const parsedBody = parsedOutput.body;
|
|
2681
|
-
return throwDefaultError({
|
|
2682
|
-
output,
|
|
2683
|
-
parsedBody,
|
|
2684
|
-
errorCode
|
|
2685
|
-
});
|
|
1722
|
+
var de_DeleteUsageReportSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1723
|
+
if (output.statusCode >= 300) {
|
|
1724
|
+
return de_CommandError(output, context);
|
|
2686
1725
|
}
|
|
2687
|
-
|
|
1726
|
+
const data = await parseBody(output.body, context);
|
|
1727
|
+
let contents = {};
|
|
1728
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1729
|
+
const response = {
|
|
1730
|
+
$metadata: deserializeMetadata(output),
|
|
1731
|
+
...contents
|
|
1732
|
+
};
|
|
1733
|
+
return response;
|
|
1734
|
+
}, "de_DeleteUsageReportSubscriptionCommand");
|
|
2688
1735
|
var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2689
1736
|
if (output.statusCode >= 300) {
|
|
2690
|
-
return
|
|
1737
|
+
return de_CommandError(output, context);
|
|
2691
1738
|
}
|
|
2692
1739
|
const data = await parseBody(output.body, context);
|
|
2693
1740
|
let contents = {};
|
|
@@ -2698,28 +1745,9 @@ var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2698
1745
|
};
|
|
2699
1746
|
return response;
|
|
2700
1747
|
}, "de_DeleteUserCommand");
|
|
2701
|
-
var de_DeleteUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2702
|
-
const parsedOutput = {
|
|
2703
|
-
...output,
|
|
2704
|
-
body: await parseErrorBody(output.body, context)
|
|
2705
|
-
};
|
|
2706
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2707
|
-
switch (errorCode) {
|
|
2708
|
-
case "ResourceNotFoundException":
|
|
2709
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2710
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2711
|
-
default:
|
|
2712
|
-
const parsedBody = parsedOutput.body;
|
|
2713
|
-
return throwDefaultError({
|
|
2714
|
-
output,
|
|
2715
|
-
parsedBody,
|
|
2716
|
-
errorCode
|
|
2717
|
-
});
|
|
2718
|
-
}
|
|
2719
|
-
}, "de_DeleteUserCommandError");
|
|
2720
1748
|
var de_DescribeAppBlockBuilderAppBlockAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2721
1749
|
if (output.statusCode >= 300) {
|
|
2722
|
-
return
|
|
1750
|
+
return de_CommandError(output, context);
|
|
2723
1751
|
}
|
|
2724
1752
|
const data = await parseBody(output.body, context);
|
|
2725
1753
|
let contents = {};
|
|
@@ -2730,31 +1758,9 @@ var de_DescribeAppBlockBuilderAppBlockAssociationsCommand = /* @__PURE__ */ __na
|
|
|
2730
1758
|
};
|
|
2731
1759
|
return response;
|
|
2732
1760
|
}, "de_DescribeAppBlockBuilderAppBlockAssociationsCommand");
|
|
2733
|
-
var de_DescribeAppBlockBuilderAppBlockAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2734
|
-
const parsedOutput = {
|
|
2735
|
-
...output,
|
|
2736
|
-
body: await parseErrorBody(output.body, context)
|
|
2737
|
-
};
|
|
2738
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2739
|
-
switch (errorCode) {
|
|
2740
|
-
case "InvalidParameterCombinationException":
|
|
2741
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
2742
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2743
|
-
case "OperationNotPermittedException":
|
|
2744
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2745
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2746
|
-
default:
|
|
2747
|
-
const parsedBody = parsedOutput.body;
|
|
2748
|
-
return throwDefaultError({
|
|
2749
|
-
output,
|
|
2750
|
-
parsedBody,
|
|
2751
|
-
errorCode
|
|
2752
|
-
});
|
|
2753
|
-
}
|
|
2754
|
-
}, "de_DescribeAppBlockBuilderAppBlockAssociationsCommandError");
|
|
2755
1761
|
var de_DescribeAppBlockBuildersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2756
1762
|
if (output.statusCode >= 300) {
|
|
2757
|
-
return
|
|
1763
|
+
return de_CommandError(output, context);
|
|
2758
1764
|
}
|
|
2759
1765
|
const data = await parseBody(output.body, context);
|
|
2760
1766
|
let contents = {};
|
|
@@ -2765,31 +1771,9 @@ var de_DescribeAppBlockBuildersCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2765
1771
|
};
|
|
2766
1772
|
return response;
|
|
2767
1773
|
}, "de_DescribeAppBlockBuildersCommand");
|
|
2768
|
-
var de_DescribeAppBlockBuildersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2769
|
-
const parsedOutput = {
|
|
2770
|
-
...output,
|
|
2771
|
-
body: await parseErrorBody(output.body, context)
|
|
2772
|
-
};
|
|
2773
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2774
|
-
switch (errorCode) {
|
|
2775
|
-
case "OperationNotPermittedException":
|
|
2776
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2777
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2778
|
-
case "ResourceNotFoundException":
|
|
2779
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2780
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2781
|
-
default:
|
|
2782
|
-
const parsedBody = parsedOutput.body;
|
|
2783
|
-
return throwDefaultError({
|
|
2784
|
-
output,
|
|
2785
|
-
parsedBody,
|
|
2786
|
-
errorCode
|
|
2787
|
-
});
|
|
2788
|
-
}
|
|
2789
|
-
}, "de_DescribeAppBlockBuildersCommandError");
|
|
2790
1774
|
var de_DescribeAppBlocksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2791
1775
|
if (output.statusCode >= 300) {
|
|
2792
|
-
return
|
|
1776
|
+
return de_CommandError(output, context);
|
|
2793
1777
|
}
|
|
2794
1778
|
const data = await parseBody(output.body, context);
|
|
2795
1779
|
let contents = {};
|
|
@@ -2800,31 +1784,9 @@ var de_DescribeAppBlocksCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2800
1784
|
};
|
|
2801
1785
|
return response;
|
|
2802
1786
|
}, "de_DescribeAppBlocksCommand");
|
|
2803
|
-
var de_DescribeAppBlocksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2804
|
-
const parsedOutput = {
|
|
2805
|
-
...output,
|
|
2806
|
-
body: await parseErrorBody(output.body, context)
|
|
2807
|
-
};
|
|
2808
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2809
|
-
switch (errorCode) {
|
|
2810
|
-
case "OperationNotPermittedException":
|
|
2811
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2812
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2813
|
-
case "ResourceNotFoundException":
|
|
2814
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2815
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2816
|
-
default:
|
|
2817
|
-
const parsedBody = parsedOutput.body;
|
|
2818
|
-
return throwDefaultError({
|
|
2819
|
-
output,
|
|
2820
|
-
parsedBody,
|
|
2821
|
-
errorCode
|
|
2822
|
-
});
|
|
2823
|
-
}
|
|
2824
|
-
}, "de_DescribeAppBlocksCommandError");
|
|
2825
1787
|
var de_DescribeApplicationFleetAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2826
1788
|
if (output.statusCode >= 300) {
|
|
2827
|
-
return
|
|
1789
|
+
return de_CommandError(output, context);
|
|
2828
1790
|
}
|
|
2829
1791
|
const data = await parseBody(output.body, context);
|
|
2830
1792
|
let contents = {};
|
|
@@ -2835,31 +1797,9 @@ var de_DescribeApplicationFleetAssociationsCommand = /* @__PURE__ */ __name(asyn
|
|
|
2835
1797
|
};
|
|
2836
1798
|
return response;
|
|
2837
1799
|
}, "de_DescribeApplicationFleetAssociationsCommand");
|
|
2838
|
-
var de_DescribeApplicationFleetAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2839
|
-
const parsedOutput = {
|
|
2840
|
-
...output,
|
|
2841
|
-
body: await parseErrorBody(output.body, context)
|
|
2842
|
-
};
|
|
2843
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2844
|
-
switch (errorCode) {
|
|
2845
|
-
case "InvalidParameterCombinationException":
|
|
2846
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
2847
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2848
|
-
case "OperationNotPermittedException":
|
|
2849
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2850
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2851
|
-
default:
|
|
2852
|
-
const parsedBody = parsedOutput.body;
|
|
2853
|
-
return throwDefaultError({
|
|
2854
|
-
output,
|
|
2855
|
-
parsedBody,
|
|
2856
|
-
errorCode
|
|
2857
|
-
});
|
|
2858
|
-
}
|
|
2859
|
-
}, "de_DescribeApplicationFleetAssociationsCommandError");
|
|
2860
1800
|
var de_DescribeApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2861
1801
|
if (output.statusCode >= 300) {
|
|
2862
|
-
return
|
|
1802
|
+
return de_CommandError(output, context);
|
|
2863
1803
|
}
|
|
2864
1804
|
const data = await parseBody(output.body, context);
|
|
2865
1805
|
let contents = {};
|
|
@@ -2870,31 +1810,9 @@ var de_DescribeApplicationsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2870
1810
|
};
|
|
2871
1811
|
return response;
|
|
2872
1812
|
}, "de_DescribeApplicationsCommand");
|
|
2873
|
-
var de_DescribeApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2874
|
-
const parsedOutput = {
|
|
2875
|
-
...output,
|
|
2876
|
-
body: await parseErrorBody(output.body, context)
|
|
2877
|
-
};
|
|
2878
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2879
|
-
switch (errorCode) {
|
|
2880
|
-
case "OperationNotPermittedException":
|
|
2881
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2882
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2883
|
-
case "ResourceNotFoundException":
|
|
2884
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2885
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2886
|
-
default:
|
|
2887
|
-
const parsedBody = parsedOutput.body;
|
|
2888
|
-
return throwDefaultError({
|
|
2889
|
-
output,
|
|
2890
|
-
parsedBody,
|
|
2891
|
-
errorCode
|
|
2892
|
-
});
|
|
2893
|
-
}
|
|
2894
|
-
}, "de_DescribeApplicationsCommandError");
|
|
2895
1813
|
var de_DescribeDirectoryConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2896
1814
|
if (output.statusCode >= 300) {
|
|
2897
|
-
return
|
|
1815
|
+
return de_CommandError(output, context);
|
|
2898
1816
|
}
|
|
2899
1817
|
const data = await parseBody(output.body, context);
|
|
2900
1818
|
let contents = {};
|
|
@@ -2905,28 +1823,9 @@ var de_DescribeDirectoryConfigsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2905
1823
|
};
|
|
2906
1824
|
return response;
|
|
2907
1825
|
}, "de_DescribeDirectoryConfigsCommand");
|
|
2908
|
-
var de_DescribeDirectoryConfigsCommandError = /* @__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 "ResourceNotFoundException":
|
|
2916
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2917
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2918
|
-
default:
|
|
2919
|
-
const parsedBody = parsedOutput.body;
|
|
2920
|
-
return throwDefaultError({
|
|
2921
|
-
output,
|
|
2922
|
-
parsedBody,
|
|
2923
|
-
errorCode
|
|
2924
|
-
});
|
|
2925
|
-
}
|
|
2926
|
-
}, "de_DescribeDirectoryConfigsCommandError");
|
|
2927
1826
|
var de_DescribeEntitlementsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2928
1827
|
if (output.statusCode >= 300) {
|
|
2929
|
-
return
|
|
1828
|
+
return de_CommandError(output, context);
|
|
2930
1829
|
}
|
|
2931
1830
|
const data = await parseBody(output.body, context);
|
|
2932
1831
|
let contents = {};
|
|
@@ -2937,34 +1836,9 @@ var de_DescribeEntitlementsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2937
1836
|
};
|
|
2938
1837
|
return response;
|
|
2939
1838
|
}, "de_DescribeEntitlementsCommand");
|
|
2940
|
-
var de_DescribeEntitlementsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2941
|
-
const parsedOutput = {
|
|
2942
|
-
...output,
|
|
2943
|
-
body: await parseErrorBody(output.body, context)
|
|
2944
|
-
};
|
|
2945
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2946
|
-
switch (errorCode) {
|
|
2947
|
-
case "EntitlementNotFoundException":
|
|
2948
|
-
case "com.amazonaws.appstream#EntitlementNotFoundException":
|
|
2949
|
-
throw await de_EntitlementNotFoundExceptionRes(parsedOutput, context);
|
|
2950
|
-
case "OperationNotPermittedException":
|
|
2951
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
2952
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
2953
|
-
case "ResourceNotFoundException":
|
|
2954
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2955
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2956
|
-
default:
|
|
2957
|
-
const parsedBody = parsedOutput.body;
|
|
2958
|
-
return throwDefaultError({
|
|
2959
|
-
output,
|
|
2960
|
-
parsedBody,
|
|
2961
|
-
errorCode
|
|
2962
|
-
});
|
|
2963
|
-
}
|
|
2964
|
-
}, "de_DescribeEntitlementsCommandError");
|
|
2965
1839
|
var de_DescribeFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2966
1840
|
if (output.statusCode >= 300) {
|
|
2967
|
-
return
|
|
1841
|
+
return de_CommandError(output, context);
|
|
2968
1842
|
}
|
|
2969
1843
|
const data = await parseBody(output.body, context);
|
|
2970
1844
|
let contents = {};
|
|
@@ -2975,28 +1849,9 @@ var de_DescribeFleetsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2975
1849
|
};
|
|
2976
1850
|
return response;
|
|
2977
1851
|
}, "de_DescribeFleetsCommand");
|
|
2978
|
-
var de_DescribeFleetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2979
|
-
const parsedOutput = {
|
|
2980
|
-
...output,
|
|
2981
|
-
body: await parseErrorBody(output.body, context)
|
|
2982
|
-
};
|
|
2983
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2984
|
-
switch (errorCode) {
|
|
2985
|
-
case "ResourceNotFoundException":
|
|
2986
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
2987
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2988
|
-
default:
|
|
2989
|
-
const parsedBody = parsedOutput.body;
|
|
2990
|
-
return throwDefaultError({
|
|
2991
|
-
output,
|
|
2992
|
-
parsedBody,
|
|
2993
|
-
errorCode
|
|
2994
|
-
});
|
|
2995
|
-
}
|
|
2996
|
-
}, "de_DescribeFleetsCommandError");
|
|
2997
1852
|
var de_DescribeImageBuildersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2998
1853
|
if (output.statusCode >= 300) {
|
|
2999
|
-
return
|
|
1854
|
+
return de_CommandError(output, context);
|
|
3000
1855
|
}
|
|
3001
1856
|
const data = await parseBody(output.body, context);
|
|
3002
1857
|
let contents = {};
|
|
@@ -3007,95 +1862,35 @@ var de_DescribeImageBuildersCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3007
1862
|
};
|
|
3008
1863
|
return response;
|
|
3009
1864
|
}, "de_DescribeImageBuildersCommand");
|
|
3010
|
-
var de_DescribeImageBuildersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3011
|
-
const parsedOutput = {
|
|
3012
|
-
...output,
|
|
3013
|
-
body: await parseErrorBody(output.body, context)
|
|
3014
|
-
};
|
|
3015
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3016
|
-
switch (errorCode) {
|
|
3017
|
-
case "ResourceNotFoundException":
|
|
3018
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3019
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3020
|
-
default:
|
|
3021
|
-
const parsedBody = parsedOutput.body;
|
|
3022
|
-
return throwDefaultError({
|
|
3023
|
-
output,
|
|
3024
|
-
parsedBody,
|
|
3025
|
-
errorCode
|
|
3026
|
-
});
|
|
3027
|
-
}
|
|
3028
|
-
}, "de_DescribeImageBuildersCommandError");
|
|
3029
1865
|
var de_DescribeImagePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3030
1866
|
if (output.statusCode >= 300) {
|
|
3031
|
-
return
|
|
1867
|
+
return de_CommandError(output, context);
|
|
3032
1868
|
}
|
|
3033
1869
|
const data = await parseBody(output.body, context);
|
|
3034
1870
|
let contents = {};
|
|
3035
1871
|
contents = (0, import_smithy_client._json)(data);
|
|
3036
|
-
const response = {
|
|
3037
|
-
$metadata: deserializeMetadata(output),
|
|
3038
|
-
...contents
|
|
3039
|
-
};
|
|
3040
|
-
return response;
|
|
3041
|
-
}, "de_DescribeImagePermissionsCommand");
|
|
3042
|
-
var
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
body: await parseErrorBody(output.body, context)
|
|
3046
|
-
};
|
|
3047
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3048
|
-
switch (errorCode) {
|
|
3049
|
-
case "ResourceNotFoundException":
|
|
3050
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3051
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3052
|
-
default:
|
|
3053
|
-
const parsedBody = parsedOutput.body;
|
|
3054
|
-
return throwDefaultError({
|
|
3055
|
-
output,
|
|
3056
|
-
parsedBody,
|
|
3057
|
-
errorCode
|
|
3058
|
-
});
|
|
3059
|
-
}
|
|
3060
|
-
}, "de_DescribeImagePermissionsCommandError");
|
|
3061
|
-
var de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3062
|
-
if (output.statusCode >= 300) {
|
|
3063
|
-
return de_DescribeImagesCommandError(output, context);
|
|
3064
|
-
}
|
|
3065
|
-
const data = await parseBody(output.body, context);
|
|
3066
|
-
let contents = {};
|
|
3067
|
-
contents = de_DescribeImagesResult(data, context);
|
|
3068
|
-
const response = {
|
|
3069
|
-
$metadata: deserializeMetadata(output),
|
|
3070
|
-
...contents
|
|
3071
|
-
};
|
|
3072
|
-
return response;
|
|
3073
|
-
}, "de_DescribeImagesCommand");
|
|
3074
|
-
var de_DescribeImagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3075
|
-
const parsedOutput = {
|
|
3076
|
-
...output,
|
|
3077
|
-
body: await parseErrorBody(output.body, context)
|
|
3078
|
-
};
|
|
3079
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3080
|
-
switch (errorCode) {
|
|
3081
|
-
case "InvalidParameterCombinationException":
|
|
3082
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
3083
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
3084
|
-
case "ResourceNotFoundException":
|
|
3085
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3086
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3087
|
-
default:
|
|
3088
|
-
const parsedBody = parsedOutput.body;
|
|
3089
|
-
return throwDefaultError({
|
|
3090
|
-
output,
|
|
3091
|
-
parsedBody,
|
|
3092
|
-
errorCode
|
|
3093
|
-
});
|
|
1872
|
+
const response = {
|
|
1873
|
+
$metadata: deserializeMetadata(output),
|
|
1874
|
+
...contents
|
|
1875
|
+
};
|
|
1876
|
+
return response;
|
|
1877
|
+
}, "de_DescribeImagePermissionsCommand");
|
|
1878
|
+
var de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1879
|
+
if (output.statusCode >= 300) {
|
|
1880
|
+
return de_CommandError(output, context);
|
|
3094
1881
|
}
|
|
3095
|
-
|
|
1882
|
+
const data = await parseBody(output.body, context);
|
|
1883
|
+
let contents = {};
|
|
1884
|
+
contents = de_DescribeImagesResult(data, context);
|
|
1885
|
+
const response = {
|
|
1886
|
+
$metadata: deserializeMetadata(output),
|
|
1887
|
+
...contents
|
|
1888
|
+
};
|
|
1889
|
+
return response;
|
|
1890
|
+
}, "de_DescribeImagesCommand");
|
|
3096
1891
|
var de_DescribeSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3097
1892
|
if (output.statusCode >= 300) {
|
|
3098
|
-
return
|
|
1893
|
+
return de_CommandError(output, context);
|
|
3099
1894
|
}
|
|
3100
1895
|
const data = await parseBody(output.body, context);
|
|
3101
1896
|
let contents = {};
|
|
@@ -3106,28 +1901,9 @@ var de_DescribeSessionsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3106
1901
|
};
|
|
3107
1902
|
return response;
|
|
3108
1903
|
}, "de_DescribeSessionsCommand");
|
|
3109
|
-
var de_DescribeSessionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3110
|
-
const parsedOutput = {
|
|
3111
|
-
...output,
|
|
3112
|
-
body: await parseErrorBody(output.body, context)
|
|
3113
|
-
};
|
|
3114
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3115
|
-
switch (errorCode) {
|
|
3116
|
-
case "InvalidParameterCombinationException":
|
|
3117
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
3118
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
3119
|
-
default:
|
|
3120
|
-
const parsedBody = parsedOutput.body;
|
|
3121
|
-
return throwDefaultError({
|
|
3122
|
-
output,
|
|
3123
|
-
parsedBody,
|
|
3124
|
-
errorCode
|
|
3125
|
-
});
|
|
3126
|
-
}
|
|
3127
|
-
}, "de_DescribeSessionsCommandError");
|
|
3128
1904
|
var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3129
1905
|
if (output.statusCode >= 300) {
|
|
3130
|
-
return
|
|
1906
|
+
return de_CommandError(output, context);
|
|
3131
1907
|
}
|
|
3132
1908
|
const data = await parseBody(output.body, context);
|
|
3133
1909
|
let contents = {};
|
|
@@ -3138,28 +1914,9 @@ var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3138
1914
|
};
|
|
3139
1915
|
return response;
|
|
3140
1916
|
}, "de_DescribeStacksCommand");
|
|
3141
|
-
var de_DescribeStacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3142
|
-
const parsedOutput = {
|
|
3143
|
-
...output,
|
|
3144
|
-
body: await parseErrorBody(output.body, context)
|
|
3145
|
-
};
|
|
3146
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3147
|
-
switch (errorCode) {
|
|
3148
|
-
case "ResourceNotFoundException":
|
|
3149
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3150
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3151
|
-
default:
|
|
3152
|
-
const parsedBody = parsedOutput.body;
|
|
3153
|
-
return throwDefaultError({
|
|
3154
|
-
output,
|
|
3155
|
-
parsedBody,
|
|
3156
|
-
errorCode
|
|
3157
|
-
});
|
|
3158
|
-
}
|
|
3159
|
-
}, "de_DescribeStacksCommandError");
|
|
3160
1917
|
var de_DescribeUsageReportSubscriptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3161
1918
|
if (output.statusCode >= 300) {
|
|
3162
|
-
return
|
|
1919
|
+
return de_CommandError(output, context);
|
|
3163
1920
|
}
|
|
3164
1921
|
const data = await parseBody(output.body, context);
|
|
3165
1922
|
let contents = {};
|
|
@@ -3170,31 +1927,9 @@ var de_DescribeUsageReportSubscriptionsCommand = /* @__PURE__ */ __name(async (o
|
|
|
3170
1927
|
};
|
|
3171
1928
|
return response;
|
|
3172
1929
|
}, "de_DescribeUsageReportSubscriptionsCommand");
|
|
3173
|
-
var de_DescribeUsageReportSubscriptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3174
|
-
const parsedOutput = {
|
|
3175
|
-
...output,
|
|
3176
|
-
body: await parseErrorBody(output.body, context)
|
|
3177
|
-
};
|
|
3178
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3179
|
-
switch (errorCode) {
|
|
3180
|
-
case "InvalidAccountStatusException":
|
|
3181
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
3182
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
3183
|
-
case "ResourceNotFoundException":
|
|
3184
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3185
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3186
|
-
default:
|
|
3187
|
-
const parsedBody = parsedOutput.body;
|
|
3188
|
-
return throwDefaultError({
|
|
3189
|
-
output,
|
|
3190
|
-
parsedBody,
|
|
3191
|
-
errorCode
|
|
3192
|
-
});
|
|
3193
|
-
}
|
|
3194
|
-
}, "de_DescribeUsageReportSubscriptionsCommandError");
|
|
3195
1930
|
var de_DescribeUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3196
1931
|
if (output.statusCode >= 300) {
|
|
3197
|
-
return
|
|
1932
|
+
return de_CommandError(output, context);
|
|
3198
1933
|
}
|
|
3199
1934
|
const data = await parseBody(output.body, context);
|
|
3200
1935
|
let contents = {};
|
|
@@ -3205,34 +1940,9 @@ var de_DescribeUsersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3205
1940
|
};
|
|
3206
1941
|
return response;
|
|
3207
1942
|
}, "de_DescribeUsersCommand");
|
|
3208
|
-
var de_DescribeUsersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3209
|
-
const parsedOutput = {
|
|
3210
|
-
...output,
|
|
3211
|
-
body: await parseErrorBody(output.body, context)
|
|
3212
|
-
};
|
|
3213
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3214
|
-
switch (errorCode) {
|
|
3215
|
-
case "InvalidParameterCombinationException":
|
|
3216
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
3217
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
3218
|
-
case "OperationNotPermittedException":
|
|
3219
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3220
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3221
|
-
case "ResourceNotFoundException":
|
|
3222
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3223
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3224
|
-
default:
|
|
3225
|
-
const parsedBody = parsedOutput.body;
|
|
3226
|
-
return throwDefaultError({
|
|
3227
|
-
output,
|
|
3228
|
-
parsedBody,
|
|
3229
|
-
errorCode
|
|
3230
|
-
});
|
|
3231
|
-
}
|
|
3232
|
-
}, "de_DescribeUsersCommandError");
|
|
3233
1943
|
var de_DescribeUserStackAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3234
1944
|
if (output.statusCode >= 300) {
|
|
3235
|
-
return
|
|
1945
|
+
return de_CommandError(output, context);
|
|
3236
1946
|
}
|
|
3237
1947
|
const data = await parseBody(output.body, context);
|
|
3238
1948
|
let contents = {};
|
|
@@ -3243,31 +1953,9 @@ var de_DescribeUserStackAssociationsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3243
1953
|
};
|
|
3244
1954
|
return response;
|
|
3245
1955
|
}, "de_DescribeUserStackAssociationsCommand");
|
|
3246
|
-
var de_DescribeUserStackAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3247
|
-
const parsedOutput = {
|
|
3248
|
-
...output,
|
|
3249
|
-
body: await parseErrorBody(output.body, context)
|
|
3250
|
-
};
|
|
3251
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3252
|
-
switch (errorCode) {
|
|
3253
|
-
case "InvalidParameterCombinationException":
|
|
3254
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
3255
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
3256
|
-
case "OperationNotPermittedException":
|
|
3257
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3258
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3259
|
-
default:
|
|
3260
|
-
const parsedBody = parsedOutput.body;
|
|
3261
|
-
return throwDefaultError({
|
|
3262
|
-
output,
|
|
3263
|
-
parsedBody,
|
|
3264
|
-
errorCode
|
|
3265
|
-
});
|
|
3266
|
-
}
|
|
3267
|
-
}, "de_DescribeUserStackAssociationsCommandError");
|
|
3268
1956
|
var de_DisableUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3269
1957
|
if (output.statusCode >= 300) {
|
|
3270
|
-
return
|
|
1958
|
+
return de_CommandError(output, context);
|
|
3271
1959
|
}
|
|
3272
1960
|
const data = await parseBody(output.body, context);
|
|
3273
1961
|
let contents = {};
|
|
@@ -3278,28 +1966,9 @@ var de_DisableUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3278
1966
|
};
|
|
3279
1967
|
return response;
|
|
3280
1968
|
}, "de_DisableUserCommand");
|
|
3281
|
-
var de_DisableUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3282
|
-
const parsedOutput = {
|
|
3283
|
-
...output,
|
|
3284
|
-
body: await parseErrorBody(output.body, context)
|
|
3285
|
-
};
|
|
3286
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3287
|
-
switch (errorCode) {
|
|
3288
|
-
case "ResourceNotFoundException":
|
|
3289
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3290
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3291
|
-
default:
|
|
3292
|
-
const parsedBody = parsedOutput.body;
|
|
3293
|
-
return throwDefaultError({
|
|
3294
|
-
output,
|
|
3295
|
-
parsedBody,
|
|
3296
|
-
errorCode
|
|
3297
|
-
});
|
|
3298
|
-
}
|
|
3299
|
-
}, "de_DisableUserCommandError");
|
|
3300
1969
|
var de_DisassociateAppBlockBuilderAppBlockCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3301
1970
|
if (output.statusCode >= 300) {
|
|
3302
|
-
return
|
|
1971
|
+
return de_CommandError(output, context);
|
|
3303
1972
|
}
|
|
3304
1973
|
const data = await parseBody(output.body, context);
|
|
3305
1974
|
let contents = {};
|
|
@@ -3310,37 +1979,9 @@ var de_DisassociateAppBlockBuilderAppBlockCommand = /* @__PURE__ */ __name(async
|
|
|
3310
1979
|
};
|
|
3311
1980
|
return response;
|
|
3312
1981
|
}, "de_DisassociateAppBlockBuilderAppBlockCommand");
|
|
3313
|
-
var de_DisassociateAppBlockBuilderAppBlockCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3314
|
-
const parsedOutput = {
|
|
3315
|
-
...output,
|
|
3316
|
-
body: await parseErrorBody(output.body, context)
|
|
3317
|
-
};
|
|
3318
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3319
|
-
switch (errorCode) {
|
|
3320
|
-
case "ConcurrentModificationException":
|
|
3321
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3322
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3323
|
-
case "InvalidParameterCombinationException":
|
|
3324
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
3325
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
3326
|
-
case "OperationNotPermittedException":
|
|
3327
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3328
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3329
|
-
case "ResourceNotFoundException":
|
|
3330
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3331
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3332
|
-
default:
|
|
3333
|
-
const parsedBody = parsedOutput.body;
|
|
3334
|
-
return throwDefaultError({
|
|
3335
|
-
output,
|
|
3336
|
-
parsedBody,
|
|
3337
|
-
errorCode
|
|
3338
|
-
});
|
|
3339
|
-
}
|
|
3340
|
-
}, "de_DisassociateAppBlockBuilderAppBlockCommandError");
|
|
3341
1982
|
var de_DisassociateApplicationFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3342
1983
|
if (output.statusCode >= 300) {
|
|
3343
|
-
return
|
|
1984
|
+
return de_CommandError(output, context);
|
|
3344
1985
|
}
|
|
3345
1986
|
const data = await parseBody(output.body, context);
|
|
3346
1987
|
let contents = {};
|
|
@@ -3351,34 +1992,9 @@ var de_DisassociateApplicationFleetCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
3351
1992
|
};
|
|
3352
1993
|
return response;
|
|
3353
1994
|
}, "de_DisassociateApplicationFleetCommand");
|
|
3354
|
-
var de_DisassociateApplicationFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3355
|
-
const parsedOutput = {
|
|
3356
|
-
...output,
|
|
3357
|
-
body: await parseErrorBody(output.body, context)
|
|
3358
|
-
};
|
|
3359
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3360
|
-
switch (errorCode) {
|
|
3361
|
-
case "ConcurrentModificationException":
|
|
3362
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3363
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3364
|
-
case "InvalidParameterCombinationException":
|
|
3365
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
3366
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
3367
|
-
case "OperationNotPermittedException":
|
|
3368
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3369
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3370
|
-
default:
|
|
3371
|
-
const parsedBody = parsedOutput.body;
|
|
3372
|
-
return throwDefaultError({
|
|
3373
|
-
output,
|
|
3374
|
-
parsedBody,
|
|
3375
|
-
errorCode
|
|
3376
|
-
});
|
|
3377
|
-
}
|
|
3378
|
-
}, "de_DisassociateApplicationFleetCommandError");
|
|
3379
1995
|
var de_DisassociateApplicationFromEntitlementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3380
1996
|
if (output.statusCode >= 300) {
|
|
3381
|
-
return
|
|
1997
|
+
return de_CommandError(output, context);
|
|
3382
1998
|
}
|
|
3383
1999
|
const data = await parseBody(output.body, context);
|
|
3384
2000
|
let contents = {};
|
|
@@ -3389,34 +2005,9 @@ var de_DisassociateApplicationFromEntitlementCommand = /* @__PURE__ */ __name(as
|
|
|
3389
2005
|
};
|
|
3390
2006
|
return response;
|
|
3391
2007
|
}, "de_DisassociateApplicationFromEntitlementCommand");
|
|
3392
|
-
var de_DisassociateApplicationFromEntitlementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3393
|
-
const parsedOutput = {
|
|
3394
|
-
...output,
|
|
3395
|
-
body: await parseErrorBody(output.body, context)
|
|
3396
|
-
};
|
|
3397
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3398
|
-
switch (errorCode) {
|
|
3399
|
-
case "EntitlementNotFoundException":
|
|
3400
|
-
case "com.amazonaws.appstream#EntitlementNotFoundException":
|
|
3401
|
-
throw await de_EntitlementNotFoundExceptionRes(parsedOutput, context);
|
|
3402
|
-
case "OperationNotPermittedException":
|
|
3403
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3404
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3405
|
-
case "ResourceNotFoundException":
|
|
3406
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3407
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3408
|
-
default:
|
|
3409
|
-
const parsedBody = parsedOutput.body;
|
|
3410
|
-
return throwDefaultError({
|
|
3411
|
-
output,
|
|
3412
|
-
parsedBody,
|
|
3413
|
-
errorCode
|
|
3414
|
-
});
|
|
3415
|
-
}
|
|
3416
|
-
}, "de_DisassociateApplicationFromEntitlementCommandError");
|
|
3417
2008
|
var de_DisassociateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3418
2009
|
if (output.statusCode >= 300) {
|
|
3419
|
-
return
|
|
2010
|
+
return de_CommandError(output, context);
|
|
3420
2011
|
}
|
|
3421
2012
|
const data = await parseBody(output.body, context);
|
|
3422
2013
|
let contents = {};
|
|
@@ -3427,37 +2018,9 @@ var de_DisassociateFleetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3427
2018
|
};
|
|
3428
2019
|
return response;
|
|
3429
2020
|
}, "de_DisassociateFleetCommand");
|
|
3430
|
-
var de_DisassociateFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3431
|
-
const parsedOutput = {
|
|
3432
|
-
...output,
|
|
3433
|
-
body: await parseErrorBody(output.body, context)
|
|
3434
|
-
};
|
|
3435
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3436
|
-
switch (errorCode) {
|
|
3437
|
-
case "ConcurrentModificationException":
|
|
3438
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3439
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3440
|
-
case "OperationNotPermittedException":
|
|
3441
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3442
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3443
|
-
case "ResourceInUseException":
|
|
3444
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
3445
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3446
|
-
case "ResourceNotFoundException":
|
|
3447
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3448
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3449
|
-
default:
|
|
3450
|
-
const parsedBody = parsedOutput.body;
|
|
3451
|
-
return throwDefaultError({
|
|
3452
|
-
output,
|
|
3453
|
-
parsedBody,
|
|
3454
|
-
errorCode
|
|
3455
|
-
});
|
|
3456
|
-
}
|
|
3457
|
-
}, "de_DisassociateFleetCommandError");
|
|
3458
2021
|
var de_EnableUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3459
2022
|
if (output.statusCode >= 300) {
|
|
3460
|
-
return
|
|
2023
|
+
return de_CommandError(output, context);
|
|
3461
2024
|
}
|
|
3462
2025
|
const data = await parseBody(output.body, context);
|
|
3463
2026
|
let contents = {};
|
|
@@ -3468,57 +2031,22 @@ var de_EnableUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3468
2031
|
};
|
|
3469
2032
|
return response;
|
|
3470
2033
|
}, "de_EnableUserCommand");
|
|
3471
|
-
var de_EnableUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3472
|
-
const parsedOutput = {
|
|
3473
|
-
...output,
|
|
3474
|
-
body: await parseErrorBody(output.body, context)
|
|
3475
|
-
};
|
|
3476
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3477
|
-
switch (errorCode) {
|
|
3478
|
-
case "InvalidAccountStatusException":
|
|
3479
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
3480
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
3481
|
-
case "ResourceNotFoundException":
|
|
3482
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3483
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3484
|
-
default:
|
|
3485
|
-
const parsedBody = parsedOutput.body;
|
|
3486
|
-
return throwDefaultError({
|
|
3487
|
-
output,
|
|
3488
|
-
parsedBody,
|
|
3489
|
-
errorCode
|
|
3490
|
-
});
|
|
3491
|
-
}
|
|
3492
|
-
}, "de_EnableUserCommandError");
|
|
3493
2034
|
var de_ExpireSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3494
2035
|
if (output.statusCode >= 300) {
|
|
3495
|
-
return
|
|
2036
|
+
return de_CommandError(output, context);
|
|
3496
2037
|
}
|
|
3497
2038
|
const data = await parseBody(output.body, context);
|
|
3498
2039
|
let contents = {};
|
|
3499
2040
|
contents = (0, import_smithy_client._json)(data);
|
|
3500
2041
|
const response = {
|
|
3501
2042
|
$metadata: deserializeMetadata(output),
|
|
3502
|
-
...contents
|
|
3503
|
-
};
|
|
3504
|
-
return response;
|
|
3505
|
-
}, "de_ExpireSessionCommand");
|
|
3506
|
-
var de_ExpireSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3507
|
-
const parsedOutput = {
|
|
3508
|
-
...output,
|
|
3509
|
-
body: await parseErrorBody(output.body, context)
|
|
2043
|
+
...contents
|
|
3510
2044
|
};
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
return throwDefaultError({
|
|
3514
|
-
output,
|
|
3515
|
-
parsedBody,
|
|
3516
|
-
errorCode
|
|
3517
|
-
});
|
|
3518
|
-
}, "de_ExpireSessionCommandError");
|
|
2045
|
+
return response;
|
|
2046
|
+
}, "de_ExpireSessionCommand");
|
|
3519
2047
|
var de_ListAssociatedFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3520
2048
|
if (output.statusCode >= 300) {
|
|
3521
|
-
return
|
|
2049
|
+
return de_CommandError(output, context);
|
|
3522
2050
|
}
|
|
3523
2051
|
const data = await parseBody(output.body, context);
|
|
3524
2052
|
let contents = {};
|
|
@@ -3529,22 +2057,9 @@ var de_ListAssociatedFleetsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3529
2057
|
};
|
|
3530
2058
|
return response;
|
|
3531
2059
|
}, "de_ListAssociatedFleetsCommand");
|
|
3532
|
-
var de_ListAssociatedFleetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3533
|
-
const parsedOutput = {
|
|
3534
|
-
...output,
|
|
3535
|
-
body: await parseErrorBody(output.body, context)
|
|
3536
|
-
};
|
|
3537
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3538
|
-
const parsedBody = parsedOutput.body;
|
|
3539
|
-
return throwDefaultError({
|
|
3540
|
-
output,
|
|
3541
|
-
parsedBody,
|
|
3542
|
-
errorCode
|
|
3543
|
-
});
|
|
3544
|
-
}, "de_ListAssociatedFleetsCommandError");
|
|
3545
2060
|
var de_ListAssociatedStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3546
2061
|
if (output.statusCode >= 300) {
|
|
3547
|
-
return
|
|
2062
|
+
return de_CommandError(output, context);
|
|
3548
2063
|
}
|
|
3549
2064
|
const data = await parseBody(output.body, context);
|
|
3550
2065
|
let contents = {};
|
|
@@ -3555,22 +2070,9 @@ var de_ListAssociatedStacksCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3555
2070
|
};
|
|
3556
2071
|
return response;
|
|
3557
2072
|
}, "de_ListAssociatedStacksCommand");
|
|
3558
|
-
var de_ListAssociatedStacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3559
|
-
const parsedOutput = {
|
|
3560
|
-
...output,
|
|
3561
|
-
body: await parseErrorBody(output.body, context)
|
|
3562
|
-
};
|
|
3563
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3564
|
-
const parsedBody = parsedOutput.body;
|
|
3565
|
-
return throwDefaultError({
|
|
3566
|
-
output,
|
|
3567
|
-
parsedBody,
|
|
3568
|
-
errorCode
|
|
3569
|
-
});
|
|
3570
|
-
}, "de_ListAssociatedStacksCommandError");
|
|
3571
2073
|
var de_ListEntitledApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3572
2074
|
if (output.statusCode >= 300) {
|
|
3573
|
-
return
|
|
2075
|
+
return de_CommandError(output, context);
|
|
3574
2076
|
}
|
|
3575
2077
|
const data = await parseBody(output.body, context);
|
|
3576
2078
|
let contents = {};
|
|
@@ -3581,34 +2083,9 @@ var de_ListEntitledApplicationsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3581
2083
|
};
|
|
3582
2084
|
return response;
|
|
3583
2085
|
}, "de_ListEntitledApplicationsCommand");
|
|
3584
|
-
var de_ListEntitledApplicationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3585
|
-
const parsedOutput = {
|
|
3586
|
-
...output,
|
|
3587
|
-
body: await parseErrorBody(output.body, context)
|
|
3588
|
-
};
|
|
3589
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3590
|
-
switch (errorCode) {
|
|
3591
|
-
case "EntitlementNotFoundException":
|
|
3592
|
-
case "com.amazonaws.appstream#EntitlementNotFoundException":
|
|
3593
|
-
throw await de_EntitlementNotFoundExceptionRes(parsedOutput, context);
|
|
3594
|
-
case "OperationNotPermittedException":
|
|
3595
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3596
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3597
|
-
case "ResourceNotFoundException":
|
|
3598
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3599
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3600
|
-
default:
|
|
3601
|
-
const parsedBody = parsedOutput.body;
|
|
3602
|
-
return throwDefaultError({
|
|
3603
|
-
output,
|
|
3604
|
-
parsedBody,
|
|
3605
|
-
errorCode
|
|
3606
|
-
});
|
|
3607
|
-
}
|
|
3608
|
-
}, "de_ListEntitledApplicationsCommandError");
|
|
3609
2086
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3610
2087
|
if (output.statusCode >= 300) {
|
|
3611
|
-
return
|
|
2088
|
+
return de_CommandError(output, context);
|
|
3612
2089
|
}
|
|
3613
2090
|
const data = await parseBody(output.body, context);
|
|
3614
2091
|
let contents = {};
|
|
@@ -3619,28 +2096,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3619
2096
|
};
|
|
3620
2097
|
return response;
|
|
3621
2098
|
}, "de_ListTagsForResourceCommand");
|
|
3622
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3623
|
-
const parsedOutput = {
|
|
3624
|
-
...output,
|
|
3625
|
-
body: await parseErrorBody(output.body, context)
|
|
3626
|
-
};
|
|
3627
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3628
|
-
switch (errorCode) {
|
|
3629
|
-
case "ResourceNotFoundException":
|
|
3630
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3631
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3632
|
-
default:
|
|
3633
|
-
const parsedBody = parsedOutput.body;
|
|
3634
|
-
return throwDefaultError({
|
|
3635
|
-
output,
|
|
3636
|
-
parsedBody,
|
|
3637
|
-
errorCode
|
|
3638
|
-
});
|
|
3639
|
-
}
|
|
3640
|
-
}, "de_ListTagsForResourceCommandError");
|
|
3641
2099
|
var de_StartAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3642
2100
|
if (output.statusCode >= 300) {
|
|
3643
|
-
return
|
|
2101
|
+
return de_CommandError(output, context);
|
|
3644
2102
|
}
|
|
3645
2103
|
const data = await parseBody(output.body, context);
|
|
3646
2104
|
let contents = {};
|
|
@@ -3651,46 +2109,9 @@ var de_StartAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3651
2109
|
};
|
|
3652
2110
|
return response;
|
|
3653
2111
|
}, "de_StartAppBlockBuilderCommand");
|
|
3654
|
-
var de_StartAppBlockBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3655
|
-
const parsedOutput = {
|
|
3656
|
-
...output,
|
|
3657
|
-
body: await parseErrorBody(output.body, context)
|
|
3658
|
-
};
|
|
3659
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3660
|
-
switch (errorCode) {
|
|
3661
|
-
case "ConcurrentModificationException":
|
|
3662
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3663
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3664
|
-
case "InvalidAccountStatusException":
|
|
3665
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
3666
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
3667
|
-
case "LimitExceededException":
|
|
3668
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
3669
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3670
|
-
case "OperationNotPermittedException":
|
|
3671
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3672
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3673
|
-
case "RequestLimitExceededException":
|
|
3674
|
-
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
3675
|
-
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
3676
|
-
case "ResourceNotAvailableException":
|
|
3677
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
3678
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
3679
|
-
case "ResourceNotFoundException":
|
|
3680
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3681
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3682
|
-
default:
|
|
3683
|
-
const parsedBody = parsedOutput.body;
|
|
3684
|
-
return throwDefaultError({
|
|
3685
|
-
output,
|
|
3686
|
-
parsedBody,
|
|
3687
|
-
errorCode
|
|
3688
|
-
});
|
|
3689
|
-
}
|
|
3690
|
-
}, "de_StartAppBlockBuilderCommandError");
|
|
3691
2112
|
var de_StartFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3692
2113
|
if (output.statusCode >= 300) {
|
|
3693
|
-
return
|
|
2114
|
+
return de_CommandError(output, context);
|
|
3694
2115
|
}
|
|
3695
2116
|
const data = await parseBody(output.body, context);
|
|
3696
2117
|
let contents = {};
|
|
@@ -3701,49 +2122,9 @@ var de_StartFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3701
2122
|
};
|
|
3702
2123
|
return response;
|
|
3703
2124
|
}, "de_StartFleetCommand");
|
|
3704
|
-
var de_StartFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3705
|
-
const parsedOutput = {
|
|
3706
|
-
...output,
|
|
3707
|
-
body: await parseErrorBody(output.body, context)
|
|
3708
|
-
};
|
|
3709
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3710
|
-
switch (errorCode) {
|
|
3711
|
-
case "ConcurrentModificationException":
|
|
3712
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3713
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3714
|
-
case "InvalidAccountStatusException":
|
|
3715
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
3716
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
3717
|
-
case "InvalidRoleException":
|
|
3718
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
3719
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
3720
|
-
case "LimitExceededException":
|
|
3721
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
3722
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3723
|
-
case "OperationNotPermittedException":
|
|
3724
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3725
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3726
|
-
case "RequestLimitExceededException":
|
|
3727
|
-
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
3728
|
-
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
3729
|
-
case "ResourceNotAvailableException":
|
|
3730
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
3731
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
3732
|
-
case "ResourceNotFoundException":
|
|
3733
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3734
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3735
|
-
default:
|
|
3736
|
-
const parsedBody = parsedOutput.body;
|
|
3737
|
-
return throwDefaultError({
|
|
3738
|
-
output,
|
|
3739
|
-
parsedBody,
|
|
3740
|
-
errorCode
|
|
3741
|
-
});
|
|
3742
|
-
}
|
|
3743
|
-
}, "de_StartFleetCommandError");
|
|
3744
2125
|
var de_StartImageBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3745
2126
|
if (output.statusCode >= 300) {
|
|
3746
|
-
return
|
|
2127
|
+
return de_CommandError(output, context);
|
|
3747
2128
|
}
|
|
3748
2129
|
const data = await parseBody(output.body, context);
|
|
3749
2130
|
let contents = {};
|
|
@@ -3754,40 +2135,9 @@ var de_StartImageBuilderCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3754
2135
|
};
|
|
3755
2136
|
return response;
|
|
3756
2137
|
}, "de_StartImageBuilderCommand");
|
|
3757
|
-
var de_StartImageBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3758
|
-
const parsedOutput = {
|
|
3759
|
-
...output,
|
|
3760
|
-
body: await parseErrorBody(output.body, context)
|
|
3761
|
-
};
|
|
3762
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3763
|
-
switch (errorCode) {
|
|
3764
|
-
case "ConcurrentModificationException":
|
|
3765
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3766
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3767
|
-
case "IncompatibleImageException":
|
|
3768
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
3769
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
3770
|
-
case "InvalidAccountStatusException":
|
|
3771
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
3772
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
3773
|
-
case "ResourceNotAvailableException":
|
|
3774
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
3775
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
3776
|
-
case "ResourceNotFoundException":
|
|
3777
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3778
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3779
|
-
default:
|
|
3780
|
-
const parsedBody = parsedOutput.body;
|
|
3781
|
-
return throwDefaultError({
|
|
3782
|
-
output,
|
|
3783
|
-
parsedBody,
|
|
3784
|
-
errorCode
|
|
3785
|
-
});
|
|
3786
|
-
}
|
|
3787
|
-
}, "de_StartImageBuilderCommandError");
|
|
3788
2138
|
var de_StopAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3789
2139
|
if (output.statusCode >= 300) {
|
|
3790
|
-
return
|
|
2140
|
+
return de_CommandError(output, context);
|
|
3791
2141
|
}
|
|
3792
2142
|
const data = await parseBody(output.body, context);
|
|
3793
2143
|
let contents = {};
|
|
@@ -3798,34 +2148,9 @@ var de_StopAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3798
2148
|
};
|
|
3799
2149
|
return response;
|
|
3800
2150
|
}, "de_StopAppBlockBuilderCommand");
|
|
3801
|
-
var de_StopAppBlockBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3802
|
-
const parsedOutput = {
|
|
3803
|
-
...output,
|
|
3804
|
-
body: await parseErrorBody(output.body, context)
|
|
3805
|
-
};
|
|
3806
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3807
|
-
switch (errorCode) {
|
|
3808
|
-
case "ConcurrentModificationException":
|
|
3809
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3810
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3811
|
-
case "OperationNotPermittedException":
|
|
3812
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3813
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3814
|
-
case "ResourceNotFoundException":
|
|
3815
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3816
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3817
|
-
default:
|
|
3818
|
-
const parsedBody = parsedOutput.body;
|
|
3819
|
-
return throwDefaultError({
|
|
3820
|
-
output,
|
|
3821
|
-
parsedBody,
|
|
3822
|
-
errorCode
|
|
3823
|
-
});
|
|
3824
|
-
}
|
|
3825
|
-
}, "de_StopAppBlockBuilderCommandError");
|
|
3826
2151
|
var de_StopFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3827
2152
|
if (output.statusCode >= 300) {
|
|
3828
|
-
return
|
|
2153
|
+
return de_CommandError(output, context);
|
|
3829
2154
|
}
|
|
3830
2155
|
const data = await parseBody(output.body, context);
|
|
3831
2156
|
let contents = {};
|
|
@@ -3836,31 +2161,9 @@ var de_StopFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3836
2161
|
};
|
|
3837
2162
|
return response;
|
|
3838
2163
|
}, "de_StopFleetCommand");
|
|
3839
|
-
var de_StopFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3840
|
-
const parsedOutput = {
|
|
3841
|
-
...output,
|
|
3842
|
-
body: await parseErrorBody(output.body, context)
|
|
3843
|
-
};
|
|
3844
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3845
|
-
switch (errorCode) {
|
|
3846
|
-
case "ConcurrentModificationException":
|
|
3847
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3848
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3849
|
-
case "ResourceNotFoundException":
|
|
3850
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3851
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3852
|
-
default:
|
|
3853
|
-
const parsedBody = parsedOutput.body;
|
|
3854
|
-
return throwDefaultError({
|
|
3855
|
-
output,
|
|
3856
|
-
parsedBody,
|
|
3857
|
-
errorCode
|
|
3858
|
-
});
|
|
3859
|
-
}
|
|
3860
|
-
}, "de_StopFleetCommandError");
|
|
3861
2164
|
var de_StopImageBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3862
2165
|
if (output.statusCode >= 300) {
|
|
3863
|
-
return
|
|
2166
|
+
return de_CommandError(output, context);
|
|
3864
2167
|
}
|
|
3865
2168
|
const data = await parseBody(output.body, context);
|
|
3866
2169
|
let contents = {};
|
|
@@ -3871,72 +2174,22 @@ var de_StopImageBuilderCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3871
2174
|
};
|
|
3872
2175
|
return response;
|
|
3873
2176
|
}, "de_StopImageBuilderCommand");
|
|
3874
|
-
var de_StopImageBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3875
|
-
const parsedOutput = {
|
|
3876
|
-
...output,
|
|
3877
|
-
body: await parseErrorBody(output.body, context)
|
|
3878
|
-
};
|
|
3879
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3880
|
-
switch (errorCode) {
|
|
3881
|
-
case "ConcurrentModificationException":
|
|
3882
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3883
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3884
|
-
case "OperationNotPermittedException":
|
|
3885
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
3886
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
3887
|
-
case "ResourceNotFoundException":
|
|
3888
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3889
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3890
|
-
default:
|
|
3891
|
-
const parsedBody = parsedOutput.body;
|
|
3892
|
-
return throwDefaultError({
|
|
3893
|
-
output,
|
|
3894
|
-
parsedBody,
|
|
3895
|
-
errorCode
|
|
3896
|
-
});
|
|
3897
|
-
}
|
|
3898
|
-
}, "de_StopImageBuilderCommandError");
|
|
3899
2177
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3900
2178
|
if (output.statusCode >= 300) {
|
|
3901
|
-
return
|
|
2179
|
+
return de_CommandError(output, context);
|
|
3902
2180
|
}
|
|
3903
2181
|
const data = await parseBody(output.body, context);
|
|
3904
|
-
let contents = {};
|
|
3905
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3906
|
-
const response = {
|
|
3907
|
-
$metadata: deserializeMetadata(output),
|
|
3908
|
-
...contents
|
|
3909
|
-
};
|
|
3910
|
-
return response;
|
|
3911
|
-
}, "de_TagResourceCommand");
|
|
3912
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3913
|
-
const parsedOutput = {
|
|
3914
|
-
...output,
|
|
3915
|
-
body: await parseErrorBody(output.body, context)
|
|
3916
|
-
};
|
|
3917
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3918
|
-
switch (errorCode) {
|
|
3919
|
-
case "InvalidAccountStatusException":
|
|
3920
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
3921
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
3922
|
-
case "LimitExceededException":
|
|
3923
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
3924
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3925
|
-
case "ResourceNotFoundException":
|
|
3926
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3927
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3928
|
-
default:
|
|
3929
|
-
const parsedBody = parsedOutput.body;
|
|
3930
|
-
return throwDefaultError({
|
|
3931
|
-
output,
|
|
3932
|
-
parsedBody,
|
|
3933
|
-
errorCode
|
|
3934
|
-
});
|
|
3935
|
-
}
|
|
3936
|
-
}, "de_TagResourceCommandError");
|
|
2182
|
+
let contents = {};
|
|
2183
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2184
|
+
const response = {
|
|
2185
|
+
$metadata: deserializeMetadata(output),
|
|
2186
|
+
...contents
|
|
2187
|
+
};
|
|
2188
|
+
return response;
|
|
2189
|
+
}, "de_TagResourceCommand");
|
|
3937
2190
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3938
2191
|
if (output.statusCode >= 300) {
|
|
3939
|
-
return
|
|
2192
|
+
return de_CommandError(output, context);
|
|
3940
2193
|
}
|
|
3941
2194
|
const data = await parseBody(output.body, context);
|
|
3942
2195
|
let contents = {};
|
|
@@ -3947,28 +2200,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3947
2200
|
};
|
|
3948
2201
|
return response;
|
|
3949
2202
|
}, "de_UntagResourceCommand");
|
|
3950
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3951
|
-
const parsedOutput = {
|
|
3952
|
-
...output,
|
|
3953
|
-
body: await parseErrorBody(output.body, context)
|
|
3954
|
-
};
|
|
3955
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3956
|
-
switch (errorCode) {
|
|
3957
|
-
case "ResourceNotFoundException":
|
|
3958
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
3959
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3960
|
-
default:
|
|
3961
|
-
const parsedBody = parsedOutput.body;
|
|
3962
|
-
return throwDefaultError({
|
|
3963
|
-
output,
|
|
3964
|
-
parsedBody,
|
|
3965
|
-
errorCode
|
|
3966
|
-
});
|
|
3967
|
-
}
|
|
3968
|
-
}, "de_UntagResourceCommandError");
|
|
3969
2203
|
var de_UpdateAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3970
2204
|
if (output.statusCode >= 300) {
|
|
3971
|
-
return
|
|
2205
|
+
return de_CommandError(output, context);
|
|
3972
2206
|
}
|
|
3973
2207
|
const data = await parseBody(output.body, context);
|
|
3974
2208
|
let contents = {};
|
|
@@ -3979,55 +2213,9 @@ var de_UpdateAppBlockBuilderCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3979
2213
|
};
|
|
3980
2214
|
return response;
|
|
3981
2215
|
}, "de_UpdateAppBlockBuilderCommand");
|
|
3982
|
-
var de_UpdateAppBlockBuilderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3983
|
-
const parsedOutput = {
|
|
3984
|
-
...output,
|
|
3985
|
-
body: await parseErrorBody(output.body, context)
|
|
3986
|
-
};
|
|
3987
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3988
|
-
switch (errorCode) {
|
|
3989
|
-
case "ConcurrentModificationException":
|
|
3990
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
3991
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3992
|
-
case "InvalidAccountStatusException":
|
|
3993
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
3994
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
3995
|
-
case "InvalidParameterCombinationException":
|
|
3996
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
3997
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
3998
|
-
case "InvalidRoleException":
|
|
3999
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
4000
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
4001
|
-
case "LimitExceededException":
|
|
4002
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
4003
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4004
|
-
case "OperationNotPermittedException":
|
|
4005
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
4006
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
4007
|
-
case "RequestLimitExceededException":
|
|
4008
|
-
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
4009
|
-
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
4010
|
-
case "ResourceInUseException":
|
|
4011
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
4012
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
4013
|
-
case "ResourceNotAvailableException":
|
|
4014
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
4015
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
4016
|
-
case "ResourceNotFoundException":
|
|
4017
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
4018
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4019
|
-
default:
|
|
4020
|
-
const parsedBody = parsedOutput.body;
|
|
4021
|
-
return throwDefaultError({
|
|
4022
|
-
output,
|
|
4023
|
-
parsedBody,
|
|
4024
|
-
errorCode
|
|
4025
|
-
});
|
|
4026
|
-
}
|
|
4027
|
-
}, "de_UpdateAppBlockBuilderCommandError");
|
|
4028
2216
|
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4029
2217
|
if (output.statusCode >= 300) {
|
|
4030
|
-
return
|
|
2218
|
+
return de_CommandError(output, context);
|
|
4031
2219
|
}
|
|
4032
2220
|
const data = await parseBody(output.body, context);
|
|
4033
2221
|
let contents = {};
|
|
@@ -4038,34 +2226,9 @@ var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4038
2226
|
};
|
|
4039
2227
|
return response;
|
|
4040
2228
|
}, "de_UpdateApplicationCommand");
|
|
4041
|
-
var de_UpdateApplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4042
|
-
const parsedOutput = {
|
|
4043
|
-
...output,
|
|
4044
|
-
body: await parseErrorBody(output.body, context)
|
|
4045
|
-
};
|
|
4046
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4047
|
-
switch (errorCode) {
|
|
4048
|
-
case "ConcurrentModificationException":
|
|
4049
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
4050
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4051
|
-
case "OperationNotPermittedException":
|
|
4052
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
4053
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
4054
|
-
case "ResourceNotFoundException":
|
|
4055
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
4056
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4057
|
-
default:
|
|
4058
|
-
const parsedBody = parsedOutput.body;
|
|
4059
|
-
return throwDefaultError({
|
|
4060
|
-
output,
|
|
4061
|
-
parsedBody,
|
|
4062
|
-
errorCode
|
|
4063
|
-
});
|
|
4064
|
-
}
|
|
4065
|
-
}, "de_UpdateApplicationCommandError");
|
|
4066
2229
|
var de_UpdateDirectoryConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4067
2230
|
if (output.statusCode >= 300) {
|
|
4068
|
-
return
|
|
2231
|
+
return de_CommandError(output, context);
|
|
4069
2232
|
}
|
|
4070
2233
|
const data = await parseBody(output.body, context);
|
|
4071
2234
|
let contents = {};
|
|
@@ -4076,40 +2239,9 @@ var de_UpdateDirectoryConfigCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4076
2239
|
};
|
|
4077
2240
|
return response;
|
|
4078
2241
|
}, "de_UpdateDirectoryConfigCommand");
|
|
4079
|
-
var de_UpdateDirectoryConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4080
|
-
const parsedOutput = {
|
|
4081
|
-
...output,
|
|
4082
|
-
body: await parseErrorBody(output.body, context)
|
|
4083
|
-
};
|
|
4084
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4085
|
-
switch (errorCode) {
|
|
4086
|
-
case "ConcurrentModificationException":
|
|
4087
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
4088
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4089
|
-
case "InvalidRoleException":
|
|
4090
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
4091
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
4092
|
-
case "OperationNotPermittedException":
|
|
4093
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
4094
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
4095
|
-
case "ResourceInUseException":
|
|
4096
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
4097
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
4098
|
-
case "ResourceNotFoundException":
|
|
4099
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
4100
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4101
|
-
default:
|
|
4102
|
-
const parsedBody = parsedOutput.body;
|
|
4103
|
-
return throwDefaultError({
|
|
4104
|
-
output,
|
|
4105
|
-
parsedBody,
|
|
4106
|
-
errorCode
|
|
4107
|
-
});
|
|
4108
|
-
}
|
|
4109
|
-
}, "de_UpdateDirectoryConfigCommandError");
|
|
4110
2242
|
var de_UpdateEntitlementCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4111
2243
|
if (output.statusCode >= 300) {
|
|
4112
|
-
return
|
|
2244
|
+
return de_CommandError(output, context);
|
|
4113
2245
|
}
|
|
4114
2246
|
const data = await parseBody(output.body, context);
|
|
4115
2247
|
let contents = {};
|
|
@@ -4120,37 +2252,9 @@ var de_UpdateEntitlementCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4120
2252
|
};
|
|
4121
2253
|
return response;
|
|
4122
2254
|
}, "de_UpdateEntitlementCommand");
|
|
4123
|
-
var de_UpdateEntitlementCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4124
|
-
const parsedOutput = {
|
|
4125
|
-
...output,
|
|
4126
|
-
body: await parseErrorBody(output.body, context)
|
|
4127
|
-
};
|
|
4128
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4129
|
-
switch (errorCode) {
|
|
4130
|
-
case "ConcurrentModificationException":
|
|
4131
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
4132
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4133
|
-
case "EntitlementNotFoundException":
|
|
4134
|
-
case "com.amazonaws.appstream#EntitlementNotFoundException":
|
|
4135
|
-
throw await de_EntitlementNotFoundExceptionRes(parsedOutput, context);
|
|
4136
|
-
case "OperationNotPermittedException":
|
|
4137
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
4138
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
4139
|
-
case "ResourceNotFoundException":
|
|
4140
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
4141
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4142
|
-
default:
|
|
4143
|
-
const parsedBody = parsedOutput.body;
|
|
4144
|
-
return throwDefaultError({
|
|
4145
|
-
output,
|
|
4146
|
-
parsedBody,
|
|
4147
|
-
errorCode
|
|
4148
|
-
});
|
|
4149
|
-
}
|
|
4150
|
-
}, "de_UpdateEntitlementCommandError");
|
|
4151
2255
|
var de_UpdateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4152
2256
|
if (output.statusCode >= 300) {
|
|
4153
|
-
return
|
|
2257
|
+
return de_CommandError(output, context);
|
|
4154
2258
|
}
|
|
4155
2259
|
const data = await parseBody(output.body, context);
|
|
4156
2260
|
let contents = {};
|
|
@@ -4161,58 +2265,9 @@ var de_UpdateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4161
2265
|
};
|
|
4162
2266
|
return response;
|
|
4163
2267
|
}, "de_UpdateFleetCommand");
|
|
4164
|
-
var de_UpdateFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4165
|
-
const parsedOutput = {
|
|
4166
|
-
...output,
|
|
4167
|
-
body: await parseErrorBody(output.body, context)
|
|
4168
|
-
};
|
|
4169
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4170
|
-
switch (errorCode) {
|
|
4171
|
-
case "ConcurrentModificationException":
|
|
4172
|
-
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
4173
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4174
|
-
case "IncompatibleImageException":
|
|
4175
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
4176
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
4177
|
-
case "InvalidAccountStatusException":
|
|
4178
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
4179
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
4180
|
-
case "InvalidParameterCombinationException":
|
|
4181
|
-
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
4182
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
4183
|
-
case "InvalidRoleException":
|
|
4184
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
4185
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
4186
|
-
case "LimitExceededException":
|
|
4187
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
4188
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4189
|
-
case "OperationNotPermittedException":
|
|
4190
|
-
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
4191
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
4192
|
-
case "RequestLimitExceededException":
|
|
4193
|
-
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
4194
|
-
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
4195
|
-
case "ResourceInUseException":
|
|
4196
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
4197
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
4198
|
-
case "ResourceNotAvailableException":
|
|
4199
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
4200
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
4201
|
-
case "ResourceNotFoundException":
|
|
4202
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
4203
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4204
|
-
default:
|
|
4205
|
-
const parsedBody = parsedOutput.body;
|
|
4206
|
-
return throwDefaultError({
|
|
4207
|
-
output,
|
|
4208
|
-
parsedBody,
|
|
4209
|
-
errorCode
|
|
4210
|
-
});
|
|
4211
|
-
}
|
|
4212
|
-
}, "de_UpdateFleetCommandError");
|
|
4213
2268
|
var de_UpdateImagePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4214
2269
|
if (output.statusCode >= 300) {
|
|
4215
|
-
return
|
|
2270
|
+
return de_CommandError(output, context);
|
|
4216
2271
|
}
|
|
4217
2272
|
const data = await parseBody(output.body, context);
|
|
4218
2273
|
let contents = {};
|
|
@@ -4223,34 +2278,9 @@ var de_UpdateImagePermissionsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
4223
2278
|
};
|
|
4224
2279
|
return response;
|
|
4225
2280
|
}, "de_UpdateImagePermissionsCommand");
|
|
4226
|
-
var de_UpdateImagePermissionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4227
|
-
const parsedOutput = {
|
|
4228
|
-
...output,
|
|
4229
|
-
body: await parseErrorBody(output.body, context)
|
|
4230
|
-
};
|
|
4231
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4232
|
-
switch (errorCode) {
|
|
4233
|
-
case "LimitExceededException":
|
|
4234
|
-
case "com.amazonaws.appstream#LimitExceededException":
|
|
4235
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4236
|
-
case "ResourceNotAvailableException":
|
|
4237
|
-
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
4238
|
-
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
4239
|
-
case "ResourceNotFoundException":
|
|
4240
|
-
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
4241
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4242
|
-
default:
|
|
4243
|
-
const parsedBody = parsedOutput.body;
|
|
4244
|
-
return throwDefaultError({
|
|
4245
|
-
output,
|
|
4246
|
-
parsedBody,
|
|
4247
|
-
errorCode
|
|
4248
|
-
});
|
|
4249
|
-
}
|
|
4250
|
-
}, "de_UpdateImagePermissionsCommandError");
|
|
4251
2281
|
var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4252
2282
|
if (output.statusCode >= 300) {
|
|
4253
|
-
return
|
|
2283
|
+
return de_CommandError(output, context);
|
|
4254
2284
|
}
|
|
4255
2285
|
const data = await parseBody(output.body, context);
|
|
4256
2286
|
let contents = {};
|
|
@@ -4261,7 +2291,7 @@ var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4261
2291
|
};
|
|
4262
2292
|
return response;
|
|
4263
2293
|
}, "de_UpdateStackCommand");
|
|
4264
|
-
var
|
|
2294
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4265
2295
|
const parsedOutput = {
|
|
4266
2296
|
...output,
|
|
4267
2297
|
body: await parseErrorBody(output.body, context)
|
|
@@ -4271,30 +2301,45 @@ var de_UpdateStackCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
4271
2301
|
case "ConcurrentModificationException":
|
|
4272
2302
|
case "com.amazonaws.appstream#ConcurrentModificationException":
|
|
4273
2303
|
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
4274
|
-
case "IncompatibleImageException":
|
|
4275
|
-
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
4276
|
-
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
4277
|
-
case "InvalidAccountStatusException":
|
|
4278
|
-
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
4279
|
-
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
4280
2304
|
case "InvalidParameterCombinationException":
|
|
4281
2305
|
case "com.amazonaws.appstream#InvalidParameterCombinationException":
|
|
4282
2306
|
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
4283
|
-
case "InvalidRoleException":
|
|
4284
|
-
case "com.amazonaws.appstream#InvalidRoleException":
|
|
4285
|
-
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
4286
2307
|
case "LimitExceededException":
|
|
4287
2308
|
case "com.amazonaws.appstream#LimitExceededException":
|
|
4288
2309
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4289
2310
|
case "OperationNotPermittedException":
|
|
4290
2311
|
case "com.amazonaws.appstream#OperationNotPermittedException":
|
|
4291
2312
|
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
4292
|
-
case "ResourceInUseException":
|
|
4293
|
-
case "com.amazonaws.appstream#ResourceInUseException":
|
|
4294
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
4295
2313
|
case "ResourceNotFoundException":
|
|
4296
2314
|
case "com.amazonaws.appstream#ResourceNotFoundException":
|
|
4297
2315
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2316
|
+
case "EntitlementNotFoundException":
|
|
2317
|
+
case "com.amazonaws.appstream#EntitlementNotFoundException":
|
|
2318
|
+
throw await de_EntitlementNotFoundExceptionRes(parsedOutput, context);
|
|
2319
|
+
case "IncompatibleImageException":
|
|
2320
|
+
case "com.amazonaws.appstream#IncompatibleImageException":
|
|
2321
|
+
throw await de_IncompatibleImageExceptionRes(parsedOutput, context);
|
|
2322
|
+
case "InvalidAccountStatusException":
|
|
2323
|
+
case "com.amazonaws.appstream#InvalidAccountStatusException":
|
|
2324
|
+
throw await de_InvalidAccountStatusExceptionRes(parsedOutput, context);
|
|
2325
|
+
case "ResourceAlreadyExistsException":
|
|
2326
|
+
case "com.amazonaws.appstream#ResourceAlreadyExistsException":
|
|
2327
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2328
|
+
case "ResourceNotAvailableException":
|
|
2329
|
+
case "com.amazonaws.appstream#ResourceNotAvailableException":
|
|
2330
|
+
throw await de_ResourceNotAvailableExceptionRes(parsedOutput, context);
|
|
2331
|
+
case "InvalidRoleException":
|
|
2332
|
+
case "com.amazonaws.appstream#InvalidRoleException":
|
|
2333
|
+
throw await de_InvalidRoleExceptionRes(parsedOutput, context);
|
|
2334
|
+
case "RequestLimitExceededException":
|
|
2335
|
+
case "com.amazonaws.appstream#RequestLimitExceededException":
|
|
2336
|
+
throw await de_RequestLimitExceededExceptionRes(parsedOutput, context);
|
|
2337
|
+
case "EntitlementAlreadyExistsException":
|
|
2338
|
+
case "com.amazonaws.appstream#EntitlementAlreadyExistsException":
|
|
2339
|
+
throw await de_EntitlementAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2340
|
+
case "ResourceInUseException":
|
|
2341
|
+
case "com.amazonaws.appstream#ResourceInUseException":
|
|
2342
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
4298
2343
|
default:
|
|
4299
2344
|
const parsedBody = parsedOutput.body;
|
|
4300
2345
|
return throwDefaultError({
|
|
@@ -4303,7 +2348,7 @@ var de_UpdateStackCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
4303
2348
|
errorCode
|
|
4304
2349
|
});
|
|
4305
2350
|
}
|
|
4306
|
-
}, "
|
|
2351
|
+
}, "de_CommandError");
|
|
4307
2352
|
var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4308
2353
|
const body = parsedOutput.body;
|
|
4309
2354
|
const deserialized = (0, import_smithy_client._json)(body);
|