@aws-sdk/client-dsql 3.705.0 → 3.709.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 +14 -0
- package/dist-types/commands/CreateMultiRegionClustersCommand.d.ts +23 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +11 -0
- package/dist-types/commands/DeleteMultiRegionClustersCommand.d.ts +14 -0
- package/dist-types/commands/GetClusterCommand.d.ts +11 -0
- package/dist-types/commands/ListClustersCommand.d.ts +11 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/TagResourceCommand.d.ts +14 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +15 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +12 -0
- package/package.json +36 -36
|
@@ -82,6 +82,20 @@ declare const CreateClusterCommand_base: {
|
|
|
82
82
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
83
83
|
*
|
|
84
84
|
* @public
|
|
85
|
+
* @example Create Cluster
|
|
86
|
+
* ```javascript
|
|
87
|
+
* //
|
|
88
|
+
* const input = {
|
|
89
|
+
* "deletionProtectionEnabled": false,
|
|
90
|
+
* "tags": {
|
|
91
|
+
* "MyKey": "MyValue"
|
|
92
|
+
* }
|
|
93
|
+
* };
|
|
94
|
+
* const command = new CreateClusterCommand(input);
|
|
95
|
+
* await client.send(command);
|
|
96
|
+
* // example id: example-1
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
85
99
|
*/
|
|
86
100
|
export declare class CreateClusterCommand extends CreateClusterCommand_base {
|
|
87
101
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -91,6 +91,29 @@ declare const CreateMultiRegionClustersCommand_base: {
|
|
|
91
91
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
92
92
|
*
|
|
93
93
|
* @public
|
|
94
|
+
* @example Create Multi Region Clusters
|
|
95
|
+
* ```javascript
|
|
96
|
+
* //
|
|
97
|
+
* const input = {
|
|
98
|
+
* "linkedRegionList": [
|
|
99
|
+
* "us-east-1",
|
|
100
|
+
* "us-east-2"
|
|
101
|
+
* ],
|
|
102
|
+
* "witnessRegion": "us-west-2"
|
|
103
|
+
* };
|
|
104
|
+
* const command = new CreateMultiRegionClustersCommand(input);
|
|
105
|
+
* const response = await client.send(command);
|
|
106
|
+
* /* response ==
|
|
107
|
+
* {
|
|
108
|
+
* "linkedClusterArns": [
|
|
109
|
+
* "arn:aws:xanadu:us-east-1:111122223333:cluster/abcdefghijklmnopqrst12345",
|
|
110
|
+
* "arn:aws:xanadu:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcd54321"
|
|
111
|
+
* ]
|
|
112
|
+
* }
|
|
113
|
+
* *\/
|
|
114
|
+
* // example id: example-1
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
94
117
|
*/
|
|
95
118
|
export declare class CreateMultiRegionClustersCommand extends CreateMultiRegionClustersCommand_base {
|
|
96
119
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,6 +79,17 @@ declare const DeleteClusterCommand_base: {
|
|
|
79
79
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
80
80
|
*
|
|
81
81
|
* @public
|
|
82
|
+
* @example Delete Cluster
|
|
83
|
+
* ```javascript
|
|
84
|
+
* //
|
|
85
|
+
* const input = {
|
|
86
|
+
* "identifier": "kiqenqglxyl2snyvkvnj2c3s2e"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new DeleteClusterCommand(input);
|
|
89
|
+
* await client.send(command);
|
|
90
|
+
* // example id: example-1
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
82
93
|
*/
|
|
83
94
|
export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
|
|
84
95
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,6 +75,20 @@ declare const DeleteMultiRegionClustersCommand_base: {
|
|
|
75
75
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
76
76
|
*
|
|
77
77
|
* @public
|
|
78
|
+
* @example Delete Multi Region Clusters
|
|
79
|
+
* ```javascript
|
|
80
|
+
* //
|
|
81
|
+
* const input = {
|
|
82
|
+
* "linkedClusterArns": [
|
|
83
|
+
* "arn:aws:xanadu:us-east-1:111122223333:cluster/abcdefghijklmnopqrst12345",
|
|
84
|
+
* "arn:aws:xanadu:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcd54321"
|
|
85
|
+
* ]
|
|
86
|
+
* };
|
|
87
|
+
* const command = new DeleteMultiRegionClustersCommand(input);
|
|
88
|
+
* await client.send(command);
|
|
89
|
+
* // example id: example-1
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
78
92
|
*/
|
|
79
93
|
export declare class DeleteMultiRegionClustersCommand extends DeleteMultiRegionClustersCommand_base {
|
|
80
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,6 +79,17 @@ declare const GetClusterCommand_base: {
|
|
|
79
79
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
80
80
|
*
|
|
81
81
|
* @public
|
|
82
|
+
* @example Get Cluster
|
|
83
|
+
* ```javascript
|
|
84
|
+
* //
|
|
85
|
+
* const input = {
|
|
86
|
+
* "identifier": "kiqenqglxyl2snyvkvnj2c3s2e"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new GetClusterCommand(input);
|
|
89
|
+
* await client.send(command);
|
|
90
|
+
* // example id: example-1
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
82
93
|
*/
|
|
83
94
|
export declare class GetClusterCommand extends GetClusterCommand_base {
|
|
84
95
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,6 +78,17 @@ declare const ListClustersCommand_base: {
|
|
|
78
78
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
79
79
|
*
|
|
80
80
|
* @public
|
|
81
|
+
* @example List Clusters
|
|
82
|
+
* ```javascript
|
|
83
|
+
* //
|
|
84
|
+
* const input = {
|
|
85
|
+
* "maxResults": 20
|
|
86
|
+
* };
|
|
87
|
+
* const command = new ListClustersCommand(input);
|
|
88
|
+
* await client.send(command);
|
|
89
|
+
* // example id: example-1
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
81
92
|
*/
|
|
82
93
|
export declare class ListClustersCommand extends ListClustersCommand_base {
|
|
83
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,6 +73,17 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
73
73
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
74
74
|
*
|
|
75
75
|
* @public
|
|
76
|
+
* @example List Tags For Resource
|
|
77
|
+
* ```javascript
|
|
78
|
+
* //
|
|
79
|
+
* const input = {
|
|
80
|
+
* "resourceArn": "arn:aws:dsql:us-east-1:111111222222:cluster/kiqenqglxyl2snyvkvnj2c3s2e"
|
|
81
|
+
* };
|
|
82
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
83
|
+
* await client.send(command);
|
|
84
|
+
* // example id: example-1
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
76
87
|
*/
|
|
77
88
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
78
89
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,6 +75,20 @@ declare const TagResourceCommand_base: {
|
|
|
75
75
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
76
76
|
*
|
|
77
77
|
* @public
|
|
78
|
+
* @example Tag Resource
|
|
79
|
+
* ```javascript
|
|
80
|
+
* //
|
|
81
|
+
* const input = {
|
|
82
|
+
* "resourceArn": "arn:aws:dsql:us-east-1:111111222222:cluster/kiqenqglxyl2snyvkvnj2c3s2e",
|
|
83
|
+
* "tags": {
|
|
84
|
+
* "MyKey": "MyValue"
|
|
85
|
+
* }
|
|
86
|
+
* };
|
|
87
|
+
* const command = new TagResourceCommand(input);
|
|
88
|
+
* await client.send(command);
|
|
89
|
+
* // example id: example-1
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
78
92
|
*/
|
|
79
93
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
80
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,6 +72,21 @@ declare const UntagResourceCommand_base: {
|
|
|
72
72
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
73
73
|
*
|
|
74
74
|
* @public
|
|
75
|
+
* @example Untag Resource
|
|
76
|
+
* ```javascript
|
|
77
|
+
* //
|
|
78
|
+
* const input = {
|
|
79
|
+
* "resourceArn": "arn:aws:dsql:us-east-1:111111222222:cluster/kiqenqglxyl2snyvkvnj2c3s2e",
|
|
80
|
+
* "tagKeys": [
|
|
81
|
+
* "MyKeyA",
|
|
82
|
+
* "MyKeyB"
|
|
83
|
+
* ]
|
|
84
|
+
* };
|
|
85
|
+
* const command = new UntagResourceCommand(input);
|
|
86
|
+
* await client.send(command);
|
|
87
|
+
* // example id: example-1
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
75
90
|
*/
|
|
76
91
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
77
92
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,6 +84,18 @@ declare const UpdateClusterCommand_base: {
|
|
|
84
84
|
* <p>Base exception class for all service exceptions from DSQL service.</p>
|
|
85
85
|
*
|
|
86
86
|
* @public
|
|
87
|
+
* @example Update Cluster
|
|
88
|
+
* ```javascript
|
|
89
|
+
* //
|
|
90
|
+
* const input = {
|
|
91
|
+
* "deletionProtectionEnabled": false,
|
|
92
|
+
* "identifier": "kiqenqglxyl2snyvkvnj2c3s2e"
|
|
93
|
+
* };
|
|
94
|
+
* const command = new UpdateClusterCommand(input);
|
|
95
|
+
* await client.send(command);
|
|
96
|
+
* // example id: example-1
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
87
99
|
*/
|
|
88
100
|
export declare class UpdateClusterCommand extends UpdateClusterCommand_base {
|
|
89
101
|
/** @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.709.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,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.7.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.709.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.709.0",
|
|
25
|
+
"@aws-sdk/core": "3.709.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.709.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.709.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.709.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.709.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.709.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.709.0",
|
|
32
|
+
"@aws-sdk/types": "3.709.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.709.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.709.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.709.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.13",
|
|
37
|
+
"@smithy/core": "^2.5.5",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.2",
|
|
39
|
+
"@smithy/hash-node": "^3.0.11",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.11",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.13",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.5",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.30",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.11",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.11",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.2",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
49
|
+
"@smithy/smithy-client": "^3.5.0",
|
|
50
|
+
"@smithy/types": "^3.7.2",
|
|
51
|
+
"@smithy/url-parser": "^3.0.11",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.30",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.30",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.7",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
59
|
+
"@smithy/util-retry": "^3.0.11",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.
|
|
61
|
+
"@smithy/util-waiter": "^3.2.0",
|
|
62
62
|
"@types/uuid": "^9.0.1",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
64
64
|
"uuid": "^9.0.1"
|