@aws-sdk/client-rds 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_query.js +2 -2
- package/dist-es/RDS.js +557 -550
- package/dist-es/RDSClient.js +28 -22
- package/dist-es/commands/AddRoleToDBClusterCommand.js +29 -22
- package/dist-es/commands/AddRoleToDBInstanceCommand.js +29 -22
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +28 -21
- package/dist-es/commands/AddTagsToResourceCommand.js +29 -22
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +28 -21
- package/dist-es/commands/AuthorizeDBSecurityGroupIngressCommand.js +28 -21
- package/dist-es/commands/BacktrackDBClusterCommand.js +28 -21
- package/dist-es/commands/CancelExportTaskCommand.js +28 -21
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +28 -21
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +28 -21
- package/dist-es/commands/CopyDBParameterGroupCommand.js +28 -21
- package/dist-es/commands/CopyDBSnapshotCommand.js +28 -21
- package/dist-es/commands/CopyOptionGroupCommand.js +28 -21
- package/dist-es/commands/CreateCustomDBEngineVersionCommand.js +28 -21
- package/dist-es/commands/CreateDBClusterCommand.js +28 -21
- package/dist-es/commands/CreateDBClusterEndpointCommand.js +28 -21
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +28 -21
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateDBInstanceCommand.js +28 -21
- package/dist-es/commands/CreateDBInstanceReadReplicaCommand.js +28 -21
- package/dist-es/commands/CreateDBParameterGroupCommand.js +28 -21
- package/dist-es/commands/CreateDBProxyCommand.js +28 -21
- package/dist-es/commands/CreateDBProxyEndpointCommand.js +28 -21
- package/dist-es/commands/CreateDBSecurityGroupCommand.js +28 -21
- package/dist-es/commands/CreateDBSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +28 -21
- package/dist-es/commands/CreateEventSubscriptionCommand.js +28 -21
- package/dist-es/commands/CreateGlobalClusterCommand.js +28 -21
- package/dist-es/commands/CreateOptionGroupCommand.js +28 -21
- package/dist-es/commands/DeleteCustomDBEngineVersionCommand.js +28 -21
- package/dist-es/commands/DeleteDBClusterCommand.js +28 -21
- package/dist-es/commands/DeleteDBClusterEndpointCommand.js +28 -21
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +29 -22
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteDBInstanceAutomatedBackupCommand.js +28 -21
- package/dist-es/commands/DeleteDBInstanceCommand.js +28 -21
- package/dist-es/commands/DeleteDBParameterGroupCommand.js +29 -22
- package/dist-es/commands/DeleteDBProxyCommand.js +28 -21
- package/dist-es/commands/DeleteDBProxyEndpointCommand.js +28 -21
- package/dist-es/commands/DeleteDBSecurityGroupCommand.js +29 -22
- package/dist-es/commands/DeleteDBSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +29 -22
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +28 -21
- package/dist-es/commands/DeleteGlobalClusterCommand.js +28 -21
- package/dist-es/commands/DeleteOptionGroupCommand.js +29 -22
- package/dist-es/commands/DeregisterDBProxyTargetsCommand.js +28 -21
- package/dist-es/commands/DescribeAccountAttributesCommand.js +28 -21
- package/dist-es/commands/DescribeCertificatesCommand.js +28 -21
- package/dist-es/commands/DescribeDBClusterBacktracksCommand.js +28 -21
- package/dist-es/commands/DescribeDBClusterEndpointsCommand.js +28 -21
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +28 -21
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +28 -21
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +28 -21
- package/dist-es/commands/DescribeDBClustersCommand.js +28 -21
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +28 -21
- package/dist-es/commands/DescribeDBInstanceAutomatedBackupsCommand.js +28 -21
- package/dist-es/commands/DescribeDBInstancesCommand.js +28 -21
- package/dist-es/commands/DescribeDBLogFilesCommand.js +28 -21
- package/dist-es/commands/DescribeDBParameterGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeDBParametersCommand.js +28 -21
- package/dist-es/commands/DescribeDBProxiesCommand.js +28 -21
- package/dist-es/commands/DescribeDBProxyEndpointsCommand.js +28 -21
- package/dist-es/commands/DescribeDBProxyTargetGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeDBProxyTargetsCommand.js +28 -21
- package/dist-es/commands/DescribeDBSecurityGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeDBSnapshotAttributesCommand.js +28 -21
- package/dist-es/commands/DescribeDBSnapshotsCommand.js +28 -21
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +28 -21
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +28 -21
- package/dist-es/commands/DescribeEventCategoriesCommand.js +28 -21
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +28 -21
- package/dist-es/commands/DescribeEventsCommand.js +28 -21
- package/dist-es/commands/DescribeExportTasksCommand.js +28 -21
- package/dist-es/commands/DescribeGlobalClustersCommand.js +28 -21
- package/dist-es/commands/DescribeOptionGroupOptionsCommand.js +28 -21
- package/dist-es/commands/DescribeOptionGroupsCommand.js +28 -21
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +28 -21
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +28 -21
- package/dist-es/commands/DescribeReservedDBInstancesCommand.js +28 -21
- package/dist-es/commands/DescribeReservedDBInstancesOfferingsCommand.js +28 -21
- package/dist-es/commands/DescribeSourceRegionsCommand.js +28 -21
- package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js +28 -21
- package/dist-es/commands/DownloadDBLogFilePortionCommand.js +28 -21
- package/dist-es/commands/FailoverDBClusterCommand.js +28 -21
- package/dist-es/commands/FailoverGlobalClusterCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ModifyActivityStreamCommand.js +28 -21
- package/dist-es/commands/ModifyCertificatesCommand.js +28 -21
- package/dist-es/commands/ModifyCurrentDBClusterCapacityCommand.js +28 -21
- package/dist-es/commands/ModifyCustomDBEngineVersionCommand.js +28 -21
- package/dist-es/commands/ModifyDBClusterCommand.js +28 -21
- package/dist-es/commands/ModifyDBClusterEndpointCommand.js +28 -21
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +28 -21
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +28 -21
- package/dist-es/commands/ModifyDBInstanceCommand.js +28 -21
- package/dist-es/commands/ModifyDBParameterGroupCommand.js +28 -21
- package/dist-es/commands/ModifyDBProxyCommand.js +28 -21
- package/dist-es/commands/ModifyDBProxyEndpointCommand.js +28 -21
- package/dist-es/commands/ModifyDBProxyTargetGroupCommand.js +28 -21
- package/dist-es/commands/ModifyDBSnapshotAttributeCommand.js +28 -21
- package/dist-es/commands/ModifyDBSnapshotCommand.js +28 -21
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +28 -21
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +28 -21
- package/dist-es/commands/ModifyGlobalClusterCommand.js +28 -21
- package/dist-es/commands/ModifyOptionGroupCommand.js +28 -21
- package/dist-es/commands/PromoteReadReplicaCommand.js +28 -21
- package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +28 -21
- package/dist-es/commands/PurchaseReservedDBInstancesOfferingCommand.js +28 -21
- package/dist-es/commands/RebootDBClusterCommand.js +28 -21
- package/dist-es/commands/RebootDBInstanceCommand.js +28 -21
- package/dist-es/commands/RegisterDBProxyTargetsCommand.js +28 -21
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +28 -21
- package/dist-es/commands/RemoveRoleFromDBClusterCommand.js +29 -22
- package/dist-es/commands/RemoveRoleFromDBInstanceCommand.js +29 -22
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +28 -21
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +29 -22
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +28 -21
- package/dist-es/commands/ResetDBParameterGroupCommand.js +28 -21
- package/dist-es/commands/RestoreDBClusterFromS3Command.js +28 -21
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +28 -21
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +28 -21
- package/dist-es/commands/RestoreDBInstanceFromDBSnapshotCommand.js +28 -21
- package/dist-es/commands/RestoreDBInstanceFromS3Command.js +28 -21
- package/dist-es/commands/RestoreDBInstanceToPointInTimeCommand.js +28 -21
- package/dist-es/commands/RevokeDBSecurityGroupIngressCommand.js +28 -21
- package/dist-es/commands/StartActivityStreamCommand.js +28 -21
- package/dist-es/commands/StartDBClusterCommand.js +28 -21
- package/dist-es/commands/StartDBInstanceAutomatedBackupsReplicationCommand.js +28 -21
- package/dist-es/commands/StartDBInstanceCommand.js +28 -21
- package/dist-es/commands/StartExportTaskCommand.js +28 -21
- package/dist-es/commands/StopActivityStreamCommand.js +28 -21
- package/dist-es/commands/StopDBClusterCommand.js +28 -21
- package/dist-es/commands/StopDBInstanceAutomatedBackupsReplicationCommand.js +28 -21
- package/dist-es/commands/StopDBInstanceCommand.js +28 -21
- package/dist-es/commands/SwitchoverReadReplicaCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/RDSServiceException.js +10 -5
- package/dist-es/models/models_0.js +1339 -1710
- package/dist-es/models/models_1.js +398 -707
- package/dist-es/pagination/DescribeCertificatesPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBClusterBacktracksPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBClustersPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBInstanceAutomatedBackupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBLogFilesPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBParametersPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBProxiesPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBProxyEndpointsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBProxyTargetGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBProxyTargetsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBSecurityGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBSnapshotsPaginator.js +68 -25
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +68 -25
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeEventsPaginator.js +68 -25
- package/dist-es/pagination/DescribeExportTasksPaginator.js +68 -25
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +68 -25
- package/dist-es/pagination/DescribeOptionGroupOptionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeOptionGroupsPaginator.js +68 -25
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +68 -25
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeReservedDBInstancesOfferingsPaginator.js +68 -25
- package/dist-es/pagination/DescribeReservedDBInstancesPaginator.js +68 -25
- package/dist-es/pagination/DescribeSourceRegionsPaginator.js +68 -25
- package/dist-es/pagination/DownloadDBLogFilePortionPaginator.js +68 -25
- package/dist-es/protocols/Aws_query.js +13117 -10109
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForDBClusterAvailable.js +187 -106
- package/dist-es/waiters/waitForDBClusterDeleted.js +147 -86
- package/dist-es/waiters/waitForDBClusterSnapshotAvailable.js +187 -106
- package/dist-es/waiters/waitForDBClusterSnapshotDeleted.js +147 -86
- package/dist-es/waiters/waitForDBInstanceAvailable.js +187 -106
- package/dist-es/waiters/waitForDBInstanceDeleted.js +147 -86
- package/dist-es/waiters/waitForDBSnapshotAvailable.js +187 -106
- package/dist-es/waiters/waitForDBSnapshotDeleted.js +147 -86
- package/package.json +5 -5
|
@@ -1,94 +1,155 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator, __read, __spreadArray, __values } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeDBSnapshotsCommand } from "../commands/DescribeDBSnapshotsCommand";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return element_2.Status;
|
|
22
|
-
});
|
|
23
|
-
return projection_3;
|
|
24
|
-
};
|
|
25
|
-
for (const anyStringEq_4 of returnComparator()) {
|
|
26
|
-
if (anyStringEq_4 == "creating") {
|
|
27
|
-
return { state: WaiterState.FAILURE, reason };
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, returnComparator, _a, _b, anyStringEq_4, returnComparator, _c, _d, anyStringEq_4, returnComparator, _e, _f, anyStringEq_4, returnComparator, _g, _h, anyStringEq_4, exception_1;
|
|
6
|
+
var e_1, _j, e_2, _k, e_3, _l, e_4, _m;
|
|
7
|
+
return __generator(this, function (_o) {
|
|
8
|
+
switch (_o.label) {
|
|
9
|
+
case 0:
|
|
10
|
+
_o.trys.push([0, 2, , 3]);
|
|
11
|
+
return [4, client.send(new DescribeDBSnapshotsCommand(input))];
|
|
12
|
+
case 1:
|
|
13
|
+
result_1 = _o.sent();
|
|
14
|
+
reason = result_1;
|
|
15
|
+
try {
|
|
16
|
+
returnComparator = function () {
|
|
17
|
+
return result_1.DBSnapshots.length == 0.0;
|
|
18
|
+
};
|
|
19
|
+
if (returnComparator() == true) {
|
|
20
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
21
|
+
}
|
|
28
22
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
23
|
+
catch (e) { }
|
|
24
|
+
try {
|
|
25
|
+
returnComparator = function () {
|
|
26
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBSnapshots), false));
|
|
27
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
28
|
+
return element_2.Status;
|
|
29
|
+
});
|
|
30
|
+
return projection_3;
|
|
31
|
+
};
|
|
32
|
+
try {
|
|
33
|
+
for (_a = __values(returnComparator()), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
34
|
+
anyStringEq_4 = _b.value;
|
|
35
|
+
if (anyStringEq_4 == "creating") {
|
|
36
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
41
|
+
finally {
|
|
42
|
+
try {
|
|
43
|
+
if (_b && !_b.done && (_j = _a.return)) _j.call(_a);
|
|
44
|
+
}
|
|
45
|
+
finally { if (e_1) throw e_1.error; }
|
|
46
|
+
}
|
|
43
47
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
catch (e) { }
|
|
49
|
+
try {
|
|
50
|
+
returnComparator = function () {
|
|
51
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBSnapshots), false));
|
|
52
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
53
|
+
return element_2.Status;
|
|
54
|
+
});
|
|
55
|
+
return projection_3;
|
|
56
|
+
};
|
|
57
|
+
try {
|
|
58
|
+
for (_c = __values(returnComparator()), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
59
|
+
anyStringEq_4 = _d.value;
|
|
60
|
+
if (anyStringEq_4 == "modifying") {
|
|
61
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_d && !_d.done && (_k = _c.return)) _k.call(_c);
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_2) throw e_2.error; }
|
|
71
|
+
}
|
|
58
72
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
catch (e) { }
|
|
74
|
+
try {
|
|
75
|
+
returnComparator = function () {
|
|
76
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBSnapshots), false));
|
|
77
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
78
|
+
return element_2.Status;
|
|
79
|
+
});
|
|
80
|
+
return projection_3;
|
|
81
|
+
};
|
|
82
|
+
try {
|
|
83
|
+
for (_e = __values(returnComparator()), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
84
|
+
anyStringEq_4 = _f.value;
|
|
85
|
+
if (anyStringEq_4 == "rebooting") {
|
|
86
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
91
|
+
finally {
|
|
92
|
+
try {
|
|
93
|
+
if (_f && !_f.done && (_l = _e.return)) _l.call(_e);
|
|
94
|
+
}
|
|
95
|
+
finally { if (e_3) throw e_3.error; }
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
catch (e) { }
|
|
99
|
+
try {
|
|
100
|
+
returnComparator = function () {
|
|
101
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBSnapshots), false));
|
|
102
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
103
|
+
return element_2.Status;
|
|
104
|
+
});
|
|
105
|
+
return projection_3;
|
|
106
|
+
};
|
|
107
|
+
try {
|
|
108
|
+
for (_g = __values(returnComparator()), _h = _g.next(); !_h.done; _h = _g.next()) {
|
|
109
|
+
anyStringEq_4 = _h.value;
|
|
110
|
+
if (anyStringEq_4 == "resetting-master-credentials") {
|
|
111
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
116
|
+
finally {
|
|
117
|
+
try {
|
|
118
|
+
if (_h && !_h.done && (_m = _g.return)) _m.call(_g);
|
|
119
|
+
}
|
|
120
|
+
finally { if (e_4) throw e_4.error; }
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
catch (e) { }
|
|
124
|
+
return [3, 3];
|
|
125
|
+
case 2:
|
|
126
|
+
exception_1 = _o.sent();
|
|
127
|
+
reason = exception_1;
|
|
128
|
+
if (exception_1.name && exception_1.name == "DBSnapshotNotFound") {
|
|
129
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
73
130
|
}
|
|
74
|
-
|
|
131
|
+
return [3, 3];
|
|
132
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
75
133
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
134
|
+
});
|
|
135
|
+
}); };
|
|
136
|
+
export var waitForDBSnapshotDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
137
|
+
var serviceDefaults;
|
|
138
|
+
return __generator(this, function (_a) {
|
|
139
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
140
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
141
|
+
});
|
|
142
|
+
}); };
|
|
143
|
+
export var waitUntilDBSnapshotDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
144
|
+
var serviceDefaults, result;
|
|
145
|
+
return __generator(this, function (_a) {
|
|
146
|
+
switch (_a.label) {
|
|
147
|
+
case 0:
|
|
148
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
149
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
150
|
+
case 1:
|
|
151
|
+
result = _a.sent();
|
|
152
|
+
return [2, checkExceptions(result)];
|
|
82
153
|
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
};
|
|
86
|
-
export const waitForDBSnapshotDeleted = async (params, input) => {
|
|
87
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
88
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
89
|
-
};
|
|
90
|
-
export const waitUntilDBSnapshotDeleted = async (params, input) => {
|
|
91
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
92
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
93
|
-
return checkExceptions(result);
|
|
94
|
-
};
|
|
154
|
+
});
|
|
155
|
+
}); };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.185.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.185.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.183.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.185.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.183.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.183.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.183.0",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.183.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.183.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.183.0",
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.185.0",
|
|
33
33
|
"@aws-sdk/middleware-sdk-rds": "3.183.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.183.0",
|
|
35
35
|
"@aws-sdk/middleware-signing": "3.183.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.183.0",
|
|
37
37
|
"@aws-sdk/middleware-user-agent": "3.183.0",
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.183.0",
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.185.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.183.0",
|
|
41
41
|
"@aws-sdk/smithy-client": "3.183.0",
|
|
42
42
|
"@aws-sdk/types": "3.183.0",
|