@aws-sdk/client-elasticache 3.28.0 → 3.32.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 CHANGED
@@ -3,6 +3,41 @@
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-elasticache
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 09/10/2021 ([#2776](https://github.com/aws/aws-sdk-js-v3/issues/2776)) ([3f49ae7](https://github.com/aws/aws-sdk-js-v3/commit/3f49ae758688f73d5ce16ee21ac597a113199bff))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-elasticache
28
+
29
+
30
+
31
+
32
+
33
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/client-elasticache
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
42
 
8
43
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elasticache",
3
3
  "description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,48 +27,48 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
58
- "@aws-sdk/util-waiter": "3.25.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
+ "@aws-sdk/util-waiter": "3.32.0",
59
59
  "entities": "2.2.0",
60
60
  "fast-xml-parser": "3.19.0",
61
61
  "tslib": "^2.3.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@aws-sdk/client-documentation-generator": "3.23.0",
64
+ "@aws-sdk/client-documentation-generator": "3.32.0",
65
65
  "@types/node": "^12.7.5",
66
66
  "downlevel-dts": "0.7.0",
67
67
  "jest": "^26.1.0",
68
68
  "rimraf": "^3.0.0",
69
69
  "ts-jest": "^26.4.1",
70
70
  "typedoc": "^0.19.2",
71
- "typescript": "~4.3.2"
71
+ "typescript": "~4.3.5"
72
72
  },
73
73
  "engines": {
74
74
  "node": ">=10.0.0"
@@ -9057,7 +9057,7 @@ const deserializeAws_queryAuthentication = (output, context) => {
9057
9057
  contents.Type = smithy_client_1.expectString(output["Type"]);
9058
9058
  }
9059
9059
  if (output["PasswordCount"] !== undefined) {
9060
- contents.PasswordCount = smithy_client_1.strictParseInt(output["PasswordCount"]);
9060
+ contents.PasswordCount = smithy_client_1.strictParseInt32(output["PasswordCount"]);
9061
9061
  }
9062
9062
  return contents;
9063
9063
  };
@@ -9162,7 +9162,7 @@ const deserializeAws_queryCacheCluster = (output, context) => {
9162
9162
  contents.CacheClusterStatus = smithy_client_1.expectString(output["CacheClusterStatus"]);
9163
9163
  }
9164
9164
  if (output["NumCacheNodes"] !== undefined) {
9165
- contents.NumCacheNodes = smithy_client_1.strictParseInt(output["NumCacheNodes"]);
9165
+ contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
9166
9166
  }
9167
9167
  if (output["PreferredAvailabilityZone"] !== undefined) {
9168
9168
  contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
@@ -9171,7 +9171,7 @@ const deserializeAws_queryCacheCluster = (output, context) => {
9171
9171
  contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
9172
9172
  }
9173
9173
  if (output["CacheClusterCreateTime"] !== undefined) {
9174
- contents.CacheClusterCreateTime = new Date(output["CacheClusterCreateTime"]);
9174
+ contents.CacheClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheClusterCreateTime"]));
9175
9175
  }
9176
9176
  if (output["PreferredMaintenanceWindow"] !== undefined) {
9177
9177
  contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
@@ -9214,7 +9214,7 @@ const deserializeAws_queryCacheCluster = (output, context) => {
9214
9214
  contents.ReplicationGroupId = smithy_client_1.expectString(output["ReplicationGroupId"]);
9215
9215
  }
9216
9216
  if (output["SnapshotRetentionLimit"] !== undefined) {
9217
- contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt(output["SnapshotRetentionLimit"]);
9217
+ contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
9218
9218
  }
9219
9219
  if (output["SnapshotWindow"] !== undefined) {
9220
9220
  contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
@@ -9223,7 +9223,7 @@ const deserializeAws_queryCacheCluster = (output, context) => {
9223
9223
  contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
9224
9224
  }
9225
9225
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
9226
- contents.AuthTokenLastModifiedDate = new Date(output["AuthTokenLastModifiedDate"]);
9226
+ contents.AuthTokenLastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
9227
9227
  }
9228
9228
  if (output["TransitEncryptionEnabled"] !== undefined) {
9229
9229
  contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
@@ -9360,7 +9360,7 @@ const deserializeAws_queryCacheNode = (output, context) => {
9360
9360
  contents.CacheNodeStatus = smithy_client_1.expectString(output["CacheNodeStatus"]);
9361
9361
  }
9362
9362
  if (output["CacheNodeCreateTime"] !== undefined) {
9363
- contents.CacheNodeCreateTime = new Date(output["CacheNodeCreateTime"]);
9363
+ contents.CacheNodeCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheNodeCreateTime"]));
9364
9364
  }
9365
9365
  if (output["Endpoint"] !== undefined) {
9366
9366
  contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
@@ -9495,22 +9495,22 @@ const deserializeAws_queryCacheNodeUpdateStatus = (output, context) => {
9495
9495
  contents.NodeUpdateStatus = smithy_client_1.expectString(output["NodeUpdateStatus"]);
9496
9496
  }
9497
9497
  if (output["NodeDeletionDate"] !== undefined) {
9498
- contents.NodeDeletionDate = new Date(output["NodeDeletionDate"]);
9498
+ contents.NodeDeletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeDeletionDate"]));
9499
9499
  }
9500
9500
  if (output["NodeUpdateStartDate"] !== undefined) {
9501
- contents.NodeUpdateStartDate = new Date(output["NodeUpdateStartDate"]);
9501
+ contents.NodeUpdateStartDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStartDate"]));
9502
9502
  }
9503
9503
  if (output["NodeUpdateEndDate"] !== undefined) {
9504
- contents.NodeUpdateEndDate = new Date(output["NodeUpdateEndDate"]);
9504
+ contents.NodeUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateEndDate"]));
9505
9505
  }
9506
9506
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
9507
9507
  contents.NodeUpdateInitiatedBy = smithy_client_1.expectString(output["NodeUpdateInitiatedBy"]);
9508
9508
  }
9509
9509
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
9510
- contents.NodeUpdateInitiatedDate = new Date(output["NodeUpdateInitiatedDate"]);
9510
+ contents.NodeUpdateInitiatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
9511
9511
  }
9512
9512
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
9513
- contents.NodeUpdateStatusModifiedDate = new Date(output["NodeUpdateStatusModifiedDate"]);
9513
+ contents.NodeUpdateStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
9514
9514
  }
9515
9515
  return contents;
9516
9516
  };
@@ -10182,7 +10182,7 @@ const deserializeAws_queryEndpoint = (output, context) => {
10182
10182
  contents.Address = smithy_client_1.expectString(output["Address"]);
10183
10183
  }
10184
10184
  if (output["Port"] !== undefined) {
10185
- contents.Port = smithy_client_1.strictParseInt(output["Port"]);
10185
+ contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
10186
10186
  }
10187
10187
  return contents;
10188
10188
  };
