@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.
@@ -53,8 +53,7 @@ var partitionHash = {
53
53
  };
54
54
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
55
55
  return __generator(this, function (_a) {
56
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "elasticache", regionHash: regionHash,
57
- partitionHash: partitionHash }))];
56
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "elasticache", regionHash: regionHash, partitionHash: partitionHash }))];
58
57
  });
59
58
  }); };
60
59
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,IAAI,EAAE;QACJ,QAAQ,EAAE,yCAAyC;QACnD,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,MAAM;YACN,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,oCAAoC;KAC/C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,uCAAuC;KAClD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,eAAe,CAAC;QACnD,QAAQ,EAAE,oCAAoC;KAC/C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,aAAa,EAC7B,UAAU,YAAA;gBACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,IAAI,EAAE;QACJ,QAAQ,EAAE,yCAAyC;QACnD,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,MAAM;YACN,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,oCAAoC;KAC/C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,uCAAuC;KAClD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,oCAAoC;KAC/C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,MAAM,EAAE,eAAe,EAAE,eAAe,CAAC;QACnD,QAAQ,EAAE,oCAAoC;KAC/C;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,aAAa,EAC7B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -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"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read, __values } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, strictParseFloat as __strictParseFloat, strictParseInt as __strictParseInt, } from "@aws-sdk/smithy-client";
3
+ import { expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
4
4
  import { decodeHTML } from "entities";
5
5
  import { parse as xmlParse } from "fast-xml-parser";
6
6
  export var serializeAws_queryAddTagsToResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
@@ -9751,7 +9751,7 @@ var deserializeAws_queryAuthentication = function (output, context) {
9751
9751
  contents.Type = __expectString(output["Type"]);
9752
9752
  }
9753
9753
  if (output["PasswordCount"] !== undefined) {
9754
- contents.PasswordCount = __strictParseInt(output["PasswordCount"]);
9754
+ contents.PasswordCount = __strictParseInt32(output["PasswordCount"]);
9755
9755
  }
9756
9756
  return contents;
9757
9757
  };
@@ -9856,7 +9856,7 @@ var deserializeAws_queryCacheCluster = function (output, context) {
9856
9856
  contents.CacheClusterStatus = __expectString(output["CacheClusterStatus"]);
9857
9857
  }
9858
9858
  if (output["NumCacheNodes"] !== undefined) {
9859
- contents.NumCacheNodes = __strictParseInt(output["NumCacheNodes"]);
9859
+ contents.NumCacheNodes = __strictParseInt32(output["NumCacheNodes"]);
9860
9860
  }
