@aws-sdk/client-kafka 3.1032.0 → 3.1034.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.
@@ -1,4 +1,4 @@
1
- import type { BrokerAZDistribution, ClientBroker, ClusterState, ClusterType, ConfigurationState, CustomerActionStatus, EnhancedMonitoring, KafkaVersionStatus, NetworkType, NodeType, RebalancingStatus, ReplicationStartingPositionType, ReplicationTopicNameConfigurationType, ReplicatorState, StorageMode, TargetCompressionType, TopicState, UserIdentityType, VpcConnectionState } from "./enums";
1
+ import type { BrokerAZDistribution, ClientBroker, ClusterState, ClusterType, ConfigurationState, ConsumerGroupOffsetSyncMode, CustomerActionStatus, EnhancedMonitoring, KafkaClusterEncryptionInTransitType, KafkaClusterSaslScramMechanism, KafkaVersionStatus, NetworkType, NodeType, RebalancingStatus, ReplicationStartingPositionType, ReplicationTopicNameConfigurationType, ReplicatorState, StorageMode, TargetCompressionType, TopicState, UserIdentityType, VpcConnectionState } from "./enums";
2
2
  /**
3
3
  * <p>Contains information about provisioned throughput for EBS storage volumes attached to kafka broker nodes.</p>
4
4
  * @public
@@ -1248,6 +1248,65 @@ export interface AmazonMskCluster {
1248
1248
  */
1249
1249
  MskClusterArn: string | undefined;
1250
1250
  }
1251
+ /**
1252
+ * <p>Details of an Apache Kafka Cluster.</p>
1253
+ * @public
1254
+ */
1255
+ export interface ApacheKafkaCluster {
1256
+ /**
1257
+ * <p>The ID of the Apache Kafka cluster.</p>
1258
+ * @public
1259
+ */
1260
+ ApacheKafkaClusterId: string | undefined;
1261
+ /**
1262
+ * <p>The bootstrap broker string of the Apache Kafka cluster.</p>
1263
+ * @public
1264
+ */
1265
+ BootstrapBrokerString: string | undefined;
1266
+ }
1267
+ /**
1268
+ * <p>Details for SASL/SCRAM client authentication.</p>
1269
+ * @public
1270
+ */
1271
+ export interface KafkaClusterSaslScramAuthentication {
1272
+ /**
1273
+ * <p>The SASL/SCRAM authentication mechanism.</p>
1274
+ * @public
1275
+ */
1276
+ Mechanism: KafkaClusterSaslScramMechanism | undefined;
1277
+ /**
1278
+ * <p>The Amazon Resource Name (ARN) of the Secrets Manager secret.</p>
1279
+ * @public
1280
+ */
1281
+ SecretArn: string | undefined;
1282
+ }
1283
+ /**
1284
+ * <p>Details of the client authentication used by the Apache Kafka cluster.</p>
1285
+ * @public
1286
+ */
1287
+ export interface KafkaClusterClientAuthentication {
1288
+ /**
1289
+ * <p>Details for SASL/SCRAM client authentication.</p>
1290
+ * @public
1291
+ */
1292
+ SaslScram: KafkaClusterSaslScramAuthentication | undefined;
1293
+ }
1294
+ /**
1295
+ * <p>Details of encryption in transit to the Apache Kafka cluster.</p>
1296
+ * @public
1297
+ */
1298
+ export interface KafkaClusterEncryptionInTransit {
1299
+ /**
1300
+ * <p>The type of encryption in transit to the Apache Kafka cluster.</p>
1301
+ * @public
1302
+ */
1303
+ EncryptionType: KafkaClusterEncryptionInTransitType | undefined;
1304
+ /**
1305
+ * <p>The root CA certificate.</p>
1306
+ * @public
1307
+ */
1308
+ RootCaCertificate?: string | undefined;
1309
+ }
1251
1310
  /**
1252
1311
  * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.</p>
1253
1312
  * @public
@@ -1273,12 +1332,27 @@ export interface KafkaCluster {
1273
1332
  * <p>Details of an Amazon MSK Cluster.</p>
1274
1333
  * @public
1275
1334
  */
1276
- AmazonMskCluster: AmazonMskCluster | undefined;
1335
+ AmazonMskCluster?: AmazonMskCluster | undefined;
1336
+ /**
1337
+ * <p>Details of an Apache Kafka Cluster.</p>
1338
+ * @public
1339
+ */
1340
+ ApacheKafkaCluster?: ApacheKafkaCluster | undefined;
1277
1341
  /**
1278
1342
  * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.</p>
1279
1343
  * @public
1280
1344
  */
