@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.
- package/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +32 -32
- package/dist/cjs/protocols/Aws_query.js +66 -66
- package/dist/cjs/protocols/Aws_query.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +32 -32
- package/dist/es/protocols/Aws_query.js +67 -67
- package/dist/es/protocols/Aws_query.js.map +1 -1
- package/package.json +32 -32
- package/protocols/Aws_query.ts +82 -67
package/package.json
CHANGED
|
@@ -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.
|
|
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.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
58
|
-
"@aws-sdk/util-waiter": "3.
|
|
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.
|
|
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.
|
|
71
|
+
"typescript": "~4.3.5"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=10.0.0"
|
package/protocols/Aws_query.ts
CHANGED
|
@@ -776,13 +776,16 @@ import {
|
|
|
776
776
|
} from "../models/models_1";
|
|
777
777
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
778
778
|
import {
|
|
779
|
+
expectNonNull as __expectNonNull,
|
|
779
780
|
expectString as __expectString,
|
|
780
781
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
781
782
|
getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
782
783
|
getValueFromTextNode as __getValueFromTextNode,
|
|
783
784
|
parseBoolean as __parseBoolean,
|
|
785
|
+
parseRfc3339DateTime as __parseRfc3339DateTime,
|
|
784
786
|
strictParseFloat as __strictParseFloat,
|
|
785
|
-
|
|
787
|
+
strictParseInt32 as __strictParseInt32,
|
|
788
|
+
strictParseLong as __strictParseLong,
|
|
786
789
|
} from "@aws-sdk/smithy-client";
|
|
787
790
|
import {
|
|
788
791
|
Endpoint as __Endpoint,
|
|
@@ -16746,13 +16749,15 @@ const deserializeAws_queryCluster = (output: any, context: __SerdeContext): Clus
|
|
|
16746
16749
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
16747
16750
|
}
|
|
16748
16751
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
16749
|
-
contents.ClusterCreateTime =
|
|
16752
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
16750
16753
|
}
|
|
16751
16754
|
if (output["AutomatedSnapshotRetentionPeriod"] !== undefined) {
|
|
16752
|
-
contents.AutomatedSnapshotRetentionPeriod =
|
|
16755
|
+
contents.AutomatedSnapshotRetentionPeriod = __strictParseInt32(
|
|
16756
|
+
output["AutomatedSnapshotRetentionPeriod"]
|
|
16757
|
+
) as number;
|
|
16753
16758
|
}
|
|
16754
16759
|
if (output["ManualSnapshotRetentionPeriod"] !== undefined) {
|
|
16755
|
-
contents.ManualSnapshotRetentionPeriod =
|
|
16760
|
+
contents.ManualSnapshotRetentionPeriod = __strictParseInt32(output["ManualSnapshotRetentionPeriod"]) as number;
|
|
16756
16761
|
}
|
|
16757
16762
|
if (output.ClusterSecurityGroups === "") {
|
|
16758
16763
|
contents.ClusterSecurityGroups = [];
|
|
@@ -16812,7 +16817,7 @@ const deserializeAws_queryCluster = (output: any, context: __SerdeContext): Clus
|
|
|
16812
16817
|
contents.AllowVersionUpgrade = __parseBoolean(output["AllowVersionUpgrade"]);
|
|
16813
16818
|
}
|
|
16814
16819
|
if (output["NumberOfNodes"] !== undefined) {
|
|
16815
|
-
contents.NumberOfNodes =
|
|
16820
|
+
contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]) as number;
|
|
16816
16821
|
}
|
|
16817
16822
|
if (output["PubliclyAccessible"] !== undefined) {
|
|
16818
16823
|
contents.PubliclyAccessible = __parseBoolean(output["PubliclyAccessible"]);
|
|
@@ -16908,13 +16913,17 @@ const deserializeAws_queryCluster = (output: any, context: __SerdeContext): Clus
|
|
|
16908
16913
|
contents.SnapshotScheduleState = __expectString(output["SnapshotScheduleState"]);
|
|
16909
16914
|
}
|
|
16910
16915
|
if (output["ExpectedNextSnapshotScheduleTime"] !== undefined) {
|
|
16911
|
-
contents.ExpectedNextSnapshotScheduleTime =
|
|
16916
|
+
contents.ExpectedNextSnapshotScheduleTime = __expectNonNull(
|
|
16917
|
+
__parseRfc3339DateTime(output["ExpectedNextSnapshotScheduleTime"])
|
|
16918
|
+
);
|
|
16912
16919
|
}
|
|
16913
16920
|
if (output["ExpectedNextSnapshotScheduleTimeStatus"] !== undefined) {
|
|
16914
16921
|
contents.ExpectedNextSnapshotScheduleTimeStatus = __expectString(output["ExpectedNextSnapshotScheduleTimeStatus"]);
|
|
16915
16922
|
}
|
|
16916
16923
|
if (output["NextMaintenanceWindowStartTime"] !== undefined) {
|
|
16917
|
-
contents.NextMaintenanceWindowStartTime =
|
|
16924
|
+
contents.NextMaintenanceWindowStartTime = __expectNonNull(
|
|
16925
|
+
__parseRfc3339DateTime(output["NextMaintenanceWindowStartTime"])
|
|
16926
|
+
);
|
|
16918
16927
|
}
|
|
16919
16928
|
if (output["ResizeInfo"] !== undefined) {
|
|
16920
16929
|
contents.ResizeInfo = deserializeAws_queryResizeInfo(output["ResizeInfo"], context);
|
|
@@ -16926,7 +16935,7 @@ const deserializeAws_queryCluster = (output: any, context: __SerdeContext): Clus
|
|
|
16926
16935
|
contents.ClusterNamespaceArn = __expectString(output["ClusterNamespaceArn"]);
|
|
16927
16936
|
}
|
|
16928
16937
|
if (output["TotalStorageCapacityInMegaBytes"] !== undefined) {
|
|
16929
|
-
contents.TotalStorageCapacityInMegaBytes =
|
|
16938
|
+
contents.TotalStorageCapacityInMegaBytes = __strictParseLong(output["TotalStorageCapacityInMegaBytes"]) as number;
|
|
16930
16939
|
}
|
|
16931
16940
|
if (output["AquaConfiguration"] !== undefined) {
|
|
16932
16941
|
contents.AquaConfiguration = deserializeAws_queryAquaConfiguration(output["AquaConfiguration"], context);
|
|
@@ -16977,7 +16986,7 @@ const deserializeAws_queryClusterCredentials = (output: any, context: __SerdeCon
|
|
|
16977
16986
|
contents.DbPassword = __expectString(output["DbPassword"]);
|
|
16978
16987
|
}
|
|
16979
16988
|
if (output["Expiration"] !== undefined) {
|
|
16980
|
-
contents.Expiration =
|
|
16989
|
+
contents.Expiration = __expectNonNull(__parseRfc3339DateTime(output["Expiration"]));
|
|
16981
16990
|
}
|
|
16982
16991
|
return contents;
|
|
16983
16992
|
};
|
|
@@ -16996,7 +17005,9 @@ const deserializeAws_queryClusterDbRevision = (output: any, context: __SerdeCont
|
|
|
16996
17005
|
contents.CurrentDatabaseRevision = __expectString(output["CurrentDatabaseRevision"]);
|
|
16997
17006
|
}
|
|
16998
17007
|
if (output["DatabaseRevisionReleaseDate"] !== undefined) {
|
|
16999
|
-
contents.DatabaseRevisionReleaseDate =
|
|
17008
|
+
contents.DatabaseRevisionReleaseDate = __expectNonNull(
|
|
17009
|
+
__parseRfc3339DateTime(output["DatabaseRevisionReleaseDate"])
|
|
17010
|
+
);
|
|
17000
17011
|
}
|
|
17001
17012
|
if (output.RevisionTargets === "") {
|
|
17002
17013
|
contents.RevisionTargets = [];
|
|
@@ -17537,10 +17548,10 @@ const deserializeAws_queryClusterSnapshotCopyStatus = (
|
|
|
17537
17548
|
contents.DestinationRegion = __expectString(output["DestinationRegion"]);
|
|
17538
17549
|
}
|
|
17539
17550
|
if (output["RetentionPeriod"] !== undefined) {
|
|
17540
|
-
contents.RetentionPeriod =
|
|
17551
|
+
contents.RetentionPeriod = __strictParseLong(output["RetentionPeriod"]) as number;
|
|
17541
17552
|
}
|
|
17542
17553
|
if (output["ManualSnapshotRetentionPeriod"] !== undefined) {
|
|
17543
|
-
contents.ManualSnapshotRetentionPeriod =
|
|
17554
|
+
contents.ManualSnapshotRetentionPeriod = __strictParseInt32(output["ManualSnapshotRetentionPeriod"]) as number;
|
|
17544
17555
|
}
|
|
17545
17556
|
if (output["SnapshotCopyGrantName"] !== undefined) {
|
|
17546
17557
|
contents.SnapshotCopyGrantName = __expectString(output["SnapshotCopyGrantName"]);
|
|
@@ -17966,10 +17977,10 @@ const deserializeAws_queryDataShareAssociation = (output: any, context: __SerdeC
|
|
|
17966
17977
|
contents.Status = __expectString(output["Status"]);
|
|
17967
17978
|
}
|
|
17968
17979
|
if (output["CreatedDate"] !== undefined) {
|
|
17969
|
-
contents.CreatedDate =
|
|
17980
|
+
contents.CreatedDate = __expectNonNull(__parseRfc3339DateTime(output["CreatedDate"]));
|
|
17970
17981
|
}
|
|
17971
17982
|
if (output["StatusChangeDate"] !== undefined) {
|
|
17972
|
-
contents.StatusChangeDate =
|
|
17983
|
+
contents.StatusChangeDate = __expectNonNull(__parseRfc3339DateTime(output["StatusChangeDate"]));
|
|
17973
17984
|
}
|
|
17974
17985
|
return contents;
|
|
17975
17986
|
};
|
|
@@ -18012,18 +18023,18 @@ const deserializeAws_queryDataTransferProgress = (output: any, context: __SerdeC
|
|
|
18012
18023
|
contents.CurrentRateInMegaBytesPerSecond = __strictParseFloat(output["CurrentRateInMegaBytesPerSecond"]) as number;
|
|
18013
18024
|
}
|
|
18014
18025
|
if (output["TotalDataInMegaBytes"] !== undefined) {
|
|
18015
|
-
contents.TotalDataInMegaBytes =
|
|
18026
|
+
contents.TotalDataInMegaBytes = __strictParseLong(output["TotalDataInMegaBytes"]) as number;
|
|
18016
18027
|
}
|
|
18017
18028
|
if (output["DataTransferredInMegaBytes"] !== undefined) {
|
|
18018
|
-
contents.DataTransferredInMegaBytes =
|
|
18029
|
+
contents.DataTransferredInMegaBytes = __strictParseLong(output["DataTransferredInMegaBytes"]) as number;
|
|
18019
18030
|
}
|
|
18020
18031
|
if (output["EstimatedTimeToCompletionInSeconds"] !== undefined) {
|
|
18021
|
-
contents.EstimatedTimeToCompletionInSeconds =
|
|
18032
|
+
contents.EstimatedTimeToCompletionInSeconds = __strictParseLong(
|
|
18022
18033
|
output["EstimatedTimeToCompletionInSeconds"]
|
|
18023
18034
|
) as number;
|
|
18024
18035
|
}
|
|
18025
18036
|
if (output["ElapsedTimeInSeconds"] !== undefined) {
|
|
18026
|
-
contents.ElapsedTimeInSeconds =
|
|
18037
|
+
contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]) as number;
|
|
18027
18038
|
}
|
|
18028
18039
|
return contents;
|
|
18029
18040
|
};
|
|
@@ -18068,10 +18079,10 @@ const deserializeAws_queryDeferredMaintenanceWindow = (
|
|
|
18068
18079
|
contents.DeferMaintenanceIdentifier = __expectString(output["DeferMaintenanceIdentifier"]);
|
|
18069
18080
|
}
|
|
18070
18081
|
if (output["DeferMaintenanceStartTime"] !== undefined) {
|
|
18071
|
-
contents.DeferMaintenanceStartTime =
|
|
18082
|
+
contents.DeferMaintenanceStartTime = __expectNonNull(__parseRfc3339DateTime(output["DeferMaintenanceStartTime"]));
|
|
18072
18083
|
}
|
|
18073
18084
|
if (output["DeferMaintenanceEndTime"] !== undefined) {
|
|
18074
|
-
contents.DeferMaintenanceEndTime =
|
|
18085
|
+
contents.DeferMaintenanceEndTime = __expectNonNull(__parseRfc3339DateTime(output["DeferMaintenanceEndTime"]));
|
|
18075
18086
|
}
|
|
18076
18087
|
return contents;
|
|
18077
18088
|
};
|
|
@@ -18398,7 +18409,7 @@ const deserializeAws_queryEndpoint = (output: any, context: __SerdeContext): End
|
|
|
18398
18409
|
contents.Address = __expectString(output["Address"]);
|
|
18399
18410
|
}
|
|
18400
18411
|
if (output["Port"] !== undefined) {
|
|
18401
|
-
contents.Port =
|
|
18412
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
18402
18413
|
}
|
|
18403
18414
|
if (output.VpcEndpoints === "") {
|
|
18404
18415
|
contents.VpcEndpoints = [];
|
|
@@ -18441,10 +18452,10 @@ const deserializeAws_queryEndpointAccess = (output: any, context: __SerdeContext
|
|
|
18441
18452
|
contents.EndpointName = __expectString(output["EndpointName"]);
|
|
18442
18453
|
}
|
|
18443
18454
|
if (output["EndpointCreateTime"] !== undefined) {
|
|
18444
|
-
contents.EndpointCreateTime =
|
|
18455
|
+
contents.EndpointCreateTime = __expectNonNull(__parseRfc3339DateTime(output["EndpointCreateTime"]));
|
|
18445
18456
|
}
|
|
18446
18457
|
if (output["Port"] !== undefined) {
|
|
18447
|
-
contents.Port =
|
|
18458
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
18448
18459
|
}
|
|
18449
18460
|
if (output["Address"] !== undefined) {
|
|
18450
18461
|
contents.Address = __expectString(output["Address"]);
|
|
@@ -18530,7 +18541,7 @@ const deserializeAws_queryEndpointAuthorization = (output: any, context: __Serde
|
|
|
18530
18541
|
contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
|
|
18531
18542
|
}
|
|
18532
18543
|
if (output["AuthorizeTime"] !== undefined) {
|
|
18533
|
-
contents.AuthorizeTime =
|
|
18544
|
+
contents.AuthorizeTime = __expectNonNull(__parseRfc3339DateTime(output["AuthorizeTime"]));
|
|
18534
18545
|
}
|
|
18535
18546
|
if (output["ClusterStatus"] !== undefined) {
|
|
18536
18547
|
contents.ClusterStatus = __expectString(output["ClusterStatus"]);
|
|
@@ -18551,7 +18562,7 @@ const deserializeAws_queryEndpointAuthorization = (output: any, context: __Serde
|
|
|
18551
18562
|
);
|
|
18552
18563
|
}
|
|
18553
18564
|
if (output["EndpointCount"] !== undefined) {
|
|
18554
|
-
contents.EndpointCount =
|
|
18565
|
+
contents.EndpointCount = __strictParseInt32(output["EndpointCount"]) as number;
|
|
18555
18566
|
}
|
|
18556
18567
|
return contents;
|
|
18557
18568
|
};
|
|
@@ -18700,7 +18711,7 @@ const deserializeAws_queryEvent = (output: any, context: __SerdeContext): Event
|
|
|
18700
18711
|
contents.Severity = __expectString(output["Severity"]);
|
|
18701
18712
|
}
|
|
18702
18713
|
if (output["Date"] !== undefined) {
|
|
18703
|
-
contents.Date =
|
|
18714
|
+
contents.Date = __expectNonNull(__parseRfc3339DateTime(output["Date"]));
|
|
18704
18715
|
}
|
|
18705
18716
|
if (output["EventId"] !== undefined) {
|
|
18706
18717
|
contents.EventId = __expectString(output["EventId"]);
|
|
@@ -18863,7 +18874,7 @@ const deserializeAws_queryEventSubscription = (output: any, context: __SerdeCont
|
|
|
18863
18874
|
contents.Status = __expectString(output["Status"]);
|
|
18864
18875
|
}
|
|
18865
18876
|
if (output["SubscriptionCreationTime"] !== undefined) {
|
|
18866
|
-
contents.SubscriptionCreationTime =
|
|
18877
|
+
contents.SubscriptionCreationTime = __expectNonNull(__parseRfc3339DateTime(output["SubscriptionCreationTime"]));
|
|
18867
18878
|
}
|
|
18868
18879
|
if (output["SourceType"] !== undefined) {
|
|
18869
18880
|
contents.SourceType = __expectString(output["SourceType"]);
|
|
@@ -19700,10 +19711,10 @@ const deserializeAws_queryLoggingStatus = (output: any, context: __SerdeContext)
|
|
|
19700
19711
|
contents.S3KeyPrefix = __expectString(output["S3KeyPrefix"]);
|
|
19701
19712
|
}
|
|
19702
19713
|
if (output["LastSuccessfulDeliveryTime"] !== undefined) {
|
|
19703
|
-
contents.LastSuccessfulDeliveryTime =
|
|
19714
|
+
contents.LastSuccessfulDeliveryTime = __expectNonNull(__parseRfc3339DateTime(output["LastSuccessfulDeliveryTime"]));
|
|
19704
19715
|
}
|
|
19705
19716
|
if (output["LastFailureTime"] !== undefined) {
|
|
19706
|
-
contents.LastFailureTime =
|
|
19717
|
+
contents.LastFailureTime = __expectNonNull(__parseRfc3339DateTime(output["LastFailureTime"]));
|
|
19707
19718
|
}
|
|
19708
19719
|
if (output["LastFailureMessage"] !== undefined) {
|
|
19709
19720
|
contents.LastFailureMessage = __expectString(output["LastFailureMessage"]);
|
|
@@ -19907,7 +19918,7 @@ const deserializeAws_queryNodeConfigurationOption = (output: any, context: __Ser
|
|
|
19907
19918
|
contents.NodeType = __expectString(output["NodeType"]);
|
|
19908
19919
|
}
|
|
19909
19920
|
if (output["NumberOfNodes"] !== undefined) {
|
|
19910
|
-
contents.NumberOfNodes =
|
|
19921
|
+
contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]) as number;
|
|
19911
19922
|
}
|
|
19912
19923
|
if (output["EstimatedDiskUtilizationPercent"] !== undefined) {
|
|
19913
19924
|
contents.EstimatedDiskUtilizationPercent = __strictParseFloat(output["EstimatedDiskUtilizationPercent"]) as number;
|
|
@@ -20138,10 +20149,10 @@ const deserializeAws_queryPartnerIntegrationInfo = (output: any, context: __Serd
|
|
|
20138
20149
|
contents.StatusMessage = __expectString(output["StatusMessage"]);
|
|
20139
20150
|
}
|
|
20140
20151
|
if (output["CreatedAt"] !== undefined) {
|
|
20141
|
-
contents.CreatedAt =
|
|
20152
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTime(output["CreatedAt"]));
|
|
20142
20153
|
}
|
|
20143
20154
|
if (output["UpdatedAt"] !== undefined) {
|
|
20144
|
-
contents.UpdatedAt =
|
|
20155
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTime(output["UpdatedAt"]));
|
|
20145
20156
|
}
|
|
20146
20157
|
return contents;
|
|
20147
20158
|
};
|
|
@@ -20239,7 +20250,7 @@ const deserializeAws_queryPendingModifiedValues = (output: any, context: __Serde
|
|
|
20239
20250
|
contents.NodeType = __expectString(output["NodeType"]);
|
|
20240
20251
|
}
|
|
20241
20252
|
if (output["NumberOfNodes"] !== undefined) {
|
|
20242
|
-
contents.NumberOfNodes =
|
|
20253
|
+
contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]) as number;
|
|
20243
20254
|
}
|
|
20244
20255
|
if (output["ClusterType"] !== undefined) {
|
|
20245
20256
|
contents.ClusterType = __expectString(output["ClusterType"]);
|
|
@@ -20248,7 +20259,9 @@ const deserializeAws_queryPendingModifiedValues = (output: any, context: __Serde
|
|
|
20248
20259
|
contents.ClusterVersion = __expectString(output["ClusterVersion"]);
|
|
20249
20260
|
}
|
|
20250
20261
|
if (output["AutomatedSnapshotRetentionPeriod"] !== undefined) {
|
|
20251
|
-
contents.AutomatedSnapshotRetentionPeriod =
|
|
20262
|
+
contents.AutomatedSnapshotRetentionPeriod = __strictParseInt32(
|
|
20263
|
+
output["AutomatedSnapshotRetentionPeriod"]
|
|
20264
|
+
) as number;
|
|
20252
20265
|
}
|
|
20253
20266
|
if (output["ClusterIdentifier"] !== undefined) {
|
|
20254
20267
|
contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
|
|
@@ -20342,10 +20355,10 @@ const deserializeAws_queryReservedNode = (output: any, context: __SerdeContext):
|
|
|
20342
20355
|
contents.NodeType = __expectString(output["NodeType"]);
|
|
20343
20356
|
}
|
|
20344
20357
|
if (output["StartTime"] !== undefined) {
|
|
20345
|
-
contents.StartTime =
|
|
20358
|
+
contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
|
|
20346
20359
|
}
|
|
20347
20360
|
if (output["Duration"] !== undefined) {
|
|
20348
|
-
contents.Duration =
|
|
20361
|
+
contents.Duration = __strictParseInt32(output["Duration"]) as number;
|
|
20349
20362
|
}
|
|
20350
20363
|
if (output["FixedPrice"] !== undefined) {
|
|
20351
20364
|
contents.FixedPrice = __strictParseFloat(output["FixedPrice"]) as number;
|
|
@@ -20357,7 +20370,7 @@ const deserializeAws_queryReservedNode = (output: any, context: __SerdeContext):
|
|
|
20357
20370
|
contents.CurrencyCode = __expectString(output["CurrencyCode"]);
|
|
20358
20371
|
}
|
|
20359
20372
|
if (output["NodeCount"] !== undefined) {
|
|
20360
|
-
contents.NodeCount =
|
|
20373
|
+
contents.NodeCount = __strictParseInt32(output["NodeCount"]) as number;
|
|
20361
20374
|
}
|
|
20362
20375
|
if (output["State"] !== undefined) {
|
|
20363
20376
|
contents.State = __expectString(output["State"]);
|
|
@@ -20449,7 +20462,7 @@ const deserializeAws_queryReservedNodeOffering = (output: any, context: __SerdeC
|
|
|
20449
20462
|
contents.NodeType = __expectString(output["NodeType"]);
|
|
20450
20463
|
}
|
|
20451
20464
|
if (output["Duration"] !== undefined) {
|
|
20452
|
-
contents.Duration =
|
|
20465
|
+
contents.Duration = __strictParseInt32(output["Duration"]) as number;
|
|
20453
20466
|
}
|
|
20454
20467
|
if (output["FixedPrice"] !== undefined) {
|
|
20455
20468
|
contents.FixedPrice = __strictParseFloat(output["FixedPrice"]) as number;
|
|
@@ -20579,7 +20592,7 @@ const deserializeAws_queryResizeClusterMessage = (output: any, context: __SerdeC
|
|
|
20579
20592
|
contents.NodeType = __expectString(output["NodeType"]);
|
|
20580
20593
|
}
|
|
20581
20594
|
if (output["NumberOfNodes"] !== undefined) {
|
|
20582
|
-
contents.NumberOfNodes =
|
|
20595
|
+
contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]) as number;
|
|
20583
20596
|
}
|
|
20584
20597
|
if (output["Classic"] !== undefined) {
|
|
20585
20598
|
contents.Classic = __parseBoolean(output["Classic"]);
|
|
@@ -20644,7 +20657,7 @@ const deserializeAws_queryResizeProgressMessage = (output: any, context: __Serde
|
|
|
20644
20657
|
contents.TargetNodeType = __expectString(output["TargetNodeType"]);
|
|
20645
20658
|
}
|
|
20646
20659
|
if (output["TargetNumberOfNodes"] !== undefined) {
|
|
20647
|
-
contents.TargetNumberOfNodes =
|
|
20660
|
+
contents.TargetNumberOfNodes = __strictParseInt32(output["TargetNumberOfNodes"]) as number;
|
|
20648
20661
|
}
|
|
20649
20662
|
if (output["TargetClusterType"] !== undefined) {
|
|
20650
20663
|
contents.TargetClusterType = __expectString(output["TargetClusterType"]);
|
|
@@ -20685,16 +20698,16 @@ const deserializeAws_queryResizeProgressMessage = (output: any, context: __Serde
|
|
|
20685
20698
|
) as number;
|
|
20686
20699
|
}
|
|
20687
20700
|
if (output["TotalResizeDataInMegaBytes"] !== undefined) {
|
|
20688
|
-
contents.TotalResizeDataInMegaBytes =
|
|
20701
|
+
contents.TotalResizeDataInMegaBytes = __strictParseLong(output["TotalResizeDataInMegaBytes"]) as number;
|
|
20689
20702
|
}
|
|
20690
20703
|
if (output["ProgressInMegaBytes"] !== undefined) {
|
|
20691
|
-
contents.ProgressInMegaBytes =
|
|
20704
|
+
contents.ProgressInMegaBytes = __strictParseLong(output["ProgressInMegaBytes"]) as number;
|
|
20692
20705
|
}
|
|
20693
20706
|
if (output["ElapsedTimeInSeconds"] !== undefined) {
|
|
20694
|
-
contents.ElapsedTimeInSeconds =
|
|
20707
|
+
contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]) as number;
|
|
20695
20708
|
}
|
|
20696
20709
|
if (output["EstimatedTimeToCompletionInSeconds"] !== undefined) {
|
|
20697
|
-
contents.EstimatedTimeToCompletionInSeconds =
|
|
20710
|
+
contents.EstimatedTimeToCompletionInSeconds = __strictParseLong(
|
|
20698
20711
|
output["EstimatedTimeToCompletionInSeconds"]
|
|
20699
20712
|
) as number;
|
|
20700
20713
|
}
|
|
@@ -20765,16 +20778,16 @@ const deserializeAws_queryRestoreStatus = (output: any, context: __SerdeContext)
|
|
|
20765
20778
|
) as number;
|
|
20766
20779
|
}
|
|
20767
20780
|
if (output["SnapshotSizeInMegaBytes"] !== undefined) {
|
|
20768
|
-
contents.SnapshotSizeInMegaBytes =
|
|
20781
|
+
contents.SnapshotSizeInMegaBytes = __strictParseLong(output["SnapshotSizeInMegaBytes"]) as number;
|
|
20769
20782
|
}
|
|
20770
20783
|
if (output["ProgressInMegaBytes"] !== undefined) {
|
|
20771
|
-
contents.ProgressInMegaBytes =
|
|
20784
|
+
contents.ProgressInMegaBytes = __strictParseLong(output["ProgressInMegaBytes"]) as number;
|
|
20772
20785
|
}
|
|
20773
20786
|
if (output["ElapsedTimeInSeconds"] !== undefined) {
|
|
20774
|
-
contents.ElapsedTimeInSeconds =
|
|
20787
|
+
contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]) as number;
|
|
20775
20788
|
}
|
|
20776
20789
|
if (output["EstimatedTimeToCompletionInSeconds"] !== undefined) {
|
|
20777
|
-
contents.EstimatedTimeToCompletionInSeconds =
|
|
20790
|
+
contents.EstimatedTimeToCompletionInSeconds = __strictParseLong(
|
|
20778
20791
|
output["EstimatedTimeToCompletionInSeconds"]
|
|
20779
20792
|
) as number;
|
|
20780
20793
|
}
|
|
@@ -20827,7 +20840,9 @@ const deserializeAws_queryRevisionTarget = (output: any, context: __SerdeContext
|
|
|
20827
20840
|
contents.Description = __expectString(output["Description"]);
|
|
20828
20841
|
}
|
|
20829
20842
|
if (output["DatabaseRevisionReleaseDate"] !== undefined) {
|
|
20830
|
-
contents.DatabaseRevisionReleaseDate =
|
|
20843
|
+
contents.DatabaseRevisionReleaseDate = __expectNonNull(
|
|
20844
|
+
__parseRfc3339DateTime(output["DatabaseRevisionReleaseDate"])
|
|
20845
|
+
);
|
|
20831
20846
|
}
|
|
20832
20847
|
return contents;
|
|
20833
20848
|
};
|
|
@@ -20922,10 +20937,10 @@ const deserializeAws_queryScheduledAction = (output: any, context: __SerdeContex
|
|
|
20922
20937
|
);
|
|
20923
20938
|
}
|
|
20924
20939
|
if (output["StartTime"] !== undefined) {
|
|
20925
|
-
contents.StartTime =
|
|
20940
|
+
contents.StartTime = __expectNonNull(__parseRfc3339DateTime(output["StartTime"]));
|
|
20926
20941
|
}
|
|
20927
20942
|
if (output["EndTime"] !== undefined) {
|
|
20928
|
-
contents.EndTime =
|
|
20943
|
+
contents.EndTime = __expectNonNull(__parseRfc3339DateTime(output["EndTime"]));
|
|
20929
20944
|
}
|
|
20930
20945
|
return contents;
|
|
20931
20946
|
};
|
|
@@ -21007,7 +21022,7 @@ const deserializeAws_queryScheduledActionTimeList = (output: any, context: __Ser
|
|
|
21007
21022
|
if (entry === null) {
|
|
21008
21023
|
return null as any;
|
|
21009
21024
|
}
|
|
21010
|
-
return
|
|
21025
|
+
return __expectNonNull(__parseRfc3339DateTime(entry));
|
|
21011
21026
|
});
|
|
21012
21027
|
};
|
|
21013
21028
|
|
|
@@ -21073,7 +21088,7 @@ const deserializeAws_queryScheduledSnapshotTimeList = (output: any, context: __S
|
|
|
21073
21088
|
if (entry === null) {
|
|
21074
21089
|
return null as any;
|
|
21075
21090
|
}
|
|
21076
|
-
return
|
|
21091
|
+
return __expectNonNull(__parseRfc3339DateTime(entry));
|
|
21077
21092
|
});
|
|
21078
21093
|
};
|
|
21079
21094
|
|
|
@@ -21121,19 +21136,19 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
21121
21136
|
contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
|
|
21122
21137
|
}
|
|
21123
21138
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
21124
|
-
contents.SnapshotCreateTime =
|
|
21139
|
+
contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotCreateTime"]));
|
|
21125
21140
|
}
|
|
21126
21141
|
if (output["Status"] !== undefined) {
|
|
21127
21142
|
contents.Status = __expectString(output["Status"]);
|
|
21128
21143
|
}
|
|
21129
21144
|
if (output["Port"] !== undefined) {
|
|
21130
|
-
contents.Port =
|
|
21145
|
+
contents.Port = __strictParseInt32(output["Port"]) as number;
|
|
21131
21146
|
}
|
|
21132
21147
|
if (output["AvailabilityZone"] !== undefined) {
|
|
21133
21148
|
contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
|
|
21134
21149
|
}
|
|
21135
21150
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
21136
|
-
contents.ClusterCreateTime =
|
|
21151
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTime(output["ClusterCreateTime"]));
|
|
21137
21152
|
}
|
|
21138
21153
|
if (output["MasterUsername"] !== undefined) {
|
|
21139
21154
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -21151,7 +21166,7 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
21151
21166
|
contents.NodeType = __expectString(output["NodeType"]);
|
|
21152
21167
|
}
|
|
21153
21168
|
if (output["NumberOfNodes"] !== undefined) {
|
|
21154
|
-
contents.NumberOfNodes =
|
|
21169
|
+
contents.NumberOfNodes = __strictParseInt32(output["NumberOfNodes"]) as number;
|
|
21155
21170
|
}
|
|
21156
21171
|
if (output["DBName"] !== undefined) {
|
|
21157
21172
|
contents.DBName = __expectString(output["DBName"]);
|
|
@@ -21200,10 +21215,10 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
21200
21215
|
) as number;
|
|
21201
21216
|
}
|
|
21202
21217
|
if (output["EstimatedSecondsToCompletion"] !== undefined) {
|
|
21203
|
-
contents.EstimatedSecondsToCompletion =
|
|
21218
|
+
contents.EstimatedSecondsToCompletion = __strictParseLong(output["EstimatedSecondsToCompletion"]) as number;
|
|
21204
21219
|
}
|
|
21205
21220
|
if (output["ElapsedTimeInSeconds"] !== undefined) {
|
|
21206
|
-
contents.ElapsedTimeInSeconds =
|
|
21221
|
+
contents.ElapsedTimeInSeconds = __strictParseLong(output["ElapsedTimeInSeconds"]) as number;
|
|
21207
21222
|
}
|
|
21208
21223
|
if (output["SourceRegion"] !== undefined) {
|
|
21209
21224
|
contents.SourceRegion = __expectString(output["SourceRegion"]);
|
|
@@ -21230,13 +21245,13 @@ const deserializeAws_querySnapshot = (output: any, context: __SerdeContext): Sna
|
|
|
21230
21245
|
contents.MaintenanceTrackName = __expectString(output["MaintenanceTrackName"]);
|
|
21231
21246
|
}
|
|
21232
21247
|
if (output["ManualSnapshotRetentionPeriod"] !== undefined) {
|
|
21233
|
-
contents.ManualSnapshotRetentionPeriod =
|
|
21248
|
+
contents.ManualSnapshotRetentionPeriod = __strictParseInt32(output["ManualSnapshotRetentionPeriod"]) as number;
|
|
21234
21249
|
}
|
|
21235
21250
|
if (output["ManualSnapshotRemainingDays"] !== undefined) {
|
|
21236
|
-
contents.ManualSnapshotRemainingDays =
|
|
21251
|
+
contents.ManualSnapshotRemainingDays = __strictParseInt32(output["ManualSnapshotRemainingDays"]) as number;
|
|
21237
21252
|
}
|
|
21238
21253
|
if (output["SnapshotRetentionStartTime"] !== undefined) {
|
|
21239
|
-
contents.SnapshotRetentionStartTime =
|
|
21254
|
+
contents.SnapshotRetentionStartTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotRetentionStartTime"]));
|
|
21240
21255
|
}
|
|
21241
21256
|
return contents;
|
|
21242
21257
|
};
|
|
@@ -21482,7 +21497,7 @@ const deserializeAws_querySnapshotSchedule = (output: any, context: __SerdeConte
|
|
|
21482
21497
|
);
|
|
21483
21498
|
}
|
|
21484
21499
|
if (output["AssociatedClusterCount"] !== undefined) {
|
|
21485
|
-
contents.AssociatedClusterCount =
|
|
21500
|
+
contents.AssociatedClusterCount = __strictParseInt32(output["AssociatedClusterCount"]) as number;
|
|
21486
21501
|
}
|
|
21487
21502
|
if (output.AssociatedClusters === "") {
|
|
21488
21503
|
contents.AssociatedClusters = [];
|
|
@@ -21812,13 +21827,13 @@ const deserializeAws_queryTableRestoreStatus = (output: any, context: __SerdeCon
|
|
|
21812
21827
|
contents.Message = __expectString(output["Message"]);
|
|
21813
21828
|
}
|
|
21814
21829
|
if (output["RequestTime"] !== undefined) {
|
|
21815
|
-
contents.RequestTime =
|
|
21830
|
+
contents.RequestTime = __expectNonNull(__parseRfc3339DateTime(output["RequestTime"]));
|
|
21816
21831
|
}
|
|
21817
21832
|
if (output["ProgressInMegaBytes"] !== undefined) {
|
|
21818
|
-
contents.ProgressInMegaBytes =
|
|
21833
|
+
contents.ProgressInMegaBytes = __strictParseLong(output["ProgressInMegaBytes"]) as number;
|
|
21819
21834
|
}
|
|
21820
21835
|
if (output["TotalDataInMegaBytes"] !== undefined) {
|
|
21821
|
-
contents.TotalDataInMegaBytes =
|
|
21836
|
+
contents.TotalDataInMegaBytes = __strictParseLong(output["TotalDataInMegaBytes"]) as number;
|
|
21822
21837
|
}
|
|
21823
21838
|
if (output["ClusterIdentifier"] !== undefined) {
|
|
21824
21839
|
contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
|
|
@@ -22112,7 +22127,7 @@ const deserializeAws_queryUsageLimit = (output: any, context: __SerdeContext): U
|
|
|
22112
22127
|
contents.LimitType = __expectString(output["LimitType"]);
|
|
22113
22128
|
}
|
|
22114
22129
|
if (output["Amount"] !== undefined) {
|
|
22115
|
-
contents.Amount =
|
|
22130
|
+
contents.Amount = __strictParseLong(output["Amount"]) as number;
|
|
22116
22131
|
}
|
|
22117
22132
|
if (output["Period"] !== undefined) {
|
|
22118
22133
|
contents.Period = __expectString(output["Period"]);
|