9861
9861
  if (output["PreferredAvailabilityZone"] !== undefined) {
9862
9862
  contents.PreferredAvailabilityZone = __expectString(output["PreferredAvailabilityZone"]);
@@ -9865,7 +9865,7 @@ var deserializeAws_queryCacheCluster = function (output, context) {
9865
9865
  contents.PreferredOutpostArn = __expectString(output["PreferredOutpostArn"]);
9866
9866
  }
9867
9867
  if (output["CacheClusterCreateTime"] !== undefined) {
9868
- contents.CacheClusterCreateTime = new Date(output["CacheClusterCreateTime"]);
9868
+ contents.CacheClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheClusterCreateTime"]));
9869
9869
  }
9870
9870
  if (output["PreferredMaintenanceWindow"] !== undefined) {
9871
9871
  contents.PreferredMaintenanceWindow = __expectString(output["PreferredMaintenanceWindow"]);
@@ -9908,7 +9908,7 @@ var deserializeAws_queryCacheCluster = function (output, context) {
9908
9908
  contents.ReplicationGroupId = __expectString(output["ReplicationGroupId"]);
9909
9909
  }
9910
9910
  if (output["SnapshotRetentionLimit"] !== undefined) {
9911
- contents.SnapshotRetentionLimit = __strictParseInt(output["SnapshotRetentionLimit"]);
9911
+ contents.SnapshotRetentionLimit = __strictParseInt32(output["SnapshotRetentionLimit"]);
9912
9912
  }
9913
9913
  if (output["SnapshotWindow"] !== undefined) {
9914
9914
  contents.SnapshotWindow = __expectString(output["SnapshotWindow"]);
@@ -9917,7 +9917,7 @@ var deserializeAws_queryCacheCluster = function (output, context) {
9917
9917
  contents.AuthTokenEnabled = __parseBoolean(output["AuthTokenEnabled"]);
9918
9918
  }
9919
9919
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
9920
- contents.AuthTokenLastModifiedDate = new Date(output["AuthTokenLastModifiedDate"]);
9920
+ contents.AuthTokenLastModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
9921
9921
  }
9922
9922
  if (output["TransitEncryptionEnabled"] !== undefined) {
9923
9923
  contents.TransitEncryptionEnabled = __parseBoolean(output["TransitEncryptionEnabled"]);
@@ -10054,7 +10054,7 @@ var deserializeAws_queryCacheNode = function (output, context) {
10054
10054
  contents.CacheNodeStatus = __expectString(output["CacheNodeStatus"]);
10055
10055
  }
10056
10056
  if (output["CacheNodeCreateTime"] !== undefined) {
10057
- contents.CacheNodeCreateTime = new Date(output["CacheNodeCreateTime"]);
10057
+ contents.CacheNodeCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheNodeCreateTime"]));
10058
10058
  }
10059
10059
  if (output["Endpoint"] !== undefined) {
10060
10060
  contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
@@ -10189,22 +10189,22 @@ var deserializeAws_queryCacheNodeUpdateStatus = function (output, context) {
10189
10189
  contents.NodeUpdateStatus = __expectString(output["NodeUpdateStatus"]);
10190
10190
  }
10191
10191
  if (output["NodeDeletionDate"] !== undefined) {
10192
- contents.NodeDeletionDate = new Date(output["NodeDeletionDate"]);
10192
+ contents.NodeDeletionDate = __expectNonNull(__parseRfc3339DateTime(output["NodeDeletionDate"]));
10193
10193
  }
10194
10194
  if (output["NodeUpdateStartDate"] !== undefined) {
10195
- contents.NodeUpdateStartDate = new Date(output["NodeUpdateStartDate"]);
10195
+ contents.NodeUpdateStartDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateStartDate"]));
10196
10196
  }
10197
10197
  if (output["NodeUpdateEndDate"] !== undefined) {
10198
- contents.NodeUpdateEndDate = new Date(output["NodeUpdateEndDate"]);
10198
+ contents.NodeUpdateEndDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateEndDate"]));
10199
10199
  }
10200
10200
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
10201
10201
  contents.NodeUpdateInitiatedBy = __expectString(output["NodeUpdateInitiatedBy"]);
10202
10202
  }
10203
10203
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
10204
- contents.NodeUpdateInitiatedDate = new Date(output["NodeUpdateInitiatedDate"]);
10204
+ contents.NodeUpdateInitiatedDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
10205
10205
  }
10206
10206
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
10207
- contents.NodeUpdateStatusModifiedDate = new Date(output["NodeUpdateStatusModifiedDate"]);
10207
+ contents.NodeUpdateStatusModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
10208
10208
  }
10209
10209
  return contents;
10210
10210
  };
@@ -10876,7 +10876,7 @@ var deserializeAws_queryEndpoint = function (output, context) {
10876
10876
  contents.Address = __expectString(output["Address"]);
10877
10877
  }
10878
10878
  if (output["Port"] !== undefined) {
10879
- contents.Port = __strictParseInt(output["Port"]);
10879
+ contents.Port = __strictParseInt32(output["Port"]);
10880
10880
  }
10881
10881
  return contents;
10882
10882
  };
@@ -10925,7 +10925,7 @@ var deserializeAws_queryEvent = function (output, context) {
10925
10925
  contents.Message = __expectString(output["Message"]);
10926
10926
  }
10927
10927
  if (output["Date"] !== undefined) {
10928
- contents.Date = new Date(output["Date"]);
10928
+ contents.Date = __expectNonNull(__parseRfc3339DateTime(output["Date"]));
10929
10929
  }
