@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
|
@@ -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.816.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.816.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.816.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.816.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.816.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
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { CreateMultiRegionClustersInput, CreateMultiRegionClustersOutput } from "../models/models_0";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link CreateMultiRegionClustersCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreateMultiRegionClustersCommandInput extends CreateMultiRegionClustersInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link CreateMultiRegionClustersCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface CreateMultiRegionClustersCommandOutput extends CreateMultiRegionClustersOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const CreateMultiRegionClustersCommand_base: {
|
|
25
|
-
new (input: CreateMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMultiRegionClustersCommandInput, CreateMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* <p>Creates multi-Region clusters in Amazon Aurora DSQL. Multi-Region clusters require a linked
|
|
31
|
-
* Region list, which is an array of the Regions in which you want to create linked clusters.
|
|
32
|
-
* Multi-Region clusters require a witness Region, which participates in quorum in failure
|
|
33
|
-
* scenarios.</p>
|
|
34
|
-
*
|
|
35
|
-
* @deprecated The CreateMultiRegionClusters API is deprecated. Use the CreateCluster API with multi-Region properties to create a multi-Region cluster.
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { DSQLClient, CreateMultiRegionClustersCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
40
|
-
* // const { DSQLClient, CreateMultiRegionClustersCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
|
|
41
|
-
* const client = new DSQLClient(config);
|
|
42
|
-
* const input = { // CreateMultiRegionClustersInput
|
|
43
|
-
* linkedRegionList: [ // RegionList // required
|
|
44
|
-
* "STRING_VALUE",
|
|
45
|
-
* ],
|
|
46
|
-
* clusterProperties: { // ClusterPropertyMap
|
|
47
|
-
* "<keys>": { // LinkedClusterProperties
|
|
48
|
-
* deletionProtectionEnabled: true || false,
|
|
49
|
-
* tags: { // TagMap
|
|
50
|
-
* "<keys>": "STRING_VALUE",
|
|
51
|
-
* },
|
|
52
|
-
* },
|
|
53
|
-
* },
|
|
54
|
-
* witnessRegion: "STRING_VALUE", // required
|
|
55
|
-
* clientToken: "STRING_VALUE",
|
|
56
|
-
* };
|
|
57
|
-
* const command = new CreateMultiRegionClustersCommand(input);
|
|
58
|
-
* const response = await client.send(command);
|
|
59
|
-
* // { // CreateMultiRegionClustersOutput
|
|
60
|
-
* // linkedClusterArns: [ // ClusterArnList // required
|
|
61
|
-
* // "STRING_VALUE",
|
|
62
|
-
* // ],
|
|
63
|
-
* // };
|
|
64
|
-
*
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @param CreateMultiRegionClustersCommandInput - {@link CreateMultiRegionClustersCommandInput}
|
|
68
|
-
* @returns {@link CreateMultiRegionClustersCommandOutput}
|
|
69
|
-
* @see {@link CreateMultiRegionClustersCommandInput} for command's `input` shape.
|
|
70
|
-
* @see {@link CreateMultiRegionClustersCommandOutput} for command's `response` shape.
|
|
71
|
-
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link ConflictException} (client fault)
|
|
74
|
-
* <p>The submitted action has conflicts.</p>
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
77
|
-
* <p>The service limit was exceeded.</p>
|
|
78
|
-
*
|
|
79
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link InternalServerException} (server fault)
|
|
83
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
84
|
-
* failure.</p>
|
|
85
|
-
*
|
|
86
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
-
* <p>The request was denied due to request throttling.</p>
|
|
88
|
-
*
|
|
89
|
-
* @throws {@link ValidationException} (client fault)
|
|
90
|
-
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
91
|
-
*
|
|
92
|
-
* @throws {@link DSQLServiceException}
|
|
93
|
-
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @example Create Multi Region Clusters
|
|
97
|
-
* ```javascript
|
|
98
|
-
* //
|
|
99
|
-
* const input = {
|
|
100
|
-
* linkedRegionList: [
|
|
101
|
-
* "us-east-1",
|
|
102
|
-
* "us-east-2"
|
|
103
|
-
* ],
|
|
104
|
-
* witnessRegion: "us-west-2"
|
|
105
|
-
* };
|
|
106
|
-
* const command = new CreateMultiRegionClustersCommand(input);
|
|
107
|
-
* const response = await client.send(command);
|
|
108
|
-
* /* response is
|
|
109
|
-
* {
|
|
110
|
-
* linkedClusterArns: [
|
|
111
|
-
* "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
|
|
112
|
-
* "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321"
|
|
113
|
-
* ]
|
|
114
|
-
* }
|
|
115
|
-
* *\/
|
|
116
|
-
* ```
|
|
117
|
-
*
|
|
118
|
-
* @public
|
|
119
|
-
*/
|
|
120
|
-
export declare class CreateMultiRegionClustersCommand extends CreateMultiRegionClustersCommand_base {
|
|
121
|
-
/** @internal type navigation helper, not in runtime. */
|
|
122
|
-
protected static __types: {
|
|
123
|
-
api: {
|
|
124
|
-
input: CreateMultiRegionClustersInput;
|
|
125
|
-
output: CreateMultiRegionClustersOutput;
|
|
126
|
-
};
|
|
127
|
-
sdk: {
|
|
128
|
-
input: CreateMultiRegionClustersCommandInput;
|
|
129
|
-
output: CreateMultiRegionClustersCommandOutput;
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DSQLClient";
|
|
4
|
-
import { DeleteMultiRegionClustersInput } from "../models/models_0";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link DeleteMultiRegionClustersCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface DeleteMultiRegionClustersCommandInput extends DeleteMultiRegionClustersInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link DeleteMultiRegionClustersCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface DeleteMultiRegionClustersCommandOutput extends __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const DeleteMultiRegionClustersCommand_base: {
|
|
25
|
-
new (input: DeleteMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteMultiRegionClustersCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMultiRegionClustersCommandInput, DeleteMultiRegionClustersCommandOutput, DSQLClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* <p>Deletes a multi-Region cluster in Amazon Aurora DSQL.</p>
|
|
31
|
-
*
|
|
32
|
-
* @deprecated The DeleteMultiRegionClusters API is deprecated. To delete a multi-Region cluster, use the DeleteCluster API instead.
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { DSQLClient, DeleteMultiRegionClustersCommand } from "@aws-sdk/client-dsql"; // ES Modules import
|
|
37
|
-
* // const { DSQLClient, DeleteMultiRegionClustersCommand } = require("@aws-sdk/client-dsql"); // CommonJS import
|
|
38
|
-
* const client = new DSQLClient(config);
|
|
39
|
-
* const input = { // DeleteMultiRegionClustersInput
|
|
40
|
-
* linkedClusterArns: [ // ClusterArnList // required
|
|
41
|
-
* "STRING_VALUE",
|
|
42
|
-
* ],
|
|
43
|
-
* clientToken: "STRING_VALUE",
|
|
44
|
-
* };
|
|
45
|
-
* const command = new DeleteMultiRegionClustersCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* // {};
|
|
48
|
-
*
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @param DeleteMultiRegionClustersCommandInput - {@link DeleteMultiRegionClustersCommandInput}
|
|
52
|
-
* @returns {@link DeleteMultiRegionClustersCommandOutput}
|
|
53
|
-
* @see {@link DeleteMultiRegionClustersCommandInput} for command's `input` shape.
|
|
54
|
-
* @see {@link DeleteMultiRegionClustersCommandOutput} for command's `response` shape.
|
|
55
|
-
* @see {@link DSQLClientResolvedConfig | config} for DSQLClient's `config` shape.
|
|
56
|
-
*
|
|
57
|
-
* @throws {@link ConflictException} (client fault)
|
|
58
|
-
* <p>The submitted action has conflicts.</p>
|
|
59
|
-
*
|
|
60
|
-
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
-
* <p>The resource could not be found.</p>
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
65
|
-
*
|
|
66
|
-
* @throws {@link InternalServerException} (server fault)
|
|
67
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
68
|
-
* failure.</p>
|
|
69
|
-
*
|
|
70
|
-
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
-
* <p>The request was denied due to request throttling.</p>
|
|
72
|
-
*
|
|
73
|
-
* @throws {@link ValidationException} (client fault)
|
|
74
|
-
* <p>The input failed to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link DSQLServiceException}
|
|
77
|
-
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
* @example Delete Multi Region Clusters
|
|
81
|
-
* ```javascript
|
|
82
|
-
* //
|
|
83
|
-
* const input = {
|
|
84
|
-
* linkedClusterArns: [
|
|
85
|
-
* "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
|
|
86
|
-
* "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321"
|
|
87
|
-
* ]
|
|
88
|
-
* };
|
|
89
|
-
* const command = new DeleteMultiRegionClustersCommand(input);
|
|
90
|
-
* const response = await client.send(command);
|
|
91
|
-
* /* response is
|
|
92
|
-
* { /* metadata only *\/ }
|
|
93
|
-
* *\/
|
|
94
|
-
* ```
|
|
95
|
-
*
|
|
96
|
-
* @public
|
|
97
|
-
*/
|
|
98
|
-
export declare class DeleteMultiRegionClustersCommand extends DeleteMultiRegionClustersCommand_base {
|
|
99
|
-
/** @internal type navigation helper, not in runtime. */
|
|
100
|
-
protected static __types: {
|
|
101
|
-
api: {
|
|
102
|
-
input: DeleteMultiRegionClustersInput;
|
|
103
|
-
output: {};
|
|
104
|
-
};
|
|
105
|
-
sdk: {
|
|
106
|
-
input: DeleteMultiRegionClustersCommandInput;
|
|
107
|
-
output: DeleteMultiRegionClustersCommandOutput;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
DSQLClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../DSQLClient";
|
|
8
|
-
import {
|
|
9
|
-
CreateMultiRegionClustersInput,
|
|
10
|
-
CreateMultiRegionClustersOutput,
|
|
11
|
-
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
|
-
export interface CreateMultiRegionClustersCommandInput
|
|
15
|
-
extends CreateMultiRegionClustersInput {}
|
|
16
|
-
export interface CreateMultiRegionClustersCommandOutput
|
|
17
|
-
extends CreateMultiRegionClustersOutput,
|
|
18
|
-
__MetadataBearer {}
|
|
19
|
-
declare const CreateMultiRegionClustersCommand_base: {
|
|
20
|
-
new (
|
|
21
|
-
input: CreateMultiRegionClustersCommandInput
|
|
22
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
-
CreateMultiRegionClustersCommandInput,
|
|
24
|
-
CreateMultiRegionClustersCommandOutput,
|
|
25
|
-
DSQLClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
28
|
-
>;
|
|
29
|
-
new (
|
|
30
|
-
input: CreateMultiRegionClustersCommandInput
|
|
31
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
-
CreateMultiRegionClustersCommandInput,
|
|
33
|
-
CreateMultiRegionClustersCommandOutput,
|
|
34
|
-
DSQLClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
37
|
-
>;
|
|
38
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
-
};
|
|
40
|
-
export declare class CreateMultiRegionClustersCommand extends CreateMultiRegionClustersCommand_base {
|
|
41
|
-
protected static __types: {
|
|
42
|
-
api: {
|
|
43
|
-
input: CreateMultiRegionClustersInput;
|
|
44
|
-
output: CreateMultiRegionClustersOutput;
|
|
45
|
-
};
|
|
46
|
-
sdk: {
|
|
47
|
-
input: CreateMultiRegionClustersCommandInput;
|
|
48
|
-
output: CreateMultiRegionClustersCommandOutput;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
DSQLClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../DSQLClient";
|
|
8
|
-
import { DeleteMultiRegionClustersInput } from "../models/models_0";
|
|
9
|
-
export { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
|
-
export interface DeleteMultiRegionClustersCommandInput
|
|
12
|
-
extends DeleteMultiRegionClustersInput {}
|
|
13
|
-
export interface DeleteMultiRegionClustersCommandOutput
|
|
14
|
-
extends __MetadataBearer {}
|
|
15
|
-
declare const DeleteMultiRegionClustersCommand_base: {
|
|
16
|
-
new (
|
|
17
|
-
input: DeleteMultiRegionClustersCommandInput
|
|
18
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
-
DeleteMultiRegionClustersCommandInput,
|
|
20
|
-
DeleteMultiRegionClustersCommandOutput,
|
|
21
|
-
DSQLClientResolvedConfig,
|
|
22
|
-
ServiceInputTypes,
|
|
23
|
-
ServiceOutputTypes
|
|
24
|
-
>;
|
|
25
|
-
new (
|
|
26
|
-
input: DeleteMultiRegionClustersCommandInput
|
|
27
|
-
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
-
DeleteMultiRegionClustersCommandInput,
|
|
29
|
-
DeleteMultiRegionClustersCommandOutput,
|
|
30
|
-
DSQLClientResolvedConfig,
|
|
31
|
-
ServiceInputTypes,
|
|
32
|
-
ServiceOutputTypes
|
|
33
|
-
>;
|
|
34
|
-
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
-
};
|
|
36
|
-
export declare class DeleteMultiRegionClustersCommand extends DeleteMultiRegionClustersCommand_base {
|
|
37
|
-
protected static __types: {
|
|
38
|
-
api: {
|
|
39
|
-
input: DeleteMultiRegionClustersInput;
|
|
40
|
-
output: {};
|
|
41
|
-
};
|
|
42
|
-
sdk: {
|
|
43
|
-
input: DeleteMultiRegionClustersCommandInput;
|
|
44
|
-
output: DeleteMultiRegionClustersCommandOutput;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
}
|