@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
@@ -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
+ DeleteVpcConnectionRequest,
16
+ DeleteVpcConnectionResponse,
17
+ } from "../models/models_0";
18
+ export interface DeleteVpcConnectionCommandInput
19
+ extends DeleteVpcConnectionRequest {}
20
+ export interface DeleteVpcConnectionCommandOutput
21
+ extends DeleteVpcConnectionResponse,
22
+ __MetadataBearer {}
23
+ export declare class DeleteVpcConnectionCommand extends $Command<
24
+ DeleteVpcConnectionCommandInput,
25
+ DeleteVpcConnectionCommandOutput,
26
+ KafkaClientResolvedConfig
27
+ > {
28
+ readonly input: DeleteVpcConnectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteVpcConnectionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KafkaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<DeleteVpcConnectionCommandInput, DeleteVpcConnectionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,41 @@
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
+ DescribeVpcConnectionRequest,
16
+ DescribeVpcConnectionResponse,
17
+ } from "../models/models_0";
18
+ export interface DescribeVpcConnectionCommandInput
19
+ extends DescribeVpcConnectionRequest {}
20
+ export interface DescribeVpcConnectionCommandOutput
21
+ extends DescribeVpcConnectionResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeVpcConnectionCommand extends $Command<
24
+ DescribeVpcConnectionCommandInput,
25
+ DescribeVpcConnectionCommandOutput,
26
+ KafkaClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeVpcConnectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeVpcConnectionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KafkaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeVpcConnectionCommandInput,
37
+ DescribeVpcConnectionCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,37 @@
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
+ GetClusterPolicyRequest,
16
+ GetClusterPolicyResponse,
17
+ } from "../models/models_0";
18
+ export interface GetClusterPolicyCommandInput extends GetClusterPolicyRequest {}
19
+ export interface GetClusterPolicyCommandOutput
20
+ extends GetClusterPolicyResponse,
21
+ __MetadataBearer {}
22
+ export declare class GetClusterPolicyCommand extends $Command<
23
+ GetClusterPolicyCommandInput,
24
+ GetClusterPolicyCommandOutput,
25
+ KafkaClientResolvedConfig
26
+ > {
27
+ readonly input: GetClusterPolicyCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: GetClusterPolicyCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: KafkaClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,41 @@
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
+ ListClientVpcConnectionsRequest,
16
+ ListClientVpcConnectionsResponse,
17
+ } from "../models/models_0";
18
+ export interface ListClientVpcConnectionsCommandInput
19
+ extends ListClientVpcConnectionsRequest {}
20
+ export interface ListClientVpcConnectionsCommandOutput
21
+ extends ListClientVpcConnectionsResponse,
22
+ __MetadataBearer {}
23
+ export declare class ListClientVpcConnectionsCommand extends $Command<
24
+ ListClientVpcConnectionsCommandInput,
25
+ ListClientVpcConnectionsCommandOutput,
26
+ KafkaClientResolvedConfig
27
+ > {
28
+ readonly input: ListClientVpcConnectionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListClientVpcConnectionsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KafkaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ ListClientVpcConnectionsCommandInput,
37
+ ListClientVpcConnectionsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -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
+ ListVpcConnectionsRequest,
16
+ ListVpcConnectionsResponse,
17
+ } from "../models/models_0";
18
+ export interface ListVpcConnectionsCommandInput
19
+ extends ListVpcConnectionsRequest {}
20
+ export interface ListVpcConnectionsCommandOutput
21
+ extends ListVpcConnectionsResponse,
22
+ __MetadataBearer {}
23
+ export declare class ListVpcConnectionsCommand extends $Command<
24
+ ListVpcConnectionsCommandInput,
25
+ ListVpcConnectionsCommandOutput,
26
+ KafkaClientResolvedConfig
27
+ > {
28
+ readonly input: ListVpcConnectionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListVpcConnectionsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KafkaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<ListVpcConnectionsCommandInput, ListVpcConnectionsCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,37 @@
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
+ PutClusterPolicyRequest,
16
+ PutClusterPolicyResponse,
17
+ } from "../models/models_0";
18
+ export interface PutClusterPolicyCommandInput extends PutClusterPolicyRequest {}
19
+ export interface PutClusterPolicyCommandOutput
20
+ extends PutClusterPolicyResponse,
21
+ __MetadataBearer {}
22
+ export declare class PutClusterPolicyCommand extends $Command<
23
+ PutClusterPolicyCommandInput,
24
+ PutClusterPolicyCommandOutput,
25
+ KafkaClientResolvedConfig
26
+ > {
27
+ readonly input: PutClusterPolicyCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
29
+ constructor(input: PutClusterPolicyCommandInput);
30
+ resolveMiddleware(
31
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
+ configuration: KafkaClientResolvedConfig,
33
+ options?: __HttpHandlerOptions
34
+ ): Handler<PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,41 @@
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
+ RejectClientVpcConnectionRequest,
16
+ RejectClientVpcConnectionResponse,
17
+ } from "../models/models_0";
18
+ export interface RejectClientVpcConnectionCommandInput
19
+ extends RejectClientVpcConnectionRequest {}
20
+ export interface RejectClientVpcConnectionCommandOutput
21
+ extends RejectClientVpcConnectionResponse,
22
+ __MetadataBearer {}
23
+ export declare class RejectClientVpcConnectionCommand extends $Command<
24
+ RejectClientVpcConnectionCommandInput,
25
+ RejectClientVpcConnectionCommandOutput,
26
+ KafkaClientResolvedConfig
27
+ > {
28
+ readonly input: RejectClientVpcConnectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: RejectClientVpcConnectionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: KafkaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ RejectClientVpcConnectionCommandInput,
37
+ RejectClientVpcConnectionCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -3,15 +3,21 @@ export * from "./BatchDisassociateScramSecretCommand";
3
3
  export * from "./CreateClusterCommand";
4
4
  export * from "./CreateClusterV2Command";
5
5
  export * from "./CreateConfigurationCommand";
6
+ export * from "./CreateVpcConnectionCommand";
6
7
  export * from "./DeleteClusterCommand";
8
+ export * from "./DeleteClusterPolicyCommand";
7
9
  export * from "./DeleteConfigurationCommand";
10
+ export * from "./DeleteVpcConnectionCommand";
8
11
  export * from "./DescribeClusterCommand";
9
12
  export * from "./DescribeClusterOperationCommand";
10
13
  export * from "./DescribeClusterV2Command";
11
14
  export * from "./DescribeConfigurationCommand";
12
15
  export * from "./DescribeConfigurationRevisionCommand";
16
+ export * from "./DescribeVpcConnectionCommand";
13
17
  export * from "./GetBootstrapBrokersCommand";
18
+ export * from "./GetClusterPolicyCommand";
14
19
  export * from "./GetCompatibleKafkaVersionsCommand";
20
+ export * from "./ListClientVpcConnectionsCommand";
15
21
  export * from "./ListClusterOperationsCommand";
16
22
  export * from "./ListClustersCommand";
17
23
  export * from "./ListClustersV2Command";
@@ -21,7 +27,10 @@ export * from "./ListKafkaVersionsCommand";
21
27
  export * from "./ListNodesCommand";
22
28
  export * from "./ListScramSecretsCommand";
23
29
  export * from "./ListTagsForResourceCommand";
30
+ export * from "./ListVpcConnectionsCommand";
31
+ export * from "./PutClusterPolicyCommand";
24
32
  export * from "./RebootBrokerCommand";
33
+ export * from "./RejectClientVpcConnectionCommand";
25
34
  export * from "./TagResourceCommand";
26
35
  export * from "./UntagResourceCommand";
27
36
  export * from "./UpdateBrokerCountCommand";
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
@@ -9,6 +9,25 @@ export interface BrokerEBSVolumeInfo {
9
9
  ProvisionedThroughput?: ProvisionedThroughput;
10
10
  VolumeSizeGB?: number;
11
11
  }
12
+ export declare const VpcConnectionState: {
13
+ readonly AVAILABLE: "AVAILABLE";
14
+ readonly CREATING: "CREATING";
15
+ readonly DEACTIVATING: "DEACTIVATING";
16
+ readonly DELETING: "DELETING";
17
+ readonly FAILED: "FAILED";
18
+ readonly INACTIVE: "INACTIVE";
19
+ readonly REJECTED: "REJECTED";
20
+ readonly REJECTING: "REJECTING";
21
+ };
22
+ export type VpcConnectionState =
23
+ (typeof VpcConnectionState)[keyof typeof VpcConnectionState];
24
+ export interface ClientVpcConnection {
25
+ Authentication?: string;
26
+ CreationTime?: Date;
27
+ State?: VpcConnectionState | string;
28
+ VpcConnectionArn: string | undefined;
29
+ Owner?: string;
30
+ }
12
31
  export declare const ClusterType: {
13
32
  readonly PROVISIONED: "PROVISIONED";
14
33
  readonly SERVERLESS: "SERVERLESS";
@@ -22,8 +41,29 @@ export type BrokerAZDistribution =
22
41
  export interface PublicAccess {
23
42
  Type?: string;
24
43
  }
44
+ export interface VpcConnectivityIam {
45
+ Enabled?: boolean;
46
+ }
47
+ export interface VpcConnectivityScram {
48
+ Enabled?: boolean;
49
+ }
50
+ export interface VpcConnectivitySasl {
51
+ Scram?: VpcConnectivityScram;
52
+ Iam?: VpcConnectivityIam;
53
+ }
54
+ export interface VpcConnectivityTls {
55
+ Enabled?: boolean;
56
+ }
57
+ export interface VpcConnectivityClientAuthentication {
58
+ Sasl?: VpcConnectivitySasl;
59
+ Tls?: VpcConnectivityTls;
60
+ }
61
+ export interface VpcConnectivity {
62
+ ClientAuthentication?: VpcConnectivityClientAuthentication;
63
+ }
25
64
  export interface ConnectivityInfo {
26
65
  PublicAccess?: PublicAccess;
66
+ VpcConnectivity?: VpcConnectivity;
27
67
  }
28
68
  export interface EBSStorageInfo {
29
69
  ProvisionedThroughput?: ProvisionedThroughput;
@@ -39,6 +79,7 @@ export interface BrokerNodeGroupInfo {
39
79
  SecurityGroups?: string[];
40
80
  StorageInfo?: StorageInfo;
41
81
  ConnectivityInfo?: ConnectivityInfo;
82
+ ZoneIds?: string[];
42
83
  }
43
84
  export interface Iam {
44
85
  Enabled?: boolean;
@@ -249,6 +290,22 @@ export interface MutableClusterInfo {
249
290
  ConnectivityInfo?: ConnectivityInfo;
250
291
  StorageMode?: StorageMode | string;
251
292
  }
293
+ export declare const UserIdentityType: {
294
+ readonly AWSACCOUNT: "AWSACCOUNT";
295
+ readonly AWSSERVICE: "AWSSERVICE";
296
+ };
297
+ export type UserIdentityType =
298
+ (typeof UserIdentityType)[keyof typeof UserIdentityType];
299
+ export interface UserIdentity {
300
+ Type?: UserIdentityType | string;
301
+ PrincipalId?: string;
302
+ }
303
+ export interface VpcConnectionInfo {
304
+ VpcConnectionArn?: string;
305
+ Owner?: string;
306
+ UserIdentity?: UserIdentity;
307
+ CreationTime?: Date;
308
+ }
252
309
  export interface ClusterOperationInfo {
253
310
  ClientRequestId?: string;
254
311
  ClusterArn?: string;
@@ -261,6 +318,7 @@ export interface ClusterOperationInfo {
261
318
  OperationType?: string;
262
319
  SourceClusterInfo?: MutableClusterInfo;
263
320
  TargetClusterInfo?: MutableClusterInfo;
321
+ VpcConnectionInfo?: VpcConnectionInfo;
264
322
  }
265
323
  export interface CompatibleKafkaVersion {
266
324
  SourceVersion?: string;
@@ -329,6 +387,14 @@ export interface UnprocessedScramSecret {
329
387
  ErrorMessage?: string;
330
388
  SecretArn?: string;
331
389
  }
390
+ export interface VpcConnection {
391
+ VpcConnectionArn: string | undefined;
392
+ TargetClusterArn: string | undefined;
393
+ CreationTime?: Date;
394
+ Authentication?: string;
395
+ VpcId?: string;
396
+ State?: VpcConnectionState | string;
397
+ }
332
398
  export declare class BadRequestException extends __BaseException {
333
399
  readonly name: "BadRequestException";
334
400
  readonly $fault: "client";
@@ -471,6 +537,24 @@ export interface CreateConfigurationResponse {
471
537
  Name?: string;
472
538
  State?: ConfigurationState | string;
473
539
  }
540
+ export interface CreateVpcConnectionRequest {
541
+ TargetClusterArn: string | undefined;
542
+ Authentication: string | undefined;
543
+ VpcId: string | undefined;
544
+ ClientSubnets: string[] | undefined;
545
+ SecurityGroups: string[] | undefined;
546
+ Tags?: Record<string, string>;
547
+ }
548
+ export interface CreateVpcConnectionResponse {
549
+ VpcConnectionArn?: string;
550
+ State?: VpcConnectionState | string;
551
+ Authentication?: string;
552
+ VpcId?: string;
553
+ ClientSubnets?: string[];
554
+ SecurityGroups?: string[];
555
+ CreationTime?: Date;
556
+ Tags?: Record<string, string>;
557
+ }
474
558
  export interface DeleteClusterRequest {
475
559
  ClusterArn: string | undefined;
476
560
  CurrentVersion?: string;
@@ -479,6 +563,10 @@ export interface DeleteClusterResponse {
479
563
  ClusterArn?: string;
480
564
  State?: ClusterState | string;
481
565
  }
566
+ export interface DeleteClusterPolicyRequest {
567
+ ClusterArn: string | undefined;
568
+ }
569
+ export interface DeleteClusterPolicyResponse {}
482
570
  export interface DeleteConfigurationRequest {
483
571
  Arn: string | undefined;
484
572
  }
@@ -486,6 +574,13 @@ export interface DeleteConfigurationResponse {
486
574
  Arn?: string;
487
575
  State?: ConfigurationState | string;
488
576
  }
577
+ export interface DeleteVpcConnectionRequest {
578
+ Arn: string | undefined;
579
+ }
580
+ export interface DeleteVpcConnectionResponse {
581
+ VpcConnectionArn?: string;
582
+ State?: VpcConnectionState | string;
583
+ }
489
584
  export interface DescribeClusterRequest {
490
585
  ClusterArn: string | undefined;
491
586
  }
@@ -527,6 +622,20 @@ export interface DescribeConfigurationRevisionResponse {
527
622
  Revision?: number;
528
623
  ServerProperties?: Uint8Array;
529
624
  }
625
+ export interface DescribeVpcConnectionRequest {
626
+ Arn: string | undefined;
627
+ }
628
+ export interface DescribeVpcConnectionResponse {
629
+ VpcConnectionArn?: string;
630
+ TargetClusterArn?: string;
631
+ State?: VpcConnectionState | string;
632
+ Authentication?: string;
633
+ VpcId?: string;
634
+ Subnets?: string[];
635
+ SecurityGroups?: string[];
636
+ CreationTime?: Date;
637
+ Tags?: Record<string, string>;
638
+ }
530
639
  export interface GetBootstrapBrokersRequest {
531
640
  ClusterArn: string | undefined;
532
641
  }
@@ -538,6 +647,16 @@ export interface GetBootstrapBrokersResponse {
538
647
  BootstrapBrokerStringPublicTls?: string;
539
648
  BootstrapBrokerStringPublicSaslScram?: string;
540
649
  BootstrapBrokerStringPublicSaslIam?: string;
650
+ BootstrapBrokerStringVpcConnectivityTls?: string;
651
+ BootstrapBrokerStringVpcConnectivitySaslScram?: string;
652
+ BootstrapBrokerStringVpcConnectivitySaslIam?: string;
653
+ }
654
+ export interface GetClusterPolicyRequest {
655
+ ClusterArn: string | undefined;
656
+ }
657
+ export interface GetClusterPolicyResponse {
658
+ CurrentVersion?: string;
659
+ Policy?: string;
541
660
  }
542
661
  export interface GetCompatibleKafkaVersionsRequest {
543
662
  ClusterArn?: string;
@@ -545,6 +664,15 @@ export interface GetCompatibleKafkaVersionsRequest {
545
664
  export interface GetCompatibleKafkaVersionsResponse {
546
665
  CompatibleKafkaVersions?: CompatibleKafkaVersion[];
547
666
  }
667
+ export interface ListClientVpcConnectionsRequest {
668
+ ClusterArn: string | undefined;
669
+ MaxResults?: number;
670
+ NextToken?: string;
671
+ }
672
+ export interface ListClientVpcConnectionsResponse {
673
+ ClientVpcConnections?: ClientVpcConnection[];
674
+ NextToken?: string;
675
+ }
548
676
  export interface ListClusterOperationsRequest {
549
677
  ClusterArn: string | undefined;
550
678
  MaxResults?: number;
@@ -622,6 +750,22 @@ export interface ListTagsForResourceRequest {
622
750
  export interface ListTagsForResourceResponse {
623
751
  Tags?: Record<string, string>;
624
752
  }
753
+ export interface ListVpcConnectionsRequest {
754
+ MaxResults?: number;
755
+ NextToken?: string;
756
+ }
757
+ export interface ListVpcConnectionsResponse {
758
+ VpcConnections?: VpcConnection[];
759
+ NextToken?: string;
760
+ }
761
+ export interface PutClusterPolicyRequest {
762
+ ClusterArn: string | undefined;
763
+ CurrentVersion?: string;
764
+ Policy: string | undefined;
765
+ }
766
+ export interface PutClusterPolicyResponse {
767
+ CurrentVersion?: string;
768
+ }
625
769
  export interface RebootBrokerRequest {
626
770
  BrokerIds: string[] | undefined;
627
771
  ClusterArn: string | undefined;
@@ -630,6 +774,11 @@ export interface RebootBrokerResponse {
630
774
  ClusterArn?: string;
631
775
  ClusterOperationArn?: string;
632
776
  }
777
+ export interface RejectClientVpcConnectionRequest {
778
+ ClusterArn: string | undefined;
779
+ VpcConnectionArn: string | undefined;
780
+ }
781
+ export interface RejectClientVpcConnectionResponse {}
633
782
  export interface TagResourceRequest {
634
783
  ResourceArn: string | undefined;
635
784
  Tags: Record<string, string> | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListClientVpcConnectionsCommandInput,
4
+ ListClientVpcConnectionsCommandOutput,
5
+ } from "../commands/ListClientVpcConnectionsCommand";
6
+ import { KafkaPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListClientVpcConnections(
8
+ config: KafkaPaginationConfiguration,
9
+ input: ListClientVpcConnectionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListClientVpcConnectionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListVpcConnectionsCommandInput,
4
+ ListVpcConnectionsCommandOutput,
5
+ } from "../commands/ListVpcConnectionsCommand";
6
+ import { KafkaPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListVpcConnections(
8
+ config: KafkaPaginationConfiguration,
9
+ input: ListVpcConnectionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListVpcConnectionsCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListClientVpcConnectionsPaginator";
2
3
  export * from "./ListClusterOperationsPaginator";
3
4
  export * from "./ListClustersPaginator";
4
5
  export * from "./ListClustersV2Paginator";
@@ -7,3 +8,4 @@ export * from "./ListConfigurationsPaginator";
7
8
  export * from "./ListKafkaVersionsPaginator";
8
9
  export * from "./ListNodesPaginator";
9
10
  export * from "./ListScramSecretsPaginator";
11
+ export * from "./ListVpcConnectionsPaginator";