10930
10930
  return contents;
10931
10931
  };
@@ -11421,7 +11421,7 @@ var deserializeAws_queryNodeGroupConfiguration = function (output, context) {
11421
11421
  contents.Slots = __expectString(output["Slots"]);
11422
11422
  }
11423
11423
  if (output["ReplicaCount"] !== undefined) {
11424
- contents.ReplicaCount = __strictParseInt(output["ReplicaCount"]);
11424
+ contents.ReplicaCount = __strictParseInt32(output["ReplicaCount"]);
11425
11425
  }
11426
11426
  if (output["PrimaryAvailabilityZone"] !== undefined) {
11427
11427
  contents.PrimaryAvailabilityZone = __expectString(output["PrimaryAvailabilityZone"]);
@@ -11515,22 +11515,22 @@ var deserializeAws_queryNodeGroupMemberUpdateStatus = function (output, context)
11515
11515
  contents.NodeUpdateStatus = __expectString(output["NodeUpdateStatus"]);
11516
11516
  }
11517
11517
  if (output["NodeDeletionDate"] !== undefined) {
11518
- contents.NodeDeletionDate = new Date(output["NodeDeletionDate"]);
11518
+ contents.NodeDeletionDate = __expectNonNull(__parseRfc3339DateTime(output["NodeDeletionDate"]));
11519
11519
  }
11520
11520
  if (output["NodeUpdateStartDate"] !== undefined) {
11521
- contents.NodeUpdateStartDate = new Date(output["NodeUpdateStartDate"]);
11521
+ contents.NodeUpdateStartDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateStartDate"]));
11522
11522
  }
11523
11523
  if (output["NodeUpdateEndDate"] !== undefined) {
11524
- contents.NodeUpdateEndDate = new Date(output["NodeUpdateEndDate"]);
11524
+ contents.NodeUpdateEndDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateEndDate"]));
11525
11525
  }
11526
11526
  if (output["NodeUpdateInitiatedBy"] !== undefined) {
11527
11527
  contents.NodeUpdateInitiatedBy = __expectString(output["NodeUpdateInitiatedBy"]);
11528
11528
  }
11529
11529
  if (output["NodeUpdateInitiatedDate"] !== undefined) {
11530
- contents.NodeUpdateInitiatedDate = new Date(output["NodeUpdateInitiatedDate"]);
11530
+ contents.NodeUpdateInitiatedDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateInitiatedDate"]));
11531
11531
  }
11532
11532
  if (output["NodeUpdateStatusModifiedDate"] !== undefined) {
11533
- contents.NodeUpdateStatusModifiedDate = new Date(output["NodeUpdateStatusModifiedDate"]);
11533
+ contents.NodeUpdateStatusModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["NodeUpdateStatusModifiedDate"]));
11534
11534
  }
11535
11535
  return contents;
11536
11536
  };
@@ -11633,10 +11633,10 @@ var deserializeAws_queryNodeSnapshot = function (output, context) {
11633
11633
  contents.CacheSize = __expectString(output["CacheSize"]);
11634
11634
  }
11635
11635
  if (output["CacheNodeCreateTime"] !== undefined) {
11636
- contents.CacheNodeCreateTime = new Date(output["CacheNodeCreateTime"]);
11636
+ contents.CacheNodeCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheNodeCreateTime"]));
11637
11637
  }
11638
11638
  if (output["SnapshotCreateTime"] !== undefined) {
11639
- contents.SnapshotCreateTime = new Date(output["SnapshotCreateTime"]);
11639
+ contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotCreateTime"]));
11640
11640
  }
11641
11641
  return contents;
11642
11642
  };
@@ -11784,7 +11784,7 @@ var deserializeAws_queryPendingModifiedValues = function (output, context) {
11784
11784
  LogDeliveryConfigurations: undefined,
11785
11785
  };
11786
11786
  if (output["NumCacheNodes"] !== undefined) {
11787
- contents.NumCacheNodes = __strictParseInt(output["NumCacheNodes"]);
11787
+ contents.NumCacheNodes = __strictParseInt32(output["NumCacheNodes"]);
11788
11788
  }