@@ -10231,7 +10231,7 @@ const deserializeAws_queryEvent = (output, context) => {
10231
10231
  contents.Message = smithy_client_1.expectString(output["Message"]);
10232
10232
  }
10233
10233
  if (output["Date"] !== undefined) {
10234
- contents.Date = new Date(output["Date"]);
10234
+ contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
10235
10235
  }
10236
10236
  return contents;
10237
10237
  };
@@ -10727,7 +10727,7 @@ const deserializeAws_queryNodeGroupConfiguration = (output, context) => {
10727
10727
  contents.Slots = smithy_client_1.expectString(output["Slots"]);
10728
10728
  }
10729
10729
  if (output["ReplicaCount"] !== undefined) {
10730
- contents.ReplicaCount = smithy_client_1.strictParseInt(output["ReplicaCount"]);
10730
+ contents.ReplicaCount = smithy_client_1.strictParseInt32(output["ReplicaCount"]);
10731
10731
  }
10732
10732
  if (output["PrimaryAvailabilityZone"] !== undefined) {
10733
10733
  contents.PrimaryAvailabilityZone = smithy_client_1.expectString(output["PrimaryAvailabilityZone"]);
@@ -10821,22 +10821,22 @@ const deserializeAws_queryNodeGroupMemberUpdateStatus = (output, context) => {
10821
10821
  contents.NodeUpdateStatus = smithy_client_1.expectString(output["NodeUpdateStatus"]);
10822
10822
  }
10823
10823
  if (output["NodeDeletionDate"] !== undefined) {
10824
- contents.NodeDeletionDate = new Date(output["NodeDeletionDate"]);
10824
+ contents.NodeDeletionDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeDeletionDate"]));
10825
10825
  }
10826
10826
  if (output["NodeUpdateStartDate"] !== undefined) {
10827
- contents.NodeUpdateStartDate = new Date(output["NodeUpdateStartDate"]);
10827
+ contents.NodeUpdateStartDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStartDate"]));
10828
10828
  }
10829
10829
  if (output["NodeUpdateEndDate"] !== undefined) {
10830
- contents.NodeUpdateEndDate = new Date(output["NodeUpdateEndDate"]);
10830
+ contents.NodeUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateEndDate"]));
10831
10831
  }
10832
10832
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
10833
10833
  contents.NodeUpdateInitiatedBy = smithy_client_1.expectString(output["NodeUpdateInitiatedBy"]);
10834
10834
  }
