@aws-sdk/client-memorydb 3.523.0 → 3.529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +41 -81
- package/dist-es/protocols/Aws_json1_1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/MemoryDB.js +0 -1
- package/dist-cjs/MemoryDBClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/BatchUpdateClusterCommand.js +0 -1
- package/dist-cjs/commands/CopySnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateACLCommand.js +0 -1
- package/dist-cjs/commands/CreateClusterCommand.js +0 -1
- package/dist-cjs/commands/CreateParameterGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateSnapshotCommand.js +0 -1
- package/dist-cjs/commands/CreateSubnetGroupCommand.js +0 -1
- package/dist-cjs/commands/CreateUserCommand.js +0 -1
- package/dist-cjs/commands/DeleteACLCommand.js +0 -1
- package/dist-cjs/commands/DeleteClusterCommand.js +0 -1
- package/dist-cjs/commands/DeleteParameterGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteSnapshotCommand.js +0 -1
- package/dist-cjs/commands/DeleteSubnetGroupCommand.js +0 -1
- package/dist-cjs/commands/DeleteUserCommand.js +0 -1
- package/dist-cjs/commands/DescribeACLsCommand.js +0 -1
- package/dist-cjs/commands/DescribeClustersCommand.js +0 -1
- package/dist-cjs/commands/DescribeEngineVersionsCommand.js +0 -1
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -1
- package/dist-cjs/commands/DescribeParameterGroupsCommand.js +0 -1
- package/dist-cjs/commands/DescribeParametersCommand.js +0 -1
- package/dist-cjs/commands/DescribeReservedNodesCommand.js +0 -1
- package/dist-cjs/commands/DescribeReservedNodesOfferingsCommand.js +0 -1
- package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +0 -1
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +0 -1
- package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +0 -1
- package/dist-cjs/commands/DescribeUsersCommand.js +0 -1
- package/dist-cjs/commands/FailoverShardCommand.js +0 -1
- package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsCommand.js +0 -1
- package/dist-cjs/commands/PurchaseReservedNodesOfferingCommand.js +0 -1
- package/dist-cjs/commands/ResetParameterGroupCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateACLCommand.js +0 -1
- package/dist-cjs/commands/UpdateClusterCommand.js +0 -1
- package/dist-cjs/commands/UpdateParameterGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateSubnetGroupCommand.js +0 -1
- package/dist-cjs/commands/UpdateUserCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/MemoryDBServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/DescribeACLsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeClustersPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeParameterGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeParametersPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeReservedNodesOfferingsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeReservedNodesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeSubnetGroupsPaginator.js +0 -1
- package/dist-cjs/pagination/DescribeUsersPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -291,6 +291,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
291
291
|
var import_types = require("@smithy/types");
|
|
292
292
|
|
|
293
293
|
// src/protocols/Aws_json1_1.ts
|
|
294
|
+
var import_core2 = require("@aws-sdk/core");
|
|
294
295
|
|
|
295
296
|
|
|
296
297
|
|
|
@@ -1478,7 +1479,7 @@ var de_BatchUpdateClusterCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1478
1479
|
if (output.statusCode >= 300) {
|
|
1479
1480
|
return de_CommandError(output, context);
|
|
1480
1481
|
}
|
|
1481
|
-
const data = await
|
|
1482
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1482
1483
|
let contents = {};
|
|
1483
1484
|
contents = de_BatchUpdateClusterResponse(data, context);
|
|
1484
1485
|
const response = {
|
|
@@ -1491,7 +1492,7 @@ var de_CopySnapshotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1491
1492
|
if (output.statusCode >= 300) {
|
|
1492
1493
|
return de_CommandError(output, context);
|
|
1493
1494
|
}
|
|
1494
|
-
const data = await
|
|
1495
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1495
1496
|
let contents = {};
|
|
1496
1497
|
contents = de_CopySnapshotResponse(data, context);
|
|
1497
1498
|
const response = {
|
|
@@ -1504,7 +1505,7 @@ var de_CreateACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1504
1505
|
if (output.statusCode >= 300) {
|
|
1505
1506
|
return de_CommandError(output, context);
|
|
1506
1507
|
}
|
|
1507
|
-
const data = await
|
|
1508
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1508
1509
|
let contents = {};
|
|
1509
1510
|
contents = (0, import_smithy_client._json)(data);
|
|
1510
1511
|
const response = {
|
|
@@ -1517,7 +1518,7 @@ var de_CreateClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1517
1518
|
if (output.statusCode >= 300) {
|
|
1518
1519
|
return de_CommandError(output, context);
|
|
1519
1520
|
}
|
|
1520
|
-
const data = await
|
|
1521
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1521
1522
|
let contents = {};
|
|
1522
1523
|
contents = de_CreateClusterResponse(data, context);
|
|
1523
1524
|
const response = {
|
|
@@ -1530,7 +1531,7 @@ var de_CreateParameterGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1530
1531
|
if (output.statusCode >= 300) {
|
|
1531
1532
|
return de_CommandError(output, context);
|
|
1532
1533
|
}
|
|
1533
|
-
const data = await
|
|
1534
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1534
1535
|
let contents = {};
|
|
1535
1536
|
contents = (0, import_smithy_client._json)(data);
|
|
1536
1537
|
const response = {
|
|
@@ -1543,7 +1544,7 @@ var de_CreateSnapshotCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1543
1544
|
if (output.statusCode >= 300) {
|
|
1544
1545
|
return de_CommandError(output, context);
|
|
1545
1546
|
}
|
|
1546
|
-
const data = await
|
|
1547
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1547
1548
|
let contents = {};
|
|
1548
1549
|
contents = de_CreateSnapshotResponse(data, context);
|
|
1549
1550
|
const response = {
|
|
@@ -1556,7 +1557,7 @@ var de_CreateSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1556
1557
|
if (output.statusCode >= 300) {
|
|
1557
1558
|
return de_CommandError(output, context);
|
|
1558
1559
|
}
|
|
1559
|
-
const data = await
|
|
1560
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1560
1561
|
let contents = {};
|
|
1561
1562
|
contents = (0, import_smithy_client._json)(data);
|
|
1562
1563
|
const response = {
|
|
@@ -1569,7 +1570,7 @@ var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1569
1570
|
if (output.statusCode >= 300) {
|
|
1570
1571
|
return de_CommandError(output, context);
|
|
1571
1572
|
}
|
|
1572
|
-
const data = await
|
|
1573
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1573
1574
|
let contents = {};
|
|
1574
1575
|
contents = (0, import_smithy_client._json)(data);
|
|
1575
1576
|
const response = {
|
|
@@ -1582,7 +1583,7 @@ var de_DeleteACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1582
1583
|
if (output.statusCode >= 300) {
|
|
1583
1584
|
return de_CommandError(output, context);
|
|
1584
1585
|
}
|
|
1585
|
-
const data = await
|
|
1586
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1586
1587
|
let contents = {};
|
|
1587
1588
|
contents = (0, import_smithy_client._json)(data);
|
|
1588
1589
|
const response = {
|
|
@@ -1595,7 +1596,7 @@ var de_DeleteClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1595
1596
|
if (output.statusCode >= 300) {
|
|
1596
1597
|
return de_CommandError(output, context);
|
|
1597
1598
|
}
|
|
1598
|
-
const data = await
|
|
1599
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1599
1600
|
let contents = {};
|
|
1600
1601
|
contents = de_DeleteClusterResponse(data, context);
|
|
1601
1602
|
const response = {
|
|
@@ -1608,7 +1609,7 @@ var de_DeleteParameterGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1608
1609
|
if (output.statusCode >= 300) {
|
|
1609
1610
|
return de_CommandError(output, context);
|
|
1610
1611
|
}
|
|
1611
|
-
const data = await
|
|
1612
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1612
1613
|
let contents = {};
|
|
1613
1614
|
contents = (0, import_smithy_client._json)(data);
|
|
1614
1615
|
const response = {
|
|
@@ -1621,7 +1622,7 @@ var de_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1621
1622
|
if (output.statusCode >= 300) {
|
|
1622
1623
|
return de_CommandError(output, context);
|
|
1623
1624
|
}
|
|
1624
|
-
const data = await
|
|
1625
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1625
1626
|
let contents = {};
|
|
1626
1627
|
contents = de_DeleteSnapshotResponse(data, context);
|
|
1627
1628
|
const response = {
|
|
@@ -1634,7 +1635,7 @@ var de_DeleteSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1634
1635
|
if (output.statusCode >= 300) {
|
|
1635
1636
|
return de_CommandError(output, context);
|
|
1636
1637
|
}
|
|
1637
|
-
const data = await
|
|
1638
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1638
1639
|
let contents = {};
|
|
1639
1640
|
contents = (0, import_smithy_client._json)(data);
|
|
1640
1641
|
const response = {
|
|
@@ -1647,7 +1648,7 @@ var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1647
1648
|
if (output.statusCode >= 300) {
|
|
1648
1649
|
return de_CommandError(output, context);
|
|
1649
1650
|
}
|
|
1650
|
-
const data = await
|
|
1651
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1651
1652
|
let contents = {};
|
|
1652
1653
|
contents = (0, import_smithy_client._json)(data);
|
|
1653
1654
|
const response = {
|
|
@@ -1660,7 +1661,7 @@ var de_DescribeACLsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1660
1661
|
if (output.statusCode >= 300) {
|
|
1661
1662
|
return de_CommandError(output, context);
|
|
1662
1663
|
}
|
|
1663
|
-
const data = await
|
|
1664
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1664
1665
|
let contents = {};
|
|
1665
1666
|
contents = (0, import_smithy_client._json)(data);
|
|
1666
1667
|
const response = {
|
|
@@ -1673,7 +1674,7 @@ var de_DescribeClustersCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1673
1674
|
if (output.statusCode >= 300) {
|
|
1674
1675
|
return de_CommandError(output, context);
|
|
1675
1676
|
}
|
|
1676
|
-
const data = await
|
|
1677
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1677
1678
|
let contents = {};
|
|
1678
1679
|
contents = de_DescribeClustersResponse(data, context);
|
|
1679
1680
|
const response = {
|
|
@@ -1686,7 +1687,7 @@ var de_DescribeEngineVersionsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1686
1687
|
if (output.statusCode >= 300) {
|
|
1687
1688
|
return de_CommandError(output, context);
|
|
1688
1689
|
}
|
|
1689
|
-
const data = await
|
|
1690
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1690
1691
|
let contents = {};
|
|
1691
1692
|
contents = (0, import_smithy_client._json)(data);
|
|
1692
1693
|
const response = {
|
|
@@ -1699,7 +1700,7 @@ var de_DescribeEventsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1699
1700
|
if (output.statusCode >= 300) {
|
|
1700
1701
|
return de_CommandError(output, context);
|
|
1701
1702
|
}
|
|
1702
|
-
const data = await
|
|
1703
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1703
1704
|
let contents = {};
|
|
1704
1705
|
contents = de_DescribeEventsResponse(data, context);
|
|
1705
1706
|
const response = {
|
|
@@ -1712,7 +1713,7 @@ var de_DescribeParameterGroupsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1712
1713
|
if (output.statusCode >= 300) {
|
|
1713
1714
|
return de_CommandError(output, context);
|
|
1714
1715
|
}
|
|
1715
|
-
const data = await
|
|
1716
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1716
1717
|
let contents = {};
|
|
1717
1718
|
contents = (0, import_smithy_client._json)(data);
|
|
1718
1719
|
const response = {
|
|
@@ -1725,7 +1726,7 @@ var de_DescribeParametersCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1725
1726
|
if (output.statusCode >= 300) {
|
|
1726
1727
|
return de_CommandError(output, context);
|
|
1727
1728
|
}
|
|
1728
|
-
const data = await
|
|
1729
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1729
1730
|
let contents = {};
|
|
1730
1731
|
contents = (0, import_smithy_client._json)(data);
|
|
1731
1732
|
const response = {
|
|
@@ -1738,7 +1739,7 @@ var de_DescribeReservedNodesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1738
1739
|
if (output.statusCode >= 300) {
|
|
1739
1740
|
return de_CommandError(output, context);
|
|
1740
1741
|
}
|
|
1741
|
-
const data = await
|
|
1742
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1742
1743
|
let contents = {};
|
|
1743
1744
|
contents = de_DescribeReservedNodesResponse(data, context);
|
|
1744
1745
|
const response = {
|
|
@@ -1751,7 +1752,7 @@ var de_DescribeReservedNodesOfferingsCommand = /* @__PURE__ */ __name(async (out
|
|
|
1751
1752
|
if (output.statusCode >= 300) {
|
|
1752
1753
|
return de_CommandError(output, context);
|
|
1753
1754
|
}
|
|
1754
|
-
const data = await
|
|
1755
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1755
1756
|
let contents = {};
|
|
1756
1757
|
contents = de_DescribeReservedNodesOfferingsResponse(data, context);
|
|
1757
1758
|
const response = {
|
|
@@ -1764,7 +1765,7 @@ var de_DescribeServiceUpdatesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1764
1765
|
if (output.statusCode >= 300) {
|
|
1765
1766
|
return de_CommandError(output, context);
|
|
1766
1767
|
}
|
|
1767
|
-
const data = await
|
|
1768
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1768
1769
|
let contents = {};
|
|
1769
1770
|
contents = de_DescribeServiceUpdatesResponse(data, context);
|
|
1770
1771
|
const response = {
|
|
@@ -1777,7 +1778,7 @@ var de_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1777
1778
|
if (output.statusCode >= 300) {
|
|
1778
1779
|
return de_CommandError(output, context);
|
|
1779
1780
|
}
|
|
1780
|
-
const data = await
|
|
1781
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1781
1782
|
let contents = {};
|
|
1782
1783
|
contents = de_DescribeSnapshotsResponse(data, context);
|
|
1783
1784
|
const response = {
|
|
@@ -1790,7 +1791,7 @@ var de_DescribeSubnetGroupsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1790
1791
|
if (output.statusCode >= 300) {
|
|
1791
1792
|
return de_CommandError(output, context);
|
|
1792
1793
|
}
|
|
1793
|
-
const data = await
|
|
1794
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1794
1795
|
let contents = {};
|
|
1795
1796
|
contents = (0, import_smithy_client._json)(data);
|
|
1796
1797
|
const response = {
|
|
@@ -1803,7 +1804,7 @@ var de_DescribeUsersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1803
1804
|
if (output.statusCode >= 300) {
|
|
1804
1805
|
return de_CommandError(output, context);
|
|
1805
1806
|
}
|
|
1806
|
-
const data = await
|
|
1807
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1807
1808
|
let contents = {};
|
|
1808
1809
|
contents = (0, import_smithy_client._json)(data);
|
|
1809
1810
|
const response = {
|
|
@@ -1816,7 +1817,7 @@ var de_FailoverShardCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1816
1817
|
if (output.statusCode >= 300) {
|
|
1817
1818
|
return de_CommandError(output, context);
|
|
1818
1819
|
}
|
|
1819
|
-
const data = await
|
|
1820
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1820
1821
|
let contents = {};
|
|
1821
1822
|
contents = de_FailoverShardResponse(data, context);
|
|
1822
1823
|
const response = {
|
|
@@ -1829,7 +1830,7 @@ var de_ListAllowedNodeTypeUpdatesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1829
1830
|
if (output.statusCode >= 300) {
|
|
1830
1831
|
return de_CommandError(output, context);
|
|
1831
1832
|
}
|
|
1832
|
-
const data = await
|
|
1833
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1833
1834
|
let contents = {};
|
|
1834
1835
|
contents = (0, import_smithy_client._json)(data);
|
|
1835
1836
|
const response = {
|
|
@@ -1842,7 +1843,7 @@ var de_ListTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1842
1843
|
if (output.statusCode >= 300) {
|
|
1843
1844
|
return de_CommandError(output, context);
|
|
1844
1845
|
}
|
|
1845
|
-
const data = await
|
|
1846
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1846
1847
|
let contents = {};
|
|
1847
1848
|
contents = (0, import_smithy_client._json)(data);
|
|
1848
1849
|
const response = {
|
|
@@ -1855,7 +1856,7 @@ var de_PurchaseReservedNodesOfferingCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1855
1856
|
if (output.statusCode >= 300) {
|
|
1856
1857
|
return de_CommandError(output, context);
|
|
1857
1858
|
}
|
|
1858
|
-
const data = await
|
|
1859
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1859
1860
|
let contents = {};
|
|
1860
1861
|
contents = de_PurchaseReservedNodesOfferingResponse(data, context);
|
|
1861
1862
|
const response = {
|
|
@@ -1868,7 +1869,7 @@ var de_ResetParameterGroupCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1868
1869
|
if (output.statusCode >= 300) {
|
|
1869
1870
|
return de_CommandError(output, context);
|
|
1870
1871
|
}
|
|
1871
|
-
const data = await
|
|
1872
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1872
1873
|
let contents = {};
|
|
1873
1874
|
contents = (0, import_smithy_client._json)(data);
|
|
1874
1875
|
const response = {
|
|
@@ -1881,7 +1882,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1881
1882
|
if (output.statusCode >= 300) {
|
|
1882
1883
|
return de_CommandError(output, context);
|
|
1883
1884
|
}
|
|
1884
|
-
const data = await
|
|
1885
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1885
1886
|
let contents = {};
|
|
1886
1887
|
contents = (0, import_smithy_client._json)(data);
|
|
1887
1888
|
const response = {
|
|
@@ -1894,7 +1895,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1894
1895
|
if (output.statusCode >= 300) {
|
|
1895
1896
|
return de_CommandError(output, context);
|
|
1896
1897
|
}
|
|
1897
|
-
const data = await
|
|
1898
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1898
1899
|
let contents = {};
|
|
1899
1900
|
contents = (0, import_smithy_client._json)(data);
|
|
1900
1901
|
const response = {
|
|
@@ -1907,7 +1908,7 @@ var de_UpdateACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1907
1908
|
if (output.statusCode >= 300) {
|
|
1908
1909
|
return de_CommandError(output, context);
|
|
1909
1910
|
}
|
|
1910
|
-
const data = await
|
|
1911
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1911
1912
|
let contents = {};
|
|
1912
1913
|
contents = (0, import_smithy_client._json)(data);
|
|
1913
1914
|
const response = {
|
|
@@ -1920,7 +1921,7 @@ var de_UpdateClusterCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1920
1921
|
if (output.statusCode >= 300) {
|
|
1921
1922
|
return de_CommandError(output, context);
|
|
1922
1923
|
}
|
|
1923
|
-
const data = await
|
|
1924
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1924
1925
|
let contents = {};
|
|
1925
1926
|
contents = de_UpdateClusterResponse(data, context);
|
|
1926
1927
|
const response = {
|
|
@@ -1933,7 +1934,7 @@ var de_UpdateParameterGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1933
1934
|
if (output.statusCode >= 300) {
|
|
1934
1935
|
return de_CommandError(output, context);
|
|
1935
1936
|
}
|
|
1936
|
-
const data = await
|
|
1937
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1937
1938
|
let contents = {};
|
|
1938
1939
|
contents = (0, import_smithy_client._json)(data);
|
|
1939
1940
|
const response = {
|
|
@@ -1946,7 +1947,7 @@ var de_UpdateSubnetGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1946
1947
|
if (output.statusCode >= 300) {
|
|
1947
1948
|
return de_CommandError(output, context);
|
|
1948
1949
|
}
|
|
1949
|
-
const data = await
|
|
1950
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1950
1951
|
let contents = {};
|
|
1951
1952
|
contents = (0, import_smithy_client._json)(data);
|
|
1952
1953
|
const response = {
|
|
@@ -1959,7 +1960,7 @@ var de_UpdateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1959
1960
|
if (output.statusCode >= 300) {
|
|
1960
1961
|
return de_CommandError(output, context);
|
|
1961
1962
|
}
|
|
1962
|
-
const data = await
|
|
1963
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1963
1964
|
let contents = {};
|
|
1964
1965
|
contents = (0, import_smithy_client._json)(data);
|
|
1965
1966
|
const response = {
|
|
@@ -1971,9 +1972,9 @@ var de_UpdateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1971
1972
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1972
1973
|
const parsedOutput = {
|
|
1973
1974
|
...output,
|
|
1974
|
-
body: await
|
|
1975
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1975
1976
|
};
|
|
1976
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1977
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1977
1978
|
switch (errorCode) {
|
|
1978
1979
|
case "InvalidParameterValueException":
|
|
1979
1980
|
case "com.amazonaws.memorydb#InvalidParameterValueException":
|
|
@@ -2932,7 +2933,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
2932
2933
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2933
2934
|
cfId: output.headers["x-amz-cf-id"]
|
|
2934
2935
|
}), "deserializeMetadata");
|
|
2935
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2936
2936
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(MemoryDBServiceException);
|
|
2937
2937
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2938
2938
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -2959,46 +2959,6 @@ function sharedHeaders(operation) {
|
|
|
2959
2959
|
};
|
|
2960
2960
|
}
|
|
2961
2961
|
__name(sharedHeaders, "sharedHeaders");
|
|
2962
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2963
|
-
if (encoded.length) {
|
|
2964
|
-
return JSON.parse(encoded);
|
|
2965
|
-
}
|
|
2966
|
-
return {};
|
|
2967
|
-
}), "parseBody");
|
|
2968
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2969
|
-
const value = await parseBody(errorBody, context);
|
|
2970
|
-
value.message = value.message ?? value.Message;
|
|
2971
|
-
return value;
|
|
2972
|
-
}, "parseErrorBody");
|
|
2973
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2974
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2975
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2976
|
-
let cleanValue = rawValue;
|
|
2977
|
-
if (typeof cleanValue === "number") {
|
|
2978
|
-
cleanValue = cleanValue.toString();
|
|
2979
|
-
}
|
|
2980
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2981
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2982
|
-
}
|
|
2983
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2984
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2985
|
-
}
|
|
2986
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2987
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2988
|
-
}
|
|
2989
|
-
return cleanValue;
|
|
2990
|
-
}, "sanitizeErrorCode");
|
|
2991
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2992
|
-
if (headerKey !== void 0) {
|
|
2993
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2994
|
-
}
|
|
2995
|
-
if (data.code !== void 0) {
|
|
2996
|
-
return sanitizeErrorCode(data.code);
|
|
2997
|
-
}
|
|
2998
|
-
if (data["__type"] !== void 0) {
|
|
2999
|
-
return sanitizeErrorCode(data["__type"]);
|
|
3000
|
-
}
|
|
3001
|
-
}, "loadRestJsonErrorCode");
|
|
3002
2962
|
|
|
3003
2963
|
// src/commands/BatchUpdateClusterCommand.ts
|
|
3004
2964
|
var _BatchUpdateClusterCommand = class _BatchUpdateClusterCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { MemoryDBServiceException as __BaseException } from "../models/MemoryDBServiceException";
|
|
@@ -1734,43 +1735,3 @@ function sharedHeaders(operation) {
|
|
|
1734
1735
|
"x-amz-target": `AmazonMemoryDB.${operation}`,
|
|
1735
1736
|
};
|
|
1736
1737
|
}
|
|
1737
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1738
|
-
if (encoded.length) {
|
|
1739
|
-
return JSON.parse(encoded);
|
|
1740
|
-
}
|
|
1741
|
-
return {};
|
|
1742
|
-
});
|
|
1743
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1744
|
-
const value = await parseBody(errorBody, context);
|
|
1745
|
-
value.message = value.message ?? value.Message;
|
|
1746
|
-
return value;
|
|
1747
|
-
};
|
|
1748
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1749
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1750
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1751
|
-
let cleanValue = rawValue;
|
|
1752
|
-
if (typeof cleanValue === "number") {
|
|
1753
|
-
cleanValue = cleanValue.toString();
|
|
1754
|
-
}
|
|
1755
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1756
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1757
|
-
}
|
|
1758
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1759
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1760
|
-
}
|
|
1761
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1762
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1763
|
-
}
|
|
1764
|
-
return cleanValue;
|
|
1765
|
-
};
|
|
1766
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1767
|
-
if (headerKey !== undefined) {
|
|
1768
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1769
|
-
}
|
|
1770
|
-
if (data.code !== undefined) {
|
|
1771
|
-
return sanitizeErrorCode(data.code);
|
|
1772
|
-
}
|
|
1773
|
-
if (data["__type"] !== undefined) {
|
|
1774
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1775
|
-
}
|
|
1776
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-memorydb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Memorydb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-memorydb",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
package/dist-cjs/MemoryDB.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|