11789
11789
  if (output.CacheNodeIdsToRemove === "") {
11790
11790
  contents.CacheNodeIdsToRemove = [];
@@ -11959,7 +11959,7 @@ var deserializeAws_queryReplicationGroup = function (output, context) {
11959
11959
  contents.ConfigurationEndpoint = deserializeAws_queryEndpoint(output["ConfigurationEndpoint"], context);
11960
11960
  }
11961
11961
  if (output["SnapshotRetentionLimit"] !== undefined) {
11962
- contents.SnapshotRetentionLimit = __strictParseInt(output["SnapshotRetentionLimit"]);
11962
+ contents.SnapshotRetentionLimit = __strictParseInt32(output["SnapshotRetentionLimit"]);
11963
11963
  }
11964
11964
  if (output["SnapshotWindow"] !== undefined) {
11965
11965
  contents.SnapshotWindow = __expectString(output["SnapshotWindow"]);
@@ -11974,7 +11974,7 @@ var deserializeAws_queryReplicationGroup = function (output, context) {
11974
11974
  contents.AuthTokenEnabled = __parseBoolean(output["AuthTokenEnabled"]);
11975
11975
  }
11976
11976
  if (output["AuthTokenLastModifiedDate"] !== undefined) {
11977
- contents.AuthTokenLastModifiedDate = new Date(output["AuthTokenLastModifiedDate"]);
11977
+ contents.AuthTokenLastModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["AuthTokenLastModifiedDate"]));
11978
11978
  }
11979
11979
  if (output["TransitEncryptionEnabled"] !== undefined) {
11980
11980
  contents.TransitEncryptionEnabled = __parseBoolean(output["TransitEncryptionEnabled"]);
@@ -12009,7 +12009,7 @@ var deserializeAws_queryReplicationGroup = function (output, context) {
12009
12009
  contents.LogDeliveryConfigurations = deserializeAws_queryLogDeliveryConfigurationList(__getArrayIfSingleItem(output["LogDeliveryConfigurations"]["LogDeliveryConfiguration"]), context);
12010
12010
  }
12011
12011
  if (output["ReplicationGroupCreateTime"] !== undefined) {
12012
- contents.ReplicationGroupCreateTime = new Date(output["ReplicationGroupCreateTime"]);
12012
+ contents.ReplicationGroupCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ReplicationGroupCreateTime"]));
12013
12013
  }
12014
12014
  return contents;
12015
12015
  };
@@ -12144,10 +12144,10 @@ var deserializeAws_queryReservedCacheNode = function (output, context) {
12144
12144
  contents.CacheNodeType = __expectString(output["CacheNodeType"]);
12145
12145
  }
12146
12146
  if (output["StartTime"] !== undefined) {
12147
- contents.StartTime = new Date(output["StartTime"]);
12147
+ contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
12148
12148
  }
12149
12149
  if (output["Duration"] !== undefined) {
12150
- contents.Duration = __strictParseInt(output["Duration"]);
12150
+ contents.Duration = __strictParseInt32(output["Duration"]);
12151
12151
  }
