@aws-sdk/client-redshift 3.259.0 → 3.262.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.
|
@@ -10930,7 +10930,7 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
10930
10930
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
10931
10931
|
}
|
|
10932
10932
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
10933
|
-
contents.ClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10933
|
+
contents.ClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ClusterCreateTime"]));
|
|
10934
10934
|
}
|
|
10935
10935
|
if (output["AutomatedSnapshotRetentionPeriod"] !== undefined) {
|
|
10936
10936
|
contents.AutomatedSnapshotRetentionPeriod = (0, smithy_client_1.strictParseInt32)(output["AutomatedSnapshotRetentionPeriod"]);
|
|
@@ -11060,13 +11060,13 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
11060
11060
|
contents.SnapshotScheduleState = (0, smithy_client_1.expectString)(output["SnapshotScheduleState"]);
|
|
11061
11061
|
}
|
|
11062
11062
|
if (output["ExpectedNextSnapshotScheduleTime"] !== undefined) {
|
|
11063
|
-
contents.ExpectedNextSnapshotScheduleTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11063
|
+
contents.ExpectedNextSnapshotScheduleTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ExpectedNextSnapshotScheduleTime"]));
|
|
11064
11064
|
}
|
|
11065
11065
|
if (output["ExpectedNextSnapshotScheduleTimeStatus"] !== undefined) {
|
|
11066
11066
|
contents.ExpectedNextSnapshotScheduleTimeStatus = (0, smithy_client_1.expectString)(output["ExpectedNextSnapshotScheduleTimeStatus"]);
|
|
11067
11067
|
}
|
|
11068
11068
|
if (output["NextMaintenanceWindowStartTime"] !== undefined) {
|
|
11069
|
-
contents.NextMaintenanceWindowStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11069
|
+
contents.NextMaintenanceWindowStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["NextMaintenanceWindowStartTime"]));
|
|
11070
11070
|
}
|
|
11071
11071
|
if (output["ResizeInfo"] !== undefined) {
|
|
11072
11072
|
contents.ResizeInfo = deserializeAws_queryResizeInfo(output["ResizeInfo"], context);
|
|
@@ -11126,7 +11126,7 @@ const deserializeAws_queryClusterCredentials = (output, context) => {
|
|
|
11126
11126
|
contents.DbPassword = (0, smithy_client_1.expectString)(output["DbPassword"]);
|
|
11127
11127
|
}
|
|
11128
11128
|
if (output["Expiration"] !== undefined) {
|
|
11129
|
-
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11129
|
+
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Expiration"]));
|
|
11130
11130
|
}
|
|
11131
11131
|
return contents;
|
|
11132
11132
|
};
|
|
@@ -11144,7 +11144,7 @@ const deserializeAws_queryClusterDbRevision = (output, context) => {
|
|
|
11144
11144
|
contents.CurrentDatabaseRevision = (0, smithy_client_1.expectString)(output["CurrentDatabaseRevision"]);
|
|
11145
11145
|
}
|
|
11146
11146
|
if (output["DatabaseRevisionReleaseDate"] !== undefined) {
|
|
11147
|
-
contents.DatabaseRevisionReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11147
|
+
contents.DatabaseRevisionReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["DatabaseRevisionReleaseDate"]));
|
|
11148
11148
|
}
|
|
11149
11149
|
if (output.RevisionTargets === "") {
|
|
11150
11150
|
contents.RevisionTargets = [];
|
|
@@ -11192,10 +11192,10 @@ const deserializeAws_queryClusterExtendedCredentials = (output, context) => {
|
|
|
11192
11192
|
contents.DbPassword = (0, smithy_client_1.expectString)(output["DbPassword"]);
|
|
11193
11193
|
}
|
|
11194
11194
|
if (output["Expiration"] !== undefined) {
|
|
11195
|
-
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11195
|
+
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Expiration"]));
|
|
11196
11196
|
}
|
|
11197
11197
|
if (output["NextRefreshTime"] !== undefined) {
|
|
11198
|
-
contents.NextRefreshTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11198
|
+
contents.NextRefreshTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["NextRefreshTime"]));
|
|
11199
11199
|
}
|
|
11200
11200
|
return contents;
|
|
11201
11201
|
};
|
|
@@ -11902,10 +11902,10 @@ const deserializeAws_queryDataShareAssociation = (output, context) => {
|
|
|
11902
11902
|
contents.ConsumerRegion = (0, smithy_client_1.expectString)(output["ConsumerRegion"]);
|
|
11903
11903
|
}
|
|
11904
11904
|
if (output["CreatedDate"] !== undefined) {
|
|
11905
|
-
contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11905
|
+
contents.CreatedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedDate"]));
|
|
11906
11906
|
}
|
|
11907
11907
|
if (output["StatusChangeDate"] !== undefined) {
|
|
11908
|
-
contents.StatusChangeDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11908
|
+
contents.StatusChangeDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["StatusChangeDate"]));
|
|
11909
11909
|
}
|
|
11910
11910
|
return contents;
|
|
11911
11911
|
};
|
|
@@ -11982,10 +11982,10 @@ const deserializeAws_queryDeferredMaintenanceWindow = (output, context) => {
|
|
|
11982
11982
|
contents.DeferMaintenanceIdentifier = (0, smithy_client_1.expectString)(output["DeferMaintenanceIdentifier"]);
|
|
11983
11983
|
}
|
|
11984
11984
|
if (output["DeferMaintenanceStartTime"] !== undefined) {
|
|
11985
|
-
contents.DeferMaintenanceStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11985
|
+
contents.DeferMaintenanceStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["DeferMaintenanceStartTime"]));
|
|
11986
11986
|
}
|
|
11987
11987
|
if (output["DeferMaintenanceEndTime"] !== undefined) {
|
|
11988
|
-
contents.DeferMaintenanceEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11988
|
+
contents.DeferMaintenanceEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["DeferMaintenanceEndTime"]));
|
|
11989
11989
|
}
|
|
11990
11990
|
return contents;
|
|
11991
11991
|
};
|
|
@@ -12276,7 +12276,7 @@ const deserializeAws_queryEndpointAccess = (output, context) => {
|
|
|
12276
12276
|
contents.EndpointName = (0, smithy_client_1.expectString)(output["EndpointName"]);
|
|
12277
12277
|
}
|
|
12278
12278
|
if (output["EndpointCreateTime"] !== undefined) {
|
|
12279
|
-
contents.EndpointCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12279
|
+
contents.EndpointCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["EndpointCreateTime"]));
|
|
12280
12280
|
}
|
|
12281
12281
|
if (output["Port"] !== undefined) {
|
|
12282
12282
|
contents.Port = (0, smithy_client_1.strictParseInt32)(output["Port"]);
|
|
@@ -12350,7 +12350,7 @@ const deserializeAws_queryEndpointAuthorization = (output, context) => {
|
|
|
12350
12350
|
contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
|
|
12351
12351
|
}
|
|
12352
12352
|
if (output["AuthorizeTime"] !== undefined) {
|
|
12353
|
-
contents.AuthorizeTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12353
|
+
contents.AuthorizeTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["AuthorizeTime"]));
|
|
12354
12354
|
}
|
|
12355
12355
|
if (output["ClusterStatus"] !== undefined) {
|
|
12356
12356
|
contents.ClusterStatus = (0, smithy_client_1.expectString)(output["ClusterStatus"]);
|
|
@@ -12479,7 +12479,7 @@ const deserializeAws_queryEvent = (output, context) => {
|
|
|
12479
12479
|
contents.Severity = (0, smithy_client_1.expectString)(output["Severity"]);
|
|
12480
12480
|
}
|
|
12481
12481
|
if (output["Date"] !== undefined) {
|
|
12482
|
-
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12482
|
+
contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Date"]));
|
|
12483
12483
|
}
|
|
12484
12484
|
if (output["EventId"] !== undefined) {
|
|
12485
12485
|
contents.EventId = (0, smithy_client_1.expectString)(output["EventId"]);
|
|
@@ -12610,7 +12610,7 @@ const deserializeAws_queryEventSubscription = (output, context) => {
|
|
|
12610
12610
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
12611
12611
|
}
|
|
12612
12612
|
if (output["SubscriptionCreationTime"] !== undefined) {
|
|
12613
|
-
contents.SubscriptionCreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12613
|
+
contents.SubscriptionCreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["SubscriptionCreationTime"]));
|
|
12614
12614
|
}
|
|
12615
12615
|
if (output["SourceType"] !== undefined) {
|
|
12616
12616
|
contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
|
|
@@ -13260,10 +13260,10 @@ const deserializeAws_queryLoggingStatus = (output, context) => {
|
|
|
13260
13260
|
contents.S3KeyPrefix = (0, smithy_client_1.expectString)(output["S3KeyPrefix"]);
|
|
13261
13261
|
}
|
|
13262
13262
|
if (output["LastSuccessfulDeliveryTime"] !== undefined) {
|
|
13263
|
-
contents.LastSuccessfulDeliveryTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13263
|
+
contents.LastSuccessfulDeliveryTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastSuccessfulDeliveryTime"]));
|
|
13264
13264
|
}
|
|
13265
13265
|
if (output["LastFailureTime"] !== undefined) {
|
|
13266
|
-
contents.LastFailureTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13266
|
+
contents.LastFailureTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastFailureTime"]));
|
|
13267
13267
|
}
|
|
13268
13268
|
if (output["LastFailureMessage"] !== undefined) {
|
|
13269
13269
|
contents.LastFailureMessage = (0, smithy_client_1.expectString)(output["LastFailureMessage"]);
|
|
@@ -13617,10 +13617,10 @@ const deserializeAws_queryPartnerIntegrationInfo = (output, context) => {
|
|
|
13617
13617
|
contents.StatusMessage = (0, smithy_client_1.expectString)(output["StatusMessage"]);
|
|
13618
13618
|
}
|
|
13619
13619
|
if (output["CreatedAt"] !== undefined) {
|
|
13620
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13620
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreatedAt"]));
|
|
13621
13621
|
}
|
|
13622
13622
|
if (output["UpdatedAt"] !== undefined) {
|
|
13623
|
-
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13623
|
+
contents.UpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UpdatedAt"]));
|
|
13624
13624
|
}
|
|
13625
13625
|
return contents;
|
|
13626
13626
|
};
|
|
@@ -13791,7 +13791,7 @@ const deserializeAws_queryReservedNode = (output, context) => {
|
|
|
13791
13791
|
contents.NodeType = (0, smithy_client_1.expectString)(output["NodeType"]);
|
|
13792
13792
|
}
|
|
13793
13793
|
if (output["StartTime"] !== undefined) {
|
|
13794
|
-
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13794
|
+
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["StartTime"]));
|
|
13795
13795
|
}
|
|
13796
13796
|
if (output["Duration"] !== undefined) {
|
|
13797
13797
|
contents.Duration = (0, smithy_client_1.strictParseInt32)(output["Duration"]);
|
|
@@ -13895,7 +13895,7 @@ const deserializeAws_queryReservedNodeExchangeStatus = (output, context) => {
|
|
|
13895
13895
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
13896
13896
|
}
|
|
13897
13897
|
if (output["RequestTime"] !== undefined) {
|
|
13898
|
-
contents.RequestTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13898
|
+
contents.RequestTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["RequestTime"]));
|
|
13899
13899
|
}
|
|
13900
13900
|
if (output["SourceReservedNodeId"] !== undefined) {
|
|
13901
13901
|
contents.SourceReservedNodeId = (0, smithy_client_1.expectString)(output["SourceReservedNodeId"]);
|
|
@@ -14280,7 +14280,7 @@ const deserializeAws_queryRevisionTarget = (output, context) => {
|
|
|
14280
14280
|
contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
|
|
14281
14281
|
}
|
|
14282
14282
|
if (output["DatabaseRevisionReleaseDate"] !== undefined) {
|
|
14283
|
-
contents.DatabaseRevisionReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14283
|
+
contents.DatabaseRevisionReleaseDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["DatabaseRevisionReleaseDate"]));
|
|
14284
14284
|
}
|
|
14285
14285
|
return contents;
|
|
14286
14286
|
};
|
|
@@ -14356,10 +14356,10 @@ const deserializeAws_queryScheduledAction = (output, context) => {
|
|
|
14356
14356
|
contents.NextInvocations = deserializeAws_queryScheduledActionTimeList((0, smithy_client_1.getArrayIfSingleItem)(output["NextInvocations"]["ScheduledActionTime"]), context);
|
|
14357
14357
|
}
|
|
14358
14358
|
if (output["StartTime"] !== undefined) {
|
|
14359
|
-
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14359
|
+
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["StartTime"]));
|
|
14360
14360
|
}
|
|
14361
14361
|
if (output["EndTime"] !== undefined) {
|
|
14362
|
-
contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14362
|
+
contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["EndTime"]));
|
|
14363
14363
|
}
|
|
14364
14364
|
return contents;
|
|
14365
14365
|
};
|
|
@@ -14417,7 +14417,7 @@ const deserializeAws_queryScheduledActionTimeList = (output, context) => {
|
|
|
14417
14417
|
return (output || [])
|
|
14418
14418
|
.filter((e) => e != null)
|
|
14419
14419
|
.map((entry) => {
|
|
14420
|
-
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14420
|
+
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(entry));
|
|
14421
14421
|
});
|
|
14422
14422
|
};
|
|
14423
14423
|
const deserializeAws_queryScheduledActionType = (output, context) => {
|
|
@@ -14466,7 +14466,7 @@ const deserializeAws_queryScheduledSnapshotTimeList = (output, context) => {
|
|
|
14466
14466
|
return (output || [])
|
|
14467
14467
|
.filter((e) => e != null)
|
|
14468
14468
|
.map((entry) => {
|
|
14469
|
-
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14469
|
+
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(entry));
|
|
14470
14470
|
});
|
|
14471
14471
|
};
|
|
14472
14472
|
const deserializeAws_querySnapshot = (output, context) => {
|
|
@@ -14513,7 +14513,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14513
14513
|
contents.ClusterIdentifier = (0, smithy_client_1.expectString)(output["ClusterIdentifier"]);
|
|
14514
14514
|
}
|
|
14515
14515
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
14516
|
-
contents.SnapshotCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14516
|
+
contents.SnapshotCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["SnapshotCreateTime"]));
|
|
14517
14517
|
}
|
|
14518
14518
|
if (output["Status"] !== undefined) {
|
|
14519
14519
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
@@ -14525,7 +14525,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14525
14525
|
contents.AvailabilityZone = (0, smithy_client_1.expectString)(output["AvailabilityZone"]);
|
|
14526
14526
|
}
|
|
14527
14527
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
14528
|
-
contents.ClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14528
|
+
contents.ClusterCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ClusterCreateTime"]));
|
|
14529
14529
|
}
|
|
14530
14530
|
if (output["MasterUsername"] !== undefined) {
|
|
14531
14531
|
contents.MasterUsername = (0, smithy_client_1.expectString)(output["MasterUsername"]);
|
|
@@ -14616,7 +14616,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14616
14616
|
contents.ManualSnapshotRemainingDays = (0, smithy_client_1.strictParseInt32)(output["ManualSnapshotRemainingDays"]);
|
|
14617
14617
|
}
|
|
14618
14618
|
if (output["SnapshotRetentionStartTime"] !== undefined) {
|
|
14619
|
-
contents.SnapshotRetentionStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
14619
|
+
contents.SnapshotRetentionStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["SnapshotRetentionStartTime"]));
|
|
14620
14620
|
}
|
|
14621
14621
|
return contents;
|
|
14622
14622
|
};
|
|
@@ -15057,7 +15057,7 @@ const deserializeAws_queryTableRestoreStatus = (output, context) => {
|
|
|
15057
15057
|
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
15058
15058
|
}
|
|
15059
15059
|
if (output["RequestTime"] !== undefined) {
|
|
15060
|
-
contents.RequestTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
15060
|
+
contents.RequestTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["RequestTime"]));
|
|
15061
15061
|
}
|
|
15062
15062
|
if (output["ProgressInMegaBytes"] !== undefined) {
|
|
15063
15063
|
contents.ProgressInMegaBytes = (0, smithy_client_1.strictParseLong)(output["ProgressInMegaBytes"]);
|
|
@@ -15477,7 +15477,7 @@ const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
|
15477
15477
|
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
15478
15478
|
.join("&");
|
|
15479
15479
|
const loadQueryErrorCode = (output, data) => {
|
|
15480
|
-
if (data.Error
|
|
15480
|
+
if (data.Error?.Code !== undefined) {
|
|
15481
15481
|
return data.Error.Code;
|
|
15482
15482
|
}
|
|
15483
15483
|
if (output.statusCode == 404) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AccessToClusterDeniedFault, AccessToSnapshotDeniedFault, AuthenticationProfileAlreadyExistsFault, AuthenticationProfileNotFoundFault, AuthenticationProfileQuotaExceededFault, AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BatchDeleteRequestSizeExceededFault, BatchModifyClusterSnapshotsLimitExceededFault, BucketNotFoundFault, ClusterAlreadyExistsFault, ClusterNotFoundFault, ClusterOnLatestRevisionFault, ClusterParameterGroupAlreadyExistsFault, ClusterParameterGroupNotFoundFault, ClusterParameterGroupQuotaExceededFault, ClusterQuotaExceededFault, ClusterSecurityGroupAlreadyExistsFault, ClusterSecurityGroupNotFoundFault, ClusterSecurityGroupQuotaExceededFault, ClusterSnapshotAlreadyExistsFault, ClusterSnapshotNotFoundFault, ClusterSnapshotQuotaExceededFault, ClusterSubnetGroupAlreadyExistsFault, ClusterSubnetGroupNotFoundFault, ClusterSubnetGroupQuotaExceededFault, ClusterSubnetQuotaExceededFault, CopyToRegionDisabledFault, DependentServiceRequestThrottlingFault, DependentServiceUnavailableFault, EndpointAlreadyExistsFault, EndpointAuthorizationAlreadyExistsFault, EndpointAuthorizationsPerClusterLimitExceededFault, EndpointNotFoundFault, EndpointsPerAuthorizationLimitExceededFault, EndpointsPerClusterLimitExceededFault, EventSubscriptionQuotaExceededFault, HsmClientCertificateAlreadyExistsFault, HsmClientCertificateNotFoundFault, HsmClientCertificateQuotaExceededFault, HsmConfigurationAlreadyExistsFault, HsmConfigurationNotFoundFault, HsmConfigurationQuotaExceededFault, InsufficientClusterCapacityFault, InvalidAuthenticationProfileRequestFault, InvalidAuthorizationStateFault, InvalidClusterParameterGroupStateFault, InvalidClusterSecurityGroupStateFault, InvalidClusterSnapshotScheduleStateFault, InvalidClusterSnapshotStateFault, InvalidClusterStateFault, InvalidClusterSubnetGroupStateFault, InvalidClusterSubnetStateFault, InvalidClusterTrackFault, InvalidDataShareFault, InvalidElasticIpFault, InvalidEndpointStateFault, InvalidHsmClientCertificateStateFault, InvalidHsmConfigurationStateFault, InvalidNamespaceFault, InvalidReservedNodeStateFault, InvalidRetentionPeriodFault, InvalidScheduledActionFault, InvalidScheduleFault, InvalidSnapshotCopyGrantStateFault, InvalidSubnet, InvalidSubscriptionStateFault, InvalidTagFault, InvalidUsageLimitFault, InvalidVPCNetworkStateFault, LimitExceededFault, NumberOfNodesPerClusterLimitExceededFault, NumberOfNodesQuotaExceededFault, PartnerNotFoundFault, ReservedNodeAlreadyExistsFault, ReservedNodeAlreadyMigratedFault, ReservedNodeNotFoundFault, ReservedNodeOfferingNotFoundFault, ResizeNotFoundFault, ResourceNotFoundFault, ScheduledActionAlreadyExistsFault, ScheduledActionNotFoundFault, ScheduledActionQuotaExceededFault, ScheduledActionTypeUnsupportedFault, ScheduleDefinitionTypeUnsupportedFault, SnapshotCopyGrantAlreadyExistsFault, SnapshotCopyGrantNotFoundFault, SnapshotCopyGrantQuotaExceededFault, SnapshotScheduleAlreadyExistsFault, SnapshotScheduleNotFoundFault, SnapshotScheduleQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionEventIdNotFoundFault, SubscriptionNotFoundFault, SubscriptionSeverityNotFoundFault, TagLimitExceededFault, UnauthorizedOperation, UnauthorizedPartnerIntegrationFault, UnsupportedOperationFault, UsageLimitAlreadyExistsFault, UsageLimitNotFoundFault, } from "../models/models_0";
|
|
5
5
|
import { EndpointAuthorizationNotFoundFault, IncompatibleOrderableOptions, InProgressTableRestoreQuotaExceededFault, InsufficientS3BucketPolicyFault, InvalidRestoreFault, InvalidS3BucketNameFault, InvalidS3KeyPrefixFault, InvalidTableRestoreArgumentFault, ReservedNodeExchangeNotFoundFault, ReservedNodeQuotaExceededFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyAlreadyEnabledFault, SnapshotCopyDisabledFault, SnapshotScheduleUpdateInProgressFault, SubnetAlreadyInUse, TableLimitExceededFault, TableRestoreNotFoundFault, UnknownSnapshotCopyRegionFault, UnsupportedOptionFault, } from "../models/models_1";
|
|
@@ -10685,7 +10685,7 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
10685
10685
|
contents.Endpoint = deserializeAws_queryEndpoint(output["Endpoint"], context);
|
|
10686
10686
|
}
|
|
10687
10687
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
10688
|
-
contents.ClusterCreateTime = __expectNonNull(
|
|
10688
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ClusterCreateTime"]));
|
|
10689
10689
|
}
|
|
10690
10690
|
if (output["AutomatedSnapshotRetentionPeriod"] !== undefined) {
|
|
10691
10691
|
contents.AutomatedSnapshotRetentionPeriod = __strictParseInt32(output["AutomatedSnapshotRetentionPeriod"]);
|
|
@@ -10815,13 +10815,13 @@ const deserializeAws_queryCluster = (output, context) => {
|
|
|
10815
10815
|
contents.SnapshotScheduleState = __expectString(output["SnapshotScheduleState"]);
|
|
10816
10816
|
}
|
|
10817
10817
|
if (output["ExpectedNextSnapshotScheduleTime"] !== undefined) {
|
|
10818
|
-
contents.ExpectedNextSnapshotScheduleTime = __expectNonNull(
|
|
10818
|
+
contents.ExpectedNextSnapshotScheduleTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ExpectedNextSnapshotScheduleTime"]));
|
|
10819
10819
|
}
|
|
10820
10820
|
if (output["ExpectedNextSnapshotScheduleTimeStatus"] !== undefined) {
|
|
10821
10821
|
contents.ExpectedNextSnapshotScheduleTimeStatus = __expectString(output["ExpectedNextSnapshotScheduleTimeStatus"]);
|
|
10822
10822
|
}
|
|
10823
10823
|
if (output["NextMaintenanceWindowStartTime"] !== undefined) {
|
|
10824
|
-
contents.NextMaintenanceWindowStartTime = __expectNonNull(
|
|
10824
|
+
contents.NextMaintenanceWindowStartTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["NextMaintenanceWindowStartTime"]));
|
|
10825
10825
|
}
|
|
10826
10826
|
if (output["ResizeInfo"] !== undefined) {
|
|
10827
10827
|
contents.ResizeInfo = deserializeAws_queryResizeInfo(output["ResizeInfo"], context);
|
|
@@ -10881,7 +10881,7 @@ const deserializeAws_queryClusterCredentials = (output, context) => {
|
|
|
10881
10881
|
contents.DbPassword = __expectString(output["DbPassword"]);
|
|
10882
10882
|
}
|
|
10883
10883
|
if (output["Expiration"] !== undefined) {
|
|
10884
|
-
contents.Expiration = __expectNonNull(
|
|
10884
|
+
contents.Expiration = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Expiration"]));
|
|
10885
10885
|
}
|
|
10886
10886
|
return contents;
|
|
10887
10887
|
};
|
|
@@ -10899,7 +10899,7 @@ const deserializeAws_queryClusterDbRevision = (output, context) => {
|
|
|
10899
10899
|
contents.CurrentDatabaseRevision = __expectString(output["CurrentDatabaseRevision"]);
|
|
10900
10900
|
}
|
|
10901
10901
|
if (output["DatabaseRevisionReleaseDate"] !== undefined) {
|
|
10902
|
-
contents.DatabaseRevisionReleaseDate = __expectNonNull(
|
|
10902
|
+
contents.DatabaseRevisionReleaseDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["DatabaseRevisionReleaseDate"]));
|
|
10903
10903
|
}
|
|
10904
10904
|
if (output.RevisionTargets === "") {
|
|
10905
10905
|
contents.RevisionTargets = [];
|
|
@@ -10947,10 +10947,10 @@ const deserializeAws_queryClusterExtendedCredentials = (output, context) => {
|
|
|
10947
10947
|
contents.DbPassword = __expectString(output["DbPassword"]);
|
|
10948
10948
|
}
|
|
10949
10949
|
if (output["Expiration"] !== undefined) {
|
|
10950
|
-
contents.Expiration = __expectNonNull(
|
|
10950
|
+
contents.Expiration = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Expiration"]));
|
|
10951
10951
|
}
|
|
10952
10952
|
if (output["NextRefreshTime"] !== undefined) {
|
|
10953
|
-
contents.NextRefreshTime = __expectNonNull(
|
|
10953
|
+
contents.NextRefreshTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["NextRefreshTime"]));
|
|
10954
10954
|
}
|
|
10955
10955
|
return contents;
|
|
10956
10956
|
};
|
|
@@ -11657,10 +11657,10 @@ const deserializeAws_queryDataShareAssociation = (output, context) => {
|
|
|
11657
11657
|
contents.ConsumerRegion = __expectString(output["ConsumerRegion"]);
|
|
11658
11658
|
}
|
|
11659
11659
|
if (output["CreatedDate"] !== undefined) {
|
|
11660
|
-
contents.CreatedDate = __expectNonNull(
|
|
11660
|
+
contents.CreatedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedDate"]));
|
|
11661
11661
|
}
|
|
11662
11662
|
if (output["StatusChangeDate"] !== undefined) {
|
|
11663
|
-
contents.StatusChangeDate = __expectNonNull(
|
|
11663
|
+
contents.StatusChangeDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["StatusChangeDate"]));
|
|
11664
11664
|
}
|
|
11665
11665
|
return contents;
|
|
11666
11666
|
};
|
|
@@ -11737,10 +11737,10 @@ const deserializeAws_queryDeferredMaintenanceWindow = (output, context) => {
|
|
|
11737
11737
|
contents.DeferMaintenanceIdentifier = __expectString(output["DeferMaintenanceIdentifier"]);
|
|
11738
11738
|
}
|
|
11739
11739
|
if (output["DeferMaintenanceStartTime"] !== undefined) {
|
|
11740
|
-
contents.DeferMaintenanceStartTime = __expectNonNull(
|
|
11740
|
+
contents.DeferMaintenanceStartTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["DeferMaintenanceStartTime"]));
|
|
11741
11741
|
}
|
|
11742
11742
|
if (output["DeferMaintenanceEndTime"] !== undefined) {
|
|
11743
|
-
contents.DeferMaintenanceEndTime = __expectNonNull(
|
|
11743
|
+
contents.DeferMaintenanceEndTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["DeferMaintenanceEndTime"]));
|
|
11744
11744
|
}
|
|
11745
11745
|
return contents;
|
|
11746
11746
|
};
|
|
@@ -12031,7 +12031,7 @@ const deserializeAws_queryEndpointAccess = (output, context) => {
|
|
|
12031
12031
|
contents.EndpointName = __expectString(output["EndpointName"]);
|
|
12032
12032
|
}
|
|
12033
12033
|
if (output["EndpointCreateTime"] !== undefined) {
|
|
12034
|
-
contents.EndpointCreateTime = __expectNonNull(
|
|
12034
|
+
contents.EndpointCreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["EndpointCreateTime"]));
|
|
12035
12035
|
}
|
|
12036
12036
|
if (output["Port"] !== undefined) {
|
|
12037
12037
|
contents.Port = __strictParseInt32(output["Port"]);
|
|
@@ -12105,7 +12105,7 @@ const deserializeAws_queryEndpointAuthorization = (output, context) => {
|
|
|
12105
12105
|
contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
|
|
12106
12106
|
}
|
|
12107
12107
|
if (output["AuthorizeTime"] !== undefined) {
|
|
12108
|
-
contents.AuthorizeTime = __expectNonNull(
|
|
12108
|
+
contents.AuthorizeTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["AuthorizeTime"]));
|
|
12109
12109
|
}
|
|
12110
12110
|
if (output["ClusterStatus"] !== undefined) {
|
|
12111
12111
|
contents.ClusterStatus = __expectString(output["ClusterStatus"]);
|
|
@@ -12234,7 +12234,7 @@ const deserializeAws_queryEvent = (output, context) => {
|
|
|
12234
12234
|
contents.Severity = __expectString(output["Severity"]);
|
|
12235
12235
|
}
|
|
12236
12236
|
if (output["Date"] !== undefined) {
|
|
12237
|
-
contents.Date = __expectNonNull(
|
|
12237
|
+
contents.Date = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Date"]));
|
|
12238
12238
|
}
|
|
12239
12239
|
if (output["EventId"] !== undefined) {
|
|
12240
12240
|
contents.EventId = __expectString(output["EventId"]);
|
|
@@ -12365,7 +12365,7 @@ const deserializeAws_queryEventSubscription = (output, context) => {
|
|
|
12365
12365
|
contents.Status = __expectString(output["Status"]);
|
|
12366
12366
|
}
|
|
12367
12367
|
if (output["SubscriptionCreationTime"] !== undefined) {
|
|
12368
|
-
contents.SubscriptionCreationTime = __expectNonNull(
|
|
12368
|
+
contents.SubscriptionCreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["SubscriptionCreationTime"]));
|
|
12369
12369
|
}
|
|
12370
12370
|
if (output["SourceType"] !== undefined) {
|
|
12371
12371
|
contents.SourceType = __expectString(output["SourceType"]);
|
|
@@ -13015,10 +13015,10 @@ const deserializeAws_queryLoggingStatus = (output, context) => {
|
|
|
13015
13015
|
contents.S3KeyPrefix = __expectString(output["S3KeyPrefix"]);
|
|
13016
13016
|
}
|
|
13017
13017
|
if (output["LastSuccessfulDeliveryTime"] !== undefined) {
|
|
13018
|
-
contents.LastSuccessfulDeliveryTime = __expectNonNull(
|
|
13018
|
+
contents.LastSuccessfulDeliveryTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastSuccessfulDeliveryTime"]));
|
|
13019
13019
|
}
|
|
13020
13020
|
if (output["LastFailureTime"] !== undefined) {
|
|
13021
|
-
contents.LastFailureTime = __expectNonNull(
|
|
13021
|
+
contents.LastFailureTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastFailureTime"]));
|
|
13022
13022
|
}
|
|
13023
13023
|
if (output["LastFailureMessage"] !== undefined) {
|
|
13024
13024
|
contents.LastFailureMessage = __expectString(output["LastFailureMessage"]);
|
|
@@ -13372,10 +13372,10 @@ const deserializeAws_queryPartnerIntegrationInfo = (output, context) => {
|
|
|
13372
13372
|
contents.StatusMessage = __expectString(output["StatusMessage"]);
|
|
13373
13373
|
}
|
|
13374
13374
|
if (output["CreatedAt"] !== undefined) {
|
|
13375
|
-
contents.CreatedAt = __expectNonNull(
|
|
13375
|
+
contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedAt"]));
|
|
13376
13376
|
}
|
|
13377
13377
|
if (output["UpdatedAt"] !== undefined) {
|
|
13378
|
-
contents.UpdatedAt = __expectNonNull(
|
|
13378
|
+
contents.UpdatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UpdatedAt"]));
|
|
13379
13379
|
}
|
|
13380
13380
|
return contents;
|
|
13381
13381
|
};
|
|
@@ -13546,7 +13546,7 @@ const deserializeAws_queryReservedNode = (output, context) => {
|
|
|
13546
13546
|
contents.NodeType = __expectString(output["NodeType"]);
|
|
13547
13547
|
}
|
|
13548
13548
|
if (output["StartTime"] !== undefined) {
|
|
13549
|
-
contents.StartTime = __expectNonNull(
|
|
13549
|
+
contents.StartTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["StartTime"]));
|
|
13550
13550
|
}
|
|
13551
13551
|
if (output["Duration"] !== undefined) {
|
|
13552
13552
|
contents.Duration = __strictParseInt32(output["Duration"]);
|
|
@@ -13650,7 +13650,7 @@ const deserializeAws_queryReservedNodeExchangeStatus = (output, context) => {
|
|
|
13650
13650
|
contents.Status = __expectString(output["Status"]);
|
|
13651
13651
|
}
|
|
13652
13652
|
if (output["RequestTime"] !== undefined) {
|
|
13653
|
-
contents.RequestTime = __expectNonNull(
|
|
13653
|
+
contents.RequestTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["RequestTime"]));
|
|
13654
13654
|
}
|
|
13655
13655
|
if (output["SourceReservedNodeId"] !== undefined) {
|
|
13656
13656
|
contents.SourceReservedNodeId = __expectString(output["SourceReservedNodeId"]);
|
|
@@ -14035,7 +14035,7 @@ const deserializeAws_queryRevisionTarget = (output, context) => {
|
|
|
14035
14035
|
contents.Description = __expectString(output["Description"]);
|
|
14036
14036
|
}
|
|
14037
14037
|
if (output["DatabaseRevisionReleaseDate"] !== undefined) {
|
|
14038
|
-
contents.DatabaseRevisionReleaseDate = __expectNonNull(
|
|
14038
|
+
contents.DatabaseRevisionReleaseDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["DatabaseRevisionReleaseDate"]));
|
|
14039
14039
|
}
|
|
14040
14040
|
return contents;
|
|
14041
14041
|
};
|
|
@@ -14111,10 +14111,10 @@ const deserializeAws_queryScheduledAction = (output, context) => {
|
|
|
14111
14111
|
contents.NextInvocations = deserializeAws_queryScheduledActionTimeList(__getArrayIfSingleItem(output["NextInvocations"]["ScheduledActionTime"]), context);
|
|
14112
14112
|
}
|
|
14113
14113
|
if (output["StartTime"] !== undefined) {
|
|
14114
|
-
contents.StartTime = __expectNonNull(
|
|
14114
|
+
contents.StartTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["StartTime"]));
|
|
14115
14115
|
}
|
|
14116
14116
|
if (output["EndTime"] !== undefined) {
|
|
14117
|
-
contents.EndTime = __expectNonNull(
|
|
14117
|
+
contents.EndTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["EndTime"]));
|
|
14118
14118
|
}
|
|
14119
14119
|
return contents;
|
|
14120
14120
|
};
|
|
@@ -14172,7 +14172,7 @@ const deserializeAws_queryScheduledActionTimeList = (output, context) => {
|
|
|
14172
14172
|
return (output || [])
|
|
14173
14173
|
.filter((e) => e != null)
|
|
14174
14174
|
.map((entry) => {
|
|
14175
|
-
return __expectNonNull(
|
|
14175
|
+
return __expectNonNull(__parseRfc3339DateTimeWithOffset(entry));
|
|
14176
14176
|
});
|
|
14177
14177
|
};
|
|
14178
14178
|
const deserializeAws_queryScheduledActionType = (output, context) => {
|
|
@@ -14221,7 +14221,7 @@ const deserializeAws_queryScheduledSnapshotTimeList = (output, context) => {
|
|
|
14221
14221
|
return (output || [])
|
|
14222
14222
|
.filter((e) => e != null)
|
|
14223
14223
|
.map((entry) => {
|
|
14224
|
-
return __expectNonNull(
|
|
14224
|
+
return __expectNonNull(__parseRfc3339DateTimeWithOffset(entry));
|
|
14225
14225
|
});
|
|
14226
14226
|
};
|
|
14227
14227
|
const deserializeAws_querySnapshot = (output, context) => {
|
|
@@ -14268,7 +14268,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14268
14268
|
contents.ClusterIdentifier = __expectString(output["ClusterIdentifier"]);
|
|
14269
14269
|
}
|
|
14270
14270
|
if (output["SnapshotCreateTime"] !== undefined) {
|
|
14271
|
-
contents.SnapshotCreateTime = __expectNonNull(
|
|
14271
|
+
contents.SnapshotCreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["SnapshotCreateTime"]));
|
|
14272
14272
|
}
|
|
14273
14273
|
if (output["Status"] !== undefined) {
|
|
14274
14274
|
contents.Status = __expectString(output["Status"]);
|
|
@@ -14280,7 +14280,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14280
14280
|
contents.AvailabilityZone = __expectString(output["AvailabilityZone"]);
|
|
14281
14281
|
}
|
|
14282
14282
|
if (output["ClusterCreateTime"] !== undefined) {
|
|
14283
|
-
contents.ClusterCreateTime = __expectNonNull(
|
|
14283
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ClusterCreateTime"]));
|
|
14284
14284
|
}
|
|
14285
14285
|
if (output["MasterUsername"] !== undefined) {
|
|
14286
14286
|
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
@@ -14371,7 +14371,7 @@ const deserializeAws_querySnapshot = (output, context) => {
|
|
|
14371
14371
|
contents.ManualSnapshotRemainingDays = __strictParseInt32(output["ManualSnapshotRemainingDays"]);
|
|
14372
14372
|
}
|
|
14373
14373
|
if (output["SnapshotRetentionStartTime"] !== undefined) {
|
|
14374
|
-
contents.SnapshotRetentionStartTime = __expectNonNull(
|
|
14374
|
+
contents.SnapshotRetentionStartTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["SnapshotRetentionStartTime"]));
|
|
14375
14375
|
}
|
|
14376
14376
|
return contents;
|
|
14377
14377
|
};
|
|
@@ -14812,7 +14812,7 @@ const deserializeAws_queryTableRestoreStatus = (output, context) => {
|
|
|
14812
14812
|
contents.Message = __expectString(output["Message"]);
|
|
14813
14813
|
}
|
|
14814
14814
|
if (output["RequestTime"] !== undefined) {
|
|
14815
|
-
contents.RequestTime = __expectNonNull(
|
|
14815
|
+
contents.RequestTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["RequestTime"]));
|
|
14816
14816
|
}
|
|
14817
14817
|
if (output["ProgressInMegaBytes"] !== undefined) {
|
|
14818
14818
|
contents.ProgressInMegaBytes = __strictParseLong(output["ProgressInMegaBytes"]);
|
|
@@ -15232,7 +15232,7 @@ const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
|
15232
15232
|
.map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
|
|
15233
15233
|
.join("&");
|
|
15234
15234
|
const loadQueryErrorCode = (output, data) => {
|
|
15235
|
-
if (data.Error
|
|
15235
|
+
if (data.Error?.Code !== undefined) {
|
|
15236
15236
|
return data.Error.Code;
|
|
15237
15237
|
}
|
|
15238
15238
|
if (output.statusCode == 404) {
|
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.262.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.262.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@aws-sdk/node-config-provider": "3.259.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.257.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.257.0",
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
+
"@aws-sdk/smithy-client": "3.261.0",
|
|
43
43
|
"@aws-sdk/types": "3.257.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.257.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.261.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.261.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.257.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.257.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|