@aws-sdk/client-redshift 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.
@@ -81,8 +81,7 @@ var partitionHash = {
81
81
  };
82
82
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
83
83
  return __generator(this, function (_a) {
84
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "redshift", regionHash: regionHash,
85
- partitionHash: partitionHash }))];
84
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "redshift", regionHash: regionHash, partitionHash: partitionHash }))];
86
85
  });
87
86
  }); };
88
87
  //# 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,mBAAmB,EAAE;QACnB,QAAQ,EAAE,0CAA0C;QACpD,aAAa,EAAE,cAAc;KAC9B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,uCAAuC;QACjD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,uCAAuC;QACjD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,uCAAuC;QACjD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,uCAAuC;QACjD,aAAa,EAAE,WAAW;KAC3B;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,sCAAsC;QAChD,aAAa,EAAE,eAAe;KAC/B;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,sCAAsC;QAChD,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE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AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,UAAU,EAC1B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift",
3
3
  "description": "AWS SDK for JavaScript Redshift 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, strictParseLong as __strictParseLong, } 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_queryAcceptReservedNodeExchangeCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
@@ -14480,13 +14480,13 @@ var deserializeAws_queryCluster = function (output, context) {
14480
14480
  contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
14481
14481
  }
14482
14482
  if (output["ClusterCreateTime"] !== undefined) {
14483
- contents.ClusterCreateTime = new Date(output["ClusterCreateTime"]);
14483
+ contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
14484
14484
  }
14485
14485
  if (output["AutomatedSnapshotRetentionPeriod"] !== undefined) {
14486
- contents.AutomatedSnapshotRetentionPeriod = __strictParseInt(output["AutomatedSnapshotRetentionPeriod"]);
14486
+ contents.AutomatedSnapshotRetentionPeriod = __strictParseInt32(output["AutomatedSnapshotRetentionPeriod"]);
14487
14487
  }
14488
14488
  if (output["ManualSnapshotRetentionPeriod"] !== undefined) {
14489
- contents.ManualSnapshotRetentionPeriod = __strictParseInt(output["ManualSnapshotRetentionPeriod"]);
14489
+ contents.ManualSnapshotRetentionPeriod = __strictParseInt32(output["ManualSnapshotRetentionPeriod"]);
14490
14490
  }
14491
14491
  if (output.ClusterSecurityGroups === "") {
14492
14492
  contents.ClusterSecurityGroups = [];
@@ -14530,7 +14530,7 @@ var deserializeAws_queryCluster = function (output, context) {
14530
14530
  contents.AllowVersionUpgrade = __parseBoolean(output["AllowVersionUpgrade"]);
14531
14531
  }
14532
14532
  if (output["NumberOfNodes"] !== undefined) {
14533
- contents.NumberOfNodes = __strictParseInt(output["NumberOfNodes"]);
14533
+ contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]);
14534
14534
  }
