@aws-sdk/client-ssm 3.137.0 → 3.142.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/CHANGELOG.md +30 -0
- package/README.md +7 -16
- package/dist-cjs/protocols/Aws_json1_1.js +675 -1350
- package/dist-es/protocols/Aws_json1_1.js +1081 -1351
- package/dist-types/SSM.d.ts +14 -22
- package/dist-types/SSMClient.d.ts +6 -15
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +7 -6
- package/dist-types/commands/PutComplianceItemsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +38 -14
- package/dist-types/models/models_2.d.ts +20 -16
- package/package.json +6 -6
|
@@ -1382,7 +1382,6 @@ const deserializeAws_json1_1AddTagsToResourceCommandError = async (output, conte
|
|
|
1382
1382
|
...output,
|
|
1383
1383
|
body: await parseBody(output.body, context),
|
|
1384
1384
|
};
|
|
1385
|
-
let response;
|
|
1386
1385
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1387
1386
|
switch (errorCode) {
|
|
1388
1387
|
case "InternalServerError":
|
|
@@ -1402,14 +1401,12 @@ const deserializeAws_json1_1AddTagsToResourceCommandError = async (output, conte
|
|
|
1402
1401
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
1403
1402
|
default:
|
|
1404
1403
|
const parsedBody = parsedOutput.body;
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
$metadata,
|
|
1404
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1405
|
+
output,
|
|
1406
|
+
parsedBody,
|
|
1407
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1408
|
+
errorCode,
|
|
1411
1409
|
});
|
|
1412
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1413
1410
|
}
|
|
1414
1411
|
};
|
|
1415
1412
|
const deserializeAws_json1_1AssociateOpsItemRelatedItemCommand = async (output, context) => {
|
|
@@ -1431,7 +1428,6 @@ const deserializeAws_json1_1AssociateOpsItemRelatedItemCommandError = async (out
|
|
|
1431
1428
|
...output,
|
|
1432
1429
|
body: await parseBody(output.body, context),
|
|
1433
1430
|
};
|
|
1434
|
-
let response;
|
|
1435
1431
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1436
1432
|
switch (errorCode) {
|
|
1437
1433
|
case "InternalServerError":
|
|
@@ -1451,14 +1447,12 @@ const deserializeAws_json1_1AssociateOpsItemRelatedItemCommandError = async (out
|
|
|
1451
1447
|
throw await deserializeAws_json1_1OpsItemRelatedItemAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1452
1448
|
default:
|
|
1453
1449
|
const parsedBody = parsedOutput.body;
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
$metadata,
|
|
1450
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1451
|
+
output,
|
|
1452
|
+
parsedBody,
|
|
1453
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1454
|
+
errorCode,
|
|
1460
1455
|
});
|
|
1461
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1462
1456
|
}
|
|
1463
1457
|
};
|
|
1464
1458
|
const deserializeAws_json1_1CancelCommandCommand = async (output, context) => {
|
|
@@ -1480,7 +1474,6 @@ const deserializeAws_json1_1CancelCommandCommandError = async (output, context)
|
|
|
1480
1474
|
...output,
|
|
1481
1475
|
body: await parseBody(output.body, context),
|
|
1482
1476
|
};
|
|
1483
|
-
let response;
|
|
1484
1477
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1485
1478
|
switch (errorCode) {
|
|
1486
1479
|
case "DuplicateInstanceId":
|
|
@@ -1497,14 +1490,12 @@ const deserializeAws_json1_1CancelCommandCommandError = async (output, context)
|
|
|
1497
1490
|
throw await deserializeAws_json1_1InvalidInstanceIdResponse(parsedOutput, context);
|
|
1498
1491
|
default:
|
|
1499
1492
|
const parsedBody = parsedOutput.body;
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
$metadata,
|
|
1493
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1494
|
+
output,
|
|
1495
|
+
parsedBody,
|
|
1496
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1497
|
+
errorCode,
|
|
1506
1498
|
});
|
|
1507
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1508
1499
|
}
|
|
1509
1500
|
};
|
|
1510
1501
|
const deserializeAws_json1_1CancelMaintenanceWindowExecutionCommand = async (output, context) => {
|
|
@@ -1526,7 +1517,6 @@ const deserializeAws_json1_1CancelMaintenanceWindowExecutionCommandError = async
|
|
|
1526
1517
|
...output,
|
|
1527
1518
|
body: await parseBody(output.body, context),
|
|
1528
1519
|
};
|
|
1529
|
-
let response;
|
|
1530
1520
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1531
1521
|
switch (errorCode) {
|
|
1532
1522
|
case "DoesNotExistException":
|
|
@@ -1537,14 +1527,12 @@ const deserializeAws_json1_1CancelMaintenanceWindowExecutionCommandError = async
|
|
|
1537
1527
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
1538
1528
|
default:
|
|
1539
1529
|
const parsedBody = parsedOutput.body;
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
$metadata,
|
|
1530
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1531
|
+
output,
|
|
1532
|
+
parsedBody,
|
|
1533
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1534
|
+
errorCode,
|
|
1546
1535
|
});
|
|
1547
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1548
1536
|
}
|
|
1549
1537
|
};
|
|
1550
1538
|
const deserializeAws_json1_1CreateActivationCommand = async (output, context) => {
|
|
@@ -1566,7 +1554,6 @@ const deserializeAws_json1_1CreateActivationCommandError = async (output, contex
|
|
|
1566
1554
|
...output,
|
|
1567
1555
|
body: await parseBody(output.body, context),
|
|
1568
1556
|
};
|
|
1569
|
-
let response;
|
|
1570
1557
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1571
1558
|
switch (errorCode) {
|
|
1572
1559
|
case "InternalServerError":
|
|
@@ -1577,14 +1564,12 @@ const deserializeAws_json1_1CreateActivationCommandError = async (output, contex
|
|
|
1577
1564
|
throw await deserializeAws_json1_1InvalidParametersResponse(parsedOutput, context);
|
|
1578
1565
|
default:
|
|
1579
1566
|
const parsedBody = parsedOutput.body;
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
$metadata,
|
|
1567
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1568
|
+
output,
|
|
1569
|
+
parsedBody,
|
|
1570
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1571
|
+
errorCode,
|
|
1586
1572
|
});
|
|
1587
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1588
1573
|
}
|
|
1589
1574
|
};
|
|
1590
1575
|
const deserializeAws_json1_1CreateAssociationCommand = async (output, context) => {
|
|
@@ -1606,7 +1591,6 @@ const deserializeAws_json1_1CreateAssociationCommandError = async (output, conte
|
|
|
1606
1591
|
...output,
|
|
1607
1592
|
body: await parseBody(output.body, context),
|
|
1608
1593
|
};
|
|
1609
|
-
let response;
|
|
1610
1594
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1611
1595
|
switch (errorCode) {
|
|
1612
1596
|
case "AssociationAlreadyExists":
|
|
@@ -1647,14 +1631,12 @@ const deserializeAws_json1_1CreateAssociationCommandError = async (output, conte
|
|
|
1647
1631
|
throw await deserializeAws_json1_1UnsupportedPlatformTypeResponse(parsedOutput, context);
|
|
1648
1632
|
default:
|
|
1649
1633
|
const parsedBody = parsedOutput.body;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
$metadata,
|
|
1634
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1635
|
+
output,
|
|
1636
|
+
parsedBody,
|
|
1637
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1638
|
+
errorCode,
|
|
1656
1639
|
});
|
|
1657
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1658
1640
|
}
|
|
1659
1641
|
};
|
|
1660
1642
|
const deserializeAws_json1_1CreateAssociationBatchCommand = async (output, context) => {
|
|
@@ -1676,7 +1658,6 @@ const deserializeAws_json1_1CreateAssociationBatchCommandError = async (output,
|
|
|
1676
1658
|
...output,
|
|
1677
1659
|
body: await parseBody(output.body, context),
|
|
1678
1660
|
};
|
|
1679
|
-
let response;
|
|
1680
1661
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1681
1662
|
switch (errorCode) {
|
|
1682
1663
|
case "AssociationLimitExceeded":
|
|
@@ -1717,14 +1698,12 @@ const deserializeAws_json1_1CreateAssociationBatchCommandError = async (output,
|
|
|
1717
1698
|
throw await deserializeAws_json1_1UnsupportedPlatformTypeResponse(parsedOutput, context);
|
|
1718
1699
|
default:
|
|
1719
1700
|
const parsedBody = parsedOutput.body;
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
$metadata,
|
|
1701
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1702
|
+
output,
|
|
1703
|
+
parsedBody,
|
|
1704
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1705
|
+
errorCode,
|
|
1726
1706
|
});
|
|
1727
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1728
1707
|
}
|
|
1729
1708
|
};
|
|
1730
1709
|
const deserializeAws_json1_1CreateDocumentCommand = async (output, context) => {
|
|
@@ -1746,7 +1725,6 @@ const deserializeAws_json1_1CreateDocumentCommandError = async (output, context)
|
|
|
1746
1725
|
...output,
|
|
1747
1726
|
body: await parseBody(output.body, context),
|
|
1748
1727
|
};
|
|
1749
|
-
let response;
|
|
1750
1728
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1751
1729
|
switch (errorCode) {
|
|
1752
1730
|
case "DocumentAlreadyExists":
|
|
@@ -1769,14 +1747,12 @@ const deserializeAws_json1_1CreateDocumentCommandError = async (output, context)
|
|
|
1769
1747
|
throw await deserializeAws_json1_1MaxDocumentSizeExceededResponse(parsedOutput, context);
|
|
1770
1748
|
default:
|
|
1771
1749
|
const parsedBody = parsedOutput.body;
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
$metadata,
|
|
1750
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1751
|
+
output,
|
|
1752
|
+
parsedBody,
|
|
1753
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1754
|
+
errorCode,
|
|
1778
1755
|
});
|
|
1779
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1780
1756
|
}
|
|
1781
1757
|
};
|
|
1782
1758
|
const deserializeAws_json1_1CreateMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -1798,7 +1774,6 @@ const deserializeAws_json1_1CreateMaintenanceWindowCommandError = async (output,
|
|
|
1798
1774
|
...output,
|
|
1799
1775
|
body: await parseBody(output.body, context),
|
|
1800
1776
|
};
|
|
1801
|
-
let response;
|
|
1802
1777
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1803
1778
|
switch (errorCode) {
|
|
1804
1779
|
case "IdempotentParameterMismatch":
|
|
@@ -1812,14 +1787,12 @@ const deserializeAws_json1_1CreateMaintenanceWindowCommandError = async (output,
|
|
|
1812
1787
|
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
1813
1788
|
default:
|
|
1814
1789
|
const parsedBody = parsedOutput.body;
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
$metadata,
|
|
1790
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1791
|
+
output,
|
|
1792
|
+
parsedBody,
|
|
1793
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1794
|
+
errorCode,
|
|
1821
1795
|
});
|
|
1822
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1823
1796
|
}
|
|
1824
1797
|
};
|
|
1825
1798
|
const deserializeAws_json1_1CreateOpsItemCommand = async (output, context) => {
|
|
@@ -1841,7 +1814,6 @@ const deserializeAws_json1_1CreateOpsItemCommandError = async (output, context)
|
|
|
1841
1814
|
...output,
|
|
1842
1815
|
body: await parseBody(output.body, context),
|
|
1843
1816
|
};
|
|
1844
|
-
let response;
|
|
1845
1817
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1846
1818
|
switch (errorCode) {
|
|
1847
1819
|
case "InternalServerError":
|
|
@@ -1858,14 +1830,12 @@ const deserializeAws_json1_1CreateOpsItemCommandError = async (output, context)
|
|
|
1858
1830
|
throw await deserializeAws_json1_1OpsItemLimitExceededExceptionResponse(parsedOutput, context);
|
|
1859
1831
|
default:
|
|
1860
1832
|
const parsedBody = parsedOutput.body;
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
$metadata,
|
|
1833
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1834
|
+
output,
|
|
1835
|
+
parsedBody,
|
|
1836
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1837
|
+
errorCode,
|
|
1867
1838
|
});
|
|
1868
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1869
1839
|
}
|
|
1870
1840
|
};
|
|
1871
1841
|
const deserializeAws_json1_1CreateOpsMetadataCommand = async (output, context) => {
|
|
@@ -1887,7 +1857,6 @@ const deserializeAws_json1_1CreateOpsMetadataCommandError = async (output, conte
|
|
|
1887
1857
|
...output,
|
|
1888
1858
|
body: await parseBody(output.body, context),
|
|
1889
1859
|
};
|
|
1890
|
-
let response;
|
|
1891
1860
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1892
1861
|
switch (errorCode) {
|
|
1893
1862
|
case "InternalServerError":
|
|
@@ -1907,14 +1876,12 @@ const deserializeAws_json1_1CreateOpsMetadataCommandError = async (output, conte
|
|
|
1907
1876
|
throw await deserializeAws_json1_1OpsMetadataTooManyUpdatesExceptionResponse(parsedOutput, context);
|
|
1908
1877
|
default:
|
|
1909
1878
|
const parsedBody = parsedOutput.body;
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
$metadata,
|
|
1879
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1880
|
+
output,
|
|
1881
|
+
parsedBody,
|
|
1882
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1883
|
+
errorCode,
|
|
1916
1884
|
});
|
|
1917
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1918
1885
|
}
|
|
1919
1886
|
};
|
|
1920
1887
|
const deserializeAws_json1_1CreatePatchBaselineCommand = async (output, context) => {
|
|
@@ -1936,7 +1903,6 @@ const deserializeAws_json1_1CreatePatchBaselineCommandError = async (output, con
|
|
|
1936
1903
|
...output,
|
|
1937
1904
|
body: await parseBody(output.body, context),
|
|
1938
1905
|
};
|
|
1939
|
-
let response;
|
|
1940
1906
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1941
1907
|
switch (errorCode) {
|
|
1942
1908
|
case "IdempotentParameterMismatch":
|
|
@@ -1950,14 +1916,12 @@ const deserializeAws_json1_1CreatePatchBaselineCommandError = async (output, con
|
|
|
1950
1916
|
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
1951
1917
|
default:
|
|
1952
1918
|
const parsedBody = parsedOutput.body;
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
$metadata,
|
|
1919
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1920
|
+
output,
|
|
1921
|
+
parsedBody,
|
|
1922
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1923
|
+
errorCode,
|
|
1959
1924
|
});
|
|
1960
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1961
1925
|
}
|
|
1962
1926
|
};
|
|
1963
1927
|
const deserializeAws_json1_1CreateResourceDataSyncCommand = async (output, context) => {
|
|
@@ -1979,7 +1943,6 @@ const deserializeAws_json1_1CreateResourceDataSyncCommandError = async (output,
|
|
|
1979
1943
|
...output,
|
|
1980
1944
|
body: await parseBody(output.body, context),
|
|
1981
1945
|
};
|
|
1982
|
-
let response;
|
|
1983
1946
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1984
1947
|
switch (errorCode) {
|
|
1985
1948
|
case "InternalServerError":
|
|
@@ -1996,14 +1959,12 @@ const deserializeAws_json1_1CreateResourceDataSyncCommandError = async (output,
|
|
|
1996
1959
|
throw await deserializeAws_json1_1ResourceDataSyncInvalidConfigurationExceptionResponse(parsedOutput, context);
|
|
1997
1960
|
default:
|
|
1998
1961
|
const parsedBody = parsedOutput.body;
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
$metadata,
|
|
1962
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1963
|
+
output,
|
|
1964
|
+
parsedBody,
|
|
1965
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
1966
|
+
errorCode,
|
|
2005
1967
|
});
|
|
2006
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2007
1968
|
}
|
|
2008
1969
|
};
|
|
2009
1970
|
const deserializeAws_json1_1DeleteActivationCommand = async (output, context) => {
|
|
@@ -2025,7 +1986,6 @@ const deserializeAws_json1_1DeleteActivationCommandError = async (output, contex
|
|
|
2025
1986
|
...output,
|
|
2026
1987
|
body: await parseBody(output.body, context),
|
|
2027
1988
|
};
|
|
2028
|
-
let response;
|
|
2029
1989
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2030
1990
|
switch (errorCode) {
|
|
2031
1991
|
case "InternalServerError":
|
|
@@ -2042,14 +2002,12 @@ const deserializeAws_json1_1DeleteActivationCommandError = async (output, contex
|
|
|
2042
2002
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
2043
2003
|
default:
|
|
2044
2004
|
const parsedBody = parsedOutput.body;
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
$metadata,
|
|
2005
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2006
|
+
output,
|
|
2007
|
+
parsedBody,
|
|
2008
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2009
|
+
errorCode,
|
|
2051
2010
|
});
|
|
2052
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2053
2011
|
}
|
|
2054
2012
|
};
|
|
2055
2013
|
const deserializeAws_json1_1DeleteAssociationCommand = async (output, context) => {
|
|
@@ -2071,7 +2029,6 @@ const deserializeAws_json1_1DeleteAssociationCommandError = async (output, conte
|
|
|
2071
2029
|
...output,
|
|
2072
2030
|
body: await parseBody(output.body, context),
|
|
2073
2031
|
};
|
|
2074
|
-
let response;
|
|
2075
2032
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2076
2033
|
switch (errorCode) {
|
|
2077
2034
|
case "AssociationDoesNotExist":
|
|
@@ -2091,14 +2048,12 @@ const deserializeAws_json1_1DeleteAssociationCommandError = async (output, conte
|
|
|
2091
2048
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
2092
2049
|
default:
|
|
2093
2050
|
const parsedBody = parsedOutput.body;
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
$metadata,
|
|
2051
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2052
|
+
output,
|
|
2053
|
+
parsedBody,
|
|
2054
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2055
|
+
errorCode,
|
|
2100
2056
|
});
|
|
2101
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2102
2057
|
}
|
|
2103
2058
|
};
|
|
2104
2059
|
const deserializeAws_json1_1DeleteDocumentCommand = async (output, context) => {
|
|
@@ -2120,7 +2075,6 @@ const deserializeAws_json1_1DeleteDocumentCommandError = async (output, context)
|
|
|
2120
2075
|
...output,
|
|
2121
2076
|
body: await parseBody(output.body, context),
|
|
2122
2077
|
};
|
|
2123
|
-
let response;
|
|
2124
2078
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2125
2079
|
switch (errorCode) {
|
|
2126
2080
|
case "AssociatedInstances":
|
|
@@ -2137,14 +2091,12 @@ const deserializeAws_json1_1DeleteDocumentCommandError = async (output, context)
|
|
|
2137
2091
|
throw await deserializeAws_json1_1InvalidDocumentOperationResponse(parsedOutput, context);
|
|
2138
2092
|
default:
|
|
2139
2093
|
const parsedBody = parsedOutput.body;
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
$metadata,
|
|
2094
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2095
|
+
output,
|
|
2096
|
+
parsedBody,
|
|
2097
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2098
|
+
errorCode,
|
|
2146
2099
|
});
|
|
2147
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2148
2100
|
}
|
|
2149
2101
|
};
|
|
2150
2102
|
const deserializeAws_json1_1DeleteInventoryCommand = async (output, context) => {
|
|
@@ -2166,7 +2118,6 @@ const deserializeAws_json1_1DeleteInventoryCommandError = async (output, context
|
|
|
2166
2118
|
...output,
|
|
2167
2119
|
body: await parseBody(output.body, context),
|
|
2168
2120
|
};
|
|
2169
|
-
let response;
|
|
2170
2121
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2171
2122
|
switch (errorCode) {
|
|
2172
2123
|
case "InternalServerError":
|
|
@@ -2186,14 +2137,12 @@ const deserializeAws_json1_1DeleteInventoryCommandError = async (output, context
|
|
|
2186
2137
|
throw await deserializeAws_json1_1InvalidTypeNameExceptionResponse(parsedOutput, context);
|
|
2187
2138
|
default:
|
|
2188
2139
|
const parsedBody = parsedOutput.body;
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
$metadata,
|
|
2140
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2141
|
+
output,
|
|
2142
|
+
parsedBody,
|
|
2143
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2144
|
+
errorCode,
|
|
2195
2145
|
});
|
|
2196
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2197
2146
|
}
|
|
2198
2147
|
};
|
|
2199
2148
|
const deserializeAws_json1_1DeleteMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -2215,7 +2164,6 @@ const deserializeAws_json1_1DeleteMaintenanceWindowCommandError = async (output,
|
|
|
2215
2164
|
...output,
|
|
2216
2165
|
body: await parseBody(output.body, context),
|
|
2217
2166
|
};
|
|
2218
|
-
let response;
|
|
2219
2167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2220
2168
|
switch (errorCode) {
|
|
2221
2169
|
case "InternalServerError":
|
|
@@ -2223,14 +2171,12 @@ const deserializeAws_json1_1DeleteMaintenanceWindowCommandError = async (output,
|
|
|
2223
2171
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
2224
2172
|
default:
|
|
2225
2173
|
const parsedBody = parsedOutput.body;
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
$metadata,
|
|
2174
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2175
|
+
output,
|
|
2176
|
+
parsedBody,
|
|
2177
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2178
|
+
errorCode,
|
|
2232
2179
|
});
|
|
2233
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2234
2180
|
}
|
|
2235
2181
|
};
|
|
2236
2182
|
const deserializeAws_json1_1DeleteOpsMetadataCommand = async (output, context) => {
|
|
@@ -2252,7 +2198,6 @@ const deserializeAws_json1_1DeleteOpsMetadataCommandError = async (output, conte
|
|
|
2252
2198
|
...output,
|
|
2253
2199
|
body: await parseBody(output.body, context),
|
|
2254
2200
|
};
|
|
2255
|
-
let response;
|
|
2256
2201
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2257
2202
|
switch (errorCode) {
|
|
2258
2203
|
case "InternalServerError":
|
|
@@ -2266,14 +2211,12 @@ const deserializeAws_json1_1DeleteOpsMetadataCommandError = async (output, conte
|
|
|
2266
2211
|
throw await deserializeAws_json1_1OpsMetadataNotFoundExceptionResponse(parsedOutput, context);
|
|
2267
2212
|
default:
|
|
2268
2213
|
const parsedBody = parsedOutput.body;
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
$metadata,
|
|
2214
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2215
|
+
output,
|
|
2216
|
+
parsedBody,
|
|
2217
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2218
|
+
errorCode,
|
|
2275
2219
|
});
|
|
2276
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2277
2220
|
}
|
|
2278
2221
|
};
|
|
2279
2222
|
const deserializeAws_json1_1DeleteParameterCommand = async (output, context) => {
|
|
@@ -2295,7 +2238,6 @@ const deserializeAws_json1_1DeleteParameterCommandError = async (output, context
|
|
|
2295
2238
|
...output,
|
|
2296
2239
|
body: await parseBody(output.body, context),
|
|
2297
2240
|
};
|
|
2298
|
-
let response;
|
|
2299
2241
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2300
2242
|
switch (errorCode) {
|
|
2301
2243
|
case "InternalServerError":
|
|
@@ -2306,14 +2248,12 @@ const deserializeAws_json1_1DeleteParameterCommandError = async (output, context
|
|
|
2306
2248
|
throw await deserializeAws_json1_1ParameterNotFoundResponse(parsedOutput, context);
|
|
2307
2249
|
default:
|
|
2308
2250
|
const parsedBody = parsedOutput.body;
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
$metadata,
|
|
2251
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2252
|
+
output,
|
|
2253
|
+
parsedBody,
|
|
2254
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2255
|
+
errorCode,
|
|
2315
2256
|
});
|
|
2316
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2317
2257
|
}
|
|
2318
2258
|
};
|
|
2319
2259
|
const deserializeAws_json1_1DeleteParametersCommand = async (output, context) => {
|
|
@@ -2335,7 +2275,6 @@ const deserializeAws_json1_1DeleteParametersCommandError = async (output, contex
|
|
|
2335
2275
|
...output,
|
|
2336
2276
|
body: await parseBody(output.body, context),
|
|
2337
2277
|
};
|
|
2338
|
-
let response;
|
|
2339
2278
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2340
2279
|
switch (errorCode) {
|
|
2341
2280
|
case "InternalServerError":
|
|
@@ -2343,14 +2282,12 @@ const deserializeAws_json1_1DeleteParametersCommandError = async (output, contex
|
|
|
2343
2282
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
2344
2283
|
default:
|
|
2345
2284
|
const parsedBody = parsedOutput.body;
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
$metadata,
|
|
2285
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2286
|
+
output,
|
|
2287
|
+
parsedBody,
|
|
2288
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2289
|
+
errorCode,
|
|
2352
2290
|
});
|
|
2353
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2354
2291
|
}
|
|
2355
2292
|
};
|
|
2356
2293
|
const deserializeAws_json1_1DeletePatchBaselineCommand = async (output, context) => {
|
|
@@ -2372,7 +2309,6 @@ const deserializeAws_json1_1DeletePatchBaselineCommandError = async (output, con
|
|
|
2372
2309
|
...output,
|
|
2373
2310
|
body: await parseBody(output.body, context),
|
|
2374
2311
|
};
|
|
2375
|
-
let response;
|
|
2376
2312
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2377
2313
|
switch (errorCode) {
|
|
2378
2314
|
case "InternalServerError":
|
|
@@ -2383,14 +2319,12 @@ const deserializeAws_json1_1DeletePatchBaselineCommandError = async (output, con
|
|
|
2383
2319
|
throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
|
|
2384
2320
|
default:
|
|
2385
2321
|
const parsedBody = parsedOutput.body;
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
$metadata,
|
|
2322
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2323
|
+
output,
|
|
2324
|
+
parsedBody,
|
|
2325
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2326
|
+
errorCode,
|
|
2392
2327
|
});
|
|
2393
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2394
2328
|
}
|
|
2395
2329
|
};
|
|
2396
2330
|
const deserializeAws_json1_1DeleteResourceDataSyncCommand = async (output, context) => {
|
|
@@ -2412,7 +2346,6 @@ const deserializeAws_json1_1DeleteResourceDataSyncCommandError = async (output,
|
|
|
2412
2346
|
...output,
|
|
2413
2347
|
body: await parseBody(output.body, context),
|
|
2414
2348
|
};
|
|
2415
|
-
let response;
|
|
2416
2349
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2417
2350
|
switch (errorCode) {
|
|
2418
2351
|
case "InternalServerError":
|
|
@@ -2426,14 +2359,12 @@ const deserializeAws_json1_1DeleteResourceDataSyncCommandError = async (output,
|
|
|
2426
2359
|
throw await deserializeAws_json1_1ResourceDataSyncNotFoundExceptionResponse(parsedOutput, context);
|
|
2427
2360
|
default:
|
|
2428
2361
|
const parsedBody = parsedOutput.body;
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
$metadata,
|
|
2362
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2363
|
+
output,
|
|
2364
|
+
parsedBody,
|
|
2365
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2366
|
+
errorCode,
|
|
2435
2367
|
});
|
|
2436
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2437
2368
|
}
|
|
2438
2369
|
};
|
|
2439
2370
|
const deserializeAws_json1_1DeregisterManagedInstanceCommand = async (output, context) => {
|
|
@@ -2455,7 +2386,6 @@ const deserializeAws_json1_1DeregisterManagedInstanceCommandError = async (outpu
|
|
|
2455
2386
|
...output,
|
|
2456
2387
|
body: await parseBody(output.body, context),
|
|
2457
2388
|
};
|
|
2458
|
-
let response;
|
|
2459
2389
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2460
2390
|
switch (errorCode) {
|
|
2461
2391
|
case "InternalServerError":
|
|
@@ -2466,14 +2396,12 @@ const deserializeAws_json1_1DeregisterManagedInstanceCommandError = async (outpu
|
|
|
2466
2396
|
throw await deserializeAws_json1_1InvalidInstanceIdResponse(parsedOutput, context);
|
|
2467
2397
|
default:
|
|
2468
2398
|
const parsedBody = parsedOutput.body;
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
$metadata,
|
|
2399
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2400
|
+
output,
|
|
2401
|
+
parsedBody,
|
|
2402
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2403
|
+
errorCode,
|
|
2475
2404
|
});
|
|
2476
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2477
2405
|
}
|
|
2478
2406
|
};
|
|
2479
2407
|
const deserializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand = async (output, context) => {
|
|
@@ -2495,7 +2423,6 @@ const deserializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommandError = a
|
|
|
2495
2423
|
...output,
|
|
2496
2424
|
body: await parseBody(output.body, context),
|
|
2497
2425
|
};
|
|
2498
|
-
let response;
|
|
2499
2426
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2500
2427
|
switch (errorCode) {
|
|
2501
2428
|
case "InternalServerError":
|
|
@@ -2506,14 +2433,12 @@ const deserializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommandError = a
|
|
|
2506
2433
|
throw await deserializeAws_json1_1InvalidResourceIdResponse(parsedOutput, context);
|
|
2507
2434
|
default:
|
|
2508
2435
|
const parsedBody = parsedOutput.body;
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
$metadata,
|
|
2436
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2437
|
+
output,
|
|
2438
|
+
parsedBody,
|
|
2439
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2440
|
+
errorCode,
|
|
2515
2441
|
});
|
|
2516
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2517
2442
|
}
|
|
2518
2443
|
};
|
|
2519
2444
|
const deserializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -2535,7 +2460,6 @@ const deserializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommandError =
|
|
|
2535
2460
|
...output,
|
|
2536
2461
|
body: await parseBody(output.body, context),
|
|
2537
2462
|
};
|
|
2538
|
-
let response;
|
|
2539
2463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2540
2464
|
switch (errorCode) {
|
|
2541
2465
|
case "DoesNotExistException":
|
|
@@ -2549,14 +2473,12 @@ const deserializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommandError =
|
|
|
2549
2473
|
throw await deserializeAws_json1_1TargetInUseExceptionResponse(parsedOutput, context);
|
|
2550
2474
|
default:
|
|
2551
2475
|
const parsedBody = parsedOutput.body;
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
$metadata,
|
|
2476
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2477
|
+
output,
|
|
2478
|
+
parsedBody,
|
|
2479
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2480
|
+
errorCode,
|
|
2558
2481
|
});
|
|
2559
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2560
2482
|
}
|
|
2561
2483
|
};
|
|
2562
2484
|
const deserializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -2578,7 +2500,6 @@ const deserializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommandError = as
|
|
|
2578
2500
|
...output,
|
|
2579
2501
|
body: await parseBody(output.body, context),
|
|
2580
2502
|
};
|
|
2581
|
-
let response;
|
|
2582
2503
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2583
2504
|
switch (errorCode) {
|
|
2584
2505
|
case "DoesNotExistException":
|
|
@@ -2589,14 +2510,12 @@ const deserializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommandError = as
|
|
|
2589
2510
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
2590
2511
|
default:
|
|
2591
2512
|
const parsedBody = parsedOutput.body;
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
$metadata,
|
|
2513
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2514
|
+
output,
|
|
2515
|
+
parsedBody,
|
|
2516
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2517
|
+
errorCode,
|
|
2598
2518
|
});
|
|
2599
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2600
2519
|
}
|
|
2601
2520
|
};
|
|
2602
2521
|
const deserializeAws_json1_1DescribeActivationsCommand = async (output, context) => {
|
|
@@ -2618,7 +2537,6 @@ const deserializeAws_json1_1DescribeActivationsCommandError = async (output, con
|
|
|
2618
2537
|
...output,
|
|
2619
2538
|
body: await parseBody(output.body, context),
|
|
2620
2539
|
};
|
|
2621
|
-
let response;
|
|
2622
2540
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2623
2541
|
switch (errorCode) {
|
|
2624
2542
|
case "InternalServerError":
|
|
@@ -2632,14 +2550,12 @@ const deserializeAws_json1_1DescribeActivationsCommandError = async (output, con
|
|
|
2632
2550
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
2633
2551
|
default:
|
|
2634
2552
|
const parsedBody = parsedOutput.body;
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
$metadata,
|
|
2553
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2554
|
+
output,
|
|
2555
|
+
parsedBody,
|
|
2556
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2557
|
+
errorCode,
|
|
2641
2558
|
});
|
|
2642
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2643
2559
|
}
|
|
2644
2560
|
};
|
|
2645
2561
|
const deserializeAws_json1_1DescribeAssociationCommand = async (output, context) => {
|
|
@@ -2661,7 +2577,6 @@ const deserializeAws_json1_1DescribeAssociationCommandError = async (output, con
|
|
|
2661
2577
|
...output,
|
|
2662
2578
|
body: await parseBody(output.body, context),
|
|
2663
2579
|
};
|
|
2664
|
-
let response;
|
|
2665
2580
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2666
2581
|
switch (errorCode) {
|
|
2667
2582
|
case "AssociationDoesNotExist":
|
|
@@ -2681,14 +2596,12 @@ const deserializeAws_json1_1DescribeAssociationCommandError = async (output, con
|
|
|
2681
2596
|
throw await deserializeAws_json1_1InvalidInstanceIdResponse(parsedOutput, context);
|
|
2682
2597
|
default:
|
|
2683
2598
|
const parsedBody = parsedOutput.body;
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
$metadata,
|
|
2599
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2600
|
+
output,
|
|
2601
|
+
parsedBody,
|
|
2602
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2603
|
+
errorCode,
|
|
2690
2604
|
});
|
|
2691
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2692
2605
|
}
|
|
2693
2606
|
};
|
|
2694
2607
|
const deserializeAws_json1_1DescribeAssociationExecutionsCommand = async (output, context) => {
|
|
@@ -2710,7 +2623,6 @@ const deserializeAws_json1_1DescribeAssociationExecutionsCommandError = async (o
|
|
|
2710
2623
|
...output,
|
|
2711
2624
|
body: await parseBody(output.body, context),
|
|
2712
2625
|
};
|
|
2713
|
-
let response;
|
|
2714
2626
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2715
2627
|
switch (errorCode) {
|
|
2716
2628
|
case "AssociationDoesNotExist":
|
|
@@ -2724,14 +2636,12 @@ const deserializeAws_json1_1DescribeAssociationExecutionsCommandError = async (o
|
|
|
2724
2636
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
2725
2637
|
default:
|
|
2726
2638
|
const parsedBody = parsedOutput.body;
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
$metadata,
|
|
2639
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2640
|
+
output,
|
|
2641
|
+
parsedBody,
|
|
2642
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2643
|
+
errorCode,
|
|
2733
2644
|
});
|
|
2734
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2735
2645
|
}
|
|
2736
2646
|
};
|
|
2737
2647
|
const deserializeAws_json1_1DescribeAssociationExecutionTargetsCommand = async (output, context) => {
|
|
@@ -2753,7 +2663,6 @@ const deserializeAws_json1_1DescribeAssociationExecutionTargetsCommandError = as
|
|
|
2753
2663
|
...output,
|
|
2754
2664
|
body: await parseBody(output.body, context),
|
|
2755
2665
|
};
|
|
2756
|
-
let response;
|
|
2757
2666
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2758
2667
|
switch (errorCode) {
|
|
2759
2668
|
case "AssociationDoesNotExist":
|
|
@@ -2770,14 +2679,12 @@ const deserializeAws_json1_1DescribeAssociationExecutionTargetsCommandError = as
|
|
|
2770
2679
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
2771
2680
|
default:
|
|
2772
2681
|
const parsedBody = parsedOutput.body;
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
$metadata,
|
|
2682
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2683
|
+
output,
|
|
2684
|
+
parsedBody,
|
|
2685
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2686
|
+
errorCode,
|
|
2779
2687
|
});
|
|
2780
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2781
2688
|
}
|
|
2782
2689
|
};
|
|
2783
2690
|
const deserializeAws_json1_1DescribeAutomationExecutionsCommand = async (output, context) => {
|
|
@@ -2799,7 +2706,6 @@ const deserializeAws_json1_1DescribeAutomationExecutionsCommandError = async (ou
|
|
|
2799
2706
|
...output,
|
|
2800
2707
|
body: await parseBody(output.body, context),
|
|
2801
2708
|
};
|
|
2802
|
-
let response;
|
|
2803
2709
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2804
2710
|
switch (errorCode) {
|
|
2805
2711
|
case "InternalServerError":
|
|
@@ -2816,14 +2722,12 @@ const deserializeAws_json1_1DescribeAutomationExecutionsCommandError = async (ou
|
|
|
2816
2722
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
2817
2723
|
default:
|
|
2818
2724
|
const parsedBody = parsedOutput.body;
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
$metadata,
|
|
2725
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2726
|
+
output,
|
|
2727
|
+
parsedBody,
|
|
2728
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2729
|
+
errorCode,
|
|
2825
2730
|
});
|
|
2826
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2827
2731
|
}
|
|
2828
2732
|
};
|
|
2829
2733
|
const deserializeAws_json1_1DescribeAutomationStepExecutionsCommand = async (output, context) => {
|
|
@@ -2845,7 +2749,6 @@ const deserializeAws_json1_1DescribeAutomationStepExecutionsCommandError = async
|
|
|
2845
2749
|
...output,
|
|
2846
2750
|
body: await parseBody(output.body, context),
|
|
2847
2751
|
};
|
|
2848
|
-
let response;
|
|
2849
2752
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2850
2753
|
switch (errorCode) {
|
|
2851
2754
|
case "AutomationExecutionNotFoundException":
|
|
@@ -2865,14 +2768,12 @@ const deserializeAws_json1_1DescribeAutomationStepExecutionsCommandError = async
|
|
|
2865
2768
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
2866
2769
|
default:
|
|
2867
2770
|
const parsedBody = parsedOutput.body;
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
$metadata,
|
|
2771
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2772
|
+
output,
|
|
2773
|
+
parsedBody,
|
|
2774
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2775
|
+
errorCode,
|
|
2874
2776
|
});
|
|
2875
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2876
2777
|
}
|
|
2877
2778
|
};
|
|
2878
2779
|
const deserializeAws_json1_1DescribeAvailablePatchesCommand = async (output, context) => {
|
|
@@ -2894,7 +2795,6 @@ const deserializeAws_json1_1DescribeAvailablePatchesCommandError = async (output
|
|
|
2894
2795
|
...output,
|
|
2895
2796
|
body: await parseBody(output.body, context),
|
|
2896
2797
|
};
|
|
2897
|
-
let response;
|
|
2898
2798
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2899
2799
|
switch (errorCode) {
|
|
2900
2800
|
case "InternalServerError":
|
|
@@ -2902,14 +2802,12 @@ const deserializeAws_json1_1DescribeAvailablePatchesCommandError = async (output
|
|
|
2902
2802
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
2903
2803
|
default:
|
|
2904
2804
|
const parsedBody = parsedOutput.body;
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
$metadata,
|
|
2805
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2806
|
+
output,
|
|
2807
|
+
parsedBody,
|
|
2808
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2809
|
+
errorCode,
|
|
2911
2810
|
});
|
|
2912
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2913
2811
|
}
|
|
2914
2812
|
};
|
|
2915
2813
|
const deserializeAws_json1_1DescribeDocumentCommand = async (output, context) => {
|
|
@@ -2931,7 +2829,6 @@ const deserializeAws_json1_1DescribeDocumentCommandError = async (output, contex
|
|
|
2931
2829
|
...output,
|
|
2932
2830
|
body: await parseBody(output.body, context),
|
|
2933
2831
|
};
|
|
2934
|
-
let response;
|
|
2935
2832
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2936
2833
|
switch (errorCode) {
|
|
2937
2834
|
case "InternalServerError":
|
|
@@ -2945,14 +2842,12 @@ const deserializeAws_json1_1DescribeDocumentCommandError = async (output, contex
|
|
|
2945
2842
|
throw await deserializeAws_json1_1InvalidDocumentVersionResponse(parsedOutput, context);
|
|
2946
2843
|
default:
|
|
2947
2844
|
const parsedBody = parsedOutput.body;
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
$metadata,
|
|
2845
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2846
|
+
output,
|
|
2847
|
+
parsedBody,
|
|
2848
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2849
|
+
errorCode,
|
|
2954
2850
|
});
|
|
2955
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2956
2851
|
}
|
|
2957
2852
|
};
|
|
2958
2853
|
const deserializeAws_json1_1DescribeDocumentPermissionCommand = async (output, context) => {
|
|
@@ -2974,7 +2869,6 @@ const deserializeAws_json1_1DescribeDocumentPermissionCommandError = async (outp
|
|
|
2974
2869
|
...output,
|
|
2975
2870
|
body: await parseBody(output.body, context),
|
|
2976
2871
|
};
|
|
2977
|
-
let response;
|
|
2978
2872
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2979
2873
|
switch (errorCode) {
|
|
2980
2874
|
case "InternalServerError":
|
|
@@ -2994,14 +2888,12 @@ const deserializeAws_json1_1DescribeDocumentPermissionCommandError = async (outp
|
|
|
2994
2888
|
throw await deserializeAws_json1_1InvalidPermissionTypeResponse(parsedOutput, context);
|
|
2995
2889
|
default:
|
|
2996
2890
|
const parsedBody = parsedOutput.body;
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
$metadata,
|
|
2891
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2892
|
+
output,
|
|
2893
|
+
parsedBody,
|
|
2894
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2895
|
+
errorCode,
|
|
3003
2896
|
});
|
|
3004
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3005
2897
|
}
|
|
3006
2898
|
};
|
|
3007
2899
|
const deserializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand = async (output, context) => {
|
|
@@ -3023,7 +2915,6 @@ const deserializeAws_json1_1DescribeEffectiveInstanceAssociationsCommandError =
|
|
|
3023
2915
|
...output,
|
|
3024
2916
|
body: await parseBody(output.body, context),
|
|
3025
2917
|
};
|
|
3026
|
-
let response;
|
|
3027
2918
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3028
2919
|
switch (errorCode) {
|
|
3029
2920
|
case "InternalServerError":
|
|
@@ -3037,14 +2928,12 @@ const deserializeAws_json1_1DescribeEffectiveInstanceAssociationsCommandError =
|
|
|
3037
2928
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3038
2929
|
default:
|
|
3039
2930
|
const parsedBody = parsedOutput.body;
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
$metadata,
|
|
2931
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2932
|
+
output,
|
|
2933
|
+
parsedBody,
|
|
2934
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2935
|
+
errorCode,
|
|
3046
2936
|
});
|
|
3047
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3048
2937
|
}
|
|
3049
2938
|
};
|
|
3050
2939
|
const deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand = async (output, context) => {
|
|
@@ -3066,7 +2955,6 @@ const deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommandError
|
|
|
3066
2955
|
...output,
|
|
3067
2956
|
body: await parseBody(output.body, context),
|
|
3068
2957
|
};
|
|
3069
|
-
let response;
|
|
3070
2958
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3071
2959
|
switch (errorCode) {
|
|
3072
2960
|
case "DoesNotExistException":
|
|
@@ -3083,14 +2971,12 @@ const deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommandError
|
|
|
3083
2971
|
throw await deserializeAws_json1_1UnsupportedOperatingSystemResponse(parsedOutput, context);
|
|
3084
2972
|
default:
|
|
3085
2973
|
const parsedBody = parsedOutput.body;
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
$metadata,
|
|
2974
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2975
|
+
output,
|
|
2976
|
+
parsedBody,
|
|
2977
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2978
|
+
errorCode,
|
|
3092
2979
|
});
|
|
3093
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3094
2980
|
}
|
|
3095
2981
|
};
|
|
3096
2982
|
const deserializeAws_json1_1DescribeInstanceAssociationsStatusCommand = async (output, context) => {
|
|
@@ -3112,7 +2998,6 @@ const deserializeAws_json1_1DescribeInstanceAssociationsStatusCommandError = asy
|
|
|
3112
2998
|
...output,
|
|
3113
2999
|
body: await parseBody(output.body, context),
|
|
3114
3000
|
};
|
|
3115
|
-
let response;
|
|
3116
3001
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3117
3002
|
switch (errorCode) {
|
|
3118
3003
|
case "InternalServerError":
|
|
@@ -3126,14 +3011,12 @@ const deserializeAws_json1_1DescribeInstanceAssociationsStatusCommandError = asy
|
|
|
3126
3011
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3127
3012
|
default:
|
|
3128
3013
|
const parsedBody = parsedOutput.body;
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
$metadata,
|
|
3014
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3015
|
+
output,
|
|
3016
|
+
parsedBody,
|
|
3017
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3018
|
+
errorCode,
|
|
3135
3019
|
});
|
|
3136
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3137
3020
|
}
|
|
3138
3021
|
};
|
|
3139
3022
|
const deserializeAws_json1_1DescribeInstanceInformationCommand = async (output, context) => {
|
|
@@ -3155,7 +3038,6 @@ const deserializeAws_json1_1DescribeInstanceInformationCommandError = async (out
|
|
|
3155
3038
|
...output,
|
|
3156
3039
|
body: await parseBody(output.body, context),
|
|
3157
3040
|
};
|
|
3158
|
-
let response;
|
|
3159
3041
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3160
3042
|
switch (errorCode) {
|
|
3161
3043
|
case "InternalServerError":
|
|
@@ -3175,14 +3057,12 @@ const deserializeAws_json1_1DescribeInstanceInformationCommandError = async (out
|
|
|
3175
3057
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3176
3058
|
default:
|
|
3177
3059
|
const parsedBody = parsedOutput.body;
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
$metadata,
|
|
3060
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3061
|
+
output,
|
|
3062
|
+
parsedBody,
|
|
3063
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3064
|
+
errorCode,
|
|
3184
3065
|
});
|
|
3185
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3186
3066
|
}
|
|
3187
3067
|
};
|
|
3188
3068
|
const deserializeAws_json1_1DescribeInstancePatchesCommand = async (output, context) => {
|
|
@@ -3204,7 +3084,6 @@ const deserializeAws_json1_1DescribeInstancePatchesCommandError = async (output,
|
|
|
3204
3084
|
...output,
|
|
3205
3085
|
body: await parseBody(output.body, context),
|
|
3206
3086
|
};
|
|
3207
|
-
let response;
|
|
3208
3087
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3209
3088
|
switch (errorCode) {
|
|
3210
3089
|
case "InternalServerError":
|
|
@@ -3221,14 +3100,12 @@ const deserializeAws_json1_1DescribeInstancePatchesCommandError = async (output,
|
|
|
3221
3100
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3222
3101
|
default:
|
|
3223
3102
|
const parsedBody = parsedOutput.body;
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
$metadata,
|
|
3103
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3104
|
+
output,
|
|
3105
|
+
parsedBody,
|
|
3106
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3107
|
+
errorCode,
|
|
3230
3108
|
});
|
|
3231
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3232
3109
|
}
|
|
3233
3110
|
};
|
|
3234
3111
|
const deserializeAws_json1_1DescribeInstancePatchStatesCommand = async (output, context) => {
|
|
@@ -3250,7 +3127,6 @@ const deserializeAws_json1_1DescribeInstancePatchStatesCommandError = async (out
|
|
|
3250
3127
|
...output,
|
|
3251
3128
|
body: await parseBody(output.body, context),
|
|
3252
3129
|
};
|
|
3253
|
-
let response;
|
|
3254
3130
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3255
3131
|
switch (errorCode) {
|
|
3256
3132
|
case "InternalServerError":
|
|
@@ -3261,14 +3137,12 @@ const deserializeAws_json1_1DescribeInstancePatchStatesCommandError = async (out
|
|
|
3261
3137
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3262
3138
|
default:
|
|
3263
3139
|
const parsedBody = parsedOutput.body;
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
$metadata,
|
|
3140
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3141
|
+
output,
|
|
3142
|
+
parsedBody,
|
|
3143
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3144
|
+
errorCode,
|
|
3270
3145
|
});
|
|
3271
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3272
3146
|
}
|
|
3273
3147
|
};
|
|
3274
3148
|
const deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand = async (output, context) => {
|
|
@@ -3290,7 +3164,6 @@ const deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommandError
|
|
|
3290
3164
|
...output,
|
|
3291
3165
|
body: await parseBody(output.body, context),
|
|
3292
3166
|
};
|
|
3293
|
-
let response;
|
|
3294
3167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3295
3168
|
switch (errorCode) {
|
|
3296
3169
|
case "InternalServerError":
|
|
@@ -3304,14 +3177,12 @@ const deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommandError
|
|
|
3304
3177
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3305
3178
|
default:
|
|
3306
3179
|
const parsedBody = parsedOutput.body;
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
$metadata,
|
|
3180
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3181
|
+
output,
|
|
3182
|
+
parsedBody,
|
|
3183
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3184
|
+
errorCode,
|
|
3313
3185
|
});
|
|
3314
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3315
3186
|
}
|
|
3316
3187
|
};
|
|
3317
3188
|
const deserializeAws_json1_1DescribeInventoryDeletionsCommand = async (output, context) => {
|
|
@@ -3333,7 +3204,6 @@ const deserializeAws_json1_1DescribeInventoryDeletionsCommandError = async (outp
|
|
|
3333
3204
|
...output,
|
|
3334
3205
|
body: await parseBody(output.body, context),
|
|
3335
3206
|
};
|
|
3336
|
-
let response;
|
|
3337
3207
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3338
3208
|
switch (errorCode) {
|
|
3339
3209
|
case "InternalServerError":
|
|
@@ -3347,14 +3217,12 @@ const deserializeAws_json1_1DescribeInventoryDeletionsCommandError = async (outp
|
|
|
3347
3217
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3348
3218
|
default:
|
|
3349
3219
|
const parsedBody = parsedOutput.body;
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
$metadata,
|
|
3220
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3221
|
+
output,
|
|
3222
|
+
parsedBody,
|
|
3223
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3224
|
+
errorCode,
|
|
3356
3225
|
});
|
|
3357
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3358
3226
|
}
|
|
3359
3227
|
};
|
|
3360
3228
|
const deserializeAws_json1_1DescribeMaintenanceWindowExecutionsCommand = async (output, context) => {
|
|
@@ -3376,7 +3244,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowExecutionsCommandError = as
|
|
|
3376
3244
|
...output,
|
|
3377
3245
|
body: await parseBody(output.body, context),
|
|
3378
3246
|
};
|
|
3379
|
-
let response;
|
|
3380
3247
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3381
3248
|
switch (errorCode) {
|
|
3382
3249
|
case "InternalServerError":
|
|
@@ -3384,14 +3251,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowExecutionsCommandError = as
|
|
|
3384
3251
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3385
3252
|
default:
|
|
3386
3253
|
const parsedBody = parsedOutput.body;
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
$metadata,
|
|
3254
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3255
|
+
output,
|
|
3256
|
+
parsedBody,
|
|
3257
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3258
|
+
errorCode,
|
|
3393
3259
|
});
|
|
3394
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3395
3260
|
}
|
|
3396
3261
|
};
|
|
3397
3262
|
const deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCommand = async (output, context) => {
|
|
@@ -3413,7 +3278,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCom
|
|
|
3413
3278
|
...output,
|
|
3414
3279
|
body: await parseBody(output.body, context),
|
|
3415
3280
|
};
|
|
3416
|
-
let response;
|
|
3417
3281
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3418
3282
|
switch (errorCode) {
|
|
3419
3283
|
case "DoesNotExistException":
|
|
@@ -3424,14 +3288,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCom
|
|
|
3424
3288
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3425
3289
|
default:
|
|
3426
3290
|
const parsedBody = parsedOutput.body;
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
$metadata,
|
|
3291
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3292
|
+
output,
|
|
3293
|
+
parsedBody,
|
|
3294
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3295
|
+
errorCode,
|
|
3433
3296
|
});
|
|
3434
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3435
3297
|
}
|
|
3436
3298
|
};
|
|
3437
3299
|
const deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommand = async (output, context) => {
|
|
@@ -3453,7 +3315,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommandError
|
|
|
3453
3315
|
...output,
|
|
3454
3316
|
body: await parseBody(output.body, context),
|
|
3455
3317
|
};
|
|
3456
|
-
let response;
|
|
3457
3318
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3458
3319
|
switch (errorCode) {
|
|
3459
3320
|
case "DoesNotExistException":
|
|
@@ -3464,14 +3325,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommandError
|
|
|
3464
3325
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3465
3326
|
default:
|
|
3466
3327
|
const parsedBody = parsedOutput.body;
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
$metadata,
|
|
3328
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3329
|
+
output,
|
|
3330
|
+
parsedBody,
|
|
3331
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3332
|
+
errorCode,
|
|
3473
3333
|
});
|
|
3474
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3475
3334
|
}
|
|
3476
3335
|
};
|
|
3477
3336
|
const deserializeAws_json1_1DescribeMaintenanceWindowsCommand = async (output, context) => {
|
|
@@ -3493,7 +3352,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowsCommandError = async (outp
|
|
|
3493
3352
|
...output,
|
|
3494
3353
|
body: await parseBody(output.body, context),
|
|
3495
3354
|
};
|
|
3496
|
-
let response;
|
|
3497
3355
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3498
3356
|
switch (errorCode) {
|
|
3499
3357
|
case "InternalServerError":
|
|
@@ -3501,14 +3359,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowsCommandError = async (outp
|
|
|
3501
3359
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3502
3360
|
default:
|
|
3503
3361
|
const parsedBody = parsedOutput.body;
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
$metadata,
|
|
3362
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3363
|
+
output,
|
|
3364
|
+
parsedBody,
|
|
3365
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3366
|
+
errorCode,
|
|
3510
3367
|
});
|
|
3511
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3512
3368
|
}
|
|
3513
3369
|
};
|
|
3514
3370
|
const deserializeAws_json1_1DescribeMaintenanceWindowScheduleCommand = async (output, context) => {
|
|
@@ -3530,7 +3386,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowScheduleCommandError = asyn
|
|
|
3530
3386
|
...output,
|
|
3531
3387
|
body: await parseBody(output.body, context),
|
|
3532
3388
|
};
|
|
3533
|
-
let response;
|
|
3534
3389
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3535
3390
|
switch (errorCode) {
|
|
3536
3391
|
case "DoesNotExistException":
|
|
@@ -3541,14 +3396,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowScheduleCommandError = asyn
|
|
|
3541
3396
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3542
3397
|
default:
|
|
3543
3398
|
const parsedBody = parsedOutput.body;
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
$metadata,
|
|
3399
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3400
|
+
output,
|
|
3401
|
+
parsedBody,
|
|
3402
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3403
|
+
errorCode,
|
|
3550
3404
|
});
|
|
3551
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3552
3405
|
}
|
|
3553
3406
|
};
|
|
3554
3407
|
const deserializeAws_json1_1DescribeMaintenanceWindowsForTargetCommand = async (output, context) => {
|
|
@@ -3570,7 +3423,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowsForTargetCommandError = as
|
|
|
3570
3423
|
...output,
|
|
3571
3424
|
body: await parseBody(output.body, context),
|
|
3572
3425
|
};
|
|
3573
|
-
let response;
|
|
3574
3426
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3575
3427
|
switch (errorCode) {
|
|
3576
3428
|
case "InternalServerError":
|
|
@@ -3578,14 +3430,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowsForTargetCommandError = as
|
|
|
3578
3430
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3579
3431
|
default:
|
|
3580
3432
|
const parsedBody = parsedOutput.body;
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
$metadata,
|
|
3433
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3434
|
+
output,
|
|
3435
|
+
parsedBody,
|
|
3436
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3437
|
+
errorCode,
|
|
3587
3438
|
});
|
|
3588
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3589
3439
|
}
|
|
3590
3440
|
};
|
|
3591
3441
|
const deserializeAws_json1_1DescribeMaintenanceWindowTargetsCommand = async (output, context) => {
|
|
@@ -3607,7 +3457,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowTargetsCommandError = async
|
|
|
3607
3457
|
...output,
|
|
3608
3458
|
body: await parseBody(output.body, context),
|
|
3609
3459
|
};
|
|
3610
|
-
let response;
|
|
3611
3460
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3612
3461
|
switch (errorCode) {
|
|
3613
3462
|
case "DoesNotExistException":
|
|
@@ -3618,14 +3467,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowTargetsCommandError = async
|
|
|
3618
3467
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3619
3468
|
default:
|
|
3620
3469
|
const parsedBody = parsedOutput.body;
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
$metadata,
|
|
3470
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3471
|
+
output,
|
|
3472
|
+
parsedBody,
|
|
3473
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3474
|
+
errorCode,
|
|
3627
3475
|
});
|
|
3628
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3629
3476
|
}
|
|
3630
3477
|
};
|
|
3631
3478
|
const deserializeAws_json1_1DescribeMaintenanceWindowTasksCommand = async (output, context) => {
|
|
@@ -3647,7 +3494,6 @@ const deserializeAws_json1_1DescribeMaintenanceWindowTasksCommandError = async (
|
|
|
3647
3494
|
...output,
|
|
3648
3495
|
body: await parseBody(output.body, context),
|
|
3649
3496
|
};
|
|
3650
|
-
let response;
|
|
3651
3497
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3652
3498
|
switch (errorCode) {
|
|
3653
3499
|
case "DoesNotExistException":
|
|
@@ -3658,14 +3504,12 @@ const deserializeAws_json1_1DescribeMaintenanceWindowTasksCommandError = async (
|
|
|
3658
3504
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3659
3505
|
default:
|
|
3660
3506
|
const parsedBody = parsedOutput.body;
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
$metadata,
|
|
3507
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3508
|
+
output,
|
|
3509
|
+
parsedBody,
|
|
3510
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3511
|
+
errorCode,
|
|
3667
3512
|
});
|
|
3668
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3669
3513
|
}
|
|
3670
3514
|
};
|
|
3671
3515
|
const deserializeAws_json1_1DescribeOpsItemsCommand = async (output, context) => {
|
|
@@ -3687,7 +3531,6 @@ const deserializeAws_json1_1DescribeOpsItemsCommandError = async (output, contex
|
|
|
3687
3531
|
...output,
|
|
3688
3532
|
body: await parseBody(output.body, context),
|
|
3689
3533
|
};
|
|
3690
|
-
let response;
|
|
3691
3534
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3692
3535
|
switch (errorCode) {
|
|
3693
3536
|
case "InternalServerError":
|
|
@@ -3695,14 +3538,12 @@ const deserializeAws_json1_1DescribeOpsItemsCommandError = async (output, contex
|
|
|
3695
3538
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3696
3539
|
default:
|
|
3697
3540
|
const parsedBody = parsedOutput.body;
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
$metadata,
|
|
3541
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3542
|
+
output,
|
|
3543
|
+
parsedBody,
|
|
3544
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3545
|
+
errorCode,
|
|
3704
3546
|
});
|
|
3705
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3706
3547
|
}
|
|
3707
3548
|
};
|
|
3708
3549
|
const deserializeAws_json1_1DescribeParametersCommand = async (output, context) => {
|
|
@@ -3724,7 +3565,6 @@ const deserializeAws_json1_1DescribeParametersCommandError = async (output, cont
|
|
|
3724
3565
|
...output,
|
|
3725
3566
|
body: await parseBody(output.body, context),
|
|
3726
3567
|
};
|
|
3727
|
-
let response;
|
|
3728
3568
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3729
3569
|
switch (errorCode) {
|
|
3730
3570
|
case "InternalServerError":
|
|
@@ -3744,14 +3584,12 @@ const deserializeAws_json1_1DescribeParametersCommandError = async (output, cont
|
|
|
3744
3584
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3745
3585
|
default:
|
|
3746
3586
|
const parsedBody = parsedOutput.body;
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
$metadata,
|
|
3587
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3588
|
+
output,
|
|
3589
|
+
parsedBody,
|
|
3590
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3591
|
+
errorCode,
|
|
3753
3592
|
});
|
|
3754
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3755
3593
|
}
|
|
3756
3594
|
};
|
|
3757
3595
|
const deserializeAws_json1_1DescribePatchBaselinesCommand = async (output, context) => {
|
|
@@ -3773,7 +3611,6 @@ const deserializeAws_json1_1DescribePatchBaselinesCommandError = async (output,
|
|
|
3773
3611
|
...output,
|
|
3774
3612
|
body: await parseBody(output.body, context),
|
|
3775
3613
|
};
|
|
3776
|
-
let response;
|
|
3777
3614
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3778
3615
|
switch (errorCode) {
|
|
3779
3616
|
case "InternalServerError":
|
|
@@ -3781,14 +3618,12 @@ const deserializeAws_json1_1DescribePatchBaselinesCommandError = async (output,
|
|
|
3781
3618
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3782
3619
|
default:
|
|
3783
3620
|
const parsedBody = parsedOutput.body;
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
$metadata,
|
|
3621
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3622
|
+
output,
|
|
3623
|
+
parsedBody,
|
|
3624
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3625
|
+
errorCode,
|
|
3790
3626
|
});
|
|
3791
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3792
3627
|
}
|
|
3793
3628
|
};
|
|
3794
3629
|
const deserializeAws_json1_1DescribePatchGroupsCommand = async (output, context) => {
|
|
@@ -3810,7 +3645,6 @@ const deserializeAws_json1_1DescribePatchGroupsCommandError = async (output, con
|
|
|
3810
3645
|
...output,
|
|
3811
3646
|
body: await parseBody(output.body, context),
|
|
3812
3647
|
};
|
|
3813
|
-
let response;
|
|
3814
3648
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3815
3649
|
switch (errorCode) {
|
|
3816
3650
|
case "InternalServerError":
|
|
@@ -3818,14 +3652,12 @@ const deserializeAws_json1_1DescribePatchGroupsCommandError = async (output, con
|
|
|
3818
3652
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3819
3653
|
default:
|
|
3820
3654
|
const parsedBody = parsedOutput.body;
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
$metadata,
|
|
3655
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3656
|
+
output,
|
|
3657
|
+
parsedBody,
|
|
3658
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3659
|
+
errorCode,
|
|
3827
3660
|
});
|
|
3828
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3829
3661
|
}
|
|
3830
3662
|
};
|
|
3831
3663
|
const deserializeAws_json1_1DescribePatchGroupStateCommand = async (output, context) => {
|
|
@@ -3847,7 +3679,6 @@ const deserializeAws_json1_1DescribePatchGroupStateCommandError = async (output,
|
|
|
3847
3679
|
...output,
|
|
3848
3680
|
body: await parseBody(output.body, context),
|
|
3849
3681
|
};
|
|
3850
|
-
let response;
|
|
3851
3682
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3852
3683
|
switch (errorCode) {
|
|
3853
3684
|
case "InternalServerError":
|
|
@@ -3858,14 +3689,12 @@ const deserializeAws_json1_1DescribePatchGroupStateCommandError = async (output,
|
|
|
3858
3689
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3859
3690
|
default:
|
|
3860
3691
|
const parsedBody = parsedOutput.body;
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
$metadata,
|
|
3692
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3693
|
+
output,
|
|
3694
|
+
parsedBody,
|
|
3695
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3696
|
+
errorCode,
|
|
3867
3697
|
});
|
|
3868
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3869
3698
|
}
|
|
3870
3699
|
};
|
|
3871
3700
|
const deserializeAws_json1_1DescribePatchPropertiesCommand = async (output, context) => {
|
|
@@ -3887,7 +3716,6 @@ const deserializeAws_json1_1DescribePatchPropertiesCommandError = async (output,
|
|
|
3887
3716
|
...output,
|
|
3888
3717
|
body: await parseBody(output.body, context),
|
|
3889
3718
|
};
|
|
3890
|
-
let response;
|
|
3891
3719
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3892
3720
|
switch (errorCode) {
|
|
3893
3721
|
case "InternalServerError":
|
|
@@ -3895,14 +3723,12 @@ const deserializeAws_json1_1DescribePatchPropertiesCommandError = async (output,
|
|
|
3895
3723
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
3896
3724
|
default:
|
|
3897
3725
|
const parsedBody = parsedOutput.body;
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
$metadata,
|
|
3726
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3727
|
+
output,
|
|
3728
|
+
parsedBody,
|
|
3729
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3730
|
+
errorCode,
|
|
3904
3731
|
});
|
|
3905
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3906
3732
|
}
|
|
3907
3733
|
};
|
|
3908
3734
|
const deserializeAws_json1_1DescribeSessionsCommand = async (output, context) => {
|
|
@@ -3924,7 +3750,6 @@ const deserializeAws_json1_1DescribeSessionsCommandError = async (output, contex
|
|
|
3924
3750
|
...output,
|
|
3925
3751
|
body: await parseBody(output.body, context),
|
|
3926
3752
|
};
|
|
3927
|
-
let response;
|
|
3928
3753
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3929
3754
|
switch (errorCode) {
|
|
3930
3755
|
case "InternalServerError":
|
|
@@ -3938,14 +3763,12 @@ const deserializeAws_json1_1DescribeSessionsCommandError = async (output, contex
|
|
|
3938
3763
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
3939
3764
|
default:
|
|
3940
3765
|
const parsedBody = parsedOutput.body;
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
$metadata,
|
|
3766
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3767
|
+
output,
|
|
3768
|
+
parsedBody,
|
|
3769
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3770
|
+
errorCode,
|
|
3947
3771
|
});
|
|
3948
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3949
3772
|
}
|
|
3950
3773
|
};
|
|
3951
3774
|
const deserializeAws_json1_1DisassociateOpsItemRelatedItemCommand = async (output, context) => {
|
|
@@ -3967,7 +3790,6 @@ const deserializeAws_json1_1DisassociateOpsItemRelatedItemCommandError = async (
|
|
|
3967
3790
|
...output,
|
|
3968
3791
|
body: await parseBody(output.body, context),
|
|
3969
3792
|
};
|
|
3970
|
-
let response;
|
|
3971
3793
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3972
3794
|
switch (errorCode) {
|
|
3973
3795
|
case "InternalServerError":
|
|
@@ -3984,14 +3806,12 @@ const deserializeAws_json1_1DisassociateOpsItemRelatedItemCommandError = async (
|
|
|
3984
3806
|
throw await deserializeAws_json1_1OpsItemRelatedItemAssociationNotFoundExceptionResponse(parsedOutput, context);
|
|
3985
3807
|
default:
|
|
3986
3808
|
const parsedBody = parsedOutput.body;
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
$metadata,
|
|
3809
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3810
|
+
output,
|
|
3811
|
+
parsedBody,
|
|
3812
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3813
|
+
errorCode,
|
|
3993
3814
|
});
|
|
3994
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3995
3815
|
}
|
|
3996
3816
|
};
|
|
3997
3817
|
const deserializeAws_json1_1GetAutomationExecutionCommand = async (output, context) => {
|
|
@@ -4013,7 +3833,6 @@ const deserializeAws_json1_1GetAutomationExecutionCommandError = async (output,
|
|
|
4013
3833
|
...output,
|
|
4014
3834
|
body: await parseBody(output.body, context),
|
|
4015
3835
|
};
|
|
4016
|
-
let response;
|
|
4017
3836
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4018
3837
|
switch (errorCode) {
|
|
4019
3838
|
case "AutomationExecutionNotFoundException":
|
|
@@ -4024,14 +3843,12 @@ const deserializeAws_json1_1GetAutomationExecutionCommandError = async (output,
|
|
|
4024
3843
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4025
3844
|
default:
|
|
4026
3845
|
const parsedBody = parsedOutput.body;
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
$metadata,
|
|
3846
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3847
|
+
output,
|
|
3848
|
+
parsedBody,
|
|
3849
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3850
|
+
errorCode,
|
|
4033
3851
|
});
|
|
4034
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4035
3852
|
}
|
|
4036
3853
|
};
|
|
4037
3854
|
const deserializeAws_json1_1GetCalendarStateCommand = async (output, context) => {
|
|
@@ -4053,7 +3870,6 @@ const deserializeAws_json1_1GetCalendarStateCommandError = async (output, contex
|
|
|
4053
3870
|
...output,
|
|
4054
3871
|
body: await parseBody(output.body, context),
|
|
4055
3872
|
};
|
|
4056
|
-
let response;
|
|
4057
3873
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4058
3874
|
switch (errorCode) {
|
|
4059
3875
|
case "InternalServerError":
|
|
@@ -4070,14 +3886,12 @@ const deserializeAws_json1_1GetCalendarStateCommandError = async (output, contex
|
|
|
4070
3886
|
throw await deserializeAws_json1_1UnsupportedCalendarExceptionResponse(parsedOutput, context);
|
|
4071
3887
|
default:
|
|
4072
3888
|
const parsedBody = parsedOutput.body;
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
$metadata,
|
|
3889
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3890
|
+
output,
|
|
3891
|
+
parsedBody,
|
|
3892
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3893
|
+
errorCode,
|
|
4079
3894
|
});
|
|
4080
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4081
3895
|
}
|
|
4082
3896
|
};
|
|
4083
3897
|
const deserializeAws_json1_1GetCommandInvocationCommand = async (output, context) => {
|
|
@@ -4099,7 +3913,6 @@ const deserializeAws_json1_1GetCommandInvocationCommandError = async (output, co
|
|
|
4099
3913
|
...output,
|
|
4100
3914
|
body: await parseBody(output.body, context),
|
|
4101
3915
|
};
|
|
4102
|
-
let response;
|
|
4103
3916
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4104
3917
|
switch (errorCode) {
|
|
4105
3918
|
case "InternalServerError":
|
|
@@ -4119,14 +3932,12 @@ const deserializeAws_json1_1GetCommandInvocationCommandError = async (output, co
|
|
|
4119
3932
|
throw await deserializeAws_json1_1InvocationDoesNotExistResponse(parsedOutput, context);
|
|
4120
3933
|
default:
|
|
4121
3934
|
const parsedBody = parsedOutput.body;
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
$metadata,
|
|
3935
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3936
|
+
output,
|
|
3937
|
+
parsedBody,
|
|
3938
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3939
|
+
errorCode,
|
|
4128
3940
|
});
|
|
4129
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4130
3941
|
}
|
|
4131
3942
|
};
|
|
4132
3943
|
const deserializeAws_json1_1GetConnectionStatusCommand = async (output, context) => {
|
|
@@ -4148,7 +3959,6 @@ const deserializeAws_json1_1GetConnectionStatusCommandError = async (output, con
|
|
|
4148
3959
|
...output,
|
|
4149
3960
|
body: await parseBody(output.body, context),
|
|
4150
3961
|
};
|
|
4151
|
-
let response;
|
|
4152
3962
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4153
3963
|
switch (errorCode) {
|
|
4154
3964
|
case "InternalServerError":
|
|
@@ -4156,14 +3966,12 @@ const deserializeAws_json1_1GetConnectionStatusCommandError = async (output, con
|
|
|
4156
3966
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4157
3967
|
default:
|
|
4158
3968
|
const parsedBody = parsedOutput.body;
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
$metadata,
|
|
3969
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3970
|
+
output,
|
|
3971
|
+
parsedBody,
|
|
3972
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
3973
|
+
errorCode,
|
|
4165
3974
|
});
|
|
4166
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4167
3975
|
}
|
|
4168
3976
|
};
|
|
4169
3977
|
const deserializeAws_json1_1GetDefaultPatchBaselineCommand = async (output, context) => {
|
|
@@ -4185,7 +3993,6 @@ const deserializeAws_json1_1GetDefaultPatchBaselineCommandError = async (output,
|
|
|
4185
3993
|
...output,
|
|
4186
3994
|
body: await parseBody(output.body, context),
|
|
4187
3995
|
};
|
|
4188
|
-
let response;
|
|
4189
3996
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4190
3997
|
switch (errorCode) {
|
|
4191
3998
|
case "InternalServerError":
|
|
@@ -4193,14 +4000,12 @@ const deserializeAws_json1_1GetDefaultPatchBaselineCommandError = async (output,
|
|
|
4193
4000
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4194
4001
|
default:
|
|
4195
4002
|
const parsedBody = parsedOutput.body;
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
$metadata,
|
|
4003
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4004
|
+
output,
|
|
4005
|
+
parsedBody,
|
|
4006
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4007
|
+
errorCode,
|
|
4202
4008
|
});
|
|
4203
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4204
4009
|
}
|
|
4205
4010
|
};
|
|
4206
4011
|
const deserializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommand = async (output, context) => {
|
|
@@ -4222,7 +4027,6 @@ const deserializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommandError =
|
|
|
4222
4027
|
...output,
|
|
4223
4028
|
body: await parseBody(output.body, context),
|
|
4224
4029
|
};
|
|
4225
|
-
let response;
|
|
4226
4030
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4227
4031
|
switch (errorCode) {
|
|
4228
4032
|
case "InternalServerError":
|
|
@@ -4236,14 +4040,12 @@ const deserializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommandError =
|
|
|
4236
4040
|
throw await deserializeAws_json1_1UnsupportedOperatingSystemResponse(parsedOutput, context);
|
|
4237
4041
|
default:
|
|
4238
4042
|
const parsedBody = parsedOutput.body;
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
$metadata,
|
|
4043
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4044
|
+
output,
|
|
4045
|
+
parsedBody,
|
|
4046
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4047
|
+
errorCode,
|
|
4245
4048
|
});
|
|
4246
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4247
4049
|
}
|
|
4248
4050
|
};
|
|
4249
4051
|
const deserializeAws_json1_1GetDocumentCommand = async (output, context) => {
|
|
@@ -4265,7 +4067,6 @@ const deserializeAws_json1_1GetDocumentCommandError = async (output, context) =>
|
|
|
4265
4067
|
...output,
|
|
4266
4068
|
body: await parseBody(output.body, context),
|
|
4267
4069
|
};
|
|
4268
|
-
let response;
|
|
4269
4070
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4270
4071
|
switch (errorCode) {
|
|
4271
4072
|
case "InternalServerError":
|
|
@@ -4279,14 +4080,12 @@ const deserializeAws_json1_1GetDocumentCommandError = async (output, context) =>
|
|
|
4279
4080
|
throw await deserializeAws_json1_1InvalidDocumentVersionResponse(parsedOutput, context);
|
|
4280
4081
|
default:
|
|
4281
4082
|
const parsedBody = parsedOutput.body;
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
$metadata,
|
|
4083
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4084
|
+
output,
|
|
4085
|
+
parsedBody,
|
|
4086
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4087
|
+
errorCode,
|
|
4288
4088
|
});
|
|
4289
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4290
4089
|
}
|
|
4291
4090
|
};
|
|
4292
4091
|
const deserializeAws_json1_1GetInventoryCommand = async (output, context) => {
|
|
@@ -4308,7 +4107,6 @@ const deserializeAws_json1_1GetInventoryCommandError = async (output, context) =
|
|
|
4308
4107
|
...output,
|
|
4309
4108
|
body: await parseBody(output.body, context),
|
|
4310
4109
|
};
|
|
4311
|
-
let response;
|
|
4312
4110
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4313
4111
|
switch (errorCode) {
|
|
4314
4112
|
case "InternalServerError":
|
|
@@ -4334,14 +4132,12 @@ const deserializeAws_json1_1GetInventoryCommandError = async (output, context) =
|
|
|
4334
4132
|
throw await deserializeAws_json1_1InvalidTypeNameExceptionResponse(parsedOutput, context);
|
|
4335
4133
|
default:
|
|
4336
4134
|
const parsedBody = parsedOutput.body;
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
$metadata,
|
|
4135
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4136
|
+
output,
|
|
4137
|
+
parsedBody,
|
|
4138
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4139
|
+
errorCode,
|
|
4343
4140
|
});
|
|
4344
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4345
4141
|
}
|
|
4346
4142
|
};
|
|
4347
4143
|
const deserializeAws_json1_1GetInventorySchemaCommand = async (output, context) => {
|
|
@@ -4363,7 +4159,6 @@ const deserializeAws_json1_1GetInventorySchemaCommandError = async (output, cont
|
|
|
4363
4159
|
...output,
|
|
4364
4160
|
body: await parseBody(output.body, context),
|
|
4365
4161
|
};
|
|
4366
|
-
let response;
|
|
4367
4162
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4368
4163
|
switch (errorCode) {
|
|
4369
4164
|
case "InternalServerError":
|
|
@@ -4377,14 +4172,12 @@ const deserializeAws_json1_1GetInventorySchemaCommandError = async (output, cont
|
|
|
4377
4172
|
throw await deserializeAws_json1_1InvalidTypeNameExceptionResponse(parsedOutput, context);
|
|
4378
4173
|
default:
|
|
4379
4174
|
const parsedBody = parsedOutput.body;
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
$metadata,
|
|
4175
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4176
|
+
output,
|
|
4177
|
+
parsedBody,
|
|
4178
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4179
|
+
errorCode,
|
|
4386
4180
|
});
|
|
4387
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4388
4181
|
}
|
|
4389
4182
|
};
|
|
4390
4183
|
const deserializeAws_json1_1GetMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -4406,7 +4199,6 @@ const deserializeAws_json1_1GetMaintenanceWindowCommandError = async (output, co
|
|
|
4406
4199
|
...output,
|
|
4407
4200
|
body: await parseBody(output.body, context),
|
|
4408
4201
|
};
|
|
4409
|
-
let response;
|
|
4410
4202
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4411
4203
|
switch (errorCode) {
|
|
4412
4204
|
case "DoesNotExistException":
|
|
@@ -4417,14 +4209,12 @@ const deserializeAws_json1_1GetMaintenanceWindowCommandError = async (output, co
|
|
|
4417
4209
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4418
4210
|
default:
|
|
4419
4211
|
const parsedBody = parsedOutput.body;
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
$metadata,
|
|
4212
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4213
|
+
output,
|
|
4214
|
+
parsedBody,
|
|
4215
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4216
|
+
errorCode,
|
|
4426
4217
|
});
|
|
4427
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4428
4218
|
}
|
|
4429
4219
|
};
|
|
4430
4220
|
const deserializeAws_json1_1GetMaintenanceWindowExecutionCommand = async (output, context) => {
|
|
@@ -4446,7 +4236,6 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionCommandError = async (o
|
|
|
4446
4236
|
...output,
|
|
4447
4237
|
body: await parseBody(output.body, context),
|
|
4448
4238
|
};
|
|
4449
|
-
let response;
|
|
4450
4239
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4451
4240
|
switch (errorCode) {
|
|
4452
4241
|
case "DoesNotExistException":
|
|
@@ -4457,14 +4246,12 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionCommandError = async (o
|
|
|
4457
4246
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4458
4247
|
default:
|
|
4459
4248
|
const parsedBody = parsedOutput.body;
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
$metadata,
|
|
4249
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4250
|
+
output,
|
|
4251
|
+
parsedBody,
|
|
4252
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4253
|
+
errorCode,
|
|
4466
4254
|
});
|
|
4467
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4468
4255
|
}
|
|
4469
4256
|
};
|
|
4470
4257
|
const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskCommand = async (output, context) => {
|
|
@@ -4486,7 +4273,6 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskCommandError = asyn
|
|
|
4486
4273
|
...output,
|
|
4487
4274
|
body: await parseBody(output.body, context),
|
|
4488
4275
|
};
|
|
4489
|
-
let response;
|
|
4490
4276
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4491
4277
|
switch (errorCode) {
|
|
4492
4278
|
case "DoesNotExistException":
|
|
@@ -4497,14 +4283,12 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskCommandError = asyn
|
|
|
4497
4283
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4498
4284
|
default:
|
|
4499
4285
|
const parsedBody = parsedOutput.body;
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
$metadata,
|
|
4286
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4287
|
+
output,
|
|
4288
|
+
parsedBody,
|
|
4289
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4290
|
+
errorCode,
|
|
4506
4291
|
});
|
|
4507
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4508
4292
|
}
|
|
4509
4293
|
};
|
|
4510
4294
|
const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommand = async (output, context) => {
|
|
@@ -4526,7 +4310,6 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommandEr
|
|
|
4526
4310
|
...output,
|
|
4527
4311
|
body: await parseBody(output.body, context),
|
|
4528
4312
|
};
|
|
4529
|
-
let response;
|
|
4530
4313
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4531
4314
|
switch (errorCode) {
|
|
4532
4315
|
case "DoesNotExistException":
|
|
@@ -4537,14 +4320,12 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommandEr
|
|
|
4537
4320
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4538
4321
|
default:
|
|
4539
4322
|
const parsedBody = parsedOutput.body;
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
$metadata,
|
|
4323
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4324
|
+
output,
|
|
4325
|
+
parsedBody,
|
|
4326
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4327
|
+
errorCode,
|
|
4546
4328
|
});
|
|
4547
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4548
4329
|
}
|
|
4549
4330
|
};
|
|
4550
4331
|
const deserializeAws_json1_1GetMaintenanceWindowTaskCommand = async (output, context) => {
|
|
@@ -4566,7 +4347,6 @@ const deserializeAws_json1_1GetMaintenanceWindowTaskCommandError = async (output
|
|
|
4566
4347
|
...output,
|
|
4567
4348
|
body: await parseBody(output.body, context),
|
|
4568
4349
|
};
|
|
4569
|
-
let response;
|
|
4570
4350
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4571
4351
|
switch (errorCode) {
|
|
4572
4352
|
case "DoesNotExistException":
|
|
@@ -4577,14 +4357,12 @@ const deserializeAws_json1_1GetMaintenanceWindowTaskCommandError = async (output
|
|
|
4577
4357
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4578
4358
|
default:
|
|
4579
4359
|
const parsedBody = parsedOutput.body;
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
$metadata,
|
|
4360
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4361
|
+
output,
|
|
4362
|
+
parsedBody,
|
|
4363
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4364
|
+
errorCode,
|
|
4586
4365
|
});
|
|
4587
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4588
4366
|
}
|
|
4589
4367
|
};
|
|
4590
4368
|
const deserializeAws_json1_1GetOpsItemCommand = async (output, context) => {
|
|
@@ -4606,7 +4384,6 @@ const deserializeAws_json1_1GetOpsItemCommandError = async (output, context) =>
|
|
|
4606
4384
|
...output,
|
|
4607
4385
|
body: await parseBody(output.body, context),
|
|
4608
4386
|
};
|
|
4609
|
-
let response;
|
|
4610
4387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4611
4388
|
switch (errorCode) {
|
|
4612
4389
|
case "InternalServerError":
|
|
@@ -4617,14 +4394,12 @@ const deserializeAws_json1_1GetOpsItemCommandError = async (output, context) =>
|
|
|
4617
4394
|
throw await deserializeAws_json1_1OpsItemNotFoundExceptionResponse(parsedOutput, context);
|
|
4618
4395
|
default:
|
|
4619
4396
|
const parsedBody = parsedOutput.body;
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
$metadata,
|
|
4397
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4398
|
+
output,
|
|
4399
|
+
parsedBody,
|
|
4400
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4401
|
+
errorCode,
|
|
4626
4402
|
});
|
|
4627
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4628
4403
|
}
|
|
4629
4404
|
};
|
|
4630
4405
|
const deserializeAws_json1_1GetOpsMetadataCommand = async (output, context) => {
|
|
@@ -4646,7 +4421,6 @@ const deserializeAws_json1_1GetOpsMetadataCommandError = async (output, context)
|
|
|
4646
4421
|
...output,
|
|
4647
4422
|
body: await parseBody(output.body, context),
|
|
4648
4423
|
};
|
|
4649
|
-
let response;
|
|
4650
4424
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4651
4425
|
switch (errorCode) {
|
|
4652
4426
|
case "InternalServerError":
|
|
@@ -4660,14 +4434,12 @@ const deserializeAws_json1_1GetOpsMetadataCommandError = async (output, context)
|
|
|
4660
4434
|
throw await deserializeAws_json1_1OpsMetadataNotFoundExceptionResponse(parsedOutput, context);
|
|
4661
4435
|
default:
|
|
4662
4436
|
const parsedBody = parsedOutput.body;
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
$metadata,
|
|
4437
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4438
|
+
output,
|
|
4439
|
+
parsedBody,
|
|
4440
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4441
|
+
errorCode,
|
|
4669
4442
|
});
|
|
4670
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4671
4443
|
}
|
|
4672
4444
|
};
|
|
4673
4445
|
const deserializeAws_json1_1GetOpsSummaryCommand = async (output, context) => {
|
|
@@ -4689,7 +4461,6 @@ const deserializeAws_json1_1GetOpsSummaryCommandError = async (output, context)
|
|
|
4689
4461
|
...output,
|
|
4690
4462
|
body: await parseBody(output.body, context),
|
|
4691
4463
|
};
|
|
4692
|
-
let response;
|
|
4693
4464
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4694
4465
|
switch (errorCode) {
|
|
4695
4466
|
case "InternalServerError":
|
|
@@ -4712,14 +4483,12 @@ const deserializeAws_json1_1GetOpsSummaryCommandError = async (output, context)
|
|
|
4712
4483
|
throw await deserializeAws_json1_1ResourceDataSyncNotFoundExceptionResponse(parsedOutput, context);
|
|
4713
4484
|
default:
|
|
4714
4485
|
const parsedBody = parsedOutput.body;
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
$metadata,
|
|
4486
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4487
|
+
output,
|
|
4488
|
+
parsedBody,
|
|
4489
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4490
|
+
errorCode,
|
|
4721
4491
|
});
|
|
4722
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4723
4492
|
}
|
|
4724
4493
|
};
|
|
4725
4494
|
const deserializeAws_json1_1GetParameterCommand = async (output, context) => {
|
|
@@ -4741,7 +4510,6 @@ const deserializeAws_json1_1GetParameterCommandError = async (output, context) =
|
|
|
4741
4510
|
...output,
|
|
4742
4511
|
body: await parseBody(output.body, context),
|
|
4743
4512
|
};
|
|
4744
|
-
let response;
|
|
4745
4513
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4746
4514
|
switch (errorCode) {
|
|
4747
4515
|
case "InternalServerError":
|
|
@@ -4758,14 +4526,12 @@ const deserializeAws_json1_1GetParameterCommandError = async (output, context) =
|
|
|
4758
4526
|
throw await deserializeAws_json1_1ParameterVersionNotFoundResponse(parsedOutput, context);
|
|
4759
4527
|
default:
|
|
4760
4528
|
const parsedBody = parsedOutput.body;
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
$metadata,
|
|
4529
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4530
|
+
output,
|
|
4531
|
+
parsedBody,
|
|
4532
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4533
|
+
errorCode,
|
|
4767
4534
|
});
|
|
4768
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4769
4535
|
}
|
|
4770
4536
|
};
|
|
4771
4537
|
const deserializeAws_json1_1GetParameterHistoryCommand = async (output, context) => {
|
|
@@ -4787,7 +4553,6 @@ const deserializeAws_json1_1GetParameterHistoryCommandError = async (output, con
|
|
|
4787
4553
|
...output,
|
|
4788
4554
|
body: await parseBody(output.body, context),
|
|
4789
4555
|
};
|
|
4790
|
-
let response;
|
|
4791
4556
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4792
4557
|
switch (errorCode) {
|
|
4793
4558
|
case "InternalServerError":
|
|
@@ -4804,14 +4569,12 @@ const deserializeAws_json1_1GetParameterHistoryCommandError = async (output, con
|
|
|
4804
4569
|
throw await deserializeAws_json1_1ParameterNotFoundResponse(parsedOutput, context);
|
|
4805
4570
|
default:
|
|
4806
4571
|
const parsedBody = parsedOutput.body;
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
$metadata,
|
|
4572
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4573
|
+
output,
|
|
4574
|
+
parsedBody,
|
|
4575
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4576
|
+
errorCode,
|
|
4813
4577
|
});
|
|
4814
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4815
4578
|
}
|
|
4816
4579
|
};
|
|
4817
4580
|
const deserializeAws_json1_1GetParametersCommand = async (output, context) => {
|
|
@@ -4833,7 +4596,6 @@ const deserializeAws_json1_1GetParametersCommandError = async (output, context)
|
|
|
4833
4596
|
...output,
|
|
4834
4597
|
body: await parseBody(output.body, context),
|
|
4835
4598
|
};
|
|
4836
|
-
let response;
|
|
4837
4599
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4838
4600
|
switch (errorCode) {
|
|
4839
4601
|
case "InternalServerError":
|
|
@@ -4844,14 +4606,12 @@ const deserializeAws_json1_1GetParametersCommandError = async (output, context)
|
|
|
4844
4606
|
throw await deserializeAws_json1_1InvalidKeyIdResponse(parsedOutput, context);
|
|
4845
4607
|
default:
|
|
4846
4608
|
const parsedBody = parsedOutput.body;
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
$metadata,
|
|
4609
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4610
|
+
output,
|
|
4611
|
+
parsedBody,
|
|
4612
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4613
|
+
errorCode,
|
|
4853
4614
|
});
|
|
4854
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4855
4615
|
}
|
|
4856
4616
|
};
|
|
4857
4617
|
const deserializeAws_json1_1GetParametersByPathCommand = async (output, context) => {
|
|
@@ -4873,7 +4633,6 @@ const deserializeAws_json1_1GetParametersByPathCommandError = async (output, con
|
|
|
4873
4633
|
...output,
|
|
4874
4634
|
body: await parseBody(output.body, context),
|
|
4875
4635
|
};
|
|
4876
|
-
let response;
|
|
4877
4636
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4878
4637
|
switch (errorCode) {
|
|
4879
4638
|
case "InternalServerError":
|
|
@@ -4896,14 +4655,12 @@ const deserializeAws_json1_1GetParametersByPathCommandError = async (output, con
|
|
|
4896
4655
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
4897
4656
|
default:
|
|
4898
4657
|
const parsedBody = parsedOutput.body;
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
$metadata,
|
|
4658
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4659
|
+
output,
|
|
4660
|
+
parsedBody,
|
|
4661
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4662
|
+
errorCode,
|
|
4905
4663
|
});
|
|
4906
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4907
4664
|
}
|
|
4908
4665
|
};
|
|
4909
4666
|
const deserializeAws_json1_1GetPatchBaselineCommand = async (output, context) => {
|
|
@@ -4925,7 +4682,6 @@ const deserializeAws_json1_1GetPatchBaselineCommandError = async (output, contex
|
|
|
4925
4682
|
...output,
|
|
4926
4683
|
body: await parseBody(output.body, context),
|
|
4927
4684
|
};
|
|
4928
|
-
let response;
|
|
4929
4685
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4930
4686
|
switch (errorCode) {
|
|
4931
4687
|
case "DoesNotExistException":
|
|
@@ -4939,14 +4695,12 @@ const deserializeAws_json1_1GetPatchBaselineCommandError = async (output, contex
|
|
|
4939
4695
|
throw await deserializeAws_json1_1InvalidResourceIdResponse(parsedOutput, context);
|
|
4940
4696
|
default:
|
|
4941
4697
|
const parsedBody = parsedOutput.body;
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
$metadata,
|
|
4698
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4699
|
+
output,
|
|
4700
|
+
parsedBody,
|
|
4701
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4702
|
+
errorCode,
|
|
4948
4703
|
});
|
|
4949
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4950
4704
|
}
|
|
4951
4705
|
};
|
|
4952
4706
|
const deserializeAws_json1_1GetPatchBaselineForPatchGroupCommand = async (output, context) => {
|
|
@@ -4968,7 +4722,6 @@ const deserializeAws_json1_1GetPatchBaselineForPatchGroupCommandError = async (o
|
|
|
4968
4722
|
...output,
|
|
4969
4723
|
body: await parseBody(output.body, context),
|
|
4970
4724
|
};
|
|
4971
|
-
let response;
|
|
4972
4725
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4973
4726
|
switch (errorCode) {
|
|
4974
4727
|
case "InternalServerError":
|
|
@@ -4976,14 +4729,12 @@ const deserializeAws_json1_1GetPatchBaselineForPatchGroupCommandError = async (o
|
|
|
4976
4729
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4977
4730
|
default:
|
|
4978
4731
|
const parsedBody = parsedOutput.body;
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
$metadata,
|
|
4732
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4733
|
+
output,
|
|
4734
|
+
parsedBody,
|
|
4735
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4736
|
+
errorCode,
|
|
4985
4737
|
});
|
|
4986
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4987
4738
|
}
|
|
4988
4739
|
};
|
|
4989
4740
|
const deserializeAws_json1_1GetServiceSettingCommand = async (output, context) => {
|
|
@@ -5005,7 +4756,6 @@ const deserializeAws_json1_1GetServiceSettingCommandError = async (output, conte
|
|
|
5005
4756
|
...output,
|
|
5006
4757
|
body: await parseBody(output.body, context),
|
|
5007
4758
|
};
|
|
5008
|
-
let response;
|
|
5009
4759
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5010
4760
|
switch (errorCode) {
|
|
5011
4761
|
case "InternalServerError":
|
|
@@ -5016,14 +4766,12 @@ const deserializeAws_json1_1GetServiceSettingCommandError = async (output, conte
|
|
|
5016
4766
|
throw await deserializeAws_json1_1ServiceSettingNotFoundResponse(parsedOutput, context);
|
|
5017
4767
|
default:
|
|
5018
4768
|
const parsedBody = parsedOutput.body;
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
$metadata,
|
|
4769
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4770
|
+
output,
|
|
4771
|
+
parsedBody,
|
|
4772
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4773
|
+
errorCode,
|
|
5025
4774
|
});
|
|
5026
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5027
4775
|
}
|
|
5028
4776
|
};
|
|
5029
4777
|
const deserializeAws_json1_1LabelParameterVersionCommand = async (output, context) => {
|
|
@@ -5045,7 +4793,6 @@ const deserializeAws_json1_1LabelParameterVersionCommandError = async (output, c
|
|
|
5045
4793
|
...output,
|
|
5046
4794
|
body: await parseBody(output.body, context),
|
|
5047
4795
|
};
|
|
5048
|
-
let response;
|
|
5049
4796
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5050
4797
|
switch (errorCode) {
|
|
5051
4798
|
case "InternalServerError":
|
|
@@ -5065,14 +4812,12 @@ const deserializeAws_json1_1LabelParameterVersionCommandError = async (output, c
|
|
|
5065
4812
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
5066
4813
|
default:
|
|
5067
4814
|
const parsedBody = parsedOutput.body;
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
$metadata,
|
|
4815
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4816
|
+
output,
|
|
4817
|
+
parsedBody,
|
|
4818
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4819
|
+
errorCode,
|
|
5074
4820
|
});
|
|
5075
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5076
4821
|
}
|
|
5077
4822
|
};
|
|
5078
4823
|
const deserializeAws_json1_1ListAssociationsCommand = async (output, context) => {
|
|
@@ -5094,7 +4839,6 @@ const deserializeAws_json1_1ListAssociationsCommandError = async (output, contex
|
|
|
5094
4839
|
...output,
|
|
5095
4840
|
body: await parseBody(output.body, context),
|
|
5096
4841
|
};
|
|
5097
|
-
let response;
|
|
5098
4842
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5099
4843
|
switch (errorCode) {
|
|
5100
4844
|
case "InternalServerError":
|
|
@@ -5105,14 +4849,12 @@ const deserializeAws_json1_1ListAssociationsCommandError = async (output, contex
|
|
|
5105
4849
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5106
4850
|
default:
|
|
5107
4851
|
const parsedBody = parsedOutput.body;
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
$metadata,
|
|
4852
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4853
|
+
output,
|
|
4854
|
+
parsedBody,
|
|
4855
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4856
|
+
errorCode,
|
|
5114
4857
|
});
|
|
5115
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5116
4858
|
}
|
|
5117
4859
|
};
|
|
5118
4860
|
const deserializeAws_json1_1ListAssociationVersionsCommand = async (output, context) => {
|
|
@@ -5134,7 +4876,6 @@ const deserializeAws_json1_1ListAssociationVersionsCommandError = async (output,
|
|
|
5134
4876
|
...output,
|
|
5135
4877
|
body: await parseBody(output.body, context),
|
|
5136
4878
|
};
|
|
5137
|
-
let response;
|
|
5138
4879
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5139
4880
|
switch (errorCode) {
|
|
5140
4881
|
case "AssociationDoesNotExist":
|
|
@@ -5148,14 +4889,12 @@ const deserializeAws_json1_1ListAssociationVersionsCommandError = async (output,
|
|
|
5148
4889
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5149
4890
|
default:
|
|
5150
4891
|
const parsedBody = parsedOutput.body;
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
$metadata,
|
|
4892
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4893
|
+
output,
|
|
4894
|
+
parsedBody,
|
|
4895
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4896
|
+
errorCode,
|
|
5157
4897
|
});
|
|
5158
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5159
4898
|
}
|
|
5160
4899
|
};
|
|
5161
4900
|
const deserializeAws_json1_1ListCommandInvocationsCommand = async (output, context) => {
|
|
@@ -5177,7 +4916,6 @@ const deserializeAws_json1_1ListCommandInvocationsCommandError = async (output,
|
|
|
5177
4916
|
...output,
|
|
5178
4917
|
body: await parseBody(output.body, context),
|
|
5179
4918
|
};
|
|
5180
|
-
let response;
|
|
5181
4919
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5182
4920
|
switch (errorCode) {
|
|
5183
4921
|
case "InternalServerError":
|
|
@@ -5197,14 +4935,12 @@ const deserializeAws_json1_1ListCommandInvocationsCommandError = async (output,
|
|
|
5197
4935
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5198
4936
|
default:
|
|
5199
4937
|
const parsedBody = parsedOutput.body;
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
$metadata,
|
|
4938
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4939
|
+
output,
|
|
4940
|
+
parsedBody,
|
|
4941
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4942
|
+
errorCode,
|
|
5206
4943
|
});
|
|
5207
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5208
4944
|
}
|
|
5209
4945
|
};
|
|
5210
4946
|
const deserializeAws_json1_1ListCommandsCommand = async (output, context) => {
|
|
@@ -5226,7 +4962,6 @@ const deserializeAws_json1_1ListCommandsCommandError = async (output, context) =
|
|
|
5226
4962
|
...output,
|
|
5227
4963
|
body: await parseBody(output.body, context),
|
|
5228
4964
|
};
|
|
5229
|
-
let response;
|
|
5230
4965
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5231
4966
|
switch (errorCode) {
|
|
5232
4967
|
case "InternalServerError":
|
|
@@ -5246,14 +4981,12 @@ const deserializeAws_json1_1ListCommandsCommandError = async (output, context) =
|
|
|
5246
4981
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5247
4982
|
default:
|
|
5248
4983
|
const parsedBody = parsedOutput.body;
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
$metadata,
|
|
4984
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4985
|
+
output,
|
|
4986
|
+
parsedBody,
|
|
4987
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4988
|
+
errorCode,
|
|
5255
4989
|
});
|
|
5256
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5257
4990
|
}
|
|
5258
4991
|
};
|
|
5259
4992
|
const deserializeAws_json1_1ListComplianceItemsCommand = async (output, context) => {
|
|
@@ -5275,7 +5008,6 @@ const deserializeAws_json1_1ListComplianceItemsCommandError = async (output, con
|
|
|
5275
5008
|
...output,
|
|
5276
5009
|
body: await parseBody(output.body, context),
|
|
5277
5010
|
};
|
|
5278
|
-
let response;
|
|
5279
5011
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5280
5012
|
switch (errorCode) {
|
|
5281
5013
|
case "InternalServerError":
|
|
@@ -5295,14 +5027,12 @@ const deserializeAws_json1_1ListComplianceItemsCommandError = async (output, con
|
|
|
5295
5027
|
throw await deserializeAws_json1_1InvalidResourceTypeResponse(parsedOutput, context);
|
|
5296
5028
|
default:
|
|
5297
5029
|
const parsedBody = parsedOutput.body;
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
$metadata,
|
|
5030
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5031
|
+
output,
|
|
5032
|
+
parsedBody,
|
|
5033
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5034
|
+
errorCode,
|
|
5304
5035
|
});
|
|
5305
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5306
5036
|
}
|
|
5307
5037
|
};
|
|
5308
5038
|
const deserializeAws_json1_1ListComplianceSummariesCommand = async (output, context) => {
|
|
@@ -5324,7 +5054,6 @@ const deserializeAws_json1_1ListComplianceSummariesCommandError = async (output,
|
|
|
5324
5054
|
...output,
|
|
5325
5055
|
body: await parseBody(output.body, context),
|
|
5326
5056
|
};
|
|
5327
|
-
let response;
|
|
5328
5057
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5329
5058
|
switch (errorCode) {
|
|
5330
5059
|
case "InternalServerError":
|
|
@@ -5338,14 +5067,12 @@ const deserializeAws_json1_1ListComplianceSummariesCommandError = async (output,
|
|
|
5338
5067
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5339
5068
|
default:
|
|
5340
5069
|
const parsedBody = parsedOutput.body;
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
$metadata,
|
|
5070
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5071
|
+
output,
|
|
5072
|
+
parsedBody,
|
|
5073
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5074
|
+
errorCode,
|
|
5347
5075
|
});
|
|
5348
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5349
5076
|
}
|
|
5350
5077
|
};
|
|
5351
5078
|
const deserializeAws_json1_1ListDocumentMetadataHistoryCommand = async (output, context) => {
|
|
@@ -5367,7 +5094,6 @@ const deserializeAws_json1_1ListDocumentMetadataHistoryCommandError = async (out
|
|
|
5367
5094
|
...output,
|
|
5368
5095
|
body: await parseBody(output.body, context),
|
|
5369
5096
|
};
|
|
5370
|
-
let response;
|
|
5371
5097
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5372
5098
|
switch (errorCode) {
|
|
5373
5099
|
case "InternalServerError":
|
|
@@ -5384,14 +5110,12 @@ const deserializeAws_json1_1ListDocumentMetadataHistoryCommandError = async (out
|
|
|
5384
5110
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5385
5111
|
default:
|
|
5386
5112
|
const parsedBody = parsedOutput.body;
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
$metadata,
|
|
5113
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5114
|
+
output,
|
|
5115
|
+
parsedBody,
|
|
5116
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5117
|
+
errorCode,
|
|
5393
5118
|
});
|
|
5394
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5395
5119
|
}
|
|
5396
5120
|
};
|
|
5397
5121
|
const deserializeAws_json1_1ListDocumentsCommand = async (output, context) => {
|
|
@@ -5413,7 +5137,6 @@ const deserializeAws_json1_1ListDocumentsCommandError = async (output, context)
|
|
|
5413
5137
|
...output,
|
|
5414
5138
|
body: await parseBody(output.body, context),
|
|
5415
5139
|
};
|
|
5416
|
-
let response;
|
|
5417
5140
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5418
5141
|
switch (errorCode) {
|
|
5419
5142
|
case "InternalServerError":
|
|
@@ -5427,14 +5150,12 @@ const deserializeAws_json1_1ListDocumentsCommandError = async (output, context)
|
|
|
5427
5150
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5428
5151
|
default:
|
|
5429
5152
|
const parsedBody = parsedOutput.body;
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
$metadata,
|
|
5153
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5154
|
+
output,
|
|
5155
|
+
parsedBody,
|
|
5156
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5157
|
+
errorCode,
|
|
5436
5158
|
});
|
|
5437
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5438
5159
|
}
|
|
5439
5160
|
};
|
|
5440
5161
|
const deserializeAws_json1_1ListDocumentVersionsCommand = async (output, context) => {
|
|
@@ -5456,7 +5177,6 @@ const deserializeAws_json1_1ListDocumentVersionsCommandError = async (output, co
|
|
|
5456
5177
|
...output,
|
|
5457
5178
|
body: await parseBody(output.body, context),
|
|
5458
5179
|
};
|
|
5459
|
-
let response;
|
|
5460
5180
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5461
5181
|
switch (errorCode) {
|
|
5462
5182
|
case "InternalServerError":
|
|
@@ -5470,14 +5190,12 @@ const deserializeAws_json1_1ListDocumentVersionsCommandError = async (output, co
|
|
|
5470
5190
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5471
5191
|
default:
|
|
5472
5192
|
const parsedBody = parsedOutput.body;
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
$metadata,
|
|
5193
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5194
|
+
output,
|
|
5195
|
+
parsedBody,
|
|
5196
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5197
|
+
errorCode,
|
|
5479
5198
|
});
|
|
5480
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5481
5199
|
}
|
|
5482
5200
|
};
|
|
5483
5201
|
const deserializeAws_json1_1ListInventoryEntriesCommand = async (output, context) => {
|
|
@@ -5499,7 +5217,6 @@ const deserializeAws_json1_1ListInventoryEntriesCommandError = async (output, co
|
|
|
5499
5217
|
...output,
|
|
5500
5218
|
body: await parseBody(output.body, context),
|
|
5501
5219
|
};
|
|
5502
|
-
let response;
|
|
5503
5220
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5504
5221
|
switch (errorCode) {
|
|
5505
5222
|
case "InternalServerError":
|
|
@@ -5519,14 +5236,12 @@ const deserializeAws_json1_1ListInventoryEntriesCommandError = async (output, co
|
|
|
5519
5236
|
throw await deserializeAws_json1_1InvalidTypeNameExceptionResponse(parsedOutput, context);
|
|
5520
5237
|
default:
|
|
5521
5238
|
const parsedBody = parsedOutput.body;
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
$metadata,
|
|
5239
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5240
|
+
output,
|
|
5241
|
+
parsedBody,
|
|
5242
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5243
|
+
errorCode,
|
|
5528
5244
|
});
|
|
5529
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5530
5245
|
}
|
|
5531
5246
|
};
|
|
5532
5247
|
const deserializeAws_json1_1ListOpsItemEventsCommand = async (output, context) => {
|
|
@@ -5548,7 +5263,6 @@ const deserializeAws_json1_1ListOpsItemEventsCommandError = async (output, conte
|
|
|
5548
5263
|
...output,
|
|
5549
5264
|
body: await parseBody(output.body, context),
|
|
5550
5265
|
};
|
|
5551
|
-
let response;
|
|
5552
5266
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5553
5267
|
switch (errorCode) {
|
|
5554
5268
|
case "InternalServerError":
|
|
@@ -5565,14 +5279,12 @@ const deserializeAws_json1_1ListOpsItemEventsCommandError = async (output, conte
|
|
|
5565
5279
|
throw await deserializeAws_json1_1OpsItemNotFoundExceptionResponse(parsedOutput, context);
|
|
5566
5280
|
default:
|
|
5567
5281
|
const parsedBody = parsedOutput.body;
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
$metadata,
|
|
5282
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5283
|
+
output,
|
|
5284
|
+
parsedBody,
|
|
5285
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5286
|
+
errorCode,
|
|
5574
5287
|
});
|
|
5575
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5576
5288
|
}
|
|
5577
5289
|
};
|
|
5578
5290
|
const deserializeAws_json1_1ListOpsItemRelatedItemsCommand = async (output, context) => {
|
|
@@ -5594,7 +5306,6 @@ const deserializeAws_json1_1ListOpsItemRelatedItemsCommandError = async (output,
|
|
|
5594
5306
|
...output,
|
|
5595
5307
|
body: await parseBody(output.body, context),
|
|
5596
5308
|
};
|
|
5597
|
-
let response;
|
|
5598
5309
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5599
5310
|
switch (errorCode) {
|
|
5600
5311
|
case "InternalServerError":
|
|
@@ -5605,14 +5316,12 @@ const deserializeAws_json1_1ListOpsItemRelatedItemsCommandError = async (output,
|
|
|
5605
5316
|
throw await deserializeAws_json1_1OpsItemInvalidParameterExceptionResponse(parsedOutput, context);
|
|
5606
5317
|
default:
|
|
5607
5318
|
const parsedBody = parsedOutput.body;
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
$metadata,
|
|
5319
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5320
|
+
output,
|
|
5321
|
+
parsedBody,
|
|
5322
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5323
|
+
errorCode,
|
|
5614
5324
|
});
|
|
5615
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5616
5325
|
}
|
|
5617
5326
|
};
|
|
5618
5327
|
const deserializeAws_json1_1ListOpsMetadataCommand = async (output, context) => {
|
|
@@ -5634,7 +5343,6 @@ const deserializeAws_json1_1ListOpsMetadataCommandError = async (output, context
|
|
|
5634
5343
|
...output,
|
|
5635
5344
|
body: await parseBody(output.body, context),
|
|
5636
5345
|
};
|
|
5637
|
-
let response;
|
|
5638
5346
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5639
5347
|
switch (errorCode) {
|
|
5640
5348
|
case "InternalServerError":
|
|
@@ -5645,14 +5353,12 @@ const deserializeAws_json1_1ListOpsMetadataCommandError = async (output, context
|
|
|
5645
5353
|
throw await deserializeAws_json1_1OpsMetadataInvalidArgumentExceptionResponse(parsedOutput, context);
|
|
5646
5354
|
default:
|
|
5647
5355
|
const parsedBody = parsedOutput.body;
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
$metadata,
|
|
5356
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5357
|
+
output,
|
|
5358
|
+
parsedBody,
|
|
5359
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5360
|
+
errorCode,
|
|
5654
5361
|
});
|
|
5655
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5656
5362
|
}
|
|
5657
5363
|
};
|
|
5658
5364
|
const deserializeAws_json1_1ListResourceComplianceSummariesCommand = async (output, context) => {
|
|
@@ -5674,7 +5380,6 @@ const deserializeAws_json1_1ListResourceComplianceSummariesCommandError = async
|
|
|
5674
5380
|
...output,
|
|
5675
5381
|
body: await parseBody(output.body, context),
|
|
5676
5382
|
};
|
|
5677
|
-
let response;
|
|
5678
5383
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5679
5384
|
switch (errorCode) {
|
|
5680
5385
|
case "InternalServerError":
|
|
@@ -5688,14 +5393,12 @@ const deserializeAws_json1_1ListResourceComplianceSummariesCommandError = async
|
|
|
5688
5393
|
throw await deserializeAws_json1_1InvalidNextTokenResponse(parsedOutput, context);
|
|
5689
5394
|
default:
|
|
5690
5395
|
const parsedBody = parsedOutput.body;
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
$metadata,
|
|
5396
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5397
|
+
output,
|
|
5398
|
+
parsedBody,
|
|
5399
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5400
|
+
errorCode,
|
|
5697
5401
|
});
|
|
5698
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5699
5402
|
}
|
|
5700
5403
|
};
|
|
5701
5404
|
const deserializeAws_json1_1ListResourceDataSyncCommand = async (output, context) => {
|
|
@@ -5717,7 +5420,6 @@ const deserializeAws_json1_1ListResourceDataSyncCommandError = async (output, co
|
|
|
5717
5420
|
...output,
|
|
5718
5421
|
body: await parseBody(output.body, context),
|
|
5719
5422
|
};
|
|
5720
|
-
let response;
|
|
5721
5423
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5722
5424
|
switch (errorCode) {
|
|
5723
5425
|
case "InternalServerError":
|
|
@@ -5731,14 +5433,12 @@ const deserializeAws_json1_1ListResourceDataSyncCommandError = async (output, co
|
|
|
5731
5433
|
throw await deserializeAws_json1_1ResourceDataSyncInvalidConfigurationExceptionResponse(parsedOutput, context);
|
|
5732
5434
|
default:
|
|
5733
5435
|
const parsedBody = parsedOutput.body;
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
$metadata,
|
|
5436
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5437
|
+
output,
|
|
5438
|
+
parsedBody,
|
|
5439
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5440
|
+
errorCode,
|
|
5740
5441
|
});
|
|
5741
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5742
5442
|
}
|
|
5743
5443
|
};
|
|
5744
5444
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -5760,7 +5460,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
5760
5460
|
...output,
|
|
5761
5461
|
body: await parseBody(output.body, context),
|
|
5762
5462
|
};
|
|
5763
|
-
let response;
|
|
5764
5463
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5765
5464
|
switch (errorCode) {
|
|
5766
5465
|
case "InternalServerError":
|
|
@@ -5774,14 +5473,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
5774
5473
|
throw await deserializeAws_json1_1InvalidResourceTypeResponse(parsedOutput, context);
|
|
5775
5474
|
default:
|
|
5776
5475
|
const parsedBody = parsedOutput.body;
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
$metadata,
|
|
5476
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5477
|
+
output,
|
|
5478
|
+
parsedBody,
|
|
5479
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5480
|
+
errorCode,
|
|
5783
5481
|
});
|
|
5784
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5785
5482
|
}
|
|
5786
5483
|
};
|
|
5787
5484
|
const deserializeAws_json1_1ModifyDocumentPermissionCommand = async (output, context) => {
|
|
@@ -5803,7 +5500,6 @@ const deserializeAws_json1_1ModifyDocumentPermissionCommandError = async (output
|
|
|
5803
5500
|
...output,
|
|
5804
5501
|
body: await parseBody(output.body, context),
|
|
5805
5502
|
};
|
|
5806
|
-
let response;
|
|
5807
5503
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5808
5504
|
switch (errorCode) {
|
|
5809
5505
|
case "DocumentLimitExceeded":
|
|
@@ -5823,14 +5519,12 @@ const deserializeAws_json1_1ModifyDocumentPermissionCommandError = async (output
|
|
|
5823
5519
|
throw await deserializeAws_json1_1InvalidPermissionTypeResponse(parsedOutput, context);
|
|
5824
5520
|
default:
|
|
5825
5521
|
const parsedBody = parsedOutput.body;
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
$metadata,
|
|
5522
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5523
|
+
output,
|
|
5524
|
+
parsedBody,
|
|
5525
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5526
|
+
errorCode,
|
|
5832
5527
|
});
|
|
5833
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5834
5528
|
}
|
|
5835
5529
|
};
|
|
5836
5530
|
const deserializeAws_json1_1PutComplianceItemsCommand = async (output, context) => {
|
|
@@ -5852,7 +5546,6 @@ const deserializeAws_json1_1PutComplianceItemsCommandError = async (output, cont
|
|
|
5852
5546
|
...output,
|
|
5853
5547
|
body: await parseBody(output.body, context),
|
|
5854
5548
|
};
|
|
5855
|
-
let response;
|
|
5856
5549
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5857
5550
|
switch (errorCode) {
|
|
5858
5551
|
case "ComplianceTypeCountLimitExceededException":
|
|
@@ -5878,14 +5571,12 @@ const deserializeAws_json1_1PutComplianceItemsCommandError = async (output, cont
|
|
|
5878
5571
|
throw await deserializeAws_json1_1TotalSizeLimitExceededExceptionResponse(parsedOutput, context);
|
|
5879
5572
|
default:
|
|
5880
5573
|
const parsedBody = parsedOutput.body;
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
$metadata,
|
|
5574
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5575
|
+
output,
|
|
5576
|
+
parsedBody,
|
|
5577
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5578
|
+
errorCode,
|
|
5887
5579
|
});
|
|
5888
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5889
5580
|
}
|
|
5890
5581
|
};
|
|
5891
5582
|
const deserializeAws_json1_1PutInventoryCommand = async (output, context) => {
|
|
@@ -5907,7 +5598,6 @@ const deserializeAws_json1_1PutInventoryCommandError = async (output, context) =
|
|
|
5907
5598
|
...output,
|
|
5908
5599
|
body: await parseBody(output.body, context),
|
|
5909
5600
|
};
|
|
5910
|
-
let response;
|
|
5911
5601
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5912
5602
|
switch (errorCode) {
|
|
5913
5603
|
case "CustomSchemaCountLimitExceededException":
|
|
@@ -5948,14 +5638,12 @@ const deserializeAws_json1_1PutInventoryCommandError = async (output, context) =
|
|
|
5948
5638
|
throw await deserializeAws_json1_1UnsupportedInventorySchemaVersionExceptionResponse(parsedOutput, context);
|
|
5949
5639
|
default:
|
|
5950
5640
|
const parsedBody = parsedOutput.body;
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
$metadata,
|
|
5641
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5642
|
+
output,
|
|
5643
|
+
parsedBody,
|
|
5644
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5645
|
+
errorCode,
|
|
5957
5646
|
});
|
|
5958
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5959
5647
|
}
|
|
5960
5648
|
};
|
|
5961
5649
|
const deserializeAws_json1_1PutParameterCommand = async (output, context) => {
|
|
@@ -5977,7 +5665,6 @@ const deserializeAws_json1_1PutParameterCommandError = async (output, context) =
|
|
|
5977
5665
|
...output,
|
|
5978
5666
|
body: await parseBody(output.body, context),
|
|
5979
5667
|
};
|
|
5980
|
-
let response;
|
|
5981
5668
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5982
5669
|
switch (errorCode) {
|
|
5983
5670
|
case "HierarchyLevelLimitExceededException":
|
|
@@ -6027,14 +5714,12 @@ const deserializeAws_json1_1PutParameterCommandError = async (output, context) =
|
|
|
6027
5714
|
throw await deserializeAws_json1_1UnsupportedParameterTypeResponse(parsedOutput, context);
|
|
6028
5715
|
default:
|
|
6029
5716
|
const parsedBody = parsedOutput.body;
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
$metadata,
|
|
5717
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5718
|
+
output,
|
|
5719
|
+
parsedBody,
|
|
5720
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5721
|
+
errorCode,
|
|
6036
5722
|
});
|
|
6037
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6038
5723
|
}
|
|
6039
5724
|
};
|
|
6040
5725
|
const deserializeAws_json1_1RegisterDefaultPatchBaselineCommand = async (output, context) => {
|
|
@@ -6056,7 +5741,6 @@ const deserializeAws_json1_1RegisterDefaultPatchBaselineCommandError = async (ou
|
|
|
6056
5741
|
...output,
|
|
6057
5742
|
body: await parseBody(output.body, context),
|
|
6058
5743
|
};
|
|
6059
|
-
let response;
|
|
6060
5744
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6061
5745
|
switch (errorCode) {
|
|
6062
5746
|
case "DoesNotExistException":
|
|
@@ -6070,14 +5754,12 @@ const deserializeAws_json1_1RegisterDefaultPatchBaselineCommandError = async (ou
|
|
|
6070
5754
|
throw await deserializeAws_json1_1InvalidResourceIdResponse(parsedOutput, context);
|
|
6071
5755
|
default:
|
|
6072
5756
|
const parsedBody = parsedOutput.body;
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
$metadata,
|
|
5757
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5758
|
+
output,
|
|
5759
|
+
parsedBody,
|
|
5760
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5761
|
+
errorCode,
|
|
6079
5762
|
});
|
|
6080
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6081
5763
|
}
|
|
6082
5764
|
};
|
|
6083
5765
|
const deserializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand = async (output, context) => {
|
|
@@ -6099,7 +5781,6 @@ const deserializeAws_json1_1RegisterPatchBaselineForPatchGroupCommandError = asy
|
|
|
6099
5781
|
...output,
|
|
6100
5782
|
body: await parseBody(output.body, context),
|
|
6101
5783
|
};
|
|
6102
|
-
let response;
|
|
6103
5784
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6104
5785
|
switch (errorCode) {
|
|
6105
5786
|
case "AlreadyExistsException":
|
|
@@ -6119,14 +5800,12 @@ const deserializeAws_json1_1RegisterPatchBaselineForPatchGroupCommandError = asy
|
|
|
6119
5800
|
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
6120
5801
|
default:
|
|
6121
5802
|
const parsedBody = parsedOutput.body;
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
$metadata,
|
|
5803
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5804
|
+
output,
|
|
5805
|
+
parsedBody,
|
|
5806
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5807
|
+
errorCode,
|
|
6128
5808
|
});
|
|
6129
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6130
5809
|
}
|
|
6131
5810
|
};
|
|
6132
5811
|
const deserializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -6148,7 +5827,6 @@ const deserializeAws_json1_1RegisterTargetWithMaintenanceWindowCommandError = as
|
|
|
6148
5827
|
...output,
|
|
6149
5828
|
body: await parseBody(output.body, context),
|
|
6150
5829
|
};
|
|
6151
|
-
let response;
|
|
6152
5830
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6153
5831
|
switch (errorCode) {
|
|
6154
5832
|
case "DoesNotExistException":
|
|
@@ -6165,14 +5843,12 @@ const deserializeAws_json1_1RegisterTargetWithMaintenanceWindowCommandError = as
|
|
|
6165
5843
|
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
6166
5844
|
default:
|
|
6167
5845
|
const parsedBody = parsedOutput.body;
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
$metadata,
|
|
5846
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5847
|
+
output,
|
|
5848
|
+
parsedBody,
|
|
5849
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5850
|
+
errorCode,
|
|
6174
5851
|
});
|
|
6175
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6176
5852
|
}
|
|
6177
5853
|
};
|
|
6178
5854
|
const deserializeAws_json1_1RegisterTaskWithMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -6194,7 +5870,6 @@ const deserializeAws_json1_1RegisterTaskWithMaintenanceWindowCommandError = asyn
|
|
|
6194
5870
|
...output,
|
|
6195
5871
|
body: await parseBody(output.body, context),
|
|
6196
5872
|
};
|
|
6197
|
-
let response;
|
|
6198
5873
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6199
5874
|
switch (errorCode) {
|
|
6200
5875
|
case "DoesNotExistException":
|
|
@@ -6214,14 +5889,12 @@ const deserializeAws_json1_1RegisterTaskWithMaintenanceWindowCommandError = asyn
|
|
|
6214
5889
|
throw await deserializeAws_json1_1ResourceLimitExceededExceptionResponse(parsedOutput, context);
|
|
6215
5890
|
default:
|
|
6216
5891
|
const parsedBody = parsedOutput.body;
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
$metadata,
|
|
5892
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5893
|
+
output,
|
|
5894
|
+
parsedBody,
|
|
5895
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5896
|
+
errorCode,
|
|
6223
5897
|
});
|
|
6224
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6225
5898
|
}
|
|
6226
5899
|
};
|
|
6227
5900
|
const deserializeAws_json1_1RemoveTagsFromResourceCommand = async (output, context) => {
|
|
@@ -6243,7 +5916,6 @@ const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (output,
|
|
|
6243
5916
|
...output,
|
|
6244
5917
|
body: await parseBody(output.body, context),
|
|
6245
5918
|
};
|
|
6246
|
-
let response;
|
|
6247
5919
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6248
5920
|
switch (errorCode) {
|
|
6249
5921
|
case "InternalServerError":
|
|
@@ -6260,14 +5932,12 @@ const deserializeAws_json1_1RemoveTagsFromResourceCommandError = async (output,
|
|
|
6260
5932
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
6261
5933
|
default:
|
|
6262
5934
|
const parsedBody = parsedOutput.body;
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
$metadata,
|
|
5935
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5936
|
+
output,
|
|
5937
|
+
parsedBody,
|
|
5938
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5939
|
+
errorCode,
|
|
6269
5940
|
});
|
|
6270
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6271
5941
|
}
|
|
6272
5942
|
};
|
|
6273
5943
|
const deserializeAws_json1_1ResetServiceSettingCommand = async (output, context) => {
|
|
@@ -6289,7 +5959,6 @@ const deserializeAws_json1_1ResetServiceSettingCommandError = async (output, con
|
|
|
6289
5959
|
...output,
|
|
6290
5960
|
body: await parseBody(output.body, context),
|
|
6291
5961
|
};
|
|
6292
|
-
let response;
|
|
6293
5962
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6294
5963
|
switch (errorCode) {
|
|
6295
5964
|
case "InternalServerError":
|
|
@@ -6303,14 +5972,12 @@ const deserializeAws_json1_1ResetServiceSettingCommandError = async (output, con
|
|
|
6303
5972
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
6304
5973
|
default:
|
|
6305
5974
|
const parsedBody = parsedOutput.body;
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
$metadata,
|
|
5975
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5976
|
+
output,
|
|
5977
|
+
parsedBody,
|
|
5978
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5979
|
+
errorCode,
|
|
6312
5980
|
});
|
|
6313
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6314
5981
|
}
|
|
6315
5982
|
};
|
|
6316
5983
|
const deserializeAws_json1_1ResumeSessionCommand = async (output, context) => {
|
|
@@ -6332,7 +5999,6 @@ const deserializeAws_json1_1ResumeSessionCommandError = async (output, context)
|
|
|
6332
5999
|
...output,
|
|
6333
6000
|
body: await parseBody(output.body, context),
|
|
6334
6001
|
};
|
|
6335
|
-
let response;
|
|
6336
6002
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6337
6003
|
switch (errorCode) {
|
|
6338
6004
|
case "DoesNotExistException":
|
|
@@ -6343,14 +6009,12 @@ const deserializeAws_json1_1ResumeSessionCommandError = async (output, context)
|
|
|
6343
6009
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
6344
6010
|
default:
|
|
6345
6011
|
const parsedBody = parsedOutput.body;
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
$metadata,
|
|
6012
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6013
|
+
output,
|
|
6014
|
+
parsedBody,
|
|
6015
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6016
|
+
errorCode,
|
|
6352
6017
|
});
|
|
6353
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6354
6018
|
}
|
|
6355
6019
|
};
|
|
6356
6020
|
const deserializeAws_json1_1SendAutomationSignalCommand = async (output, context) => {
|
|
@@ -6372,7 +6036,6 @@ const deserializeAws_json1_1SendAutomationSignalCommandError = async (output, co
|
|
|
6372
6036
|
...output,
|
|
6373
6037
|
body: await parseBody(output.body, context),
|
|
6374
6038
|
};
|
|
6375
|
-
let response;
|
|
6376
6039
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6377
6040
|
switch (errorCode) {
|
|
6378
6041
|
case "AutomationExecutionNotFoundException":
|
|
@@ -6389,14 +6052,12 @@ const deserializeAws_json1_1SendAutomationSignalCommandError = async (output, co
|
|
|
6389
6052
|
throw await deserializeAws_json1_1InvalidAutomationSignalExceptionResponse(parsedOutput, context);
|
|
6390
6053
|
default:
|
|
6391
6054
|
const parsedBody = parsedOutput.body;
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
$metadata,
|
|
6055
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6056
|
+
output,
|
|
6057
|
+
parsedBody,
|
|
6058
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6059
|
+
errorCode,
|
|
6398
6060
|
});
|
|
6399
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6400
6061
|
}
|
|
6401
6062
|
};
|
|
6402
6063
|
const deserializeAws_json1_1SendCommandCommand = async (output, context) => {
|
|
@@ -6418,7 +6079,6 @@ const deserializeAws_json1_1SendCommandCommandError = async (output, context) =>
|
|
|
6418
6079
|
...output,
|
|
6419
6080
|
body: await parseBody(output.body, context),
|
|
6420
6081
|
};
|
|
6421
|
-
let response;
|
|
6422
6082
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6423
6083
|
switch (errorCode) {
|
|
6424
6084
|
case "DuplicateInstanceId":
|
|
@@ -6456,14 +6116,12 @@ const deserializeAws_json1_1SendCommandCommandError = async (output, context) =>
|
|
|
6456
6116
|
throw await deserializeAws_json1_1UnsupportedPlatformTypeResponse(parsedOutput, context);
|
|
6457
6117
|
default:
|
|
6458
6118
|
const parsedBody = parsedOutput.body;
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
$metadata,
|
|
6119
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6120
|
+
output,
|
|
6121
|
+
parsedBody,
|
|
6122
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6123
|
+
errorCode,
|
|
6465
6124
|
});
|
|
6466
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6467
6125
|
}
|
|
6468
6126
|
};
|
|
6469
6127
|
const deserializeAws_json1_1StartAssociationsOnceCommand = async (output, context) => {
|
|
@@ -6485,7 +6143,6 @@ const deserializeAws_json1_1StartAssociationsOnceCommandError = async (output, c
|
|
|
6485
6143
|
...output,
|
|
6486
6144
|
body: await parseBody(output.body, context),
|
|
6487
6145
|
};
|
|
6488
|
-
let response;
|
|
6489
6146
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6490
6147
|
switch (errorCode) {
|
|
6491
6148
|
case "AssociationDoesNotExist":
|
|
@@ -6496,14 +6153,12 @@ const deserializeAws_json1_1StartAssociationsOnceCommandError = async (output, c
|
|
|
6496
6153
|
throw await deserializeAws_json1_1InvalidAssociationResponse(parsedOutput, context);
|
|
6497
6154
|
default:
|
|
6498
6155
|
const parsedBody = parsedOutput.body;
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
$metadata,
|
|
6156
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6157
|
+
output,
|
|
6158
|
+
parsedBody,
|
|
6159
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6160
|
+
errorCode,
|
|
6505
6161
|
});
|
|
6506
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6507
6162
|
}
|
|
6508
6163
|
};
|
|
6509
6164
|
const deserializeAws_json1_1StartAutomationExecutionCommand = async (output, context) => {
|
|
@@ -6525,7 +6180,6 @@ const deserializeAws_json1_1StartAutomationExecutionCommandError = async (output
|
|
|
6525
6180
|
...output,
|
|
6526
6181
|
body: await parseBody(output.body, context),
|
|
6527
6182
|
};
|
|
6528
|
-
let response;
|
|
6529
6183
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6530
6184
|
switch (errorCode) {
|
|
6531
6185
|
case "AutomationDefinitionNotFoundException":
|
|
@@ -6551,14 +6205,12 @@ const deserializeAws_json1_1StartAutomationExecutionCommandError = async (output
|
|
|
6551
6205
|
throw await deserializeAws_json1_1InvalidTargetResponse(parsedOutput, context);
|
|
6552
6206
|
default:
|
|
6553
6207
|
const parsedBody = parsedOutput.body;
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
$metadata,
|
|
6208
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6209
|
+
output,
|
|
6210
|
+
parsedBody,
|
|
6211
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6212
|
+
errorCode,
|
|
6560
6213
|
});
|
|
6561
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6562
6214
|
}
|
|
6563
6215
|
};
|
|
6564
6216
|
const deserializeAws_json1_1StartChangeRequestExecutionCommand = async (output, context) => {
|
|
@@ -6580,7 +6232,6 @@ const deserializeAws_json1_1StartChangeRequestExecutionCommandError = async (out
|
|
|
6580
6232
|
...output,
|
|
6581
6233
|
body: await parseBody(output.body, context),
|
|
6582
6234
|
};
|
|
6583
|
-
let response;
|
|
6584
6235
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6585
6236
|
switch (errorCode) {
|
|
6586
6237
|
case "AutomationDefinitionNotApprovedException":
|
|
@@ -6606,14 +6257,12 @@ const deserializeAws_json1_1StartChangeRequestExecutionCommandError = async (out
|
|
|
6606
6257
|
throw await deserializeAws_json1_1InvalidAutomationExecutionParametersExceptionResponse(parsedOutput, context);
|
|
6607
6258
|
default:
|
|
6608
6259
|
const parsedBody = parsedOutput.body;
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
$metadata,
|
|
6260
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6261
|
+
output,
|
|
6262
|
+
parsedBody,
|
|
6263
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6264
|
+
errorCode,
|
|
6615
6265
|
});
|
|
6616
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6617
6266
|
}
|
|
6618
6267
|
};
|
|
6619
6268
|
const deserializeAws_json1_1StartSessionCommand = async (output, context) => {
|
|
@@ -6635,7 +6284,6 @@ const deserializeAws_json1_1StartSessionCommandError = async (output, context) =
|
|
|
6635
6284
|
...output,
|
|
6636
6285
|
body: await parseBody(output.body, context),
|
|
6637
6286
|
};
|
|
6638
|
-
let response;
|
|
6639
6287
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6640
6288
|
switch (errorCode) {
|
|
6641
6289
|
case "InternalServerError":
|
|
@@ -6649,14 +6297,12 @@ const deserializeAws_json1_1StartSessionCommandError = async (output, context) =
|
|
|
6649
6297
|
throw await deserializeAws_json1_1TargetNotConnectedResponse(parsedOutput, context);
|
|
6650
6298
|
default:
|
|
6651
6299
|
const parsedBody = parsedOutput.body;
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
$metadata,
|
|
6300
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6301
|
+
output,
|
|
6302
|
+
parsedBody,
|
|
6303
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6304
|
+
errorCode,
|
|
6658
6305
|
});
|
|
6659
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6660
6306
|
}
|
|
6661
6307
|
};
|
|
6662
6308
|
const deserializeAws_json1_1StopAutomationExecutionCommand = async (output, context) => {
|
|
@@ -6678,7 +6324,6 @@ const deserializeAws_json1_1StopAutomationExecutionCommandError = async (output,
|
|
|
6678
6324
|
...output,
|
|
6679
6325
|
body: await parseBody(output.body, context),
|
|
6680
6326
|
};
|
|
6681
|
-
let response;
|
|
6682
6327
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6683
6328
|
switch (errorCode) {
|
|
6684
6329
|
case "AutomationExecutionNotFoundException":
|
|
@@ -6692,14 +6337,12 @@ const deserializeAws_json1_1StopAutomationExecutionCommandError = async (output,
|
|
|
6692
6337
|
throw await deserializeAws_json1_1InvalidAutomationStatusUpdateExceptionResponse(parsedOutput, context);
|
|
6693
6338
|
default:
|
|
6694
6339
|
const parsedBody = parsedOutput.body;
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
$metadata,
|
|
6340
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6341
|
+
output,
|
|
6342
|
+
parsedBody,
|
|
6343
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6344
|
+
errorCode,
|
|
6701
6345
|
});
|
|
6702
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6703
6346
|
}
|
|
6704
6347
|
};
|
|
6705
6348
|
const deserializeAws_json1_1TerminateSessionCommand = async (output, context) => {
|
|
@@ -6721,7 +6364,6 @@ const deserializeAws_json1_1TerminateSessionCommandError = async (output, contex
|
|
|
6721
6364
|
...output,
|
|
6722
6365
|
body: await parseBody(output.body, context),
|
|
6723
6366
|
};
|
|
6724
|
-
let response;
|
|
6725
6367
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6726
6368
|
switch (errorCode) {
|
|
6727
6369
|
case "InternalServerError":
|
|
@@ -6729,14 +6371,12 @@ const deserializeAws_json1_1TerminateSessionCommandError = async (output, contex
|
|
|
6729
6371
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
6730
6372
|
default:
|
|
6731
6373
|
const parsedBody = parsedOutput.body;
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
$metadata,
|
|
6374
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6375
|
+
output,
|
|
6376
|
+
parsedBody,
|
|
6377
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6378
|
+
errorCode,
|
|
6738
6379
|
});
|
|
6739
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6740
6380
|
}
|
|
6741
6381
|
};
|
|
6742
6382
|
const deserializeAws_json1_1UnlabelParameterVersionCommand = async (output, context) => {
|
|
@@ -6758,7 +6398,6 @@ const deserializeAws_json1_1UnlabelParameterVersionCommandError = async (output,
|
|
|
6758
6398
|
...output,
|
|
6759
6399
|
body: await parseBody(output.body, context),
|
|
6760
6400
|
};
|
|
6761
|
-
let response;
|
|
6762
6401
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6763
6402
|
switch (errorCode) {
|
|
6764
6403
|
case "InternalServerError":
|
|
@@ -6775,14 +6414,12 @@ const deserializeAws_json1_1UnlabelParameterVersionCommandError = async (output,
|
|
|
6775
6414
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
6776
6415
|
default:
|
|
6777
6416
|
const parsedBody = parsedOutput.body;
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6782
|
-
|
|
6783
|
-
$metadata,
|
|
6417
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6418
|
+
output,
|
|
6419
|
+
parsedBody,
|
|
6420
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6421
|
+
errorCode,
|
|
6784
6422
|
});
|
|
6785
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6786
6423
|
}
|
|
6787
6424
|
};
|
|
6788
6425
|
const deserializeAws_json1_1UpdateAssociationCommand = async (output, context) => {
|
|
@@ -6804,7 +6441,6 @@ const deserializeAws_json1_1UpdateAssociationCommandError = async (output, conte
|
|
|
6804
6441
|
...output,
|
|
6805
6442
|
body: await parseBody(output.body, context),
|
|
6806
6443
|
};
|
|
6807
|
-
let response;
|
|
6808
6444
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6809
6445
|
switch (errorCode) {
|
|
6810
6446
|
case "AssociationDoesNotExist":
|
|
@@ -6848,14 +6484,12 @@ const deserializeAws_json1_1UpdateAssociationCommandError = async (output, conte
|
|
|
6848
6484
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
6849
6485
|
default:
|
|
6850
6486
|
const parsedBody = parsedOutput.body;
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
$metadata,
|
|
6487
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6488
|
+
output,
|
|
6489
|
+
parsedBody,
|
|
6490
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6491
|
+
errorCode,
|
|
6857
6492
|
});
|
|
6858
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6859
6493
|
}
|
|
6860
6494
|
};
|
|
6861
6495
|
const deserializeAws_json1_1UpdateAssociationStatusCommand = async (output, context) => {
|
|
@@ -6877,7 +6511,6 @@ const deserializeAws_json1_1UpdateAssociationStatusCommandError = async (output,
|
|
|
6877
6511
|
...output,
|
|
6878
6512
|
body: await parseBody(output.body, context),
|
|
6879
6513
|
};
|
|
6880
|
-
let response;
|
|
6881
6514
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6882
6515
|
switch (errorCode) {
|
|
6883
6516
|
case "AssociationDoesNotExist":
|
|
@@ -6900,14 +6533,12 @@ const deserializeAws_json1_1UpdateAssociationStatusCommandError = async (output,
|
|
|
6900
6533
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
6901
6534
|
default:
|
|
6902
6535
|
const parsedBody = parsedOutput.body;
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
$metadata,
|
|
6536
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6537
|
+
output,
|
|
6538
|
+
parsedBody,
|
|
6539
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6540
|
+
errorCode,
|
|
6909
6541
|
});
|
|
6910
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6911
6542
|
}
|
|
6912
6543
|
};
|
|
6913
6544
|
const deserializeAws_json1_1UpdateDocumentCommand = async (output, context) => {
|
|
@@ -6929,7 +6560,6 @@ const deserializeAws_json1_1UpdateDocumentCommandError = async (output, context)
|
|
|
6929
6560
|
...output,
|
|
6930
6561
|
body: await parseBody(output.body, context),
|
|
6931
6562
|
};
|
|
6932
|
-
let response;
|
|
6933
6563
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6934
6564
|
switch (errorCode) {
|
|
6935
6565
|
case "DocumentVersionLimitExceeded":
|
|
@@ -6964,14 +6594,12 @@ const deserializeAws_json1_1UpdateDocumentCommandError = async (output, context)
|
|
|
6964
6594
|
throw await deserializeAws_json1_1MaxDocumentSizeExceededResponse(parsedOutput, context);
|
|
6965
6595
|
default:
|
|
6966
6596
|
const parsedBody = parsedOutput.body;
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
$metadata,
|
|
6597
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6598
|
+
output,
|
|
6599
|
+
parsedBody,
|
|
6600
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6601
|
+
errorCode,
|
|
6973
6602
|
});
|
|
6974
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6975
6603
|
}
|
|
6976
6604
|
};
|
|
6977
6605
|
const deserializeAws_json1_1UpdateDocumentDefaultVersionCommand = async (output, context) => {
|
|
@@ -6993,7 +6621,6 @@ const deserializeAws_json1_1UpdateDocumentDefaultVersionCommandError = async (ou
|
|
|
6993
6621
|
...output,
|
|
6994
6622
|
body: await parseBody(output.body, context),
|
|
6995
6623
|
};
|
|
6996
|
-
let response;
|
|
6997
6624
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6998
6625
|
switch (errorCode) {
|
|
6999
6626
|
case "InternalServerError":
|
|
@@ -7010,14 +6637,12 @@ const deserializeAws_json1_1UpdateDocumentDefaultVersionCommandError = async (ou
|
|
|
7010
6637
|
throw await deserializeAws_json1_1InvalidDocumentVersionResponse(parsedOutput, context);
|
|
7011
6638
|
default:
|
|
7012
6639
|
const parsedBody = parsedOutput.body;
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
$metadata,
|
|
6640
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6641
|
+
output,
|
|
6642
|
+
parsedBody,
|
|
6643
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6644
|
+
errorCode,
|
|
7019
6645
|
});
|
|
7020
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7021
6646
|
}
|
|
7022
6647
|
};
|
|
7023
6648
|
const deserializeAws_json1_1UpdateDocumentMetadataCommand = async (output, context) => {
|
|
@@ -7039,7 +6664,6 @@ const deserializeAws_json1_1UpdateDocumentMetadataCommandError = async (output,
|
|
|
7039
6664
|
...output,
|
|
7040
6665
|
body: await parseBody(output.body, context),
|
|
7041
6666
|
};
|
|
7042
|
-
let response;
|
|
7043
6667
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7044
6668
|
switch (errorCode) {
|
|
7045
6669
|
case "InternalServerError":
|
|
@@ -7056,14 +6680,12 @@ const deserializeAws_json1_1UpdateDocumentMetadataCommandError = async (output,
|
|
|
7056
6680
|
throw await deserializeAws_json1_1InvalidDocumentVersionResponse(parsedOutput, context);
|
|
7057
6681
|
default:
|
|
7058
6682
|
const parsedBody = parsedOutput.body;
|
|
7059
|
-
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
$metadata,
|
|
6683
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6684
|
+
output,
|
|
6685
|
+
parsedBody,
|
|
6686
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6687
|
+
errorCode,
|
|
7065
6688
|
});
|
|
7066
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7067
6689
|
}
|
|
7068
6690
|
};
|
|
7069
6691
|
const deserializeAws_json1_1UpdateMaintenanceWindowCommand = async (output, context) => {
|
|
@@ -7085,7 +6707,6 @@ const deserializeAws_json1_1UpdateMaintenanceWindowCommandError = async (output,
|
|
|
7085
6707
|
...output,
|
|
7086
6708
|
body: await parseBody(output.body, context),
|
|
7087
6709
|
};
|
|
7088
|
-
let response;
|
|
7089
6710
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7090
6711
|
switch (errorCode) {
|
|
7091
6712
|
case "DoesNotExistException":
|
|
@@ -7096,14 +6717,12 @@ const deserializeAws_json1_1UpdateMaintenanceWindowCommandError = async (output,
|
|
|
7096
6717
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
7097
6718
|
default:
|
|
7098
6719
|
const parsedBody = parsedOutput.body;
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
$metadata,
|
|
6720
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6721
|
+
output,
|
|
6722
|
+
parsedBody,
|
|
6723
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6724
|
+
errorCode,
|
|
7105
6725
|
});
|
|
7106
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7107
6726
|
}
|
|
7108
6727
|
};
|
|
7109
6728
|
const deserializeAws_json1_1UpdateMaintenanceWindowTargetCommand = async (output, context) => {
|
|
@@ -7125,7 +6744,6 @@ const deserializeAws_json1_1UpdateMaintenanceWindowTargetCommandError = async (o
|
|
|
7125
6744
|
...output,
|
|
7126
6745
|
body: await parseBody(output.body, context),
|
|
7127
6746
|
};
|
|
7128
|
-
let response;
|
|
7129
6747
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7130
6748
|
switch (errorCode) {
|
|
7131
6749
|
case "DoesNotExistException":
|
|
@@ -7136,14 +6754,12 @@ const deserializeAws_json1_1UpdateMaintenanceWindowTargetCommandError = async (o
|
|
|
7136
6754
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
7137
6755
|
default:
|
|
7138
6756
|
const parsedBody = parsedOutput.body;
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
$metadata,
|
|
6757
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6758
|
+
output,
|
|
6759
|
+
parsedBody,
|
|
6760
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6761
|
+
errorCode,
|
|
7145
6762
|
});
|
|
7146
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7147
6763
|
}
|
|
7148
6764
|
};
|
|
7149
6765
|
const deserializeAws_json1_1UpdateMaintenanceWindowTaskCommand = async (output, context) => {
|
|
@@ -7165,7 +6781,6 @@ const deserializeAws_json1_1UpdateMaintenanceWindowTaskCommandError = async (out
|
|
|
7165
6781
|
...output,
|
|
7166
6782
|
body: await parseBody(output.body, context),
|
|
7167
6783
|
};
|
|
7168
|
-
let response;
|
|
7169
6784
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7170
6785
|
switch (errorCode) {
|
|
7171
6786
|
case "DoesNotExistException":
|
|
@@ -7176,14 +6791,12 @@ const deserializeAws_json1_1UpdateMaintenanceWindowTaskCommandError = async (out
|
|
|
7176
6791
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
7177
6792
|
default:
|
|
7178
6793
|
const parsedBody = parsedOutput.body;
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
$metadata,
|
|
6794
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6795
|
+
output,
|
|
6796
|
+
parsedBody,
|
|
6797
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6798
|
+
errorCode,
|
|
7185
6799
|
});
|
|
7186
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7187
6800
|
}
|
|
7188
6801
|
};
|
|
7189
6802
|
const deserializeAws_json1_1UpdateManagedInstanceRoleCommand = async (output, context) => {
|
|
@@ -7205,7 +6818,6 @@ const deserializeAws_json1_1UpdateManagedInstanceRoleCommandError = async (outpu
|
|
|
7205
6818
|
...output,
|
|
7206
6819
|
body: await parseBody(output.body, context),
|
|
7207
6820
|
};
|
|
7208
|
-
let response;
|
|
7209
6821
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7210
6822
|
switch (errorCode) {
|
|
7211
6823
|
case "InternalServerError":
|
|
@@ -7216,14 +6828,12 @@ const deserializeAws_json1_1UpdateManagedInstanceRoleCommandError = async (outpu
|
|
|
7216
6828
|
throw await deserializeAws_json1_1InvalidInstanceIdResponse(parsedOutput, context);
|
|
7217
6829
|
default:
|
|
7218
6830
|
const parsedBody = parsedOutput.body;
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
$metadata,
|
|
6831
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6832
|
+
output,
|
|
6833
|
+
parsedBody,
|
|
6834
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6835
|
+
errorCode,
|
|
7225
6836
|
});
|
|
7226
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7227
6837
|
}
|
|
7228
6838
|
};
|
|
7229
6839
|
const deserializeAws_json1_1UpdateOpsItemCommand = async (output, context) => {
|
|
@@ -7245,7 +6855,6 @@ const deserializeAws_json1_1UpdateOpsItemCommandError = async (output, context)
|
|
|
7245
6855
|
...output,
|
|
7246
6856
|
body: await parseBody(output.body, context),
|
|
7247
6857
|
};
|
|
7248
|
-
let response;
|
|
7249
6858
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7250
6859
|
switch (errorCode) {
|
|
7251
6860
|
case "InternalServerError":
|
|
@@ -7265,14 +6874,12 @@ const deserializeAws_json1_1UpdateOpsItemCommandError = async (output, context)
|
|
|
7265
6874
|
throw await deserializeAws_json1_1OpsItemNotFoundExceptionResponse(parsedOutput, context);
|
|
7266
6875
|
default:
|
|
7267
6876
|
const parsedBody = parsedOutput.body;
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
$metadata,
|
|
6877
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6878
|
+
output,
|
|
6879
|
+
parsedBody,
|
|
6880
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6881
|
+
errorCode,
|
|
7274
6882
|
});
|
|
7275
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7276
6883
|
}
|
|
7277
6884
|
};
|
|
7278
6885
|
const deserializeAws_json1_1UpdateOpsMetadataCommand = async (output, context) => {
|
|
@@ -7294,7 +6901,6 @@ const deserializeAws_json1_1UpdateOpsMetadataCommandError = async (output, conte
|
|
|
7294
6901
|
...output,
|
|
7295
6902
|
body: await parseBody(output.body, context),
|
|
7296
6903
|
};
|
|
7297
|
-
let response;
|
|
7298
6904
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7299
6905
|
switch (errorCode) {
|
|
7300
6906
|
case "InternalServerError":
|
|
@@ -7314,14 +6920,12 @@ const deserializeAws_json1_1UpdateOpsMetadataCommandError = async (output, conte
|
|
|
7314
6920
|
throw await deserializeAws_json1_1OpsMetadataTooManyUpdatesExceptionResponse(parsedOutput, context);
|
|
7315
6921
|
default:
|
|
7316
6922
|
const parsedBody = parsedOutput.body;
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
$metadata,
|
|
6923
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6924
|
+
output,
|
|
6925
|
+
parsedBody,
|
|
6926
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6927
|
+
errorCode,
|
|
7323
6928
|
});
|
|
7324
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7325
6929
|
}
|
|
7326
6930
|
};
|
|
7327
6931
|
const deserializeAws_json1_1UpdatePatchBaselineCommand = async (output, context) => {
|
|
@@ -7343,7 +6947,6 @@ const deserializeAws_json1_1UpdatePatchBaselineCommandError = async (output, con
|
|
|
7343
6947
|
...output,
|
|
7344
6948
|
body: await parseBody(output.body, context),
|
|
7345
6949
|
};
|
|
7346
|
-
let response;
|
|
7347
6950
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7348
6951
|
switch (errorCode) {
|
|
7349
6952
|
case "DoesNotExistException":
|
|
@@ -7354,14 +6957,12 @@ const deserializeAws_json1_1UpdatePatchBaselineCommandError = async (output, con
|
|
|
7354
6957
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
7355
6958
|
default:
|
|
7356
6959
|
const parsedBody = parsedOutput.body;
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
$metadata,
|
|
6960
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6961
|
+
output,
|
|
6962
|
+
parsedBody,
|
|
6963
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
6964
|
+
errorCode,
|
|
7363
6965
|
});
|
|
7364
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7365
6966
|
}
|
|
7366
6967
|
};
|
|
7367
6968
|
const deserializeAws_json1_1UpdateResourceDataSyncCommand = async (output, context) => {
|
|
@@ -7383,7 +6984,6 @@ const deserializeAws_json1_1UpdateResourceDataSyncCommandError = async (output,
|
|
|
7383
6984
|
...output,
|
|
7384
6985
|
body: await parseBody(output.body, context),
|
|
7385
6986
|
};
|
|
7386
|
-
let response;
|
|
7387
6987
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7388
6988
|
switch (errorCode) {
|
|
7389
6989
|
case "InternalServerError":
|
|
@@ -7400,14 +7000,12 @@ const deserializeAws_json1_1UpdateResourceDataSyncCommandError = async (output,
|
|
|
7400
7000
|
throw await deserializeAws_json1_1ResourceDataSyncNotFoundExceptionResponse(parsedOutput, context);
|
|
7401
7001
|
default:
|
|
7402
7002
|
const parsedBody = parsedOutput.body;
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
$metadata,
|
|
7003
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7004
|
+
output,
|
|
7005
|
+
parsedBody,
|
|
7006
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
7007
|
+
errorCode,
|
|
7409
7008
|
});
|
|
7410
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7411
7009
|
}
|
|
7412
7010
|
};
|
|
7413
7011
|
const deserializeAws_json1_1UpdateServiceSettingCommand = async (output, context) => {
|
|
@@ -7429,7 +7027,6 @@ const deserializeAws_json1_1UpdateServiceSettingCommandError = async (output, co
|
|
|
7429
7027
|
...output,
|
|
7430
7028
|
body: await parseBody(output.body, context),
|
|
7431
7029
|
};
|
|
7432
|
-
let response;
|
|
7433
7030
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7434
7031
|
switch (errorCode) {
|
|
7435
7032
|
case "InternalServerError":
|
|
@@ -7443,14 +7040,12 @@ const deserializeAws_json1_1UpdateServiceSettingCommandError = async (output, co
|
|
|
7443
7040
|
throw await deserializeAws_json1_1TooManyUpdatesResponse(parsedOutput, context);
|
|
7444
7041
|
default:
|
|
7445
7042
|
const parsedBody = parsedOutput.body;
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
$metadata,
|
|
7043
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7044
|
+
output,
|
|
7045
|
+
parsedBody,
|
|
7046
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
7047
|
+
errorCode,
|
|
7452
7048
|
});
|
|
7453
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7454
7049
|
}
|
|
7455
7050
|
};
|
|
7456
7051
|
const deserializeAws_json1_1AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -8564,9 +8159,6 @@ const serializeAws_json1_1AccountIdList = (input, context) => {
|
|
|
8564
8159
|
return input
|
|
8565
8160
|
.filter((e) => e != null)
|
|
8566
8161
|
.map((entry) => {
|
|
8567
|
-
if (entry === null) {
|
|
8568
|
-
return null;
|
|
8569
|
-
}
|
|
8570
8162
|
return entry;
|
|
8571
8163
|
});
|
|
8572
8164
|
};
|
|
@@ -8574,9 +8166,6 @@ const serializeAws_json1_1Accounts = (input, context) => {
|
|
|
8574
8166
|
return input
|
|
8575
8167
|
.filter((e) => e != null)
|
|
8576
8168
|
.map((entry) => {
|
|
8577
|
-
if (entry === null) {
|
|
8578
|
-
return null;
|
|
8579
|
-
}
|
|
8580
8169
|
return entry;
|
|
8581
8170
|
});
|
|
8582
8171
|
};
|
|
@@ -8606,9 +8195,6 @@ const serializeAws_json1_1AssociationExecutionFilterList = (input, context) => {
|
|
|
8606
8195
|
return input
|
|
8607
8196
|
.filter((e) => e != null)
|
|
8608
8197
|
.map((entry) => {
|
|
8609
|
-
if (entry === null) {
|
|
8610
|
-
return null;
|
|
8611
|
-
}
|
|
8612
8198
|
return serializeAws_json1_1AssociationExecutionFilter(entry, context);
|
|
8613
8199
|
});
|
|
8614
8200
|
};
|
|
@@ -8622,9 +8208,6 @@ const serializeAws_json1_1AssociationExecutionTargetsFilterList = (input, contex
|
|
|
8622
8208
|
return input
|
|
8623
8209
|
.filter((e) => e != null)
|
|
8624
8210
|
.map((entry) => {
|
|
8625
|
-
if (entry === null) {
|
|
8626
|
-
return null;
|
|
8627
|
-
}
|
|
8628
8211
|
return serializeAws_json1_1AssociationExecutionTargetsFilter(entry, context);
|
|
8629
8212
|
});
|
|
8630
8213
|
};
|
|
@@ -8638,9 +8221,6 @@ const serializeAws_json1_1AssociationFilterList = (input, context) => {
|
|
|
8638
8221
|
return input
|
|
8639
8222
|
.filter((e) => e != null)
|
|
8640
8223
|
.map((entry) => {
|
|
8641
|
-
if (entry === null) {
|
|
8642
|
-
return null;
|
|
8643
|
-
}
|
|
8644
8224
|
return serializeAws_json1_1AssociationFilter(entry, context);
|
|
8645
8225
|
});
|
|
8646
8226
|
};
|
|
@@ -8648,9 +8228,6 @@ const serializeAws_json1_1AssociationIdList = (input, context) => {
|
|
|
8648
8228
|
return input
|
|
8649
8229
|
.filter((e) => e != null)
|
|
8650
8230
|
.map((entry) => {
|
|
8651
|
-
if (entry === null) {
|
|
8652
|
-
return null;
|
|
8653
|
-
}
|
|
8654
8231
|
return entry;
|
|
8655
8232
|
});
|
|
8656
8233
|
};
|
|
@@ -8673,9 +8250,6 @@ const serializeAws_json1_1AttachmentsSourceList = (input, context) => {
|
|
|
8673
8250
|
return input
|
|
8674
8251
|
.filter((e) => e != null)
|
|
8675
8252
|
.map((entry) => {
|
|
8676
|
-
if (entry === null) {
|
|
8677
|
-
return null;
|
|
8678
|
-
}
|
|
8679
8253
|
return serializeAws_json1_1AttachmentsSource(entry, context);
|
|
8680
8254
|
});
|
|
8681
8255
|
};
|
|
@@ -8683,9 +8257,6 @@ const serializeAws_json1_1AttachmentsSourceValues = (input, context) => {
|
|
|
8683
8257
|
return input
|
|
8684
8258
|
.filter((e) => e != null)
|
|
8685
8259
|
.map((entry) => {
|
|
8686
|
-
if (entry === null) {
|
|
8687
|
-
return null;
|
|
8688
|
-
}
|
|
8689
8260
|
return entry;
|
|
8690
8261
|
});
|
|
8691
8262
|
};
|
|
@@ -8701,9 +8272,6 @@ const serializeAws_json1_1AutomationExecutionFilterList = (input, context) => {
|
|
|
8701
8272
|
return input
|
|
8702
8273
|
.filter((e) => e != null)
|
|
8703
8274
|
.map((entry) => {
|
|
8704
|
-
if (entry === null) {
|
|
8705
|
-
return null;
|
|
8706
|
-
}
|
|
8707
8275
|
return serializeAws_json1_1AutomationExecutionFilter(entry, context);
|
|
8708
8276
|
});
|
|
8709
8277
|
};
|
|
@@ -8711,9 +8279,6 @@ const serializeAws_json1_1AutomationExecutionFilterValueList = (input, context)
|
|
|
8711
8279
|
return input
|
|
8712
8280
|
.filter((e) => e != null)
|
|
8713
8281
|
.map((entry) => {
|
|
8714
|
-
if (entry === null) {
|
|
8715
|
-
return null;
|
|
8716
|
-
}
|
|
8717
8282
|
return entry;
|
|
8718
8283
|
});
|
|
8719
8284
|
};
|
|
@@ -8732,9 +8297,6 @@ const serializeAws_json1_1AutomationParameterValueList = (input, context) => {
|
|
|
8732
8297
|
return input
|
|
8733
8298
|
.filter((e) => e != null)
|
|
8734
8299
|
.map((entry) => {
|
|
8735
|
-
if (entry === null) {
|
|
8736
|
-
return null;
|
|
8737
|
-
}
|
|
8738
8300
|
return entry;
|
|
8739
8301
|
});
|
|
8740
8302
|
};
|
|
@@ -8767,9 +8329,6 @@ const serializeAws_json1_1CalendarNameOrARNList = (input, context) => {
|
|
|
8767
8329
|
return input
|
|
8768
8330
|
.filter((e) => e != null)
|
|
8769
8331
|
.map((entry) => {
|
|
8770
|
-
if (entry === null) {
|
|
8771
|
-
return null;
|
|
8772
|
-
}
|
|
8773
8332
|
return entry;
|
|
8774
8333
|
});
|
|
8775
8334
|
};
|
|
@@ -8800,9 +8359,6 @@ const serializeAws_json1_1CommandFilterList = (input, context) => {
|
|
|
8800
8359
|
return input
|
|
8801
8360
|
.filter((e) => e != null)
|
|
8802
8361
|
.map((entry) => {
|
|
8803
|
-
if (entry === null) {
|
|
8804
|
-
return null;
|
|
8805
|
-
}
|
|
8806
8362
|
return serializeAws_json1_1CommandFilter(entry, context);
|
|
8807
8363
|
});
|
|
8808
8364
|
};
|
|
@@ -8837,9 +8393,6 @@ const serializeAws_json1_1ComplianceItemEntryList = (input, context) => {
|
|
|
8837
8393
|
return input
|
|
8838
8394
|
.filter((e) => e != null)
|
|
8839
8395
|
.map((entry) => {
|
|
8840
|
-
if (entry === null) {
|
|
8841
|
-
return null;
|
|
8842
|
-
}
|
|
8843
8396
|
return serializeAws_json1_1ComplianceItemEntry(entry, context);
|
|
8844
8397
|
});
|
|
8845
8398
|
};
|
|
@@ -8847,9 +8400,6 @@ const serializeAws_json1_1ComplianceResourceIdList = (input, context) => {
|
|
|
8847
8400
|
return input
|
|
8848
8401
|
.filter((e) => e != null)
|
|
8849
8402
|
.map((entry) => {
|
|
8850
|
-
if (entry === null) {
|
|
8851
|
-
return null;
|
|
8852
|
-
}
|
|
8853
8403
|
return entry;
|
|
8854
8404
|
});
|
|
8855
8405
|
};
|
|
@@ -8857,9 +8407,6 @@ const serializeAws_json1_1ComplianceResourceTypeList = (input, context) => {
|
|
|
8857
8407
|
return input
|
|
8858
8408
|
.filter((e) => e != null)
|
|
8859
8409
|
.map((entry) => {
|
|
8860
|
-
if (entry === null) {
|
|
8861
|
-
return null;
|
|
8862
|
-
}
|
|
8863
8410
|
return entry;
|
|
8864
8411
|
});
|
|
8865
8412
|
};
|
|
@@ -8874,9 +8421,6 @@ const serializeAws_json1_1ComplianceStringFilterList = (input, context) => {
|
|
|
8874
8421
|
return input
|
|
8875
8422
|
.filter((e) => e != null)
|
|
8876
8423
|
.map((entry) => {
|
|
8877
|
-
if (entry === null) {
|
|
8878
|
-
return null;
|
|
8879
|
-
}
|
|
8880
8424
|
return serializeAws_json1_1ComplianceStringFilter(entry, context);
|
|
8881
8425
|
});
|
|
8882
8426
|
};
|
|
@@ -8884,9 +8428,6 @@ const serializeAws_json1_1ComplianceStringFilterValueList = (input, context) =>
|
|
|
8884
8428
|
return input
|
|
8885
8429
|
.filter((e) => e != null)
|
|
8886
8430
|
.map((entry) => {
|
|
8887
|
-
if (entry === null) {
|
|
8888
|
-
return null;
|
|
8889
|
-
}
|
|
8890
8431
|
return entry;
|
|
8891
8432
|
});
|
|
8892
8433
|
};
|
|
@@ -8914,9 +8455,6 @@ const serializeAws_json1_1CreateAssociationBatchRequestEntries = (input, context
|
|
|
8914
8455
|
return input
|
|
8915
8456
|
.filter((e) => e != null)
|
|
8916
8457
|
.map((entry) => {
|
|
8917
|
-
if (entry === null) {
|
|
8918
|
-
return null;
|
|
8919
|
-
}
|
|
8920
8458
|
return serializeAws_json1_1CreateAssociationBatchRequestEntry(entry, context);
|
|
8921
8459
|
});
|
|
8922
8460
|
};
|
|
@@ -9181,9 +8719,6 @@ const serializeAws_json1_1DescribeActivationsFilterList = (input, context) => {
|
|
|
9181
8719
|
return input
|
|
9182
8720
|
.filter((e) => e != null)
|
|
9183
8721
|
.map((entry) => {
|
|
9184
|
-
if (entry === null) {
|
|
9185
|
-
return null;
|
|
9186
|
-
}
|
|
9187
8722
|
return serializeAws_json1_1DescribeActivationsFilter(entry, context);
|
|
9188
8723
|
});
|
|
9189
8724
|
};
|
|
@@ -9465,9 +9000,6 @@ const serializeAws_json1_1DocumentFilterList = (input, context) => {
|
|
|
9465
9000
|
return input
|
|
9466
9001
|
.filter((e) => e != null)
|
|
9467
9002
|
.map((entry) => {
|
|
9468
|
-
if (entry === null) {
|
|
9469
|
-
return null;
|
|
9470
|
-
}
|
|
9471
9003
|
return serializeAws_json1_1DocumentFilter(entry, context);
|
|
9472
9004
|
});
|
|
9473
9005
|
};
|
|
@@ -9481,9 +9013,6 @@ const serializeAws_json1_1DocumentKeyValuesFilterList = (input, context) => {
|
|
|
9481
9013
|
return input
|
|
9482
9014
|
.filter((e) => e != null)
|
|
9483
9015
|
.map((entry) => {
|
|
9484
|
-
if (entry === null) {
|
|
9485
|
-
return null;
|
|
9486
|
-
}
|
|
9487
9016
|
return serializeAws_json1_1DocumentKeyValuesFilter(entry, context);
|
|
9488
9017
|
});
|
|
9489
9018
|
};
|
|
@@ -9491,9 +9020,6 @@ const serializeAws_json1_1DocumentKeyValuesFilterValues = (input, context) => {
|
|
|
9491
9020
|
return input
|
|
9492
9021
|
.filter((e) => e != null)
|
|
9493
9022
|
.map((entry) => {
|
|
9494
|
-
if (entry === null) {
|
|
9495
|
-
return null;
|
|
9496
|
-
}
|
|
9497
9023
|
return entry;
|
|
9498
9024
|
});
|
|
9499
9025
|
};
|
|
@@ -9507,9 +9033,6 @@ const serializeAws_json1_1DocumentRequiresList = (input, context) => {
|
|
|
9507
9033
|
return input
|
|
9508
9034
|
.filter((e) => e != null)
|
|
9509
9035
|
.map((entry) => {
|
|
9510
|
-
if (entry === null) {
|
|
9511
|
-
return null;
|
|
9512
|
-
}
|
|
9513
9036
|
return serializeAws_json1_1DocumentRequires(entry, context);
|
|
9514
9037
|
});
|
|
9515
9038
|
};
|
|
@@ -9517,9 +9040,6 @@ const serializeAws_json1_1DocumentReviewCommentList = (input, context) => {
|
|
|
9517
9040
|
return input
|
|
9518
9041
|
.filter((e) => e != null)
|
|
9519
9042
|
.map((entry) => {
|
|
9520
|
-
if (entry === null) {
|
|
9521
|
-
return null;
|
|
9522
|
-
}
|
|
9523
9043
|
return serializeAws_json1_1DocumentReviewCommentSource(entry, context);
|
|
9524
9044
|
});
|
|
9525
9045
|
};
|
|
@@ -9716,9 +9236,6 @@ const serializeAws_json1_1InstanceIdList = (input, context) => {
|
|
|
9716
9236
|
return input
|
|
9717
9237
|
.filter((e) => e != null)
|
|
9718
9238
|
.map((entry) => {
|
|
9719
|
-
if (entry === null) {
|
|
9720
|
-
return null;
|
|
9721
|
-
}
|
|
9722
9239
|
return entry;
|
|
9723
9240
|
});
|
|
9724
9241
|
};
|
|
@@ -9734,9 +9251,6 @@ const serializeAws_json1_1InstanceInformationFilterList = (input, context) => {
|
|
|
9734
9251
|
return input
|
|
9735
9252
|
.filter((e) => e != null)
|
|
9736
9253
|
.map((entry) => {
|
|
9737
|
-
if (entry === null) {
|
|
9738
|
-
return null;
|
|
9739
|
-
}
|
|
9740
9254
|
return serializeAws_json1_1InstanceInformationFilter(entry, context);
|
|
9741
9255
|
});
|
|
9742
9256
|
};
|
|
@@ -9744,9 +9258,6 @@ const serializeAws_json1_1InstanceInformationFilterValueSet = (input, context) =
|
|
|
9744
9258
|
return input
|
|
9745
9259
|
.filter((e) => e != null)
|
|
9746
9260
|
.map((entry) => {
|
|
9747
|
-
if (entry === null) {
|
|
9748
|
-
return null;
|
|
9749
|
-
}
|
|
9750
9261
|
return entry;
|
|
9751
9262
|
});
|
|
9752
9263
|
};
|
|
@@ -9762,9 +9273,6 @@ const serializeAws_json1_1InstanceInformationStringFilterList = (input, context)
|
|
|
9762
9273
|
return input
|
|
9763
9274
|
.filter((e) => e != null)
|
|
9764
9275
|
.map((entry) => {
|
|
9765
|
-
if (entry === null) {
|
|
9766
|
-
return null;
|
|
9767
|
-
}
|
|
9768
9276
|
return serializeAws_json1_1InstanceInformationStringFilter(entry, context);
|
|
9769
9277
|
});
|
|
9770
9278
|
};
|
|
@@ -9779,9 +9287,6 @@ const serializeAws_json1_1InstancePatchStateFilterList = (input, context) => {
|
|
|
9779
9287
|
return input
|
|
9780
9288
|
.filter((e) => e != null)
|
|
9781
9289
|
.map((entry) => {
|
|
9782
|
-
if (entry === null) {
|
|
9783
|
-
return null;
|
|
9784
|
-
}
|
|
9785
9290
|
return serializeAws_json1_1InstancePatchStateFilter(entry, context);
|
|
9786
9291
|
});
|
|
9787
9292
|
};
|
|
@@ -9789,9 +9294,6 @@ const serializeAws_json1_1InstancePatchStateFilterValues = (input, context) => {
|
|
|
9789
9294
|
return input
|
|
9790
9295
|
.filter((e) => e != null)
|
|
9791
9296
|
.map((entry) => {
|
|
9792
|
-
if (entry === null) {
|
|
9793
|
-
return null;
|
|
9794
|
-
}
|
|
9795
9297
|
return entry;
|
|
9796
9298
|
});
|
|
9797
9299
|
};
|
|
@@ -9808,9 +9310,6 @@ const serializeAws_json1_1InventoryAggregatorList = (input, context) => {
|
|
|
9808
9310
|
return input
|
|
9809
9311
|
.filter((e) => e != null)
|
|
9810
9312
|
.map((entry) => {
|
|
9811
|
-
if (entry === null) {
|
|
9812
|
-
return null;
|
|
9813
|
-
}
|
|
9814
9313
|
return serializeAws_json1_1InventoryAggregator(entry, context);
|
|
9815
9314
|
});
|
|
9816
9315
|
};
|
|
@@ -9825,9 +9324,6 @@ const serializeAws_json1_1InventoryFilterList = (input, context) => {
|
|
|
9825
9324
|
return input
|
|
9826
9325
|
.filter((e) => e != null)
|
|
9827
9326
|
.map((entry) => {
|
|
9828
|
-
if (entry === null) {
|
|
9829
|
-
return null;
|
|
9830
|
-
}
|
|
9831
9327
|
return serializeAws_json1_1InventoryFilter(entry, context);
|
|
9832
9328
|
});
|
|
9833
9329
|
};
|
|
@@ -9835,9 +9331,6 @@ const serializeAws_json1_1InventoryFilterValueList = (input, context) => {
|
|
|
9835
9331
|
return input
|
|
9836
9332
|
.filter((e) => e != null)
|
|
9837
9333
|
.map((entry) => {
|
|
9838
|
-
if (entry === null) {
|
|
9839
|
-
return null;
|
|
9840
|
-
}
|
|
9841
9334
|
return entry;
|
|
9842
9335
|
});
|
|
9843
9336
|
};
|
|
@@ -9851,9 +9344,6 @@ const serializeAws_json1_1InventoryGroupList = (input, context) => {
|
|
|
9851
9344
|
return input
|
|
9852
9345
|
.filter((e) => e != null)
|
|
9853
9346
|
.map((entry) => {
|
|
9854
|
-
if (entry === null) {
|
|
9855
|
-
return null;
|
|
9856
|
-
}
|
|
9857
9347
|
return serializeAws_json1_1InventoryGroup(entry, context);
|
|
9858
9348
|
});
|
|
9859
9349
|
};
|
|
@@ -9893,9 +9383,6 @@ const serializeAws_json1_1InventoryItemEntryList = (input, context) => {
|
|
|
9893
9383
|
return input
|
|
9894
9384
|
.filter((e) => e != null)
|
|
9895
9385
|
.map((entry) => {
|
|
9896
|
-
if (entry === null) {
|
|
9897
|
-
return null;
|
|
9898
|
-
}
|
|
9899
9386
|
return serializeAws_json1_1InventoryItemEntry(entry, context);
|
|
9900
9387
|
});
|
|
9901
9388
|
};
|
|
@@ -9903,9 +9390,6 @@ const serializeAws_json1_1InventoryItemList = (input, context) => {
|
|
|
9903
9390
|
return input
|
|
9904
9391
|
.filter((e) => e != null)
|
|
9905
9392
|
.map((entry) => {
|
|
9906
|
-
if (entry === null) {
|
|
9907
|
-
return null;
|
|
9908
|
-
}
|
|
9909
9393
|
return serializeAws_json1_1InventoryItem(entry, context);
|
|
9910
9394
|
});
|
|
9911
9395
|
};
|
|
@@ -9913,9 +9397,6 @@ const serializeAws_json1_1KeyList = (input, context) => {
|
|
|
9913
9397
|
return input
|
|
9914
9398
|
.filter((e) => e != null)
|
|
9915
9399
|
.map((entry) => {
|
|
9916
|
-
if (entry === null) {
|
|
9917
|
-
return null;
|
|
9918
|
-
}
|
|
9919
9400
|
return entry;
|
|
9920
9401
|
});
|
|
9921
9402
|
};
|
|
@@ -10083,9 +9564,6 @@ const serializeAws_json1_1MaintenanceWindowFilterList = (input, context) => {
|
|
|
10083
9564
|
return input
|
|
10084
9565
|
.filter((e) => e != null)
|
|
10085
9566
|
.map((entry) => {
|
|
10086
|
-
if (entry === null) {
|
|
10087
|
-
return null;
|
|
10088
|
-
}
|
|
10089
9567
|
return serializeAws_json1_1MaintenanceWindowFilter(entry, context);
|
|
10090
9568
|
});
|
|
10091
9569
|
};
|
|
@@ -10093,9 +9571,6 @@ const serializeAws_json1_1MaintenanceWindowFilterValues = (input, context) => {
|
|
|
10093
9571
|
return input
|
|
10094
9572
|
.filter((e) => e != null)
|
|
10095
9573
|
.map((entry) => {
|
|
10096
|
-
if (entry === null) {
|
|
10097
|
-
return null;
|
|
10098
|
-
}
|
|
10099
9574
|
return entry;
|
|
10100
9575
|
});
|
|
10101
9576
|
};
|
|
@@ -10169,9 +9644,6 @@ const serializeAws_json1_1MaintenanceWindowTaskParameterValueList = (input, cont
|
|
|
10169
9644
|
return input
|
|
10170
9645
|
.filter((e) => e != null)
|
|
10171
9646
|
.map((entry) => {
|
|
10172
|
-
if (entry === null) {
|
|
10173
|
-
return null;
|
|
10174
|
-
}
|
|
10175
9647
|
return entry;
|
|
10176
9648
|
});
|
|
10177
9649
|
};
|
|
@@ -10179,9 +9651,6 @@ const serializeAws_json1_1MetadataKeysToDeleteList = (input, context) => {
|
|
|
10179
9651
|
return input
|
|
10180
9652
|
.filter((e) => e != null)
|
|
10181
9653
|
.map((entry) => {
|
|
10182
|
-
if (entry === null) {
|
|
10183
|
-
return null;
|
|
10184
|
-
}
|
|
10185
9654
|
return entry;
|
|
10186
9655
|
});
|
|
10187
9656
|
};
|
|
@@ -10227,9 +9696,6 @@ const serializeAws_json1_1NotificationEventList = (input, context) => {
|
|
|
10227
9696
|
return input
|
|
10228
9697
|
.filter((e) => e != null)
|
|
10229
9698
|
.map((entry) => {
|
|
10230
|
-
if (entry === null) {
|
|
10231
|
-
return null;
|
|
10232
|
-
}
|
|
10233
9699
|
return entry;
|
|
10234
9700
|
});
|
|
10235
9701
|
};
|
|
@@ -10249,9 +9715,6 @@ const serializeAws_json1_1OpsAggregatorList = (input, context) => {
|
|
|
10249
9715
|
return input
|
|
10250
9716
|
.filter((e) => e != null)
|
|
10251
9717
|
.map((entry) => {
|
|
10252
|
-
if (entry === null) {
|
|
10253
|
-
return null;
|
|
10254
|
-
}
|
|
10255
9718
|
return serializeAws_json1_1OpsAggregator(entry, context);
|
|
10256
9719
|
});
|
|
10257
9720
|
};
|
|
@@ -10277,9 +9740,6 @@ const serializeAws_json1_1OpsFilterList = (input, context) => {
|
|
|
10277
9740
|
return input
|
|
10278
9741
|
.filter((e) => e != null)
|
|
10279
9742
|
.map((entry) => {
|
|
10280
|
-
if (entry === null) {
|
|
10281
|
-
return null;
|
|
10282
|
-
}
|
|
10283
9743
|
return serializeAws_json1_1OpsFilter(entry, context);
|
|
10284
9744
|
});
|
|
10285
9745
|
};
|
|
@@ -10287,9 +9747,6 @@ const serializeAws_json1_1OpsFilterValueList = (input, context) => {
|
|
|
10287
9747
|
return input
|
|
10288
9748
|
.filter((e) => e != null)
|
|
10289
9749
|
.map((entry) => {
|
|
10290
|
-
if (entry === null) {
|
|
10291
|
-
return null;
|
|
10292
|
-
}
|
|
10293
9750
|
return entry;
|
|
10294
9751
|
});
|
|
10295
9752
|
};
|
|
@@ -10310,9 +9767,6 @@ const serializeAws_json1_1OpsItemEventFilters = (input, context) => {
|
|
|
10310
9767
|
return input
|
|
10311
9768
|
.filter((e) => e != null)
|
|
10312
9769
|
.map((entry) => {
|
|
10313
|
-
if (entry === null) {
|
|
10314
|
-
return null;
|
|
10315
|
-
}
|
|
10316
9770
|
return serializeAws_json1_1OpsItemEventFilter(entry, context);
|
|
10317
9771
|
});
|
|
10318
9772
|
};
|
|
@@ -10320,9 +9774,6 @@ const serializeAws_json1_1OpsItemEventFilterValues = (input, context) => {
|
|
|
10320
9774
|
return input
|
|
10321
9775
|
.filter((e) => e != null)
|
|
10322
9776
|
.map((entry) => {
|
|
10323
|
-
if (entry === null) {
|
|
10324
|
-
return null;
|
|
10325
|
-
}
|
|
10326
9777
|
return entry;
|
|
10327
9778
|
});
|
|
10328
9779
|
};
|
|
@@ -10337,9 +9788,6 @@ const serializeAws_json1_1OpsItemFilters = (input, context) => {
|
|
|
10337
9788
|
return input
|
|
10338
9789
|
.filter((e) => e != null)
|
|
10339
9790
|
.map((entry) => {
|
|
10340
|
-
if (entry === null) {
|
|
10341
|
-
return null;
|
|
10342
|
-
}
|
|
10343
9791
|
return serializeAws_json1_1OpsItemFilter(entry, context);
|
|
10344
9792
|
});
|
|
10345
9793
|
};
|
|
@@ -10347,9 +9795,6 @@ const serializeAws_json1_1OpsItemFilterValues = (input, context) => {
|
|
|
10347
9795
|
return input
|
|
10348
9796
|
.filter((e) => e != null)
|
|
10349
9797
|
.map((entry) => {
|
|
10350
|
-
if (entry === null) {
|
|
10351
|
-
return null;
|
|
10352
|
-
}
|
|
10353
9798
|
return entry;
|
|
10354
9799
|
});
|
|
10355
9800
|
};
|
|
@@ -10362,9 +9807,6 @@ const serializeAws_json1_1OpsItemNotifications = (input, context) => {
|
|
|
10362
9807
|
return input
|
|
10363
9808
|
.filter((e) => e != null)
|
|
10364
9809
|
.map((entry) => {
|
|
10365
|
-
if (entry === null) {
|
|
10366
|
-
return null;
|
|
10367
|
-
}
|
|
10368
9810
|
return serializeAws_json1_1OpsItemNotification(entry, context);
|
|
10369
9811
|
});
|
|
10370
9812
|
};
|
|
@@ -10383,9 +9825,6 @@ const serializeAws_json1_1OpsItemOpsDataKeysList = (input, context) => {
|
|
|
10383
9825
|
return input
|
|
10384
9826
|
.filter((e) => e != null)
|
|
10385
9827
|
.map((entry) => {
|
|
10386
|
-
if (entry === null) {
|
|
10387
|
-
return null;
|
|
10388
|
-
}
|
|
10389
9828
|
return entry;
|
|
10390
9829
|
});
|
|
10391
9830
|
};
|
|
@@ -10400,9 +9839,6 @@ const serializeAws_json1_1OpsItemRelatedItemsFilters = (input, context) => {
|
|
|
10400
9839
|
return input
|
|
10401
9840
|
.filter((e) => e != null)
|
|
10402
9841
|
.map((entry) => {
|
|
10403
|
-
if (entry === null) {
|
|
10404
|
-
return null;
|
|
10405
|
-
}
|
|
10406
9842
|
return serializeAws_json1_1OpsItemRelatedItemsFilter(entry, context);
|
|
10407
9843
|
});
|
|
10408
9844
|
};
|
|
@@ -10410,9 +9846,6 @@ const serializeAws_json1_1OpsItemRelatedItemsFilterValues = (input, context) =>
|
|
|
10410
9846
|
return input
|
|
10411
9847
|
.filter((e) => e != null)
|
|
10412
9848
|
.map((entry) => {
|
|
10413
|
-
if (entry === null) {
|
|
10414
|
-
return null;
|
|
10415
|
-
}
|
|
10416
9849
|
return entry;
|
|
10417
9850
|
});
|
|
10418
9851
|
};
|
|
@@ -10426,9 +9859,6 @@ const serializeAws_json1_1OpsMetadataFilterList = (input, context) => {
|
|
|
10426
9859
|
return input
|
|
10427
9860
|
.filter((e) => e != null)
|
|
10428
9861
|
.map((entry) => {
|
|
10429
|
-
if (entry === null) {
|
|
10430
|
-
return null;
|
|
10431
|
-
}
|
|
10432
9862
|
return serializeAws_json1_1OpsMetadataFilter(entry, context);
|
|
10433
9863
|
});
|
|
10434
9864
|
};
|
|
@@ -10436,9 +9866,6 @@ const serializeAws_json1_1OpsMetadataFilterValueList = (input, context) => {
|
|
|
10436
9866
|
return input
|
|
10437
9867
|
.filter((e) => e != null)
|
|
10438
9868
|
.map((entry) => {
|
|
10439
|
-
if (entry === null) {
|
|
10440
|
-
return null;
|
|
10441
|
-
}
|
|
10442
9869
|
return entry;
|
|
10443
9870
|
});
|
|
10444
9871
|
};
|
|
@@ -10451,9 +9878,6 @@ const serializeAws_json1_1OpsResultAttributeList = (input, context) => {
|
|
|
10451
9878
|
return input
|
|
10452
9879
|
.filter((e) => e != null)
|
|
10453
9880
|
.map((entry) => {
|
|
10454
|
-
if (entry === null) {
|
|
10455
|
-
return null;
|
|
10456
|
-
}
|
|
10457
9881
|
return serializeAws_json1_1OpsResultAttribute(entry, context);
|
|
10458
9882
|
});
|
|
10459
9883
|
};
|
|
@@ -10461,9 +9885,6 @@ const serializeAws_json1_1ParameterLabelList = (input, context) => {
|
|
|
10461
9885
|
return input
|
|
10462
9886
|
.filter((e) => e != null)
|
|
10463
9887
|
.map((entry) => {
|
|
10464
|
-
if (entry === null) {
|
|
10465
|
-
return null;
|
|
10466
|
-
}
|
|
10467
9888
|
return entry;
|
|
10468
9889
|
});
|
|
10469
9890
|
};
|
|
@@ -10471,9 +9892,6 @@ const serializeAws_json1_1ParameterNameList = (input, context) => {
|
|
|
10471
9892
|
return input
|
|
10472
9893
|
.filter((e) => e != null)
|
|
10473
9894
|
.map((entry) => {
|
|
10474
|
-
if (entry === null) {
|
|
10475
|
-
return null;
|
|
10476
|
-
}
|
|
10477
9895
|
return entry;
|
|
10478
9896
|
});
|
|
10479
9897
|
};
|
|
@@ -10498,9 +9916,6 @@ const serializeAws_json1_1ParametersFilterList = (input, context) => {
|
|
|
10498
9916
|
return input
|
|
10499
9917
|
.filter((e) => e != null)
|
|
10500
9918
|
.map((entry) => {
|
|
10501
|
-
if (entry === null) {
|
|
10502
|
-
return null;
|
|
10503
|
-
}
|
|
10504
9919
|
return serializeAws_json1_1ParametersFilter(entry, context);
|
|
10505
9920
|
});
|
|
10506
9921
|
};
|
|
@@ -10508,9 +9923,6 @@ const serializeAws_json1_1ParametersFilterValueList = (input, context) => {
|
|
|
10508
9923
|
return input
|
|
10509
9924
|
.filter((e) => e != null)
|
|
10510
9925
|
.map((entry) => {
|
|
10511
|
-
if (entry === null) {
|
|
10512
|
-
return null;
|
|
10513
|
-
}
|
|
10514
9926
|
return entry;
|
|
10515
9927
|
});
|
|
10516
9928
|
};
|
|
@@ -10525,9 +9937,6 @@ const serializeAws_json1_1ParameterStringFilterList = (input, context) => {
|
|
|
10525
9937
|
return input
|
|
10526
9938
|
.filter((e) => e != null)
|
|
10527
9939
|
.map((entry) => {
|
|
10528
|
-
if (entry === null) {
|
|
10529
|
-
return null;
|
|
10530
|
-
}
|
|
10531
9940
|
return serializeAws_json1_1ParameterStringFilter(entry, context);
|
|
10532
9941
|
});
|
|
10533
9942
|
};
|
|
@@ -10535,9 +9944,6 @@ const serializeAws_json1_1ParameterStringFilterValueList = (input, context) => {
|
|
|
10535
9944
|
return input
|
|
10536
9945
|
.filter((e) => e != null)
|
|
10537
9946
|
.map((entry) => {
|
|
10538
|
-
if (entry === null) {
|
|
10539
|
-
return null;
|
|
10540
|
-
}
|
|
10541
9947
|
return entry;
|
|
10542
9948
|
});
|
|
10543
9949
|
};
|
|
@@ -10545,9 +9951,6 @@ const serializeAws_json1_1ParameterValueList = (input, context) => {
|
|
|
10545
9951
|
return input
|
|
10546
9952
|
.filter((e) => e != null)
|
|
10547
9953
|
.map((entry) => {
|
|
10548
|
-
if (entry === null) {
|
|
10549
|
-
return null;
|
|
10550
|
-
}
|
|
10551
9954
|
return entry;
|
|
10552
9955
|
});
|
|
10553
9956
|
};
|
|
@@ -10568,9 +9971,6 @@ const serializeAws_json1_1PatchFilterList = (input, context) => {
|
|
|
10568
9971
|
return input
|
|
10569
9972
|
.filter((e) => e != null)
|
|
10570
9973
|
.map((entry) => {
|
|
10571
|
-
if (entry === null) {
|
|
10572
|
-
return null;
|
|
10573
|
-
}
|
|
10574
9974
|
return serializeAws_json1_1PatchFilter(entry, context);
|
|
10575
9975
|
});
|
|
10576
9976
|
};
|
|
@@ -10578,9 +9978,6 @@ const serializeAws_json1_1PatchFilterValueList = (input, context) => {
|
|
|
10578
9978
|
return input
|
|
10579
9979
|
.filter((e) => e != null)
|
|
10580
9980
|
.map((entry) => {
|
|
10581
|
-
if (entry === null) {
|
|
10582
|
-
return null;
|
|
10583
|
-
}
|
|
10584
9981
|
return entry;
|
|
10585
9982
|
});
|
|
10586
9983
|
};
|
|
@@ -10588,9 +9985,6 @@ const serializeAws_json1_1PatchIdList = (input, context) => {
|
|
|
10588
9985
|
return input
|
|
10589
9986
|
.filter((e) => e != null)
|
|
10590
9987
|
.map((entry) => {
|
|
10591
|
-
if (entry === null) {
|
|
10592
|
-
return null;
|
|
10593
|
-
}
|
|
10594
9988
|
return entry;
|
|
10595
9989
|
});
|
|
10596
9990
|
};
|
|
@@ -10604,9 +9998,6 @@ const serializeAws_json1_1PatchOrchestratorFilterList = (input, context) => {
|
|
|
10604
9998
|
return input
|
|
10605
9999
|
.filter((e) => e != null)
|
|
10606
10000
|
.map((entry) => {
|
|
10607
|
-
if (entry === null) {
|
|
10608
|
-
return null;
|
|
10609
|
-
}
|
|
10610
10001
|
return serializeAws_json1_1PatchOrchestratorFilter(entry, context);
|
|
10611
10002
|
});
|
|
10612
10003
|
};
|
|
@@ -10614,9 +10005,6 @@ const serializeAws_json1_1PatchOrchestratorFilterValues = (input, context) => {
|
|
|
10614
10005
|
return input
|
|
10615
10006
|
.filter((e) => e != null)
|
|
10616
10007
|
.map((entry) => {
|
|
10617
|
-
if (entry === null) {
|
|
10618
|
-
return null;
|
|
10619
|
-
}
|
|
10620
10008
|
return entry;
|
|
10621
10009
|
});
|
|
10622
10010
|
};
|
|
@@ -10640,9 +10028,6 @@ const serializeAws_json1_1PatchRuleList = (input, context) => {
|
|
|
10640
10028
|
return input
|
|
10641
10029
|
.filter((e) => e != null)
|
|
10642
10030
|
.map((entry) => {
|
|
10643
|
-
if (entry === null) {
|
|
10644
|
-
return null;
|
|
10645
|
-
}
|
|
10646
10031
|
return serializeAws_json1_1PatchRule(entry, context);
|
|
10647
10032
|
});
|
|
10648
10033
|
};
|
|
@@ -10657,9 +10042,6 @@ const serializeAws_json1_1PatchSourceList = (input, context) => {
|
|
|
10657
10042
|
return input
|
|
10658
10043
|
.filter((e) => e != null)
|
|
10659
10044
|
.map((entry) => {
|
|
10660
|
-
if (entry === null) {
|
|
10661
|
-
return null;
|
|
10662
|
-
}
|
|
10663
10045
|
return serializeAws_json1_1PatchSource(entry, context);
|
|
10664
10046
|
});
|
|
10665
10047
|
};
|
|
@@ -10667,9 +10049,6 @@ const serializeAws_json1_1PatchSourceProductList = (input, context) => {
|
|
|
10667
10049
|
return input
|
|
10668
10050
|
.filter((e) => e != null)
|
|
10669
10051
|
.map((entry) => {
|
|
10670
|
-
if (entry === null) {
|
|
10671
|
-
return null;
|
|
10672
|
-
}
|
|
10673
10052
|
return entry;
|
|
10674
10053
|
});
|
|
10675
10054
|
};
|
|
@@ -10711,9 +10090,6 @@ const serializeAws_json1_1Regions = (input, context) => {
|
|
|
10711
10090
|
return input
|
|
10712
10091
|
.filter((e) => e != null)
|
|
10713
10092
|
.map((entry) => {
|
|
10714
|
-
if (entry === null) {
|
|
10715
|
-
return null;
|
|
10716
|
-
}
|
|
10717
10093
|
return entry;
|
|
10718
10094
|
});
|
|
10719
10095
|
};
|
|
@@ -10774,9 +10150,6 @@ const serializeAws_json1_1RegistrationMetadataList = (input, context) => {
|
|
|
10774
10150
|
return input
|
|
10775
10151
|
.filter((e) => e != null)
|
|
10776
10152
|
.map((entry) => {
|
|
10777
|
-
if (entry === null) {
|
|
10778
|
-
return null;
|
|
10779
|
-
}
|
|
10780
10153
|
return serializeAws_json1_1RegistrationMetadataItem(entry, context);
|
|
10781
10154
|
});
|
|
10782
10155
|
};
|
|
@@ -10789,9 +10162,6 @@ const serializeAws_json1_1RelatedOpsItems = (input, context) => {
|
|
|
10789
10162
|
return input
|
|
10790
10163
|
.filter((e) => e != null)
|
|
10791
10164
|
.map((entry) => {
|
|
10792
|
-
if (entry === null) {
|
|
10793
|
-
return null;
|
|
10794
|
-
}
|
|
10795
10165
|
return serializeAws_json1_1RelatedOpsItem(entry, context);
|
|
10796
10166
|
});
|
|
10797
10167
|
};
|
|
@@ -10829,9 +10199,6 @@ const serializeAws_json1_1ResourceDataSyncOrganizationalUnitList = (input, conte
|
|
|
10829
10199
|
return input
|
|
10830
10200
|
.filter((e) => e != null)
|
|
10831
10201
|
.map((entry) => {
|
|
10832
|
-
if (entry === null) {
|
|
10833
|
-
return null;
|
|
10834
|
-
}
|
|
10835
10202
|
return serializeAws_json1_1ResourceDataSyncOrganizationalUnit(entry, context);
|
|
10836
10203
|
});
|
|
10837
10204
|
};
|
|
@@ -10864,9 +10231,6 @@ const serializeAws_json1_1ResourceDataSyncSourceRegionList = (input, context) =>
|
|
|
10864
10231
|
return input
|
|
10865
10232
|
.filter((e) => e != null)
|
|
10866
10233
|
.map((entry) => {
|
|
10867
|
-
if (entry === null) {
|
|
10868
|
-
return null;
|
|
10869
|
-
}
|
|
10870
10234
|
return entry;
|
|
10871
10235
|
});
|
|
10872
10236
|
};
|
|
@@ -10879,9 +10243,6 @@ const serializeAws_json1_1ResultAttributeList = (input, context) => {
|
|
|
10879
10243
|
return input
|
|
10880
10244
|
.filter((e) => e != null)
|
|
10881
10245
|
.map((entry) => {
|
|
10882
|
-
if (entry === null) {
|
|
10883
|
-
return null;
|
|
10884
|
-
}
|
|
10885
10246
|
return serializeAws_json1_1ResultAttribute(entry, context);
|
|
10886
10247
|
});
|
|
10887
10248
|
};
|
|
@@ -10911,9 +10272,6 @@ const serializeAws_json1_1Runbooks = (input, context) => {
|
|
|
10911
10272
|
return input
|
|
10912
10273
|
.filter((e) => e != null)
|
|
10913
10274
|
.map((entry) => {
|
|
10914
|
-
if (entry === null) {
|
|
10915
|
-
return null;
|
|
10916
|
-
}
|
|
10917
10275
|
return serializeAws_json1_1Runbook(entry, context);
|
|
10918
10276
|
});
|
|
10919
10277
|
};
|
|
@@ -10966,9 +10324,6 @@ const serializeAws_json1_1SessionFilterList = (input, context) => {
|
|
|
10966
10324
|
return input
|
|
10967
10325
|
.filter((e) => e != null)
|
|
10968
10326
|
.map((entry) => {
|
|
10969
|
-
if (entry === null) {
|
|
10970
|
-
return null;
|
|
10971
|
-
}
|
|
10972
10327
|
return serializeAws_json1_1SessionFilter(entry, context);
|
|
10973
10328
|
});
|
|
10974
10329
|
};
|
|
@@ -10987,9 +10342,6 @@ const serializeAws_json1_1SessionManagerParameterValueList = (input, context) =>
|
|
|
10987
10342
|
return input
|
|
10988
10343
|
.filter((e) => e != null)
|
|
10989
10344
|
.map((entry) => {
|
|
10990
|
-
if (entry === null) {
|
|
10991
|
-
return null;
|
|
10992
|
-
}
|
|
10993
10345
|
return entry;
|
|
10994
10346
|
});
|
|
10995
10347
|
};
|
|
@@ -11057,9 +10409,6 @@ const serializeAws_json1_1StepExecutionFilterList = (input, context) => {
|
|
|
11057
10409
|
return input
|
|
11058
10410
|
.filter((e) => e != null)
|
|
11059
10411
|
.map((entry) => {
|
|
11060
|
-
if (entry === null) {
|
|
11061
|
-
return null;
|
|
11062
|
-
}
|
|
11063
10412
|
return serializeAws_json1_1StepExecutionFilter(entry, context);
|
|
11064
10413
|
});
|
|
11065
10414
|
};
|
|
@@ -11067,9 +10416,6 @@ const serializeAws_json1_1StepExecutionFilterValueList = (input, context) => {
|
|
|
11067
10416
|
return input
|
|
11068
10417
|
.filter((e) => e != null)
|
|
11069
10418
|
.map((entry) => {
|
|
11070
|
-
if (entry === null) {
|
|
11071
|
-
return null;
|
|
11072
|
-
}
|
|
11073
10419
|
return entry;
|
|
11074
10420
|
});
|
|
11075
10421
|
};
|
|
@@ -11083,9 +10429,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
11083
10429
|
return input
|
|
11084
10430
|
.filter((e) => e != null)
|
|
11085
10431
|
.map((entry) => {
|
|
11086
|
-
if (entry === null) {
|
|
11087
|
-
return null;
|
|
11088
|
-
}
|
|
11089
10432
|
return entry;
|
|
11090
10433
|
});
|
|
11091
10434
|
};
|
|
@@ -11099,9 +10442,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
11099
10442
|
return input
|
|
11100
10443
|
.filter((e) => e != null)
|
|
11101
10444
|
.map((entry) => {
|
|
11102
|
-
if (entry === null) {
|
|
11103
|
-
return null;
|
|
11104
|
-
}
|
|
11105
10445
|
return serializeAws_json1_1Tag(entry, context);
|
|
11106
10446
|
});
|
|
11107
10447
|
};
|
|
@@ -11126,9 +10466,6 @@ const serializeAws_json1_1TargetLocations = (input, context) => {
|
|
|
11126
10466
|
return input
|
|
11127
10467
|
.filter((e) => e != null)
|
|
11128
10468
|
.map((entry) => {
|
|
11129
|
-
if (entry === null) {
|
|
11130
|
-
return null;
|
|
11131
|
-
}
|
|
11132
10469
|
return serializeAws_json1_1TargetLocation(entry, context);
|
|
11133
10470
|
});
|
|
11134
10471
|
};
|
|
@@ -11147,9 +10484,6 @@ const serializeAws_json1_1TargetMaps = (input, context) => {
|
|
|
11147
10484
|
return input
|
|
11148
10485
|
.filter((e) => e != null)
|
|
11149
10486
|
.map((entry) => {
|
|
11150
|
-
if (entry === null) {
|
|
11151
|
-
return null;
|
|
11152
|
-
}
|
|
11153
10487
|
return serializeAws_json1_1TargetMap(entry, context);
|
|
11154
10488
|
});
|
|
11155
10489
|
};
|
|
@@ -11157,9 +10491,6 @@ const serializeAws_json1_1TargetMapValueList = (input, context) => {
|
|
|
11157
10491
|
return input
|
|
11158
10492
|
.filter((e) => e != null)
|
|
11159
10493
|
.map((entry) => {
|
|
11160
|
-
if (entry === null) {
|
|
11161
|
-
return null;
|
|
11162
|
-
}
|
|
11163
10494
|
return entry;
|
|
11164
10495
|
});
|
|
11165
10496
|
};
|
|
@@ -11167,9 +10498,6 @@ const serializeAws_json1_1Targets = (input, context) => {
|
|
|
11167
10498
|
return input
|
|
11168
10499
|
.filter((e) => e != null)
|
|
11169
10500
|
.map((entry) => {
|
|
11170
|
-
if (entry === null) {
|
|
11171
|
-
return null;
|
|
11172
|
-
}
|
|
11173
10501
|
return serializeAws_json1_1Target(entry, context);
|
|
11174
10502
|
});
|
|
11175
10503
|
};
|
|
@@ -11177,9 +10505,6 @@ const serializeAws_json1_1TargetValues = (input, context) => {
|
|
|
11177
10505
|
return input
|
|
11178
10506
|
.filter((e) => e != null)
|
|
11179
10507
|
.map((entry) => {
|
|
11180
|
-
if (entry === null) {
|
|
11181
|
-
return null;
|
|
11182
|
-
}
|
|
11183
10508
|
return entry;
|
|
11184
10509
|
});
|
|
11185
10510
|
};
|