1281
- VpcConfig: KafkaClusterClientVpcConfig | undefined;
1345
+ VpcConfig?: KafkaClusterClientVpcConfig | undefined;
1346
+ /**
1347
+ * <p>Details of the client authentication used by the Apache Kafka cluster.</p>
1348
+ * @public
1349
+ */
1350
+ ClientAuthentication?: KafkaClusterClientAuthentication | undefined;
1351
+ /**
1352
+ * <p>Details of encryption in transit to the Apache Kafka cluster.</p>
1353
+ * @public
1354
+ */
1355
+ EncryptionInTransit?: KafkaClusterEncryptionInTransit | undefined;
1282
1356
  }
1283
1357
  /**
1284
1358
  * <p>Information about Kafka Cluster used as source / target for replication.</p>
@@ -1290,6 +1364,11 @@ export interface KafkaClusterDescription {
1290
1364
  * @public
1291
1365
  */
1292
1366
  AmazonMskCluster?: AmazonMskCluster | undefined;
1367
+ /**
1368
+ * <p>Details of an Apache Kafka Cluster.</p>
1369
+ * @public
1370
+ */
1371
+ ApacheKafkaCluster?: ApacheKafkaCluster | undefined;
1293
1372
  /**
1294
1373
  * <p>The alias of the Kafka cluster. Used to prefix names of replicated topics.</p>
1295
1374
  * @public
@@ -1300,6 +1379,16 @@ export interface KafkaClusterDescription {
1300
1379
  * @public
1301
1380
  */
1302
1381
  VpcConfig?: KafkaClusterClientVpcConfig | undefined;
1382
+ /**
1383
+ * <p>Details of the client authentication used by the Apache Kafka cluster.</p>
1384
+ * @public
1385
+ */
1386
+ ClientAuthentication?: KafkaClusterClientAuthentication | undefined;
1387
+ /**
1388
+ * <p>Details of encryption in transit to the Apache Kafka cluster.</p>
1389
+ * @public
1390
+ */
1391
+ EncryptionInTransit?: KafkaClusterEncryptionInTransit | undefined;
1303
1392
  }
1304
1393
  /**
1305
1394
  * <p>Summarized information about Kafka Cluster used as source / target for replication.</p>
@@ -1311,6 +1400,11 @@ export interface KafkaClusterSummary {
1311
1400
  * @public
1312
1401
  */
1313
1402
  AmazonMskCluster?: AmazonMskCluster | undefined;
1403
+ /**
1404
+ * <p>Details of an Apache Kafka Cluster.</p>
1405
+ * @public
1406
+ */
1407
+ ApacheKafkaCluster?: ApacheKafkaCluster | undefined;
1314
1408
  /**
1315
1409
  * <p>The alias of the Kafka cluster. Used to prefix names of replicated topics.</p>
1316
1410
  * @public
@@ -1468,6 +1562,11 @@ export interface ConsumerGroupReplication {
1468
1562
  * @public
1469
1563
  */
1470
1564
  SynchroniseConsumerGroupOffsets?: boolean | undefined;
1565
+ /**
1566
+ * <p>The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster.</p>
1567
+ * @public
1568
+ */
1569
+ ConsumerGroupOffsetSyncMode?: ConsumerGroupOffsetSyncMode | undefined;
1471
1570
  }
1472
1571
  /**
1473
1572
  * <p>Configuration for specifying the position in the topics to start replicating from.</p>
@@ -1546,7 +1645,12 @@ export interface ReplicationInfo {
1546
1645
  * <p>The ARN of the source Kafka cluster.</p>
1547
1646
  * @public
1548
1647
  */
1549
- SourceKafkaClusterArn: string | undefined;
1648
+ SourceKafkaClusterArn?: string | undefined;
1649
+ /**
1650
+ * <p>The ID of the source Kafka cluster.</p>
1651
+ * @public
1652
+ */
1653
+ SourceKafkaClusterId?: string | undefined;
1550
1654
  /**
1551
1655
  * <p>The compression type to use when producing records to target cluster.</p>
1552
1656
  * @public
@@ -1556,7 +1660,12 @@ export interface ReplicationInfo {
1556
1660
  * <p>The ARN of the target Kafka cluster.</p>
1557
1661
  * @public
1558
1662
  */
1559
- TargetKafkaClusterArn: string | undefined;
1663
+ TargetKafkaClusterArn?: string | undefined;
1664
+ /**
1665
+ * <p>The ID of the target Kafka cluster.</p>
1666
+ * @public
1667
+ */
1668
+ TargetKafkaClusterId?: string | undefined;
1560
1669
  /**
1561
1670
  * <p>Configuration relating to topic replication.</p>
1562
1671
  * @public
@@ -2261,6 +2370,91 @@ export interface CreateConfigurationResponse {
2261
2370
  */
2262
2371
  State?: ConfigurationState | undefined;
2263
2372
  }