14535
14535
  if (output["PubliclyAccessible"] !== undefined) {
14536
14536
  contents.PubliclyAccessible = __parseBoolean(output["PubliclyAccessible"]);
@@ -14609,13 +14609,13 @@ var deserializeAws_queryCluster = function (output, context) {
14609
14609
  contents.SnapshotScheduleState = __expectString(output["SnapshotScheduleState"]);
14610
14610
  }
14611
14611
  if (output["ExpectedNextSnapshotScheduleTime"] !== undefined) {
14612
- contents.ExpectedNextSnapshotScheduleTime = new Date(output["ExpectedNextSnapshotScheduleTime"]);
14612
+ contents.ExpectedNextSnapshotScheduleTime = __expectNonNull(__parseRfc3339DateTime(output["ExpectedNextSnapshotScheduleTime"]));
14613
14613
  }
14614
14614
  if (output["ExpectedNextSnapshotScheduleTimeStatus"] !== undefined) {
14615
14615
  contents.ExpectedNextSnapshotScheduleTimeStatus = __expectString(output["ExpectedNextSnapshotScheduleTimeStatus"]);
14616
14616
  }
14617
14617
  if (output["NextMaintenanceWindowStartTime"] !== undefined) {
14618
- contents.NextMaintenanceWindowStartTime = new Date(output["NextMaintenanceWindowStartTime"]);
14618
+ contents.NextMaintenanceWindowStartTime = __expectNonNull(__parseRfc3339DateTime(output["NextMaintenanceWindowStartTime"]));
14619
14619
  }
14620
14620
  if (output["ResizeInfo"] !== undefined) {
14621
14621
  contents.ResizeInfo = deserializeAws_queryResizeInfo(output["ResizeInfo"], context);
@@ -14627,7 +14627,7 @@ var deserializeAws_queryCluster = function (output, context) {
14627
14627
  contents.ClusterNamespaceArn = __expectString(output["ClusterNamespaceArn"]);
14628
14628
  }
14629
14629
  if (output["TotalStorageCapacityInMegaBytes"] !== undefined) {
14630
- contents.TotalStorageCapacityInMegaBytes = __strictParseInt(output["TotalStorageCapacityInMegaBytes"]);
14630
+ contents.TotalStorageCapacityInMegaBytes = __strictParseLong(output["TotalStorageCapacityInMegaBytes"]);
14631
14631
  }
14632
14632
  if (output["AquaConfiguration"] !== undefined) {
14633
14633
  contents.AquaConfiguration = deserializeAws_queryAquaConfiguration(output["AquaConfiguration"], context);
@@ -14669,7 +14669,7 @@ var deserializeAws_queryClusterCredentials = function (output, context) {
14669
14669
  contents.DbPassword = __expectString(output["DbPassword"]);
14670
14670
  }
14671
14671
  if (output["Expiration"] !== undefined) {
14672
- contents.Expiration = new Date(output["Expiration"]);
14672
+ contents.Expiration = __expectNonNull(__parseRfc3339DateTime(output["Expiration"]));
14673
14673
  }
14674
14674
  return contents;
14675
14675
  };
@@ -14687,7 +14687,7 @@ var deserializeAws_queryClusterDbRevision = function (output, context) {
14687
14687
  contents.CurrentDatabaseRevision = __expectString(output["CurrentDatabaseRevision"]);
14688
14688
  }
14689
14689
  if (output["DatabaseRevisionReleaseDate"] !== undefined) {
14690
- contents.DatabaseRevisionReleaseDate = new Date(output["DatabaseRevisionReleaseDate"]);
14690
+ contents.DatabaseRevisionReleaseDate = __expectNonNull(__parseRfc3339DateTime(output["DatabaseRevisionReleaseDate"]));
14691
14691
  }
14692
14692
  if (output.RevisionTargets === "") {
14693
14693
  contents.RevisionTargets = [];
@@ -15111,10 +15111,10 @@ var deserializeAws_queryClusterSnapshotCopyStatus = function (output, context) {
15111
15111
  contents.DestinationRegion = __expectString(output["DestinationRegion"]);
15112
15112
  }
15113
15113
  if (output["RetentionPeriod"] !== undefined) {
15114
- contents.RetentionPeriod = __strictParseInt(output["RetentionPeriod"]);
15114
+ contents.RetentionPeriod = __strictParseLong(output["RetentionPeriod"]);
15115
15115
  }
15116
15116
  if (output["ManualSnapshotRetentionPeriod"] !== undefined) {
15117
- contents.ManualSnapshotRetentionPeriod = __strictParseInt(output["ManualSnapshotRetentionPeriod"]);
15117
+ contents.ManualSnapshotRetentionPeriod = __strictParseInt32(output["ManualSnapshotRetentionPeriod"]);
15118
15118
  }
15119
15119
  if (output["SnapshotCopyGrantName"] !== undefined) {
15120
15120
  contents.SnapshotCopyGrantName = __expectString(output["SnapshotCopyGrantName"]);
@@ -15443,10 +15443,10 @@ var deserializeAws_queryDataShareAssociation = function (output, context) {
15443
15443
  contents.Status = __expectString(output["Status"]);
15444
15444
  }
15445
15445
  if (output["CreatedDate"] !== undefined) {
15446
- contents.CreatedDate = new Date(output["CreatedDate"]);
15446
+ contents.CreatedDate = __expectNonNull(__parseRfc3339DateTime(output["CreatedDate"]));
15447
15447
  }
15448
15448
  if (output["StatusChangeDate"] !== undefined) {
15449
- contents.StatusChangeDate = new Date(output["StatusChangeDate"]);
15449
+ contents.StatusChangeDate = __expectNonNull(__parseRfc3339DateTime(output["StatusChangeDate"]));
15450
15450
  }
15451
15451
  return contents;
15452
15452
  };
@@ -15486,16 +15486,16 @@ var deserializeAws_queryDataTransferProgress = function (output, context) {
15486
15486
  contents.CurrentRateInMegaBytesPerSecond = __strictParseFloat(output["CurrentRateInMegaBytesPerSecond"]);
15487
15487
  }
15488
15488
  if (output["TotalDataInMegaBytes"] !== undefined) {
15489
- contents.TotalDataInMegaBytes = __strictParseInt(output["TotalDataInMegaBytes"]);
15489
+ contents.TotalDataInMegaBytes = __strictParseLong(output["TotalDataInMegaBytes"]);
15490
15490
  }
15491
15491
  if (output["DataTransferredInMegaBytes"] !== undefined) {
15492
- contents.DataTransferredInMegaBytes = __strictParseInt(output["DataTransferredInMegaBytes"]);
15492
+ contents.DataTransferredInMegaBytes = __strictParseLong(output["DataTransferredInMegaBytes"]);
15493
15493
  }
15494
15494
  if (output["EstimatedTimeToCompletionInSeconds"] !== undefined) {
15495
- contents.EstimatedTimeToCompletionInSeconds = __strictParseInt(output["EstimatedTimeToCompletionInSeconds"]);
15495
+ contents.EstimatedTimeToCompletionInSeconds = __strictParseLong(output["EstimatedTimeToCompletionInSeconds"]);
15496
15496
  }
15497
15497
  if (output["ElapsedTimeInSeconds"] !== undefined) {
15498
- contents.ElapsedTimeInSeconds = __strictParseInt(output["ElapsedTimeInSeconds"]);
15498
+ contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]);
15499
15499
  }
15500
15500
  return contents;
15501
15501
  };
