@aws-sdk/client-kafka 3.321.1 → 3.322.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.
Files changed (75) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/Kafka.js +18 -0
  3. package/dist-cjs/commands/CreateVpcConnectionCommand.js +45 -0
  4. package/dist-cjs/commands/DeleteClusterPolicyCommand.js +45 -0
  5. package/dist-cjs/commands/DeleteVpcConnectionCommand.js +45 -0
  6. package/dist-cjs/commands/DescribeVpcConnectionCommand.js +45 -0
  7. package/dist-cjs/commands/GetClusterPolicyCommand.js +45 -0
  8. package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +45 -0
  9. package/dist-cjs/commands/ListVpcConnectionsCommand.js +45 -0
  10. package/dist-cjs/commands/PutClusterPolicyCommand.js +45 -0
  11. package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +45 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/endpoint/ruleset.js +3 -3
  14. package/dist-cjs/models/models_0.js +15 -1
  15. package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +2 -0
  18. package/dist-cjs/protocols/Aws_restJson1.js +769 -48
  19. package/dist-es/Kafka.js +18 -0
  20. package/dist-es/commands/CreateVpcConnectionCommand.js +41 -0
  21. package/dist-es/commands/DeleteClusterPolicyCommand.js +41 -0
  22. package/dist-es/commands/DeleteVpcConnectionCommand.js +41 -0
  23. package/dist-es/commands/DescribeVpcConnectionCommand.js +41 -0
  24. package/dist-es/commands/GetClusterPolicyCommand.js +41 -0
  25. package/dist-es/commands/ListClientVpcConnectionsCommand.js +41 -0
  26. package/dist-es/commands/ListVpcConnectionsCommand.js +41 -0
  27. package/dist-es/commands/PutClusterPolicyCommand.js +41 -0
  28. package/dist-es/commands/RejectClientVpcConnectionCommand.js +41 -0
  29. package/dist-es/commands/index.js +9 -0
  30. package/dist-es/endpoint/ruleset.js +3 -3
  31. package/dist-es/models/models_0.js +14 -0
  32. package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +25 -0
  33. package/dist-es/pagination/ListVpcConnectionsPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_restJson1.js +747 -44
  36. package/dist-types/Kafka.d.ts +63 -0
  37. package/dist-types/KafkaClient.d.ts +11 -2
  38. package/dist-types/commands/CreateClusterCommand.d.ts +18 -0
  39. package/dist-types/commands/CreateClusterV2Command.d.ts +19 -3
  40. package/dist-types/commands/CreateVpcConnectionCommand.d.ts +92 -0
  41. package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +75 -0
  42. package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +75 -0
  43. package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +81 -0
  44. package/dist-types/commands/GetClusterPolicyCommand.d.ts +75 -0
  45. package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +80 -0
  46. package/dist-types/commands/ListVpcConnectionsCommand.d.ts +79 -0
  47. package/dist-types/commands/PutClusterPolicyCommand.d.ts +74 -0
  48. package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +79 -0
  49. package/dist-types/commands/UpdateConnectivityCommand.d.ts +15 -0
  50. package/dist-types/commands/index.d.ts +9 -0
  51. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  52. package/dist-types/models/models_0.d.ts +492 -0
  53. package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +7 -0
  54. package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +7 -0
  55. package/dist-types/pagination/index.d.ts +2 -0
  56. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  57. package/dist-types/ts3.4/Kafka.d.ts +153 -0
  58. package/dist-types/ts3.4/KafkaClient.d.ts +54 -0
  59. package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +38 -0
  60. package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +38 -0
  61. package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +41 -0
  63. package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +37 -0
  64. package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +41 -0
  65. package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +38 -0
  66. package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +37 -0
  67. package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +41 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  69. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  70. package/dist-types/ts3.4/models/models_0.d.ts +149 -0
  71. package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  75. package/package.json +1 -1
@@ -5,15 +5,21 @@ import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretC
5
5
  import { CreateClusterCommandInput, CreateClusterCommandOutput } from "../commands/CreateClusterCommand";
6
6
  import { CreateClusterV2CommandInput, CreateClusterV2CommandOutput } from "../commands/CreateClusterV2Command";
7
7
  import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } from "../commands/CreateConfigurationCommand";
8
+ import { CreateVpcConnectionCommandInput, CreateVpcConnectionCommandOutput } from "../commands/CreateVpcConnectionCommand";
8
9
  import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "../commands/DeleteClusterCommand";
10
+ import { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput } from "../commands/DeleteClusterPolicyCommand";
9
11
  import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "../commands/DeleteConfigurationCommand";