12152
12152
  if (output["FixedPrice"] !== undefined) {
12153
12153
  contents.FixedPrice = __strictParseFloat(output["FixedPrice"]);
@@ -12156,7 +12156,7 @@ var deserializeAws_queryReservedCacheNode = function (output, context) {
12156
12156
  contents.UsagePrice = __strictParseFloat(output["UsagePrice"]);
12157
12157
  }
12158
12158
  if (output["CacheNodeCount"] !== undefined) {
12159
- contents.CacheNodeCount = __strictParseInt(output["CacheNodeCount"]);
12159
+ contents.CacheNodeCount = __strictParseInt32(output["CacheNodeCount"]);
12160
12160
  }
12161
12161
  if (output["ProductDescription"] !== undefined) {
12162
12162
  contents.ProductDescription = __expectString(output["ProductDescription"]);
@@ -12249,7 +12249,7 @@ var deserializeAws_queryReservedCacheNodesOffering = function (output, context)
12249
12249
  contents.CacheNodeType = __expectString(output["CacheNodeType"]);
12250
12250
  }
12251
12251
  if (output["Duration"] !== undefined) {
12252
- contents.Duration = __strictParseInt(output["Duration"]);
12252
+ contents.Duration = __strictParseInt32(output["Duration"]);
12253
12253
  }
12254
12254
  if (output["FixedPrice"] !== undefined) {
12255
12255
  contents.FixedPrice = __strictParseFloat(output["FixedPrice"]);
@@ -12376,16 +12376,16 @@ var deserializeAws_queryServiceUpdate = function (output, context) {
12376
12376
  contents.ServiceUpdateName = __expectString(output["ServiceUpdateName"]);
12377
12377
  }
12378
12378
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
12379
- contents.ServiceUpdateReleaseDate = new Date(output["ServiceUpdateReleaseDate"]);
12379
+ contents.ServiceUpdateReleaseDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
12380
12380
  }
12381
12381
  if (output["ServiceUpdateEndDate"] !== undefined) {
12382
- contents.ServiceUpdateEndDate = new Date(output["ServiceUpdateEndDate"]);
12382
+ contents.ServiceUpdateEndDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateEndDate"]));
12383
12383
  }
12384
12384
  if (output["ServiceUpdateSeverity"] !== undefined) {
12385
12385
  contents.ServiceUpdateSeverity = __expectString(output["ServiceUpdateSeverity"]);
12386
12386
  }
12387
12387
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
12388
- contents.ServiceUpdateRecommendedApplyByDate = new Date(output["ServiceUpdateRecommendedApplyByDate"]);
12388
+ contents.ServiceUpdateRecommendedApplyByDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
12389
12389
  }
12390
12390
  if (output["ServiceUpdateStatus"] !== undefined) {
12391
12391
  contents.ServiceUpdateStatus = __expectString(output["ServiceUpdateStatus"]);
@@ -12512,7 +12512,7 @@ var deserializeAws_querySnapshot = function (output, context) {
12512
12512
  contents.EngineVersion = __expectString(output["EngineVersion"]);
12513
12513
  }
12514
12514
  if (output["NumCacheNodes"] !== undefined) {
12515
- contents.NumCacheNodes = __strictParseInt(output["NumCacheNodes"]);
12515
+ contents.NumCacheNodes = __strictParseInt32(output["NumCacheNodes"]);
12516
12516
  }
12517
12517
  if (output["PreferredAvailabilityZone"] !== undefined) {
12518
12518
  contents.PreferredAvailabilityZone = __expectString(output["PreferredAvailabilityZone"]);
@@ -12521,7 +12521,7 @@ var deserializeAws_querySnapshot = function (output, context) {
12521
12521
  contents.PreferredOutpostArn = __expectString(output["PreferredOutpostArn"]);
12522
12522
  }
12523
12523
  if (output["CacheClusterCreateTime"] !== undefined) {
12524
- contents.CacheClusterCreateTime = new Date(output["CacheClusterCreateTime"]);
12524
+ contents.CacheClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["CacheClusterCreateTime"]));
12525
12525
  }