@@ -15529,10 +15529,10 @@ var deserializeAws_queryDeferredMaintenanceWindow = function (output, context) {
15529
15529
  contents.DeferMaintenanceIdentifier = __expectString(output["DeferMaintenanceIdentifier"]);
15530
15530
  }
15531
15531
  if (output["DeferMaintenanceStartTime"] !== undefined) {
15532
- contents.DeferMaintenanceStartTime = new Date(output["DeferMaintenanceStartTime"]);
15532
+ contents.DeferMaintenanceStartTime = __expectNonNull(__parseRfc3339DateTime(output["DeferMaintenanceStartTime"]));
15533
15533
  }
15534
15534
  if (output["DeferMaintenanceEndTime"] !== undefined) {
15535
- contents.DeferMaintenanceEndTime = new Date(output["DeferMaintenanceEndTime"]);
15535
+ contents.DeferMaintenanceEndTime = __expectNonNull(__parseRfc3339DateTime(output["DeferMaintenanceEndTime"]));
15536
15536
  }
15537
15537
  return contents;
15538
15538
  };
@@ -15774,7 +15774,7 @@ var deserializeAws_queryEndpoint = function (output, context) {
15774
15774
  contents.Address = __expectString(output["Address"]);
15775
15775
  }
15776
15776
  if (output["Port"] !== undefined) {
15777
- contents.Port = __strictParseInt(output["Port"]);
15777
+ contents.Port = __strictParseInt32(output["Port"]);
15778
15778
  }
