@aws-sdk/client-kafka 3.321.1 → 3.325.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/README.md +72 -0
- package/dist-cjs/Kafka.js +18 -0
- package/dist-cjs/commands/CreateVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DeleteClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/DeleteVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DescribeVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/GetClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/ListVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/PutClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +769 -48
- package/dist-es/Kafka.js +18 -0
- package/dist-es/commands/CreateVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DeleteClusterPolicyCommand.js +41 -0
- package/dist-es/commands/DeleteVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DescribeVpcConnectionCommand.js +41 -0
- package/dist-es/commands/GetClusterPolicyCommand.js +41 -0
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/ListVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/PutClusterPolicyCommand.js +41 -0
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +41 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/ListVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +747 -44
- package/dist-types/Kafka.d.ts +63 -0
- package/dist-types/KafkaClient.d.ts +11 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +18 -0
- package/dist-types/commands/CreateClusterV2Command.d.ts +19 -3
- package/dist-types/commands/CreateVpcConnectionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +75 -0
- package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +81 -0
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +80 -0
- package/dist-types/commands/ListVpcConnectionsCommand.d.ts +79 -0
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +74 -0
- package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +79 -0
- package/dist-types/commands/UpdateConnectivityCommand.d.ts +15 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +492 -0
- package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Kafka.d.ts +153 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +149 -0
- package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -245,6 +245,14 @@ CreateConfiguration
|
|
|
245
245
|
|
|
246
246
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/createconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/createconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/createconfigurationcommandoutput.html)
|
|
247
247
|
|
|
248
|
+
</details>
|
|
249
|
+
<details>
|
|
250
|
+
<summary>
|
|
251
|
+
CreateVpcConnection
|
|
252
|
+
</summary>
|
|
253
|
+
|
|
254
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/createvpcconnectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/createvpcconnectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/createvpcconnectioncommandoutput.html)
|
|
255
|
+
|
|
248
256
|
</details>
|
|
249
257
|
<details>
|
|
250
258
|
<summary>
|
|
@@ -253,6 +261,14 @@ DeleteCluster
|
|
|
253
261
|
|
|
254
262
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/deleteclustercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deleteclustercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deleteclustercommandoutput.html)
|
|
255
263
|
|
|
264
|
+
</details>
|
|
265
|
+
<details>
|
|
266
|
+
<summary>
|
|
267
|
+
DeleteClusterPolicy
|
|
268
|
+
</summary>
|
|
269
|
+
|
|
270
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/deleteclusterpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deleteclusterpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deleteclusterpolicycommandoutput.html)
|
|
271
|
+
|
|
256
272
|
</details>
|
|
257
273
|
<details>
|
|
258
274
|
<summary>
|
|
@@ -261,6 +277,14 @@ DeleteConfiguration
|
|
|
261
277
|
|
|
262
278
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/deleteconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deleteconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deleteconfigurationcommandoutput.html)
|
|
263
279
|
|
|
280
|
+
</details>
|
|
281
|
+
<details>
|
|
282
|
+
<summary>
|
|
283
|
+
DeleteVpcConnection
|
|
284
|
+
</summary>
|
|
285
|
+
|
|
286
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/deletevpcconnectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deletevpcconnectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/deletevpcconnectioncommandoutput.html)
|
|
287
|
+
|
|
264
288
|
</details>
|
|
265
289
|
<details>
|
|
266
290
|
<summary>
|
|
@@ -301,6 +325,14 @@ DescribeConfigurationRevision
|
|
|
301
325
|
|
|
302
326
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/describeconfigurationrevisioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/describeconfigurationrevisioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/describeconfigurationrevisioncommandoutput.html)
|
|
303
327
|
|
|
328
|
+
</details>
|
|
329
|
+
<details>
|
|
330
|
+
<summary>
|
|
331
|
+
DescribeVpcConnection
|
|
332
|
+
</summary>
|
|
333
|
+
|
|
334
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/describevpcconnectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/describevpcconnectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/describevpcconnectioncommandoutput.html)
|
|
335
|
+
|
|
304
336
|
</details>
|
|
305
337
|
<details>
|
|
306
338
|
<summary>
|
|
@@ -309,6 +341,14 @@ GetBootstrapBrokers
|
|
|
309
341
|
|
|
310
342
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/getbootstrapbrokerscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/getbootstrapbrokerscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/getbootstrapbrokerscommandoutput.html)
|
|
311
343
|
|
|
344
|
+
</details>
|
|
345
|
+
<details>
|
|
346
|
+
<summary>
|
|
347
|
+
GetClusterPolicy
|
|
348
|
+
</summary>
|
|
349
|
+
|
|
350
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/getclusterpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/getclusterpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/getclusterpolicycommandoutput.html)
|
|
351
|
+
|
|
312
352
|
</details>
|
|
313
353
|
<details>
|
|
314
354
|
<summary>
|
|
@@ -317,6 +357,14 @@ GetCompatibleKafkaVersions
|
|
|
317
357
|
|
|
318
358
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/getcompatiblekafkaversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/getcompatiblekafkaversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/getcompatiblekafkaversionscommandoutput.html)
|
|
319
359
|
|
|
360
|
+
</details>
|
|
361
|
+
<details>
|
|
362
|
+
<summary>
|
|
363
|
+
ListClientVpcConnections
|
|
364
|
+
</summary>
|
|
365
|
+
|
|
366
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/listclientvpcconnectionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/listclientvpcconnectionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/listclientvpcconnectionscommandoutput.html)
|
|
367
|
+
|
|
320
368
|
</details>
|
|
321
369
|
<details>
|
|
322
370
|
<summary>
|
|
@@ -389,6 +437,22 @@ ListTagsForResource
|
|
|
389
437
|
|
|
390
438
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/listtagsforresourcecommandoutput.html)
|
|
391
439
|
|
|
440
|
+
</details>
|
|
441
|
+
<details>
|
|
442
|
+
<summary>
|
|
443
|
+
ListVpcConnections
|
|
444
|
+
</summary>
|
|
445
|
+
|
|
446
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/listvpcconnectionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/listvpcconnectionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/listvpcconnectionscommandoutput.html)
|
|
447
|
+
|
|
448
|
+
</details>
|
|
449
|
+
<details>
|
|
450
|
+
<summary>
|
|
451
|
+
PutClusterPolicy
|
|
452
|
+
</summary>
|
|
453
|
+
|
|
454
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/putclusterpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/putclusterpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/putclusterpolicycommandoutput.html)
|
|
455
|
+
|
|
392
456
|
</details>
|
|
393
457
|
<details>
|
|
394
458
|
<summary>
|
|
@@ -397,6 +461,14 @@ RebootBroker
|
|
|
397
461
|
|
|
398
462
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/rebootbrokercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/rebootbrokercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/rebootbrokercommandoutput.html)
|
|
399
463
|
|
|
464
|
+
</details>
|
|
465
|
+
<details>
|
|
466
|
+
<summary>
|
|
467
|
+
RejectClientVpcConnection
|
|
468
|
+
</summary>
|
|
469
|
+
|
|
470
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/classes/rejectclientvpcconnectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/rejectclientvpcconnectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-kafka/interfaces/rejectclientvpcconnectioncommandoutput.html)
|
|
471
|
+
|
|
400
472
|
</details>
|
|
401
473
|
<details>
|
|
402
474
|
<summary>
|
package/dist-cjs/Kafka.js
CHANGED
|
@@ -7,15 +7,21 @@ const BatchDisassociateScramSecretCommand_1 = require("./commands/BatchDisassoci
|
|
|
7
7
|
const CreateClusterCommand_1 = require("./commands/CreateClusterCommand");
|
|
8
8
|
const CreateClusterV2Command_1 = require("./commands/CreateClusterV2Command");
|
|
9
9
|
const CreateConfigurationCommand_1 = require("./commands/CreateConfigurationCommand");
|
|
10
|
+
const CreateVpcConnectionCommand_1 = require("./commands/CreateVpcConnectionCommand");
|
|
10
11
|
const DeleteClusterCommand_1 = require("./commands/DeleteClusterCommand");
|
|
12
|
+
const DeleteClusterPolicyCommand_1 = require("./commands/DeleteClusterPolicyCommand");
|
|
11
13
|
const DeleteConfigurationCommand_1 = require("./commands/DeleteConfigurationCommand");
|
|
14
|
+
const DeleteVpcConnectionCommand_1 = require("./commands/DeleteVpcConnectionCommand");
|
|
12
15
|
const DescribeClusterCommand_1 = require("./commands/DescribeClusterCommand");
|
|
13
16
|
const DescribeClusterOperationCommand_1 = require("./commands/DescribeClusterOperationCommand");
|
|
14
17
|
const DescribeClusterV2Command_1 = require("./commands/DescribeClusterV2Command");
|
|
15
18
|
const DescribeConfigurationCommand_1 = require("./commands/DescribeConfigurationCommand");
|
|
16
19
|
const DescribeConfigurationRevisionCommand_1 = require("./commands/DescribeConfigurationRevisionCommand");
|
|
20
|
+
const DescribeVpcConnectionCommand_1 = require("./commands/DescribeVpcConnectionCommand");
|
|
17
21
|
const GetBootstrapBrokersCommand_1 = require("./commands/GetBootstrapBrokersCommand");
|
|
22
|
+
const GetClusterPolicyCommand_1 = require("./commands/GetClusterPolicyCommand");
|
|
18
23
|
const GetCompatibleKafkaVersionsCommand_1 = require("./commands/GetCompatibleKafkaVersionsCommand");
|
|
24
|
+
const ListClientVpcConnectionsCommand_1 = require("./commands/ListClientVpcConnectionsCommand");
|
|
19
25
|
const ListClusterOperationsCommand_1 = require("./commands/ListClusterOperationsCommand");
|
|
20
26
|
const ListClustersCommand_1 = require("./commands/ListClustersCommand");
|
|
21
27
|
const ListClustersV2Command_1 = require("./commands/ListClustersV2Command");
|
|
@@ -25,7 +31,10 @@ const ListKafkaVersionsCommand_1 = require("./commands/ListKafkaVersionsCommand"
|
|
|
25
31
|
const ListNodesCommand_1 = require("./commands/ListNodesCommand");
|
|
26
32
|
const ListScramSecretsCommand_1 = require("./commands/ListScramSecretsCommand");
|
|
27
33
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
34
|
+
const ListVpcConnectionsCommand_1 = require("./commands/ListVpcConnectionsCommand");
|
|
35
|
+
const PutClusterPolicyCommand_1 = require("./commands/PutClusterPolicyCommand");
|
|
28
36
|
const RebootBrokerCommand_1 = require("./commands/RebootBrokerCommand");
|
|
37
|
+
const RejectClientVpcConnectionCommand_1 = require("./commands/RejectClientVpcConnectionCommand");
|
|
29
38
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
30
39
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
31
40
|
const UpdateBrokerCountCommand_1 = require("./commands/UpdateBrokerCountCommand");
|
|
@@ -45,15 +54,21 @@ const commands = {
|
|
|
45
54
|
CreateClusterCommand: CreateClusterCommand_1.CreateClusterCommand,
|
|
46
55
|
CreateClusterV2Command: CreateClusterV2Command_1.CreateClusterV2Command,
|
|
47
56
|
CreateConfigurationCommand: CreateConfigurationCommand_1.CreateConfigurationCommand,
|
|
57
|
+
CreateVpcConnectionCommand: CreateVpcConnectionCommand_1.CreateVpcConnectionCommand,
|
|
48
58
|
DeleteClusterCommand: DeleteClusterCommand_1.DeleteClusterCommand,
|
|
59
|
+
DeleteClusterPolicyCommand: DeleteClusterPolicyCommand_1.DeleteClusterPolicyCommand,
|
|
49
60
|
DeleteConfigurationCommand: DeleteConfigurationCommand_1.DeleteConfigurationCommand,
|
|
61
|
+
DeleteVpcConnectionCommand: DeleteVpcConnectionCommand_1.DeleteVpcConnectionCommand,
|
|
50
62
|
DescribeClusterCommand: DescribeClusterCommand_1.DescribeClusterCommand,
|
|
51
63
|
DescribeClusterOperationCommand: DescribeClusterOperationCommand_1.DescribeClusterOperationCommand,
|
|
52
64
|
DescribeClusterV2Command: DescribeClusterV2Command_1.DescribeClusterV2Command,
|
|
53
65
|
DescribeConfigurationCommand: DescribeConfigurationCommand_1.DescribeConfigurationCommand,
|
|
54
66
|
DescribeConfigurationRevisionCommand: DescribeConfigurationRevisionCommand_1.DescribeConfigurationRevisionCommand,
|
|
67
|
+
DescribeVpcConnectionCommand: DescribeVpcConnectionCommand_1.DescribeVpcConnectionCommand,
|
|
55
68
|
GetBootstrapBrokersCommand: GetBootstrapBrokersCommand_1.GetBootstrapBrokersCommand,
|
|
69
|
+
GetClusterPolicyCommand: GetClusterPolicyCommand_1.GetClusterPolicyCommand,
|
|
56
70
|
GetCompatibleKafkaVersionsCommand: GetCompatibleKafkaVersionsCommand_1.GetCompatibleKafkaVersionsCommand,
|
|
71
|
+
ListClientVpcConnectionsCommand: ListClientVpcConnectionsCommand_1.ListClientVpcConnectionsCommand,
|
|
57
72
|
ListClusterOperationsCommand: ListClusterOperationsCommand_1.ListClusterOperationsCommand,
|
|
58
73
|
ListClustersCommand: ListClustersCommand_1.ListClustersCommand,
|
|
59
74
|
ListClustersV2Command: ListClustersV2Command_1.ListClustersV2Command,
|
|
@@ -63,7 +78,10 @@ const commands = {
|
|
|
63
78
|
ListNodesCommand: ListNodesCommand_1.ListNodesCommand,
|
|
64
79
|
ListScramSecretsCommand: ListScramSecretsCommand_1.ListScramSecretsCommand,
|
|
65
80
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
81
|
+
ListVpcConnectionsCommand: ListVpcConnectionsCommand_1.ListVpcConnectionsCommand,
|
|
82
|
+
PutClusterPolicyCommand: PutClusterPolicyCommand_1.PutClusterPolicyCommand,
|
|
66
83
|
RebootBrokerCommand: RebootBrokerCommand_1.RebootBrokerCommand,
|
|
84
|
+
RejectClientVpcConnectionCommand: RejectClientVpcConnectionCommand_1.RejectClientVpcConnectionCommand,
|
|
67
85
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
68
86
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
69
87
|
UpdateBrokerCountCommand: UpdateBrokerCountCommand_1.UpdateBrokerCountCommand,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateVpcConnectionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateVpcConnectionCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateVpcConnectionCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "CreateVpcConnectionCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_CreateVpcConnectionCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_CreateVpcConnectionCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreateVpcConnectionCommand = CreateVpcConnectionCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteClusterPolicyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteClusterPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteClusterPolicyCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "DeleteClusterPolicyCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteClusterPolicyCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteClusterPolicyCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeleteClusterPolicyCommand = DeleteClusterPolicyCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteVpcConnectionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteVpcConnectionCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteVpcConnectionCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "DeleteVpcConnectionCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteVpcConnectionCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteVpcConnectionCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeleteVpcConnectionCommand = DeleteVpcConnectionCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeVpcConnectionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeVpcConnectionCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeVpcConnectionCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "DescribeVpcConnectionCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_DescribeVpcConnectionCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_DescribeVpcConnectionCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DescribeVpcConnectionCommand = DescribeVpcConnectionCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetClusterPolicyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetClusterPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetClusterPolicyCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "GetClusterPolicyCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetClusterPolicyCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetClusterPolicyCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.GetClusterPolicyCommand = GetClusterPolicyCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListClientVpcConnectionsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListClientVpcConnectionsCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListClientVpcConnectionsCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "ListClientVpcConnectionsCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListClientVpcConnectionsCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListClientVpcConnectionsCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.ListClientVpcConnectionsCommand = ListClientVpcConnectionsCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListVpcConnectionsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListVpcConnectionsCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListVpcConnectionsCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "ListVpcConnectionsCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListVpcConnectionsCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListVpcConnectionsCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.ListVpcConnectionsCommand = ListVpcConnectionsCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutClusterPolicyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class PutClusterPolicyCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutClusterPolicyCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "PutClusterPolicyCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_PutClusterPolicyCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_PutClusterPolicyCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.PutClusterPolicyCommand = PutClusterPolicyCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RejectClientVpcConnectionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class RejectClientVpcConnectionCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RejectClientVpcConnectionCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "KafkaClient";
|
|
27
|
+
const commandName = "RejectClientVpcConnectionCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_RejectClientVpcConnectionCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_RejectClientVpcConnectionCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.RejectClientVpcConnectionCommand = RejectClientVpcConnectionCommand;
|
|
@@ -6,15 +6,21 @@ tslib_1.__exportStar(require("./BatchDisassociateScramSecretCommand"), exports);
|
|
|
6
6
|
tslib_1.__exportStar(require("./CreateClusterCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateClusterV2Command"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./CreateConfigurationCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateVpcConnectionCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./DeleteClusterCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteClusterPolicyCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./DeleteConfigurationCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteVpcConnectionCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./DescribeClusterCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./DescribeClusterOperationCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./DescribeClusterV2Command"), exports);
|
|
14
17
|
tslib_1.__exportStar(require("./DescribeConfigurationCommand"), exports);
|
|
15
18
|
tslib_1.__exportStar(require("./DescribeConfigurationRevisionCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DescribeVpcConnectionCommand"), exports);
|
|
16
20
|
tslib_1.__exportStar(require("./GetBootstrapBrokersCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./GetClusterPolicyCommand"), exports);
|
|
17
22
|
tslib_1.__exportStar(require("./GetCompatibleKafkaVersionsCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListClientVpcConnectionsCommand"), exports);
|
|
18
24
|
tslib_1.__exportStar(require("./ListClusterOperationsCommand"), exports);
|
|
19
25
|
tslib_1.__exportStar(require("./ListClustersCommand"), exports);
|
|
20
26
|
tslib_1.__exportStar(require("./ListClustersV2Command"), exports);
|
|
@@ -24,7 +30,10 @@ tslib_1.__exportStar(require("./ListKafkaVersionsCommand"), exports);
|
|
|
24
30
|
tslib_1.__exportStar(require("./ListNodesCommand"), exports);
|
|
25
31
|
tslib_1.__exportStar(require("./ListScramSecretsCommand"), exports);
|
|
26
32
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./ListVpcConnectionsCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./PutClusterPolicyCommand"), exports);
|
|
27
35
|
tslib_1.__exportStar(require("./RebootBrokerCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./RejectClientVpcConnectionCommand"), exports);
|
|
28
37
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
29
38
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
30
39
|
tslib_1.__exportStar(require("./UpdateBrokerCountCommand"), exports);
|