12526
12526
  if (output["PreferredMaintenanceWindow"] !== undefined) {
12527
12527
  contents.PreferredMaintenanceWindow = __expectString(output["PreferredMaintenanceWindow"]);
@@ -12530,7 +12530,7 @@ var deserializeAws_querySnapshot = function (output, context) {
12530
12530
  contents.TopicArn = __expectString(output["TopicArn"]);
12531
12531
  }
12532
12532
  if (output["Port"] !== undefined) {
12533
- contents.Port = __strictParseInt(output["Port"]);
12533
+ contents.Port = __strictParseInt32(output["Port"]);
12534
12534
  }
12535
12535
  if (output["CacheParameterGroupName"] !== undefined) {
12536
12536
  contents.CacheParameterGroupName = __expectString(output["CacheParameterGroupName"]);
@@ -12545,13 +12545,13 @@ var deserializeAws_querySnapshot = function (output, context) {
12545
12545
  contents.AutoMinorVersionUpgrade = __parseBoolean(output["AutoMinorVersionUpgrade"]);
12546
12546
  }
12547
12547
  if (output["SnapshotRetentionLimit"] !== undefined) {
12548
- contents.SnapshotRetentionLimit = __strictParseInt(output["SnapshotRetentionLimit"]);
12548
+ contents.SnapshotRetentionLimit = __strictParseInt32(output["SnapshotRetentionLimit"]);
12549
12549
  }
12550
12550
  if (output["SnapshotWindow"] !== undefined) {
12551
12551
  contents.SnapshotWindow = __expectString(output["SnapshotWindow"]);
12552
12552
  }
12553
12553
  if (output["NumNodeGroups"] !== undefined) {
12554
- contents.NumNodeGroups = __strictParseInt(output["NumNodeGroups"]);
12554
+ contents.NumNodeGroups = __strictParseInt32(output["NumNodeGroups"]);
12555
12555
  }
12556
12556
  if (output["AutomaticFailover"] !== undefined) {
12557
12557
  contents.AutomaticFailover = __expectString(output["AutomaticFailover"]);
@@ -12825,7 +12825,7 @@ var deserializeAws_queryUpdateAction = function (output, context) {
12825
12825
  contents.ServiceUpdateName = __expectString(output["ServiceUpdateName"]);
12826
12826
  }
12827
12827
  if (output["ServiceUpdateReleaseDate"] !== undefined) {
12828
- contents.ServiceUpdateReleaseDate = new Date(output["ServiceUpdateReleaseDate"]);
12828
+ contents.ServiceUpdateReleaseDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateReleaseDate"]));
12829
12829
  }
12830
12830
  if (output["ServiceUpdateSeverity"] !== undefined) {
12831
12831
  contents.ServiceUpdateSeverity = __expectString(output["ServiceUpdateSeverity"]);
@@ -12834,13 +12834,13 @@ var deserializeAws_queryUpdateAction = function (output, context) {
12834
12834
  contents.ServiceUpdateStatus = __expectString(output["ServiceUpdateStatus"]);
12835
12835
  }
12836
12836
  if (output["ServiceUpdateRecommendedApplyByDate"] !== undefined) {
12837
- contents.ServiceUpdateRecommendedApplyByDate = new Date(output["ServiceUpdateRecommendedApplyByDate"]);
12837
+ contents.ServiceUpdateRecommendedApplyByDate = __expectNonNull(__parseRfc3339DateTime(output["ServiceUpdateRecommendedApplyByDate"]));
12838
12838
  }
12839
12839
  if (output["ServiceUpdateType"] !== undefined) {
12840
12840
  contents.ServiceUpdateType = __expectString(output["ServiceUpdateType"]);
12841
12841
  }
12842
12842
  if (output["UpdateActionAvailableDate"] !== undefined) {
12843
- contents.UpdateActionAvailableDate = new Date(output["UpdateActionAvailableDate"]);
12843
+ contents.UpdateActionAvailableDate = __expectNonNull(__parseRfc3339DateTime(output["UpdateActionAvailableDate"]));
12844
12844
  }
12845
12845
  if (output["UpdateActionStatus"] !== undefined) {
12846
12846
  contents.UpdateActionStatus = __expectString(output["UpdateActionStatus"]);
@@ -12849,7 +12849,7 @@ var deserializeAws_queryUpdateAction = function (output, context) {
12849
12849
  contents.NodesUpdated = __expectString(output["NodesUpdated"]);
12850
12850
  }
12851
12851
  if (output["UpdateActionStatusModifiedDate"] !== undefined) {
12852
- contents.UpdateActionStatusModifiedDate = new Date(output["UpdateActionStatusModifiedDate"]);
12852
+ contents.UpdateActionStatusModifiedDate = __expectNonNull(__parseRfc3339DateTime(output["UpdateActionStatusModifiedDate"]));
12853
12853
  }
12854
12854
  if (output["SlaMet"] !== undefined) {
12855
12855
  contents.SlaMet = __expectString(output["SlaMet"]);