15779
15779
  if (output.VpcEndpoints === "") {
15780
15780
  contents.VpcEndpoints = [];
@@ -15813,10 +15813,10 @@ var deserializeAws_queryEndpointAccess = function (output, context) {
15813
15813
  contents.EndpointName = __expectString(output["EndpointName"]);
15814
15814
  }
15815
15815
  if (output["EndpointCreateTime"] !== undefined) {
15816
- contents.EndpointCreateTime = new Date(output["EndpointCreateTime"]);
15816
+ contents.EndpointCreateTime = __expectNonNull(__parseRfc3339DateTime(output["EndpointCreateTime"]));
15817
15817
  }
15818
15818
  if (output["Port"] !== undefined) {
15819
- contents.Port = __strictParseInt(output["Port"]);
15819
+ contents.Port = __strictParseInt32(output["Port"]);
15820
15820
  }
15821
15821
  if (output["Address"] !== undefined) {
15822
15822
  contents.Address = __expectString(output["Address"]);
@@ -15889,7 +15889,7 @@ var deserializeAws_queryEndpointAuthorization = function (output, context) {
15889
15889
  contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
15890
15890
  }
15891
15891
  if (output["AuthorizeTime"] !== undefined) {
15892
- contents.AuthorizeTime = new Date(output["AuthorizeTime"]);
15892
+ contents.AuthorizeTime = __expectNonNull(__parseRfc3339DateTime(output["AuthorizeTime"]));
15893
15893
  }
15894
15894
  if (output["ClusterStatus"] !== undefined) {
15895
15895
  contents.ClusterStatus = __expectString(output["ClusterStatus"]);
@@ -15907,7 +15907,7 @@ var deserializeAws_queryEndpointAuthorization = function (output, context) {
15907
15907
  contents.AllowedVPCs = deserializeAws_queryVpcIdentifierList(__getArrayIfSingleItem(output["AllowedVPCs"]["VpcIdentifier"]), context);
15908
15908
  }
15909
15909
  if (output["EndpointCount"] !== undefined) {
15910
- contents.EndpointCount = __strictParseInt(output["EndpointCount"]);
15910
+ contents.EndpointCount = __strictParseInt32(output["EndpointCount"]);
15911
15911
  }
15912
15912
  return contents;
15913
15913
  };
@@ -16021,7 +16021,7 @@ var deserializeAws_queryEvent = function (output, context) {
16021
16021
  contents.Severity = __expectString(output["Severity"]);
16022
16022
  }
16023
16023
  if (output["Date"] !== undefined) {
16024
- contents.Date = new Date(output["Date"]);
16024
+ contents.Date = __expectNonNull(__parseRfc3339DateTime(output["Date"]));
16025
16025
  }
16026
16026
  if (output["EventId"] !== undefined) {
16027
16027
  contents.EventId = __expectString(output["EventId"]);
@@ -16164,7 +16164,7 @@ var deserializeAws_queryEventSubscription = function (output, context) {
16164
16164
  contents.Status = __expectString(output["Status"]);
16165
16165
  }
16166
16166
  if (output["SubscriptionCreationTime"] !== undefined) {
16167
- contents.SubscriptionCreationTime = new Date(output["SubscriptionCreationTime"]);
16167
+ contents.SubscriptionCreationTime = __expectNonNull(__parseRfc3339DateTime(output["SubscriptionCreationTime"]));
16168
16168
  }
16169
16169
  if (output["SourceType"] !== undefined) {
16170
16170
  contents.SourceType = __expectString(output["SourceType"]);
@@ -16814,10 +16814,10 @@ var deserializeAws_queryLoggingStatus = function (output, context) {
16814
16814
  contents.S3KeyPrefix = __expectString(output["S3KeyPrefix"]);
16815
16815
  }
16816
16816
  if (output["LastSuccessfulDeliveryTime"] !== undefined) {
16817
- contents.LastSuccessfulDeliveryTime = new Date(output["LastSuccessfulDeliveryTime"]);
16817
+ contents.LastSuccessfulDeliveryTime = __expectNonNull(__parseRfc3339DateTime(output["LastSuccessfulDeliveryTime"]));
16818
16818
  }
16819
16819
  if (output["LastFailureTime"] !== undefined) {
16820
- contents.LastFailureTime = new Date(output["LastFailureTime"]);
16820
+ contents.LastFailureTime = __expectNonNull(__parseRfc3339DateTime(output["LastFailureTime"]));
16821
16821
  }
16822
16822
  if (output["LastFailureMessage"] !== undefined) {
16823
16823
  contents.LastFailureMessage = __expectString(output["LastFailureMessage"]);
@@ -16980,7 +16980,7 @@ var deserializeAws_queryNodeConfigurationOption = function (output, context) {
16980
16980
  contents.NodeType = __expectString(output["NodeType"]);
16981
16981
  }
16982
16982
  if (output["NumberOfNodes"] !== undefined) {
16983
- contents.NumberOfNodes = __strictParseInt(output["NumberOfNodes"]);
16983
+ contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]);
16984
16984
  }
16985
16985
  if (output["EstimatedDiskUtilizationPercent"] !== undefined) {
16986
16986
  contents.EstimatedDiskUtilizationPercent = __strictParseFloat(output["EstimatedDiskUtilizationPercent"]);
@@ -17169,10 +17169,10 @@ var deserializeAws_queryPartnerIntegrationInfo = function (output, context) {
17169
17169
  contents.StatusMessage = __expectString(output["StatusMessage"]);
17170
17170
  }
17171
17171
  if (output["CreatedAt"] !== undefined) {
17172
- contents.CreatedAt = new Date(output["CreatedAt"]);
17172
+ contents.CreatedAt = __expectNonNull(__parseRfc3339DateTime(output["CreatedAt"]));
17173
17173
  }
17174
17174
  if (output["UpdatedAt"] !== undefined) {
17175
- contents.UpdatedAt = new Date(output["UpdatedAt"]);
17175
+ contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTime(output["UpdatedAt"]));
17176
17176
  }
17177
17177
  return contents;
17178
17178
  };
@@ -17257,7 +17257,7 @@ var deserializeAws_queryPendingModifiedValues = function (output, context) {
17257
17257
  contents.NodeType = __expectString(output["NodeType"]);
17258
17258
  }
17259
17259
  if (output["NumberOfNodes"] !== undefined) {
17260
- contents.NumberOfNodes = __strictParseInt(output["NumberOfNodes"]);
17260
+ contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]);
17261
17261
  }
