@aws-sdk/client-dsql 3.775.0 → 3.782.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/dist-types/commands/CreateClusterCommand.d.ts +9 -6
- package/dist-types/commands/CreateMultiRegionClustersCommand.d.ts +6 -6
- package/dist-types/commands/DeleteClusterCommand.d.ts +7 -4
- package/dist-types/commands/DeleteMultiRegionClustersCommand.d.ts +7 -4
- package/dist-types/commands/GetClusterCommand.d.ts +7 -4
- package/dist-types/commands/ListClustersCommand.d.ts +7 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -4
- package/dist-types/commands/TagResourceCommand.d.ts +9 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateClusterCommand.d.ts +8 -5
- package/package.json +5 -5
|
@@ -81,21 +81,24 @@ declare const CreateClusterCommand_base: {
|
|
|
81
81
|
* @throws {@link DSQLServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
83
83
|
*
|
|
84
|
-
*
|
|
84
|
+
*
|
|
85
85
|
* @example Create Cluster
|
|
86
86
|
* ```javascript
|
|
87
87
|
* //
|
|
88
88
|
* const input = {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
89
|
+
* deletionProtectionEnabled: false,
|
|
90
|
+
* tags: {
|
|
91
|
+
* MyKey: "MyValue"
|
|
92
92
|
* }
|
|
93
93
|
* };
|
|
94
94
|
* const command = new CreateClusterCommand(input);
|
|
95
|
-
* await client.send(command);
|
|
96
|
-
*
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* /* response is
|
|
97
|
+
* { /* metadata only *\/ }
|
|
98
|
+
* *\/
|
|
97
99
|
* ```
|
|
98
100
|
*
|
|
101
|
+
* @public
|
|
99
102
|
*/
|
|
100
103
|
export declare class CreateClusterCommand extends CreateClusterCommand_base {
|
|
101
104
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,30 +90,30 @@ declare const CreateMultiRegionClustersCommand_base: {
|
|
|
90
90
|
* @throws {@link DSQLServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example Create Multi Region Clusters
|
|
95
95
|
* ```javascript
|
|
96
96
|
* //
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
98
|
+
* linkedRegionList: [
|
|
99
99
|
* "us-east-1",
|
|
100
100
|
* "us-east-2"
|
|
101
101
|
* ],
|
|
102
|
-
*
|
|
102
|
+
* witnessRegion: "us-west-2"
|
|
103
103
|
* };
|
|
104
104
|
* const command = new CreateMultiRegionClustersCommand(input);
|
|
105
105
|
* const response = await client.send(command);
|
|
106
|
-
* /* response
|
|
106
|
+
* /* response is
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
108
|
+
* linkedClusterArns: [
|
|
109
109
|
* "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrst12345",
|
|
110
110
|
* "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcd54321"
|
|
111
111
|
* ]
|
|
112
112
|
* }
|
|
113
113
|
* *\/
|
|
114
|
-
* // example id: example-1
|
|
115
114
|
* ```
|
|
116
115
|
*
|
|
116
|
+
* @public
|
|
117
117
|
*/
|
|
118
118
|
export declare class CreateMultiRegionClustersCommand extends CreateMultiRegionClustersCommand_base {
|
|
119
119
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,18 +78,21 @@ declare const DeleteClusterCommand_base: {
|
|
|
78
78
|
* @throws {@link DSQLServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* @example Delete Cluster
|
|
83
83
|
* ```javascript
|
|
84
84
|
* //
|
|
85
85
|
* const input = {
|
|
86
|
-
*
|
|
86
|
+
* identifier: "kiqenqglxyl2snyvkvnj2c3s2e"
|
|
87
87
|
* };
|
|
88
88
|
* const command = new DeleteClusterCommand(input);
|
|
89
|
-
* await client.send(command);
|
|
90
|
-
*
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* { /* metadata only *\/ }
|
|
92
|
+
* *\/
|
|
91
93
|
* ```
|
|
92
94
|
*
|
|
95
|
+
* @public
|
|
93
96
|
*/
|
|
94
97
|
export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
|
|
95
98
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,21 +74,24 @@ declare const DeleteMultiRegionClustersCommand_base: {
|
|
|
74
74
|
* @throws {@link DSQLServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
76
76
|
*
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* @example Delete Multi Region Clusters
|
|
79
79
|
* ```javascript
|
|
80
80
|
* //
|
|
81
81
|
* const input = {
|
|
82
|
-
*
|
|
82
|
+
* linkedClusterArns: [
|
|
83
83
|
* "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrst12345",
|
|
84
84
|
* "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcd54321"
|
|
85
85
|
* ]
|
|
86
86
|
* };
|
|
87
87
|
* const command = new DeleteMultiRegionClustersCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* metadata only *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class DeleteMultiRegionClustersCommand extends DeleteMultiRegionClustersCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,18 +78,21 @@ declare const GetClusterCommand_base: {
|
|
|
78
78
|
* @throws {@link DSQLServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* @example Get Cluster
|
|
83
83
|
* ```javascript
|
|
84
84
|
* //
|
|
85
85
|
* const input = {
|
|
86
|
-
*
|
|
86
|
+
* identifier: "kiqenqglxyl2snyvkvnj2c3s2e"
|
|
87
87
|
* };
|
|
88
88
|
* const command = new GetClusterCommand(input);
|
|
89
|
-
* await client.send(command);
|
|
90
|
-
*
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* { /* metadata only *\/ }
|
|
92
|
+
* *\/
|
|
91
93
|
* ```
|
|
92
94
|
*
|
|
95
|
+
* @public
|
|
93
96
|
*/
|
|
94
97
|
export declare class GetClusterCommand extends GetClusterCommand_base {
|
|
95
98
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,18 +77,21 @@ declare const ListClustersCommand_base: {
|
|
|
77
77
|
* @throws {@link DSQLServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example List Clusters
|
|
82
82
|
* ```javascript
|
|
83
83
|
* //
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
85
|
+
* maxResults: 20
|
|
86
86
|
* };
|
|
87
87
|
* const command = new ListClustersCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* metadata only *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class ListClustersCommand extends ListClustersCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,18 +72,21 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
72
72
|
* @throws {@link DSQLServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example List Tags For Resource
|
|
77
77
|
* ```javascript
|
|
78
78
|
* //
|
|
79
79
|
* const input = {
|
|
80
|
-
*
|
|
80
|
+
* resourceArn: "arn:aws:dsql:us-east-1:111111222222:cluster/kiqenqglxyl2snyvkvnj2c3s2e"
|
|
81
81
|
* };
|
|
82
82
|
* const command = new ListTagsForResourceCommand(input);
|
|
83
|
-
* await client.send(command);
|
|
84
|
-
*
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* /* response is
|
|
85
|
+
* { /* metadata only *\/ }
|
|
86
|
+
* *\/
|
|
85
87
|
* ```
|
|
86
88
|
*
|
|
89
|
+
* @public
|
|
87
90
|
*/
|
|
88
91
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
89
92
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,21 +74,24 @@ declare const TagResourceCommand_base: {
|
|
|
74
74
|
* @throws {@link DSQLServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
76
76
|
*
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* @example Tag Resource
|
|
79
79
|
* ```javascript
|
|
80
80
|
* //
|
|
81
81
|
* const input = {
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
82
|
+
* resourceArn: "arn:aws:dsql:us-east-1:111111222222:cluster/kiqenqglxyl2snyvkvnj2c3s2e",
|
|
83
|
+
* tags: {
|
|
84
|
+
* MyKey: "MyValue"
|
|
85
85
|
* }
|
|
86
86
|
* };
|
|
87
87
|
* const command = new TagResourceCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* metadata only *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,22 +71,25 @@ declare const UntagResourceCommand_base: {
|
|
|
71
71
|
* @throws {@link DSQLServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
73
73
|
*
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* @example Untag Resource
|
|
76
76
|
* ```javascript
|
|
77
77
|
* //
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
80
|
-
*
|
|
79
|
+
* resourceArn: "arn:aws:dsql:us-east-1:111111222222:cluster/kiqenqglxyl2snyvkvnj2c3s2e",
|
|
80
|
+
* tagKeys: [
|
|
81
81
|
* "MyKeyA",
|
|
82
82
|
* "MyKeyB"
|
|
83
83
|
* ]
|
|
84
84
|
* };
|
|
85
85
|
* const command = new UntagResourceCommand(input);
|
|
86
|
-
* await client.send(command);
|
|
87
|
-
*
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* /* response is
|
|
88
|
+
* { /* metadata only *\/ }
|
|
89
|
+
* *\/
|
|
88
90
|
* ```
|
|
89
91
|
*
|
|
92
|
+
* @public
|
|
90
93
|
*/
|
|
91
94
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
92
95
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -83,19 +83,22 @@ declare const UpdateClusterCommand_base: {
|
|
|
83
83
|
* @throws {@link DSQLServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example Update Cluster
|
|
88
88
|
* ```javascript
|
|
89
89
|
* //
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* deletionProtectionEnabled: false,
|
|
92
|
+
* identifier: "kiqenqglxyl2snyvkvnj2c3s2e"
|
|
93
93
|
* };
|
|
94
94
|
* const command = new UpdateClusterCommand(input);
|
|
95
|
-
* await client.send(command);
|
|
96
|
-
*
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* /* response is
|
|
97
|
+
* { /* metadata only *\/ }
|
|
98
|
+
* *\/
|
|
97
99
|
* ```
|
|
98
100
|
*
|
|
101
|
+
* @public
|
|
99
102
|
*/
|
|
100
103
|
export declare class UpdateClusterCommand extends UpdateClusterCommand_base {
|
|
101
104
|
/** @internal type navigation helper, not in runtime. */
|
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.782.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",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|