@aws-sdk/client-dsql 3.812.0 → 3.816.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/README.md +0 -16
- package/dist-cjs/DSQL.js +0 -4
- package/dist-cjs/commands/index.js +0 -2
- package/dist-cjs/models/models_0.js +11 -1
- package/dist-cjs/protocols/Aws_restJson1.js +5 -65
- package/dist-es/DSQL.js +0 -4
- package/dist-es/commands/index.js +0 -2
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -60
- package/dist-types/DSQL.d.ts +0 -14
- package/dist-types/DSQLClient.d.ts +2 -4
- package/dist-types/commands/CreateClusterCommand.d.ts +39 -39
- package/dist-types/commands/DeleteClusterCommand.d.ts +0 -1
- package/dist-types/commands/GetClusterCommand.d.ts +6 -5
- package/dist-types/commands/UpdateClusterCommand.d.ts +71 -12
- package/dist-types/commands/index.d.ts +0 -2
- package/dist-types/models/models_0.d.ts +67 -128
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -18
- package/dist-types/ts3.4/DSQL.d.ts +0 -34
- package/dist-types/ts3.4/DSQLClient.d.ts +0 -12
- package/dist-types/ts3.4/commands/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_0.d.ts +23 -23
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -24
- package/package.json +5 -5
- package/dist-cjs/commands/CreateMultiRegionClustersCommand.js +0 -26
- package/dist-cjs/commands/DeleteMultiRegionClustersCommand.js +0 -26
- package/dist-es/commands/CreateMultiRegionClustersCommand.js +0 -22
- package/dist-es/commands/DeleteMultiRegionClustersCommand.js +0 -22
- package/dist-types/commands/CreateMultiRegionClustersCommand.d.ts +0 -132
- package/dist-types/commands/DeleteMultiRegionClustersCommand.d.ts +0 -110
- package/dist-types/ts3.4/commands/CreateMultiRegionClustersCommand.d.ts +0 -51
- package/dist-types/ts3.4/commands/DeleteMultiRegionClustersCommand.d.ts +0 -47
package/README.md
CHANGED
|
@@ -215,14 +215,6 @@ CreateCluster
|
|
|
215
215
|
|
|
216
216
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/CreateClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateClusterCommandOutput/)
|
|
217
217
|
|
|
218
|
-
</details>
|
|
219
|
-
<details>
|
|
220
|
-
<summary>
|
|
221
|
-
CreateMultiRegionClusters
|
|
222
|
-
</summary>
|
|
223
|
-
|
|
224
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/CreateMultiRegionClustersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateMultiRegionClustersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateMultiRegionClustersCommandOutput/)
|
|
225
|
-
|
|
226
218
|
</details>
|
|
227
219
|
<details>
|
|
228
220
|
<summary>
|
|
@@ -231,14 +223,6 @@ DeleteCluster
|
|
|
231
223
|
|
|
232
224
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/DeleteClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteClusterCommandOutput/)
|
|
233
225
|
|
|
234
|
-
</details>
|
|
235
|
-
<details>
|
|
236
|
-
<summary>
|
|
237
|
-
DeleteMultiRegionClusters
|
|
238
|
-
</summary>
|
|
239
|
-
|
|
240
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/DeleteMultiRegionClustersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteMultiRegionClustersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteMultiRegionClustersCommandOutput/)
|
|
241
|
-
|
|
242
226
|
</details>
|
|
243
227
|
<details>
|
|
244
228
|
<summary>
|
package/dist-cjs/DSQL.js
CHANGED
|
@@ -3,9 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DSQL = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const CreateClusterCommand_1 = require("./commands/CreateClusterCommand");
|
|
6
|
-
const CreateMultiRegionClustersCommand_1 = require("./commands/CreateMultiRegionClustersCommand");
|
|
7
6
|
const DeleteClusterCommand_1 = require("./commands/DeleteClusterCommand");
|
|
8
|
-
const DeleteMultiRegionClustersCommand_1 = require("./commands/DeleteMultiRegionClustersCommand");
|
|
9
7
|
const GetClusterCommand_1 = require("./commands/GetClusterCommand");
|
|
10
8
|
const GetVpcEndpointServiceNameCommand_1 = require("./commands/GetVpcEndpointServiceNameCommand");
|
|
11
9
|
const ListClustersCommand_1 = require("./commands/ListClustersCommand");
|
|
@@ -16,9 +14,7 @@ const UpdateClusterCommand_1 = require("./commands/UpdateClusterCommand");
|
|
|
16
14
|
const DSQLClient_1 = require("./DSQLClient");
|
|
17
15
|
const commands = {
|
|
18
16
|
CreateClusterCommand: CreateClusterCommand_1.CreateClusterCommand,
|
|
19
|
-
CreateMultiRegionClustersCommand: CreateMultiRegionClustersCommand_1.CreateMultiRegionClustersCommand,
|
|
20
17
|
DeleteClusterCommand: DeleteClusterCommand_1.DeleteClusterCommand,
|
|
21
|
-
DeleteMultiRegionClustersCommand: DeleteMultiRegionClustersCommand_1.DeleteMultiRegionClustersCommand,
|
|
22
18
|
GetClusterCommand: GetClusterCommand_1.GetClusterCommand,
|
|
23
19
|
GetVpcEndpointServiceNameCommand: GetVpcEndpointServiceNameCommand_1.GetVpcEndpointServiceNameCommand,
|
|
24
20
|
ListClustersCommand: ListClustersCommand_1.ListClustersCommand,
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./CreateClusterCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./CreateMultiRegionClustersCommand"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./DeleteClusterCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./DeleteMultiRegionClustersCommand"), exports);
|
|
8
6
|
tslib_1.__exportStar(require("./GetClusterCommand"), exports);
|
|
9
7
|
tslib_1.__exportStar(require("./GetVpcEndpointServiceNameCommand"), exports);
|
|
10
8
|
tslib_1.__exportStar(require("./ListClustersCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.ClusterStatus = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.EncryptionType = exports.EncryptionStatus = exports.ConflictException = exports.ClusterStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
const DSQLServiceException_1 = require("./DSQLServiceException");
|
|
5
5
|
class AccessDeniedException extends DSQLServiceException_1.DSQLServiceException {
|
|
6
6
|
name = "AccessDeniedException";
|
|
@@ -44,6 +44,16 @@ class ConflictException extends DSQLServiceException_1.DSQLServiceException {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.ConflictException = ConflictException;
|
|
47
|
+
exports.EncryptionStatus = {
|
|
48
|
+
ENABLED: "ENABLED",
|
|
49
|
+
ENABLING: "ENABLING",
|
|
50
|
+
KMS_KEY_INACCESSIBLE: "KMS_KEY_INACCESSIBLE",
|
|
51
|
+
UPDATING: "UPDATING",
|
|
52
|
+
};
|
|
53
|
+
exports.EncryptionType = {
|
|
54
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
55
|
+
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
56
|
+
};
|
|
47
57
|
class InternalServerException extends DSQLServiceException_1.DSQLServiceException {
|
|
48
58
|
name = "InternalServerException";
|
|
49
59
|
$fault = "server";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdateClusterCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListClustersCommand = exports.de_GetVpcEndpointServiceNameCommand = exports.de_GetClusterCommand = exports.
|
|
3
|
+
exports.de_UpdateClusterCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListClustersCommand = exports.de_GetVpcEndpointServiceNameCommand = exports.de_GetClusterCommand = exports.de_DeleteClusterCommand = exports.de_CreateClusterCommand = exports.se_UpdateClusterCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListClustersCommand = exports.se_GetVpcEndpointServiceNameCommand = exports.se_GetClusterCommand = exports.se_DeleteClusterCommand = exports.se_CreateClusterCommand = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
5
|
const core_2 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -17,6 +17,7 @@ const se_CreateClusterCommand = async (input, context) => {
|
|
|
17
17
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
18
18
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
19
19
|
deletionProtectionEnabled: [],
|
|
20
|
+
kmsEncryptionKey: [],
|
|
20
21
|
multiRegionProperties: (_) => (0, smithy_client_1._json)(_),
|
|
21
22
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
22
23
|
}));
|
|
@@ -24,23 +25,6 @@ const se_CreateClusterCommand = async (input, context) => {
|
|
|
24
25
|
return b.build();
|
|
25
26
|
};
|
|
26
27
|
exports.se_CreateClusterCommand = se_CreateClusterCommand;
|
|
27
|
-
const se_CreateMultiRegionClustersCommand = async (input, context) => {
|
|
28
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
29
|
-
const headers = {
|
|
30
|
-
"content-type": "application/json",
|
|
31
|
-
};
|
|
32
|
-
b.bp("/multi-region-clusters");
|
|
33
|
-
let body;
|
|
34
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
35
|
-
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
36
|
-
clusterProperties: (_) => (0, smithy_client_1._json)(_),
|
|
37
|
-
linkedRegionList: (_) => (0, smithy_client_1._json)(_),
|
|
38
|
-
witnessRegion: [],
|
|
39
|
-
}));
|
|
40
|
-
b.m("POST").h(headers).b(body);
|
|
41
|
-
return b.build();
|
|
42
|
-
};
|
|
43
|
-
exports.se_CreateMultiRegionClustersCommand = se_CreateMultiRegionClustersCommand;
|
|
44
28
|
const se_DeleteClusterCommand = async (input, context) => {
|
|
45
29
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
46
30
|
const headers = {};
|
|
@@ -54,19 +38,6 @@ const se_DeleteClusterCommand = async (input, context) => {
|
|
|
54
38
|
return b.build();
|
|
55
39
|
};
|
|
56
40
|
exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
|
|
57
|
-
const se_DeleteMultiRegionClustersCommand = async (input, context) => {
|
|
58
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
59
|
-
const headers = {};
|
|
60
|
-
b.bp("/multi-region-clusters");
|
|
61
|
-
const query = (0, smithy_client_1.map)({
|
|
62
|
-
[_lca]: [(0, smithy_client_1.expectNonNull)(input.linkedClusterArns, `linkedClusterArns`) != null, () => input[_lCA] || []],
|
|
63
|
-
[_ct]: [, input[_cT] ?? (0, uuid_1.v4)()],
|
|
64
|
-
});
|
|
65
|
-
let body;
|
|
66
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
67
|
-
return b.build();
|
|
68
|
-
};
|
|
69
|
-
exports.se_DeleteMultiRegionClustersCommand = se_DeleteMultiRegionClustersCommand;
|
|
70
41
|
const se_GetClusterCommand = async (input, context) => {
|
|
71
42
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
72
43
|
const headers = {};
|
|
@@ -149,6 +120,7 @@ const se_UpdateClusterCommand = async (input, context) => {
|
|
|
149
120
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
150
121
|
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
151
122
|
deletionProtectionEnabled: [],
|
|
123
|
+
kmsEncryptionKey: [],
|
|
152
124
|
multiRegionProperties: (_) => (0, smithy_client_1._json)(_),
|
|
153
125
|
}));
|
|
154
126
|
b.m("POST").h(headers).b(body);
|
|
@@ -167,6 +139,7 @@ const de_CreateClusterCommand = async (output, context) => {
|
|
|
167
139
|
arn: smithy_client_1.expectString,
|
|
168
140
|
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
169
141
|
deletionProtectionEnabled: smithy_client_1.expectBoolean,
|
|
142
|
+
encryptionDetails: smithy_client_1._json,
|
|
170
143
|
identifier: smithy_client_1.expectString,
|
|
171
144
|
multiRegionProperties: smithy_client_1._json,
|
|
172
145
|
status: smithy_client_1.expectString,
|
|
@@ -175,21 +148,6 @@ const de_CreateClusterCommand = async (output, context) => {
|
|
|
175
148
|
return contents;
|
|
176
149
|
};
|
|
177
150
|
exports.de_CreateClusterCommand = de_CreateClusterCommand;
|
|
178
|
-
const de_CreateMultiRegionClustersCommand = async (output, context) => {
|
|
179
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
180
|
-
return de_CommandError(output, context);
|
|
181
|
-
}
|
|
182
|
-
const contents = (0, smithy_client_1.map)({
|
|
183
|
-
$metadata: deserializeMetadata(output),
|
|
184
|
-
});
|
|
185
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
186
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
187
|
-
linkedClusterArns: smithy_client_1._json,
|
|
188
|
-
});
|
|
189
|
-
Object.assign(contents, doc);
|
|
190
|
-
return contents;
|
|
191
|
-
};
|
|
192
|
-
exports.de_CreateMultiRegionClustersCommand = de_CreateMultiRegionClustersCommand;
|
|
193
151
|
const de_DeleteClusterCommand = async (output, context) => {
|
|
194
152
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
195
153
|
return de_CommandError(output, context);
|
|
@@ -201,7 +159,6 @@ const de_DeleteClusterCommand = async (output, context) => {
|
|
|
201
159
|
const doc = (0, smithy_client_1.take)(data, {
|
|
202
160
|
arn: smithy_client_1.expectString,
|
|
203
161
|
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
204
|
-
deletionProtectionEnabled: smithy_client_1.expectBoolean,
|
|
205
162
|
identifier: smithy_client_1.expectString,
|
|
206
163
|
status: smithy_client_1.expectString,
|
|
207
164
|
});
|
|
@@ -209,17 +166,6 @@ const de_DeleteClusterCommand = async (output, context) => {
|
|
|
209
166
|
return contents;
|
|
210
167
|
};
|
|
211
168
|
exports.de_DeleteClusterCommand = de_DeleteClusterCommand;
|
|
212
|
-
const de_DeleteMultiRegionClustersCommand = async (output, context) => {
|
|
213
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
214
|
-
return de_CommandError(output, context);
|
|
215
|
-
}
|
|
216
|
-
const contents = (0, smithy_client_1.map)({
|
|
217
|
-
$metadata: deserializeMetadata(output),
|
|
218
|
-
});
|
|
219
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
220
|
-
return contents;
|
|
221
|
-
};
|
|
222
|
-
exports.de_DeleteMultiRegionClustersCommand = de_DeleteMultiRegionClustersCommand;
|
|
223
169
|
const de_GetClusterCommand = async (output, context) => {
|
|
224
170
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
225
171
|
return de_CommandError(output, context);
|
|
@@ -232,12 +178,11 @@ const de_GetClusterCommand = async (output, context) => {
|
|
|
232
178
|
arn: smithy_client_1.expectString,
|
|
233
179
|
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
234
180
|
deletionProtectionEnabled: smithy_client_1.expectBoolean,
|
|
181
|
+
encryptionDetails: smithy_client_1._json,
|
|
235
182
|
identifier: smithy_client_1.expectString,
|
|
236
|
-
linkedClusterArns: smithy_client_1._json,
|
|
237
183
|
multiRegionProperties: smithy_client_1._json,
|
|
238
184
|
status: smithy_client_1.expectString,
|
|
239
185
|
tags: smithy_client_1._json,
|
|
240
|
-
witnessRegion: smithy_client_1.expectString,
|
|
241
186
|
});
|
|
242
187
|
Object.assign(contents, doc);
|
|
243
188
|
return contents;
|
|
@@ -322,11 +267,8 @@ const de_UpdateClusterCommand = async (output, context) => {
|
|
|
322
267
|
const doc = (0, smithy_client_1.take)(data, {
|
|
323
268
|
arn: smithy_client_1.expectString,
|
|
324
269
|
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
325
|
-
deletionProtectionEnabled: smithy_client_1.expectBoolean,
|
|
326
270
|
identifier: smithy_client_1.expectString,
|
|
327
|
-
linkedClusterArns: smithy_client_1._json,
|
|
328
271
|
status: smithy_client_1.expectString,
|
|
329
|
-
witnessRegion: smithy_client_1.expectString,
|
|
330
272
|
});
|
|
331
273
|
Object.assign(contents, doc);
|
|
332
274
|
return contents;
|
|
@@ -486,8 +428,6 @@ const deserializeMetadata = (output) => ({
|
|
|
486
428
|
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
487
429
|
const _cT = "clientToken";
|
|
488
430
|
const _ct = "client-token";
|
|
489
|
-
const _lCA = "linkedClusterArns";
|
|
490
|
-
const _lca = "linked-cluster-arns";
|
|
491
431
|
const _mR = "maxResults";
|
|
492
432
|
const _mr = "max-results";
|
|
493
433
|
const _nT = "nextToken";
|
package/dist-es/DSQL.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
|
|
3
|
-
import { CreateMultiRegionClustersCommand, } from "./commands/CreateMultiRegionClustersCommand";
|
|
4
3
|
import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
|
|
5
|
-
import { DeleteMultiRegionClustersCommand, } from "./commands/DeleteMultiRegionClustersCommand";
|
|
6
4
|
import { GetClusterCommand } from "./commands/GetClusterCommand";
|
|
7
5
|
import { GetVpcEndpointServiceNameCommand, } from "./commands/GetVpcEndpointServiceNameCommand";
|
|
8
6
|
import { ListClustersCommand, } from "./commands/ListClustersCommand";
|
|
@@ -13,9 +11,7 @@ import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
|
|
|
13
11
|
import { DSQLClient } from "./DSQLClient";
|
|
14
12
|
const commands = {
|
|
15
13
|
CreateClusterCommand,
|
|
16
|
-
CreateMultiRegionClustersCommand,
|
|
17
14
|
DeleteClusterCommand,
|
|
18
|
-
DeleteMultiRegionClustersCommand,
|
|
19
15
|
GetClusterCommand,
|
|
20
16
|
GetVpcEndpointServiceNameCommand,
|
|
21
17
|
ListClustersCommand,
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * from "./CreateClusterCommand";
|
|
2
|
-
export * from "./CreateMultiRegionClustersCommand";
|
|
3
2
|
export * from "./DeleteClusterCommand";
|
|
4
|
-
export * from "./DeleteMultiRegionClustersCommand";
|
|
5
3
|
export * from "./GetClusterCommand";
|
|
6
4
|
export * from "./GetVpcEndpointServiceNameCommand";
|
|
7
5
|
export * from "./ListClustersCommand";
|
|
@@ -39,6 +39,16 @@ export class ConflictException extends __BaseException {
|
|
|
39
39
|
this.resourceType = opts.resourceType;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
+
export const EncryptionStatus = {
|
|
43
|
+
ENABLED: "ENABLED",
|
|
44
|
+
ENABLING: "ENABLING",
|
|
45
|
+
KMS_KEY_INACCESSIBLE: "KMS_KEY_INACCESSIBLE",
|
|
46
|
+
UPDATING: "UPDATING",
|
|
47
|
+
};
|
|
48
|
+
export const EncryptionType = {
|
|
49
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
50
|
+
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
51
|
+
};
|
|
42
52
|
export class InternalServerException extends __BaseException {
|
|
43
53
|
name = "InternalServerException";
|
|
44
54
|
$fault = "server";
|
|
@@ -14,28 +14,13 @@ export const se_CreateClusterCommand = async (input, context) => {
|
|
|
14
14
|
body = JSON.stringify(take(input, {
|
|
15
15
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
16
16
|
deletionProtectionEnabled: [],
|
|
17
|
+
kmsEncryptionKey: [],
|
|
17
18
|
multiRegionProperties: (_) => _json(_),
|
|
18
19
|
tags: (_) => _json(_),
|
|
19
20
|
}));
|
|
20
21
|
b.m("POST").h(headers).b(body);
|
|
21
22
|
return b.build();
|
|
22
23
|
};
|
|
23
|
-
export const se_CreateMultiRegionClustersCommand = async (input, context) => {
|
|
24
|
-
const b = rb(input, context);
|
|
25
|
-
const headers = {
|
|
26
|
-
"content-type": "application/json",
|
|
27
|
-
};
|
|
28
|
-
b.bp("/multi-region-clusters");
|
|
29
|
-
let body;
|
|
30
|
-
body = JSON.stringify(take(input, {
|
|
31
|
-
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
32
|
-
clusterProperties: (_) => _json(_),
|
|
33
|
-
linkedRegionList: (_) => _json(_),
|
|
34
|
-
witnessRegion: [],
|
|
35
|
-
}));
|
|
36
|
-
b.m("POST").h(headers).b(body);
|
|
37
|
-
return b.build();
|
|
38
|
-
};
|
|
39
24
|
export const se_DeleteClusterCommand = async (input, context) => {
|
|
40
25
|
const b = rb(input, context);
|
|
41
26
|
const headers = {};
|
|
@@ -48,18 +33,6 @@ export const se_DeleteClusterCommand = async (input, context) => {
|
|
|
48
33
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
49
34
|
return b.build();
|
|
50
35
|
};
|
|
51
|
-
export const se_DeleteMultiRegionClustersCommand = async (input, context) => {
|
|
52
|
-
const b = rb(input, context);
|
|
53
|
-
const headers = {};
|
|
54
|
-
b.bp("/multi-region-clusters");
|
|
55
|
-
const query = map({
|
|
56
|
-
[_lca]: [__expectNonNull(input.linkedClusterArns, `linkedClusterArns`) != null, () => input[_lCA] || []],
|
|
57
|
-
[_ct]: [, input[_cT] ?? generateIdempotencyToken()],
|
|
58
|
-
});
|
|
59
|
-
let body;
|
|
60
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
61
|
-
return b.build();
|
|
62
|
-
};
|
|
63
36
|
export const se_GetClusterCommand = async (input, context) => {
|
|
64
37
|
const b = rb(input, context);
|
|
65
38
|
const headers = {};
|
|
@@ -136,6 +109,7 @@ export const se_UpdateClusterCommand = async (input, context) => {
|
|
|
136
109
|
body = JSON.stringify(take(input, {
|
|
137
110
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
138
111
|
deletionProtectionEnabled: [],
|
|
112
|
+
kmsEncryptionKey: [],
|
|
139
113
|
multiRegionProperties: (_) => _json(_),
|
|
140
114
|
}));
|
|
141
115
|
b.m("POST").h(headers).b(body);
|
|
@@ -153,6 +127,7 @@ export const de_CreateClusterCommand = async (output, context) => {
|
|
|
153
127
|
arn: __expectString,
|
|
154
128
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
155
129
|
deletionProtectionEnabled: __expectBoolean,
|
|
130
|
+
encryptionDetails: _json,
|
|
156
131
|
identifier: __expectString,
|
|
157
132
|
multiRegionProperties: _json,
|
|
158
133
|
status: __expectString,
|
|
@@ -160,20 +135,6 @@ export const de_CreateClusterCommand = async (output, context) => {
|
|
|
160
135
|
Object.assign(contents, doc);
|
|
161
136
|
return contents;
|
|
162
137
|
};
|
|
163
|
-
export const de_CreateMultiRegionClustersCommand = async (output, context) => {
|
|
164
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
165
|
-
return de_CommandError(output, context);
|
|
166
|
-
}
|
|
167
|
-
const contents = map({
|
|
168
|
-
$metadata: deserializeMetadata(output),
|
|
169
|
-
});
|
|
170
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
171
|
-
const doc = take(data, {
|
|
172
|
-
linkedClusterArns: _json,
|
|
173
|
-
});
|
|
174
|
-
Object.assign(contents, doc);
|
|
175
|
-
return contents;
|
|
176
|
-
};
|
|
177
138
|
export const de_DeleteClusterCommand = async (output, context) => {
|
|
178
139
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
179
140
|
return de_CommandError(output, context);
|
|
@@ -185,23 +146,12 @@ export const de_DeleteClusterCommand = async (output, context) => {
|
|
|
185
146
|
const doc = take(data, {
|
|
186
147
|
arn: __expectString,
|
|
187
148
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
188
|
-
deletionProtectionEnabled: __expectBoolean,
|
|
189
149
|
identifier: __expectString,
|
|
190
150
|
status: __expectString,
|
|
191
151
|
});
|
|
192
152
|
Object.assign(contents, doc);
|
|
193
153
|
return contents;
|
|
194
154
|
};
|
|
195
|
-
export const de_DeleteMultiRegionClustersCommand = async (output, context) => {
|
|
196
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
197
|
-
return de_CommandError(output, context);
|
|
198
|
-
}
|
|
199
|
-
const contents = map({
|
|
200
|
-
$metadata: deserializeMetadata(output),
|
|
201
|
-
});
|
|
202
|
-
await collectBody(output.body, context);
|
|
203
|
-
return contents;
|
|
204
|
-
};
|
|
205
155
|
export const de_GetClusterCommand = async (output, context) => {
|
|
206
156
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
207
157
|
return de_CommandError(output, context);
|
|
@@ -214,12 +164,11 @@ export const de_GetClusterCommand = async (output, context) => {
|
|
|
214
164
|
arn: __expectString,
|
|
215
165
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
216
166
|
deletionProtectionEnabled: __expectBoolean,
|
|
167
|
+
encryptionDetails: _json,
|
|
217
168
|
identifier: __expectString,
|
|
218
|
-
linkedClusterArns: _json,
|
|
219
169
|
multiRegionProperties: _json,
|
|
220
170
|
status: __expectString,
|
|
221
171
|
tags: _json,
|
|
222
|
-
witnessRegion: __expectString,
|
|
223
172
|
});
|
|
224
173
|
Object.assign(contents, doc);
|
|
225
174
|
return contents;
|
|
@@ -298,11 +247,8 @@ export const de_UpdateClusterCommand = async (output, context) => {
|
|
|
298
247
|
const doc = take(data, {
|
|
299
248
|
arn: __expectString,
|
|
300
249
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
301
|
-
deletionProtectionEnabled: __expectBoolean,
|
|
302
250
|
identifier: __expectString,
|
|
303
|
-
linkedClusterArns: _json,
|
|
304
251
|
status: __expectString,
|
|
305
|
-
witnessRegion: __expectString,
|
|
306
252
|
});
|
|
307
253
|
Object.assign(contents, doc);
|
|
308
254
|
return contents;
|
|
@@ -461,8 +407,6 @@ const deserializeMetadata = (output) => ({
|
|
|
461
407
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
462
408
|
const _cT = "clientToken";
|
|
463
409
|
const _ct = "client-token";
|
|
464
|
-
const _lCA = "linkedClusterArns";
|
|
465
|
-
const _lca = "linked-cluster-arns";
|
|
466
410
|
const _mR = "maxResults";
|
|
467
411
|
const _mr = "max-results";
|
|
468
412
|
const _nT = "nextToken";
|
package/dist-types/DSQL.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
3
|
-
import { CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput } from "./commands/CreateMultiRegionClustersCommand";
|
|
4
3
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
5
|
-
import { DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput } from "./commands/DeleteMultiRegionClustersCommand";
|
|
6
4
|
import { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
7
5
|
import { GetVpcEndpointServiceNameCommandInput, GetVpcEndpointServiceNameCommandOutput } from "./commands/GetVpcEndpointServiceNameCommand";
|
|
8
6
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
@@ -19,24 +17,12 @@ export interface DSQL {
|
|
|
19
17
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
20
18
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
21
19
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
22
|
-
/**
|
|
23
|
-
* @see {@link CreateMultiRegionClustersCommand}
|
|
24
|
-
*/
|
|
25
|
-
createMultiRegionClusters(args: CreateMultiRegionClustersCommandInput, options?: __HttpHandlerOptions): Promise<CreateMultiRegionClustersCommandOutput>;
|
|
26
|
-
createMultiRegionClusters(args: CreateMultiRegionClustersCommandInput, cb: (err: any, data?: CreateMultiRegionClustersCommandOutput) => void): void;
|
|
27
|
-
createMultiRegionClusters(args: CreateMultiRegionClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMultiRegionClustersCommandOutput) => void): void;
|
|
28
20
|
/**
|
|
29
21
|
* @see {@link DeleteClusterCommand}
|
|
30
22
|
*/
|
|
31
23
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
32
24
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
33
25
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
34
|
-
/**
|
|
35
|
-
* @see {@link DeleteMultiRegionClustersCommand}
|
|
36
|
-
*/
|
|
37
|
-
deleteMultiRegionClusters(args: DeleteMultiRegionClustersCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMultiRegionClustersCommandOutput>;
|
|
38
|
-
deleteMultiRegionClusters(args: DeleteMultiRegionClustersCommandInput, cb: (err: any, data?: DeleteMultiRegionClustersCommandOutput) => void): void;
|
|
39
|
-
deleteMultiRegionClusters(args: DeleteMultiRegionClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMultiRegionClustersCommandOutput) => void): void;
|
|
40
26
|
/**
|
|
41
27
|
* @see {@link GetClusterCommand}
|
|
42
28
|
*/
|
|
@@ -8,9 +8,7 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
11
|
-
import { CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput } from "./commands/CreateMultiRegionClustersCommand";
|
|
12
11
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
13
|
-
import { DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput } from "./commands/DeleteMultiRegionClustersCommand";
|
|
14
12
|
import { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand";
|
|
15
13
|
import { GetVpcEndpointServiceNameCommandInput, GetVpcEndpointServiceNameCommandOutput } from "./commands/GetVpcEndpointServiceNameCommand";
|
|
16
14
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
@@ -24,11 +22,11 @@ export { __Client };
|
|
|
24
22
|
/**
|
|
25
23
|
* @public
|
|
26
24
|
*/
|
|
27
|
-
export type ServiceInputTypes = CreateClusterCommandInput |
|
|
25
|
+
export type ServiceInputTypes = CreateClusterCommandInput | DeleteClusterCommandInput | GetClusterCommandInput | GetVpcEndpointServiceNameCommandInput | ListClustersCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateClusterCommandInput;
|
|
28
26
|
/**
|
|
29
27
|
* @public
|
|
30
28
|
*/
|
|
31
|
-
export type ServiceOutputTypes = CreateClusterCommandOutput |
|
|
29
|
+
export type ServiceOutputTypes = CreateClusterCommandOutput | DeleteClusterCommandOutput | GetClusterCommandOutput | GetVpcEndpointServiceNameCommandOutput | ListClustersCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateClusterCommandOutput;
|
|
32
30
|
/**
|
|
33
31
|
* @public
|
|
34
32
|
*/
|
|
@@ -27,75 +27,69 @@ declare const CreateClusterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>The CreateCluster API allows you to create both single-region clusters and multi-Region
|
|
31
|
+
* clusters. With the addition of the <i>multiRegionProperties</i> parameter,
|
|
32
|
+
* you can create a cluster with witness Region support and establish peer relationships with
|
|
33
|
+
* clusters in other Regions during creation.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>Creating multi-Region clusters requires additional IAM permissions beyond those
|
|
36
|
+
* needed for single-Region clusters, as detailed in the <b>Required permissions</b> section
|
|
37
|
+
* below.</p>
|
|
38
|
+
* </note>
|
|
39
|
+
* <p>
|
|
40
|
+
* <b>Required permissions</b>
|
|
41
|
+
* </p>
|
|
33
42
|
* <dl>
|
|
34
43
|
* <dt>dsql:CreateCluster</dt>
|
|
35
44
|
* <dd>
|
|
36
|
-
* <p>
|
|
45
|
+
* <p>Required to create a cluster.</p>
|
|
46
|
+
* <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
|
|
47
|
+
* </p>
|
|
37
48
|
* </dd>
|
|
38
|
-
* </dl>
|
|
39
|
-
* <p> Permission to add tags to a resource.</p>
|
|
40
|
-
* <dl>
|
|
41
49
|
* <dt>dsql:TagResource</dt>
|
|
42
50
|
* <dd>
|
|
43
|
-
* <p>
|
|
44
|
-
*
|
|
51
|
+
* <p>Permission to add tags to a resource.</p>
|
|
52
|
+
* <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
|
|
53
|
+
* </p>
|
|
45
54
|
* </dd>
|
|
46
|
-
* </dl>
|
|
47
|
-
* <p>Permission to configure multi-region properties for
|
|
48
|
-
* a cluster.</p>
|
|
49
|
-
* <dl>
|
|
50
55
|
* <dt>dsql:PutMultiRegionProperties</dt>
|
|
51
56
|
* <dd>
|
|
52
|
-
* <p>
|
|
53
|
-
*
|
|
57
|
+
* <p>Permission to configure multi-region properties for a cluster.</p>
|
|
58
|
+
* <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
|
|
59
|
+
* </p>
|
|
54
60
|
* </dd>
|
|
55
|
-
* </dl>
|
|
56
|
-
* <p>When specifying multiRegionProperties.clusters.</p>
|
|
57
|
-
* <dl>
|
|
58
61
|
* <dt>dsql:AddPeerCluster</dt>
|
|
59
62
|
* <dd>
|
|
60
|
-
* <p>
|
|
63
|
+
* <p>When specifying <code>multiRegionProperties.clusters</code>, permission to
|
|
64
|
+
* add peer clusters.</p>
|
|
61
65
|
* <p>Resources:</p>
|
|
62
66
|
* <ul>
|
|
63
67
|
* <li>
|
|
64
|
-
* <p>Local cluster: arn:aws:dsql
|
|
68
|
+
* <p>Local cluster: <code>arn:aws:dsql:region:account-id:cluster/*</code>
|
|
69
|
+
* </p>
|
|
65
70
|
* </li>
|
|
66
71
|
* <li>
|
|
67
72
|
* <p>Each peer cluster: exact ARN of each specified peer cluster</p>
|
|
68
73
|
* </li>
|
|
69
74
|
* </ul>
|
|
70
75
|
* </dd>
|
|
71
|
-
* </dl>
|
|
72
|
-
* <p>When specifying multiRegionProperties.witnessRegion.</p>
|
|
73
|
-
* <dl>
|
|
74
76
|
* <dt>dsql:PutWitnessRegion</dt>
|
|
75
77
|
* <dd>
|
|
76
|
-
* <p>
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* Region.</p>
|
|
83
|
-
* </note>
|
|
78
|
+
* <p>When specifying <code>multiRegionProperties.witnessRegion</code>, permission
|
|
79
|
+
* to set a witness Region. This permission is checked both in the cluster Region and
|
|
80
|
+
* in the witness Region.</p>
|
|
81
|
+
* <p>Resources: <code>arn:aws:dsql:region:account-id:cluster/*</code>
|
|
82
|
+
* </p>
|
|
83
|
+
* <p>Condition Keys: <code>dsql:WitnessRegion</code> (matching the specified witness region)</p>
|
|
84
84
|
* </dd>
|
|
85
85
|
* </dl>
|
|
86
86
|
* <important>
|
|
87
|
-
* <p>
|
|
88
|
-
* <b>Important Notes for Multi-Region Operations</b>
|
|
89
|
-
* </p>
|
|
90
87
|
* <ul>
|
|
91
88
|
* <li>
|
|
92
|
-
* <p>The witness
|
|
93
|
-
*
|
|
89
|
+
* <p>The witness Region specified in
|
|
90
|
+
* <code>multiRegionProperties.witnessRegion</code> cannot be the same as the
|
|
94
91
|
* cluster's Region.</p>
|
|
95
92
|
* </li>
|
|
96
|
-
* <li>
|
|
97
|
-
* <p>When updating clusters with peer relationships, permissions are checked for both adding and removing peers.</p>
|
|
98
|
-
* </li>
|
|
99
93
|
* </ul>
|
|
100
94
|
* </important>
|
|
101
95
|
* @example
|
|
@@ -106,6 +100,7 @@ declare const CreateClusterCommand_base: {
|
|
|
106
100
|
* const client = new DSQLClient(config);
|
|
107
101
|
* const input = { // CreateClusterInput
|
|
108
102
|
* deletionProtectionEnabled: true || false,
|
|
103
|
+
* kmsEncryptionKey: "STRING_VALUE",
|
|
109
104
|
* tags: { // TagMap
|
|
110
105
|
* "<keys>": "STRING_VALUE",
|
|
111
106
|
* },
|
|
@@ -130,6 +125,11 @@ declare const CreateClusterCommand_base: {
|
|
|
130
125
|
* // "STRING_VALUE",
|
|
131
126
|
* // ],
|
|
132
127
|
* // },
|
|
128
|
+
* // encryptionDetails: { // EncryptionDetails
|
|
129
|
+
* // encryptionType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY", // required
|
|
130
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
131
|
+
* // encryptionStatus: "ENABLED" || "UPDATING" || "KMS_KEY_INACCESSIBLE" || "ENABLING", // required
|
|
132
|
+
* // },
|
|
133
133
|
* // deletionProtectionEnabled: true || false, // required
|
|
134
134
|
* // };
|
|
135
135
|
*
|
|
@@ -45,7 +45,6 @@ declare const DeleteClusterCommand_base: {
|
|
|
45
45
|
* // arn: "STRING_VALUE", // required
|
|
46
46
|
* // status: "CREATING" || "ACTIVE" || "IDLE" || "INACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "FAILED" || "PENDING_SETUP" || "PENDING_DELETE", // required
|
|
47
47
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
48
|
-
* // deletionProtectionEnabled: true || false, // required
|
|
49
48
|
* // };
|
|
50
49
|
*
|
|
51
50
|
* ```
|