@aws-sdk/client-dsql 3.913.0 → 3.916.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.
@@ -0,0 +1,51 @@
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
+ DeleteClusterPolicyInput,
10
+ DeleteClusterPolicyOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteClusterPolicyCommandInput
15
+ extends DeleteClusterPolicyInput {}
16
+ export interface DeleteClusterPolicyCommandOutput
17
+ extends DeleteClusterPolicyOutput,
18
+ __MetadataBearer {}
19
+ declare const DeleteClusterPolicyCommand_base: {
20
+ new (
21
+ input: DeleteClusterPolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteClusterPolicyCommandInput,
24
+ DeleteClusterPolicyCommandOutput,
25
+ DSQLClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteClusterPolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteClusterPolicyCommandInput,
33
+ DeleteClusterPolicyCommandOutput,
34
+ DSQLClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteClusterPolicyCommand extends DeleteClusterPolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteClusterPolicyInput;
44
+ output: DeleteClusterPolicyOutput;
45
+ };
46
+ sdk: {
47
+ input: DeleteClusterPolicyCommandInput;
48
+ output: DeleteClusterPolicyCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
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
+ GetClusterPolicyInput,
10
+ GetClusterPolicyOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetClusterPolicyCommandInput extends GetClusterPolicyInput {}
15
+ export interface GetClusterPolicyCommandOutput
16
+ extends GetClusterPolicyOutput,
17
+ __MetadataBearer {}
18
+ declare const GetClusterPolicyCommand_base: {
19
+ new (
20
+ input: GetClusterPolicyCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetClusterPolicyCommandInput,
23
+ GetClusterPolicyCommandOutput,
24
+ DSQLClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GetClusterPolicyCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetClusterPolicyCommandInput,
32
+ GetClusterPolicyCommandOutput,
33
+ DSQLClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetClusterPolicyCommand extends GetClusterPolicyCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetClusterPolicyInput;
43
+ output: GetClusterPolicyOutput;
44
+ };
45
+ sdk: {
46
+ input: GetClusterPolicyCommandInput;
47
+ output: GetClusterPolicyCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,50 @@
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
+ PutClusterPolicyInput,
10
+ PutClusterPolicyOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface PutClusterPolicyCommandInput extends PutClusterPolicyInput {}
15
+ export interface PutClusterPolicyCommandOutput
16
+ extends PutClusterPolicyOutput,
17
+ __MetadataBearer {}
18
+ declare const PutClusterPolicyCommand_base: {
19
+ new (
20
+ input: PutClusterPolicyCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ PutClusterPolicyCommandInput,
23
+ PutClusterPolicyCommandOutput,
24
+ DSQLClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: PutClusterPolicyCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ PutClusterPolicyCommandInput,
32
+ PutClusterPolicyCommandOutput,
33
+ DSQLClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class PutClusterPolicyCommand extends PutClusterPolicyCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: PutClusterPolicyInput;
43
+ output: PutClusterPolicyOutput;
44
+ };
45
+ sdk: {
46
+ input: PutClusterPolicyCommandInput;
47
+ output: PutClusterPolicyCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -1,9 +1,12 @@
1
1
  export * from "./CreateClusterCommand";
2
2
  export * from "./DeleteClusterCommand";
3
+ export * from "./DeleteClusterPolicyCommand";
3
4
  export * from "./GetClusterCommand";
5
+ export * from "./GetClusterPolicyCommand";
4
6
  export * from "./GetVpcEndpointServiceNameCommand";
5
7
  export * from "./ListClustersCommand";
6
8
  export * from "./ListTagsForResourceCommand";
9
+ export * from "./PutClusterPolicyCommand";
7
10
  export * from "./TagResourceCommand";
8
11
  export * from "./UntagResourceCommand";
9
12
  export * from "./UpdateClusterCommand";
@@ -37,6 +37,8 @@ export interface CreateClusterInput {
37
37
  tags?: Record<string, string> | undefined;
38
38
  clientToken?: string | undefined;
39
39
  multiRegionProperties?: MultiRegionProperties | undefined;
40
+ policy?: string | undefined;
41
+ bypassPolicyLockoutSafetyCheck?: boolean | undefined;
40
42
  }
41
43
  export declare const EncryptionStatus: {
42
44
  readonly ENABLED: "ENABLED";
@@ -140,6 +142,14 @@ export declare class ResourceNotFoundException extends __BaseException {
140
142
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
141
143
  );
142
144
  }
145
+ export interface DeleteClusterPolicyInput {
146
+ identifier: string | undefined;
147
+ expectedPolicyVersion?: string | undefined;
148
+ clientToken?: string | undefined;
149
+ }
150
+ export interface DeleteClusterPolicyOutput {
151
+ policyVersion: string | undefined;
152
+ }
143
153
  export interface GetClusterInput {
144
154
  identifier: string | undefined;
145
155
  }
@@ -153,6 +163,13 @@ export interface GetClusterOutput {
153
163
  tags?: Record<string, string> | undefined;
154
164
  encryptionDetails?: EncryptionDetails | undefined;
155
165
  }
166
+ export interface GetClusterPolicyInput {
167
+ identifier: string | undefined;
168
+ }
169
+ export interface GetClusterPolicyOutput {
170
+ policy: string | undefined;
171
+ policyVersion: string | undefined;
172
+ }
156
173
  export interface GetVpcEndpointServiceNameInput {
157
174
  identifier: string | undefined;
158
175
  }
@@ -171,6 +188,16 @@ export interface ListClustersOutput {
171
188
  nextToken?: string | undefined;
172
189
  clusters: ClusterSummary[] | undefined;
173
190
  }
191
+ export interface PutClusterPolicyInput {
192
+ identifier: string | undefined;
193
+ policy: string | undefined;
194
+ bypassPolicyLockoutSafetyCheck?: boolean | undefined;
195
+ expectedPolicyVersion?: string | undefined;
196
+ clientToken?: string | undefined;
197
+ }
198
+ export interface PutClusterPolicyOutput {
199
+ policyVersion: string | undefined;
200
+ }
174
201
  export interface UpdateClusterInput {
175
202
  identifier: string | undefined;
176
203
  deletionProtectionEnabled?: boolean | undefined;
@@ -11,10 +11,18 @@ import {
11
11
  DeleteClusterCommandInput,
12
12
  DeleteClusterCommandOutput,
13
13
  } from "../commands/DeleteClusterCommand";
14
+ import {
15
+ DeleteClusterPolicyCommandInput,
16
+ DeleteClusterPolicyCommandOutput,
17
+ } from "../commands/DeleteClusterPolicyCommand";
14
18
  import {
15
19
  GetClusterCommandInput,
16
20
  GetClusterCommandOutput,
17
21
  } from "../commands/GetClusterCommand";
22
+ import {
23
+ GetClusterPolicyCommandInput,
24
+ GetClusterPolicyCommandOutput,
25
+ } from "../commands/GetClusterPolicyCommand";
18
26
  import {
19
27
  GetVpcEndpointServiceNameCommandInput,
20
28
  GetVpcEndpointServiceNameCommandOutput,
@@ -27,6 +35,10 @@ import {
27
35
  ListTagsForResourceCommandInput,
28
36
  ListTagsForResourceCommandOutput,
29
37
  } from "../commands/ListTagsForResourceCommand";
38
+ import {
39
+ PutClusterPolicyCommandInput,
40
+ PutClusterPolicyCommandOutput,
41
+ } from "../commands/PutClusterPolicyCommand";
30
42
  import {
31
43
  TagResourceCommandInput,
32
44
  TagResourceCommandOutput,
@@ -47,10 +59,18 @@ export declare const se_DeleteClusterCommand: (
47
59
  input: DeleteClusterCommandInput,
48
60
  context: __SerdeContext
49
61
  ) => Promise<__HttpRequest>;
62
+ export declare const se_DeleteClusterPolicyCommand: (
63
+ input: DeleteClusterPolicyCommandInput,
64
+ context: __SerdeContext
65
+ ) => Promise<__HttpRequest>;
50
66
  export declare const se_GetClusterCommand: (
51
67
  input: GetClusterCommandInput,
52
68
  context: __SerdeContext
53
69
  ) => Promise<__HttpRequest>;
70
+ export declare const se_GetClusterPolicyCommand: (
71
+ input: GetClusterPolicyCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
54
74
  export declare const se_GetVpcEndpointServiceNameCommand: (
55
75
  input: GetVpcEndpointServiceNameCommandInput,
56
76
  context: __SerdeContext
@@ -63,6 +83,10 @@ export declare const se_ListTagsForResourceCommand: (
63
83
  input: ListTagsForResourceCommandInput,
64
84
  context: __SerdeContext
65
85
  ) => Promise<__HttpRequest>;
86
+ export declare const se_PutClusterPolicyCommand: (
87
+ input: PutClusterPolicyCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
66
90
  export declare const se_TagResourceCommand: (
67
91
  input: TagResourceCommandInput,
68
92
  context: __SerdeContext
@@ -83,10 +107,18 @@ export declare const de_DeleteClusterCommand: (
83
107
  output: __HttpResponse,
84
108
  context: __SerdeContext
85
109
  ) => Promise<DeleteClusterCommandOutput>;
110
+ export declare const de_DeleteClusterPolicyCommand: (
111
+ output: __HttpResponse,
112
+ context: __SerdeContext
113
+ ) => Promise<DeleteClusterPolicyCommandOutput>;
86
114
  export declare const de_GetClusterCommand: (
87
115
  output: __HttpResponse,
88
116
  context: __SerdeContext
89
117
  ) => Promise<GetClusterCommandOutput>;
118
+ export declare const de_GetClusterPolicyCommand: (
119
+ output: __HttpResponse,
120
+ context: __SerdeContext
121
+ ) => Promise<GetClusterPolicyCommandOutput>;
90
122
  export declare const de_GetVpcEndpointServiceNameCommand: (
91
123
  output: __HttpResponse,
92
124
  context: __SerdeContext
@@ -99,6 +131,10 @@ export declare const de_ListTagsForResourceCommand: (
99
131
  output: __HttpResponse,
100
132
  context: __SerdeContext
101
133
  ) => Promise<ListTagsForResourceCommandOutput>;
134
+ export declare const de_PutClusterPolicyCommand: (
135
+ output: __HttpResponse,
136
+ context: __SerdeContext
137
+ ) => Promise<PutClusterPolicyCommandOutput>;
102
138
  export declare const de_TagResourceCommand: (
103
139
  output: __HttpResponse,
104
140
  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.913.0",
4
+ "version": "3.916.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-dsql",
@@ -20,43 +20,43 @@
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.911.0",
24
- "@aws-sdk/credential-provider-node": "3.913.0",
25
- "@aws-sdk/middleware-host-header": "3.910.0",
26
- "@aws-sdk/middleware-logger": "3.910.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.910.0",
28
- "@aws-sdk/middleware-user-agent": "3.911.0",
29
- "@aws-sdk/region-config-resolver": "3.910.0",
30
- "@aws-sdk/types": "3.910.0",
31
- "@aws-sdk/util-endpoints": "3.910.0",
32
- "@aws-sdk/util-user-agent-browser": "3.910.0",
33
- "@aws-sdk/util-user-agent-node": "3.911.0",
34
- "@smithy/config-resolver": "^4.3.2",
35
- "@smithy/core": "^3.16.1",
36
- "@smithy/fetch-http-handler": "^5.3.3",
37
- "@smithy/hash-node": "^4.2.2",
38
- "@smithy/invalid-dependency": "^4.2.2",
39
- "@smithy/middleware-content-length": "^4.2.2",
40
- "@smithy/middleware-endpoint": "^4.3.3",
41
- "@smithy/middleware-retry": "^4.4.3",
42
- "@smithy/middleware-serde": "^4.2.2",
43
- "@smithy/middleware-stack": "^4.2.2",
44
- "@smithy/node-config-provider": "^4.3.2",
45
- "@smithy/node-http-handler": "^4.4.1",
46
- "@smithy/protocol-http": "^5.3.2",
47
- "@smithy/smithy-client": "^4.8.1",
48
- "@smithy/types": "^4.7.1",
49
- "@smithy/url-parser": "^4.2.2",
23
+ "@aws-sdk/core": "3.916.0",
24
+ "@aws-sdk/credential-provider-node": "3.916.0",
25
+ "@aws-sdk/middleware-host-header": "3.914.0",
26
+ "@aws-sdk/middleware-logger": "3.914.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.914.0",
28
+ "@aws-sdk/middleware-user-agent": "3.916.0",
29
+ "@aws-sdk/region-config-resolver": "3.914.0",
30
+ "@aws-sdk/types": "3.914.0",
31
+ "@aws-sdk/util-endpoints": "3.916.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.914.0",
33
+ "@aws-sdk/util-user-agent-node": "3.916.0",
34
+ "@smithy/config-resolver": "^4.4.0",
35
+ "@smithy/core": "^3.17.1",
36
+ "@smithy/fetch-http-handler": "^5.3.4",
37
+ "@smithy/hash-node": "^4.2.3",
38
+ "@smithy/invalid-dependency": "^4.2.3",
39
+ "@smithy/middleware-content-length": "^4.2.3",
40
+ "@smithy/middleware-endpoint": "^4.3.5",
41
+ "@smithy/middleware-retry": "^4.4.5",
42
+ "@smithy/middleware-serde": "^4.2.3",
43
+ "@smithy/middleware-stack": "^4.2.3",
44
+ "@smithy/node-config-provider": "^4.3.3",
45
+ "@smithy/node-http-handler": "^4.4.3",
46
+ "@smithy/protocol-http": "^5.3.3",
47
+ "@smithy/smithy-client": "^4.9.1",
48
+ "@smithy/types": "^4.8.0",
49
+ "@smithy/url-parser": "^4.2.3",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.2",
54
- "@smithy/util-defaults-mode-node": "^4.2.3",
55
- "@smithy/util-endpoints": "^3.2.2",
56
- "@smithy/util-middleware": "^4.2.2",
57
- "@smithy/util-retry": "^4.2.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.4",
54
+ "@smithy/util-defaults-mode-node": "^4.2.6",
55
+ "@smithy/util-endpoints": "^3.2.3",
56
+ "@smithy/util-middleware": "^4.2.3",
57
+ "@smithy/util-retry": "^4.2.3",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
- "@smithy/util-waiter": "^4.2.2",
59
+ "@smithy/util-waiter": "^4.2.3",
60
60
  "@smithy/uuid": "^1.1.0",
61
61
  "tslib": "^2.6.2"
62
62
  },