@aws-sdk/client-docdb 3.55.0 → 3.66.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 +27 -0
- package/dist-cjs/protocols/Aws_query.js +12 -0
- package/dist-cjs/waiters/index.js +1 -0
- package/dist-cjs/waiters/waitForDBInstanceDeleted.js +107 -0
- package/dist-es/protocols/Aws_query.js +12 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForDBInstanceDeleted.js +173 -0
- package/dist-types/DocDB.d.ts +8 -8
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -2
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +73 -39
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForDBInstanceDeleted.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForDBInstanceDeleted.d.ts +14 -0
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.66.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.65.0...v3.66.0) (2022-04-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 04/07/2022 ([#3520](https://github.com/aws/aws-sdk-js-v3/issues/3520)) ([4aaf58a](https://github.com/aws/aws-sdk-js-v3/commit/4aaf58aa983f1c30430e5ce57cb47a36837c590b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-docdb
|
|
@@ -3823,6 +3823,12 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
3823
3823
|
if (input.PromotionTier !== undefined && input.PromotionTier !== null) {
|
|
3824
3824
|
entries["PromotionTier"] = input.PromotionTier;
|
|
3825
3825
|
}
|
|
3826
|
+
if (input.EnablePerformanceInsights !== undefined && input.EnablePerformanceInsights !== null) {
|
|
3827
|
+
entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
|
|
3828
|
+
}
|
|
3829
|
+
if (input.PerformanceInsightsKMSKeyId !== undefined && input.PerformanceInsightsKMSKeyId !== null) {
|
|
3830
|
+
entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
|
|
3831
|
+
}
|
|
3826
3832
|
return entries;
|
|
3827
3833
|
};
|
|
3828
3834
|
const serializeAws_queryCreateDBSubnetGroupMessage = (input, context) => {
|
|
@@ -4544,6 +4550,12 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
4544
4550
|
if (input.PromotionTier !== undefined && input.PromotionTier !== null) {
|
|
4545
4551
|
entries["PromotionTier"] = input.PromotionTier;
|
|
4546
4552
|
}
|
|
4553
|
+
if (input.EnablePerformanceInsights !== undefined && input.EnablePerformanceInsights !== null) {
|
|
4554
|
+
entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
|
|
4555
|
+
}
|
|
4556
|
+
if (input.PerformanceInsightsKMSKeyId !== undefined && input.PerformanceInsightsKMSKeyId !== null) {
|
|
4557
|
+
entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
|
|
4558
|
+
}
|
|
4547
4559
|
return entries;
|
|
4548
4560
|
};
|
|
4549
4561
|
const serializeAws_queryModifyDBSubnetGroupMessage = (input, context) => {
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilDBInstanceDeleted = exports.waitForDBInstanceDeleted = void 0;
|
|
4
|
+
const util_waiter_1 = require("@aws-sdk/util-waiter");
|
|
5
|
+
const DescribeDBInstancesCommand_1 = require("../commands/DescribeDBInstancesCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new DescribeDBInstancesCommand_1.DescribeDBInstancesCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
const flat_1 = [].concat(...result.DBInstances);
|
|
14
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
15
|
+
return element_2.DBInstanceStatus;
|
|
16
|
+
});
|
|
17
|
+
return projection_3;
|
|
18
|
+
};
|
|
19
|
+
let allStringEq_5 = returnComparator().length > 0;
|
|
20
|
+
for (const element_4 of returnComparator()) {
|
|
21
|
+
allStringEq_5 = allStringEq_5 && element_4 == "deleted";
|
|
22
|
+
}
|
|
23
|
+
if (allStringEq_5) {
|
|
24
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
catch (e) { }
|
|
28
|
+
try {
|
|
29
|
+
const returnComparator = () => {
|
|
30
|
+
const flat_1 = [].concat(...result.DBInstances);
|
|
31
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
32
|
+
return element_2.DBInstanceStatus;
|
|
33
|
+
});
|
|
34
|
+
return projection_3;
|
|
35
|
+
};
|
|
36
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
37
|
+
if (anyStringEq_4 == "creating") {
|
|
38
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
catch (e) { }
|
|
43
|
+
try {
|
|
44
|
+
const returnComparator = () => {
|
|
45
|
+
const flat_1 = [].concat(...result.DBInstances);
|
|
46
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
47
|
+
return element_2.DBInstanceStatus;
|
|
48
|
+
});
|
|
49
|
+
return projection_3;
|
|
50
|
+
};
|
|
51
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
52
|
+
if (anyStringEq_4 == "modifying") {
|
|
53
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (e) { }
|
|
58
|
+
try {
|
|
59
|
+
const returnComparator = () => {
|
|
60
|
+
const flat_1 = [].concat(...result.DBInstances);
|
|
61
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
62
|
+
return element_2.DBInstanceStatus;
|
|
63
|
+
});
|
|
64
|
+
return projection_3;
|
|
65
|
+
};
|
|
66
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
67
|
+
if (anyStringEq_4 == "rebooting") {
|
|
68
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
catch (e) { }
|
|
73
|
+
try {
|
|
74
|
+
const returnComparator = () => {
|
|
75
|
+
const flat_1 = [].concat(...result.DBInstances);
|
|
76
|
+
const projection_3 = flat_1.map((element_2) => {
|
|
77
|
+
return element_2.DBInstanceStatus;
|
|
78
|
+
});
|
|
79
|
+
return projection_3;
|
|
80
|
+
};
|
|
81
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
82
|
+
if (anyStringEq_4 == "resetting-master-credentials") {
|
|
83
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
catch (e) { }
|
|
88
|
+
}
|
|
89
|
+
catch (exception) {
|
|
90
|
+
reason = exception;
|
|
91
|
+
if (exception.name && exception.name == "DBInstanceNotFound") {
|
|
92
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
96
|
+
};
|
|
97
|
+
const waitForDBInstanceDeleted = async (params, input) => {
|
|
98
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
99
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
100
|
+
};
|
|
101
|
+
exports.waitForDBInstanceDeleted = waitForDBInstanceDeleted;
|
|
102
|
+
const waitUntilDBInstanceDeleted = async (params, input) => {
|
|
103
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
104
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
105
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
106
|
+
};
|
|
107
|
+
exports.waitUntilDBInstanceDeleted = waitUntilDBInstanceDeleted;
|
|
@@ -4589,6 +4589,12 @@ var serializeAws_queryCreateDBInstanceMessage = function (input, context) {
|
|
|
4589
4589
|
if (input.PromotionTier !== undefined && input.PromotionTier !== null) {
|
|
4590
4590
|
entries["PromotionTier"] = input.PromotionTier;
|
|
4591
4591
|
}
|
|
4592
|
+
if (input.EnablePerformanceInsights !== undefined && input.EnablePerformanceInsights !== null) {
|
|
4593
|
+
entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
|
|
4594
|
+
}
|
|
4595
|
+
if (input.PerformanceInsightsKMSKeyId !== undefined && input.PerformanceInsightsKMSKeyId !== null) {
|
|
4596
|
+
entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
|
|
4597
|
+
}
|
|
4592
4598
|
return entries;
|
|
4593
4599
|
};
|
|
4594
4600
|
var serializeAws_queryCreateDBSubnetGroupMessage = function (input, context) {
|
|
@@ -5394,6 +5400,12 @@ var serializeAws_queryModifyDBInstanceMessage = function (input, context) {
|
|
|
5394
5400
|
if (input.PromotionTier !== undefined && input.PromotionTier !== null) {
|
|
5395
5401
|
entries["PromotionTier"] = input.PromotionTier;
|
|
5396
5402
|
}
|
|
5403
|
+
if (input.EnablePerformanceInsights !== undefined && input.EnablePerformanceInsights !== null) {
|
|
5404
|
+
entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
|
|
5405
|
+
}
|
|
5406
|
+
if (input.PerformanceInsightsKMSKeyId !== undefined && input.PerformanceInsightsKMSKeyId !== null) {
|
|
5407
|
+
entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
|
|
5408
|
+
}
|
|
5397
5409
|
return entries;
|
|
5398
5410
|
};
|
|
5399
5411
|
var serializeAws_queryModifyDBSubnetGroupMessage = function (input, context) {
|
package/dist-es/waiters/index.js
CHANGED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator, __read, __spreadArray, __values } from "tslib";
|
|
2
|
+
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
3
|
+
import { DescribeDBInstancesCommand } from "../commands/DescribeDBInstancesCommand";
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, allStringEq_5, _a, _b, element_4, returnComparator, _c, _d, anyStringEq_4, returnComparator, _e, _f, anyStringEq_4, returnComparator, _g, _h, anyStringEq_4, returnComparator, _j, _k, anyStringEq_4, exception_1;
|
|
6
|
+
var e_1, _l, e_2, _m, e_3, _o, e_4, _p, e_5, _q;
|
|
7
|
+
return __generator(this, function (_r) {
|
|
8
|
+
switch (_r.label) {
|
|
9
|
+
case 0:
|
|
10
|
+
_r.trys.push([0, 2, , 3]);
|
|
11
|
+
return [4, client.send(new DescribeDBInstancesCommand(input))];
|
|
12
|
+
case 1:
|
|
13
|
+
result_1 = _r.sent();
|
|
14
|
+
reason = result_1;
|
|
15
|
+
try {
|
|
16
|
+
returnComparator = function () {
|
|
17
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBInstances), false));
|
|
18
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
19
|
+
return element_2.DBInstanceStatus;
|
|
20
|
+
});
|
|
21
|
+
return projection_3;
|
|
22
|
+
};
|
|
23
|
+
allStringEq_5 = returnComparator().length > 0;
|
|
24
|
+
try {
|
|
25
|
+
for (_a = __values(returnComparator()), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
26
|
+
element_4 = _b.value;
|
|
27
|
+
allStringEq_5 = allStringEq_5 && element_4 == "deleted";
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
31
|
+
finally {
|
|
32
|
+
try {
|
|
33
|
+
if (_b && !_b.done && (_l = _a.return)) _l.call(_a);
|
|
34
|
+
}
|
|
35
|
+
finally { if (e_1) throw e_1.error; }
|
|
36
|
+
}
|
|
37
|
+
if (allStringEq_5) {
|
|
38
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
catch (e) { }
|
|
42
|
+
try {
|
|
43
|
+
returnComparator = function () {
|
|
44
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBInstances), false));
|
|
45
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
46
|
+
return element_2.DBInstanceStatus;
|
|
47
|
+
});
|
|
48
|
+
return projection_3;
|
|
49
|
+
};
|
|
50
|
+
try {
|
|
51
|
+
for (_c = __values(returnComparator()), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
52
|
+
anyStringEq_4 = _d.value;
|
|
53
|
+
if (anyStringEq_4 == "creating") {
|
|
54
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
59
|
+
finally {
|
|
60
|
+
try {
|
|
61
|
+
if (_d && !_d.done && (_m = _c.return)) _m.call(_c);
|
|
62
|
+
}
|
|
63
|
+
finally { if (e_2) throw e_2.error; }
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (e) { }
|
|
67
|
+
try {
|
|
68
|
+
returnComparator = function () {
|
|
69
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBInstances), false));
|
|
70
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
71
|
+
return element_2.DBInstanceStatus;
|
|
72
|
+
});
|
|
73
|
+
return projection_3;
|
|
74
|
+
};
|
|
75
|
+
try {
|
|
76
|
+
for (_e = __values(returnComparator()), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
77
|
+
anyStringEq_4 = _f.value;
|
|
78
|
+
if (anyStringEq_4 == "modifying") {
|
|
79
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
84
|
+
finally {
|
|
85
|
+
try {
|
|
86
|
+
if (_f && !_f.done && (_o = _e.return)) _o.call(_e);
|
|
87
|
+
}
|
|
88
|
+
finally { if (e_3) throw e_3.error; }
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
catch (e) { }
|
|
92
|
+
try {
|
|
93
|
+
returnComparator = function () {
|
|
94
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBInstances), false));
|
|
95
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
96
|
+
return element_2.DBInstanceStatus;
|
|
97
|
+
});
|
|
98
|
+
return projection_3;
|
|
99
|
+
};
|
|
100
|
+
try {
|
|
101
|
+
for (_g = __values(returnComparator()), _h = _g.next(); !_h.done; _h = _g.next()) {
|
|
102
|
+
anyStringEq_4 = _h.value;
|
|
103
|
+
if (anyStringEq_4 == "rebooting") {
|
|
104
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
109
|
+
finally {
|
|
110
|
+
try {
|
|
111
|
+
if (_h && !_h.done && (_p = _g.return)) _p.call(_g);
|
|
112
|
+
}
|
|
113
|
+
finally { if (e_4) throw e_4.error; }
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
catch (e) { }
|
|
117
|
+
try {
|
|
118
|
+
returnComparator = function () {
|
|
119
|
+
var flat_1 = [].concat.apply([], __spreadArray([], __read(result_1.DBInstances), false));
|
|
120
|
+
var projection_3 = flat_1.map(function (element_2) {
|
|
121
|
+
return element_2.DBInstanceStatus;
|
|
122
|
+
});
|
|
123
|
+
return projection_3;
|
|
124
|
+
};
|
|
125
|
+
try {
|
|
126
|
+
for (_j = __values(returnComparator()), _k = _j.next(); !_k.done; _k = _j.next()) {
|
|
127
|
+
anyStringEq_4 = _k.value;
|
|
128
|
+
if (anyStringEq_4 == "resetting-master-credentials") {
|
|
129
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
134
|
+
finally {
|
|
135
|
+
try {
|
|
136
|
+
if (_k && !_k.done && (_q = _j.return)) _q.call(_j);
|
|
137
|
+
}
|
|
138
|
+
finally { if (e_5) throw e_5.error; }
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
catch (e) { }
|
|
142
|
+
return [3, 3];
|
|
143
|
+
case 2:
|
|
144
|
+
exception_1 = _r.sent();
|
|
145
|
+
reason = exception_1;
|
|
146
|
+
if (exception_1.name && exception_1.name == "DBInstanceNotFound") {
|
|
147
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
148
|
+
}
|
|
149
|
+
return [3, 3];
|
|
150
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
}); };
|
|
154
|
+
export var waitForDBInstanceDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
155
|
+
var serviceDefaults;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
158
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
159
|
+
});
|
|
160
|
+
}); };
|
|
161
|
+
export var waitUntilDBInstanceDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
162
|
+
var serviceDefaults, result;
|
|
163
|
+
return __generator(this, function (_a) {
|
|
164
|
+
switch (_a.label) {
|
|
165
|
+
case 0:
|
|
166
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
167
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
168
|
+
case 1:
|
|
169
|
+
result = _a.sent();
|
|
170
|
+
return [2, checkExceptions(result)];
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}); };
|
package/dist-types/DocDB.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export declare class DocDB extends DocDBClient {
|
|
|
93
93
|
* <code>SourceDBClusterSnapshotIdentifier</code> must be the Amazon
|
|
94
94
|
* Resource Name (ARN) of the shared cluster snapshot. You can only
|
|
95
95
|
* copy a shared DB cluster snapshot, whether encrypted or not, in the
|
|
96
|
-
* same Region.</p>
|
|
96
|
+
* same Amazon Web Services Region.</p>
|
|
97
97
|
*
|
|
98
98
|
* <p>To cancel the copy operation after it is in progress, delete the
|
|
99
99
|
* target cluster snapshot identified by
|
|
@@ -147,7 +147,7 @@ export declare class DocDB extends DocDBClient {
|
|
|
147
147
|
createDBInstance(args: CreateDBInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDBInstanceCommandOutput) => void): void;
|
|
148
148
|
/**
|
|
149
149
|
* <p>Creates a new subnet group. subnet groups must contain at least one subnet in at
|
|
150
|
-
* least two Availability Zones in the Region.</p>
|
|
150
|
+
* least two Availability Zones in the Amazon Web Services Region.</p>
|
|
151
151
|
*/
|
|
152
152
|
createDBSubnetGroup(args: CreateDBSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateDBSubnetGroupCommandOutput>;
|
|
153
153
|
createDBSubnetGroup(args: CreateDBSubnetGroupCommandInput, cb: (err: any, data?: CreateDBSubnetGroupCommandOutput) => void): void;
|
|
@@ -161,7 +161,7 @@ export declare class DocDB extends DocDBClient {
|
|
|
161
161
|
createEventSubscription(args: CreateEventSubscriptionCommandInput, cb: (err: any, data?: CreateEventSubscriptionCommandOutput) => void): void;
|
|
162
162
|
createEventSubscription(args: CreateEventSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventSubscriptionCommandOutput) => void): void;
|
|
163
163
|
/**
|
|
164
|
-
* <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
|
|
164
|
+
* <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
|
|
165
165
|
* <p></p>
|
|
166
166
|
* <p>You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster. </p>
|
|
167
167
|
* <note>
|
|
@@ -225,7 +225,7 @@ export declare class DocDB extends DocDBClient {
|
|
|
225
225
|
deleteGlobalCluster(args: DeleteGlobalClusterCommandInput, cb: (err: any, data?: DeleteGlobalClusterCommandOutput) => void): void;
|
|
226
226
|
deleteGlobalCluster(args: DeleteGlobalClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGlobalClusterCommandOutput) => void): void;
|
|
227
227
|
/**
|
|
228
|
-
* <p>Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this account.</p>
|
|
228
|
+
* <p>Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web Services account.</p>
|
|
229
229
|
*/
|
|
230
230
|
describeCertificates(args: DescribeCertificatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCertificatesCommandOutput>;
|
|
231
231
|
describeCertificates(args: DescribeCertificatesCommandInput, cb: (err: any, data?: DescribeCertificatesCommandOutput) => void): void;
|
|
@@ -257,8 +257,8 @@ export declare class DocDB extends DocDBClient {
|
|
|
257
257
|
/**
|
|
258
258
|
* <p>Returns a list of cluster snapshot attribute names and values for a manual DB
|
|
259
259
|
* cluster snapshot.</p>
|
|
260
|
-
* <p>When you share snapshots with other accounts,
|
|
261
|
-
* <code>DescribeDBClusterSnapshotAttributes</code> returns the <code>restore</code> attribute and a list of IDs for the accounts that are authorized to copy or restore the manual cluster snapshot. If <code>all</code> is included in the list of values for the <code>restore</code> attribute, then the manual cluster snapshot is public and can be copied or restored by all accounts.</p>
|
|
260
|
+
* <p>When you share snapshots with other Amazon Web Services accounts,
|
|
261
|
+
* <code>DescribeDBClusterSnapshotAttributes</code> returns the <code>restore</code> attribute and a list of IDs for the Amazon Web Services accounts that are authorized to copy or restore the manual cluster snapshot. If <code>all</code> is included in the list of values for the <code>restore</code> attribute, then the manual cluster snapshot is public and can be copied or restored by all Amazon Web Services accounts.</p>
|
|
262
262
|
*/
|
|
263
263
|
describeDBClusterSnapshotAttributes(args: DescribeDBClusterSnapshotAttributesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDBClusterSnapshotAttributesCommandOutput>;
|
|
264
264
|
describeDBClusterSnapshotAttributes(args: DescribeDBClusterSnapshotAttributesCommandInput, cb: (err: any, data?: DescribeDBClusterSnapshotAttributesCommandOutput) => void): void;
|
|
@@ -385,7 +385,7 @@ export declare class DocDB extends DocDBClient {
|
|
|
385
385
|
modifyDBClusterParameterGroup(args: ModifyDBClusterParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyDBClusterParameterGroupCommandOutput) => void): void;
|
|
386
386
|
/**
|
|
387
387
|
* <p>Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.</p>
|
|
388
|
-
* <p>To share a manual cluster snapshot with other accounts, specify <code>restore</code> as the <code>AttributeName</code>, and use the <code>ValuesToAdd</code> parameter to add a list of IDs of the accounts that are authorized to restore the manual cluster snapshot. Use the value <code>all</code> to make the manual cluster snapshot public, which means that it can be copied or restored by all accounts. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want available to all accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized account IDs for the <code>ValuesToAdd</code> parameter. You can't use <code>all</code> as a value for that parameter in this case.</p>
|
|
388
|
+
* <p>To share a manual cluster snapshot with other Amazon Web Services accounts, specify <code>restore</code> as the <code>AttributeName</code>, and use the <code>ValuesToAdd</code> parameter to add a list of IDs of the Amazon Web Services accounts that are authorized to restore the manual cluster snapshot. Use the value <code>all</code> to make the manual cluster snapshot public, which means that it can be copied or restored by all Amazon Web Services accounts. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized Amazon Web Services account IDs for the <code>ValuesToAdd</code> parameter. You can't use <code>all</code> as a value for that parameter in this case.</p>
|
|
389
389
|
*/
|
|
390
390
|
modifyDBClusterSnapshotAttribute(args: ModifyDBClusterSnapshotAttributeCommandInput, options?: __HttpHandlerOptions): Promise<ModifyDBClusterSnapshotAttributeCommandOutput>;
|
|
391
391
|
modifyDBClusterSnapshotAttribute(args: ModifyDBClusterSnapshotAttributeCommandInput, cb: (err: any, data?: ModifyDBClusterSnapshotAttributeCommandOutput) => void): void;
|
|
@@ -397,7 +397,7 @@ export declare class DocDB extends DocDBClient {
|
|
|
397
397
|
modifyDBInstance(args: ModifyDBInstanceCommandInput, cb: (err: any, data?: ModifyDBInstanceCommandOutput) => void): void;
|
|
398
398
|
modifyDBInstance(args: ModifyDBInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyDBInstanceCommandOutput) => void): void;
|
|
399
399
|
/**
|
|
400
|
-
* <p>Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Region.</p>
|
|
400
|
+
* <p>Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Amazon Web Services Region.</p>
|
|
401
401
|
*/
|
|
402
402
|
modifyDBSubnetGroup(args: ModifyDBSubnetGroupCommandInput, options?: __HttpHandlerOptions): Promise<ModifyDBSubnetGroupCommandOutput>;
|
|
403
403
|
modifyDBSubnetGroup(args: ModifyDBSubnetGroupCommandInput, cb: (err: any, data?: ModifyDBSubnetGroupCommandOutput) => void): void;
|
|
@@ -13,7 +13,7 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
|
|
|
13
13
|
* <code>SourceDBClusterSnapshotIdentifier</code> must be the Amazon
|
|
14
14
|
* Resource Name (ARN) of the shared cluster snapshot. You can only
|
|
15
15
|
* copy a shared DB cluster snapshot, whether encrypted or not, in the
|
|
16
|
-
* same Region.</p>
|
|
16
|
+
* same Amazon Web Services Region.</p>
|
|
17
17
|
*
|
|
18
18
|
* <p>To cancel the copy operation after it is in progress, delete the
|
|
19
19
|
* target cluster snapshot identified by
|
|
@@ -8,7 +8,7 @@ export interface CreateDBSubnetGroupCommandOutput extends CreateDBSubnetGroupRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a new subnet group. subnet groups must contain at least one subnet in at
|
|
11
|
-
* least two Availability Zones in the Region.</p>
|
|
11
|
+
* least two Availability Zones in the Amazon Web Services Region.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface CreateGlobalClusterCommandInput extends CreateGlobalClusterMess
|
|
|
7
7
|
export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
|
|
10
|
+
* <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
|
|
11
11
|
* <p></p>
|
|
12
12
|
* <p>You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster. </p>
|
|
13
13
|
* <note>
|
|
@@ -7,7 +7,7 @@ export interface DescribeCertificatesCommandInput extends DescribeCertificatesMe
|
|
|
7
7
|
export interface DescribeCertificatesCommandOutput extends CertificateMessage, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this account.</p>
|
|
10
|
+
* <p>Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web Services account.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -9,8 +9,8 @@ export interface DescribeDBClusterSnapshotAttributesCommandOutput extends Descri
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns a list of cluster snapshot attribute names and values for a manual DB
|
|
11
11
|
* cluster snapshot.</p>
|
|
12
|
-
* <p>When you share snapshots with other accounts,
|
|
13
|
-
* <code>DescribeDBClusterSnapshotAttributes</code> returns the <code>restore</code> attribute and a list of IDs for the accounts that are authorized to copy or restore the manual cluster snapshot. If <code>all</code> is included in the list of values for the <code>restore</code> attribute, then the manual cluster snapshot is public and can be copied or restored by all accounts.</p>
|
|
12
|
+
* <p>When you share snapshots with other Amazon Web Services accounts,
|
|
13
|
+
* <code>DescribeDBClusterSnapshotAttributes</code> returns the <code>restore</code> attribute and a list of IDs for the Amazon Web Services accounts that are authorized to copy or restore the manual cluster snapshot. If <code>all</code> is included in the list of values for the <code>restore</code> attribute, then the manual cluster snapshot is public and can be copied or restored by all Amazon Web Services accounts.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface ModifyDBClusterSnapshotAttributeCommandOutput extends ModifyDBC
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.</p>
|
|
11
|
-
* <p>To share a manual cluster snapshot with other accounts, specify <code>restore</code> as the <code>AttributeName</code>, and use the <code>ValuesToAdd</code> parameter to add a list of IDs of the accounts that are authorized to restore the manual cluster snapshot. Use the value <code>all</code> to make the manual cluster snapshot public, which means that it can be copied or restored by all accounts. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want available to all accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized account IDs for the <code>ValuesToAdd</code> parameter. You can't use <code>all</code> as a value for that parameter in this case.</p>
|
|
11
|
+
* <p>To share a manual cluster snapshot with other Amazon Web Services accounts, specify <code>restore</code> as the <code>AttributeName</code>, and use the <code>ValuesToAdd</code> parameter to add a list of IDs of the Amazon Web Services accounts that are authorized to restore the manual cluster snapshot. Use the value <code>all</code> to make the manual cluster snapshot public, which means that it can be copied or restored by all Amazon Web Services accounts. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized Amazon Web Services account IDs for the <code>ValuesToAdd</code> parameter. You can't use <code>all</code> as a value for that parameter in this case.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface ModifyDBSubnetGroupCommandInput extends ModifyDBSubnetGroupMess
|
|
|
7
7
|
export interface ModifyDBSubnetGroupCommandOutput extends ModifyDBSubnetGroupResult, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Region.</p>
|
|
10
|
+
* <p>Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Amazon Web Services Region.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -381,10 +381,10 @@ export interface CopyDBClusterParameterGroupMessage {
|
|
|
381
381
|
* <p>Must specify a valid cluster parameter group.</p>
|
|
382
382
|
* </li>
|
|
383
383
|
* <li>
|
|
384
|
-
* <p>If the source cluster parameter group is in the same Region as the copy, specify a valid parameter group identifier; for example, <code>my-db-cluster-param-group</code>, or a valid ARN.</p>
|
|
384
|
+
* <p>If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid parameter group identifier; for example, <code>my-db-cluster-param-group</code>, or a valid ARN.</p>
|
|
385
385
|
* </li>
|
|
386
386
|
* <li>
|
|
387
|
-
* <p>If the source parameter group is in a different Region than the copy, specify a valid cluster parameter group ARN; for example, <code>arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group</code>.</p>
|
|
387
|
+
* <p>If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster parameter group ARN; for example, <code>arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group</code>.</p>
|
|
388
388
|
* </li>
|
|
389
389
|
* </ul>
|
|
390
390
|
*/
|
|
@@ -518,11 +518,11 @@ export interface CopyDBClusterSnapshotMessage {
|
|
|
518
518
|
* <i>available</i> state.</p>
|
|
519
519
|
* </li>
|
|
520
520
|
* <li>
|
|
521
|
-
* <p>If the source snapshot is in the same Region as the copy, specify a valid snapshot identifier.</p>
|
|
521
|
+
* <p>If the source snapshot is in the same Amazon Web Services Region as the copy, specify a valid snapshot identifier.</p>
|
|
522
522
|
* </li>
|
|
523
523
|
* <li>
|
|
524
524
|
*
|
|
525
|
-
* <p>If the source snapshot is in a different Region than the copy, specify a valid cluster snapshot ARN.</p>
|
|
525
|
+
* <p>If the source snapshot is in a different Amazon Web Services Region than the copy, specify a valid cluster snapshot ARN.</p>
|
|
526
526
|
* </li>
|
|
527
527
|
* </ul>
|
|
528
528
|
* <p>Example: <code>my-cluster-snapshot1</code>
|
|
@@ -555,28 +555,28 @@ export interface CopyDBClusterSnapshotMessage {
|
|
|
555
555
|
* key ID is the Amazon Resource Name (ARN), KMS key identifier, or
|
|
556
556
|
* the KMS key alias for the KMS encryption key. </p>
|
|
557
557
|
*
|
|
558
|
-
* <p>If you copy an encrypted cluster snapshot from your account, you can specify a value for <code>KmsKeyId</code> to encrypt the copy with a new KMS encryption key. If you don't specify a value for <code>KmsKeyId</code>, then the copy of the cluster snapshot is encrypted with the same KMS key as the source cluster snapshot.</p>
|
|
558
|
+
* <p>If you copy an encrypted cluster snapshot from your Amazon Web Services account, you can specify a value for <code>KmsKeyId</code> to encrypt the copy with a new KMS encryption key. If you don't specify a value for <code>KmsKeyId</code>, then the copy of the cluster snapshot is encrypted with the same KMS key as the source cluster snapshot.</p>
|
|
559
559
|
*
|
|
560
|
-
* <p>If you copy an encrypted cluster snapshot that is shared from another account, then you must specify a value for <code>KmsKeyId</code>.</p>
|
|
560
|
+
* <p>If you copy an encrypted cluster snapshot that is shared from another Amazon Web Services account, then you must specify a value for <code>KmsKeyId</code>.</p>
|
|
561
561
|
*
|
|
562
|
-
* <p>To copy an encrypted cluster snapshot to another Region, set <code>KmsKeyId</code> to the KMS key ID that you want to use to encrypt the copy of the cluster snapshot in the destination Region. KMS encryption keys are specific to the Region that they are created in, and you can't use encryption keys from one Region in another Region.</p>
|
|
562
|
+
* <p>To copy an encrypted cluster snapshot to another Amazon Web Services Region, set <code>KmsKeyId</code> to the KMS key ID that you want to use to encrypt the copy of the cluster snapshot in the destination Region. KMS encryption keys are specific to the Amazon Web Services Region that they are created in, and you can't use encryption keys from one Amazon Web Services Region in another Amazon Web Services Region.</p>
|
|
563
563
|
*
|
|
564
564
|
* <p>If you copy an unencrypted cluster snapshot and specify a value for the <code>KmsKeyId</code> parameter, an error is returned.</p>
|
|
565
565
|
*/
|
|
566
566
|
KmsKeyId?: string;
|
|
567
567
|
/**
|
|
568
|
-
* <p>The URL that contains a Signature Version 4 signed request for the<code>CopyDBClusterSnapshot</code> API action in the Region that contains the source cluster snapshot to copy. You must use the <code>PreSignedUrl</code> parameter when copying a cluster snapshot from another Region.</p>
|
|
568
|
+
* <p>The URL that contains a Signature Version 4 signed request for the<code>CopyDBClusterSnapshot</code> API action in the Amazon Web Services Region that contains the source cluster snapshot to copy. You must use the <code>PreSignedUrl</code> parameter when copying a cluster snapshot from another Amazon Web Services Region.</p>
|
|
569
569
|
*
|
|
570
570
|
* <p>If you are using an Amazon Web Services SDK tool or the CLI, you can specify
|
|
571
571
|
* <code>SourceRegion</code> (or <code>--source-region</code> for the
|
|
572
572
|
* CLI) instead of specifying <code>PreSignedUrl</code> manually.
|
|
573
573
|
* Specifying <code>SourceRegion</code> autogenerates a pre-signed URL
|
|
574
574
|
* that is a valid request for the operation that can be executed in
|
|
575
|
-
* the source Region.</p>
|
|
575
|
+
* the source Amazon Web Services Region.</p>
|
|
576
576
|
*
|
|
577
577
|
* <p>The presigned URL must be a valid request for the
|
|
578
578
|
* <code>CopyDBClusterSnapshot</code> API action that can be executed
|
|
579
|
-
* in the source Region that contains the cluster snapshot to be
|
|
579
|
+
* in the source Amazon Web Services Region that contains the cluster snapshot to be
|
|
580
580
|
* copied. The presigned URL request must contain the following
|
|
581
581
|
* parameter values:</p>
|
|
582
582
|
* <ul>
|
|
@@ -590,9 +590,9 @@ export interface CopyDBClusterSnapshotMessage {
|
|
|
590
590
|
* <code>SourceDBClusterSnapshotIdentifier</code> - The
|
|
591
591
|
* identifier for the the encrypted cluster snapshot to be
|
|
592
592
|
* copied. This identifier must be in the Amazon Resource Name
|
|
593
|
-
* (ARN) format for the source Region. For example, if you
|
|
593
|
+
* (ARN) format for the source Amazon Web Services Region. For example, if you
|
|
594
594
|
* are copying an encrypted cluster snapshot from the us-east-1
|
|
595
|
-
* Region, then your
|
|
595
|
+
* Amazon Web Services Region, then your
|
|
596
596
|
* <code>SourceDBClusterSnapshotIdentifier</code> looks
|
|
597
597
|
* something like the following:
|
|
598
598
|
* <code>arn:aws:rds:us-east-1:12345678012:sample-cluster:sample-cluster-snapshot</code>.</p>
|
|
@@ -879,7 +879,7 @@ export interface CreateDBClusterMessage {
|
|
|
879
879
|
/**
|
|
880
880
|
* <p>The daily time range during which automated backups are created if
|
|
881
881
|
* automated backups are enabled using the <code>BackupRetentionPeriod</code> parameter. </p>
|
|
882
|
-
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Region. </p>
|
|
882
|
+
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. </p>
|
|
883
883
|
* <p>Constraints:</p>
|
|
884
884
|
* <ul>
|
|
885
885
|
* <li>
|
|
@@ -903,7 +903,7 @@ export interface CreateDBClusterMessage {
|
|
|
903
903
|
* in Universal Coordinated Time (UTC).</p>
|
|
904
904
|
* <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code>
|
|
905
905
|
* </p>
|
|
906
|
-
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Region, occurring on a random day of the week.</p>
|
|
906
|
+
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.</p>
|
|
907
907
|
* <p>Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun</p>
|
|
908
908
|
* <p>Constraints: Minimum 30-minute window.</p>
|
|
909
909
|
*/
|
|
@@ -918,7 +918,7 @@ export interface CreateDBClusterMessage {
|
|
|
918
918
|
StorageEncrypted?: boolean;
|
|
919
919
|
/**
|
|
920
920
|
* <p>The KMS key identifier for an encrypted cluster.</p>
|
|
921
|
-
* <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same account that owns the KMS encryption key that is used to encrypt the new cluster, you can use the KMS key alias instead of the ARN for the KMS encryption key.</p>
|
|
921
|
+
* <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon Web Services account that owns the KMS encryption key that is used to encrypt the new cluster, you can use the KMS key alias instead of the ARN for the KMS encryption key.</p>
|
|
922
922
|
* <p>If an encryption key is not specified in <code>KmsKeyId</code>:
|
|
923
923
|
* </p>
|
|
924
924
|
* <ul>
|
|
@@ -928,7 +928,7 @@ export interface CreateDBClusterMessage {
|
|
|
928
928
|
* </p>
|
|
929
929
|
* </li>
|
|
930
930
|
* </ul>
|
|
931
|
-
* <p>KMS creates the default encryption key for your account. Your account has a different default encryption key for each Regions.</p>
|
|
931
|
+
* <p>KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Regions.</p>
|
|
932
932
|
*/
|
|
933
933
|
KmsKeyId?: string;
|
|
934
934
|
/**
|
|
@@ -1164,7 +1164,7 @@ export interface DBCluster {
|
|
|
1164
1164
|
*/
|
|
1165
1165
|
KmsKeyId?: string;
|
|
1166
1166
|
/**
|
|
1167
|
-
* <p>The Region-unique, immutable identifier for the cluster. This identifier is
|
|
1167
|
+
* <p>The Amazon Web Services Region-unique, immutable identifier for the cluster. This identifier is
|
|
1168
1168
|
* found in CloudTrail log entries whenever the KMS key for the cluster is accessed.</p>
|
|
1169
1169
|
*/
|
|
1170
1170
|
DbClusterResourceId?: string;
|
|
@@ -1506,7 +1506,7 @@ export interface CreateDBInstanceMessage {
|
|
|
1506
1506
|
Engine: string | undefined;
|
|
1507
1507
|
/**
|
|
1508
1508
|
* <p>The Amazon EC2 Availability Zone that the instance is created in. </p>
|
|
1509
|
-
* <p>Default: A random, system-chosen Availability Zone in the endpoint's Region.</p>
|
|
1509
|
+
* <p>Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.</p>
|
|
1510
1510
|
* <p>Example: <code>us-east-1d</code>
|
|
1511
1511
|
* </p>
|
|
1512
1512
|
*/
|
|
@@ -1517,7 +1517,7 @@ export interface CreateDBInstanceMessage {
|
|
|
1517
1517
|
* <p> Format: <code>ddd:hh24:mi-ddd:hh24:mi</code>
|
|
1518
1518
|
* </p>
|
|
1519
1519
|
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for
|
|
1520
|
-
* each Region, occurring on a random day of the week. </p>
|
|
1520
|
+
* each Amazon Web Services Region, occurring on a random day of the week. </p>
|
|
1521
1521
|
* <p>Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun</p>
|
|
1522
1522
|
* <p>Constraints: Minimum 30-minute window.</p>
|
|
1523
1523
|
*/
|
|
@@ -1544,6 +1544,23 @@ export interface CreateDBInstanceMessage {
|
|
|
1544
1544
|
* <p>Valid values: 0-15</p>
|
|
1545
1545
|
*/
|
|
1546
1546
|
PromotionTier?: number;
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>A value that indicates whether to enable Performance Insights for the DB Instance. For
|
|
1549
|
+
* more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html">Using Amazon
|
|
1550
|
+
* Performance Insights</a>.</p>
|
|
1551
|
+
*/
|
|
1552
|
+
EnablePerformanceInsights?: boolean;
|
|
1553
|
+
/**
|
|
1554
|
+
* <p>The KMS key identifier for encryption of Performance Insights
|
|
1555
|
+
* data.</p>
|
|
1556
|
+
* <p>The KMS key identifier is the key ARN, key ID, alias ARN, or alias name
|
|
1557
|
+
* for the KMS key.</p>
|
|
1558
|
+
* <p>If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your
|
|
1559
|
+
* default KMS key. There is a default KMS key for your
|
|
1560
|
+
* Amazon Web Services account. Your Amazon Web Services account has a different
|
|
1561
|
+
* default KMS key for each Amazon Web Services region.</p>
|
|
1562
|
+
*/
|
|
1563
|
+
PerformanceInsightsKMSKeyId?: string;
|
|
1547
1564
|
}
|
|
1548
1565
|
export declare namespace CreateDBInstanceMessage {
|
|
1549
1566
|
/**
|
|
@@ -1877,7 +1894,7 @@ export interface DBInstance {
|
|
|
1877
1894
|
*/
|
|
1878
1895
|
KmsKeyId?: string;
|
|
1879
1896
|
/**
|
|
1880
|
-
* <p>The Region-unique, immutable identifier for the instance. This identifier is found in CloudTrail log entries whenever the KMS key for the instance is
|
|
1897
|
+
* <p>The Amazon Web Services Region-unique, immutable identifier for the instance. This identifier is found in CloudTrail log entries whenever the KMS key for the instance is
|
|
1881
1898
|
* accessed.</p>
|
|
1882
1899
|
*/
|
|
1883
1900
|
DbiResourceId?: string;
|
|
@@ -2268,7 +2285,7 @@ export interface GlobalCluster {
|
|
|
2268
2285
|
*/
|
|
2269
2286
|
GlobalClusterIdentifier?: string;
|
|
2270
2287
|
/**
|
|
2271
|
-
* <p>The Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS customer master key (CMK) for the cluster is accessed. </p>
|
|
2288
|
+
* <p>The Amazon Web Services Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS customer master key (CMK) for the cluster is accessed. </p>
|
|
2272
2289
|
*/
|
|
2273
2290
|
GlobalClusterResourceId?: string;
|
|
2274
2291
|
/**
|
|
@@ -2617,7 +2634,7 @@ export declare namespace DeleteGlobalClusterResult {
|
|
|
2617
2634
|
const filterSensitiveLog: (obj: DeleteGlobalClusterResult) => any;
|
|
2618
2635
|
}
|
|
2619
2636
|
/**
|
|
2620
|
-
* <p>A certificate authority (CA) certificate for an account.</p>
|
|
2637
|
+
* <p>A certificate authority (CA) certificate for an Amazon Web Services account.</p>
|
|
2621
2638
|
*/
|
|
2622
2639
|
export interface Certificate {
|
|
2623
2640
|
/**
|
|
@@ -2663,7 +2680,7 @@ export declare namespace Certificate {
|
|
|
2663
2680
|
}
|
|
2664
2681
|
export interface CertificateMessage {
|
|
2665
2682
|
/**
|
|
2666
|
-
* <p>A list of certificates for this account.</p>
|
|
2683
|
+
* <p>A list of certificates for this Amazon Web Services account.</p>
|
|
2667
2684
|
*/
|
|
2668
2685
|
Certificates?: Certificate[];
|
|
2669
2686
|
/**
|
|
@@ -3014,17 +3031,17 @@ export declare namespace DescribeDBClusterSnapshotAttributesMessage {
|
|
|
3014
3031
|
}
|
|
3015
3032
|
/**
|
|
3016
3033
|
* <p>Contains the name and values of a manual cluster snapshot attribute.</p>
|
|
3017
|
-
* <p>Manual cluster snapshot attributes are used to authorize other accounts to restore a manual cluster snapshot.</p>
|
|
3034
|
+
* <p>Manual cluster snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual cluster snapshot.</p>
|
|
3018
3035
|
*/
|
|
3019
3036
|
export interface DBClusterSnapshotAttribute {
|
|
3020
3037
|
/**
|
|
3021
3038
|
* <p>The name of the manual cluster snapshot attribute.</p>
|
|
3022
|
-
* <p>The attribute named <code>restore</code> refers to the list of accounts that have permission to copy or restore the manual cluster snapshot.</p>
|
|
3039
|
+
* <p>The attribute named <code>restore</code> refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual cluster snapshot.</p>
|
|
3023
3040
|
*/
|
|
3024
3041
|
AttributeName?: string;
|
|
3025
3042
|
/**
|
|
3026
3043
|
* <p>The values for the manual cluster snapshot attribute.</p>
|
|
3027
|
-
* <p>If the <code>AttributeName</code> field is set to <code>restore</code>, then this element returns a list of IDs of the accounts that are authorized to copy or restore the manual cluster snapshot. If a value of <code>all</code> is in the list, then the manual cluster snapshot is public and available for any account to copy or restore.</p>
|
|
3044
|
+
* <p>If the <code>AttributeName</code> field is set to <code>restore</code>, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual cluster snapshot. If a value of <code>all</code> is in the list, then the manual cluster snapshot is public and available for any Amazon Web Services account to copy or restore.</p>
|
|
3028
3045
|
*/
|
|
3029
3046
|
AttributeValues?: string[];
|
|
3030
3047
|
}
|
|
@@ -3123,15 +3140,15 @@ export interface DescribeDBClusterSnapshotsMessage {
|
|
|
3123
3140
|
* <ul>
|
|
3124
3141
|
* <li>
|
|
3125
3142
|
* <p>
|
|
3126
|
-
* <code>automated</code> - Return all cluster snapshots that Amazon DocumentDB has automatically created for your account.</p>
|
|
3143
|
+
* <code>automated</code> - Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account.</p>
|
|
3127
3144
|
* </li>
|
|
3128
3145
|
* <li>
|
|
3129
3146
|
* <p>
|
|
3130
|
-
* <code>manual</code> - Return all cluster snapshots that you have manually created for your account.</p>
|
|
3147
|
+
* <code>manual</code> - Return all cluster snapshots that you have manually created for your Amazon Web Services account.</p>
|
|
3131
3148
|
* </li>
|
|
3132
3149
|
* <li>
|
|
3133
3150
|
* <p>
|
|
3134
|
-
* <code>shared</code> - Return all manual cluster snapshots that have been shared to your account.</p>
|
|
3151
|
+
* <code>shared</code> - Return all manual cluster snapshots that have been shared to your Amazon Web Services account.</p>
|
|
3135
3152
|
* </li>
|
|
3136
3153
|
* <li>
|
|
3137
3154
|
* <p>
|
|
@@ -3161,11 +3178,11 @@ export interface DescribeDBClusterSnapshotsMessage {
|
|
|
3161
3178
|
*/
|
|
3162
3179
|
Marker?: string;
|
|
3163
3180
|
/**
|
|
3164
|
-
* <p>Set to <code>true</code> to include shared manual cluster snapshots from other accounts that this account has been given permission to copy or restore, and otherwise <code>false</code>. The default is <code>false</code>.</p>
|
|
3181
|
+
* <p>Set to <code>true</code> to include shared manual cluster snapshots from other Amazon Web Services accounts that this Amazon Web Services account has been given permission to copy or restore, and otherwise <code>false</code>. The default is <code>false</code>.</p>
|
|
3165
3182
|
*/
|
|
3166
3183
|
IncludeShared?: boolean;
|
|
3167
3184
|
/**
|
|
3168
|
-
* <p>Set to <code>true</code> to include manual cluster snapshots that are public and can be copied or restored by any account, and otherwise <code>false</code>. The default is <code>false</code>.</p>
|
|
3185
|
+
* <p>Set to <code>true</code> to include manual cluster snapshots that are public and can be copied or restored by any Amazon Web Services account, and otherwise <code>false</code>. The default is <code>false</code>.</p>
|
|
3169
3186
|
*/
|
|
3170
3187
|
IncludePublic?: boolean;
|
|
3171
3188
|
}
|
|
@@ -4201,7 +4218,7 @@ export interface ModifyDBClusterMessage {
|
|
|
4201
4218
|
* <p>The daily time range during which automated backups are created if automated backups
|
|
4202
4219
|
* are enabled, using the <code>BackupRetentionPeriod</code> parameter. </p>
|
|
4203
4220
|
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for
|
|
4204
|
-
* each Region. </p>
|
|
4221
|
+
* each Amazon Web Services Region. </p>
|
|
4205
4222
|
* <p>Constraints:</p>
|
|
4206
4223
|
* <ul>
|
|
4207
4224
|
* <li>
|
|
@@ -4225,7 +4242,7 @@ export interface ModifyDBClusterMessage {
|
|
|
4225
4242
|
* <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code>
|
|
4226
4243
|
* </p>
|
|
4227
4244
|
* <p>The default is a 30-minute window selected at random from an 8-hour block of time for
|
|
4228
|
-
* each Region, occurring on a random day of the week. </p>
|
|
4245
|
+
* each Amazon Web Services Region, occurring on a random day of the week. </p>
|
|
4229
4246
|
* <p>Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun</p>
|
|
4230
4247
|
* <p>Constraints: Minimum 30-minute window.</p>
|
|
4231
4248
|
*/
|
|
@@ -4326,18 +4343,18 @@ export interface ModifyDBClusterSnapshotAttributeMessage {
|
|
|
4326
4343
|
DBClusterSnapshotIdentifier: string | undefined;
|
|
4327
4344
|
/**
|
|
4328
4345
|
* <p>The name of the cluster snapshot attribute to modify.</p>
|
|
4329
|
-
* <p>To manage authorization for other accounts to copy or restore a manual cluster
|
|
4346
|
+
* <p>To manage authorization for other Amazon Web Services accounts to copy or restore a manual cluster
|
|
4330
4347
|
* snapshot, set this value to <code>restore</code>.</p>
|
|
4331
4348
|
*/
|
|
4332
4349
|
AttributeName: string | undefined;
|
|
4333
4350
|
/**
|
|
4334
4351
|
* <p>A list of cluster snapshot attributes to add to the attribute specified by <code>AttributeName</code>.</p>
|
|
4335
|
-
* <p>To authorize other accounts to copy or restore a manual cluster snapshot, set this list to include one or more account IDs. To make the manual cluster snapshot restorable by any account, set it to <code>all</code>. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want to be available to all accounts.</p>
|
|
4352
|
+
* <p>To authorize other Amazon Web Services accounts to copy or restore a manual cluster snapshot, set this list to include one or more Amazon Web Services account IDs. To make the manual cluster snapshot restorable by any Amazon Web Services account, set it to <code>all</code>. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want to be available to all Amazon Web Services accounts.</p>
|
|
4336
4353
|
*/
|
|
4337
4354
|
ValuesToAdd?: string[];
|
|
4338
4355
|
/**
|
|
4339
4356
|
* <p>A list of cluster snapshot attributes to remove from the attribute specified by <code>AttributeName</code>.</p>
|
|
4340
|
-
* <p>To remove authorization for other accounts to copy or restore a manual cluster snapshot, set this list to include one or more account identifiers. To remove authorization for any account to copy or restore the cluster snapshot, set it to <code>all</code> . If you specify <code>all</code>, an account whose account ID is explicitly added to the <code>restore</code> attribute can still copy or restore a manual cluster snapshot.</p>
|
|
4357
|
+
* <p>To remove authorization for other Amazon Web Services accounts to copy or restore a manual cluster snapshot, set this list to include one or more Amazon Web Services account identifiers. To remove authorization for any Amazon Web Services account to copy or restore the cluster snapshot, set it to <code>all</code> . If you specify <code>all</code>, an Amazon Web Services account whose account ID is explicitly added to the <code>restore</code> attribute can still copy or restore a manual cluster snapshot.</p>
|
|
4341
4358
|
*/
|
|
4342
4359
|
ValuesToRemove?: string[];
|
|
4343
4360
|
}
|
|
@@ -4399,7 +4416,7 @@ export interface ModifyDBInstanceMessage {
|
|
|
4399
4416
|
*/
|
|
4400
4417
|
DBInstanceIdentifier: string | undefined;
|
|
4401
4418
|
/**
|
|
4402
|
-
* <p>The new compute and memory capacity of the instance; for example, <code>db.r5.large</code>. Not all instance classes are available in all Regions. </p>
|
|
4419
|
+
* <p>The new compute and memory capacity of the instance; for example, <code>db.r5.large</code>. Not all instance classes are available in all Amazon Web Services Regions. </p>
|
|
4403
4420
|
* <p>If you modify the instance class, an outage occurs during the change. The change is
|
|
4404
4421
|
* applied during the next maintenance window, unless <code>ApplyImmediately</code> is
|
|
4405
4422
|
* specified as <code>true</code> for this request. </p>
|
|
@@ -4465,6 +4482,23 @@ export interface ModifyDBInstanceMessage {
|
|
|
4465
4482
|
* <p>Valid values: 0-15</p>
|
|
4466
4483
|
*/
|
|
4467
4484
|
PromotionTier?: number;
|
|
4485
|
+
/**
|
|
4486
|
+
* <p>A value that indicates whether to enable Performance Insights for the DB Instance. For
|
|
4487
|
+
* more information, see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html">Using Amazon
|
|
4488
|
+
* Performance Insights</a>.</p>
|
|
4489
|
+
*/
|
|
4490
|
+
EnablePerformanceInsights?: boolean;
|
|
4491
|
+
/**
|
|
4492
|
+
* <p>The KMS key identifier for encryption of Performance Insights
|
|
4493
|
+
* data.</p>
|
|
4494
|
+
* <p>The KMS key identifier is the key ARN, key ID, alias ARN, or alias name
|
|
4495
|
+
* for the KMS key.</p>
|
|
4496
|
+
* <p>If you do not specify a value for PerformanceInsightsKMSKeyId, then Amazon DocumentDB uses your
|
|
4497
|
+
* default KMS key. There is a default KMS key for your
|
|
4498
|
+
* Amazon Web Services account. Your Amazon Web Services account has a different
|
|
4499
|
+
* default KMS key for each Amazon Web Services region.</p>
|
|
4500
|
+
*/
|
|
4501
|
+
PerformanceInsightsKMSKeyId?: string;
|
|
4468
4502
|
}
|
|
4469
4503
|
export declare namespace ModifyDBInstanceMessage {
|
|
4470
4504
|
/**
|
|
@@ -4890,7 +4924,7 @@ export interface RestoreDBClusterFromSnapshotMessage {
|
|
|
4890
4924
|
Tags?: Tag[];
|
|
4891
4925
|
/**
|
|
4892
4926
|
* <p>The KMS key identifier to use when restoring an encrypted cluster from a DB snapshot or cluster snapshot.</p>
|
|
4893
|
-
* <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a cluster with the same account that owns the KMS encryption key used to encrypt the new cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.</p>
|
|
4927
|
+
* <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a cluster with the same Amazon Web Services account that owns the KMS encryption key used to encrypt the new cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.</p>
|
|
4894
4928
|
* <p>If you do not specify a value for the <code>KmsKeyId</code> parameter, then the
|
|
4895
4929
|
* following occurs:</p>
|
|
4896
4930
|
* <ul>
|
|
@@ -5017,7 +5051,7 @@ export interface RestoreDBClusterToPointInTimeMessage {
|
|
|
5017
5051
|
Tags?: Tag[];
|
|
5018
5052
|
/**
|
|
5019
5053
|
* <p>The KMS key identifier to use when restoring an encrypted cluster from an encrypted cluster.</p>
|
|
5020
|
-
* <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a cluster with the same account that owns the KMS encryption key used to encrypt the new cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.</p>
|
|
5054
|
+
* <p>The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are restoring a cluster with the same Amazon Web Services account that owns the KMS encryption key used to encrypt the new cluster, then you can use the KMS key alias instead of the ARN for the KMS encryption key.</p>
|
|
5021
5055
|
* <p>You can restore to a new cluster and encrypt the new cluster with an KMS key that is different from the KMS key used to encrypt the source cluster. The new DB cluster is encrypted with the KMS key identified by the <code>KmsKeyId</code> parameter.</p>
|
|
5022
5056
|
* <p>If you do not specify a value for the <code>KmsKeyId</code> parameter, then the following occurs:</p>
|
|
5023
5057
|
* <ul>
|
|
@@ -653,6 +653,10 @@ export interface CreateDBInstanceMessage {
|
|
|
653
653
|
DBClusterIdentifier: string | undefined;
|
|
654
654
|
|
|
655
655
|
PromotionTier?: number;
|
|
656
|
+
|
|
657
|
+
EnablePerformanceInsights?: boolean;
|
|
658
|
+
|
|
659
|
+
PerformanceInsightsKMSKeyId?: string;
|
|
656
660
|
}
|
|
657
661
|
export declare namespace CreateDBInstanceMessage {
|
|
658
662
|
|
|
@@ -2003,6 +2007,10 @@ export interface ModifyDBInstanceMessage {
|
|
|
2003
2007
|
CACertificateIdentifier?: string;
|
|
2004
2008
|
|
|
2005
2009
|
PromotionTier?: number;
|
|
2010
|
+
|
|
2011
|
+
EnablePerformanceInsights?: boolean;
|
|
2012
|
+
|
|
2013
|
+
PerformanceInsightsKMSKeyId?: string;
|
|
2006
2014
|
}
|
|
2007
2015
|
export declare namespace ModifyDBInstanceMessage {
|
|
2008
2016
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
|
+
import { DescribeDBInstancesCommandInput } from "../commands/DescribeDBInstancesCommand";
|
|
3
|
+
import { DocDBClient } from "../DocDBClient";
|
|
4
|
+
|
|
5
|
+
export declare const waitForDBInstanceDeleted: (params: WaiterConfiguration<DocDBClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
|
|
6
|
+
|
|
7
|
+
export declare const waitUntilDBInstanceDeleted: (params: WaiterConfiguration<DocDBClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
|
+
import { DescribeDBInstancesCommandInput } from "../commands/DescribeDBInstancesCommand";
|
|
3
|
+
import { DocDBClient } from "../DocDBClient";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilDBInstanceDeleted instead. waitForDBInstanceDeleted does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForDBInstanceDeleted: (params: WaiterConfiguration<DocDBClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to DescribeDBInstancesCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilDBInstanceDeleted: (params: WaiterConfiguration<DocDBClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-docdb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Docdb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.66.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",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-sdk-rds": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
31
|
+
"@aws-sdk/middleware-sdk-rds": "3.58.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.55.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.58.0",
|
|
39
39
|
"@aws-sdk/smithy-client": "3.55.0",
|
|
40
40
|
"@aws-sdk/types": "3.55.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.55.0",
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
52
52
|
"@aws-sdk/util-waiter": "3.55.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.58.0",
|
|
59
59
|
"@tsconfig/recommended": "1.0.1",
|
|
60
60
|
"@types/node": "^12.7.5",
|
|
61
61
|
"concurrently": "7.0.0",
|