2373
+ /**
2374
+ * <p>Details about delivering logs to CloudWatch Logs.</p>
2375
+ * @public
2376
+ */
2377
+ export interface ReplicatorCloudWatchLogs {
2378
+ /**
2379
+ * <p>Whether log delivery to CloudWatch Logs is enabled.</p>
2380
+ * @public
2381
+ */
2382
+ Enabled: boolean | undefined;
2383
+ /**
2384
+ * <p>The CloudWatch log group that is the destination for log delivery.</p>
2385
+ * @public
2386
+ */
2387
+ LogGroup?: string | undefined;
2388
+ }
2389
+ /**
2390
+ * <p>Details about delivering logs to Firehose.</p>
2391
+ * @public
2392
+ */
2393
+ export interface ReplicatorFirehose {
2394
+ /**
2395
+ * <p>Whether log delivery to Firehose is enabled.</p>
2396
+ * @public
2397
+ */
2398
+ Enabled: boolean | undefined;
2399
+ /**
2400
+ * <p>The Firehose delivery stream that is the destination for log delivery.</p>
2401
+ * @public
2402
+ */
2403
+ DeliveryStream?: string | undefined;
2404
+ }
2405
+ /**
2406
+ * <p>Details about delivering logs to S3.</p>
2407
+ * @public
2408
+ */
2409
+ export interface ReplicatorS3 {
2410
+ /**
2411
+ * <p>Whether log delivery to S3 is enabled.</p>
2412
+ * @public
2413
+ */
2414
+ Enabled: boolean | undefined;
2415
+ /**
2416
+ * <p>The S3 bucket that is the destination for log delivery.</p>
2417
+ * @public
2418
+ */
2419
+ Bucket?: string | undefined;
2420
+ /**
2421
+ * <p>The S3 prefix that is the destination for log delivery.</p>
2422
+ * @public
2423
+ */
2424
+ Prefix?: string | undefined;
2425
+ }
2426
+ /**
2427
+ * <p>Configuration for replicator log delivery.</p>
2428
+ * @public
2429
+ */
2430
+ export interface ReplicatorLogDelivery {
2431
+ /**
2432
+ * <p>Configuration for CloudWatch Logs delivery.</p>
2433
+ * @public
2434
+ */
2435
+ CloudWatchLogs?: ReplicatorCloudWatchLogs | undefined;
2436
+ /**
2437
+ * <p>Configuration for Firehose delivery.</p>
2438
+ * @public
2439
+ */
2440
+ Firehose?: ReplicatorFirehose | undefined;
2441
+ /**
2442
+ * <p>Configuration for S3 delivery.</p>
2443
+ * @public
2444
+ */
2445
+ S3?: ReplicatorS3 | undefined;
2446
+ }
2447
+ /**
2448
+ * <p>Configuration for log delivery to customer destinations.</p>
2449
+ * @public
2450
+ */
2451
+ export interface LogDelivery {
2452
+ /**
2453
+ * <p>Configuration for replicator log delivery.</p>
2454
+ * @public
2455
+ */
2456
+ ReplicatorLogDelivery?: ReplicatorLogDelivery | undefined;
2457
+ }
2264
2458
  /**
2265
2459
  * <p>Creates a replicator using the specified configuration.</p>
2266
2460
  * @public
@@ -2296,6 +2490,11 @@ export interface CreateReplicatorRequest {
2296
2490
  * @public
2297
2491
  */
2298
2492
  Tags?: Record<string, string> | undefined;
2493
+ /**
2494
+ * <p>Configuration for delivering replicator logs to customer destinations.</p>
2495
+ * @public
2496
+ */
2497
+ LogDelivery?: LogDelivery | undefined;
2299
2498
  }
2300
2499
  /**
2301
2500
  * @public
@@ -2878,6 +3077,11 @@ export interface DescribeReplicatorResponse {
2878
3077
  * @public
2879
3078
  */
2880
3079
  Tags?: Record<string, string> | undefined;
3080
+ /**
3081
+ * <p>Configuration for log delivery.</p>
3082
+ * @public
3083
+ */
3084
+ LogDelivery?: LogDelivery | undefined;
2881
3085
  }
2882
3086
  /**
2883
3087
  * @public
@@ -4153,17 +4357,32 @@ export interface UpdateReplicationInfoRequest {
4153
4357
  * <p>The ARN of the source Kafka cluster.</p>
4154
4358
  * @public
4155
4359
  */
4156
- SourceKafkaClusterArn: string | undefined;
4360
+ SourceKafkaClusterArn?: string | undefined;
4361
+ /**
4362
+ * <p>The ID of the source Kafka cluster.</p>
4363
+ * @public
4364
+ */
4365
+ SourceKafkaClusterId?: string | undefined;
4157
4366
  /**
4158
4367
  * <p>The ARN of the target Kafka cluster.</p>
4159
4368
  * @public
4160
4369
  */