10835
10835
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
10836
- contents.NodeUpdateInitiatedDate = new Date(output["NodeUpdateInitiatedDate"]);
10836
+ contents.NodeUpdateInitiatedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
10837
10837
  }
10838
10838
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
10839
- contents.NodeUpdateStatusModifiedDate = new Date(output["NodeUpdateStatusModifiedDate"]);
10839
+ contents.NodeUpdateStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
10840
10840
  }
10841
10841
  return contents;
10842
10842
  };
@@ -10939,10 +10939,10 @@ const deserializeAws_queryNodeSnapshot = (output, context) => {
10939
10939
  contents.CacheSize = smithy_client_1.expectString(output["CacheSize"]);
10940
10940
  }
10941
10941
  if (output["CacheNodeCreateTime"] !== undefined) {
10942
- contents.CacheNodeCreateTime = new Date(output["CacheNodeCreateTime"]);
10942
+ contents.CacheNodeCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheNodeCreateTime"]));
10943
10943
  }
10944
10944
  if (output["SnapshotCreateTime"] !== undefined) {
10945
- contents.SnapshotCreateTime = new Date(output["SnapshotCreateTime"]);
10945
+ contents.SnapshotCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SnapshotCreateTime"]));
10946
10946
  }
10947
10947
  return contents;
10948
10948
  };
@@ -11090,7 +11090,7 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
11090
11090
  LogDeliveryConfigurations: undefined,
11091
11091
  };
11092
11092
  if (output["NumCacheNodes"] !== undefined) {
11093
- contents.NumCacheNodes = smithy_client_1.strictParseInt(output["NumCacheNodes"]);
11093
+ contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
11094
11094
  }
11095
11095
  if (output.CacheNodeIdsToRemove === "") {
11096
11096
  contents.CacheNodeIdsToRemove = [];
@@ -11265,7 +11265,7 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
11265
11265
  contents.ConfigurationEndpoint = deserializeAws_queryEndpoint(output["ConfigurationEndpoint"], context);
11266
11266
  }
11267
11267
  if (output["SnapshotRetentionLimit"] !== undefined) {
11268
- contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt(output["SnapshotRetentionLimit"]);
11268
+ contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
11269
11269
  }
11270
11270
  if (output["SnapshotWindow"] !== undefined) {
11271
11271
  contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
@@ -11280,7 +11280,7 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
11280
11280
  contents.AuthTokenEnabled = smithy_client_1.parseBoolean(output["AuthTokenEnabled"]);
11281
11281
  }
11282
11282
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
11283
- contents.AuthTokenLastModifiedDate = new Date(output["AuthTokenLastModifiedDate"]);
11283
+ contents.AuthTokenLastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
11284
11284
  }