17262
17262
  if (output["ClusterType"] !== undefined) {
17263
17263
  contents.ClusterType = __expectString(output["ClusterType"]);
@@ -17266,7 +17266,7 @@ var deserializeAws_queryPendingModifiedValues = function (output, context) {
17266
17266
  contents.ClusterVersion = __expectString(output["ClusterVersion"]);
17267
17267
  }
17268
17268
  if (output["AutomatedSnapshotRetentionPeriod"] !== undefined) {
17269
- contents.AutomatedSnapshotRetentionPeriod = __strictParseInt(output["AutomatedSnapshotRetentionPeriod"]);
17269
+ contents.AutomatedSnapshotRetentionPeriod = __strictParseInt32(output["AutomatedSnapshotRetentionPeriod"]);
17270
17270
  }
17271
17271
  if (output["ClusterIdentifier"] !== undefined) {
17272
17272
  contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
@@ -17352,10 +17352,10 @@ var deserializeAws_queryReservedNode = function (output, context) {
17352
17352
  contents.NodeType = __expectString(output["NodeType"]);
17353
17353
  }
17354
17354
  if (output["StartTime"] !== undefined) {
17355
- contents.StartTime = new Date(output["StartTime"]);
17355
+ contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
17356
17356
  }
17357
17357
  if (output["Duration"] !== undefined) {
17358
- contents.Duration = __strictParseInt(output["Duration"]);
17358
+ contents.Duration = __strictParseInt32(output["Duration"]);
17359
17359
  }
17360
17360
  if (output["FixedPrice"] !== undefined) {
17361
17361
  contents.FixedPrice = __strictParseFloat(output["FixedPrice"]);
@@ -17367,7 +17367,7 @@ var deserializeAws_queryReservedNode = function (output, context) {
17367
17367
  contents.CurrencyCode = __expectString(output["CurrencyCode"]);
17368
17368
  }
17369
17369
  if (output["NodeCount"] !== undefined) {
17370
- contents.NodeCount = __strictParseInt(output["NodeCount"]);
17370
+ contents.NodeCount = __strictParseInt32(output["NodeCount"]);
17371
17371
  }
17372
17372
  if (output["State"] !== undefined) {
17373
17373
  contents.State = __expectString(output["State"]);
@@ -17442,7 +17442,7 @@ var deserializeAws_queryReservedNodeOffering = function (output, context) {
17442
17442
  contents.NodeType = __expectString(output["NodeType"]);
17443
17443
  }
17444
17444
  if (output["Duration"] !== undefined) {
17445
- contents.Duration = __strictParseInt(output["Duration"]);
17445
+ contents.Duration = __strictParseInt32(output["Duration"]);
17446
17446
  }
17447
17447
  if (output["FixedPrice"] !== undefined) {
17448
17448
  contents.FixedPrice = __strictParseFloat(output["FixedPrice"]);
@@ -17546,7 +17546,7 @@ var deserializeAws_queryResizeClusterMessage = function (output, context) {
17546
17546
  contents.NodeType = __expectString(output["NodeType"]);
17547
17547
  }
17548
17548
  if (output["NumberOfNodes"] !== undefined) {
17549
- contents.NumberOfNodes = __strictParseInt(output["NumberOfNodes"]);
17549
+ contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]);
17550
17550
  }
17551
17551
  if (output["Classic"] !== undefined) {
17552
17552
  contents.Classic = __parseBoolean(output["Classic"]);
@@ -17607,7 +17607,7 @@ var deserializeAws_queryResizeProgressMessage = function (output, context) {
17607
17607
  contents.TargetNodeType = __expectString(output["TargetNodeType"]);
17608
17608
  }
17609
17609
  if (output["TargetNumberOfNodes"] !== undefined) {
17610
- contents.TargetNumberOfNodes = __strictParseInt(output["TargetNumberOfNodes"]);
17610
+ contents.TargetNumberOfNodes = __strictParseInt32(output["TargetNumberOfNodes"]);
17611
17611
  }
17612
17612
  if (output["TargetClusterType"] !== undefined) {
17613
17613
  contents.TargetClusterType = __expectString(output["TargetClusterType"]);
@@ -17637,16 +17637,16 @@ var deserializeAws_queryResizeProgressMessage = function (output, context) {
17637
17637
  contents.AvgResizeRateInMegaBytesPerSecond = __strictParseFloat(output["AvgResizeRateInMegaBytesPerSecond"]);
17638
17638
  }
17639
17639
  if (output["TotalResizeDataInMegaBytes"] !== undefined) {
17640
- contents.TotalResizeDataInMegaBytes = __strictParseInt(output["TotalResizeDataInMegaBytes"]);
17640
+ contents.TotalResizeDataInMegaBytes = __strictParseLong(output["TotalResizeDataInMegaBytes"]);
17641
17641
  }
17642
17642
  if (output["ProgressInMegaBytes"] !== undefined) {
17643
- contents.ProgressInMegaBytes = __strictParseInt(output["ProgressInMegaBytes"]);
17643
+ contents.ProgressInMegaBytes = __strictParseLong(output["ProgressInMegaBytes"]);
17644
17644
  }
17645
17645
  if (output["ElapsedTimeInSeconds"] !== undefined) {
17646
- contents.ElapsedTimeInSeconds = __strictParseInt(output["ElapsedTimeInSeconds"]);
17646
+ contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]);
17647
17647
  }
17648
17648
  if (output["EstimatedTimeToCompletionInSeconds"] !== undefined) {
17649
- contents.EstimatedTimeToCompletionInSeconds = __strictParseInt(output["EstimatedTimeToCompletionInSeconds"]);
17649
+ contents.EstimatedTimeToCompletionInSeconds = __strictParseLong(output["EstimatedTimeToCompletionInSeconds"]);
17650
17650
  }
17651
17651
  if (output["ResizeType"] !== undefined) {
17652
17652
  contents.ResizeType = __expectString(output["ResizeType"]);
@@ -17706,16 +17706,16 @@ var deserializeAws_queryRestoreStatus = function (output, context) {
17706
17706
  contents.CurrentRestoreRateInMegaBytesPerSecond = __strictParseFloat(output["CurrentRestoreRateInMegaBytesPerSecond"]);
17707
17707
  }
17708
17708
  if (output["SnapshotSizeInMegaBytes"] !== undefined) {
17709
- contents.SnapshotSizeInMegaBytes = __strictParseInt(output["SnapshotSizeInMegaBytes"]);
17709
+ contents.SnapshotSizeInMegaBytes = __strictParseLong(output["SnapshotSizeInMegaBytes"]);
17710
17710
  }
17711
17711
  if (output["ProgressInMegaBytes"] !== undefined) {
17712
- contents.ProgressInMegaBytes = __strictParseInt(output["ProgressInMegaBytes"]);
17712
+ contents.ProgressInMegaBytes = __strictParseLong(output["ProgressInMegaBytes"]);
17713
17713
  }
17714
17714
  if (output["ElapsedTimeInSeconds"] !== undefined) {
17715
- contents.ElapsedTimeInSeconds = __strictParseInt(output["ElapsedTimeInSeconds"]);
17715
+ contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]);
17716
17716
  }
17717
17717
  if (output["EstimatedTimeToCompletionInSeconds"] !== undefined) {
17718
- contents.EstimatedTimeToCompletionInSeconds = __strictParseInt(output["EstimatedTimeToCompletionInSeconds"]);
17718
+ contents.EstimatedTimeToCompletionInSeconds = __strictParseLong(output["EstimatedTimeToCompletionInSeconds"]);
17719
17719
  }
17720
17720
  return contents;
17721
17721
  };
@@ -17759,7 +17759,7 @@ var deserializeAws_queryRevisionTarget = function (output, context) {
17759
17759
  contents.Description = __expectString(output["Description"]);
17760
17760
  }
17761
17761
  if (output["DatabaseRevisionReleaseDate"] !== undefined) {
17762
- contents.DatabaseRevisionReleaseDate = new Date(output["DatabaseRevisionReleaseDate"]);
17762
+ contents.DatabaseRevisionReleaseDate = __expectNonNull(__parseRfc3339DateTime(output["DatabaseRevisionReleaseDate"]));
17763
17763
  }
17764
17764
  return contents;
17765
17765
  };
