@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,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
|
-
}
|