11285
11285
  if (output["TransitEncryptionEnabled"] !== undefined) {
11286
11286
  contents.TransitEncryptionEnabled = smithy_client_1.parseBoolean(output["TransitEncryptionEnabled"]);
@@ -11315,7 +11315,7 @@ const deserializeAws_queryReplicationGroup = (output, context) => {
11315
11315
  contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList(smithy_client_1.getArrayIfSingleItem(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
11316
11316
  }
11317
11317
  if (output["ReplicationGroupCreateTime"] !== undefined) {
11318
- contents.ReplicationGroupCreateTime = new Date(output["ReplicationGroupCreateTime"]);
11318
+ contents.ReplicationGroupCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ReplicationGroupCreateTime"]));
11319
11319
  }
11320
11320
  return contents;
11321
11321
  };
@@ -11450,10 +11450,10 @@ const deserializeAws_queryReservedCacheNode = (output, context) => {
11450
11450
  contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
11451
11451
  }
11452
11452
  if (output["StartTime"] !== undefined) {
11453
- contents.StartTime = new Date(output["StartTime"]);
11453
+ contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
11454
11454
  }
11455
11455
  if (output["Duration"] !== undefined) {
11456
- contents.Duration = smithy_client_1.strictParseInt(output["Duration"]);
11456
+ contents.Duration = smithy_client_1.strictParseInt32(output["Duration"]);
11457
11457
  }
11458
11458
  if (output["FixedPrice"] !== undefined) {
11459
11459
  contents.FixedPrice = smithy_client_1.strictParseFloat(output["FixedPrice"]);
@@ -11462,7 +11462,7 @@ const deserializeAws_queryReservedCacheNode = (output, context) => {
11462
11462
  contents.UsagePrice = smithy_client_1.strictParseFloat(output["UsagePrice"]);
11463
11463
  }
11464
11464
  if (output["CacheNodeCount"] !== undefined) {
11465
- contents.CacheNodeCount = smithy_client_1.strictParseInt(output["CacheNodeCount"]);
11465
+ contents.CacheNodeCount = smithy_client_1.strictParseInt32(output["CacheNodeCount"]);
11466
11466
  }
11467
11467
  if (output["ProductDescription"] !== undefined) {
11468
11468
  contents.ProductDescription = smithy_client_1.expectString(output["ProductDescription"]);
@@ -11555,7 +11555,7 @@ const deserializeAws_queryReservedCacheNodesOffering = (output, context) => {
11555
11555
  contents.CacheNodeType = smithy_client_1.expectString(output["CacheNodeType"]);
11556
11556
  }
11557
11557
  if (output["Duration"] !== undefined) {
11558
- contents.Duration = smithy_client_1.strictParseInt(output["Duration"]);
11558
+ contents.Duration = smithy_client_1.strictParseInt32(output["Duration"]);
11559
11559
  }
11560
11560
  if (output["FixedPrice"] !== undefined) {
11561
11561
  contents.FixedPrice = smithy_client_1.strictParseFloat(output["FixedPrice"]);
@@ -11682,16 +11682,16 @@ const deserializeAws_queryServiceUpdate = (output, context) => {
11682
11682
  contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
11683
11683
  }
11684
11684
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
11685
- contents.ServiceUpdateReleaseDate = new Date(output["ServiceUpdateReleaseDate"]);
11685
+ contents.ServiceUpdateReleaseDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
11686
11686
  }
11687
11687
  if (output["ServiceUpdateEndDate"] !== undefined) {
11688
- contents.ServiceUpdateEndDate = new Date(output["ServiceUpdateEndDate"]);
11688
+ contents.ServiceUpdateEndDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateEndDate"]));
11689
11689
  }
11690
11690
  if (output["ServiceUpdateSeverity"] !== undefined) {
11691
11691
  contents.ServiceUpdateSeverity = smithy_client_1.expectString(output["ServiceUpdateSeverity"]);
11692
11692
  }
11693
11693
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
11694
- contents.ServiceUpdateRecommendedApplyByDate = new Date(output["ServiceUpdateRecommendedApplyByDate"]);
11694
+ contents.ServiceUpdateRecommendedApplyByDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
11695
11695
  }
11696
11696
  if (output["ServiceUpdateStatus"] !== undefined) {
11697
11697
  contents.ServiceUpdateStatus = smithy_client_1.expectString(output["ServiceUpdateStatus"]);
@@ -11818,7 +11818,7 @@ const deserializeAws_querySnapshot = (output, context) => {
11818
11818
  contents.EngineVersion = smithy_client_1.expectString(output["EngineVersion"]);
11819
11819
  }
11820
11820
  if (output["NumCacheNodes"] !== undefined) {
11821
- contents.NumCacheNodes = smithy_client_1.strictParseInt(output["NumCacheNodes"]);
11821
+ contents.NumCacheNodes = smithy_client_1.strictParseInt32(output["NumCacheNodes"]);
11822
11822
  }
11823
11823
  if (output["PreferredAvailabilityZone"] !== undefined) {
11824
11824
  contents.PreferredAvailabilityZone = smithy_client_1.expectString(output["PreferredAvailabilityZone"]);
@@ -11827,7 +11827,7 @@ const deserializeAws_querySnapshot = (output, context) => {
11827
11827
  contents.PreferredOutpostArn = smithy_client_1.expectString(output["PreferredOutpostArn"]);
11828
11828
  }
11829
11829
  if (output["CacheClusterCreateTime"] !== undefined) {
11830
- contents.CacheClusterCreateTime = new Date(output["CacheClusterCreateTime"]);
11830
+ contents.CacheClusterCreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CacheClusterCreateTime"]));
11831
11831
  }
11832
11832
  if (output["PreferredMaintenanceWindow"] !== undefined) {
11833
11833
  contents.PreferredMaintenanceWindow = smithy_client_1.expectString(output["PreferredMaintenanceWindow"]);
@@ -11836,7 +11836,7 @@ const deserializeAws_querySnapshot = (output, context) => {
11836
11836
  contents.TopicArn = smithy_client_1.expectString(output["TopicArn"]);
11837
11837
  }
11838
11838
  if (output["Port"] !== undefined) {
11839
- contents.Port = smithy_client_1.strictParseInt(output["Port"]);
11839
+ contents.Port = smithy_client_1.strictParseInt32(output["Port"]);
11840
11840
  }
11841
11841
  if (output["CacheParameterGroupName"] !== undefined) {
11842
11842
  contents.CacheParameterGroupName = smithy_client_1.expectString(output["CacheParameterGroupName"]);
@@ -11851,13 +11851,13 @@ const deserializeAws_querySnapshot = (output, context) => {
11851
11851
  contents.AutoMinorVersionUpgrade = smithy_client_1.parseBoolean(output["AutoMinorVersionUpgrade"]);
11852
11852
  }
11853
11853
  if (output["SnapshotRetentionLimit"] !== undefined) {
11854
- contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt(output["SnapshotRetentionLimit"]);
11854
+ contents.SnapshotRetentionLimit = smithy_client_1.strictParseInt32(output["SnapshotRetentionLimit"]);
11855
11855
  }
11856
11856
  if (output["SnapshotWindow"] !== undefined) {
11857
11857
  contents.SnapshotWindow = smithy_client_1.expectString(output["SnapshotWindow"]);
11858
11858
  }
11859
11859
  if (output["NumNodeGroups"] !== undefined) {
11860
- contents.NumNodeGroups = smithy_client_1.strictParseInt(output["NumNodeGroups"]);
11860
+ contents.NumNodeGroups = smithy_client_1.strictParseInt32(output["NumNodeGroups"]);
11861
11861
  }
11862
11862
  if (output["AutomaticFailover"] !== undefined) {
11863
11863
  contents.AutomaticFailover = smithy_client_1.expectString(output["AutomaticFailover"]);
@@ -12131,7 +12131,7 @@ const deserializeAws_queryUpdateAction = (output, context) => {
12131
12131
  contents.ServiceUpdateName = smithy_client_1.expectString(output["ServiceUpdateName"]);
12132
12132
  }
12133
12133
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
12134
- contents.ServiceUpdateReleaseDate = new Date(output["ServiceUpdateReleaseDate"]);
12134
+ contents.ServiceUpdateReleaseDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
12135
12135
  }
12136
12136
  if (output["ServiceUpdateSeverity"] !== undefined) {
12137
12137
  contents.ServiceUpdateSeverity = smithy_client_1.expectString(output["ServiceUpdateSeverity"]);
@@ -12140,13 +12140,13 @@ const deserializeAws_queryUpdateAction = (output, context) => {
12140
12140
  contents.ServiceUpdateStatus = smithy_client_1.expectString(output["ServiceUpdateStatus"]);
12141
12141
  }
12142
12142
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
12143
- contents.ServiceUpdateRecommendedApplyByDate = new Date(output["ServiceUpdateRecommendedApplyByDate"]);
12143
+ contents.ServiceUpdateRecommendedApplyByDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
12144
12144
  }
12145
12145
  if (output["ServiceUpdateType"] !== undefined) {
12146
12146
  contents.ServiceUpdateType = smithy_client_1.expectString(output["ServiceUpdateType"]);
12147
12147
  }
12148
12148
  if (output["UpdateActionAvailableDate"] !== undefined) {
12149
- contents.UpdateActionAvailableDate = new Date(output["UpdateActionAvailableDate"]);
12149
+ contents.UpdateActionAvailableDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateActionAvailableDate"]));
12150
12150
  }
12151
12151
  if (output["UpdateActionStatus"] !== undefined) {
12152
12152
  contents.UpdateActionStatus = smithy_client_1.expectString(output["UpdateActionStatus"]);
@@ -12155,7 +12155,7 @@ const deserializeAws_queryUpdateAction = (output, context) => {
12155
12155
  contents.NodesUpdated = smithy_client_1.expectString(output["NodesUpdated"]);
12156
12156
  }
12157
12157
  if (output["UpdateActionStatusModifiedDate"] !== undefined) {
12158
- contents.UpdateActionStatusModifiedDate = new Date(output["UpdateActionStatusModifiedDate"]);
12158
+ contents.UpdateActionStatusModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UpdateActionStatusModifiedDate"]));
12159
12159
  }
12160
12160
  if (output["SlaMet"] !== undefined) {
12161
12161
  contents.SlaMet = smithy_client_1.expectString(output["SlaMet"]);