@@ -17837,10 +17837,10 @@ var deserializeAws_queryScheduledAction = function (output, context) {
17837
17837
  contents.NextInvocations = deserializeAws_queryScheduledActionTimeList(__getArrayIfSingleItem(output["NextInvocations"]["ScheduledActionTime"]), context);
17838
17838
  }
17839
17839
  if (output["StartTime"] !== undefined) {
17840
- contents.StartTime = new Date(output["StartTime"]);
17840
+ contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
17841
17841
  }
17842
17842
  if (output["EndTime"] !== undefined) {
17843
- contents.EndTime = new Date(output["EndTime"]);
17843
+ contents.EndTime = __expectNonNull(__parseRfc3339DateTime(output["EndTime"]));
17844
17844
  }
17845
17845
  return contents;
17846
17846
  };
@@ -17904,7 +17904,7 @@ var deserializeAws_queryScheduledActionTimeList = function (output, context) {
17904
17904
  if (entry === null) {
17905
17905
  return null;
17906
17906
  }
17907
- return new Date(entry);
17907
+ return __expectNonNull(__parseRfc3339DateTime(entry));
17908
17908
  });
17909
17909
  };
17910
17910
  var deserializeAws_queryScheduledActionType = function (output, context) {
@@ -17959,7 +17959,7 @@ var deserializeAws_queryScheduledSnapshotTimeList = function (output, context) {
17959
17959
  if (entry === null) {
17960
17960
  return null;
17961
17961
  }
17962
- return new Date(entry);
17962
+ return __expectNonNull(__parseRfc3339DateTime(entry));
17963
17963
  });
