@aws-sdk/client-dsql 3.810.0 → 3.813.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/protocols/Aws_restJson1.js +1 -65
- package/dist-es/DSQL.js +0 -4
- package/dist-es/commands/index.js +0 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -60
- package/dist-types/DSQL.d.ts +0 -14
- package/dist-types/DSQLClient.d.ts +2 -4
- package/dist-types/commands/CreateClusterCommand.d.ts +33 -39
- package/dist-types/commands/DeleteClusterCommand.d.ts +0 -1
- package/dist-types/commands/GetClusterCommand.d.ts +1 -5
- package/dist-types/commands/UpdateClusterCommand.d.ts +70 -12
- package/dist-types/commands/index.d.ts +0 -2
- package/dist-types/models/models_0.d.ts +0 -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 +0 -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
|
@@ -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";
|
|
@@ -273,69 +273,6 @@ export declare class ValidationException extends __BaseException {
|
|
|
273
273
|
*/
|
|
274
274
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
275
275
|
}
|
|
276
|
-
/**
|
|
277
|
-
* <p>Properties of linked clusters.</p>
|
|
278
|
-
*
|
|
279
|
-
* @deprecated The CreateMultiRegionClusters API is deprecated. To create a multi-Region cluster, use the CreateCluster API with multi-Region properties instead.
|
|
280
|
-
* @public
|
|
281
|
-
*/
|
|
282
|
-
export interface LinkedClusterProperties {
|
|
283
|
-
/**
|
|
284
|
-
* <p>Whether deletion protection is enabled.</p>
|
|
285
|
-
* @public
|
|
286
|
-
*/
|
|
287
|
-
deletionProtectionEnabled?: boolean | undefined;
|
|
288
|
-
/**
|
|
289
|
-
* <p>A map of key and value pairs the linked cluster is tagged with.</p>
|
|
290
|
-
* @public
|
|
291
|
-
*/
|
|
292
|
-
tags?: Record<string, string> | undefined;
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* @public
|
|
296
|
-
*/
|
|
297
|
-
export interface CreateMultiRegionClustersInput {
|
|
298
|
-
/**
|
|
299
|
-
* <p>An array of the Regions in which you want to create additional clusters.</p>
|
|
300
|
-
*
|
|
301
|
-
* @deprecated
|
|
302
|
-
* @public
|
|
303
|
-
*/
|
|
304
|
-
linkedRegionList: string[] | undefined;
|
|
305
|
-
/**
|
|
306
|
-
* <p>A mapping of properties to use when creating linked clusters.</p>
|
|
307
|
-
*
|
|
308
|
-
* @deprecated
|
|
309
|
-
* @public
|
|
310
|
-
*/
|
|
311
|
-
clusterProperties?: Record<string, LinkedClusterProperties> | undefined;
|
|
312
|
-
/**
|
|
313
|
-
* <p>The witness Region of multi-Region clusters.</p>
|
|
314
|
-
* @public
|
|
315
|
-
*/
|
|
316
|
-
witnessRegion: string | undefined;
|
|
317
|
-
/**
|
|
318
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
319
|
-
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
320
|
-
* request, if the original request completes successfully. The subsequent retries with the
|
|
321
|
-
* same client token return the result from the original successful request and they have no
|
|
322
|
-
* additional effect.</p>
|
|
323
|
-
* <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates
|
|
324
|
-
* one.</p>
|
|
325
|
-
* @public
|
|
326
|
-
*/
|
|
327
|
-
clientToken?: string | undefined;
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* @public
|
|
331
|
-
*/
|
|
332
|
-
export interface CreateMultiRegionClustersOutput {
|
|
333
|
-
/**
|
|
334
|
-
* <p>An array that contains the ARNs of all linked clusters.</p>
|
|
335
|
-
* @public
|
|
336
|
-
*/
|
|
337
|
-
linkedClusterArns: string[] | undefined;
|
|
338
|
-
}
|
|
339
276
|
/**
|
|
340
277
|
* @public
|
|
341
278
|
*/
|
|
@@ -382,13 +319,6 @@ export interface DeleteClusterOutput {
|
|
|
382
319
|
* @public
|
|
383
320
|
*/
|
|
384
321
|
creationTime: Date | undefined;
|
|
385
|
-
/**
|
|
386
|
-
* <p>Specifies whether deletion protection was enabled on the cluster.</p>
|
|
387
|
-
*
|
|
388
|
-
* @deprecated
|
|
389
|
-
* @public
|
|
390
|
-
*/
|
|
391
|
-
deletionProtectionEnabled: boolean | undefined;
|
|
392
322
|
}
|
|
393
323
|
/**
|
|
394
324
|
* <p>The resource could not be found.</p>
|
|
@@ -412,28 +342,6 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
412
342
|
*/
|
|
413
343
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
414
344
|
}
|
|
415
|
-
/**
|
|
416
|
-
* @public
|
|
417
|
-
*/
|
|
418
|
-
export interface DeleteMultiRegionClustersInput {
|
|
419
|
-
/**
|
|
420
|
-
* <p>The ARNs of the clusters linked to the cluster you want to delete. also deletes
|
|
421
|
-
* these clusters as part of the operation.</p>
|
|
422
|
-
* @public
|
|
423
|
-
*/
|
|
424
|
-
linkedClusterArns: string[] | undefined;
|
|
425
|
-
/**
|
|
426
|
-
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
427
|
-
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
428
|
-
* request, if the original request completes successfully. The subsequent retries with the
|
|
429
|
-
* same client token return the result from the original successful request and they have no
|
|
430
|
-
* additional effect.</p>
|
|
431
|
-
* <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates
|
|
432
|
-
* one.</p>
|
|
433
|
-
* @public
|
|
434
|
-
*/
|
|
435
|
-
clientToken?: string | undefined;
|
|
436
|
-
}
|
|
437
345
|
/**
|
|
438
346
|
* @public
|
|
439
347
|
*/
|
|
@@ -469,20 +377,6 @@ export interface GetClusterOutput {
|
|
|
469
377
|
* @public
|
|
470
378
|
*/
|
|
471
379
|
creationTime: Date | undefined;
|
|
472
|
-
/**
|
|
473
|
-
* <p>The witness Region of the cluster. Applicable only for multi-Region clusters.</p>
|
|
474
|
-
*
|
|
475
|
-
* @deprecated
|
|
476
|
-
* @public
|
|
477
|
-
*/
|
|
478
|
-
witnessRegion?: string | undefined;
|
|
479
|
-
/**
|
|
480
|
-
* <p>The ARNs of the clusters linked to the retrieved cluster.</p>
|
|
481
|
-
*
|
|
482
|
-
* @deprecated
|
|
483
|
-
* @public
|
|
484
|
-
*/
|
|
485
|
-
linkedClusterArns?: string[] | undefined;
|
|
486
380
|
/**
|
|
487
381
|
* <p>Whether deletion protection is enabled in this cluster.</p>
|
|
488
382
|
* @public
|
|
@@ -626,28 +520,6 @@ export interface UpdateClusterOutput {
|
|
|
626
520
|
* @public
|
|
627
521
|
*/
|
|
628
522
|
creationTime: Date | undefined;
|
|
629
|
-
/**
|
|
630
|
-
* <p>The Region that receives all data you write to linked clusters.</p>
|
|
631
|
-
*
|
|
632
|
-
* @deprecated
|
|
633
|
-
* @public
|
|
634
|
-
*/
|
|
635
|
-
witnessRegion?: string | undefined;
|
|
636
|
-
/**
|
|
637
|
-
* <p>The ARNs of the clusters linked to the updated cluster. Applicable only for multi-Region
|
|
638
|
-
* clusters.</p>
|
|
639
|
-
*
|
|
640
|
-
* @deprecated
|
|
641
|
-
* @public
|
|
642
|
-
*/
|
|
643
|
-
linkedClusterArns?: string[] | undefined;
|
|
644
|
-
/**
|
|
645
|
-
* <p>Whether deletion protection is enabled for the updated cluster.</p>
|
|
646
|
-
*
|
|
647
|
-
* @deprecated
|
|
648
|
-
* @public
|
|
649
|
-
*/
|
|
650
|
-
deletionProtectionEnabled: boolean | undefined;
|
|
651
523
|
}
|
|
652
524
|
/**
|
|
653
525
|
* @public
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "../commands/CreateClusterCommand";
|
|
4
|
-
import { CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput } from "../commands/CreateMultiRegionClustersCommand";
|
|
5
4
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "../commands/DeleteClusterCommand";
|
|
6
|
-
import { DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput } from "../commands/DeleteMultiRegionClustersCommand";
|
|
7
5
|
import { GetClusterCommandInput, GetClusterCommandOutput } from "../commands/GetClusterCommand";
|
|
8
6
|
import { GetVpcEndpointServiceNameCommandInput, GetVpcEndpointServiceNameCommandOutput } from "../commands/GetVpcEndpointServiceNameCommand";
|
|
9
7
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
|
|
@@ -15,18 +13,10 @@ import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "../comman
|
|
|
15
13
|
* serializeAws_restJson1CreateClusterCommand
|
|
16
14
|
*/
|
|
17
15
|
export declare const se_CreateClusterCommand: (input: CreateClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
-
/**
|
|
19
|
-
* serializeAws_restJson1CreateMultiRegionClustersCommand
|
|
20
|
-
*/
|
|
21
|
-
export declare const se_CreateMultiRegionClustersCommand: (input: CreateMultiRegionClustersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
16
|
/**
|
|
23
17
|
* serializeAws_restJson1DeleteClusterCommand
|
|
24
18
|
*/
|
|
25
19
|
export declare const se_DeleteClusterCommand: (input: DeleteClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
-
/**
|
|
27
|
-
* serializeAws_restJson1DeleteMultiRegionClustersCommand
|
|
28
|
-
*/
|
|
29
|
-
export declare const se_DeleteMultiRegionClustersCommand: (input: DeleteMultiRegionClustersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
20
|
/**
|
|
31
21
|
* serializeAws_restJson1GetClusterCommand
|
|
32
22
|
*/
|
|
@@ -59,18 +49,10 @@ export declare const se_UpdateClusterCommand: (input: UpdateClusterCommandInput,
|
|
|
59
49
|
* deserializeAws_restJson1CreateClusterCommand
|
|
60
50
|
*/
|
|
61
51
|
export declare const de_CreateClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateClusterCommandOutput>;
|
|
62
|
-
/**
|
|
63
|
-
* deserializeAws_restJson1CreateMultiRegionClustersCommand
|
|
64
|
-
*/
|
|
65
|
-
export declare const de_CreateMultiRegionClustersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateMultiRegionClustersCommandOutput>;
|
|
66
52
|
/**
|
|
67
53
|
* deserializeAws_restJson1DeleteClusterCommand
|
|
68
54
|
*/
|
|
69
55
|
export declare const de_DeleteClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteClusterCommandOutput>;
|
|
70
|
-
/**
|
|
71
|
-
* deserializeAws_restJson1DeleteMultiRegionClustersCommand
|
|
72
|
-
*/
|
|
73
|
-
export declare const de_DeleteMultiRegionClustersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMultiRegionClustersCommandOutput>;
|
|
74
56
|
/**
|
|
75
57
|
* deserializeAws_restJson1GetClusterCommand
|
|
76
58
|
*/
|
|
@@ -3,18 +3,10 @@ import {
|
|
|
3
3
|
CreateClusterCommandInput,
|
|
4
4
|
CreateClusterCommandOutput,
|
|
5
5
|
} from "./commands/CreateClusterCommand";
|
|
6
|
-
import {
|
|
7
|
-
CreateMultiRegionClustersCommandInput,
|
|
8
|
-
CreateMultiRegionClustersCommandOutput,
|
|
9
|
-
} from "./commands/CreateMultiRegionClustersCommand";
|
|
10
6
|
import {
|
|
11
7
|
DeleteClusterCommandInput,
|
|
12
8
|
DeleteClusterCommandOutput,
|
|
13
9
|
} from "./commands/DeleteClusterCommand";
|
|
14
|
-
import {
|
|
15
|
-
DeleteMultiRegionClustersCommandInput,
|
|
16
|
-
DeleteMultiRegionClustersCommandOutput,
|
|
17
|
-
} from "./commands/DeleteMultiRegionClustersCommand";
|
|
18
10
|
import {
|
|
19
11
|
GetClusterCommandInput,
|
|
20
12
|
GetClusterCommandOutput,
|
|
@@ -59,19 +51,6 @@ export interface DSQL {
|
|
|
59
51
|
options: __HttpHandlerOptions,
|
|
60
52
|
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
61
53
|
): void;
|
|
62
|
-
createMultiRegionClusters(
|
|
63
|
-
args: CreateMultiRegionClustersCommandInput,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Promise<CreateMultiRegionClustersCommandOutput>;
|
|
66
|
-
createMultiRegionClusters(
|
|
67
|
-
args: CreateMultiRegionClustersCommandInput,
|
|
68
|
-
cb: (err: any, data?: CreateMultiRegionClustersCommandOutput) => void
|
|
69
|
-
): void;
|
|
70
|
-
createMultiRegionClusters(
|
|
71
|
-
args: CreateMultiRegionClustersCommandInput,
|
|
72
|
-
options: __HttpHandlerOptions,
|
|
73
|
-
cb: (err: any, data?: CreateMultiRegionClustersCommandOutput) => void
|
|
74
|
-
): void;
|
|
75
54
|
deleteCluster(
|
|
76
55
|
args: DeleteClusterCommandInput,
|
|
77
56
|
options?: __HttpHandlerOptions
|
|
@@ -85,19 +64,6 @@ export interface DSQL {
|
|
|
85
64
|
options: __HttpHandlerOptions,
|
|
86
65
|
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
87
66
|
): void;
|
|
88
|
-
deleteMultiRegionClusters(
|
|
89
|
-
args: DeleteMultiRegionClustersCommandInput,
|
|
90
|
-
options?: __HttpHandlerOptions
|
|
91
|
-
): Promise<DeleteMultiRegionClustersCommandOutput>;
|
|
92
|
-
deleteMultiRegionClusters(
|
|
93
|
-
args: DeleteMultiRegionClustersCommandInput,
|
|
94
|
-
cb: (err: any, data?: DeleteMultiRegionClustersCommandOutput) => void
|
|
95
|
-
): void;
|
|
96
|
-
deleteMultiRegionClusters(
|
|
97
|
-
args: DeleteMultiRegionClustersCommandInput,
|
|
98
|
-
options: __HttpHandlerOptions,
|
|
99
|
-
cb: (err: any, data?: DeleteMultiRegionClustersCommandOutput) => void
|
|
100
|
-
): void;
|
|
101
67
|
getCluster(
|
|
102
68
|
args: GetClusterCommandInput,
|
|
103
69
|
options?: __HttpHandlerOptions
|
|
@@ -49,18 +49,10 @@ import {
|
|
|
49
49
|
CreateClusterCommandInput,
|
|
50
50
|
CreateClusterCommandOutput,
|
|
51
51
|
} from "./commands/CreateClusterCommand";
|
|
52
|
-
import {
|
|
53
|
-
CreateMultiRegionClustersCommandInput,
|
|
54
|
-
CreateMultiRegionClustersCommandOutput,
|
|
55
|
-
} from "./commands/CreateMultiRegionClustersCommand";
|
|
56
52
|
import {
|
|
57
53
|
DeleteClusterCommandInput,
|
|
58
54
|
DeleteClusterCommandOutput,
|
|
59
55
|
} from "./commands/DeleteClusterCommand";
|
|
60
|
-
import {
|
|
61
|
-
DeleteMultiRegionClustersCommandInput,
|
|
62
|
-
DeleteMultiRegionClustersCommandOutput,
|
|
63
|
-
} from "./commands/DeleteMultiRegionClustersCommand";
|
|
64
56
|
import {
|
|
65
57
|
GetClusterCommandInput,
|
|
66
58
|
GetClusterCommandOutput,
|
|
@@ -98,9 +90,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
98
90
|
export { __Client };
|
|
99
91
|
export type ServiceInputTypes =
|
|
100
92
|
| CreateClusterCommandInput
|
|
101
|
-
| CreateMultiRegionClustersCommandInput
|
|
102
93
|
| DeleteClusterCommandInput
|
|
103
|
-
| DeleteMultiRegionClustersCommandInput
|
|
104
94
|
| GetClusterCommandInput
|
|
105
95
|
| GetVpcEndpointServiceNameCommandInput
|
|
106
96
|
| ListClustersCommandInput
|
|
@@ -110,9 +100,7 @@ export type ServiceInputTypes =
|
|
|
110
100
|
| UpdateClusterCommandInput;
|
|
111
101
|
export type ServiceOutputTypes =
|
|
112
102
|
| CreateClusterCommandOutput
|
|
113
|
-
| CreateMultiRegionClustersCommandOutput
|
|
114
103
|
| DeleteClusterCommandOutput
|
|
115
|
-
| DeleteMultiRegionClustersCommandOutput
|
|
116
104
|
| GetClusterCommandOutput
|
|
117
105
|
| GetVpcEndpointServiceNameCommandOutput
|
|
118
106
|
| ListClustersCommandOutput
|
|
@@ -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";
|
|
@@ -100,19 +100,6 @@ export declare class ValidationException extends __BaseException {
|
|
|
100
100
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
|
-
export interface LinkedClusterProperties {
|
|
104
|
-
deletionProtectionEnabled?: boolean | undefined;
|
|
105
|
-
tags?: Record<string, string> | undefined;
|
|
106
|
-
}
|
|
107
|
-
export interface CreateMultiRegionClustersInput {
|
|
108
|
-
linkedRegionList: string[] | undefined;
|
|
109
|
-
clusterProperties?: Record<string, LinkedClusterProperties> | undefined;
|
|
110
|
-
witnessRegion: string | undefined;
|
|
111
|
-
clientToken?: string | undefined;
|
|
112
|
-
}
|
|
113
|
-
export interface CreateMultiRegionClustersOutput {
|
|
114
|
-
linkedClusterArns: string[] | undefined;
|
|
115
|
-
}
|
|
116
103
|
export interface DeleteClusterInput {
|
|
117
104
|
identifier: string | undefined;
|
|
118
105
|
clientToken?: string | undefined;
|
|
@@ -122,7 +109,6 @@ export interface DeleteClusterOutput {
|
|
|
122
109
|
arn: string | undefined;
|
|
123
110
|
status: ClusterStatus | undefined;
|
|
124
111
|
creationTime: Date | undefined;
|
|
125
|
-
deletionProtectionEnabled: boolean | undefined;
|
|
126
112
|
}
|
|
127
113
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
128
114
|
readonly name: "ResourceNotFoundException";
|
|
@@ -133,10 +119,6 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
133
119
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
134
120
|
);
|
|
135
121
|
}
|
|
136
|
-
export interface DeleteMultiRegionClustersInput {
|
|
137
|
-
linkedClusterArns: string[] | undefined;
|
|
138
|
-
clientToken?: string | undefined;
|
|
139
|
-
}
|
|
140
122
|
export interface GetClusterInput {
|
|
141
123
|
identifier: string | undefined;
|
|
142
124
|
}
|
|
@@ -145,8 +127,6 @@ export interface GetClusterOutput {
|
|
|
145
127
|
arn: string | undefined;
|
|
146
128
|
status: ClusterStatus | undefined;
|
|
147
129
|
creationTime: Date | undefined;
|
|
148
|
-
witnessRegion?: string | undefined;
|
|
149
|
-
linkedClusterArns?: string[] | undefined;
|
|
150
130
|
deletionProtectionEnabled: boolean | undefined;
|
|
151
131
|
multiRegionProperties?: MultiRegionProperties | undefined;
|
|
152
132
|
tags?: Record<string, string> | undefined;
|
|
@@ -180,9 +160,6 @@ export interface UpdateClusterOutput {
|
|
|
180
160
|
arn: string | undefined;
|
|
181
161
|
status: ClusterStatus | undefined;
|
|
182
162
|
creationTime: Date | undefined;
|
|
183
|
-
witnessRegion?: string | undefined;
|
|
184
|
-
linkedClusterArns?: string[] | undefined;
|
|
185
|
-
deletionProtectionEnabled: boolean | undefined;
|
|
186
163
|
}
|
|
187
164
|
export interface ListTagsForResourceInput {
|
|
188
165
|
resourceArn: string | undefined;
|
|
@@ -7,18 +7,10 @@ import {
|
|
|
7
7
|
CreateClusterCommandInput,
|
|
8
8
|
CreateClusterCommandOutput,
|
|
9
9
|
} from "../commands/CreateClusterCommand";
|
|
10
|
-
import {
|
|
11
|
-
CreateMultiRegionClustersCommandInput,
|
|
12
|
-
CreateMultiRegionClustersCommandOutput,
|
|
13
|
-
} from "../commands/CreateMultiRegionClustersCommand";
|
|
14
10
|
import {
|
|
15
11
|
DeleteClusterCommandInput,
|
|
16
12
|
DeleteClusterCommandOutput,
|
|
17
13
|
} from "../commands/DeleteClusterCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeleteMultiRegionClustersCommandInput,
|
|
20
|
-
DeleteMultiRegionClustersCommandOutput,
|
|
21
|
-
} from "../commands/DeleteMultiRegionClustersCommand";
|
|
22
14
|
import {
|
|
23
15
|
GetClusterCommandInput,
|
|
24
16
|
GetClusterCommandOutput,
|
|
@@ -51,18 +43,10 @@ export declare const se_CreateClusterCommand: (
|
|
|
51
43
|
input: CreateClusterCommandInput,
|
|
52
44
|
context: __SerdeContext
|
|
53
45
|
) => Promise<__HttpRequest>;
|
|
54
|
-
export declare const se_CreateMultiRegionClustersCommand: (
|
|
55
|
-
input: CreateMultiRegionClustersCommandInput,
|
|
56
|
-
context: __SerdeContext
|
|
57
|
-
) => Promise<__HttpRequest>;
|
|
58
46
|
export declare const se_DeleteClusterCommand: (
|
|
59
47
|
input: DeleteClusterCommandInput,
|
|
60
48
|
context: __SerdeContext
|
|
61
49
|
) => Promise<__HttpRequest>;
|
|
62
|
-
export declare const se_DeleteMultiRegionClustersCommand: (
|
|
63
|
-
input: DeleteMultiRegionClustersCommandInput,
|
|
64
|
-
context: __SerdeContext
|
|
65
|
-
) => Promise<__HttpRequest>;
|
|
66
50
|
export declare const se_GetClusterCommand: (
|
|
67
51
|
input: GetClusterCommandInput,
|
|
68
52
|
context: __SerdeContext
|
|
@@ -95,18 +79,10 @@ export declare const de_CreateClusterCommand: (
|
|
|
95
79
|
output: __HttpResponse,
|
|
96
80
|
context: __SerdeContext
|
|
97
81
|
) => Promise<CreateClusterCommandOutput>;
|
|
98
|
-
export declare const de_CreateMultiRegionClustersCommand: (
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
) => Promise<CreateMultiRegionClustersCommandOutput>;
|
|
102
82
|
export declare const de_DeleteClusterCommand: (
|
|
103
83
|
output: __HttpResponse,
|
|
104
84
|
context: __SerdeContext
|
|
105
85
|
) => Promise<DeleteClusterCommandOutput>;
|
|
106
|
-
export declare const de_DeleteMultiRegionClustersCommand: (
|
|
107
|
-
output: __HttpResponse,
|
|
108
|
-
context: __SerdeContext
|
|
109
|
-
) => Promise<DeleteMultiRegionClustersCommandOutput>;
|
|
110
86
|
export declare const de_GetClusterCommand: (
|
|
111
87
|
output: __HttpResponse,
|
|
112
88
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dsql",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dsql Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.813.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.812.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.812.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.804.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.804.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.804.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.812.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.808.0",
|
|
30
30
|
"@aws-sdk/types": "3.804.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.808.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.804.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.812.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.2",
|
|
35
35
|
"@smithy/core": "^3.3.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateMultiRegionClustersCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class CreateMultiRegionClustersCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("DSQL", "CreateMultiRegionClusters", {})
|
|
20
|
-
.n("DSQLClient", "CreateMultiRegionClustersCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_CreateMultiRegionClustersCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_CreateMultiRegionClustersCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.CreateMultiRegionClustersCommand = CreateMultiRegionClustersCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteMultiRegionClustersCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class DeleteMultiRegionClustersCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("DSQL", "DeleteMultiRegionClusters", {})
|
|
20
|
-
.n("DSQLClient", "DeleteMultiRegionClustersCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_DeleteMultiRegionClustersCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_DeleteMultiRegionClustersCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.DeleteMultiRegionClustersCommand = DeleteMultiRegionClustersCommand;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { de_CreateMultiRegionClustersCommand, se_CreateMultiRegionClustersCommand } from "../protocols/Aws_restJson1";
|
|
6
|
-
export { $Command };
|
|
7
|
-
export class CreateMultiRegionClustersCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
15
|
-
})
|
|
16
|
-
.s("DSQL", "CreateMultiRegionClusters", {})
|
|
17
|
-
.n("DSQLClient", "CreateMultiRegionClustersCommand")
|
|
18
|
-
.f(void 0, void 0)
|
|
19
|
-
.ser(se_CreateMultiRegionClustersCommand)
|
|
20
|
-
.de(de_CreateMultiRegionClustersCommand)
|
|
21
|
-
.build() {
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { de_DeleteMultiRegionClustersCommand, se_DeleteMultiRegionClustersCommand } from "../protocols/Aws_restJson1";
|
|
6
|
-
export { $Command };
|
|
7
|
-
export class DeleteMultiRegionClustersCommand extends $Command
|
|
8
|
-
.classBuilder()
|
|
9
|
-
.ep(commonParams)
|
|
10
|
-
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
15
|
-
})
|
|
16
|
-
.s("DSQL", "DeleteMultiRegionClusters", {})
|
|
17
|
-
.n("DSQLClient", "DeleteMultiRegionClustersCommand")
|
|
18
|
-
.f(void 0, void 0)
|
|
19
|
-
.ser(se_DeleteMultiRegionClustersCommand)
|
|
20
|
-
.de(de_DeleteMultiRegionClustersCommand)
|
|
21
|
-
.build() {
|
|
22
|
-
}
|