4161
- TargetKafkaClusterArn: string | undefined;
4370
+ TargetKafkaClusterArn?: string | undefined;
4371
+ /**
4372
+ * <p>The ID of the target Kafka cluster.</p>
4373
+ * @public
4374
+ */
4375
+ TargetKafkaClusterId?: string | undefined;
4162
4376
  /**
4163
4377
  * <p>Updated topic replication information.</p>
4164
4378
  * @public
4165
4379
  */
4166
4380
  TopicReplication?: TopicReplicationUpdate | undefined;
4381
+ /**
4382
+ * <p>Configuration for delivering replicator logs to customer destinations.</p>
4383
+ * @public
4384
+ */
4385
+ LogDelivery?: LogDelivery | undefined;
4167
4386
  }
4168
4387
  /**
4169
4388
  * @public
@@ -25,6 +25,7 @@ export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
25
25
  */
26
26
  export declare const errorTypeRegistries: TypeRegistry[];
27
27
  export declare var AmazonMskCluster$: StaticStructureSchema;
28
+ export declare var ApacheKafkaCluster$: StaticStructureSchema;
28
29
  export declare var BatchAssociateScramSecretRequest$: StaticStructureSchema;
29
30
  export declare var BatchAssociateScramSecretResponse$: StaticStructureSchema;
30
31
  export declare var BatchDisassociateScramSecretRequest$: StaticStructureSchema;
@@ -115,8 +116,11 @@ export declare var Iam$: StaticStructureSchema;
115
116
  export declare var JmxExporter$: StaticStructureSchema;
116
117
  export declare var JmxExporterInfo$: StaticStructureSchema;
117
118
  export declare var KafkaCluster$: StaticStructureSchema;
119
+ export declare var KafkaClusterClientAuthentication$: StaticStructureSchema;
118
120
  export declare var KafkaClusterClientVpcConfig$: StaticStructureSchema;
119
121
  export declare var KafkaClusterDescription$: StaticStructureSchema;
122
+ export declare var KafkaClusterEncryptionInTransit$: StaticStructureSchema;
123
+ export declare var KafkaClusterSaslScramAuthentication$: StaticStructureSchema;
120
124
  export declare var KafkaClusterSummary$: StaticStructureSchema;
121
125
  export declare var KafkaVersion$: StaticStructureSchema;
122
126
  export declare var ListClientVpcConnectionsRequest$: StaticStructureSchema;
@@ -147,6 +151,7 @@ export declare var ListTopicsRequest$: StaticStructureSchema;
147
151
  export declare var ListTopicsResponse$: StaticStructureSchema;
148
152
  export declare var ListVpcConnectionsRequest$: StaticStructureSchema;
149
153
  export declare var ListVpcConnectionsResponse$: StaticStructureSchema;
154
+ export declare var LogDelivery$: StaticStructureSchema;
150
155
  export declare var LoggingInfo$: StaticStructureSchema;
151
156
  export declare var MutableClusterInfo$: StaticStructureSchema;
152
157
  export declare var NodeExporter$: StaticStructureSchema;
@@ -173,6 +178,10 @@ export declare var ReplicationInfoSummary$: StaticStructureSchema;
173
178
  export declare var ReplicationStartingPosition$: StaticStructureSchema;
174
179
  export declare var ReplicationStateInfo$: StaticStructureSchema;
175
180
  export declare var ReplicationTopicNameConfiguration$: StaticStructureSchema;
181
+ export declare var ReplicatorCloudWatchLogs$: StaticStructureSchema;
182
+ export declare var ReplicatorFirehose$: StaticStructureSchema;
183
+ export declare var ReplicatorLogDelivery$: StaticStructureSchema;
184
+ export declare var ReplicatorS3$: StaticStructureSchema;
176
185
  export declare var ReplicatorSummary$: StaticStructureSchema;
177
186
  export declare var S3$: StaticStructureSchema;
178
187
  export declare var Sasl$: StaticStructureSchema;
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -81,6 +81,17 @@ export declare const ConfigurationState: {
81
81
  };
82
82
  export type ConfigurationState =
83
83
  (typeof ConfigurationState)[keyof typeof ConfigurationState];