12
+ import { DeleteVpcConnectionCommandInput, DeleteVpcConnectionCommandOutput } from "../commands/DeleteVpcConnectionCommand";
10
13
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
11
14
  import { DescribeClusterOperationCommandInput, DescribeClusterOperationCommandOutput } from "../commands/DescribeClusterOperationCommand";
12
15
  import { DescribeClusterV2CommandInput, DescribeClusterV2CommandOutput } from "../commands/DescribeClusterV2Command";
13
16
  import { DescribeConfigurationCommandInput, DescribeConfigurationCommandOutput } from "../commands/DescribeConfigurationCommand";
14
17
  import { DescribeConfigurationRevisionCommandInput, DescribeConfigurationRevisionCommandOutput } from "../commands/DescribeConfigurationRevisionCommand";
18
+ import { DescribeVpcConnectionCommandInput, DescribeVpcConnectionCommandOutput } from "../commands/DescribeVpcConnectionCommand";
15
19
  import { GetBootstrapBrokersCommandInput, GetBootstrapBrokersCommandOutput } from "../commands/GetBootstrapBrokersCommand";
20
+ import { GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput } from "../commands/GetClusterPolicyCommand";
16
21
  import { GetCompatibleKafkaVersionsCommandInput, GetCompatibleKafkaVersionsCommandOutput } from "../commands/GetCompatibleKafkaVersionsCommand";
22
+ import { ListClientVpcConnectionsCommandInput, ListClientVpcConnectionsCommandOutput } from "../commands/ListClientVpcConnectionsCommand";
17
23
  import { ListClusterOperationsCommandInput, ListClusterOperationsCommandOutput } from "../commands/ListClusterOperationsCommand";
18
24
  import { ListClustersCommandInput, ListClustersCommandOutput } from "../commands/ListClustersCommand";
19
25
  import { ListClustersV2CommandInput, ListClustersV2CommandOutput } from "../commands/ListClustersV2Command";
@@ -23,7 +29,10 @@ import { ListKafkaVersionsCommandInput, ListKafkaVersionsCommandOutput } from ".
23
29
  import { ListNodesCommandInput, ListNodesCommandOutput } from "../commands/ListNodesCommand";
24
30
  import { ListScramSecretsCommandInput, ListScramSecretsCommandOutput } from "../commands/ListScramSecretsCommand";
25
31
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
32
+ import { ListVpcConnectionsCommandInput, ListVpcConnectionsCommandOutput } from "../commands/ListVpcConnectionsCommand";
33
+ import { PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput } from "../commands/PutClusterPolicyCommand";
26
34
  import { RebootBrokerCommandInput, RebootBrokerCommandOutput } from "../commands/RebootBrokerCommand";
35
+ import { RejectClientVpcConnectionCommandInput, RejectClientVpcConnectionCommandOutput } from "../commands/RejectClientVpcConnectionCommand";
27
36
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
28
37
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
29
38
  import { UpdateBrokerCountCommandInput, UpdateBrokerCountCommandOutput } from "../commands/UpdateBrokerCountCommand";
