@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
@@ -23,14 +23,26 @@ import {
23
23
  CreateConfigurationCommandInput,
24
24
  CreateConfigurationCommandOutput,
25
25
  } from "../commands/CreateConfigurationCommand";
26
+ import {
27
+ CreateVpcConnectionCommandInput,
28
+ CreateVpcConnectionCommandOutput,
29
+ } from "../commands/CreateVpcConnectionCommand";
26
30
  import {
27
31
  DeleteClusterCommandInput,
28
32
  DeleteClusterCommandOutput,
29
33
  } from "../commands/DeleteClusterCommand";
34
+ import {
35
+ DeleteClusterPolicyCommandInput,
36
+ DeleteClusterPolicyCommandOutput,
37
+ } from "../commands/DeleteClusterPolicyCommand";
30
38
  import {
31
39
  DeleteConfigurationCommandInput,
32
40
  DeleteConfigurationCommandOutput,
33
41
  } from "../commands/DeleteConfigurationCommand";
42
+ import {
43
+ DeleteVpcConnectionCommandInput,
44
+ DeleteVpcConnectionCommandOutput,
45
+ } from "../commands/DeleteVpcConnectionCommand";
34
46
  import {
35
47
  DescribeClusterCommandInput,
36
48
  DescribeClusterCommandOutput,
@@ -51,14 +63,26 @@ import {
51
63
  DescribeConfigurationRevisionCommandInput,
52
64
  DescribeConfigurationRevisionCommandOutput,
53
65
  } from "../commands/DescribeConfigurationRevisionCommand";
66
+ import {
67
+ DescribeVpcConnectionCommandInput,
68
+ DescribeVpcConnectionCommandOutput,
69
+ } from "../commands/DescribeVpcConnectionCommand";
54
70
  import {
55
71
  GetBootstrapBrokersCommandInput,
56
72
  GetBootstrapBrokersCommandOutput,
57
73
  } from "../commands/GetBootstrapBrokersCommand";
74
+ import {
75
+ GetClusterPolicyCommandInput,
76
+ GetClusterPolicyCommandOutput,
77
+ } from "../commands/GetClusterPolicyCommand";
58
78
  import {
59
79
  GetCompatibleKafkaVersionsCommandInput,
60
80
  GetCompatibleKafkaVersionsCommandOutput,
61
81
  } from "../commands/GetCompatibleKafkaVersionsCommand";
82
+ import {
83
+ ListClientVpcConnectionsCommandInput,
84
+ ListClientVpcConnectionsCommandOutput,
85
+ } from "../commands/ListClientVpcConnectionsCommand";
62
86
  import {
63
87
  ListClusterOperationsCommandInput,
64
88
  ListClusterOperationsCommandOutput,
@@ -95,10 +119,22 @@ import {
95
119
  ListTagsForResourceCommandInput,
96
120
  ListTagsForResourceCommandOutput,
97
121
  } from "../commands/ListTagsForResourceCommand";
122
+ import {
123
+ ListVpcConnectionsCommandInput,
124
+ ListVpcConnectionsCommandOutput,
125
+ } from "../commands/ListVpcConnectionsCommand";
126
+ import {
127
+ PutClusterPolicyCommandInput,
128
+ PutClusterPolicyCommandOutput,
129
+ } from "../commands/PutClusterPolicyCommand";
98
130
  import {
99
131
  RebootBrokerCommandInput,
100
132
  RebootBrokerCommandOutput,
101
133
  } from "../commands/RebootBrokerCommand";
134
+ import {
135
+ RejectClientVpcConnectionCommandInput,
136
+ RejectClientVpcConnectionCommandOutput,
137
+ } from "../commands/RejectClientVpcConnectionCommand";
102
138
  import {
103
139
  TagResourceCommandInput,
104
140
  TagResourceCommandOutput,
@@ -167,14 +203,26 @@ export declare const se_CreateConfigurationCommand: (
167
203
  input: CreateConfigurationCommandInput,
168
204
  context: __SerdeContext
169
205
  ) => Promise<__HttpRequest>;
206
+ export declare const se_CreateVpcConnectionCommand: (
207
+ input: CreateVpcConnectionCommandInput,
208
+ context: __SerdeContext
209
+ ) => Promise<__HttpRequest>;
170
210
  export declare const se_DeleteClusterCommand: (
171
211
  input: DeleteClusterCommandInput,
172
212
  context: __SerdeContext
173
213
  ) => Promise<__HttpRequest>;
214
+ export declare const se_DeleteClusterPolicyCommand: (
215
+ input: DeleteClusterPolicyCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
174
218
  export declare const se_DeleteConfigurationCommand: (
175
219
  input: DeleteConfigurationCommandInput,
176
220
  context: __SerdeContext
177
221
  ) => Promise<__HttpRequest>;
222
+ export declare const se_DeleteVpcConnectionCommand: (
223
+ input: DeleteVpcConnectionCommandInput,
224
+ context: __SerdeContext
225
+ ) => Promise<__HttpRequest>;
178
226
  export declare const se_DescribeClusterCommand: (
179
227
  input: DescribeClusterCommandInput,
180
228
  context: __SerdeContext
@@ -195,14 +243,26 @@ export declare const se_DescribeConfigurationRevisionCommand: (
195
243
  input: DescribeConfigurationRevisionCommandInput,
196
244
  context: __SerdeContext
197
245
  ) => Promise<__HttpRequest>;
246
+ export declare const se_DescribeVpcConnectionCommand: (
247
+ input: DescribeVpcConnectionCommandInput,
248
+ context: __SerdeContext
249
+ ) => Promise<__HttpRequest>;
198
250
  export declare const se_GetBootstrapBrokersCommand: (
199
251
  input: GetBootstrapBrokersCommandInput,
200
252
  context: __SerdeContext
201
253
  ) => Promise<__HttpRequest>;
254
+ export declare const se_GetClusterPolicyCommand: (
255
+ input: GetClusterPolicyCommandInput,
256
+ context: __SerdeContext
257
+ ) => Promise<__HttpRequest>;
202
258
  export declare const se_GetCompatibleKafkaVersionsCommand: (
203
259
  input: GetCompatibleKafkaVersionsCommandInput,
204
260
  context: __SerdeContext
205
261
  ) => Promise<__HttpRequest>;
262
+ export declare const se_ListClientVpcConnectionsCommand: (
263
+ input: ListClientVpcConnectionsCommandInput,
264
+ context: __SerdeContext
265
+ ) => Promise<__HttpRequest>;
206
266
  export declare const se_ListClusterOperationsCommand: (
207
267
  input: ListClusterOperationsCommandInput,
208
268
  context: __SerdeContext
@@ -239,10 +299,22 @@ export declare const se_ListTagsForResourceCommand: (
239
299
  input: ListTagsForResourceCommandInput,
240
300
  context: __SerdeContext
241
301
  ) => Promise<__HttpRequest>;
302
+ export declare const se_ListVpcConnectionsCommand: (
303
+ input: ListVpcConnectionsCommandInput,
304
+ context: __SerdeContext
305
+ ) => Promise<__HttpRequest>;
306
+ export declare const se_PutClusterPolicyCommand: (
307
+ input: PutClusterPolicyCommandInput,
308
+ context: __SerdeContext
309
+ ) => Promise<__HttpRequest>;
242
310
  export declare const se_RebootBrokerCommand: (
243
311
  input: RebootBrokerCommandInput,
244
312
  context: __SerdeContext
245
313
  ) => Promise<__HttpRequest>;
314
+ export declare const se_RejectClientVpcConnectionCommand: (
315
+ input: RejectClientVpcConnectionCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
246
318
  export declare const se_TagResourceCommand: (
247
319
  input: TagResourceCommandInput,
248
320
  context: __SerdeContext
@@ -311,14 +383,26 @@ export declare const de_CreateConfigurationCommand: (
311
383
  output: __HttpResponse,
312
384
  context: __SerdeContext
313
385
  ) => Promise<CreateConfigurationCommandOutput>;
386
+ export declare const de_CreateVpcConnectionCommand: (
387
+ output: __HttpResponse,
388
+ context: __SerdeContext
389
+ ) => Promise<CreateVpcConnectionCommandOutput>;
314
390
  export declare const de_DeleteClusterCommand: (
315
391
  output: __HttpResponse,
316
392
  context: __SerdeContext
317
393
  ) => Promise<DeleteClusterCommandOutput>;
394
+ export declare const de_DeleteClusterPolicyCommand: (
395
+ output: __HttpResponse,
396
+ context: __SerdeContext
397
+ ) => Promise<DeleteClusterPolicyCommandOutput>;
318
398
  export declare const de_DeleteConfigurationCommand: (
319
399
  output: __HttpResponse,
320
400
  context: __SerdeContext
321
401
  ) => Promise<DeleteConfigurationCommandOutput>;
402
+ export declare const de_DeleteVpcConnectionCommand: (
403
+ output: __HttpResponse,
404
+ context: __SerdeContext
405
+ ) => Promise<DeleteVpcConnectionCommandOutput>;
322
406
  export declare const de_DescribeClusterCommand: (
323
407
  output: __HttpResponse,
324
408
  context: __SerdeContext
@@ -339,14 +423,26 @@ export declare const de_DescribeConfigurationRevisionCommand: (
339
423
  output: __HttpResponse,
340
424
  context: __SerdeContext
341
425
  ) => Promise<DescribeConfigurationRevisionCommandOutput>;
426
+ export declare const de_DescribeVpcConnectionCommand: (
427
+ output: __HttpResponse,
428
+ context: __SerdeContext
429
+ ) => Promise<DescribeVpcConnectionCommandOutput>;
342
430
  export declare const de_GetBootstrapBrokersCommand: (
343
431
  output: __HttpResponse,
344
432
  context: __SerdeContext
345
433
  ) => Promise<GetBootstrapBrokersCommandOutput>;
434
+ export declare const de_GetClusterPolicyCommand: (
435
+ output: __HttpResponse,
436
+ context: __SerdeContext
437
+ ) => Promise<GetClusterPolicyCommandOutput>;
346
438
  export declare const de_GetCompatibleKafkaVersionsCommand: (
347
439
  output: __HttpResponse,
348
440
  context: __SerdeContext
349
441
  ) => Promise<GetCompatibleKafkaVersionsCommandOutput>;
442
+ export declare const de_ListClientVpcConnectionsCommand: (
443
+ output: __HttpResponse,
444
+ context: __SerdeContext
445
+ ) => Promise<ListClientVpcConnectionsCommandOutput>;
350
446
  export declare const de_ListClusterOperationsCommand: (
351
447
  output: __HttpResponse,
352
448
  context: __SerdeContext
@@ -383,10 +479,22 @@ export declare const de_ListTagsForResourceCommand: (
383
479
  output: __HttpResponse,
384
480
  context: __SerdeContext
385
481
  ) => Promise<ListTagsForResourceCommandOutput>;
482
+ export declare const de_ListVpcConnectionsCommand: (
483
+ output: __HttpResponse,
484
+ context: __SerdeContext
485
+ ) => Promise<ListVpcConnectionsCommandOutput>;
486
+ export declare const de_PutClusterPolicyCommand: (
487
+ output: __HttpResponse,
488
+ context: __SerdeContext
489
+ ) => Promise<PutClusterPolicyCommandOutput>;
386
490
  export declare const de_RebootBrokerCommand: (
387
491
  output: __HttpResponse,
388
492
  context: __SerdeContext
389
493
  ) => Promise<RebootBrokerCommandOutput>;
494
+ export declare const de_RejectClientVpcConnectionCommand: (
495
+ output: __HttpResponse,
496
+ context: __SerdeContext
497
+ ) => Promise<RejectClientVpcConnectionCommandOutput>;
390
498
  export declare const de_TagResourceCommand: (
391
499
  output: __HttpResponse,
392
500
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kafka",
3
3
  "description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.322.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",