84
+ export declare const KafkaClusterSaslScramMechanism: {
85
+ readonly SHA256: "SHA256";
86
+ readonly SHA512: "SHA512";
87
+ };
88
+ export type KafkaClusterSaslScramMechanism =
89
+ (typeof KafkaClusterSaslScramMechanism)[keyof typeof KafkaClusterSaslScramMechanism];
90
+ export declare const KafkaClusterEncryptionInTransitType: {
91
+ readonly TLS: "TLS";
92
+ };
93
+ export type KafkaClusterEncryptionInTransitType =
94
+ (typeof KafkaClusterEncryptionInTransitType)[keyof typeof KafkaClusterEncryptionInTransitType];
84
95
  export declare const KafkaVersionStatus: {
85
96
  readonly ACTIVE: "ACTIVE";
86
97
  readonly DEPRECATED: "DEPRECATED";
@@ -91,6 +102,12 @@ export declare const NodeType: {
91
102
  readonly BROKER: "BROKER";
92
103
  };
93
104
  export type NodeType = (typeof NodeType)[keyof typeof NodeType];
105
+ export declare const ConsumerGroupOffsetSyncMode: {
106
+ readonly ENHANCED: "ENHANCED";
107
+ readonly LEGACY: "LEGACY";
108
+ };
109
+ export type ConsumerGroupOffsetSyncMode =
110
+ (typeof ConsumerGroupOffsetSyncMode)[keyof typeof ConsumerGroupOffsetSyncMode];
94
111
  export declare const TargetCompressionType: {
95
112
  readonly GZIP: "GZIP";
96
113
  readonly LZ4: "LZ4";
@@ -4,8 +4,11 @@ import {
4
4
  ClusterState,
5
5
  ClusterType,
6
6
  ConfigurationState,
7
+ ConsumerGroupOffsetSyncMode,
7
8
  CustomerActionStatus,
8
9
  EnhancedMonitoring,
10
+ KafkaClusterEncryptionInTransitType,
11
+ KafkaClusterSaslScramMechanism,
9
12
  KafkaVersionStatus,
10
13
  NetworkType,
11
14
  NodeType,
@@ -329,21 +332,43 @@ export interface Configuration {
329
332
  export interface AmazonMskCluster {
330
333
  MskClusterArn: string | undefined;
331
334
  }
335
+ export interface ApacheKafkaCluster {
336
+ ApacheKafkaClusterId: string | undefined;
337
+ BootstrapBrokerString: string | undefined;
338
+ }
339
+ export interface KafkaClusterSaslScramAuthentication {
340
+ Mechanism: KafkaClusterSaslScramMechanism | undefined;
341
+ SecretArn: string | undefined;
342
+ }
343
+ export interface KafkaClusterClientAuthentication {
344
+ SaslScram: KafkaClusterSaslScramAuthentication | undefined;
345
+ }
346
+ export interface KafkaClusterEncryptionInTransit {
347
+ EncryptionType: KafkaClusterEncryptionInTransitType | undefined;
348
+ RootCaCertificate?: string | undefined;
349
+ }
332
350
  export interface KafkaClusterClientVpcConfig {
333
351
  SecurityGroupIds?: string[] | undefined;
334
352
  SubnetIds: string[] | undefined;
335
353
  }
336
354
  export interface KafkaCluster {
337
- AmazonMskCluster: AmazonMskCluster | undefined;
338
- VpcConfig: KafkaClusterClientVpcConfig | undefined;
355
+ AmazonMskCluster?: AmazonMskCluster | undefined;
356
+ ApacheKafkaCluster?: ApacheKafkaCluster | undefined;
357
+ VpcConfig?: KafkaClusterClientVpcConfig | undefined;
358
+ ClientAuthentication?: KafkaClusterClientAuthentication | undefined;
359
+ EncryptionInTransit?: KafkaClusterEncryptionInTransit | undefined;
339
360
  }
340
361
  export interface KafkaClusterDescription {
341
362
  AmazonMskCluster?: AmazonMskCluster | undefined;
363
+ ApacheKafkaCluster?: ApacheKafkaCluster | undefined;
342
364
  KafkaClusterAlias?: string | undefined;
343
365
  VpcConfig?: KafkaClusterClientVpcConfig | undefined;
366
+ ClientAuthentication?: KafkaClusterClientAuthentication | undefined;
367
+ EncryptionInTransit?: KafkaClusterEncryptionInTransit | undefined;
344
368
  }
345
369
  export interface KafkaClusterSummary {
346
370
  AmazonMskCluster?: AmazonMskCluster | undefined;
371
+ ApacheKafkaCluster?: ApacheKafkaCluster | undefined;
347
372
  KafkaClusterAlias?: string | undefined;
348
373
  }
349
374
  export interface KafkaVersion {
@@ -382,6 +407,7 @@ export interface ConsumerGroupReplication {
382
407
  ConsumerGroupsToReplicate: string[] | undefined;
383
408
  DetectAndCopyNewConsumerGroups?: boolean | undefined;
384
409
  SynchroniseConsumerGroupOffsets?: boolean | undefined;
410
+ ConsumerGroupOffsetSyncMode?: ConsumerGroupOffsetSyncMode | undefined;
385
411
  }
386
412
  export interface ReplicationStartingPosition {
387
413
  Type?: ReplicationStartingPositionType | undefined;
@@ -400,9 +426,11 @@ export interface TopicReplication {
400
426
  }
401
427
  export interface ReplicationInfo {
402
428
  ConsumerGroupReplication: ConsumerGroupReplication | undefined;
403
- SourceKafkaClusterArn: string | undefined;
429
+ SourceKafkaClusterArn?: string | undefined;
430
+ SourceKafkaClusterId?: string | undefined;
404
431
  TargetCompressionType: TargetCompressionType | undefined;
405
- TargetKafkaClusterArn: string | undefined;
432
+ TargetKafkaClusterArn?: string | undefined;
433
+ TargetKafkaClusterId?: string | undefined;
406
434
  TopicReplication: TopicReplication | undefined;
407
435
  }
408
436
  export interface ReplicationInfoDescription {
@@ -566,6 +594,27 @@ export interface CreateConfigurationResponse {
566
594
  Name?: string | undefined;
567
595
  State?: ConfigurationState | undefined;
568
596
  }
597
+ export interface ReplicatorCloudWatchLogs {
598
+ Enabled: boolean | undefined;
599
+ LogGroup?: string | undefined;
600
+ }
601
+ export interface ReplicatorFirehose {
602
+ Enabled: boolean | undefined;
603
+ DeliveryStream?: string | undefined;
604
+ }
605
+ export interface ReplicatorS3 {
606
+ Enabled: boolean | undefined;
607
+ Bucket?: string | undefined;
608
+ Prefix?: string | undefined;
609
+ }
610
+ export interface ReplicatorLogDelivery {
611
+ CloudWatchLogs?: ReplicatorCloudWatchLogs | undefined;
612
+ Firehose?: ReplicatorFirehose | undefined;
613
+ S3?: ReplicatorS3 | undefined;
614
+ }
615
+ export interface LogDelivery {
616
+ ReplicatorLogDelivery?: ReplicatorLogDelivery | undefined;
617
+ }
569
618
  export interface CreateReplicatorRequest {
570
619
  Description?: string | undefined;
571
620
  KafkaClusters: KafkaCluster[] | undefined;
@@ -573,6 +622,7 @@ export interface CreateReplicatorRequest {
573
622
  ReplicatorName: string | undefined;
574
623
  ServiceExecutionRoleArn: string | undefined;
575
624
  Tags?: Record<string, string> | undefined;
625
+ LogDelivery?: LogDelivery | undefined;
576
626
  }
577
627
  export interface CreateReplicatorResponse {
578
628
  ReplicatorArn?: string | undefined;
@@ -720,6 +770,7 @@ export interface DescribeReplicatorResponse {
720
770
  ServiceExecutionRoleArn?: string | undefined;
721
771
  StateInfo?: ReplicationStateInfo | undefined;
722
772
  Tags?: Record<string, string> | undefined;
773
+ LogDelivery?: LogDelivery | undefined;
723
774
  }
724
775
  export interface DescribeTopicRequest {
725
776
  ClusterArn: string | undefined;
@@ -1035,9 +1086,12 @@ export interface UpdateReplicationInfoRequest {
1035
1086
  ConsumerGroupReplication?: ConsumerGroupReplicationUpdate | undefined;
1036
1087
  CurrentVersion: string | undefined;
1037
1088
  ReplicatorArn: string | undefined;
1038
- SourceKafkaClusterArn: string | undefined;
1039
- TargetKafkaClusterArn: string | undefined;
1089
+ SourceKafkaClusterArn?: string | undefined;
1090
+ SourceKafkaClusterId?: string | undefined;
1091
+ TargetKafkaClusterArn?: string | undefined;
1092
+ TargetKafkaClusterId?: string | undefined;
1040
1093
  TopicReplication?: TopicReplicationUpdate | undefined;
1094
+ LogDelivery?: LogDelivery | undefined;
1041
1095
  }
1042
1096
  export interface UpdateReplicationInfoResponse {
1043
1097
  ReplicatorArn?: string | undefined;
@@ -24,6 +24,7 @@ export declare var UnauthorizedException$: StaticErrorSchema;
24
24
  export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
25
25
  export declare const errorTypeRegistries: TypeRegistry[];
26
26
  export declare var AmazonMskCluster$: StaticStructureSchema;
27
+ export declare var ApacheKafkaCluster$: StaticStructureSchema;
27
28
  export declare var BatchAssociateScramSecretRequest$: StaticStructureSchema;
28
29
  export declare var BatchAssociateScramSecretResponse$: StaticStructureSchema;
29
30
  export declare var BatchDisassociateScramSecretRequest$: StaticStructureSchema;
@@ -114,8 +115,11 @@ export declare var Iam$: StaticStructureSchema;
114
115
  export declare var JmxExporter$: StaticStructureSchema;
115
116
  export declare var JmxExporterInfo$: StaticStructureSchema;
116
117
  export declare var KafkaCluster$: StaticStructureSchema;
118
+ export declare var KafkaClusterClientAuthentication$: StaticStructureSchema;
117
119
  export declare var KafkaClusterClientVpcConfig$: StaticStructureSchema;
118
120
  export declare var KafkaClusterDescription$: StaticStructureSchema;
121
+ export declare var KafkaClusterEncryptionInTransit$: StaticStructureSchema;
122
+ export declare var KafkaClusterSaslScramAuthentication$: StaticStructureSchema;
119
123
  export declare var KafkaClusterSummary$: StaticStructureSchema;
120
124
  export declare var KafkaVersion$: StaticStructureSchema;
121
125
  export declare var ListClientVpcConnectionsRequest$: StaticStructureSchema;
@@ -146,6 +150,7 @@ export declare var ListTopicsRequest$: StaticStructureSchema;
146
150
  export declare var ListTopicsResponse$: StaticStructureSchema;
147
151
  export declare var ListVpcConnectionsRequest$: StaticStructureSchema;
148
152
  export declare var ListVpcConnectionsResponse$: StaticStructureSchema;
153
+ export declare var LogDelivery$: StaticStructureSchema;
149
154
  export declare var LoggingInfo$: StaticStructureSchema;
150
155
  export declare var MutableClusterInfo$: StaticStructureSchema;
151
156
  export declare var NodeExporter$: StaticStructureSchema;
@@ -172,6 +177,10 @@ export declare var ReplicationInfoSummary$: StaticStructureSchema;
172
177
  export declare var ReplicationStartingPosition$: StaticStructureSchema;
173
178
  export declare var ReplicationStateInfo$: StaticStructureSchema;
174
179
  export declare var ReplicationTopicNameConfiguration$: StaticStructureSchema;
180
+ export declare var ReplicatorCloudWatchLogs$: StaticStructureSchema;
181
+ export declare var ReplicatorFirehose$: StaticStructureSchema;
182
+ export declare var ReplicatorLogDelivery$: StaticStructureSchema;
183
+ export declare var ReplicatorS3$: StaticStructureSchema;
175
184
  export declare var ReplicatorSummary$: StaticStructureSchema;
176
185
  export declare var S3$: StaticStructureSchema;
177
186
  export declare var Sasl$: StaticStructureSchema;
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.1032.0",
4
+ "version": "3.1034.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-kafka",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.32",
24
+ "@aws-sdk/core": "^3.974.3",
25
+ "@aws-sdk/credential-provider-node": "^3.972.34",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.31",
30
- "@aws-sdk/region-config-resolver": "^3.972.12",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.33",
30
+ "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
- "@aws-sdk/util-endpoints": "^3.996.7",
32
+ "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.17",
35
- "@smithy/config-resolver": "^4.4.16",
36
- "@smithy/core": "^3.23.15",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.19",
35
+ "@smithy/config-resolver": "^4.4.17",
36
+ "@smithy/core": "^3.23.16",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
38
38
  "@smithy/hash-node": "^4.2.14",
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
- "@smithy/middleware-endpoint": "^4.4.30",
42
- "@smithy/middleware-retry": "^4.5.3",
43
- "@smithy/middleware-serde": "^4.2.18",
41
+ "@smithy/middleware-endpoint": "^4.4.31",
42
+ "@smithy/middleware-retry": "^4.5.4",
43
+ "@smithy/middleware-serde": "^4.2.19",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
46
- "@smithy/node-http-handler": "^4.5.3",
46
+ "@smithy/node-http-handler": "^4.6.0",
47
47
  "@smithy/protocol-http": "^5.3.14",
48
- "@smithy/smithy-client": "^4.12.11",
48
+ "@smithy/smithy-client": "^4.12.12",
49
49
  "@smithy/types": "^4.14.1",
50
50
  "@smithy/url-parser": "^4.2.14",
51
51
  "@smithy/util-base64": "^4.3.2",
52
52
  "@smithy/util-body-length-browser": "^4.2.2",
53
53
  "@smithy/util-body-length-node": "^4.2.3",
54
- "@smithy/util-defaults-mode-browser": "^4.3.47",
55
- "@smithy/util-defaults-mode-node": "^4.2.52",
56
- "@smithy/util-endpoints": "^3.4.1",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.48",
55
+ "@smithy/util-defaults-mode-node": "^4.2.53",
56
+ "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.2",
58
+ "@smithy/util-retry": "^4.3.3",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
60
  "tslib": "^2.6.2"
61
61
  },
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ruleSet = void 0;
4
- const y = "required", z = "fn", A = "argv", B = "ref", C = "properties", D = "headers";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [y]: true, "default": false, "type": "boolean" }, j = { [y]: false, "type": "string" }, k = { [B]: "Endpoint" }, l = { [z]: c, [A]: [{ [B]: "UseFIPS" }, true] }, m = { [z]: c, [A]: [{ [B]: "UseDualStack" }, true] }, n = {}, o = { [z]: h, [A]: [{ [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, "aws"] }, p = { [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, q = { [z]: c, [A]: [{ [B]: "UseFIPS" }, false] }, r = { "url": "https://kafka-api.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: {}, [D]: {} }, s = { [z]: h, [A]: [p, "aws-us-gov"] }, t = { [z]: c, [A]: [{ [B]: "UseDualStack" }, false] }, u = { "url": "https://kafka.{Region}.{PartitionResult#dnsSuffix}", [C]: {}, [D]: {} }, v = { [z]: "getAttr", [A]: [{ [B]: g }, "supportsFIPS"] }, w = { [z]: c, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: g }, "supportsDualStack"] }] }, x = [{ [B]: "Region" }];
6
- const _data = { version: "1.0", parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, rules: [{ conditions: [{ [z]: b, [A]: [k] }], rules: [{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [m], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, [C]: n, [D]: n }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [z]: b, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: g }], rules: [{ conditions: [o, q, m], endpoint: r, type: e }, { conditions: [o, l, m], endpoint: { url: "https://kafka-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: n, [D]: n }, type: e }, { conditions: [{ [z]: h, [A]: [p, "aws-cn"] }, q, m], endpoint: r, type: e }, { conditions: [s, q, m], endpoint: r, type: e }, { conditions: [s, l, m], endpoint: r, type: e }, { conditions: [s, l, t], endpoint: u, type: e }, { conditions: [{ [z]: h, [A]: [p, "aws-eusc"] }, q, m], endpoint: r, type: e }, { conditions: [l, m], rules: [{ conditions: [{ [z]: c, [A]: [a, v] }, w], rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: n, [D]: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [l, t], rules: [{ conditions: [{ [z]: c, [A]: [v, a] }], rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}", [C]: n, [D]: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [q, m], rules: [{ conditions: [w], rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: n, [D]: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: u, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
- exports.ruleSet = _data;
@@ -1,4 +0,0 @@
1
- const y = "required", z = "fn", A = "argv", B = "ref", C = "properties", D = "headers";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = { [y]: true, "default": false, "type": "boolean" }, j = { [y]: false, "type": "string" }, k = { [B]: "Endpoint" }, l = { [z]: c, [A]: [{ [B]: "UseFIPS" }, true] }, m = { [z]: c, [A]: [{ [B]: "UseDualStack" }, true] }, n = {}, o = { [z]: h, [A]: [{ [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, "aws"] }, p = { [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, q = { [z]: c, [A]: [{ [B]: "UseFIPS" }, false] }, r = { "url": "https://kafka-api.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: {}, [D]: {} }, s = { [z]: h, [A]: [p, "aws-us-gov"] }, t = { [z]: c, [A]: [{ [B]: "UseDualStack" }, false] }, u = { "url": "https://kafka.{Region}.{PartitionResult#dnsSuffix}", [C]: {}, [D]: {} }, v = { [z]: "getAttr", [A]: [{ [B]: g }, "supportsFIPS"] }, w = { [z]: c, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: g }, "supportsDualStack"] }] }, x = [{ [B]: "Region" }];
3
- const _data = { version: "1.0", parameters: { UseDualStack: i, UseFIPS: i, Endpoint: j, Region: j }, rules: [{ conditions: [{ [z]: b, [A]: [k] }], rules: [{ conditions: [l], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [m], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, [C]: n, [D]: n }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [z]: b, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: g }], rules: [{ conditions: [o, q, m], endpoint: r, type: e }, { conditions: [o, l, m], endpoint: { url: "https://kafka-api-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: n, [D]: n }, type: e }, { conditions: [{ [z]: h, [A]: [p, "aws-cn"] }, q, m], endpoint: r, type: e }, { conditions: [s, q, m], endpoint: r, type: e }, { conditions: [s, l, m], endpoint: r, type: e }, { conditions: [s, l, t], endpoint: u, type: e }, { conditions: [{ [z]: h, [A]: [p, "aws-eusc"] }, q, m], endpoint: r, type: e }, { conditions: [l, m], rules: [{ conditions: [{ [z]: c, [A]: [a, v] }, w], rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: n, [D]: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [l, t], rules: [{ conditions: [{ [z]: c, [A]: [v, a] }], rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}", [C]: n, [D]: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [q, m], rules: [{ conditions: [w], rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", [C]: n, [D]: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: u, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
- export const ruleSet = _data;