@aws-sdk/client-dax 3.121.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +108 -190
- package/dist-es/protocols/Aws_json1_1.js +63 -145
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-dax
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -1545,154 +1545,129 @@ const serializeAws_json1_1ClusterNameList = (input, context) => {
|
|
|
1545
1545
|
};
|
|
1546
1546
|
const serializeAws_json1_1CreateClusterRequest = (input, context) => {
|
|
1547
1547
|
return {
|
|
1548
|
-
...(input.AvailabilityZones
|
|
1549
|
-
input.AvailabilityZones !== null && {
|
|
1548
|
+
...(input.AvailabilityZones != null && {
|
|
1550
1549
|
AvailabilityZones: serializeAws_json1_1AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1551
1550
|
}),
|
|
1552
|
-
...(input.ClusterEndpointEncryptionType
|
|
1553
|
-
input.ClusterEndpointEncryptionType !== null && {
|
|
1551
|
+
...(input.ClusterEndpointEncryptionType != null && {
|
|
1554
1552
|
ClusterEndpointEncryptionType: input.ClusterEndpointEncryptionType,
|
|
1555
1553
|
}),
|
|
1556
|
-
...(input.ClusterName
|
|
1557
|
-
...(input.Description
|
|
1558
|
-
...(input.IamRoleArn
|
|
1559
|
-
...(input.NodeType
|
|
1560
|
-
...(input.NotificationTopicArn
|
|
1561
|
-
|
|
1562
|
-
...(input.
|
|
1563
|
-
|
|
1564
|
-
...(input.
|
|
1565
|
-
input.PreferredMaintenanceWindow !== null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1566
|
-
...(input.ReplicationFactor !== undefined &&
|
|
1567
|
-
input.ReplicationFactor !== null && { ReplicationFactor: input.ReplicationFactor }),
|
|
1568
|
-
...(input.SSESpecification !== undefined &&
|
|
1569
|
-
input.SSESpecification !== null && {
|
|
1554
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1555
|
+
...(input.Description != null && { Description: input.Description }),
|
|
1556
|
+
...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
|
|
1557
|
+
...(input.NodeType != null && { NodeType: input.NodeType }),
|
|
1558
|
+
...(input.NotificationTopicArn != null && { NotificationTopicArn: input.NotificationTopicArn }),
|
|
1559
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1560
|
+
...(input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1561
|
+
...(input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor }),
|
|
1562
|
+
...(input.SSESpecification != null && {
|
|
1570
1563
|
SSESpecification: serializeAws_json1_1SSESpecification(input.SSESpecification, context),
|
|
1571
1564
|
}),
|
|
1572
|
-
...(input.SecurityGroupIds
|
|
1573
|
-
input.SecurityGroupIds !== null && {
|
|
1565
|
+
...(input.SecurityGroupIds != null && {
|
|
1574
1566
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
1575
1567
|
}),
|
|
1576
|
-
...(input.SubnetGroupName
|
|
1577
|
-
|
|
1578
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
1568
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1569
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
1579
1570
|
};
|
|
1580
1571
|
};
|
|
1581
1572
|
const serializeAws_json1_1CreateParameterGroupRequest = (input, context) => {
|
|
1582
1573
|
return {
|
|
1583
|
-
...(input.Description
|
|
1584
|
-
...(input.ParameterGroupName
|
|
1585
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1574
|
+
...(input.Description != null && { Description: input.Description }),
|
|
1575
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1586
1576
|
};
|
|
1587
1577
|
};
|
|
1588
1578
|
const serializeAws_json1_1CreateSubnetGroupRequest = (input, context) => {
|
|
1589
1579
|
return {
|
|
1590
|
-
...(input.Description
|
|
1591
|
-
...(input.SubnetGroupName
|
|
1592
|
-
|
|
1593
|
-
...(input.SubnetIds !== undefined &&
|
|
1594
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1580
|
+
...(input.Description != null && { Description: input.Description }),
|
|
1581
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1582
|
+
...(input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1595
1583
|
};
|
|
1596
1584
|
};
|
|
1597
1585
|
const serializeAws_json1_1DecreaseReplicationFactorRequest = (input, context) => {
|
|
1598
1586
|
return {
|
|
1599
|
-
...(input.AvailabilityZones
|
|
1600
|
-
input.AvailabilityZones !== null && {
|
|
1587
|
+
...(input.AvailabilityZones != null && {
|
|
1601
1588
|
AvailabilityZones: serializeAws_json1_1AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1602
1589
|
}),
|
|
1603
|
-
...(input.ClusterName
|
|
1604
|
-
...(input.NewReplicationFactor
|
|
1605
|
-
|
|
1606
|
-
...(input.NodeIdsToRemove !== undefined &&
|
|
1607
|
-
input.NodeIdsToRemove !== null && {
|
|
1590
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1591
|
+
...(input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor }),
|
|
1592
|
+
...(input.NodeIdsToRemove != null && {
|
|
1608
1593
|
NodeIdsToRemove: serializeAws_json1_1NodeIdentifierList(input.NodeIdsToRemove, context),
|
|
1609
1594
|
}),
|
|
1610
1595
|
};
|
|
1611
1596
|
};
|
|
1612
1597
|
const serializeAws_json1_1DeleteClusterRequest = (input, context) => {
|
|
1613
1598
|
return {
|
|
1614
|
-
...(input.ClusterName
|
|
1599
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1615
1600
|
};
|
|
1616
1601
|
};
|
|
1617
1602
|
const serializeAws_json1_1DeleteParameterGroupRequest = (input, context) => {
|
|
1618
1603
|
return {
|
|
1619
|
-
...(input.ParameterGroupName
|
|
1620
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1604
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1621
1605
|
};
|
|
1622
1606
|
};
|
|
1623
1607
|
const serializeAws_json1_1DeleteSubnetGroupRequest = (input, context) => {
|
|
1624
1608
|
return {
|
|
1625
|
-
...(input.SubnetGroupName
|
|
1626
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1609
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1627
1610
|
};
|
|
1628
1611
|
};
|
|
1629
1612
|
const serializeAws_json1_1DescribeClustersRequest = (input, context) => {
|
|
1630
1613
|
return {
|
|
1631
|
-
...(input.ClusterNames
|
|
1632
|
-
input.ClusterNames !== null && {
|
|
1614
|
+
...(input.ClusterNames != null && {
|
|
1633
1615
|
ClusterNames: serializeAws_json1_1ClusterNameList(input.ClusterNames, context),
|
|
1634
1616
|
}),
|
|
1635
|
-
...(input.MaxResults
|
|
1636
|
-
...(input.NextToken
|
|
1617
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1618
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1637
1619
|
};
|
|
1638
1620
|
};
|
|
1639
1621
|
const serializeAws_json1_1DescribeDefaultParametersRequest = (input, context) => {
|
|
1640
1622
|
return {
|
|
1641
|
-
...(input.MaxResults
|
|
1642
|
-
...(input.NextToken
|
|
1623
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1624
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1643
1625
|
};
|
|
1644
1626
|
};
|
|
1645
1627
|
const serializeAws_json1_1DescribeEventsRequest = (input, context) => {
|
|
1646
1628
|
return {
|
|
1647
|
-
...(input.Duration
|
|
1648
|
-
...(input.EndTime
|
|
1649
|
-
|
|
1650
|
-
...(input.
|
|
1651
|
-
...(input.
|
|
1652
|
-
...(input.
|
|
1653
|
-
...(input.
|
|
1654
|
-
...(input.StartTime !== undefined &&
|
|
1655
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1629
|
+
...(input.Duration != null && { Duration: input.Duration }),
|
|
1630
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
1631
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1632
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1633
|
+
...(input.SourceName != null && { SourceName: input.SourceName }),
|
|
1634
|
+
...(input.SourceType != null && { SourceType: input.SourceType }),
|
|
1635
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
1656
1636
|
};
|
|
1657
1637
|
};
|
|
1658
1638
|
const serializeAws_json1_1DescribeParameterGroupsRequest = (input, context) => {
|
|
1659
1639
|
return {
|
|
1660
|
-
...(input.MaxResults
|
|
1661
|
-
...(input.NextToken
|
|
1662
|
-
...(input.ParameterGroupNames
|
|
1663
|
-
input.ParameterGroupNames !== null && {
|
|
1640
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1641
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1642
|
+
...(input.ParameterGroupNames != null && {
|
|
1664
1643
|
ParameterGroupNames: serializeAws_json1_1ParameterGroupNameList(input.ParameterGroupNames, context),
|
|
1665
1644
|
}),
|
|
1666
1645
|
};
|
|
1667
1646
|
};
|
|
1668
1647
|
const serializeAws_json1_1DescribeParametersRequest = (input, context) => {
|
|
1669
1648
|
return {
|
|
1670
|
-
...(input.MaxResults
|
|
1671
|
-
...(input.NextToken
|
|
1672
|
-
...(input.ParameterGroupName
|
|
1673
|
-
|
|
1674
|
-
...(input.Source !== undefined && input.Source !== null && { Source: input.Source }),
|
|
1649
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1650
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1651
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1652
|
+
...(input.Source != null && { Source: input.Source }),
|
|
1675
1653
|
};
|
|
1676
1654
|
};
|
|
1677
1655
|
const serializeAws_json1_1DescribeSubnetGroupsRequest = (input, context) => {
|
|
1678
1656
|
return {
|
|
1679
|
-
...(input.MaxResults
|
|
1680
|
-
...(input.NextToken
|
|
1681
|
-
...(input.SubnetGroupNames
|
|
1682
|
-
input.SubnetGroupNames !== null && {
|
|
1657
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1658
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1659
|
+
...(input.SubnetGroupNames != null && {
|
|
1683
1660
|
SubnetGroupNames: serializeAws_json1_1SubnetGroupNameList(input.SubnetGroupNames, context),
|
|
1684
1661
|
}),
|
|
1685
1662
|
};
|
|
1686
1663
|
};
|
|
1687
1664
|
const serializeAws_json1_1IncreaseReplicationFactorRequest = (input, context) => {
|
|
1688
1665
|
return {
|
|
1689
|
-
...(input.AvailabilityZones
|
|
1690
|
-
input.AvailabilityZones !== null && {
|
|
1666
|
+
...(input.AvailabilityZones != null && {
|
|
1691
1667
|
AvailabilityZones: serializeAws_json1_1AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1692
1668
|
}),
|
|
1693
|
-
...(input.ClusterName
|
|
1694
|
-
...(input.NewReplicationFactor
|
|
1695
|
-
input.NewReplicationFactor !== null && { NewReplicationFactor: input.NewReplicationFactor }),
|
|
1669
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1670
|
+
...(input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor }),
|
|
1696
1671
|
};
|
|
1697
1672
|
};
|
|
1698
1673
|
const serializeAws_json1_1KeyList = (input, context) => {
|
|
@@ -1707,8 +1682,8 @@ const serializeAws_json1_1KeyList = (input, context) => {
|
|
|
1707
1682
|
};
|
|
1708
1683
|
const serializeAws_json1_1ListTagsRequest = (input, context) => {
|
|
1709
1684
|
return {
|
|
1710
|
-
...(input.NextToken
|
|
1711
|
-
...(input.ResourceName
|
|
1685
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1686
|
+
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1712
1687
|
};
|
|
1713
1688
|
};
|
|
1714
1689
|
const serializeAws_json1_1NodeIdentifierList = (input, context) => {
|
|
@@ -1733,9 +1708,8 @@ const serializeAws_json1_1ParameterGroupNameList = (input, context) => {
|
|
|
1733
1708
|
};
|
|
1734
1709
|
const serializeAws_json1_1ParameterNameValue = (input, context) => {
|
|
1735
1710
|
return {
|
|
1736
|
-
...(input.ParameterName
|
|
1737
|
-
...(input.ParameterValue
|
|
1738
|
-
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }),
|
|
1711
|
+
...(input.ParameterName != null && { ParameterName: input.ParameterName }),
|
|
1712
|
+
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
1739
1713
|
};
|
|
1740
1714
|
};
|
|
1741
1715
|
const serializeAws_json1_1ParameterNameValueList = (input, context) => {
|
|
@@ -1750,8 +1724,8 @@ const serializeAws_json1_1ParameterNameValueList = (input, context) => {
|
|
|
1750
1724
|
};
|
|
1751
1725
|
const serializeAws_json1_1RebootNodeRequest = (input, context) => {
|
|
1752
1726
|
return {
|
|
1753
|
-
...(input.ClusterName
|
|
1754
|
-
...(input.NodeId
|
|
1727
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1728
|
+
...(input.NodeId != null && { NodeId: input.NodeId }),
|
|
1755
1729
|
};
|
|
1756
1730
|
};
|
|
1757
1731
|
const serializeAws_json1_1SecurityGroupIdentifierList = (input, context) => {
|
|
@@ -1766,7 +1740,7 @@ const serializeAws_json1_1SecurityGroupIdentifierList = (input, context) => {
|
|
|
1766
1740
|
};
|
|
1767
1741
|
const serializeAws_json1_1SSESpecification = (input, context) => {
|
|
1768
1742
|
return {
|
|
1769
|
-
...(input.Enabled
|
|
1743
|
+
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
1770
1744
|
};
|
|
1771
1745
|
};
|
|
1772
1746
|
const serializeAws_json1_1SubnetGroupNameList = (input, context) => {
|
|
@@ -1791,8 +1765,8 @@ const serializeAws_json1_1SubnetIdentifierList = (input, context) => {
|
|
|
1791
1765
|
};
|
|
1792
1766
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
1793
1767
|
return {
|
|
1794
|
-
...(input.Key
|
|
1795
|
-
...(input.Value
|
|
1768
|
+
...(input.Key != null && { Key: input.Key }),
|
|
1769
|
+
...(input.Value != null && { Value: input.Value }),
|
|
1796
1770
|
};
|
|
1797
1771
|
};
|
|
1798
1772
|
const serializeAws_json1_1TagList = (input, context) => {
|
|
@@ -1807,83 +1781,69 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
1807
1781
|
};
|
|
1808
1782
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
1809
1783
|
return {
|
|
1810
|
-
...(input.ResourceName
|
|
1811
|
-
...(input.Tags
|
|
1784
|
+
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1785
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
1812
1786
|
};
|
|
1813
1787
|
};
|
|
1814
1788
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
1815
1789
|
return {
|
|
1816
|
-
...(input.ResourceName
|
|
1817
|
-
...(input.TagKeys
|
|
1818
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }),
|
|
1790
|
+
...(input.ResourceName != null && { ResourceName: input.ResourceName }),
|
|
1791
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }),
|
|
1819
1792
|
};
|
|
1820
1793
|
};
|
|
1821
1794
|
const serializeAws_json1_1UpdateClusterRequest = (input, context) => {
|
|
1822
1795
|
return {
|
|
1823
|
-
...(input.ClusterName
|
|
1824
|
-
...(input.Description
|
|
1825
|
-
...(input.NotificationTopicArn
|
|
1826
|
-
|
|
1827
|
-
...(input.
|
|
1828
|
-
|
|
1829
|
-
...(input.
|
|
1830
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1831
|
-
...(input.PreferredMaintenanceWindow !== undefined &&
|
|
1832
|
-
input.PreferredMaintenanceWindow !== null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1833
|
-
...(input.SecurityGroupIds !== undefined &&
|
|
1834
|
-
input.SecurityGroupIds !== null && {
|
|
1796
|
+
...(input.ClusterName != null && { ClusterName: input.ClusterName }),
|
|
1797
|
+
...(input.Description != null && { Description: input.Description }),
|
|
1798
|
+
...(input.NotificationTopicArn != null && { NotificationTopicArn: input.NotificationTopicArn }),
|
|
1799
|
+
...(input.NotificationTopicStatus != null && { NotificationTopicStatus: input.NotificationTopicStatus }),
|
|
1800
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1801
|
+
...(input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow }),
|
|
1802
|
+
...(input.SecurityGroupIds != null && {
|
|
1835
1803
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
1836
1804
|
}),
|
|
1837
1805
|
};
|
|
1838
1806
|
};
|
|
1839
1807
|
const serializeAws_json1_1UpdateParameterGroupRequest = (input, context) => {
|
|
1840
1808
|
return {
|
|
1841
|
-
...(input.ParameterGroupName
|
|
1842
|
-
|
|
1843
|
-
...(input.ParameterNameValues !== undefined &&
|
|
1844
|
-
input.ParameterNameValues !== null && {
|
|
1809
|
+
...(input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }),
|
|
1810
|
+
...(input.ParameterNameValues != null && {
|
|
1845
1811
|
ParameterNameValues: serializeAws_json1_1ParameterNameValueList(input.ParameterNameValues, context),
|
|
1846
1812
|
}),
|
|
1847
1813
|
};
|
|
1848
1814
|
};
|
|
1849
1815
|
const serializeAws_json1_1UpdateSubnetGroupRequest = (input, context) => {
|
|
1850
1816
|
return {
|
|
1851
|
-
...(input.Description
|
|
1852
|
-
...(input.SubnetGroupName
|
|
1853
|
-
|
|
1854
|
-
...(input.SubnetIds !== undefined &&
|
|
1855
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1817
|
+
...(input.Description != null && { Description: input.Description }),
|
|
1818
|
+
...(input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }),
|
|
1819
|
+
...(input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }),
|
|
1856
1820
|
};
|
|
1857
1821
|
};
|
|
1858
1822
|
const deserializeAws_json1_1Cluster = (output, context) => {
|
|
1859
1823
|
return {
|
|
1860
1824
|
ActiveNodes: (0, smithy_client_1.expectInt32)(output.ActiveNodes),
|
|
1861
1825
|
ClusterArn: (0, smithy_client_1.expectString)(output.ClusterArn),
|
|
1862
|
-
ClusterDiscoveryEndpoint: output.ClusterDiscoveryEndpoint
|
|
1826
|
+
ClusterDiscoveryEndpoint: output.ClusterDiscoveryEndpoint != null
|
|
1863
1827
|
? deserializeAws_json1_1Endpoint(output.ClusterDiscoveryEndpoint, context)
|
|
1864
1828
|
: undefined,
|
|
1865
1829
|
ClusterEndpointEncryptionType: (0, smithy_client_1.expectString)(output.ClusterEndpointEncryptionType),
|
|
1866
1830
|
ClusterName: (0, smithy_client_1.expectString)(output.ClusterName),
|
|
1867
1831
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
1868
1832
|
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
1869
|
-
NodeIdsToRemove: output.NodeIdsToRemove
|
|
1833
|
+
NodeIdsToRemove: output.NodeIdsToRemove != null
|
|
1870
1834
|
? deserializeAws_json1_1NodeIdentifierList(output.NodeIdsToRemove, context)
|
|
1871
1835
|
: undefined,
|
|
1872
1836
|
NodeType: (0, smithy_client_1.expectString)(output.NodeType),
|
|
1873
|
-
Nodes: output.Nodes
|
|
1874
|
-
|
|
1875
|
-
: undefined,
|
|
1876
|
-
NotificationConfiguration: output.NotificationConfiguration !== undefined && output.NotificationConfiguration !== null
|
|
1837
|
+
Nodes: output.Nodes != null ? deserializeAws_json1_1NodeList(output.Nodes, context) : undefined,
|
|
1838
|
+
NotificationConfiguration: output.NotificationConfiguration != null
|
|
1877
1839
|
? deserializeAws_json1_1NotificationConfiguration(output.NotificationConfiguration, context)
|
|
1878
1840
|
: undefined,
|
|
1879
|
-
ParameterGroup: output.ParameterGroup
|
|
1841
|
+
ParameterGroup: output.ParameterGroup != null
|
|
1880
1842
|
? deserializeAws_json1_1ParameterGroupStatus(output.ParameterGroup, context)
|
|
1881
1843
|
: undefined,
|
|
1882
1844
|
PreferredMaintenanceWindow: (0, smithy_client_1.expectString)(output.PreferredMaintenanceWindow),
|
|
1883
|
-
SSEDescription: output.SSEDescription
|
|
1884
|
-
|
|
1885
|
-
: undefined,
|
|
1886
|
-
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
1845
|
+
SSEDescription: output.SSEDescription != null ? deserializeAws_json1_1SSEDescription(output.SSEDescription, context) : undefined,
|
|
1846
|
+
SecurityGroups: output.SecurityGroups != null
|
|
1887
1847
|
? deserializeAws_json1_1SecurityGroupMembershipList(output.SecurityGroups, context)
|
|
1888
1848
|
: undefined,
|
|
1889
1849
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -1919,37 +1879,27 @@ const deserializeAws_json1_1ClusterQuotaForCustomerExceededFault = (output, cont
|
|
|
1919
1879
|
};
|
|
1920
1880
|
const deserializeAws_json1_1CreateClusterResponse = (output, context) => {
|
|
1921
1881
|
return {
|
|
1922
|
-
Cluster: output.Cluster
|
|
1923
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
1924
|
-
: undefined,
|
|
1882
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
1925
1883
|
};
|
|
1926
1884
|
};
|
|
1927
1885
|
const deserializeAws_json1_1CreateParameterGroupResponse = (output, context) => {
|
|
1928
1886
|
return {
|
|
1929
|
-
ParameterGroup: output.ParameterGroup
|
|
1930
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
1931
|
-
: undefined,
|
|
1887
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
1932
1888
|
};
|
|
1933
1889
|
};
|
|
1934
1890
|
const deserializeAws_json1_1CreateSubnetGroupResponse = (output, context) => {
|
|
1935
1891
|
return {
|
|
1936
|
-
SubnetGroup: output.SubnetGroup
|
|
1937
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
1938
|
-
: undefined,
|
|
1892
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
1939
1893
|
};
|
|
1940
1894
|
};
|
|
1941
1895
|
const deserializeAws_json1_1DecreaseReplicationFactorResponse = (output, context) => {
|
|
1942
1896
|
return {
|
|
1943
|
-
Cluster: output.Cluster
|
|
1944
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
1945
|
-
: undefined,
|
|
1897
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
1946
1898
|
};
|
|
1947
1899
|
};
|
|
1948
1900
|
const deserializeAws_json1_1DeleteClusterResponse = (output, context) => {
|
|
1949
1901
|
return {
|
|
1950
|
-
Cluster: output.Cluster
|
|
1951
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
1952
|
-
: undefined,
|
|
1902
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
1953
1903
|
};
|
|
1954
1904
|
};
|
|
1955
1905
|
const deserializeAws_json1_1DeleteParameterGroupResponse = (output, context) => {
|
|
@@ -1964,32 +1914,26 @@ const deserializeAws_json1_1DeleteSubnetGroupResponse = (output, context) => {
|
|
|
1964
1914
|
};
|
|
1965
1915
|
const deserializeAws_json1_1DescribeClustersResponse = (output, context) => {
|
|
1966
1916
|
return {
|
|
1967
|
-
Clusters: output.Clusters
|
|
1968
|
-
? deserializeAws_json1_1ClusterList(output.Clusters, context)
|
|
1969
|
-
: undefined,
|
|
1917
|
+
Clusters: output.Clusters != null ? deserializeAws_json1_1ClusterList(output.Clusters, context) : undefined,
|
|
1970
1918
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1971
1919
|
};
|
|
1972
1920
|
};
|
|
1973
1921
|
const deserializeAws_json1_1DescribeDefaultParametersResponse = (output, context) => {
|
|
1974
1922
|
return {
|
|
1975
1923
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1976
|
-
Parameters: output.Parameters
|
|
1977
|
-
? deserializeAws_json1_1ParameterList(output.Parameters, context)
|
|
1978
|
-
: undefined,
|
|
1924
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterList(output.Parameters, context) : undefined,
|
|
1979
1925
|
};
|
|
1980
1926
|
};
|
|
1981
1927
|
const deserializeAws_json1_1DescribeEventsResponse = (output, context) => {
|
|
1982
1928
|
return {
|
|
1983
|
-
Events: output.Events
|
|
1984
|
-
? deserializeAws_json1_1EventList(output.Events, context)
|
|
1985
|
-
: undefined,
|
|
1929
|
+
Events: output.Events != null ? deserializeAws_json1_1EventList(output.Events, context) : undefined,
|
|
1986
1930
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1987
1931
|
};
|
|
1988
1932
|
};
|
|
1989
1933
|
const deserializeAws_json1_1DescribeParameterGroupsResponse = (output, context) => {
|
|
1990
1934
|
return {
|
|
1991
1935
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
1992
|
-
ParameterGroups: output.ParameterGroups
|
|
1936
|
+
ParameterGroups: output.ParameterGroups != null
|
|
1993
1937
|
? deserializeAws_json1_1ParameterGroupList(output.ParameterGroups, context)
|
|
1994
1938
|
: undefined,
|
|
1995
1939
|
};
|
|
@@ -1997,17 +1941,13 @@ const deserializeAws_json1_1DescribeParameterGroupsResponse = (output, context)
|
|
|
1997
1941
|
const deserializeAws_json1_1DescribeParametersResponse = (output, context) => {
|
|
1998
1942
|
return {
|
|
1999
1943
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2000
|
-
Parameters: output.Parameters
|
|
2001
|
-
? deserializeAws_json1_1ParameterList(output.Parameters, context)
|
|
2002
|
-
: undefined,
|
|
1944
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterList(output.Parameters, context) : undefined,
|
|
2003
1945
|
};
|
|
2004
1946
|
};
|
|
2005
1947
|
const deserializeAws_json1_1DescribeSubnetGroupsResponse = (output, context) => {
|
|
2006
1948
|
return {
|
|
2007
1949
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2008
|
-
SubnetGroups: output.SubnetGroups
|
|
2009
|
-
? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context)
|
|
2010
|
-
: undefined,
|
|
1950
|
+
SubnetGroups: output.SubnetGroups != null ? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context) : undefined,
|
|
2011
1951
|
};
|
|
2012
1952
|
};
|
|
2013
1953
|
const deserializeAws_json1_1Endpoint = (output, context) => {
|
|
@@ -2019,9 +1959,7 @@ const deserializeAws_json1_1Endpoint = (output, context) => {
|
|
|
2019
1959
|
};
|
|
2020
1960
|
const deserializeAws_json1_1Event = (output, context) => {
|
|
2021
1961
|
return {
|
|
2022
|
-
Date: output.Date
|
|
2023
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date)))
|
|
2024
|
-
: undefined,
|
|
1962
|
+
Date: output.Date != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Date))) : undefined,
|
|
2025
1963
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2026
1964
|
SourceName: (0, smithy_client_1.expectString)(output.SourceName),
|
|
2027
1965
|
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
@@ -2040,9 +1978,7 @@ const deserializeAws_json1_1EventList = (output, context) => {
|
|
|
2040
1978
|
};
|
|
2041
1979
|
const deserializeAws_json1_1IncreaseReplicationFactorResponse = (output, context) => {
|
|
2042
1980
|
return {
|
|
2043
|
-
Cluster: output.Cluster
|
|
2044
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2045
|
-
: undefined,
|
|
1981
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2046
1982
|
};
|
|
2047
1983
|
};
|
|
2048
1984
|
const deserializeAws_json1_1InsufficientClusterCapacityFault = (output, context) => {
|
|
@@ -2088,18 +2024,14 @@ const deserializeAws_json1_1InvalidVPCNetworkStateFault = (output, context) => {
|
|
|
2088
2024
|
const deserializeAws_json1_1ListTagsResponse = (output, context) => {
|
|
2089
2025
|
return {
|
|
2090
2026
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2091
|
-
Tags: output.Tags
|
|
2092
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2093
|
-
: undefined,
|
|
2027
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2094
2028
|
};
|
|
2095
2029
|
};
|
|
2096
2030
|
const deserializeAws_json1_1Node = (output, context) => {
|
|
2097
2031
|
return {
|
|
2098
2032
|
AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
|
|
2099
|
-
Endpoint: output.Endpoint
|
|
2100
|
-
|
|
2101
|
-
: undefined,
|
|
2102
|
-
NodeCreateTime: output.NodeCreateTime !== undefined && output.NodeCreateTime !== null
|
|
2033
|
+
Endpoint: output.Endpoint != null ? deserializeAws_json1_1Endpoint(output.Endpoint, context) : undefined,
|
|
2034
|
+
NodeCreateTime: output.NodeCreateTime != null
|
|
2103
2035
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NodeCreateTime)))
|
|
2104
2036
|
: undefined,
|
|
2105
2037
|
NodeId: (0, smithy_client_1.expectString)(output.NodeId),
|
|
@@ -2174,7 +2106,7 @@ const deserializeAws_json1_1Parameter = (output, context) => {
|
|
|
2174
2106
|
DataType: (0, smithy_client_1.expectString)(output.DataType),
|
|
2175
2107
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2176
2108
|
IsModifiable: (0, smithy_client_1.expectString)(output.IsModifiable),
|
|
2177
|
-
NodeTypeSpecificValues: output.NodeTypeSpecificValues
|
|
2109
|
+
NodeTypeSpecificValues: output.NodeTypeSpecificValues != null
|
|
2178
2110
|
? deserializeAws_json1_1NodeTypeSpecificValueList(output.NodeTypeSpecificValues, context)
|
|
2179
2111
|
: undefined,
|
|
2180
2112
|
ParameterName: (0, smithy_client_1.expectString)(output.ParameterName),
|
|
@@ -2217,7 +2149,7 @@ const deserializeAws_json1_1ParameterGroupQuotaExceededFault = (output, context)
|
|
|
2217
2149
|
};
|
|
2218
2150
|
const deserializeAws_json1_1ParameterGroupStatus = (output, context) => {
|
|
2219
2151
|
return {
|
|
2220
|
-
NodeIdsToReboot: output.NodeIdsToReboot
|
|
2152
|
+
NodeIdsToReboot: output.NodeIdsToReboot != null
|
|
2221
2153
|
? deserializeAws_json1_1NodeIdentifierList(output.NodeIdsToReboot, context)
|
|
2222
2154
|
: undefined,
|
|
2223
2155
|
ParameterApplyStatus: (0, smithy_client_1.expectString)(output.ParameterApplyStatus),
|
|
@@ -2237,9 +2169,7 @@ const deserializeAws_json1_1ParameterList = (output, context) => {
|
|
|
2237
2169
|
};
|
|
2238
2170
|
const deserializeAws_json1_1RebootNodeResponse = (output, context) => {
|
|
2239
2171
|
return {
|
|
2240
|
-
Cluster: output.Cluster
|
|
2241
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2242
|
-
: undefined,
|
|
2172
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2243
2173
|
};
|
|
2244
2174
|
};
|
|
2245
2175
|
const deserializeAws_json1_1SecurityGroupMembership = (output, context) => {
|
|
@@ -2282,9 +2212,7 @@ const deserializeAws_json1_1SubnetGroup = (output, context) => {
|
|
|
2282
2212
|
return {
|
|
2283
2213
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
2284
2214
|
SubnetGroupName: (0, smithy_client_1.expectString)(output.SubnetGroupName),
|
|
2285
|
-
Subnets: output.Subnets
|
|
2286
|
-
? deserializeAws_json1_1SubnetList(output.Subnets, context)
|
|
2287
|
-
: undefined,
|
|
2215
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_1SubnetList(output.Subnets, context) : undefined,
|
|
2288
2216
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
2289
2217
|
};
|
|
2290
2218
|
};
|
|
@@ -2369,37 +2297,27 @@ const deserializeAws_json1_1TagQuotaPerResourceExceeded = (output, context) => {
|
|
|
2369
2297
|
};
|
|
2370
2298
|
const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
2371
2299
|
return {
|
|
2372
|
-
Tags: output.Tags
|
|
2373
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2374
|
-
: undefined,
|
|
2300
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2375
2301
|
};
|
|
2376
2302
|
};
|
|
2377
2303
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
2378
2304
|
return {
|
|
2379
|
-
Tags: output.Tags
|
|
2380
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2381
|
-
: undefined,
|
|
2305
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2382
2306
|
};
|
|
2383
2307
|
};
|
|
2384
2308
|
const deserializeAws_json1_1UpdateClusterResponse = (output, context) => {
|
|
2385
2309
|
return {
|
|
2386
|
-
Cluster: output.Cluster
|
|
2387
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2388
|
-
: undefined,
|
|
2310
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2389
2311
|
};
|
|
2390
2312
|
};
|
|
2391
2313
|
const deserializeAws_json1_1UpdateParameterGroupResponse = (output, context) => {
|
|
2392
2314
|
return {
|
|
2393
|
-
ParameterGroup: output.ParameterGroup
|
|
2394
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
2395
|
-
: undefined,
|
|
2315
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
2396
2316
|
};
|
|
2397
2317
|
};
|
|
2398
2318
|
const deserializeAws_json1_1UpdateSubnetGroupResponse = (output, context) => {
|
|
2399
2319
|
return {
|
|
2400
|
-
SubnetGroup: output.SubnetGroup
|
|
2401
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
2402
|
-
: undefined,
|
|
2320
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
2403
2321
|
};
|
|
2404
2322
|
};
|
|
2405
2323
|
const deserializeMetadata = (output) => {
|
|
@@ -1953,91 +1953,66 @@ var serializeAws_json1_1ClusterNameList = function (input, context) {
|
|
|
1953
1953
|
});
|
|
1954
1954
|
};
|
|
1955
1955
|
var serializeAws_json1_1CreateClusterRequest = function (input, context) {
|
|
1956
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZones
|
|
1957
|
-
input.AvailabilityZones !== null && {
|
|
1956
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZones != null && {
|
|
1958
1957
|
AvailabilityZones: serializeAws_json1_1AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1959
|
-
})), (input.ClusterEndpointEncryptionType
|
|
1960
|
-
input.ClusterEndpointEncryptionType !== null && {
|
|
1958
|
+
})), (input.ClusterEndpointEncryptionType != null && {
|
|
1961
1959
|
ClusterEndpointEncryptionType: input.ClusterEndpointEncryptionType,
|
|
1962
|
-
})), (input.ClusterName
|
|
1963
|
-
input.NotificationTopicArn !== null && { NotificationTopicArn: input.NotificationTopicArn })), (input.ParameterGroupName !== undefined &&
|
|
1964
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.PreferredMaintenanceWindow !== undefined &&
|
|
1965
|
-
input.PreferredMaintenanceWindow !== null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow })), (input.ReplicationFactor !== undefined &&
|
|
1966
|
-
input.ReplicationFactor !== null && { ReplicationFactor: input.ReplicationFactor })), (input.SSESpecification !== undefined &&
|
|
1967
|
-
input.SSESpecification !== null && {
|
|
1960
|
+
})), (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.Description != null && { Description: input.Description })), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.NodeType != null && { NodeType: input.NodeType })), (input.NotificationTopicArn != null && { NotificationTopicArn: input.NotificationTopicArn })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow })), (input.ReplicationFactor != null && { ReplicationFactor: input.ReplicationFactor })), (input.SSESpecification != null && {
|
|
1968
1961
|
SSESpecification: serializeAws_json1_1SSESpecification(input.SSESpecification, context),
|
|
1969
|
-
})), (input.SecurityGroupIds
|
|
1970
|
-
input.SecurityGroupIds !== null && {
|
|
1962
|
+
})), (input.SecurityGroupIds != null && {
|
|
1971
1963
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
1972
|
-
})), (input.SubnetGroupName
|
|
1973
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
1964
|
+
})), (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
1974
1965
|
};
|
|
1975
1966
|
var serializeAws_json1_1CreateParameterGroupRequest = function (input, context) {
|
|
1976
|
-
return __assign(__assign({}, (input.Description
|
|
1977
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }));
|
|
1967
|
+
return __assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }));
|
|
1978
1968
|
};
|
|
1979
1969
|
var serializeAws_json1_1CreateSubnetGroupRequest = function (input, context) {
|
|
1980
|
-
return __assign(__assign(__assign({}, (input.Description
|
|
1981
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds !== undefined &&
|
|
1982
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }));
|
|
1970
|
+
return __assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }));
|
|
1983
1971
|
};
|
|
1984
1972
|
var serializeAws_json1_1DecreaseReplicationFactorRequest = function (input, context) {
|
|
1985
|
-
return __assign(__assign(__assign(__assign({}, (input.AvailabilityZones
|
|
1986
|
-
input.AvailabilityZones !== null && {
|
|
1973
|
+
return __assign(__assign(__assign(__assign({}, (input.AvailabilityZones != null && {
|
|
1987
1974
|
AvailabilityZones: serializeAws_json1_1AvailabilityZoneList(input.AvailabilityZones, context),
|
|
1988
|
-
})), (input.ClusterName
|
|
1989
|
-
input.NewReplicationFactor !== null && { NewReplicationFactor: input.NewReplicationFactor })), (input.NodeIdsToRemove !== undefined &&
|
|
1990
|
-
input.NodeIdsToRemove !== null && {
|
|
1975
|
+
})), (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor })), (input.NodeIdsToRemove != null && {
|
|
1991
1976
|
NodeIdsToRemove: serializeAws_json1_1NodeIdentifierList(input.NodeIdsToRemove, context),
|
|
1992
1977
|
}));
|
|
1993
1978
|
};
|
|
1994
1979
|
var serializeAws_json1_1DeleteClusterRequest = function (input, context) {
|
|
1995
|
-
return __assign({}, (input.ClusterName
|
|
1980
|
+
return __assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName }));
|
|
1996
1981
|
};
|
|
1997
1982
|
var serializeAws_json1_1DeleteParameterGroupRequest = function (input, context) {
|
|
1998
|
-
return __assign({}, (input.ParameterGroupName
|
|
1999
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName }));
|
|
1983
|
+
return __assign({}, (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName }));
|
|
2000
1984
|
};
|
|
2001
1985
|
var serializeAws_json1_1DeleteSubnetGroupRequest = function (input, context) {
|
|
2002
|
-
return __assign({}, (input.SubnetGroupName
|
|
2003
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName }));
|
|
1986
|
+
return __assign({}, (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName }));
|
|
2004
1987
|
};
|
|
2005
1988
|
var serializeAws_json1_1DescribeClustersRequest = function (input, context) {
|
|
2006
|
-
return __assign(__assign(__assign({}, (input.ClusterNames
|
|
2007
|
-
input.ClusterNames !== null && {
|
|
1989
|
+
return __assign(__assign(__assign({}, (input.ClusterNames != null && {
|
|
2008
1990
|
ClusterNames: serializeAws_json1_1ClusterNameList(input.ClusterNames, context),
|
|
2009
|
-
})), (input.MaxResults
|
|
1991
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2010
1992
|
};
|
|
2011
1993
|
var serializeAws_json1_1DescribeDefaultParametersRequest = function (input, context) {
|
|
2012
|
-
return __assign(__assign({}, (input.MaxResults
|
|
1994
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2013
1995
|
};
|
|
2014
1996
|
var serializeAws_json1_1DescribeEventsRequest = function (input, context) {
|
|
2015
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration
|
|
2016
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SourceName !== undefined && input.SourceName !== null && { SourceName: input.SourceName })), (input.SourceType !== undefined && input.SourceType !== null && { SourceType: input.SourceType })), (input.StartTime !== undefined &&
|
|
2017
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
1997
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Duration != null && { Duration: input.Duration })), (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SourceName != null && { SourceName: input.SourceName })), (input.SourceType != null && { SourceType: input.SourceType })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2018
1998
|
};
|
|
2019
1999
|
var serializeAws_json1_1DescribeParameterGroupsRequest = function (input, context) {
|
|
2020
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2021
|
-
input.ParameterGroupNames !== null && {
|
|
2000
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ParameterGroupNames != null && {
|
|
2022
2001
|
ParameterGroupNames: serializeAws_json1_1ParameterGroupNameList(input.ParameterGroupNames, context),
|
|
2023
2002
|
}));
|
|
2024
2003
|
};
|
|
2025
2004
|
var serializeAws_json1_1DescribeParametersRequest = function (input, context) {
|
|
2026
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
2027
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.Source !== undefined && input.Source !== null && { Source: input.Source }));
|
|
2005
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.Source != null && { Source: input.Source }));
|
|
2028
2006
|
};
|
|
2029
2007
|
var serializeAws_json1_1DescribeSubnetGroupsRequest = function (input, context) {
|
|
2030
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2031
|
-
input.SubnetGroupNames !== null && {
|
|
2008
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SubnetGroupNames != null && {
|
|
2032
2009
|
SubnetGroupNames: serializeAws_json1_1SubnetGroupNameList(input.SubnetGroupNames, context),
|
|
2033
2010
|
}));
|
|
2034
2011
|
};
|
|
2035
2012
|
var serializeAws_json1_1IncreaseReplicationFactorRequest = function (input, context) {
|
|
2036
|
-
return __assign(__assign(__assign({}, (input.AvailabilityZones
|
|
2037
|
-
input.AvailabilityZones !== null && {
|
|
2013
|
+
return __assign(__assign(__assign({}, (input.AvailabilityZones != null && {
|
|
2038
2014
|
AvailabilityZones: serializeAws_json1_1AvailabilityZoneList(input.AvailabilityZones, context),
|
|
2039
|
-
})), (input.ClusterName
|
|
2040
|
-
input.NewReplicationFactor !== null && { NewReplicationFactor: input.NewReplicationFactor }));
|
|
2015
|
+
})), (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.NewReplicationFactor != null && { NewReplicationFactor: input.NewReplicationFactor }));
|
|
2041
2016
|
};
|
|
2042
2017
|
var serializeAws_json1_1KeyList = function (input, context) {
|
|
2043
2018
|
return input
|
|
@@ -2050,7 +2025,7 @@ var serializeAws_json1_1KeyList = function (input, context) {
|
|
|
2050
2025
|
});
|
|
2051
2026
|
};
|
|
2052
2027
|
var serializeAws_json1_1ListTagsRequest = function (input, context) {
|
|
2053
|
-
return __assign(__assign({}, (input.NextToken
|
|
2028
|
+
return __assign(__assign({}, (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceName != null && { ResourceName: input.ResourceName }));
|
|
2054
2029
|
};
|
|
2055
2030
|
var serializeAws_json1_1NodeIdentifierList = function (input, context) {
|
|
2056
2031
|
return input
|
|
@@ -2073,8 +2048,7 @@ var serializeAws_json1_1ParameterGroupNameList = function (input, context) {
|
|
|
2073
2048
|
});
|
|
2074
2049
|
};
|
|
2075
2050
|
var serializeAws_json1_1ParameterNameValue = function (input, context) {
|
|
2076
|
-
return __assign(__assign({}, (input.ParameterName
|
|
2077
|
-
input.ParameterValue !== null && { ParameterValue: input.ParameterValue }));
|
|
2051
|
+
return __assign(__assign({}, (input.ParameterName != null && { ParameterName: input.ParameterName })), (input.ParameterValue != null && { ParameterValue: input.ParameterValue }));
|
|
2078
2052
|
};
|
|
2079
2053
|
var serializeAws_json1_1ParameterNameValueList = function (input, context) {
|
|
2080
2054
|
return input
|
|
@@ -2087,7 +2061,7 @@ var serializeAws_json1_1ParameterNameValueList = function (input, context) {
|
|
|
2087
2061
|
});
|
|
2088
2062
|
};
|
|
2089
2063
|
var serializeAws_json1_1RebootNodeRequest = function (input, context) {
|
|
2090
|
-
return __assign(__assign({}, (input.ClusterName
|
|
2064
|
+
return __assign(__assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.NodeId != null && { NodeId: input.NodeId }));
|
|
2091
2065
|
};
|
|
2092
2066
|
var serializeAws_json1_1SecurityGroupIdentifierList = function (input, context) {
|
|
2093
2067
|
return input
|
|
@@ -2100,7 +2074,7 @@ var serializeAws_json1_1SecurityGroupIdentifierList = function (input, context)
|
|
|
2100
2074
|
});
|
|
2101
2075
|
};
|
|
2102
2076
|
var serializeAws_json1_1SSESpecification = function (input, context) {
|
|
2103
|
-
return __assign({}, (input.Enabled
|
|
2077
|
+
return __assign({}, (input.Enabled != null && { Enabled: input.Enabled }));
|
|
2104
2078
|
};
|
|
2105
2079
|
var serializeAws_json1_1SubnetGroupNameList = function (input, context) {
|
|
2106
2080
|
return input
|
|
@@ -2123,7 +2097,7 @@ var serializeAws_json1_1SubnetIdentifierList = function (input, context) {
|
|
|
2123
2097
|
});
|
|
2124
2098
|
};
|
|
2125
2099
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
2126
|
-
return __assign(__assign({}, (input.Key
|
|
2100
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2127
2101
|
};
|
|
2128
2102
|
var serializeAws_json1_1TagList = function (input, context) {
|
|
2129
2103
|
return input
|
|
@@ -2136,63 +2110,49 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
2136
2110
|
});
|
|
2137
2111
|
};
|
|
2138
2112
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
2139
|
-
return __assign(__assign({}, (input.ResourceName
|
|
2113
|
+
return __assign(__assign({}, (input.ResourceName != null && { ResourceName: input.ResourceName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
2140
2114
|
};
|
|
2141
2115
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
2142
|
-
return __assign(__assign({}, (input.ResourceName
|
|
2143
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
|
|
2116
|
+
return __assign(__assign({}, (input.ResourceName != null && { ResourceName: input.ResourceName })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
|
|
2144
2117
|
};
|
|
2145
2118
|
var serializeAws_json1_1UpdateClusterRequest = function (input, context) {
|
|
2146
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterName
|
|
2147
|
-
input.NotificationTopicArn !== null && { NotificationTopicArn: input.NotificationTopicArn })), (input.NotificationTopicStatus !== undefined &&
|
|
2148
|
-
input.NotificationTopicStatus !== null && { NotificationTopicStatus: input.NotificationTopicStatus })), (input.ParameterGroupName !== undefined &&
|
|
2149
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.PreferredMaintenanceWindow !== undefined &&
|
|
2150
|
-
input.PreferredMaintenanceWindow !== null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow })), (input.SecurityGroupIds !== undefined &&
|
|
2151
|
-
input.SecurityGroupIds !== null && {
|
|
2119
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterName != null && { ClusterName: input.ClusterName })), (input.Description != null && { Description: input.Description })), (input.NotificationTopicArn != null && { NotificationTopicArn: input.NotificationTopicArn })), (input.NotificationTopicStatus != null && { NotificationTopicStatus: input.NotificationTopicStatus })), (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.PreferredMaintenanceWindow != null && { PreferredMaintenanceWindow: input.PreferredMaintenanceWindow })), (input.SecurityGroupIds != null && {
|
|
2152
2120
|
SecurityGroupIds: serializeAws_json1_1SecurityGroupIdentifierList(input.SecurityGroupIds, context),
|
|
2153
2121
|
}));
|
|
2154
2122
|
};
|
|
2155
2123
|
var serializeAws_json1_1UpdateParameterGroupRequest = function (input, context) {
|
|
2156
|
-
return __assign(__assign({}, (input.ParameterGroupName
|
|
2157
|
-
input.ParameterGroupName !== null && { ParameterGroupName: input.ParameterGroupName })), (input.ParameterNameValues !== undefined &&
|
|
2158
|
-
input.ParameterNameValues !== null && {
|
|
2124
|
+
return __assign(__assign({}, (input.ParameterGroupName != null && { ParameterGroupName: input.ParameterGroupName })), (input.ParameterNameValues != null && {
|
|
2159
2125
|
ParameterNameValues: serializeAws_json1_1ParameterNameValueList(input.ParameterNameValues, context),
|
|
2160
2126
|
}));
|
|
2161
2127
|
};
|
|
2162
2128
|
var serializeAws_json1_1UpdateSubnetGroupRequest = function (input, context) {
|
|
2163
|
-
return __assign(__assign(__assign({}, (input.Description
|
|
2164
|
-
input.SubnetGroupName !== null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds !== undefined &&
|
|
2165
|
-
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }));
|
|
2129
|
+
return __assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.SubnetGroupName != null && { SubnetGroupName: input.SubnetGroupName })), (input.SubnetIds != null && { SubnetIds: serializeAws_json1_1SubnetIdentifierList(input.SubnetIds, context) }));
|
|
2166
2130
|
};
|
|
2167
2131
|
var deserializeAws_json1_1Cluster = function (output, context) {
|
|
2168
2132
|
return {
|
|
2169
2133
|
ActiveNodes: __expectInt32(output.ActiveNodes),
|
|
2170
2134
|
ClusterArn: __expectString(output.ClusterArn),
|
|
2171
|
-
ClusterDiscoveryEndpoint: output.ClusterDiscoveryEndpoint
|
|
2135
|
+
ClusterDiscoveryEndpoint: output.ClusterDiscoveryEndpoint != null
|
|
2172
2136
|
? deserializeAws_json1_1Endpoint(output.ClusterDiscoveryEndpoint, context)
|
|
2173
2137
|
: undefined,
|
|
2174
2138
|
ClusterEndpointEncryptionType: __expectString(output.ClusterEndpointEncryptionType),
|
|
2175
2139
|
ClusterName: __expectString(output.ClusterName),
|
|
2176
2140
|
Description: __expectString(output.Description),
|
|
2177
2141
|
IamRoleArn: __expectString(output.IamRoleArn),
|
|
2178
|
-
NodeIdsToRemove: output.NodeIdsToRemove
|
|
2142
|
+
NodeIdsToRemove: output.NodeIdsToRemove != null
|
|
2179
2143
|
? deserializeAws_json1_1NodeIdentifierList(output.NodeIdsToRemove, context)
|
|
2180
2144
|
: undefined,
|
|
2181
2145
|
NodeType: __expectString(output.NodeType),
|
|
2182
|
-
Nodes: output.Nodes
|
|
2183
|
-
|
|
2184
|
-
: undefined,
|
|
2185
|
-
NotificationConfiguration: output.NotificationConfiguration !== undefined && output.NotificationConfiguration !== null
|
|
2146
|
+
Nodes: output.Nodes != null ? deserializeAws_json1_1NodeList(output.Nodes, context) : undefined,
|
|
2147
|
+
NotificationConfiguration: output.NotificationConfiguration != null
|
|
2186
2148
|
? deserializeAws_json1_1NotificationConfiguration(output.NotificationConfiguration, context)
|
|
2187
2149
|
: undefined,
|
|
2188
|
-
ParameterGroup: output.ParameterGroup
|
|
2150
|
+
ParameterGroup: output.ParameterGroup != null
|
|
2189
2151
|
? deserializeAws_json1_1ParameterGroupStatus(output.ParameterGroup, context)
|
|
2190
2152
|
: undefined,
|
|
2191
2153
|
PreferredMaintenanceWindow: __expectString(output.PreferredMaintenanceWindow),
|
|
2192
|
-
SSEDescription: output.SSEDescription
|
|
2193
|
-
|
|
2194
|
-
: undefined,
|
|
2195
|
-
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
2154
|
+
SSEDescription: output.SSEDescription != null ? deserializeAws_json1_1SSEDescription(output.SSEDescription, context) : undefined,
|
|
2155
|
+
SecurityGroups: output.SecurityGroups != null
|
|
2196
2156
|
? deserializeAws_json1_1SecurityGroupMembershipList(output.SecurityGroups, context)
|
|
2197
2157
|
: undefined,
|
|
2198
2158
|
Status: __expectString(output.Status),
|
|
@@ -2228,37 +2188,27 @@ var deserializeAws_json1_1ClusterQuotaForCustomerExceededFault = function (outpu
|
|
|
2228
2188
|
};
|
|
2229
2189
|
var deserializeAws_json1_1CreateClusterResponse = function (output, context) {
|
|
2230
2190
|
return {
|
|
2231
|
-
Cluster: output.Cluster
|
|
2232
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2233
|
-
: undefined,
|
|
2191
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2234
2192
|
};
|
|
2235
2193
|
};
|
|
2236
2194
|
var deserializeAws_json1_1CreateParameterGroupResponse = function (output, context) {
|
|
2237
2195
|
return {
|
|
2238
|
-
ParameterGroup: output.ParameterGroup
|
|
2239
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
2240
|
-
: undefined,
|
|
2196
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
2241
2197
|
};
|
|
2242
2198
|
};
|
|
2243
2199
|
var deserializeAws_json1_1CreateSubnetGroupResponse = function (output, context) {
|
|
2244
2200
|
return {
|
|
2245
|
-
SubnetGroup: output.SubnetGroup
|
|
2246
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
2247
|
-
: undefined,
|
|
2201
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
2248
2202
|
};
|
|
2249
2203
|
};
|
|
2250
2204
|
var deserializeAws_json1_1DecreaseReplicationFactorResponse = function (output, context) {
|
|
2251
2205
|
return {
|
|
2252
|
-
Cluster: output.Cluster
|
|
2253
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2254
|
-
: undefined,
|
|
2206
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2255
2207
|
};
|
|
2256
2208
|
};
|
|
2257
2209
|
var deserializeAws_json1_1DeleteClusterResponse = function (output, context) {
|
|
2258
2210
|
return {
|
|
2259
|
-
Cluster: output.Cluster
|
|
2260
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2261
|
-
: undefined,
|
|
2211
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2262
2212
|
};
|
|
2263
2213
|
};
|
|
2264
2214
|
var deserializeAws_json1_1DeleteParameterGroupResponse = function (output, context) {
|
|
@@ -2273,32 +2223,26 @@ var deserializeAws_json1_1DeleteSubnetGroupResponse = function (output, context)
|
|
|
2273
2223
|
};
|
|
2274
2224
|
var deserializeAws_json1_1DescribeClustersResponse = function (output, context) {
|
|
2275
2225
|
return {
|
|
2276
|
-
Clusters: output.Clusters
|
|
2277
|
-
? deserializeAws_json1_1ClusterList(output.Clusters, context)
|
|
2278
|
-
: undefined,
|
|
2226
|
+
Clusters: output.Clusters != null ? deserializeAws_json1_1ClusterList(output.Clusters, context) : undefined,
|
|
2279
2227
|
NextToken: __expectString(output.NextToken),
|
|
2280
2228
|
};
|
|
2281
2229
|
};
|
|
2282
2230
|
var deserializeAws_json1_1DescribeDefaultParametersResponse = function (output, context) {
|
|
2283
2231
|
return {
|
|
2284
2232
|
NextToken: __expectString(output.NextToken),
|
|
2285
|
-
Parameters: output.Parameters
|
|
2286
|
-
? deserializeAws_json1_1ParameterList(output.Parameters, context)
|
|
2287
|
-
: undefined,
|
|
2233
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterList(output.Parameters, context) : undefined,
|
|
2288
2234
|
};
|
|
2289
2235
|
};
|
|
2290
2236
|
var deserializeAws_json1_1DescribeEventsResponse = function (output, context) {
|
|
2291
2237
|
return {
|
|
2292
|
-
Events: output.Events
|
|
2293
|
-
? deserializeAws_json1_1EventList(output.Events, context)
|
|
2294
|
-
: undefined,
|
|
2238
|
+
Events: output.Events != null ? deserializeAws_json1_1EventList(output.Events, context) : undefined,
|
|
2295
2239
|
NextToken: __expectString(output.NextToken),
|
|
2296
2240
|
};
|
|
2297
2241
|
};
|
|
2298
2242
|
var deserializeAws_json1_1DescribeParameterGroupsResponse = function (output, context) {
|
|
2299
2243
|
return {
|
|
2300
2244
|
NextToken: __expectString(output.NextToken),
|
|
2301
|
-
ParameterGroups: output.ParameterGroups
|
|
2245
|
+
ParameterGroups: output.ParameterGroups != null
|
|
2302
2246
|
? deserializeAws_json1_1ParameterGroupList(output.ParameterGroups, context)
|
|
2303
2247
|
: undefined,
|
|
2304
2248
|
};
|
|
@@ -2306,17 +2250,13 @@ var deserializeAws_json1_1DescribeParameterGroupsResponse = function (output, co
|
|
|
2306
2250
|
var deserializeAws_json1_1DescribeParametersResponse = function (output, context) {
|
|
2307
2251
|
return {
|
|
2308
2252
|
NextToken: __expectString(output.NextToken),
|
|
2309
|
-
Parameters: output.Parameters
|
|
2310
|
-
? deserializeAws_json1_1ParameterList(output.Parameters, context)
|
|
2311
|
-
: undefined,
|
|
2253
|
+
Parameters: output.Parameters != null ? deserializeAws_json1_1ParameterList(output.Parameters, context) : undefined,
|
|
2312
2254
|
};
|
|
2313
2255
|
};
|
|
2314
2256
|
var deserializeAws_json1_1DescribeSubnetGroupsResponse = function (output, context) {
|
|
2315
2257
|
return {
|
|
2316
2258
|
NextToken: __expectString(output.NextToken),
|
|
2317
|
-
SubnetGroups: output.SubnetGroups
|
|
2318
|
-
? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context)
|
|
2319
|
-
: undefined,
|
|
2259
|
+
SubnetGroups: output.SubnetGroups != null ? deserializeAws_json1_1SubnetGroupList(output.SubnetGroups, context) : undefined,
|
|
2320
2260
|
};
|
|
2321
2261
|
};
|
|
2322
2262
|
var deserializeAws_json1_1Endpoint = function (output, context) {
|
|
@@ -2328,9 +2268,7 @@ var deserializeAws_json1_1Endpoint = function (output, context) {
|
|
|
2328
2268
|
};
|
|
2329
2269
|
var deserializeAws_json1_1Event = function (output, context) {
|
|
2330
2270
|
return {
|
|
2331
|
-
Date: output.Date
|
|
2332
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
|
|
2333
|
-
: undefined,
|
|
2271
|
+
Date: output.Date != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date))) : undefined,
|
|
2334
2272
|
Message: __expectString(output.Message),
|
|
2335
2273
|
SourceName: __expectString(output.SourceName),
|
|
2336
2274
|
SourceType: __expectString(output.SourceType),
|
|
@@ -2349,9 +2287,7 @@ var deserializeAws_json1_1EventList = function (output, context) {
|
|
|
2349
2287
|
};
|
|
2350
2288
|
var deserializeAws_json1_1IncreaseReplicationFactorResponse = function (output, context) {
|
|
2351
2289
|
return {
|
|
2352
|
-
Cluster: output.Cluster
|
|
2353
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2354
|
-
: undefined,
|
|
2290
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2355
2291
|
};
|
|
2356
2292
|
};
|
|
2357
2293
|
var deserializeAws_json1_1InsufficientClusterCapacityFault = function (output, context) {
|
|
@@ -2397,18 +2333,14 @@ var deserializeAws_json1_1InvalidVPCNetworkStateFault = function (output, contex
|
|
|
2397
2333
|
var deserializeAws_json1_1ListTagsResponse = function (output, context) {
|
|
2398
2334
|
return {
|
|
2399
2335
|
NextToken: __expectString(output.NextToken),
|
|
2400
|
-
Tags: output.Tags
|
|
2401
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2402
|
-
: undefined,
|
|
2336
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2403
2337
|
};
|
|
2404
2338
|
};
|
|
2405
2339
|
var deserializeAws_json1_1Node = function (output, context) {
|
|
2406
2340
|
return {
|
|
2407
2341
|
AvailabilityZone: __expectString(output.AvailabilityZone),
|
|
2408
|
-
Endpoint: output.Endpoint
|
|
2409
|
-
|
|
2410
|
-
: undefined,
|
|
2411
|
-
NodeCreateTime: output.NodeCreateTime !== undefined && output.NodeCreateTime !== null
|
|
2342
|
+
Endpoint: output.Endpoint != null ? deserializeAws_json1_1Endpoint(output.Endpoint, context) : undefined,
|
|
2343
|
+
NodeCreateTime: output.NodeCreateTime != null
|
|
2412
2344
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.NodeCreateTime)))
|
|
2413
2345
|
: undefined,
|
|
2414
2346
|
NodeId: __expectString(output.NodeId),
|
|
@@ -2483,7 +2415,7 @@ var deserializeAws_json1_1Parameter = function (output, context) {
|
|
|
2483
2415
|
DataType: __expectString(output.DataType),
|
|
2484
2416
|
Description: __expectString(output.Description),
|
|
2485
2417
|
IsModifiable: __expectString(output.IsModifiable),
|
|
2486
|
-
NodeTypeSpecificValues: output.NodeTypeSpecificValues
|
|
2418
|
+
NodeTypeSpecificValues: output.NodeTypeSpecificValues != null
|
|
2487
2419
|
? deserializeAws_json1_1NodeTypeSpecificValueList(output.NodeTypeSpecificValues, context)
|
|
2488
2420
|
: undefined,
|
|
2489
2421
|
ParameterName: __expectString(output.ParameterName),
|
|
@@ -2526,7 +2458,7 @@ var deserializeAws_json1_1ParameterGroupQuotaExceededFault = function (output, c
|
|
|
2526
2458
|
};
|
|
2527
2459
|
var deserializeAws_json1_1ParameterGroupStatus = function (output, context) {
|
|
2528
2460
|
return {
|
|
2529
|
-
NodeIdsToReboot: output.NodeIdsToReboot
|
|
2461
|
+
NodeIdsToReboot: output.NodeIdsToReboot != null
|
|
2530
2462
|
? deserializeAws_json1_1NodeIdentifierList(output.NodeIdsToReboot, context)
|
|
2531
2463
|
: undefined,
|
|
2532
2464
|
ParameterApplyStatus: __expectString(output.ParameterApplyStatus),
|
|
@@ -2546,9 +2478,7 @@ var deserializeAws_json1_1ParameterList = function (output, context) {
|
|
|
2546
2478
|
};
|
|
2547
2479
|
var deserializeAws_json1_1RebootNodeResponse = function (output, context) {
|
|
2548
2480
|
return {
|
|
2549
|
-
Cluster: output.Cluster
|
|
2550
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2551
|
-
: undefined,
|
|
2481
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2552
2482
|
};
|
|
2553
2483
|
};
|
|
2554
2484
|
var deserializeAws_json1_1SecurityGroupMembership = function (output, context) {
|
|
@@ -2591,9 +2521,7 @@ var deserializeAws_json1_1SubnetGroup = function (output, context) {
|
|
|
2591
2521
|
return {
|
|
2592
2522
|
Description: __expectString(output.Description),
|
|
2593
2523
|
SubnetGroupName: __expectString(output.SubnetGroupName),
|
|
2594
|
-
Subnets: output.Subnets
|
|
2595
|
-
? deserializeAws_json1_1SubnetList(output.Subnets, context)
|
|
2596
|
-
: undefined,
|
|
2524
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_1SubnetList(output.Subnets, context) : undefined,
|
|
2597
2525
|
VpcId: __expectString(output.VpcId),
|
|
2598
2526
|
};
|
|
2599
2527
|
};
|
|
@@ -2678,37 +2606,27 @@ var deserializeAws_json1_1TagQuotaPerResourceExceeded = function (output, contex
|
|
|
2678
2606
|
};
|
|
2679
2607
|
var deserializeAws_json1_1TagResourceResponse = function (output, context) {
|
|
2680
2608
|
return {
|
|
2681
|
-
Tags: output.Tags
|
|
2682
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2683
|
-
: undefined,
|
|
2609
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2684
2610
|
};
|
|
2685
2611
|
};
|
|
2686
2612
|
var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
2687
2613
|
return {
|
|
2688
|
-
Tags: output.Tags
|
|
2689
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2690
|
-
: undefined,
|
|
2614
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2691
2615
|
};
|
|
2692
2616
|
};
|
|
2693
2617
|
var deserializeAws_json1_1UpdateClusterResponse = function (output, context) {
|
|
2694
2618
|
return {
|
|
2695
|
-
Cluster: output.Cluster
|
|
2696
|
-
? deserializeAws_json1_1Cluster(output.Cluster, context)
|
|
2697
|
-
: undefined,
|
|
2619
|
+
Cluster: output.Cluster != null ? deserializeAws_json1_1Cluster(output.Cluster, context) : undefined,
|
|
2698
2620
|
};
|
|
2699
2621
|
};
|
|
2700
2622
|
var deserializeAws_json1_1UpdateParameterGroupResponse = function (output, context) {
|
|
2701
2623
|
return {
|
|
2702
|
-
ParameterGroup: output.ParameterGroup
|
|
2703
|
-
? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context)
|
|
2704
|
-
: undefined,
|
|
2624
|
+
ParameterGroup: output.ParameterGroup != null ? deserializeAws_json1_1ParameterGroup(output.ParameterGroup, context) : undefined,
|
|
2705
2625
|
};
|
|
2706
2626
|
};
|
|
2707
2627
|
var deserializeAws_json1_1UpdateSubnetGroupResponse = function (output, context) {
|
|
2708
2628
|
return {
|
|
2709
|
-
SubnetGroup: output.SubnetGroup
|
|
2710
|
-
? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context)
|
|
2711
|
-
: undefined,
|
|
2629
|
+
SubnetGroup: output.SubnetGroup != null ? deserializeAws_json1_1SubnetGroup(output.SubnetGroup, context) : undefined,
|
|
2712
2630
|
};
|
|
2713
2631
|
};
|
|
2714
2632
|
var deserializeMetadata = function (output) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dax",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dax Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|