17964
17964
  };
17965
17965
  var deserializeAws_querySnapshot = function (output, context) {
@@ -18006,19 +18006,19 @@ var deserializeAws_querySnapshot = function (output, context) {
18006
18006
  contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
18007
18007
  }
18008
18008
  if (output["SnapshotCreateTime"] !== undefined) {
18009
- contents.SnapshotCreateTime = new Date(output["SnapshotCreateTime"]);
18009
+ contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotCreateTime"]));
18010
18010
  }
18011
18011
  if (output["Status"] !== undefined) {
18012
18012
  contents.Status = __expectString(output["Status"]);
18013
18013
  }
18014
18014
  if (output["Port"] !== undefined) {
18015
- contents.Port = __strictParseInt(output["Port"]);
18015
+ contents.Port = __strictParseInt32(output["Port"]);
18016
18016
  }
18017
18017
  if (output["AvailabilityZone"] !== undefined) {
18018
18018
  contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
18019
18019
  }
18020
18020
  if (output["ClusterCreateTime"] !== undefined) {
18021
- contents.ClusterCreateTime = new Date(output["ClusterCreateTime"]);
18021
+ contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
18022
18022
  }
18023
18023
  if (output["MasterUsername"] !== undefined) {
18024
18024
  contents.MasterUsername = __expectString(output["MasterUsername"]);
@@ -18036,7 +18036,7 @@ var deserializeAws_querySnapshot = function (output, context) {
18036
18036
  contents.NodeType = __expectString(output["NodeType"]);
18037
18037
  }
18038
18038
  if (output["NumberOfNodes"] !== undefined) {
18039
- contents.NumberOfNodes = __strictParseInt(output["NumberOfNodes"]);
18039
+ contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]);
18040
18040
  }
18041
18041
  if (output["DBName"] !== undefined) {
18042
18042
  contents.DBName = __expectString(output["DBName"]);
@@ -18076,10 +18076,10 @@ var deserializeAws_querySnapshot = function (output, context) {
18076
18076
  contents.CurrentBackupRateInMegaBytesPerSecond = __strictParseFloat(output["CurrentBackupRateInMegaBytesPerSecond"]);
18077
18077
  }
18078
18078
  if (output["EstimatedSecondsToCompletion"] !== undefined) {
18079
- contents.EstimatedSecondsToCompletion = __strictParseInt(output["EstimatedSecondsToCompletion"]);
18079
+ contents.EstimatedSecondsToCompletion = __strictParseLong(output["EstimatedSecondsToCompletion"]);
18080
18080
  }
18081
18081
  if (output["ElapsedTimeInSeconds"] !== undefined) {
18082
- contents.ElapsedTimeInSeconds = __strictParseInt(output["ElapsedTimeInSeconds"]);
18082
+ contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]);
18083
18083
  }