@@ -56,14 +65,26 @@ export declare const se_CreateClusterV2Command: (input: CreateClusterV2CommandIn
56
65
  * serializeAws_restJson1CreateConfigurationCommand
57
66
  */
58
67
  export declare const se_CreateConfigurationCommand: (input: CreateConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
+ /**
69
+ * serializeAws_restJson1CreateVpcConnectionCommand
70
+ */
71
+ export declare const se_CreateVpcConnectionCommand: (input: CreateVpcConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
72
  /**
60
73
  * serializeAws_restJson1DeleteClusterCommand
61
74
  */
62
75
  export declare const se_DeleteClusterCommand: (input: DeleteClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
+ /**
77
+ * serializeAws_restJson1DeleteClusterPolicyCommand
78
+ */
79
+ export declare const se_DeleteClusterPolicyCommand: (input: DeleteClusterPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
80
  /**
64
81
  * serializeAws_restJson1DeleteConfigurationCommand
65
82
  */
66
83
  export declare const se_DeleteConfigurationCommand: (input: DeleteConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
+ /**
85
+ * serializeAws_restJson1DeleteVpcConnectionCommand
86
+ */
87
+ export declare const se_DeleteVpcConnectionCommand: (input: DeleteVpcConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
88
  /**
68
89
  * serializeAws_restJson1DescribeClusterCommand
69
90
  */
@@ -84,14 +105,26 @@ export declare const se_DescribeConfigurationCommand: (input: DescribeConfigurat
84
105
  * serializeAws_restJson1DescribeConfigurationRevisionCommand
85
106
  */
86
107
  export declare const se_DescribeConfigurationRevisionCommand: (input: DescribeConfigurationRevisionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
+ /**
109
+ * serializeAws_restJson1DescribeVpcConnectionCommand
110
+ */
111
+ export declare const se_DescribeVpcConnectionCommand: (input: DescribeVpcConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
112
  /**
88
113
  * serializeAws_restJson1GetBootstrapBrokersCommand
89
114
  */
90
115
  export declare const se_GetBootstrapBrokersCommand: (input: GetBootstrapBrokersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
116
+ /**
117
+ * serializeAws_restJson1GetClusterPolicyCommand
118
+ */
119
+ export declare const se_GetClusterPolicyCommand: (input: GetClusterPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
120
  /**
92
121
  * serializeAws_restJson1GetCompatibleKafkaVersionsCommand
93
122
  */
94
123
  export declare const se_GetCompatibleKafkaVersionsCommand: (input: GetCompatibleKafkaVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
124
+ /**
125
+ * serializeAws_restJson1ListClientVpcConnectionsCommand
126
+ */
127
+ export declare const se_ListClientVpcConnectionsCommand: (input: ListClientVpcConnectionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
95
128
  /**
96
129
  * serializeAws_restJson1ListClusterOperationsCommand
97
130
  */
@@ -128,10 +161,22 @@ export declare const se_ListScramSecretsCommand: (input: ListScramSecretsCommand
128
161
  * serializeAws_restJson1ListTagsForResourceCommand
129
162
  */
130
163
  export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
164
+ /**
165
+ * serializeAws_restJson1ListVpcConnectionsCommand
166
+ */
167
+ export declare const se_ListVpcConnectionsCommand: (input: ListVpcConnectionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
168
+ /**
169
+ * serializeAws_restJson1PutClusterPolicyCommand
170
+ */
171
+ export declare const se_PutClusterPolicyCommand: (input: PutClusterPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
172
  /**
132
173
  * serializeAws_restJson1RebootBrokerCommand
133
174
  */
134
175
  export declare const se_RebootBrokerCommand: (input: RebootBrokerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
176
+ /**
177
+ * serializeAws_restJson1RejectClientVpcConnectionCommand
178
+ */
179
+ export declare const se_RejectClientVpcConnectionCommand: (input: RejectClientVpcConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
180
  /**
136
181
  * serializeAws_restJson1TagResourceCommand
137
182
  */
@@ -200,14 +245,26 @@ export declare const de_CreateClusterV2Command: (output: __HttpResponse, context
200
245
  * deserializeAws_restJson1CreateConfigurationCommand
201
246
  */
202
247
  export declare const de_CreateConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateConfigurationCommandOutput>;
248
+ /**
249
+ * deserializeAws_restJson1CreateVpcConnectionCommand
250
+ */
251
+ export declare const de_CreateVpcConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateVpcConnectionCommandOutput>;
203
252
  /**
204
253
  * deserializeAws_restJson1DeleteClusterCommand
205
254
  */
206
255
  export declare const de_DeleteClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteClusterCommandOutput>;
256
+ /**
257
+ * deserializeAws_restJson1DeleteClusterPolicyCommand
258
+ */
259
+ export declare const de_DeleteClusterPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteClusterPolicyCommandOutput>;
207
260
  /**
208
261
  * deserializeAws_restJson1DeleteConfigurationCommand
209
262
  */
210
263
  export declare const de_DeleteConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteConfigurationCommandOutput>;
264
+ /**
265
+ * deserializeAws_restJson1DeleteVpcConnectionCommand
266
+ */
267
+ export declare const de_DeleteVpcConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteVpcConnectionCommandOutput>;
211
268
  /**
212
269
  * deserializeAws_restJson1DescribeClusterCommand
213
270
  */
@@ -228,14 +285,26 @@ export declare const de_DescribeConfigurationCommand: (output: __HttpResponse, c
228
285
  * deserializeAws_restJson1DescribeConfigurationRevisionCommand
229
286
  */
230
287
  export declare const de_DescribeConfigurationRevisionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeConfigurationRevisionCommandOutput>;
288
+ /**
289
+ * deserializeAws_restJson1DescribeVpcConnectionCommand
290
+ */
291
+ export declare const de_DescribeVpcConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeVpcConnectionCommandOutput>;
231
292
  /**
232
293
  * deserializeAws_restJson1GetBootstrapBrokersCommand
233
294
  */
234
295
  export declare const de_GetBootstrapBrokersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBootstrapBrokersCommandOutput>;
296
+ /**
297
+ * deserializeAws_restJson1GetClusterPolicyCommand
298
+ */
299
+ export declare const de_GetClusterPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetClusterPolicyCommandOutput>;
235
300
  /**
236
301
  * deserializeAws_restJson1GetCompatibleKafkaVersionsCommand
237
302
  */
238
303
  export declare const de_GetCompatibleKafkaVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCompatibleKafkaVersionsCommandOutput>;
304
+ /**
305
+ * deserializeAws_restJson1ListClientVpcConnectionsCommand
306
+ */
307
+ export declare const de_ListClientVpcConnectionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListClientVpcConnectionsCommandOutput>;
239
308
  /**
240
309
  * deserializeAws_restJson1ListClusterOperationsCommand
241
310
  */
@@ -272,10 +341,22 @@ export declare const de_ListScramSecretsCommand: (output: __HttpResponse, contex
272
341
  * deserializeAws_restJson1ListTagsForResourceCommand
273
342
  */
274
343
  export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
344
+ /**
345
+ * deserializeAws_restJson1ListVpcConnectionsCommand
346
+ */
347
+ export declare const de_ListVpcConnectionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListVpcConnectionsCommandOutput>;
348
+ /**
349
+ * deserializeAws_restJson1PutClusterPolicyCommand
350
+ */
351
+ export declare const de_PutClusterPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutClusterPolicyCommandOutput>;
275
352
  /**
276
353
  * deserializeAws_restJson1RebootBrokerCommand
277
354
  */
278
355
  export declare const de_RebootBrokerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RebootBrokerCommandOutput>;
356
+ /**
357
+ * deserializeAws_restJson1RejectClientVpcConnectionCommand
358
+ */
359
+ export declare const de_RejectClientVpcConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RejectClientVpcConnectionCommandOutput>;
279
360
  /**
280
361
  * deserializeAws_restJson1TagResourceCommand
281
362
  */
@@ -19,14 +19,26 @@ import {
19
19
  CreateConfigurationCommandInput,
20
20
  CreateConfigurationCommandOutput,
21
21
  } from "./commands/CreateConfigurationCommand";
22
+ import {
23
+ CreateVpcConnectionCommandInput,
24
+ CreateVpcConnectionCommandOutput,
25
+ } from "./commands/CreateVpcConnectionCommand";
22
26
  import {
23
27
  DeleteClusterCommandInput,
24
28
  DeleteClusterCommandOutput,
25
29
  } from "./commands/DeleteClusterCommand";
30
+ import {
31
+ DeleteClusterPolicyCommandInput,
32
+ DeleteClusterPolicyCommandOutput,
33
+ } from "./commands/DeleteClusterPolicyCommand";
26
34
  import {
27
35
  DeleteConfigurationCommandInput,
28
36
  DeleteConfigurationCommandOutput,
29
37
  } from "./commands/DeleteConfigurationCommand";
38
+ import {
39
+ DeleteVpcConnectionCommandInput,
40
+ DeleteVpcConnectionCommandOutput,
41
+ } from "./commands/DeleteVpcConnectionCommand";
30
42
  import {
31
43
  DescribeClusterCommandInput,
32
44
  DescribeClusterCommandOutput,
@@ -47,14 +59,26 @@ import {
47
59
  DescribeConfigurationRevisionCommandInput,
48
60
  DescribeConfigurationRevisionCommandOutput,
49
61
  } from "./commands/DescribeConfigurationRevisionCommand";
62
+ import {
63
+ DescribeVpcConnectionCommandInput,
64
+ DescribeVpcConnectionCommandOutput,
65
+ } from "./commands/DescribeVpcConnectionCommand";
50
66
  import {
51
67
  GetBootstrapBrokersCommandInput,
52
68
  GetBootstrapBrokersCommandOutput,
53
69
  } from "./commands/GetBootstrapBrokersCommand";
70
+ import {
71
+ GetClusterPolicyCommandInput,
72
+ GetClusterPolicyCommandOutput,
73
+ } from "./commands/GetClusterPolicyCommand";
54
74
  import {
55
75
  GetCompatibleKafkaVersionsCommandInput,
56
76
  GetCompatibleKafkaVersionsCommandOutput,
57
77
  } from "./commands/GetCompatibleKafkaVersionsCommand";
78
+ import {
79
+ ListClientVpcConnectionsCommandInput,
80
+ ListClientVpcConnectionsCommandOutput,
81
+ } from "./commands/ListClientVpcConnectionsCommand";
58
82
  import {
59
83
  ListClusterOperationsCommandInput,
60
84
  ListClusterOperationsCommandOutput,
@@ -91,10 +115,22 @@ import {
91
115
  ListTagsForResourceCommandInput,
92
116
  ListTagsForResourceCommandOutput,
93
117
  } from "./commands/ListTagsForResourceCommand";
118
+ import {
119
+ ListVpcConnectionsCommandInput,
120
+ ListVpcConnectionsCommandOutput,
121
+ } from "./commands/ListVpcConnectionsCommand";
122
+ import {
123
+ PutClusterPolicyCommandInput,
124
+ PutClusterPolicyCommandOutput,
125
+ } from "./commands/PutClusterPolicyCommand";
94
126
  import {
95
127
  RebootBrokerCommandInput,
96
128
  RebootBrokerCommandOutput,
97
129
  } from "./commands/RebootBrokerCommand";
130
+ import {
131
+ RejectClientVpcConnectionCommandInput,
132
+ RejectClientVpcConnectionCommandOutput,
133
+ } from "./commands/RejectClientVpcConnectionCommand";
98
134
  import {
99
135
  TagResourceCommandInput,
100
136
  TagResourceCommandOutput,
@@ -210,6 +246,19 @@ export interface Kafka {
210
246
  options: __HttpHandlerOptions,
211
247
  cb: (err: any, data?: CreateConfigurationCommandOutput) => void
212
248
  ): void;
249
+ createVpcConnection(
250
+ args: CreateVpcConnectionCommandInput,
251
+ options?: __HttpHandlerOptions
252
+ ): Promise<CreateVpcConnectionCommandOutput>;
253
+ createVpcConnection(
254
+ args: CreateVpcConnectionCommandInput,
255
+ cb: (err: any, data?: CreateVpcConnectionCommandOutput) => void
256
+ ): void;
257
+ createVpcConnection(
258
+ args: CreateVpcConnectionCommandInput,
259
+ options: __HttpHandlerOptions,
260
+ cb: (err: any, data?: CreateVpcConnectionCommandOutput) => void
261
+ ): void;
213
262
  deleteCluster(
214
263
  args: DeleteClusterCommandInput,
215
264
  options?: __HttpHandlerOptions
@@ -223,6 +272,19 @@ export interface Kafka {
223
272
  options: __HttpHandlerOptions,
224
273
  cb: (err: any, data?: DeleteClusterCommandOutput) => void
225
274
  ): void;
275
+ deleteClusterPolicy(
276
+ args: DeleteClusterPolicyCommandInput,
277
+ options?: __HttpHandlerOptions
278
+ ): Promise<DeleteClusterPolicyCommandOutput>;
279
+ deleteClusterPolicy(
280
+ args: DeleteClusterPolicyCommandInput,
281
+ cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void
282
+ ): void;
283
+ deleteClusterPolicy(
284
+ args: DeleteClusterPolicyCommandInput,
285
+ options: __HttpHandlerOptions,
286
+ cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void
287
+ ): void;
226
288
  deleteConfiguration(
227
289
  args: DeleteConfigurationCommandInput,
228
290
  options?: __HttpHandlerOptions
@@ -236,6 +298,19 @@ export interface Kafka {
236
298
  options: __HttpHandlerOptions,
237
299
  cb: (err: any, data?: DeleteConfigurationCommandOutput) => void
238
300
  ): void;
301
+ deleteVpcConnection(
302
+ args: DeleteVpcConnectionCommandInput,
303
+ options?: __HttpHandlerOptions
304
+ ): Promise<DeleteVpcConnectionCommandOutput>;
305
+ deleteVpcConnection(
306
+ args: DeleteVpcConnectionCommandInput,
307
+ cb: (err: any, data?: DeleteVpcConnectionCommandOutput) => void
308
+ ): void;
309
+ deleteVpcConnection(
310
+ args: DeleteVpcConnectionCommandInput,
311
+ options: __HttpHandlerOptions,
312
+ cb: (err: any, data?: DeleteVpcConnectionCommandOutput) => void
313
+ ): void;
239
314
  describeCluster(
240
315
  args: DescribeClusterCommandInput,
241
316
  options?: __HttpHandlerOptions
@@ -301,6 +376,19 @@ export interface Kafka {
301
376
  options: __HttpHandlerOptions,
302
377
  cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void
303
378
  ): void;
379
+ describeVpcConnection(
380
+ args: DescribeVpcConnectionCommandInput,
381
+ options?: __HttpHandlerOptions
382
+ ): Promise<DescribeVpcConnectionCommandOutput>;
383
+ describeVpcConnection(
384
+ args: DescribeVpcConnectionCommandInput,
385
+ cb: (err: any, data?: DescribeVpcConnectionCommandOutput) => void
386
+ ): void;
387
+ describeVpcConnection(
388
+ args: DescribeVpcConnectionCommandInput,
389
+ options: __HttpHandlerOptions,
390
+ cb: (err: any, data?: DescribeVpcConnectionCommandOutput) => void
391
+ ): void;
304
392
  getBootstrapBrokers(
305
393
  args: GetBootstrapBrokersCommandInput,
306
394
  options?: __HttpHandlerOptions
@@ -314,6 +402,19 @@ export interface Kafka {
314
402
  options: __HttpHandlerOptions,
315
403
  cb: (err: any, data?: GetBootstrapBrokersCommandOutput) => void
316
404
  ): void;
405
+ getClusterPolicy(
406
+ args: GetClusterPolicyCommandInput,
407
+ options?: __HttpHandlerOptions
408
+ ): Promise<GetClusterPolicyCommandOutput>;
409
+ getClusterPolicy(
410
+ args: GetClusterPolicyCommandInput,
411
+ cb: (err: any, data?: GetClusterPolicyCommandOutput) => void
412
+ ): void;
413
+ getClusterPolicy(
414
+ args: GetClusterPolicyCommandInput,
415
+ options: __HttpHandlerOptions,
416
+ cb: (err: any, data?: GetClusterPolicyCommandOutput) => void
417
+ ): void;
317
418
  getCompatibleKafkaVersions(
318
419
  args: GetCompatibleKafkaVersionsCommandInput,
319
420
  options?: __HttpHandlerOptions
@@ -327,6 +428,19 @@ export interface Kafka {
327
428
  options: __HttpHandlerOptions,
328
429
  cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void
329
430
  ): void;
431
+ listClientVpcConnections(
432
+ args: ListClientVpcConnectionsCommandInput,
433
+ options?: __HttpHandlerOptions
434
+ ): Promise<ListClientVpcConnectionsCommandOutput>;
435
+ listClientVpcConnections(
436
+ args: ListClientVpcConnectionsCommandInput,
437
+ cb: (err: any, data?: ListClientVpcConnectionsCommandOutput) => void
438
+ ): void;
439
+ listClientVpcConnections(
440
+ args: ListClientVpcConnectionsCommandInput,
441
+ options: __HttpHandlerOptions,
442
+ cb: (err: any, data?: ListClientVpcConnectionsCommandOutput) => void
443
+ ): void;
330
444
  listClusterOperations(
331
445
  args: ListClusterOperationsCommandInput,
332
446
  options?: __HttpHandlerOptions
@@ -444,6 +558,32 @@ export interface Kafka {
444
558
  options: __HttpHandlerOptions,
445
559
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
446
560
  ): void;
561
+ listVpcConnections(
562
+ args: ListVpcConnectionsCommandInput,
563
+ options?: __HttpHandlerOptions
564
+ ): Promise<ListVpcConnectionsCommandOutput>;
565
+ listVpcConnections(
566
+ args: ListVpcConnectionsCommandInput,
567
+ cb: (err: any, data?: ListVpcConnectionsCommandOutput) => void
568
+ ): void;
569
+ listVpcConnections(
570
+ args: ListVpcConnectionsCommandInput,
571
+ options: __HttpHandlerOptions,
572
+ cb: (err: any, data?: ListVpcConnectionsCommandOutput) => void
573
+ ): void;
574
+ putClusterPolicy(
575
+ args: PutClusterPolicyCommandInput,
576
+ options?: __HttpHandlerOptions
577
+ ): Promise<PutClusterPolicyCommandOutput>;
578
+ putClusterPolicy(
579
+ args: PutClusterPolicyCommandInput,
580
+ cb: (err: any, data?: PutClusterPolicyCommandOutput) => void
581
+ ): void;
582
+ putClusterPolicy(
583
+ args: PutClusterPolicyCommandInput,
584
+ options: __HttpHandlerOptions,
585
+ cb: (err: any, data?: PutClusterPolicyCommandOutput) => void
586
+ ): void;
447
587
  rebootBroker(
448
588
  args: RebootBrokerCommandInput,
449
589
  options?: __HttpHandlerOptions
@@ -457,6 +597,19 @@ export interface Kafka {
457
597
  options: __HttpHandlerOptions,
458
598
  cb: (err: any, data?: RebootBrokerCommandOutput) => void
459
599
  ): void;
600
+ rejectClientVpcConnection(
601
+ args: RejectClientVpcConnectionCommandInput,
602
+ options?: __HttpHandlerOptions
603
+ ): Promise<RejectClientVpcConnectionCommandOutput>;
604
+ rejectClientVpcConnection(
605
+ args: RejectClientVpcConnectionCommandInput,
606
+ cb: (err: any, data?: RejectClientVpcConnectionCommandOutput) => void
607
+ ): void;
608
+ rejectClientVpcConnection(
609
+ args: RejectClientVpcConnectionCommandInput,
610
+ options: __HttpHandlerOptions,
611
+ cb: (err: any, data?: RejectClientVpcConnectionCommandOutput) => void
612
+ ): void;
460
613
  tagResource(
461
614
  args: TagResourceCommandInput,
462
615
  options?: __HttpHandlerOptions
@@ -64,14 +64,26 @@ import {
64
64
  CreateConfigurationCommandInput,
65
65
  CreateConfigurationCommandOutput,
66
66
  } from "./commands/CreateConfigurationCommand";
67
+ import {
68
+ CreateVpcConnectionCommandInput,
69
+ CreateVpcConnectionCommandOutput,
70
+ } from "./commands/CreateVpcConnectionCommand";
67
71
  import {
68
72
  DeleteClusterCommandInput,
69
73
  DeleteClusterCommandOutput,
70
74
  } from "./commands/DeleteClusterCommand";
75
+ import {
76
+ DeleteClusterPolicyCommandInput,
77
+ DeleteClusterPolicyCommandOutput,
78
+ } from "./commands/DeleteClusterPolicyCommand";
71
79
  import {
72
80
  DeleteConfigurationCommandInput,
73
81
  DeleteConfigurationCommandOutput,
74
82
  } from "./commands/DeleteConfigurationCommand";
83
+ import {
84
+ DeleteVpcConnectionCommandInput,
85
+ DeleteVpcConnectionCommandOutput,
86
+ } from "./commands/DeleteVpcConnectionCommand";
75
87
  import {
76
88
  DescribeClusterCommandInput,
77
89
  DescribeClusterCommandOutput,
@@ -92,14 +104,26 @@ import {
92
104
  DescribeConfigurationRevisionCommandInput,
93
105
  DescribeConfigurationRevisionCommandOutput,
94
106
  } from "./commands/DescribeConfigurationRevisionCommand";
107
+ import {
108
+ DescribeVpcConnectionCommandInput,
109
+ DescribeVpcConnectionCommandOutput,
110
+ } from "./commands/DescribeVpcConnectionCommand";
95
111
  import {
96
112
  GetBootstrapBrokersCommandInput,
97
113
  GetBootstrapBrokersCommandOutput,
98
114
  } from "./commands/GetBootstrapBrokersCommand";
115
+ import {
116
+ GetClusterPolicyCommandInput,
117
+ GetClusterPolicyCommandOutput,
118
+ } from "./commands/GetClusterPolicyCommand";
99
119
  import {
100
120
  GetCompatibleKafkaVersionsCommandInput,
101
121
  GetCompatibleKafkaVersionsCommandOutput,
102
122
  } from "./commands/GetCompatibleKafkaVersionsCommand";
123
+ import {
124
+ ListClientVpcConnectionsCommandInput,
125
+ ListClientVpcConnectionsCommandOutput,
126
+ } from "./commands/ListClientVpcConnectionsCommand";
103
127
  import {
104
128
  ListClusterOperationsCommandInput,
105
129
  ListClusterOperationsCommandOutput,
@@ -136,10 +160,22 @@ import {
136
160
  ListTagsForResourceCommandInput,
137
161
  ListTagsForResourceCommandOutput,
138
162
  } from "./commands/ListTagsForResourceCommand";
163
+ import {
164
+ ListVpcConnectionsCommandInput,
165
+ ListVpcConnectionsCommandOutput,
166
+ } from "./commands/ListVpcConnectionsCommand";
167
+ import {
168
+ PutClusterPolicyCommandInput,
169
+ PutClusterPolicyCommandOutput,
170
+ } from "./commands/PutClusterPolicyCommand";
139
171
  import {
140
172
  RebootBrokerCommandInput,
141
173
  RebootBrokerCommandOutput,
142
174
  } from "./commands/RebootBrokerCommand";
175
+ import {
176
+ RejectClientVpcConnectionCommandInput,
177
+ RejectClientVpcConnectionCommandOutput,
178
+ } from "./commands/RejectClientVpcConnectionCommand";
143
179
  import {
144
180
  TagResourceCommandInput,
145
181
  TagResourceCommandOutput,
@@ -199,15 +235,21 @@ export type ServiceInputTypes =
199
235
  | CreateClusterCommandInput
200
236
  | CreateClusterV2CommandInput
201
237
  | CreateConfigurationCommandInput
238
+ | CreateVpcConnectionCommandInput
202
239
  | DeleteClusterCommandInput
240
+ | DeleteClusterPolicyCommandInput
203
241
  | DeleteConfigurationCommandInput
242
+ | DeleteVpcConnectionCommandInput
204
243
  | DescribeClusterCommandInput
205
244
  | DescribeClusterOperationCommandInput
206
245
  | DescribeClusterV2CommandInput
207
246
  | DescribeConfigurationCommandInput
208
247
  | DescribeConfigurationRevisionCommandInput
248
+ | DescribeVpcConnectionCommandInput
209
249
  | GetBootstrapBrokersCommandInput
250
+ | GetClusterPolicyCommandInput
210
251
  | GetCompatibleKafkaVersionsCommandInput
252
+ | ListClientVpcConnectionsCommandInput
211
253
  | ListClusterOperationsCommandInput
212
254
  | ListClustersCommandInput
213
255
  | ListClustersV2CommandInput
@@ -217,7 +259,10 @@ export type ServiceInputTypes =
217
259
  | ListNodesCommandInput
218
260
  | ListScramSecretsCommandInput
219
261
  | ListTagsForResourceCommandInput
262
+ | ListVpcConnectionsCommandInput
263
+ | PutClusterPolicyCommandInput
220
264
  | RebootBrokerCommandInput
265
+ | RejectClientVpcConnectionCommandInput
221
266
  | TagResourceCommandInput
222
267
  | UntagResourceCommandInput
223
268
  | UpdateBrokerCountCommandInput
@@ -236,15 +281,21 @@ export type ServiceOutputTypes =
236
281
  | CreateClusterCommandOutput
237
282
  | CreateClusterV2CommandOutput
238
283
  | CreateConfigurationCommandOutput
284
+ | CreateVpcConnectionCommandOutput
239
285
  | DeleteClusterCommandOutput
286
+ | DeleteClusterPolicyCommandOutput
240
287
  | DeleteConfigurationCommandOutput
288
+ | DeleteVpcConnectionCommandOutput
241
289
  | DescribeClusterCommandOutput
242
290
  | DescribeClusterOperationCommandOutput
243
291
  | DescribeClusterV2CommandOutput
244
292
  | DescribeConfigurationCommandOutput
245
293
  | DescribeConfigurationRevisionCommandOutput
294
+ | DescribeVpcConnectionCommandOutput
246
295
  | GetBootstrapBrokersCommandOutput
296
+ | GetClusterPolicyCommandOutput
247
297
  | GetCompatibleKafkaVersionsCommandOutput
298
+ | ListClientVpcConnectionsCommandOutput
248
299
  | ListClusterOperationsCommandOutput
249
300
  | ListClustersCommandOutput
250
301
  | ListClustersV2CommandOutput
@@ -254,7 +305,10 @@ export type ServiceOutputTypes =
254
305
  | ListNodesCommandOutput
255
306
  | ListScramSecretsCommandOutput
256
307
  | ListTagsForResourceCommandOutput
308
+ | ListVpcConnectionsCommandOutput
309
+ | PutClusterPolicyCommandOutput
257
310
  | RebootBrokerCommandOutput
311
+ | RejectClientVpcConnectionCommandOutput
258
312
  | TagResourceCommandOutput
259
313
  | UntagResourceCommandOutput
260
314
  | UpdateBrokerCountCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KafkaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KafkaClient";
14
+ import {
15
+ CreateVpcConnectionRequest,
16
+ CreateVpcConnectionResponse,
17
+ } from "../models/models_0";
18
+ export interface CreateVpcConnectionCommandInput
19
+ extends CreateVpcConnectionRequest {}
20
+ export interface CreateVpcConnectionCommandOutput
21
+ extends CreateVpcConnectionResponse,
22
+ __MetadataBearer {}
23
+ export declare class CreateVpcConnectionCommand extends $Command<
24
+ CreateVpcConnectionCommandInput,
25
+ CreateVpcConnectionCommandOutput,
26
+ KafkaClientResolvedConfig
27
+ > {
28
+ readonly input: CreateVpcConnectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateVpcConnectionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KafkaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<CreateVpcConnectionCommandInput, CreateVpcConnectionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ KafkaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../KafkaClient";
14
+ import {
15
+ DeleteClusterPolicyRequest,
16
+ DeleteClusterPolicyResponse,
17
+ } from "../models/models_0";
18
+ export interface DeleteClusterPolicyCommandInput
19
+ extends DeleteClusterPolicyRequest {}
20
+ export interface DeleteClusterPolicyCommandOutput
21
+ extends DeleteClusterPolicyResponse,
22
+ __MetadataBearer {}
23
+ export declare class DeleteClusterPolicyCommand extends $Command<
24
+ DeleteClusterPolicyCommandInput,
25
+ DeleteClusterPolicyCommandOutput,
26
+ KafkaClientResolvedConfig
27
+ > {
28
+ readonly input: DeleteClusterPolicyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteClusterPolicyCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KafkaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }