@aws-sdk/client-customer-profiles 3.112.0 → 3.121.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.
|
@@ -447,6 +447,10 @@ const serializeAws_restJson1GetAutoMergingPreviewCommand = async (input, context
|
|
|
447
447
|
input.Consolidation !== null && {
|
|
448
448
|
Consolidation: serializeAws_restJson1Consolidation(input.Consolidation, context),
|
|
449
449
|
}),
|
|
450
|
+
...(input.MinAllowedConfidenceScoreForMerging !== undefined &&
|
|
451
|
+
input.MinAllowedConfidenceScoreForMerging !== null && {
|
|
452
|
+
MinAllowedConfidenceScoreForMerging: (0, smithy_client_1.serializeFloat)(input.MinAllowedConfidenceScoreForMerging),
|
|
453
|
+
}),
|
|
450
454
|
});
|
|
451
455
|
return new protocol_http_1.HttpRequest({
|
|
452
456
|
protocol,
|
|
@@ -1400,8 +1404,7 @@ const deserializeAws_restJson1AddProfileKeyCommandError = async (output, context
|
|
|
1400
1404
|
body: await parseBody(output.body, context),
|
|
1401
1405
|
};
|
|
1402
1406
|
let response;
|
|
1403
|
-
|
|
1404
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1407
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1405
1408
|
switch (errorCode) {
|
|
1406
1409
|
case "AccessDeniedException":
|
|
1407
1410
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1420,10 +1423,12 @@ const deserializeAws_restJson1AddProfileKeyCommandError = async (output, context
|
|
|
1420
1423
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1421
1424
|
default:
|
|
1422
1425
|
const parsedBody = parsedOutput.body;
|
|
1426
|
+
const $metadata = deserializeMetadata(output);
|
|
1427
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1423
1428
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1424
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1429
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1425
1430
|
$fault: "client",
|
|
1426
|
-
$metadata
|
|
1431
|
+
$metadata,
|
|
1427
1432
|
});
|
|
1428
1433
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1429
1434
|
}
|
|
@@ -1477,8 +1482,7 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
|
|
|
1477
1482
|
body: await parseBody(output.body, context),
|
|
1478
1483
|
};
|
|
1479
1484
|
let response;
|
|
1480
|
-
|
|
1481
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1485
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1482
1486
|
switch (errorCode) {
|
|
1483
1487
|
case "AccessDeniedException":
|
|
1484
1488
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1497,10 +1501,12 @@ const deserializeAws_restJson1CreateDomainCommandError = async (output, context)
|
|
|
1497
1501
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1498
1502
|
default:
|
|
1499
1503
|
const parsedBody = parsedOutput.body;
|
|
1504
|
+
const $metadata = deserializeMetadata(output);
|
|
1505
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1500
1506
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1501
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1507
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1502
1508
|
$fault: "client",
|
|
1503
|
-
$metadata
|
|
1509
|
+
$metadata,
|
|
1504
1510
|
});
|
|
1505
1511
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1506
1512
|
}
|
|
@@ -1530,8 +1536,7 @@ const deserializeAws_restJson1CreateIntegrationWorkflowCommandError = async (out
|
|
|
1530
1536
|
body: await parseBody(output.body, context),
|
|
1531
1537
|
};
|
|
1532
1538
|
let response;
|
|
1533
|
-
|
|
1534
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1539
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1535
1540
|
switch (errorCode) {
|
|
1536
1541
|
case "AccessDeniedException":
|
|
1537
1542
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1550,10 +1555,12 @@ const deserializeAws_restJson1CreateIntegrationWorkflowCommandError = async (out
|
|
|
1550
1555
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1551
1556
|
default:
|
|
1552
1557
|
const parsedBody = parsedOutput.body;
|
|
1558
|
+
const $metadata = deserializeMetadata(output);
|
|
1559
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1553
1560
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1554
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1561
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1555
1562
|
$fault: "client",
|
|
1556
|
-
$metadata
|
|
1563
|
+
$metadata,
|
|
1557
1564
|
});
|
|
1558
1565
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1559
1566
|
}
|
|
@@ -1579,8 +1586,7 @@ const deserializeAws_restJson1CreateProfileCommandError = async (output, context
|
|
|
1579
1586
|
body: await parseBody(output.body, context),
|
|
1580
1587
|
};
|
|
1581
1588
|
let response;
|
|
1582
|
-
|
|
1583
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1589
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1584
1590
|
switch (errorCode) {
|
|
1585
1591
|
case "AccessDeniedException":
|
|
1586
1592
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1599,10 +1605,12 @@ const deserializeAws_restJson1CreateProfileCommandError = async (output, context
|
|
|
1599
1605
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1600
1606
|
default:
|
|
1601
1607
|
const parsedBody = parsedOutput.body;
|
|
1608
|
+
const $metadata = deserializeMetadata(output);
|
|
1609
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1602
1610
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1603
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1611
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1604
1612
|
$fault: "client",
|
|
1605
|
-
$metadata
|
|
1613
|
+
$metadata,
|
|
1606
1614
|
});
|
|
1607
1615
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1608
1616
|
}
|
|
@@ -1628,8 +1636,7 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
|
|
|
1628
1636
|
body: await parseBody(output.body, context),
|
|
1629
1637
|
};
|
|
1630
1638
|
let response;
|
|
1631
|
-
|
|
1632
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1633
1640
|
switch (errorCode) {
|
|
1634
1641
|
case "AccessDeniedException":
|
|
1635
1642
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1648,10 +1655,12 @@ const deserializeAws_restJson1DeleteDomainCommandError = async (output, context)
|
|
|
1648
1655
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1649
1656
|
default:
|
|
1650
1657
|
const parsedBody = parsedOutput.body;
|
|
1658
|
+
const $metadata = deserializeMetadata(output);
|
|
1659
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1651
1660
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1652
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1661
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1653
1662
|
$fault: "client",
|
|
1654
|
-
$metadata
|
|
1663
|
+
$metadata,
|
|
1655
1664
|
});
|
|
1656
1665
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1657
1666
|
}
|
|
@@ -1677,8 +1686,7 @@ const deserializeAws_restJson1DeleteIntegrationCommandError = async (output, con
|
|
|
1677
1686
|
body: await parseBody(output.body, context),
|
|
1678
1687
|
};
|
|
1679
1688
|
let response;
|
|
1680
|
-
|
|
1681
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1689
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1682
1690
|
switch (errorCode) {
|
|
1683
1691
|
case "AccessDeniedException":
|
|
1684
1692
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1697,10 +1705,12 @@ const deserializeAws_restJson1DeleteIntegrationCommandError = async (output, con
|
|
|
1697
1705
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1698
1706
|
default:
|
|
1699
1707
|
const parsedBody = parsedOutput.body;
|
|
1708
|
+
const $metadata = deserializeMetadata(output);
|
|
1709
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1700
1710
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1701
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1711
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1702
1712
|
$fault: "client",
|
|
1703
|
-
$metadata
|
|
1713
|
+
$metadata,
|
|
1704
1714
|
});
|
|
1705
1715
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1706
1716
|
}
|
|
@@ -1726,8 +1736,7 @@ const deserializeAws_restJson1DeleteProfileCommandError = async (output, context
|
|
|
1726
1736
|
body: await parseBody(output.body, context),
|
|
1727
1737
|
};
|
|
1728
1738
|
let response;
|
|
1729
|
-
|
|
1730
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1739
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1731
1740
|
switch (errorCode) {
|
|
1732
1741
|
case "AccessDeniedException":
|
|
1733
1742
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1746,10 +1755,12 @@ const deserializeAws_restJson1DeleteProfileCommandError = async (output, context
|
|
|
1746
1755
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1747
1756
|
default:
|
|
1748
1757
|
const parsedBody = parsedOutput.body;
|
|
1758
|
+
const $metadata = deserializeMetadata(output);
|
|
1759
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1749
1760
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1750
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1761
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1751
1762
|
$fault: "client",
|
|
1752
|
-
$metadata
|
|
1763
|
+
$metadata,
|
|
1753
1764
|
});
|
|
1754
1765
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1755
1766
|
}
|
|
@@ -1775,8 +1786,7 @@ const deserializeAws_restJson1DeleteProfileKeyCommandError = async (output, cont
|
|
|
1775
1786
|
body: await parseBody(output.body, context),
|
|
1776
1787
|
};
|
|
1777
1788
|
let response;
|
|
1778
|
-
|
|
1779
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1789
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1780
1790
|
switch (errorCode) {
|
|
1781
1791
|
case "AccessDeniedException":
|
|
1782
1792
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1795,10 +1805,12 @@ const deserializeAws_restJson1DeleteProfileKeyCommandError = async (output, cont
|
|
|
1795
1805
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1796
1806
|
default:
|
|
1797
1807
|
const parsedBody = parsedOutput.body;
|
|
1808
|
+
const $metadata = deserializeMetadata(output);
|
|
1809
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1798
1810
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1799
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1811
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1800
1812
|
$fault: "client",
|
|
1801
|
-
$metadata
|
|
1813
|
+
$metadata,
|
|
1802
1814
|
});
|
|
1803
1815
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1804
1816
|
}
|
|
@@ -1824,8 +1836,7 @@ const deserializeAws_restJson1DeleteProfileObjectCommandError = async (output, c
|
|
|
1824
1836
|
body: await parseBody(output.body, context),
|
|
1825
1837
|
};
|
|
1826
1838
|
let response;
|
|
1827
|
-
|
|
1828
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1839
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1829
1840
|
switch (errorCode) {
|
|
1830
1841
|
case "AccessDeniedException":
|
|
1831
1842
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1844,10 +1855,12 @@ const deserializeAws_restJson1DeleteProfileObjectCommandError = async (output, c
|
|
|
1844
1855
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1845
1856
|
default:
|
|
1846
1857
|
const parsedBody = parsedOutput.body;
|
|
1858
|
+
const $metadata = deserializeMetadata(output);
|
|
1859
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1847
1860
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1848
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1861
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1849
1862
|
$fault: "client",
|
|
1850
|
-
$metadata
|
|
1863
|
+
$metadata,
|
|
1851
1864
|
});
|
|
1852
1865
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1853
1866
|
}
|
|
@@ -1873,8 +1886,7 @@ const deserializeAws_restJson1DeleteProfileObjectTypeCommandError = async (outpu
|
|
|
1873
1886
|
body: await parseBody(output.body, context),
|
|
1874
1887
|
};
|
|
1875
1888
|
let response;
|
|
1876
|
-
|
|
1877
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1889
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1878
1890
|
switch (errorCode) {
|
|
1879
1891
|
case "AccessDeniedException":
|
|
1880
1892
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1893,10 +1905,12 @@ const deserializeAws_restJson1DeleteProfileObjectTypeCommandError = async (outpu
|
|
|
1893
1905
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1894
1906
|
default:
|
|
1895
1907
|
const parsedBody = parsedOutput.body;
|
|
1908
|
+
const $metadata = deserializeMetadata(output);
|
|
1909
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1896
1910
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1897
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1911
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1898
1912
|
$fault: "client",
|
|
1899
|
-
$metadata
|
|
1913
|
+
$metadata,
|
|
1900
1914
|
});
|
|
1901
1915
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1902
1916
|
}
|
|
@@ -1918,8 +1932,7 @@ const deserializeAws_restJson1DeleteWorkflowCommandError = async (output, contex
|
|
|
1918
1932
|
body: await parseBody(output.body, context),
|
|
1919
1933
|
};
|
|
1920
1934
|
let response;
|
|
1921
|
-
|
|
1922
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1935
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1923
1936
|
switch (errorCode) {
|
|
1924
1937
|
case "AccessDeniedException":
|
|
1925
1938
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1938,10 +1951,12 @@ const deserializeAws_restJson1DeleteWorkflowCommandError = async (output, contex
|
|
|
1938
1951
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1939
1952
|
default:
|
|
1940
1953
|
const parsedBody = parsedOutput.body;
|
|
1954
|
+
const $metadata = deserializeMetadata(output);
|
|
1955
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1941
1956
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
1942
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1957
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1943
1958
|
$fault: "client",
|
|
1944
|
-
$metadata
|
|
1959
|
+
$metadata,
|
|
1945
1960
|
});
|
|
1946
1961
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1947
1962
|
}
|
|
@@ -1979,8 +1994,7 @@ const deserializeAws_restJson1GetAutoMergingPreviewCommandError = async (output,
|
|
|
1979
1994
|
body: await parseBody(output.body, context),
|
|
1980
1995
|
};
|
|
1981
1996
|
let response;
|
|
1982
|
-
|
|
1983
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1997
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1984
1998
|
switch (errorCode) {
|
|
1985
1999
|
case "AccessDeniedException":
|
|
1986
2000
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -1999,10 +2013,12 @@ const deserializeAws_restJson1GetAutoMergingPreviewCommandError = async (output,
|
|
|
1999
2013
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2000
2014
|
default:
|
|
2001
2015
|
const parsedBody = parsedOutput.body;
|
|
2016
|
+
const $metadata = deserializeMetadata(output);
|
|
2017
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2002
2018
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2003
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2019
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2004
2020
|
$fault: "client",
|
|
2005
|
-
$metadata
|
|
2021
|
+
$metadata,
|
|
2006
2022
|
});
|
|
2007
2023
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2008
2024
|
}
|
|
@@ -2060,8 +2076,7 @@ const deserializeAws_restJson1GetDomainCommandError = async (output, context) =>
|
|
|
2060
2076
|
body: await parseBody(output.body, context),
|
|
2061
2077
|
};
|
|
2062
2078
|
let response;
|
|
2063
|
-
|
|
2064
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2079
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2065
2080
|
switch (errorCode) {
|
|
2066
2081
|
case "AccessDeniedException":
|
|
2067
2082
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2080,10 +2095,12 @@ const deserializeAws_restJson1GetDomainCommandError = async (output, context) =>
|
|
|
2080
2095
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2081
2096
|
default:
|
|
2082
2097
|
const parsedBody = parsedOutput.body;
|
|
2098
|
+
const $metadata = deserializeMetadata(output);
|
|
2099
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2083
2100
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2084
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2101
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2085
2102
|
$fault: "client",
|
|
2086
|
-
$metadata
|
|
2103
|
+
$metadata,
|
|
2087
2104
|
});
|
|
2088
2105
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2089
2106
|
}
|
|
@@ -2149,8 +2166,7 @@ const deserializeAws_restJson1GetIdentityResolutionJobCommandError = async (outp
|
|
|
2149
2166
|
body: await parseBody(output.body, context),
|
|
2150
2167
|
};
|
|
2151
2168
|
let response;
|
|
2152
|
-
|
|
2153
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2169
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2154
2170
|
switch (errorCode) {
|
|
2155
2171
|
case "AccessDeniedException":
|
|
2156
2172
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2169,10 +2185,12 @@ const deserializeAws_restJson1GetIdentityResolutionJobCommandError = async (outp
|
|
|
2169
2185
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2170
2186
|
default:
|
|
2171
2187
|
const parsedBody = parsedOutput.body;
|
|
2188
|
+
const $metadata = deserializeMetadata(output);
|
|
2189
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2172
2190
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2173
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2191
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2174
2192
|
$fault: "client",
|
|
2175
|
-
$metadata
|
|
2193
|
+
$metadata,
|
|
2176
2194
|
});
|
|
2177
2195
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2178
2196
|
}
|
|
@@ -2226,8 +2244,7 @@ const deserializeAws_restJson1GetIntegrationCommandError = async (output, contex
|
|
|
2226
2244
|
body: await parseBody(output.body, context),
|
|
2227
2245
|
};
|
|
2228
2246
|
let response;
|
|
2229
|
-
|
|
2230
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2247
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2231
2248
|
switch (errorCode) {
|
|
2232
2249
|
case "AccessDeniedException":
|
|
2233
2250
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2246,10 +2263,12 @@ const deserializeAws_restJson1GetIntegrationCommandError = async (output, contex
|
|
|
2246
2263
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2247
2264
|
default:
|
|
2248
2265
|
const parsedBody = parsedOutput.body;
|
|
2266
|
+
const $metadata = deserializeMetadata(output);
|
|
2267
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2249
2268
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2250
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2269
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2251
2270
|
$fault: "client",
|
|
2252
|
-
$metadata
|
|
2271
|
+
$metadata,
|
|
2253
2272
|
});
|
|
2254
2273
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2255
2274
|
}
|
|
@@ -2287,8 +2306,7 @@ const deserializeAws_restJson1GetMatchesCommandError = async (output, context) =
|
|
|
2287
2306
|
body: await parseBody(output.body, context),
|
|
2288
2307
|
};
|
|
2289
2308
|
let response;
|
|
2290
|
-
|
|
2291
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2309
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2292
2310
|
switch (errorCode) {
|
|
2293
2311
|
case "AccessDeniedException":
|
|
2294
2312
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2307,10 +2325,12 @@ const deserializeAws_restJson1GetMatchesCommandError = async (output, context) =
|
|
|
2307
2325
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2308
2326
|
default:
|
|
2309
2327
|
const parsedBody = parsedOutput.body;
|
|
2328
|
+
const $metadata = deserializeMetadata(output);
|
|
2329
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2310
2330
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2311
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2331
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2312
2332
|
$fault: "client",
|
|
2313
|
-
$metadata
|
|
2333
|
+
$metadata,
|
|
2314
2334
|
});
|
|
2315
2335
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2316
2336
|
}
|
|
@@ -2380,8 +2400,7 @@ const deserializeAws_restJson1GetProfileObjectTypeCommandError = async (output,
|
|
|
2380
2400
|
body: await parseBody(output.body, context),
|
|
2381
2401
|
};
|
|
2382
2402
|
let response;
|
|
2383
|
-
|
|
2384
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2403
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2385
2404
|
switch (errorCode) {
|
|
2386
2405
|
case "AccessDeniedException":
|
|
2387
2406
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2400,10 +2419,12 @@ const deserializeAws_restJson1GetProfileObjectTypeCommandError = async (output,
|
|
|
2400
2419
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2401
2420
|
default:
|
|
2402
2421
|
const parsedBody = parsedOutput.body;
|
|
2422
|
+
const $metadata = deserializeMetadata(output);
|
|
2423
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2403
2424
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2404
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2425
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2405
2426
|
$fault: "client",
|
|
2406
|
-
$metadata
|
|
2427
|
+
$metadata,
|
|
2407
2428
|
});
|
|
2408
2429
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2409
2430
|
}
|
|
@@ -2453,8 +2474,7 @@ const deserializeAws_restJson1GetProfileObjectTypeTemplateCommandError = async (
|
|
|
2453
2474
|
body: await parseBody(output.body, context),
|
|
2454
2475
|
};
|
|
2455
2476
|
let response;
|
|
2456
|
-
|
|
2457
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2477
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2458
2478
|
switch (errorCode) {
|
|
2459
2479
|
case "AccessDeniedException":
|
|
2460
2480
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2473,10 +2493,12 @@ const deserializeAws_restJson1GetProfileObjectTypeTemplateCommandError = async (
|
|
|
2473
2493
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2474
2494
|
default:
|
|
2475
2495
|
const parsedBody = parsedOutput.body;
|
|
2496
|
+
const $metadata = deserializeMetadata(output);
|
|
2497
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2476
2498
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2477
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2499
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2478
2500
|
$fault: "client",
|
|
2479
|
-
$metadata
|
|
2501
|
+
$metadata,
|
|
2480
2502
|
});
|
|
2481
2503
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2482
2504
|
}
|
|
@@ -2530,8 +2552,7 @@ const deserializeAws_restJson1GetWorkflowCommandError = async (output, context)
|
|
|
2530
2552
|
body: await parseBody(output.body, context),
|
|
2531
2553
|
};
|
|
2532
2554
|
let response;
|
|
2533
|
-
|
|
2534
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2555
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2535
2556
|
switch (errorCode) {
|
|
2536
2557
|
case "AccessDeniedException":
|
|
2537
2558
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2550,10 +2571,12 @@ const deserializeAws_restJson1GetWorkflowCommandError = async (output, context)
|
|
|
2550
2571
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2551
2572
|
default:
|
|
2552
2573
|
const parsedBody = parsedOutput.body;
|
|
2574
|
+
const $metadata = deserializeMetadata(output);
|
|
2575
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2553
2576
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2554
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2577
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2555
2578
|
$fault: "client",
|
|
2556
|
-
$metadata
|
|
2579
|
+
$metadata,
|
|
2557
2580
|
});
|
|
2558
2581
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2559
2582
|
}
|
|
@@ -2591,8 +2614,7 @@ const deserializeAws_restJson1GetWorkflowStepsCommandError = async (output, cont
|
|
|
2591
2614
|
body: await parseBody(output.body, context),
|
|
2592
2615
|
};
|
|
2593
2616
|
let response;
|
|
2594
|
-
|
|
2595
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2617
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2596
2618
|
switch (errorCode) {
|
|
2597
2619
|
case "AccessDeniedException":
|
|
2598
2620
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2611,10 +2633,12 @@ const deserializeAws_restJson1GetWorkflowStepsCommandError = async (output, cont
|
|
|
2611
2633
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2612
2634
|
default:
|
|
2613
2635
|
const parsedBody = parsedOutput.body;
|
|
2636
|
+
const $metadata = deserializeMetadata(output);
|
|
2637
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2614
2638
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2615
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2639
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2616
2640
|
$fault: "client",
|
|
2617
|
-
$metadata
|
|
2641
|
+
$metadata,
|
|
2618
2642
|
});
|
|
2619
2643
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2620
2644
|
}
|
|
@@ -2644,8 +2668,7 @@ const deserializeAws_restJson1ListAccountIntegrationsCommandError = async (outpu
|
|
|
2644
2668
|
body: await parseBody(output.body, context),
|
|
2645
2669
|
};
|
|
2646
2670
|
let response;
|
|
2647
|
-
|
|
2648
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2671
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2649
2672
|
switch (errorCode) {
|
|
2650
2673
|
case "AccessDeniedException":
|
|
2651
2674
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2664,10 +2687,12 @@ const deserializeAws_restJson1ListAccountIntegrationsCommandError = async (outpu
|
|
|
2664
2687
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2665
2688
|
default:
|
|
2666
2689
|
const parsedBody = parsedOutput.body;
|
|
2690
|
+
const $metadata = deserializeMetadata(output);
|
|
2691
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2667
2692
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2668
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2693
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2669
2694
|
$fault: "client",
|
|
2670
|
-
$metadata
|
|
2695
|
+
$metadata,
|
|
2671
2696
|
});
|
|
2672
2697
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2673
2698
|
}
|
|
@@ -2697,8 +2722,7 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
|
|
|
2697
2722
|
body: await parseBody(output.body, context),
|
|
2698
2723
|
};
|
|
2699
2724
|
let response;
|
|
2700
|
-
|
|
2701
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2725
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2702
2726
|
switch (errorCode) {
|
|
2703
2727
|
case "AccessDeniedException":
|
|
2704
2728
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2717,10 +2741,12 @@ const deserializeAws_restJson1ListDomainsCommandError = async (output, context)
|
|
|
2717
2741
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2718
2742
|
default:
|
|
2719
2743
|
const parsedBody = parsedOutput.body;
|
|
2744
|
+
const $metadata = deserializeMetadata(output);
|
|
2745
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2720
2746
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2721
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2747
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2722
2748
|
$fault: "client",
|
|
2723
|
-
$metadata
|
|
2749
|
+
$metadata,
|
|
2724
2750
|
});
|
|
2725
2751
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2726
2752
|
}
|
|
@@ -2750,8 +2776,7 @@ const deserializeAws_restJson1ListIdentityResolutionJobsCommandError = async (ou
|
|
|
2750
2776
|
body: await parseBody(output.body, context),
|
|
2751
2777
|
};
|
|
2752
2778
|
let response;
|
|
2753
|
-
|
|
2754
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2779
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2755
2780
|
switch (errorCode) {
|
|
2756
2781
|
case "AccessDeniedException":
|
|
2757
2782
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2770,10 +2795,12 @@ const deserializeAws_restJson1ListIdentityResolutionJobsCommandError = async (ou
|
|
|
2770
2795
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2771
2796
|
default:
|
|
2772
2797
|
const parsedBody = parsedOutput.body;
|
|
2798
|
+
const $metadata = deserializeMetadata(output);
|
|
2799
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2773
2800
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2774
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2801
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2775
2802
|
$fault: "client",
|
|
2776
|
-
$metadata
|
|
2803
|
+
$metadata,
|
|
2777
2804
|
});
|
|
2778
2805
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2779
2806
|
}
|
|
@@ -2803,8 +2830,7 @@ const deserializeAws_restJson1ListIntegrationsCommandError = async (output, cont
|
|
|
2803
2830
|
body: await parseBody(output.body, context),
|
|
2804
2831
|
};
|
|
2805
2832
|
let response;
|
|
2806
|
-
|
|
2807
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2833
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2808
2834
|
switch (errorCode) {
|
|
2809
2835
|
case "AccessDeniedException":
|
|
2810
2836
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2823,10 +2849,12 @@ const deserializeAws_restJson1ListIntegrationsCommandError = async (output, cont
|
|
|
2823
2849
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2824
2850
|
default:
|
|
2825
2851
|
const parsedBody = parsedOutput.body;
|
|
2852
|
+
const $metadata = deserializeMetadata(output);
|
|
2853
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2826
2854
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2827
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2855
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2828
2856
|
$fault: "client",
|
|
2829
|
-
$metadata
|
|
2857
|
+
$metadata,
|
|
2830
2858
|
});
|
|
2831
2859
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2832
2860
|
}
|
|
@@ -2856,8 +2884,7 @@ const deserializeAws_restJson1ListProfileObjectsCommandError = async (output, co
|
|
|
2856
2884
|
body: await parseBody(output.body, context),
|
|
2857
2885
|
};
|
|
2858
2886
|
let response;
|
|
2859
|
-
|
|
2860
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2887
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2861
2888
|
switch (errorCode) {
|
|
2862
2889
|
case "AccessDeniedException":
|
|
2863
2890
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2876,10 +2903,12 @@ const deserializeAws_restJson1ListProfileObjectsCommandError = async (output, co
|
|
|
2876
2903
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2877
2904
|
default:
|
|
2878
2905
|
const parsedBody = parsedOutput.body;
|
|
2906
|
+
const $metadata = deserializeMetadata(output);
|
|
2907
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2879
2908
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2880
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2909
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2881
2910
|
$fault: "client",
|
|
2882
|
-
$metadata
|
|
2911
|
+
$metadata,
|
|
2883
2912
|
});
|
|
2884
2913
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2885
2914
|
}
|
|
@@ -2909,8 +2938,7 @@ const deserializeAws_restJson1ListProfileObjectTypesCommandError = async (output
|
|
|
2909
2938
|
body: await parseBody(output.body, context),
|
|
2910
2939
|
};
|
|
2911
2940
|
let response;
|
|
2912
|
-
|
|
2913
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2941
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2914
2942
|
switch (errorCode) {
|
|
2915
2943
|
case "AccessDeniedException":
|
|
2916
2944
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2929,10 +2957,12 @@ const deserializeAws_restJson1ListProfileObjectTypesCommandError = async (output
|
|
|
2929
2957
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2930
2958
|
default:
|
|
2931
2959
|
const parsedBody = parsedOutput.body;
|
|
2960
|
+
const $metadata = deserializeMetadata(output);
|
|
2961
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2932
2962
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2933
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2963
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2934
2964
|
$fault: "client",
|
|
2935
|
-
$metadata
|
|
2965
|
+
$metadata,
|
|
2936
2966
|
});
|
|
2937
2967
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2938
2968
|
}
|
|
@@ -2962,8 +2992,7 @@ const deserializeAws_restJson1ListProfileObjectTypeTemplatesCommandError = async
|
|
|
2962
2992
|
body: await parseBody(output.body, context),
|
|
2963
2993
|
};
|
|
2964
2994
|
let response;
|
|
2965
|
-
|
|
2966
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2995
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2967
2996
|
switch (errorCode) {
|
|
2968
2997
|
case "AccessDeniedException":
|
|
2969
2998
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2982,10 +3011,12 @@ const deserializeAws_restJson1ListProfileObjectTypeTemplatesCommandError = async
|
|
|
2982
3011
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
2983
3012
|
default:
|
|
2984
3013
|
const parsedBody = parsedOutput.body;
|
|
3014
|
+
const $metadata = deserializeMetadata(output);
|
|
3015
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2985
3016
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
2986
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3017
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2987
3018
|
$fault: "client",
|
|
2988
|
-
$metadata
|
|
3019
|
+
$metadata,
|
|
2989
3020
|
});
|
|
2990
3021
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2991
3022
|
}
|
|
@@ -3011,8 +3042,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
3011
3042
|
body: await parseBody(output.body, context),
|
|
3012
3043
|
};
|
|
3013
3044
|
let response;
|
|
3014
|
-
|
|
3015
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3045
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3016
3046
|
switch (errorCode) {
|
|
3017
3047
|
case "BadRequestException":
|
|
3018
3048
|
case "com.amazonaws.customerprofiles#BadRequestException":
|
|
@@ -3025,10 +3055,12 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
3025
3055
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3026
3056
|
default:
|
|
3027
3057
|
const parsedBody = parsedOutput.body;
|
|
3058
|
+
const $metadata = deserializeMetadata(output);
|
|
3059
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3028
3060
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3029
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3061
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3030
3062
|
$fault: "client",
|
|
3031
|
-
$metadata
|
|
3063
|
+
$metadata,
|
|
3032
3064
|
});
|
|
3033
3065
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3034
3066
|
}
|
|
@@ -3058,8 +3090,7 @@ const deserializeAws_restJson1ListWorkflowsCommandError = async (output, context
|
|
|
3058
3090
|
body: await parseBody(output.body, context),
|
|
3059
3091
|
};
|
|
3060
3092
|
let response;
|
|
3061
|
-
|
|
3062
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3093
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3063
3094
|
switch (errorCode) {
|
|
3064
3095
|
case "AccessDeniedException":
|
|
3065
3096
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -3078,10 +3109,12 @@ const deserializeAws_restJson1ListWorkflowsCommandError = async (output, context
|
|
|
3078
3109
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3079
3110
|
default:
|
|
3080
3111
|
const parsedBody = parsedOutput.body;
|
|
3112
|
+
const $metadata = deserializeMetadata(output);
|
|
3113
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3081
3114
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3082
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3115
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3083
3116
|
$fault: "client",
|
|
3084
|
-
$metadata
|
|
3117
|
+
$metadata,
|
|
3085
3118
|
});
|
|
3086
3119
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3087
3120
|
}
|
|
@@ -3107,8 +3140,7 @@ const deserializeAws_restJson1MergeProfilesCommandError = async (output, context
|
|
|
3107
3140
|
body: await parseBody(output.body, context),
|
|
3108
3141
|
};
|
|
3109
3142
|
let response;
|
|
3110
|
-
|
|
3111
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3143
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3112
3144
|
switch (errorCode) {
|
|
3113
3145
|
case "BadRequestException":
|
|
3114
3146
|
case "com.amazonaws.customerprofiles#BadRequestException":
|
|
@@ -3124,10 +3156,12 @@ const deserializeAws_restJson1MergeProfilesCommandError = async (output, context
|
|
|
3124
3156
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3125
3157
|
default:
|
|
3126
3158
|
const parsedBody = parsedOutput.body;
|
|
3159
|
+
const $metadata = deserializeMetadata(output);
|
|
3160
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3127
3161
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3128
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3162
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3129
3163
|
$fault: "client",
|
|
3130
|
-
$metadata
|
|
3164
|
+
$metadata,
|
|
3131
3165
|
});
|
|
3132
3166
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3133
3167
|
}
|
|
@@ -3181,8 +3215,7 @@ const deserializeAws_restJson1PutIntegrationCommandError = async (output, contex
|
|
|
3181
3215
|
body: await parseBody(output.body, context),
|
|
3182
3216
|
};
|
|
3183
3217
|
let response;
|
|
3184
|
-
|
|
3185
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3218
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3186
3219
|
switch (errorCode) {
|
|
3187
3220
|
case "AccessDeniedException":
|
|
3188
3221
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -3201,10 +3234,12 @@ const deserializeAws_restJson1PutIntegrationCommandError = async (output, contex
|
|
|
3201
3234
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3202
3235
|
default:
|
|
3203
3236
|
const parsedBody = parsedOutput.body;
|
|
3237
|
+
const $metadata = deserializeMetadata(output);
|
|
3238
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3204
3239
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3205
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3240
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3206
3241
|
$fault: "client",
|
|
3207
|
-
$metadata
|
|
3242
|
+
$metadata,
|
|
3208
3243
|
});
|
|
3209
3244
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3210
3245
|
}
|
|
@@ -3230,8 +3265,7 @@ const deserializeAws_restJson1PutProfileObjectCommandError = async (output, cont
|
|
|
3230
3265
|
body: await parseBody(output.body, context),
|
|
3231
3266
|
};
|
|
3232
3267
|
let response;
|
|
3233
|
-
|
|
3234
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3268
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3235
3269
|
switch (errorCode) {
|
|
3236
3270
|
case "AccessDeniedException":
|
|
3237
3271
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -3250,10 +3284,12 @@ const deserializeAws_restJson1PutProfileObjectCommandError = async (output, cont
|
|
|
3250
3284
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3251
3285
|
default:
|
|
3252
3286
|
const parsedBody = parsedOutput.body;
|
|
3287
|
+
const $metadata = deserializeMetadata(output);
|
|
3288
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3253
3289
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3254
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3290
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3255
3291
|
$fault: "client",
|
|
3256
|
-
$metadata
|
|
3292
|
+
$metadata,
|
|
3257
3293
|
});
|
|
3258
3294
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3259
3295
|
}
|
|
@@ -3323,8 +3359,7 @@ const deserializeAws_restJson1PutProfileObjectTypeCommandError = async (output,
|
|
|
3323
3359
|
body: await parseBody(output.body, context),
|
|
3324
3360
|
};
|
|
3325
3361
|
let response;
|
|
3326
|
-
|
|
3327
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3362
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3328
3363
|
switch (errorCode) {
|
|
3329
3364
|
case "AccessDeniedException":
|
|
3330
3365
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -3343,10 +3378,12 @@ const deserializeAws_restJson1PutProfileObjectTypeCommandError = async (output,
|
|
|
3343
3378
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3344
3379
|
default:
|
|
3345
3380
|
const parsedBody = parsedOutput.body;
|
|
3381
|
+
const $metadata = deserializeMetadata(output);
|
|
3382
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3346
3383
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3347
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3384
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3348
3385
|
$fault: "client",
|
|
3349
|
-
$metadata
|
|
3386
|
+
$metadata,
|
|
3350
3387
|
});
|
|
3351
3388
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3352
3389
|
}
|
|
@@ -3376,8 +3413,7 @@ const deserializeAws_restJson1SearchProfilesCommandError = async (output, contex
|
|
|
3376
3413
|
body: await parseBody(output.body, context),
|
|
3377
3414
|
};
|
|
3378
3415
|
let response;
|
|
3379
|
-
|
|
3380
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3416
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3381
3417
|
switch (errorCode) {
|
|
3382
3418
|
case "AccessDeniedException":
|
|
3383
3419
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -3396,10 +3432,12 @@ const deserializeAws_restJson1SearchProfilesCommandError = async (output, contex
|
|
|
3396
3432
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3397
3433
|
default:
|
|
3398
3434
|
const parsedBody = parsedOutput.body;
|
|
3435
|
+
const $metadata = deserializeMetadata(output);
|
|
3436
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3399
3437
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3400
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3438
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3401
3439
|
$fault: "client",
|
|
3402
|
-
$metadata
|
|
3440
|
+
$metadata,
|
|
3403
3441
|
});
|
|
3404
3442
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3405
3443
|
}
|
|
@@ -3421,8 +3459,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
3421
3459
|
body: await parseBody(output.body, context),
|
|
3422
3460
|
};
|
|
3423
3461
|
let response;
|
|
3424
|
-
|
|
3425
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3462
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3426
3463
|
switch (errorCode) {
|
|
3427
3464
|
case "BadRequestException":
|
|
3428
3465
|
case "com.amazonaws.customerprofiles#BadRequestException":
|
|
@@ -3435,10 +3472,12 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
3435
3472
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3436
3473
|
default:
|
|
3437
3474
|
const parsedBody = parsedOutput.body;
|
|
3475
|
+
const $metadata = deserializeMetadata(output);
|
|
3476
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3438
3477
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3439
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3478
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3440
3479
|
$fault: "client",
|
|
3441
|
-
$metadata
|
|
3480
|
+
$metadata,
|
|
3442
3481
|
});
|
|
3443
3482
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3444
3483
|
}
|
|
@@ -3460,8 +3499,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3460
3499
|
body: await parseBody(output.body, context),
|
|
3461
3500
|
};
|
|
3462
3501
|
let response;
|
|
3463
|
-
|
|
3464
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3502
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3465
3503
|
switch (errorCode) {
|
|
3466
3504
|
case "BadRequestException":
|
|
3467
3505
|
case "com.amazonaws.customerprofiles#BadRequestException":
|
|
@@ -3474,10 +3512,12 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3474
3512
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3475
3513
|
default:
|
|
3476
3514
|
const parsedBody = parsedOutput.body;
|
|
3515
|
+
const $metadata = deserializeMetadata(output);
|
|
3516
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3477
3517
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3478
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3518
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3479
3519
|
$fault: "client",
|
|
3480
|
-
$metadata
|
|
3520
|
+
$metadata,
|
|
3481
3521
|
});
|
|
3482
3522
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3483
3523
|
}
|
|
@@ -3531,8 +3571,7 @@ const deserializeAws_restJson1UpdateDomainCommandError = async (output, context)
|
|
|
3531
3571
|
body: await parseBody(output.body, context),
|
|
3532
3572
|
};
|
|
3533
3573
|
let response;
|
|
3534
|
-
|
|
3535
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3574
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3536
3575
|
switch (errorCode) {
|
|
3537
3576
|
case "AccessDeniedException":
|
|
3538
3577
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -3551,10 +3590,12 @@ const deserializeAws_restJson1UpdateDomainCommandError = async (output, context)
|
|
|
3551
3590
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3552
3591
|
default:
|
|
3553
3592
|
const parsedBody = parsedOutput.body;
|
|
3593
|
+
const $metadata = deserializeMetadata(output);
|
|
3594
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3554
3595
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3555
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3596
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3556
3597
|
$fault: "client",
|
|
3557
|
-
$metadata
|
|
3598
|
+
$metadata,
|
|
3558
3599
|
});
|
|
3559
3600
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3560
3601
|
}
|
|
@@ -3580,8 +3621,7 @@ const deserializeAws_restJson1UpdateProfileCommandError = async (output, context
|
|
|
3580
3621
|
body: await parseBody(output.body, context),
|
|
3581
3622
|
};
|
|
3582
3623
|
let response;
|
|
3583
|
-
|
|
3584
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3624
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3585
3625
|
switch (errorCode) {
|
|
3586
3626
|
case "AccessDeniedException":
|
|
3587
3627
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -3600,10 +3640,12 @@ const deserializeAws_restJson1UpdateProfileCommandError = async (output, context
|
|
|
3600
3640
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3601
3641
|
default:
|
|
3602
3642
|
const parsedBody = parsedOutput.body;
|
|
3643
|
+
const $metadata = deserializeMetadata(output);
|
|
3644
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3603
3645
|
response = new CustomerProfilesServiceException_1.CustomerProfilesServiceException({
|
|
3604
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3646
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3605
3647
|
$fault: "client",
|
|
3606
|
-
$metadata
|
|
3648
|
+
$metadata,
|
|
3607
3649
|
});
|
|
3608
3650
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3609
3651
|
}
|
|
@@ -3725,6 +3767,10 @@ const serializeAws_restJson1AutoMerging = (input, context) => {
|
|
|
3725
3767
|
Consolidation: serializeAws_restJson1Consolidation(input.Consolidation, context),
|
|
3726
3768
|
}),
|
|
3727
3769
|
...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }),
|
|
3770
|
+
...(input.MinAllowedConfidenceScoreForMerging !== undefined &&
|
|
3771
|
+
input.MinAllowedConfidenceScoreForMerging !== null && {
|
|
3772
|
+
MinAllowedConfidenceScoreForMerging: (0, smithy_client_1.serializeFloat)(input.MinAllowedConfidenceScoreForMerging),
|
|
3773
|
+
}),
|
|
3728
3774
|
};
|
|
3729
3775
|
};
|
|
3730
3776
|
const serializeAws_restJson1Batch = (input, context) => {
|
|
@@ -4243,6 +4289,7 @@ const deserializeAws_restJson1AutoMerging = (output, context) => {
|
|
|
4243
4289
|
? deserializeAws_restJson1Consolidation(output.Consolidation, context)
|
|
4244
4290
|
: undefined,
|
|
4245
4291
|
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
4292
|
+
MinAllowedConfidenceScoreForMerging: (0, smithy_client_1.limitedParseDouble)(output.MinAllowedConfidenceScoreForMerging),
|
|
4246
4293
|
};
|
|
4247
4294
|
};
|
|
4248
4295
|
const deserializeAws_restJson1ConflictResolution = (output, context) => {
|
|
@@ -4779,5 +4826,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
4779
4826
|
if (data["__type"] !== undefined) {
|
|
4780
4827
|
return sanitizeErrorCode(data["__type"]);
|
|
4781
4828
|
}
|
|
4782
|
-
return "";
|
|
4783
4829
|
};
|