18084
18084
  if (output["SourceRegion"] !== undefined) {
18085
18085
  contents.SourceRegion = __expectString(output["SourceRegion"]);
@@ -18103,13 +18103,13 @@ var deserializeAws_querySnapshot = function (output, context) {
18103
18103
  contents.MaintenanceTrackName = __expectString(output["MaintenanceTrackName"]);
18104
18104
  }
18105
18105
  if (output["ManualSnapshotRetentionPeriod"] !== undefined) {
18106
- contents.ManualSnapshotRetentionPeriod = __strictParseInt(output["ManualSnapshotRetentionPeriod"]);
18106
+ contents.ManualSnapshotRetentionPeriod = __strictParseInt32(output["ManualSnapshotRetentionPeriod"]);
18107
18107
  }
18108
18108
  if (output["ManualSnapshotRemainingDays"] !== undefined) {
18109
- contents.ManualSnapshotRemainingDays = __strictParseInt(output["ManualSnapshotRemainingDays"]);
18109
+ contents.ManualSnapshotRemainingDays = __strictParseInt32(output["ManualSnapshotRemainingDays"]);
18110
18110
  }
18111
18111
  if (output["SnapshotRetentionStartTime"] !== undefined) {
18112
- contents.SnapshotRetentionStartTime = new Date(output["SnapshotRetentionStartTime"]);
18112
+ contents.SnapshotRetentionStartTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotRetentionStartTime"]));
18113
18113
  }
18114
18114
  return contents;
18115
18115
  };
@@ -18306,7 +18306,7 @@ var deserializeAws_querySnapshotSchedule = function (output, context) {
18306
18306
  contents.NextInvocations = deserializeAws_queryScheduledSnapshotTimeList(__getArrayIfSingleItem(output["NextInvocations"]["SnapshotTime"]), context);
18307
18307
  }
18308
18308
  if (output["AssociatedClusterCount"] !== undefined) {
18309
- contents.AssociatedClusterCount = __strictParseInt(output["AssociatedClusterCount"]);
18309
+ contents.AssociatedClusterCount = __strictParseInt32(output["AssociatedClusterCount"]);
18310
18310
  }
18311
18311
  if (output.AssociatedClusters === "") {
18312
18312
  contents.AssociatedClusters = [];
@@ -18573,13 +18573,13 @@ var deserializeAws_queryTableRestoreStatus = function (output, context) {
18573
18573
  contents.Message = __expectString(output["Message"]);
18574
18574
  }
18575
18575
  if (output["RequestTime"] !== undefined) {
18576
- contents.RequestTime = new Date(output["RequestTime"]);
18576
+ contents.RequestTime = __expectNonNull(__parseRfc3339DateTime(output["RequestTime"]));
18577
18577
  }
18578
18578
  if (output["ProgressInMegaBytes"] !== undefined) {
18579
- contents.ProgressInMegaBytes = __strictParseInt(output["ProgressInMegaBytes"]);
18579
+ contents.ProgressInMegaBytes = __strictParseLong(output["ProgressInMegaBytes"]);
18580
18580
  }
18581
18581
  if (output["TotalDataInMegaBytes"] !== undefined) {
18582
- contents.TotalDataInMegaBytes = __strictParseInt(output["TotalDataInMegaBytes"]);
18582
+ contents.TotalDataInMegaBytes = __strictParseLong(output["TotalDataInMegaBytes"]);
18583
18583
  }
18584
18584
  if (output["ClusterIdentifier"] !== undefined) {
18585
18585
  contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
@@ -18825,7 +18825,7 @@ var deserializeAws_queryUsageLimit = function (output, context) {
18825
18825
  contents.LimitType = __expectString(output["LimitType"]);
18826
18826
  }
18827
18827
  if (output["Amount"] !== undefined) {
18828
- contents.Amount = __strictParseInt(output["Amount"]);
18828
+ contents.Amount = __strictParseLong(output["Amount"]);
18829
18829
  }
18830
18830
  if (output["Period"] !== undefined) {
18831
18831
  contents.Period = __expectString(output["Period"]);