@aws-sdk/client-rds 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 +35 -0
- package/RDS.ts +1 -1
- package/commands/ModifyCurrentDBClusterCapacityCommand.ts +1 -1
- package/dist/cjs/commands/ModifyCurrentDBClusterCapacityCommand.js +1 -1
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/models/models_1.js.map +1 -1
- package/dist/cjs/package.json +33 -33
- package/dist/cjs/protocols/Aws_query.js +102 -95
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/commands/ModifyCurrentDBClusterCapacityCommand.js +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/models/models_1.js.map +1 -1
- package/dist/es/package.json +33 -33
- package/dist/es/protocols/Aws_query.js +103 -96
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/dist/types/RDS.d.ts +1 -1
- package/dist/types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +1 -1
- package/dist/types/models/models_0.d.ts +18 -2
- package/dist/types/models/models_1.d.ts +1 -5
- package/dist/types/ts3.4/RDS.d.ts +1 -1
- package/dist/types/ts3.4/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +1 -1
- package/dist/types/ts3.4/models/models_0.d.ts +18 -2
- package/dist/types/ts3.4/models/models_1.d.ts +1 -5
- package/models/models_0.ts +20 -2
- package/models/models_1.ts +1 -5
- package/package.json +33 -33
- package/protocols/Aws_query.ts +108 -96
package/protocols/Aws_query.ts
CHANGED
|
@@ -908,13 +908,16 @@ import {
|
|
|
908
908
|
} from "../models/models_1";
|
|
909
909
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
910
910
|
import {
|
|
911
|
+
expectNonNull as __expectNonNull,
|
|
911
912
|
expectString as __expectString,
|
|
912
913
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
913
914
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
914
915
|
getValueFromTextNode as __getValueFromTextNode,
|
|
915
916
|
parseBoolean as __parseBoolean,
|
|
917
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
916
918
|
strictParseFloat as __strictParseFloat,
|
|
917
|
-
|
|
919
|
+
strictParseInt32 as __strictParseInt32,
|
|
920
|
+
strictParseLong as __strictParseLong,
|
|
918
921
|
} from "@aws-sdk/smithy-client";
|
|
919
922
|
import {
|
|
920
923
|
Endpoint as __Endpoint,
|
|
@@ -19799,6 +19802,9 @@ const serializeAws_queryScalingConfiguration = (input: ScalingConfiguration, con
|
|
|
19799
19802
|
if (input.TimeoutAction !== undefined && input.TimeoutAction !== null) {
|
|
19800
19803
|
entries["TimeoutAction"] = input.TimeoutAction;
|
|
19801
19804
|
}
|
|
19805
|
+
if (input.SecondsBeforeTimeout !== undefined && input.SecondsBeforeTimeout !== null) {
|
|
19806
|
+
entries["SecondsBeforeTimeout"] = input.SecondsBeforeTimeout;
|
|
19807
|
+
}
|
|
19802
19808
|
return entries;
|
|
19803
19809
|
};
|
|
19804
19810
|
|
|
@@ -20079,10 +20085,10 @@ const deserializeAws_queryAccountQuota = (output: any, context: __SerdeContext):
|
|
|
20079
20085
|
contents.AccountQuotaName = __expectString(output["AccountQuotaName"]);
|
|
20080
20086
|
}
|
|
20081
20087
|
if (output["Used"] !== undefined) {
|
|
20082
|
-
contents.Used =
|
|
20088
|
+
contents.Used = __strictParseLong(output["Used"]) as number;
|
|
20083
20089
|
}
|
|
20084
20090
|
if (output["Max"] !== undefined) {
|
|
20085
|
-
contents.Max =
|
|
20091
|
+
contents.Max = __strictParseLong(output["Max"]) as number;
|
|
20086
20092
|
}
|
|
20087
20093
|
return contents;
|
|
20088
20094
|
};
|
|
@@ -20302,10 +20308,10 @@ const deserializeAws_queryCertificate = (output: any, context: __SerdeContext):
|
|
|
20302
20308
|
contents.Thumbprint = __expectString(output["Thumbprint"]);
|
|
20303
20309
|
}
|
|
20304
20310
|
if (output["ValidFrom"] !== undefined) {
|
|
20305
|
-
contents.ValidFrom =
|
|
20311
|
+
contents.ValidFrom = __expectNonNull(__parseRfc3339DateTime(output["ValidFrom"]));
|
|
20306
20312
|
}
|
|
20307
20313
|
if (output["ValidTill"] !== undefined) {
|
|
20308
|
-
contents.ValidTill =
|
|
20314
|
+
contents.ValidTill = __expectNonNull(__parseRfc3339DateTime(output["ValidTill"]));
|
|
20309
20315
|
}
|
|
20310
20316
|
if (output["CertificateArn"] !== undefined) {
|
|
20311
20317
|
contents.CertificateArn = __expectString(output["CertificateArn"]);
|
|
@@ -20314,7 +20320,7 @@ const deserializeAws_queryCertificate = (output: any, context: __SerdeContext):
|
|
|
20314
20320
|
contents.CustomerOverride = __parseBoolean(output["CustomerOverride"]);
|
|
20315
20321
|
}
|
|
20316
20322
|
if (output["CustomerOverrideValidTill"] !== undefined) {
|
|
20317
|
-
contents.CustomerOverrideValidTill =
|
|
20323
|
+
contents.CustomerOverrideValidTill = __expectNonNull(__parseRfc3339DateTime(output["CustomerOverrideValidTill"]));
|
|
20318
20324
|
}
|
|
20319
20325
|
return contents;
|
|
20320
20326
|
};
|
|
@@ -20421,13 +20427,13 @@ const deserializeAws_queryConnectionPoolConfigurationInfo = (
|
|
|
20421
20427
|
InitQuery: undefined,
|
|
20422
20428
|
};
|
|
20423
20429
|
if (output["MaxConnectionsPercent"] !== undefined) {
|
|
20424
|
-
contents.MaxConnectionsPercent =
|
|
20430
|
+
contents.MaxConnectionsPercent = __strictParseInt32(output["MaxConnectionsPercent"]) as number;
|
|
20425
20431
|
}
|
|
20426
20432
|
if (output["MaxIdleConnectionsPercent"] !== undefined) {
|
|
20427
|
-
contents.MaxIdleConnectionsPercent =
|
|
20433
|
+
contents.MaxIdleConnectionsPercent = __strictParseInt32(output["MaxIdleConnectionsPercent"]) as number;
|
|
20428
20434
|
}
|
|
20429
20435
|
if (output["ConnectionBorrowTimeout"] !== undefined) {
|
|
20430
|
-
contents.ConnectionBorrowTimeout =
|
|
20436
|
+
contents.ConnectionBorrowTimeout = __strictParseInt32(output["ConnectionBorrowTimeout"]) as number;
|
|
20431
20437
|
}
|
|
20432
20438
|
if (output.SessionPinningFilters === "") {
|
|
20433
20439
|
contents.SessionPinningFilters = [];
|
|
@@ -20854,7 +20860,7 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
20854
20860
|
PendingModifiedValues: undefined,
|
|
20855
20861
|
};
|
|
20856
20862
|
if (output["AllocatedStorage"] !== undefined) {
|
|
20857
|
-
contents.AllocatedStorage =
|
|
20863
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number;
|
|
20858
20864
|
}
|
|
20859
20865
|
if (output.AvailabilityZones === "") {
|
|
20860
20866
|
contents.AvailabilityZones = [];
|
|
@@ -20866,7 +20872,7 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
20866
20872
|
);
|
|
20867
20873
|
}
|
|
20868
20874
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
20869
|
-
contents.BackupRetentionPeriod =
|
|
20875
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]) as number;
|
|
20870
20876
|
}
|
|
20871
20877
|
if (output["CharacterSetName"] !== undefined) {
|
|
20872
20878
|
contents.CharacterSetName = __expectString(output["CharacterSetName"]);
|
|
@@ -20887,13 +20893,13 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
20887
20893
|
contents.Status = __expectString(output["Status"]);
|
|
20888
20894
|
}
|
|
20889
20895
|
if (output["AutomaticRestartTime"] !== undefined) {
|
|
20890
|
-
contents.AutomaticRestartTime =
|
|
20896
|
+
contents.AutomaticRestartTime = __expectNonNull(__parseRfc3339DateTime(output["AutomaticRestartTime"]));
|
|
20891
20897
|
}
|
|
20892
20898
|
if (output["PercentProgress"] !== undefined) {
|
|
20893
20899
|
contents.PercentProgress = __expectString(output["PercentProgress"]);
|
|
20894
20900
|
}
|
|
20895
20901
|
if (output["EarliestRestorableTime"] !== undefined) {
|
|
20896
|
-
contents.EarliestRestorableTime =
|
|
20902
|
+
contents.EarliestRestorableTime = __expectNonNull(__parseRfc3339DateTime(output["EarliestRestorableTime"]));
|
|
20897
20903
|
}
|
|
20898
20904
|
if (output["Endpoint"] !== undefined) {
|
|
20899
20905
|
contents.Endpoint = __expectString(output["Endpoint"]);
|
|
@@ -20920,10 +20926,10 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
20920
20926
|
contents.EngineVersion = __expectString(output["EngineVersion"]);
|
|
20921
20927
|
}
|
|
20922
20928
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
20923
|
-
contents.LatestRestorableTime =
|
|
20929
|
+
contents.LatestRestorableTime = __expectNonNull(__parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
20924
20930
|
}
|
|
20925
20931
|
if (output["Port"] !== undefined) {
|
|
20926
|
-
contents.Port =
|
|
20932
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
20927
20933
|
}
|
|
20928
20934
|
if (output["MasterUsername"] !== undefined) {
|
|
20929
20935
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -21013,16 +21019,16 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
21013
21019
|
contents.CloneGroupId = __expectString(output["CloneGroupId"]);
|
|
21014
21020
|
}
|
|
21015
21021
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
21016
|
-
contents.ClusterCreateTime =
|
|
21022
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
21017
21023
|
}
|
|
21018
21024
|
if (output["EarliestBacktrackTime"] !== undefined) {
|
|
21019
|
-
contents.EarliestBacktrackTime =
|
|
21025
|
+
contents.EarliestBacktrackTime = __expectNonNull(__parseRfc3339DateTime(output["EarliestBacktrackTime"]));
|
|
21020
21026
|
}
|
|
21021
21027
|
if (output["BacktrackWindow"] !== undefined) {
|
|
21022
|
-
contents.BacktrackWindow =
|
|
21028
|
+
contents.BacktrackWindow = __strictParseLong(output["BacktrackWindow"]) as number;
|
|
21023
21029
|
}
|
|
21024
21030
|
if (output["BacktrackConsumedChangeRecords"] !== undefined) {
|
|
21025
|
-
contents.BacktrackConsumedChangeRecords =
|
|
21031
|
+
contents.BacktrackConsumedChangeRecords = __strictParseLong(output["BacktrackConsumedChangeRecords"]) as number;
|
|
21026
21032
|
}
|
|
21027
21033
|
if (output.EnabledCloudwatchLogsExports === "") {
|
|
21028
21034
|
contents.EnabledCloudwatchLogsExports = [];
|
|
@@ -21037,7 +21043,7 @@ const deserializeAws_queryDBCluster = (output: any, context: __SerdeContext): DB
|
|
|
21037
21043
|
);
|
|
21038
21044
|
}
|
|
21039
21045
|
if (output["Capacity"] !== undefined) {
|
|
21040
|
-
contents.Capacity =
|
|
21046
|
+
contents.Capacity = __strictParseInt32(output["Capacity"]) as number;
|
|
21041
21047
|
}
|
|
21042
21048
|
if (output["EngineMode"] !== undefined) {
|
|
21043
21049
|
contents.EngineMode = __expectString(output["EngineMode"]);
|
|
@@ -21131,13 +21137,15 @@ const deserializeAws_queryDBClusterBacktrack = (output: any, context: __SerdeCon
|
|
|
21131
21137
|
contents.BacktrackIdentifier = __expectString(output["BacktrackIdentifier"]);
|
|
21132
21138
|
}
|
|
21133
21139
|
if (output["BacktrackTo"] !== undefined) {
|
|
21134
|
-
contents.BacktrackTo =
|
|
21140
|
+
contents.BacktrackTo = __expectNonNull(__parseRfc3339DateTime(output["BacktrackTo"]));
|
|
21135
21141
|
}
|
|
21136
21142
|
if (output["BacktrackedFrom"] !== undefined) {
|
|
21137
|
-
contents.BacktrackedFrom =
|
|
21143
|
+
contents.BacktrackedFrom = __expectNonNull(__parseRfc3339DateTime(output["BacktrackedFrom"]));
|
|
21138
21144
|
}
|
|
21139
21145
|
if (output["BacktrackRequestCreationTime"] !== undefined) {
|
|
21140
|
-
contents.BacktrackRequestCreationTime =
|
|
21146
|
+
contents.BacktrackRequestCreationTime = __expectNonNull(
|
|
21147
|
+
__parseRfc3339DateTime(output["BacktrackRequestCreationTime"])
|
|
21148
|
+
);
|
|
21141
21149
|
}
|
|
21142
21150
|
if (output["Status"] !== undefined) {
|
|
21143
21151
|
contents.Status = __expectString(output["Status"]);
|
|
@@ -21207,13 +21215,13 @@ const deserializeAws_queryDBClusterCapacityInfo = (output: any, context: __Serde
|
|
|
21207
21215
|
contents.DBClusterIdentifier = __expectString(output["DBClusterIdentifier"]);
|
|
21208
21216
|
}
|
|
21209
21217
|
if (output["PendingCapacity"] !== undefined) {
|
|
21210
|
-
contents.PendingCapacity =
|
|
21218
|
+
contents.PendingCapacity = __strictParseInt32(output["PendingCapacity"]) as number;
|
|
21211
21219
|
}
|
|
21212
21220
|
if (output["CurrentCapacity"] !== undefined) {
|
|
21213
|
-
contents.CurrentCapacity =
|
|
21221
|
+
contents.CurrentCapacity = __strictParseInt32(output["CurrentCapacity"]) as number;
|
|
21214
21222
|
}
|
|
21215
21223
|
if (output["SecondsBeforeTimeout"] !== undefined) {
|
|
21216
|
-
contents.SecondsBeforeTimeout =
|
|
21224
|
+
contents.SecondsBeforeTimeout = __strictParseInt32(output["SecondsBeforeTimeout"]) as number;
|
|
21217
21225
|
}
|
|
21218
21226
|
if (output["TimeoutAction"] !== undefined) {
|
|
21219
21227
|
contents.TimeoutAction = __expectString(output["TimeoutAction"]);
|
|
@@ -21383,7 +21391,7 @@ const deserializeAws_queryDBClusterMember = (output: any, context: __SerdeContex
|
|
|
21383
21391
|
contents.DBClusterParameterGroupStatus = __expectString(output["DBClusterParameterGroupStatus"]);
|
|
21384
21392
|
}
|
|
21385
21393
|
if (output["PromotionTier"] !== undefined) {
|
|
21386
|
-
contents.PromotionTier =
|
|
21394
|
+
contents.PromotionTier = __strictParseInt32(output["PromotionTier"]) as number;
|
|
21387
21395
|
}
|
|
21388
21396
|
return contents;
|
|
21389
21397
|
};
|
|
@@ -21693,7 +21701,7 @@ const deserializeAws_queryDBClusterSnapshot = (output: any, context: __SerdeCont
|
|
|
21693
21701
|
contents.DBClusterIdentifier = __expectString(output["DBClusterIdentifier"]);
|
|
21694
21702
|
}
|
|
21695
21703
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
21696
|
-
contents.SnapshotCreateTime =
|
|
21704
|
+
contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
21697
21705
|
}
|
|
21698
21706
|
if (output["Engine"] !== undefined) {
|
|
21699
21707
|
contents.Engine = __expectString(output["Engine"]);
|
|
@@ -21702,19 +21710,19 @@ const deserializeAws_queryDBClusterSnapshot = (output: any, context: __SerdeCont
|
|
|
21702
21710
|
contents.EngineMode = __expectString(output["EngineMode"]);
|
|
21703
21711
|
}
|
|
21704
21712
|
if (output["AllocatedStorage"] !== undefined) {
|
|
21705
|
-
contents.AllocatedStorage =
|
|
21713
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number;
|
|
21706
21714
|
}
|
|
21707
21715
|
if (output["Status"] !== undefined) {
|
|
21708
21716
|
contents.Status = __expectString(output["Status"]);
|
|
21709
21717
|
}
|
|
21710
21718
|
if (output["Port"] !== undefined) {
|
|
21711
|
-
contents.Port =
|
|
21719
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
21712
21720
|
}
|
|
21713
21721
|
if (output["VpcId"] !== undefined) {
|
|
21714
21722
|
contents.VpcId = __expectString(output["VpcId"]);
|
|
21715
21723
|
}
|
|
21716
21724
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
21717
|
-
contents.ClusterCreateTime =
|
|
21725
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
21718
21726
|
}
|
|
21719
21727
|
if (output["MasterUsername"] !== undefined) {
|
|
21720
21728
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -21729,7 +21737,7 @@ const deserializeAws_queryDBClusterSnapshot = (output: any, context: __SerdeCont
|
|
|
21729
21737
|
contents.SnapshotType = __expectString(output["SnapshotType"]);
|
|
21730
21738
|
}
|
|
21731
21739
|
if (output["PercentProgress"] !== undefined) {
|
|
21732
|
-
contents.PercentProgress =
|
|
21740
|
+
contents.PercentProgress = __strictParseInt32(output["PercentProgress"]) as number;
|
|
21733
21741
|
}
|
|
21734
21742
|
if (output["StorageEncrypted"] !== undefined) {
|
|
21735
21743
|
contents.StorageEncrypted = __parseBoolean(output["StorageEncrypted"]);
|
|
@@ -22121,7 +22129,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22121
22129
|
contents.DBInstanceStatus = __expectString(output["DBInstanceStatus"]);
|
|
22122
22130
|
}
|
|
22123
22131
|
if (output["AutomaticRestartTime"] !== undefined) {
|
|
22124
|
-
contents.AutomaticRestartTime =
|
|
22132
|
+
contents.AutomaticRestartTime = __expectNonNull(__parseRfc3339DateTime(output["AutomaticRestartTime"]));
|
|
22125
22133
|
}
|
|
22126
22134
|
if (output["MasterUsername"] !== undefined) {
|
|
22127
22135
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -22133,16 +22141,16 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22133
22141
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
22134
22142
|
}
|
|
22135
22143
|
if (output["AllocatedStorage"] !== undefined) {
|
|
22136
|
-
contents.AllocatedStorage =
|
|
22144
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number;
|
|
22137
22145
|
}
|
|
22138
22146
|
if (output["InstanceCreateTime"] !== undefined) {
|
|
22139
|
-
contents.InstanceCreateTime =
|
|
22147
|
+
contents.InstanceCreateTime = __expectNonNull(__parseRfc3339DateTime(output["InstanceCreateTime"]));
|
|
22140
22148
|
}
|
|
22141
22149
|
if (output["PreferredBackupWindow"] !== undefined) {
|
|
22142
22150
|
contents.PreferredBackupWindow = __expectString(output["PreferredBackupWindow"]);
|
|
22143
22151
|
}
|
|
22144
22152
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
22145
|
-
contents.BackupRetentionPeriod =
|
|
22153
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]) as number;
|
|
22146
22154
|
}
|
|
22147
22155
|
if (output.DBSecurityGroups === "") {
|
|
22148
22156
|
contents.DBSecurityGroups = [];
|
|
@@ -22190,7 +22198,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22190
22198
|
);
|
|
22191
22199
|
}
|
|
22192
22200
|
if (output["LatestRestorableTime"] !== undefined) {
|
|
22193
|
-
contents.LatestRestorableTime =
|
|
22201
|
+
contents.LatestRestorableTime = __expectNonNull(__parseRfc3339DateTime(output["LatestRestorableTime"]));
|
|
22194
22202
|
}
|
|
22195
22203
|
if (output["MultiAZ"] !== undefined) {
|
|
22196
22204
|
contents.MultiAZ = __parseBoolean(output["MultiAZ"]);
|
|
@@ -22235,7 +22243,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22235
22243
|
contents.LicenseModel = __expectString(output["LicenseModel"]);
|
|
22236
22244
|
}
|
|
22237
22245
|
if (output["Iops"] !== undefined) {
|
|
22238
|
-
contents.Iops =
|
|
22246
|
+
contents.Iops = __strictParseInt32(output["Iops"]) as number;
|
|
22239
22247
|
}
|
|
22240
22248
|
if (output.OptionGroupMemberships === "") {
|
|
22241
22249
|
contents.OptionGroupMemberships = [];
|
|
@@ -22277,7 +22285,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22277
22285
|
contents.TdeCredentialArn = __expectString(output["TdeCredentialArn"]);
|
|
22278
22286
|
}
|
|
22279
22287
|
if (output["DbInstancePort"] !== undefined) {
|
|
22280
|
-
contents.DbInstancePort =
|
|
22288
|
+
contents.DbInstancePort = __strictParseInt32(output["DbInstancePort"]) as number;
|
|
22281
22289
|
}
|
|
22282
22290
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
22283
22291
|
contents.DBClusterIdentifier = __expectString(output["DBClusterIdentifier"]);
|
|
@@ -22307,7 +22315,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22307
22315
|
contents.CopyTagsToSnapshot = __parseBoolean(output["CopyTagsToSnapshot"]);
|
|
22308
22316
|
}
|
|
22309
22317
|
if (output["MonitoringInterval"] !== undefined) {
|
|
22310
|
-
contents.MonitoringInterval =
|
|
22318
|
+
contents.MonitoringInterval = __strictParseInt32(output["MonitoringInterval"]) as number;
|
|
22311
22319
|
}
|
|
22312
22320
|
if (output["EnhancedMonitoringResourceArn"] !== undefined) {
|
|
22313
22321
|
contents.EnhancedMonitoringResourceArn = __expectString(output["EnhancedMonitoringResourceArn"]);
|
|
@@ -22316,7 +22324,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22316
22324
|
contents.MonitoringRoleArn = __expectString(output["MonitoringRoleArn"]);
|
|
22317
22325
|
}
|
|
22318
22326
|
if (output["PromotionTier"] !== undefined) {
|
|
22319
|
-
contents.PromotionTier =
|
|
22327
|
+
contents.PromotionTier = __strictParseInt32(output["PromotionTier"]) as number;
|
|
22320
22328
|
}
|
|
22321
22329
|
if (output["DBInstanceArn"] !== undefined) {
|
|
22322
22330
|
contents.DBInstanceArn = __expectString(output["DBInstanceArn"]);
|
|
@@ -22334,7 +22342,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22334
22342
|
contents.PerformanceInsightsKMSKeyId = __expectString(output["PerformanceInsightsKMSKeyId"]);
|
|
22335
22343
|
}
|
|
22336
22344
|
if (output["PerformanceInsightsRetentionPeriod"] !== undefined) {
|
|
22337
|
-
contents.PerformanceInsightsRetentionPeriod =
|
|
22345
|
+
contents.PerformanceInsightsRetentionPeriod = __strictParseInt32(
|
|
22338
22346
|
output["PerformanceInsightsRetentionPeriod"]
|
|
22339
22347
|
) as number;
|
|
22340
22348
|
}
|
|
@@ -22375,7 +22383,7 @@ const deserializeAws_queryDBInstance = (output: any, context: __SerdeContext): D
|
|
|
22375
22383
|
contents.ListenerEndpoint = deserializeAws_queryEndpoint(output["ListenerEndpoint"], context);
|
|
22376
22384
|
}
|
|
22377
22385
|
if (output["MaxAllocatedStorage"] !== undefined) {
|
|
22378
|
-
contents.MaxAllocatedStorage =
|
|
22386
|
+
contents.MaxAllocatedStorage = __strictParseInt32(output["MaxAllocatedStorage"]) as number;
|
|
22379
22387
|
}
|
|
22380
22388
|
if (output.TagList === "") {
|
|
22381
22389
|
contents.TagList = [];
|
|
@@ -22482,13 +22490,13 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (
|
|
|
22482
22490
|
contents.RestoreWindow = deserializeAws_queryRestoreWindow(output["RestoreWindow"], context);
|
|
22483
22491
|
}
|
|
22484
22492
|
if (output["AllocatedStorage"] !== undefined) {
|
|
22485
|
-
contents.AllocatedStorage =
|
|
22493
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number;
|
|
22486
22494
|
}
|
|
22487
22495
|
if (output["Status"] !== undefined) {
|
|
22488
22496
|
contents.Status = __expectString(output["Status"]);
|
|
22489
22497
|
}
|
|
22490
22498
|
if (output["Port"] !== undefined) {
|
|
22491
|
-
contents.Port =
|
|
22499
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
22492
22500
|
}
|
|
22493
22501
|
if (output["AvailabilityZone"] !== undefined) {
|
|
22494
22502
|
contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
|
|
@@ -22497,7 +22505,7 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (
|
|
|
22497
22505
|
contents.VpcId = __expectString(output["VpcId"]);
|
|
22498
22506
|
}
|
|
22499
22507
|
if (output["InstanceCreateTime"] !== undefined) {
|
|
22500
|
-
contents.InstanceCreateTime =
|
|
22508
|
+
contents.InstanceCreateTime = __expectNonNull(__parseRfc3339DateTime(output["InstanceCreateTime"]));
|
|
22501
22509
|
}
|
|
22502
22510
|
if (output["MasterUsername"] !== undefined) {
|
|
22503
22511
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -22512,7 +22520,7 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (
|
|
|
22512
22520
|
contents.LicenseModel = __expectString(output["LicenseModel"]);
|
|
22513
22521
|
}
|
|
22514
22522
|
if (output["Iops"] !== undefined) {
|
|
22515
|
-
contents.Iops =
|
|
22523
|
+
contents.Iops = __strictParseInt32(output["Iops"]) as number;
|
|
22516
22524
|
}
|
|
22517
22525
|
if (output["OptionGroupName"] !== undefined) {
|
|
22518
22526
|
contents.OptionGroupName = __expectString(output["OptionGroupName"]);
|
|
@@ -22536,7 +22544,7 @@ const deserializeAws_queryDBInstanceAutomatedBackup = (
|
|
|
22536
22544
|
contents.IAMDatabaseAuthenticationEnabled = __parseBoolean(output["IAMDatabaseAuthenticationEnabled"]);
|
|
22537
22545
|
}
|
|
22538
22546
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
22539
|
-
contents.BackupRetentionPeriod =
|
|
22547
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]) as number;
|
|
22540
22548
|
}
|
|
22541
22549
|
if (output["DBInstanceAutomatedBackupsArn"] !== undefined) {
|
|
22542
22550
|
contents.DBInstanceAutomatedBackupsArn = __expectString(output["DBInstanceAutomatedBackupsArn"]);
|
|
@@ -23027,16 +23035,16 @@ const deserializeAws_queryDBProxy = (output: any, context: __SerdeContext): DBPr
|
|
|
23027
23035
|
contents.RequireTLS = __parseBoolean(output["RequireTLS"]);
|
|
23028
23036
|
}
|
|
23029
23037
|
if (output["IdleClientTimeout"] !== undefined) {
|
|
23030
|
-
contents.IdleClientTimeout =
|
|
23038
|
+
contents.IdleClientTimeout = __strictParseInt32(output["IdleClientTimeout"]) as number;
|
|
23031
23039
|
}
|
|
23032
23040
|
if (output["DebugLogging"] !== undefined) {
|
|
23033
23041
|
contents.DebugLogging = __parseBoolean(output["DebugLogging"]);
|
|
23034
23042
|
}
|
|
23035
23043
|
if (output["CreatedDate"] !== undefined) {
|
|
23036
|
-
contents.CreatedDate =
|
|
23044
|
+
contents.CreatedDate = __expectNonNull(__parseRfc3339DateTime(output["CreatedDate"]));
|
|
23037
23045
|
}
|
|
23038
23046
|
if (output["UpdatedDate"] !== undefined) {
|
|
23039
|
-
contents.UpdatedDate =
|
|
23047
|
+
contents.UpdatedDate = __expectNonNull(__parseRfc3339DateTime(output["UpdatedDate"]));
|
|
23040
23048
|
}
|
|
23041
23049
|
return contents;
|
|
23042
23050
|
};
|
|
@@ -23105,7 +23113,7 @@ const deserializeAws_queryDBProxyEndpoint = (output: any, context: __SerdeContex
|
|
|
23105
23113
|
contents.Endpoint = __expectString(output["Endpoint"]);
|
|
23106
23114
|
}
|
|
23107
23115
|
if (output["CreatedDate"] !== undefined) {
|
|
23108
|
-
contents.CreatedDate =
|
|
23116
|
+
contents.CreatedDate = __expectNonNull(__parseRfc3339DateTime(output["CreatedDate"]));
|
|
23109
23117
|
}
|
|
23110
23118
|
if (output["TargetRole"] !== undefined) {
|
|
23111
23119
|
contents.TargetRole = __expectString(output["TargetRole"]);
|
|
@@ -23224,7 +23232,7 @@ const deserializeAws_queryDBProxyTarget = (output: any, context: __SerdeContext)
|
|
|
23224
23232
|
contents.RdsResourceId = __expectString(output["RdsResourceId"]);
|
|
23225
23233
|
}
|
|
23226
23234
|
if (output["Port"] !== undefined) {
|
|
23227
|
-
contents.Port =
|
|
23235
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
23228
23236
|
}
|
|
23229
23237
|
if (output["Type"] !== undefined) {
|
|
23230
23238
|
contents.Type = __expectString(output["Type"]);
|
|
@@ -23284,10 +23292,10 @@ const deserializeAws_queryDBProxyTargetGroup = (output: any, context: __SerdeCon
|
|
|
23284
23292
|
);
|
|
23285
23293
|
}
|
|
23286
23294
|
if (output["CreatedDate"] !== undefined) {
|
|
23287
|
-
contents.CreatedDate =
|
|
23295
|
+
contents.CreatedDate = __expectNonNull(__parseRfc3339DateTime(output["CreatedDate"]));
|
|
23288
23296
|
}
|
|
23289
23297
|
if (output["UpdatedDate"] !== undefined) {
|
|
23290
|
-
contents.UpdatedDate =
|
|
23298
|
+
contents.UpdatedDate = __expectNonNull(__parseRfc3339DateTime(output["UpdatedDate"]));
|
|
23291
23299
|
}
|
|
23292
23300
|
return contents;
|
|
23293
23301
|
};
|
|
@@ -23515,19 +23523,19 @@ const deserializeAws_queryDBSnapshot = (output: any, context: __SerdeContext): D
|
|
|
23515
23523
|
contents.DBInstanceIdentifier = __expectString(output["DBInstanceIdentifier"]);
|
|
23516
23524
|
}
|
|
23517
23525
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
23518
|
-
contents.SnapshotCreateTime =
|
|
23526
|
+
contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
23519
23527
|
}
|
|
23520
23528
|
if (output["Engine"] !== undefined) {
|
|
23521
23529
|
contents.Engine = __expectString(output["Engine"]);
|
|
23522
23530
|
}
|
|
23523
23531
|
if (output["AllocatedStorage"] !== undefined) {
|
|
23524
|
-
contents.AllocatedStorage =
|
|
23532
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number;
|
|
23525
23533
|
}
|
|
23526
23534
|
if (output["Status"] !== undefined) {
|
|
23527
23535
|
contents.Status = __expectString(output["Status"]);
|
|
23528
23536
|
}
|
|
23529
23537
|
if (output["Port"] !== undefined) {
|
|
23530
|
-
contents.Port =
|
|
23538
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
23531
23539
|
}
|
|
23532
23540
|
if (output["AvailabilityZone"] !== undefined) {
|
|
23533
23541
|
contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
|
|
@@ -23536,7 +23544,7 @@ const deserializeAws_queryDBSnapshot = (output: any, context: __SerdeContext): D
|
|
|
23536
23544
|
contents.VpcId = __expectString(output["VpcId"]);
|
|
23537
23545
|
}
|
|
23538
23546
|
if (output["InstanceCreateTime"] !== undefined) {
|
|
23539
|
-
contents.InstanceCreateTime =
|
|
23547
|
+
contents.InstanceCreateTime = __expectNonNull(__parseRfc3339DateTime(output["InstanceCreateTime"]));
|
|
23540
23548
|
}
|
|
23541
23549
|
if (output["MasterUsername"] !== undefined) {
|
|
23542
23550
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -23551,13 +23559,13 @@ const deserializeAws_queryDBSnapshot = (output: any, context: __SerdeContext): D
|
|
|
23551
23559
|
contents.SnapshotType = __expectString(output["SnapshotType"]);
|
|
23552
23560
|
}
|
|
23553
23561
|
if (output["Iops"] !== undefined) {
|
|
23554
|
-
contents.Iops =
|
|
23562
|
+
contents.Iops = __strictParseInt32(output["Iops"]) as number;
|
|
23555
23563
|
}
|
|
23556
23564
|
if (output["OptionGroupName"] !== undefined) {
|
|
23557
23565
|
contents.OptionGroupName = __expectString(output["OptionGroupName"]);
|
|
23558
23566
|
}
|
|
23559
23567
|
if (output["PercentProgress"] !== undefined) {
|
|
23560
|
-
contents.PercentProgress =
|
|
23568
|
+
contents.PercentProgress = __strictParseInt32(output["PercentProgress"]) as number;
|
|
23561
23569
|
}
|
|
23562
23570
|
if (output["SourceRegion"] !== undefined) {
|
|
23563
23571
|
contents.SourceRegion = __expectString(output["SourceRegion"]);
|
|
@@ -23605,7 +23613,7 @@ const deserializeAws_queryDBSnapshot = (output: any, context: __SerdeContext): D
|
|
|
23605
23613
|
contents.TagList = deserializeAws_queryTagList(__getArrayIfSingleItem(output["TagList"]["Tag"]), context);
|
|
23606
23614
|
}
|
|
23607
23615
|
if (output["OriginalSnapshotCreateTime"] !== undefined) {
|
|
23608
|
-
contents.OriginalSnapshotCreateTime =
|
|
23616
|
+
contents.OriginalSnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["OriginalSnapshotCreateTime"]));
|
|
23609
23617
|
}
|
|
23610
23618
|
return contents;
|
|
23611
23619
|
};
|
|
@@ -24037,10 +24045,10 @@ const deserializeAws_queryDescribeDBLogFilesDetails = (
|
|
|
24037
24045
|
contents.LogFileName = __expectString(output["LogFileName"]);
|
|
24038
24046
|
}
|
|
24039
24047
|
if (output["LastWritten"] !== undefined) {
|
|
24040
|
-
contents.LastWritten =
|
|
24048
|
+
contents.LastWritten = __strictParseLong(output["LastWritten"]) as number;
|
|
24041
24049
|
}
|
|
24042
24050
|
if (output["Size"] !== undefined) {
|
|
24043
|
-
contents.Size =
|
|
24051
|
+
contents.Size = __strictParseLong(output["Size"]) as number;
|
|
24044
24052
|
}
|
|
24045
24053
|
return contents;
|
|
24046
24054
|
};
|
|
@@ -24364,7 +24372,7 @@ const deserializeAws_queryEndpoint = (output: any, context: __SerdeContext): End
|
|
|
24364
24372
|
contents.Address = __expectString(output["Address"]);
|
|
24365
24373
|
}
|
|
24366
24374
|
if (output["Port"] !== undefined) {
|
|
24367
|
-
contents.Port =
|
|
24375
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
24368
24376
|
}
|
|
24369
24377
|
if (output["HostedZoneId"] !== undefined) {
|
|
24370
24378
|
contents.HostedZoneId = __expectString(output["HostedZoneId"]);
|
|
@@ -24435,7 +24443,7 @@ const deserializeAws_queryEvent = (output: any, context: __SerdeContext): Event
|
|
|
24435
24443
|
);
|
|
24436
24444
|
}
|
|
24437
24445
|
if (output["Date"] !== undefined) {
|
|
24438
|
-
contents.Date =
|
|
24446
|
+
contents.Date = __expectNonNull(__parseRfc3339DateTime(output["Date"]));
|
|
24439
24447
|
}
|
|
24440
24448
|
if (output["SourceArn"] !== undefined) {
|
|
24441
24449
|
contents.SourceArn = __expectString(output["SourceArn"]);
|
|
@@ -24674,13 +24682,13 @@ const deserializeAws_queryExportTask = (output: any, context: __SerdeContext): E
|
|
|
24674
24682
|
);
|
|
24675
24683
|
}
|
|
24676
24684
|
if (output["SnapshotTime"] !== undefined) {
|
|
24677
|
-
contents.SnapshotTime =
|
|
24685
|
+
contents.SnapshotTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotTime"]));
|
|
24678
24686
|
}
|
|
24679
24687
|
if (output["TaskStartTime"] !== undefined) {
|
|
24680
|
-
contents.TaskStartTime =
|
|
24688
|
+
contents.TaskStartTime = __expectNonNull(__parseRfc3339DateTime(output["TaskStartTime"]));
|
|
24681
24689
|
}
|
|
24682
24690
|
if (output["TaskEndTime"] !== undefined) {
|
|
24683
|
-
contents.TaskEndTime =
|
|
24691
|
+
contents.TaskEndTime = __expectNonNull(__parseRfc3339DateTime(output["TaskEndTime"]));
|
|
24684
24692
|
}
|
|
24685
24693
|
if (output["S3Bucket"] !== undefined) {
|
|
24686
24694
|
contents.S3Bucket = __expectString(output["S3Bucket"]);
|
|
@@ -24698,10 +24706,10 @@ const deserializeAws_queryExportTask = (output: any, context: __SerdeContext): E
|
|
|
24698
24706
|
contents.Status = __expectString(output["Status"]);
|
|
24699
24707
|
}
|
|
24700
24708
|
if (output["PercentProgress"] !== undefined) {
|
|
24701
|
-
contents.PercentProgress =
|
|
24709
|
+
contents.PercentProgress = __strictParseInt32(output["PercentProgress"]) as number;
|
|
24702
24710
|
}
|
|
24703
24711
|
if (output["TotalExtractedDataInGB"] !== undefined) {
|
|
24704
|
-
contents.TotalExtractedDataInGB =
|
|
24712
|
+
contents.TotalExtractedDataInGB = __strictParseInt32(output["TotalExtractedDataInGB"]) as number;
|
|
24705
24713
|
}
|
|
24706
24714
|
if (output["FailureCause"] !== undefined) {
|
|
24707
24715
|
contents.FailureCause = __expectString(output["FailureCause"]);
|
|
@@ -25747,7 +25755,7 @@ const deserializeAws_queryOption = (output: any, context: __SerdeContext): Optio
|
|
|
25747
25755
|
contents.Permanent = __parseBoolean(output["Permanent"]);
|
|
25748
25756
|
}
|
|
25749
25757
|
if (output["Port"] !== undefined) {
|
|
25750
|
-
contents.Port =
|
|
25758
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
25751
25759
|
}
|
|
25752
25760
|
if (output["OptionVersion"] !== undefined) {
|
|
25753
25761
|
contents.OptionVersion = __expectString(output["OptionVersion"]);
|
|
@@ -25921,7 +25929,7 @@ const deserializeAws_queryOptionGroupOption = (output: any, context: __SerdeCont
|
|
|
25921
25929
|
contents.PortRequired = __parseBoolean(output["PortRequired"]);
|
|
25922
25930
|
}
|
|
25923
25931
|
if (output["DefaultPort"] !== undefined) {
|
|
25924
|
-
contents.DefaultPort =
|
|
25932
|
+
contents.DefaultPort = __strictParseInt32(output["DefaultPort"]) as number;
|
|
25925
25933
|
}
|
|
25926
25934
|
if (output.OptionsDependedOn === "") {
|
|
25927
25935
|
contents.OptionsDependedOn = [];
|
|
@@ -26325,16 +26333,16 @@ const deserializeAws_queryOrderableDBInstanceOption = (
|
|
|
26325
26333
|
contents.SupportsPerformanceInsights = __parseBoolean(output["SupportsPerformanceInsights"]);
|
|
26326
26334
|
}
|
|
26327
26335
|
if (output["MinStorageSize"] !== undefined) {
|
|
26328
|
-
contents.MinStorageSize =
|
|
26336
|
+
contents.MinStorageSize = __strictParseInt32(output["MinStorageSize"]) as number;
|
|
26329
26337
|
}
|
|
26330
26338
|
if (output["MaxStorageSize"] !== undefined) {
|
|
26331
|
-
contents.MaxStorageSize =
|
|
26339
|
+
contents.MaxStorageSize = __strictParseInt32(output["MaxStorageSize"]) as number;
|
|
26332
26340
|
}
|
|
26333
26341
|
if (output["MinIopsPerDbInstance"] !== undefined) {
|
|
26334
|
-
contents.MinIopsPerDbInstance =
|
|
26342
|
+
contents.MinIopsPerDbInstance = __strictParseInt32(output["MinIopsPerDbInstance"]) as number;
|
|
26335
26343
|
}
|
|
26336
26344
|
if (output["MaxIopsPerDbInstance"] !== undefined) {
|
|
26337
|
-
contents.MaxIopsPerDbInstance =
|
|
26345
|
+
contents.MaxIopsPerDbInstance = __strictParseInt32(output["MaxIopsPerDbInstance"]) as number;
|
|
26338
26346
|
}
|
|
26339
26347
|
if (output["MinIopsPerGib"] !== undefined) {
|
|
26340
26348
|
contents.MinIopsPerGib = __strictParseFloat(output["MinIopsPerGib"]) as number;
|
|
@@ -26552,16 +26560,16 @@ const deserializeAws_queryPendingMaintenanceAction = (
|
|
|
26552
26560
|
contents.Action = __expectString(output["Action"]);
|
|
26553
26561
|
}
|
|
26554
26562
|
if (output["AutoAppliedAfterDate"] !== undefined) {
|
|
26555
|
-
contents.AutoAppliedAfterDate =
|
|
26563
|
+
contents.AutoAppliedAfterDate = __expectNonNull(__parseRfc3339DateTime(output["AutoAppliedAfterDate"]));
|
|
26556
26564
|
}
|
|
26557
26565
|
if (output["ForcedApplyDate"] !== undefined) {
|
|
26558
|
-
contents.ForcedApplyDate =
|
|
26566
|
+
contents.ForcedApplyDate = __expectNonNull(__parseRfc3339DateTime(output["ForcedApplyDate"]));
|
|
26559
26567
|
}
|
|
26560
26568
|
if (output["OptInStatus"] !== undefined) {
|
|
26561
26569
|
contents.OptInStatus = __expectString(output["OptInStatus"]);
|
|
26562
26570
|
}
|
|
26563
26571
|
if (output["CurrentApplyDate"] !== undefined) {
|
|
26564
|
-
contents.CurrentApplyDate =
|
|
26572
|
+
contents.CurrentApplyDate = __expectNonNull(__parseRfc3339DateTime(output["CurrentApplyDate"]));
|
|
26565
26573
|
}
|
|
26566
26574
|
if (output["Description"] !== undefined) {
|
|
26567
26575
|
contents.Description = __expectString(output["Description"]);
|
|
@@ -26646,16 +26654,16 @@ const deserializeAws_queryPendingModifiedValues = (output: any, context: __Serde
|
|
|
26646
26654
|
contents.DBInstanceClass = __expectString(output["DBInstanceClass"]);
|
|
26647
26655
|
}
|
|
26648
26656
|
if (output["AllocatedStorage"] !== undefined) {
|
|
26649
|
-
contents.AllocatedStorage =
|
|
26657
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number;
|
|
26650
26658
|
}
|
|
26651
26659
|
if (output["MasterUserPassword"] !== undefined) {
|
|
26652
26660
|
contents.MasterUserPassword = __expectString(output["MasterUserPassword"]);
|
|
26653
26661
|
}
|
|
26654
26662
|
if (output["Port"] !== undefined) {
|
|
26655
|
-
contents.Port =
|
|
26663
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
26656
26664
|
}
|
|
26657
26665
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
26658
|
-
contents.BackupRetentionPeriod =
|
|
26666
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]) as number;
|
|
26659
26667
|
}
|
|
26660
26668
|
if (output["MultiAZ"] !== undefined) {
|
|
26661
26669
|
contents.MultiAZ = __parseBoolean(output["MultiAZ"]);
|
|
@@ -26667,7 +26675,7 @@ const deserializeAws_queryPendingModifiedValues = (output: any, context: __Serde
|
|
|
26667
26675
|
contents.LicenseModel = __expectString(output["LicenseModel"]);
|
|
26668
26676
|
}
|
|
26669
26677
|
if (output["Iops"] !== undefined) {
|
|
26670
|
-
contents.Iops =
|
|
26678
|
+
contents.Iops = __strictParseInt32(output["Iops"]) as number;
|
|
26671
26679
|
}
|
|
26672
26680
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
26673
26681
|
contents.DBInstanceIdentifier = __expectString(output["DBInstanceIdentifier"]);
|
|
@@ -26799,13 +26807,13 @@ const deserializeAws_queryRange = (output: any, context: __SerdeContext): Range
|
|
|
26799
26807
|
Step: undefined,
|
|
26800
26808
|
};
|
|
26801
26809
|
if (output["From"] !== undefined) {
|
|
26802
|
-
contents.From =
|
|
26810
|
+
contents.From = __strictParseInt32(output["From"]) as number;
|
|
26803
26811
|
}
|
|
26804
26812
|
if (output["To"] !== undefined) {
|
|
26805
|
-
contents.To =
|
|
26813
|
+
contents.To = __strictParseInt32(output["To"]) as number;
|
|
26806
26814
|
}
|
|
26807
26815
|
if (output["Step"] !== undefined) {
|
|
26808
|
-
contents.Step =
|
|
26816
|
+
contents.Step = __strictParseInt32(output["Step"]) as number;
|
|
26809
26817
|
}
|
|
26810
26818
|
return contents;
|
|
26811
26819
|
};
|
|
@@ -26974,10 +26982,10 @@ const deserializeAws_queryReservedDBInstance = (output: any, context: __SerdeCon
|
|
|
26974
26982
|
contents.DBInstanceClass = __expectString(output["DBInstanceClass"]);
|
|
26975
26983
|
}
|
|
26976
26984
|
if (output["StartTime"] !== undefined) {
|
|
26977
|
-
contents.StartTime =
|
|
26985
|
+
contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
|
|
26978
26986
|
}
|
|
26979
26987
|
if (output["Duration"] !== undefined) {
|
|
26980
|
-
contents.Duration =
|
|
26988
|
+
contents.Duration = __strictParseInt32(output["Duration"]) as number;
|
|
26981
26989
|
}
|
|
26982
26990
|
if (output["FixedPrice"] !== undefined) {
|
|
26983
26991
|
contents.FixedPrice = __strictParseFloat(output["FixedPrice"]) as number;
|
|
@@ -26989,7 +26997,7 @@ const deserializeAws_queryReservedDBInstance = (output: any, context: __SerdeCon
|
|
|
26989
26997
|
contents.CurrencyCode = __expectString(output["CurrencyCode"]);
|
|
26990
26998
|
}
|
|
26991
26999
|
if (output["DBInstanceCount"] !== undefined) {
|
|
26992
|
-
contents.DBInstanceCount =
|
|
27000
|
+
contents.DBInstanceCount = __strictParseInt32(output["DBInstanceCount"]) as number;
|
|
26993
27001
|
}
|
|
26994
27002
|
if (output["ProductDescription"] !== undefined) {
|
|
26995
27003
|
contents.ProductDescription = __expectString(output["ProductDescription"]);
|
|
@@ -27120,7 +27128,7 @@ const deserializeAws_queryReservedDBInstancesOffering = (
|
|
|
27120
27128
|
contents.DBInstanceClass = __expectString(output["DBInstanceClass"]);
|
|
27121
27129
|
}
|
|
27122
27130
|
if (output["Duration"] !== undefined) {
|
|
27123
|
-
contents.Duration =
|
|
27131
|
+
contents.Duration = __strictParseInt32(output["Duration"]) as number;
|
|
27124
27132
|
}
|
|
27125
27133
|
if (output["FixedPrice"] !== undefined) {
|
|
27126
27134
|
contents.FixedPrice = __strictParseFloat(output["FixedPrice"]) as number;
|
|
@@ -27325,10 +27333,10 @@ const deserializeAws_queryRestoreWindow = (output: any, context: __SerdeContext)
|
|
|
27325
27333
|
LatestTime: undefined,
|
|
27326
27334
|
};
|
|
27327
27335
|
if (output["EarliestTime"] !== undefined) {
|
|
27328
|
-
contents.EarliestTime =
|
|
27336
|
+
contents.EarliestTime = __expectNonNull(__parseRfc3339DateTime(output["EarliestTime"]));
|
|
27329
27337
|
}
|
|
27330
27338
|
if (output["LatestTime"] !== undefined) {
|
|
27331
|
-
contents.LatestTime =
|
|
27339
|
+
contents.LatestTime = __expectNonNull(__parseRfc3339DateTime(output["LatestTime"]));
|
|
27332
27340
|
}
|
|
27333
27341
|
return contents;
|
|
27334
27342
|
};
|
|
@@ -27356,22 +27364,26 @@ const deserializeAws_queryScalingConfigurationInfo = (
|
|
|
27356
27364
|
AutoPause: undefined,
|
|
27357
27365
|
SecondsUntilAutoPause: undefined,
|
|
27358
27366
|
TimeoutAction: undefined,
|
|
27367
|
+
SecondsBeforeTimeout: undefined,
|
|
27359
27368
|
};
|
|
27360
27369
|
if (output["MinCapacity"] !== undefined) {
|
|
27361
|
-
contents.MinCapacity =
|
|
27370
|
+
contents.MinCapacity = __strictParseInt32(output["MinCapacity"]) as number;
|
|
27362
27371
|
}
|
|
27363
27372
|
if (output["MaxCapacity"] !== undefined) {
|
|
27364
|
-
contents.MaxCapacity =
|
|
27373
|
+
contents.MaxCapacity = __strictParseInt32(output["MaxCapacity"]) as number;
|
|
27365
27374
|
}
|
|
27366
27375
|
if (output["AutoPause"] !== undefined) {
|
|
27367
27376
|
contents.AutoPause = __parseBoolean(output["AutoPause"]);
|
|
27368
27377
|
}
|
|
27369
27378
|
if (output["SecondsUntilAutoPause"] !== undefined) {
|
|
27370
|
-
contents.SecondsUntilAutoPause =
|
|
27379
|
+
contents.SecondsUntilAutoPause = __strictParseInt32(output["SecondsUntilAutoPause"]) as number;
|
|
27371
27380
|
}
|
|
27372
27381
|
if (output["TimeoutAction"] !== undefined) {
|
|
27373
27382
|
contents.TimeoutAction = __expectString(output["TimeoutAction"]);
|
|
27374
27383
|
}
|
|
27384
|
+
if (output["SecondsBeforeTimeout"] !== undefined) {
|
|
27385
|
+
contents.SecondsBeforeTimeout = __strictParseInt32(output["SecondsBeforeTimeout"]) as number;
|
|
27386
|
+
}
|
|
27375
27387
|
return contents;
|
|
27376
27388
|
};
|
|
27377
27389
|
|