@aws-sdk/client-kafka 3.428.0 → 3.430.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 (50) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Kafka.js +10 -0
  3. package/dist-cjs/commands/CreateReplicatorCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteReplicatorCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeReplicatorCommand.js +51 -0
  6. package/dist-cjs/commands/ListReplicatorsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateReplicationInfoCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +15 -1
  11. package/dist-cjs/pagination/ListReplicatorsPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_restJson1.js +591 -2
  14. package/dist-es/Kafka.js +10 -0
  15. package/dist-es/commands/CreateReplicatorCommand.js +47 -0
  16. package/dist-es/commands/DeleteReplicatorCommand.js +47 -0
  17. package/dist-es/commands/DescribeReplicatorCommand.js +47 -0
  18. package/dist-es/commands/ListReplicatorsCommand.js +47 -0
  19. package/dist-es/commands/UpdateReplicationInfoCommand.js +47 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/endpoint/ruleset.js +3 -3
  22. package/dist-es/models/models_0.js +14 -0
  23. package/dist-es/pagination/ListReplicatorsPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_restJson1.js +578 -0
  26. package/dist-types/Kafka.d.ts +35 -0
  27. package/dist-types/KafkaClient.d.ts +7 -2
  28. package/dist-types/commands/CreateReplicatorCommand.d.ts +147 -0
  29. package/dist-types/commands/DeleteReplicatorCommand.d.ts +96 -0
  30. package/dist-types/commands/DescribeReplicatorCommand.d.ts +153 -0
  31. package/dist-types/commands/ListReplicatorsCommand.d.ts +121 -0
  32. package/dist-types/commands/UpdateReplicationInfoCommand.d.ts +119 -0
  33. package/dist-types/commands/index.d.ts +5 -0
  34. package/dist-types/models/models_0.d.ts +656 -35
  35. package/dist-types/pagination/ListReplicatorsPaginator.d.ts +7 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  38. package/dist-types/ts3.4/Kafka.d.ts +85 -0
  39. package/dist-types/ts3.4/KafkaClient.d.ts +30 -0
  40. package/dist-types/ts3.4/commands/CreateReplicatorCommand.d.ts +38 -0
  41. package/dist-types/ts3.4/commands/DeleteReplicatorCommand.d.ts +38 -0
  42. package/dist-types/ts3.4/commands/DescribeReplicatorCommand.d.ts +39 -0
  43. package/dist-types/ts3.4/commands/ListReplicatorsCommand.d.ts +38 -0
  44. package/dist-types/ts3.4/commands/UpdateReplicationInfoCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +192 -35
  47. package/dist-types/ts3.4/pagination/ListReplicatorsPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  50. package/package.json +11 -11
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_CreateClusterCommand = exports.de_BatchDisassociateScramSecretCommand = exports.de_BatchAssociateScramSecretCommand = exports.se_UpdateStorageCommand = exports.se_UpdateSecurityCommand = exports.se_UpdateMonitoringCommand = exports.se_UpdateConnectivityCommand = exports.se_UpdateConfigurationCommand = exports.se_UpdateClusterKafkaVersionCommand = exports.se_UpdateClusterConfigurationCommand = exports.se_UpdateBrokerTypeCommand = exports.se_UpdateBrokerStorageCommand = exports.se_UpdateBrokerCountCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RejectClientVpcConnectionCommand = exports.se_RebootBrokerCommand = exports.se_PutClusterPolicyCommand = exports.se_ListVpcConnectionsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListScramSecretsCommand = exports.se_ListNodesCommand = exports.se_ListKafkaVersionsCommand = exports.se_ListConfigurationsCommand = exports.se_ListConfigurationRevisionsCommand = exports.se_ListClustersV2Command = exports.se_ListClustersCommand = exports.se_ListClusterOperationsV2Command = exports.se_ListClusterOperationsCommand = exports.se_ListClientVpcConnectionsCommand = exports.se_GetCompatibleKafkaVersionsCommand = exports.se_GetClusterPolicyCommand = exports.se_GetBootstrapBrokersCommand = exports.se_DescribeVpcConnectionCommand = exports.se_DescribeConfigurationRevisionCommand = exports.se_DescribeConfigurationCommand = exports.se_DescribeClusterV2Command = exports.se_DescribeClusterOperationV2Command = exports.se_DescribeClusterOperationCommand = exports.se_DescribeClusterCommand = exports.se_DeleteVpcConnectionCommand = exports.se_DeleteConfigurationCommand = exports.se_DeleteClusterPolicyCommand = exports.se_DeleteClusterCommand = exports.se_CreateVpcConnectionCommand = exports.se_CreateConfigurationCommand = exports.se_CreateClusterV2Command = exports.se_CreateClusterCommand = exports.se_BatchDisassociateScramSecretCommand = exports.se_BatchAssociateScramSecretCommand = void 0;
4
- exports.de_UpdateStorageCommand = exports.de_UpdateSecurityCommand = exports.de_UpdateMonitoringCommand = exports.de_UpdateConnectivityCommand = exports.de_UpdateConfigurationCommand = exports.de_UpdateClusterKafkaVersionCommand = exports.de_UpdateClusterConfigurationCommand = exports.de_UpdateBrokerTypeCommand = exports.de_UpdateBrokerStorageCommand = exports.de_UpdateBrokerCountCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RejectClientVpcConnectionCommand = exports.de_RebootBrokerCommand = exports.de_PutClusterPolicyCommand = exports.de_ListVpcConnectionsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListScramSecretsCommand = exports.de_ListNodesCommand = exports.de_ListKafkaVersionsCommand = exports.de_ListConfigurationsCommand = exports.de_ListConfigurationRevisionsCommand = exports.de_ListClustersV2Command = exports.de_ListClustersCommand = exports.de_ListClusterOperationsV2Command = exports.de_ListClusterOperationsCommand = exports.de_ListClientVpcConnectionsCommand = exports.de_GetCompatibleKafkaVersionsCommand = exports.de_GetClusterPolicyCommand = exports.de_GetBootstrapBrokersCommand = exports.de_DescribeVpcConnectionCommand = exports.de_DescribeConfigurationRevisionCommand = exports.de_DescribeConfigurationCommand = exports.de_DescribeClusterV2Command = exports.de_DescribeClusterOperationV2Command = exports.de_DescribeClusterOperationCommand = exports.de_DescribeClusterCommand = exports.de_DeleteVpcConnectionCommand = exports.de_DeleteConfigurationCommand = exports.de_DeleteClusterPolicyCommand = exports.de_DeleteClusterCommand = exports.de_CreateVpcConnectionCommand = exports.de_CreateConfigurationCommand = exports.de_CreateClusterV2Command = void 0;
3
+ exports.se_UpdateReplicationInfoCommand = exports.se_UpdateMonitoringCommand = exports.se_UpdateConnectivityCommand = exports.se_UpdateConfigurationCommand = exports.se_UpdateClusterKafkaVersionCommand = exports.se_UpdateClusterConfigurationCommand = exports.se_UpdateBrokerTypeCommand = exports.se_UpdateBrokerStorageCommand = exports.se_UpdateBrokerCountCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RejectClientVpcConnectionCommand = exports.se_RebootBrokerCommand = exports.se_PutClusterPolicyCommand = exports.se_ListVpcConnectionsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListScramSecretsCommand = exports.se_ListReplicatorsCommand = exports.se_ListNodesCommand = exports.se_ListKafkaVersionsCommand = exports.se_ListConfigurationsCommand = exports.se_ListConfigurationRevisionsCommand = exports.se_ListClustersV2Command = exports.se_ListClustersCommand = exports.se_ListClusterOperationsV2Command = exports.se_ListClusterOperationsCommand = exports.se_ListClientVpcConnectionsCommand = exports.se_GetCompatibleKafkaVersionsCommand = exports.se_GetClusterPolicyCommand = exports.se_GetBootstrapBrokersCommand = exports.se_DescribeVpcConnectionCommand = exports.se_DescribeReplicatorCommand = exports.se_DescribeConfigurationRevisionCommand = exports.se_DescribeConfigurationCommand = exports.se_DescribeClusterV2Command = exports.se_DescribeClusterOperationV2Command = exports.se_DescribeClusterOperationCommand = exports.se_DescribeClusterCommand = exports.se_DeleteVpcConnectionCommand = exports.se_DeleteReplicatorCommand = exports.se_DeleteConfigurationCommand = exports.se_DeleteClusterPolicyCommand = exports.se_DeleteClusterCommand = exports.se_CreateVpcConnectionCommand = exports.se_CreateReplicatorCommand = exports.se_CreateConfigurationCommand = exports.se_CreateClusterV2Command = exports.se_CreateClusterCommand = exports.se_BatchDisassociateScramSecretCommand = exports.se_BatchAssociateScramSecretCommand = void 0;
4
+ exports.de_UpdateConnectivityCommand = exports.de_UpdateConfigurationCommand = exports.de_UpdateClusterKafkaVersionCommand = exports.de_UpdateClusterConfigurationCommand = exports.de_UpdateBrokerTypeCommand = exports.de_UpdateBrokerStorageCommand = exports.de_UpdateBrokerCountCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RejectClientVpcConnectionCommand = exports.de_RebootBrokerCommand = exports.de_PutClusterPolicyCommand = exports.de_ListVpcConnectionsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListScramSecretsCommand = exports.de_ListReplicatorsCommand = exports.de_ListNodesCommand = exports.de_ListKafkaVersionsCommand = exports.de_ListConfigurationsCommand = exports.de_ListConfigurationRevisionsCommand = exports.de_ListClustersV2Command = exports.de_ListClustersCommand = exports.de_ListClusterOperationsV2Command = exports.de_ListClusterOperationsCommand = exports.de_ListClientVpcConnectionsCommand = exports.de_GetCompatibleKafkaVersionsCommand = exports.de_GetClusterPolicyCommand = exports.de_GetBootstrapBrokersCommand = exports.de_DescribeVpcConnectionCommand = exports.de_DescribeReplicatorCommand = exports.de_DescribeConfigurationRevisionCommand = exports.de_DescribeConfigurationCommand = exports.de_DescribeClusterV2Command = exports.de_DescribeClusterOperationV2Command = exports.de_DescribeClusterOperationCommand = exports.de_DescribeClusterCommand = exports.de_DeleteVpcConnectionCommand = exports.de_DeleteReplicatorCommand = exports.de_DeleteConfigurationCommand = exports.de_DeleteClusterPolicyCommand = exports.de_DeleteClusterCommand = exports.de_CreateVpcConnectionCommand = exports.de_CreateReplicatorCommand = exports.de_CreateConfigurationCommand = exports.de_CreateClusterV2Command = exports.de_CreateClusterCommand = exports.de_BatchDisassociateScramSecretCommand = exports.de_BatchAssociateScramSecretCommand = exports.se_UpdateStorageCommand = exports.se_UpdateSecurityCommand = void 0;
5
+ exports.de_UpdateStorageCommand = exports.de_UpdateSecurityCommand = exports.de_UpdateReplicationInfoCommand = exports.de_UpdateMonitoringCommand = void 0;
5
6
  const protocol_http_1 = require("@smithy/protocol-http");
6
7
  const smithy_client_1 = require("@smithy/smithy-client");
7
8
  const KafkaServiceException_1 = require("../models/KafkaServiceException");
@@ -130,6 +131,32 @@ const se_CreateConfigurationCommand = async (input, context) => {
130
131
  });
131
132
  };
132
133
  exports.se_CreateConfigurationCommand = se_CreateConfigurationCommand;
134
+ const se_CreateReplicatorCommand = async (input, context) => {
135
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
136
+ const headers = {
137
+ "content-type": "application/json",
138
+ };
139
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/replication/v1/replicators";
140
+ let body;
141
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
142
+ description: [, , `Description`],
143
+ kafkaClusters: [, (_) => se___listOfKafkaCluster(_, context), `KafkaClusters`],
144
+ replicationInfoList: [, (_) => se___listOfReplicationInfo(_, context), `ReplicationInfoList`],
145
+ replicatorName: [, , `ReplicatorName`],
146
+ serviceExecutionRoleArn: [, , `ServiceExecutionRoleArn`],
147
+ tags: [, (_) => (0, smithy_client_1._json)(_), `Tags`],
148
+ }));
149
+ return new protocol_http_1.HttpRequest({
150
+ protocol,
151
+ hostname,
152
+ port,
153
+ method: "POST",
154
+ headers,
155
+ path: resolvedPath,
156
+ body,
157
+ });
158
+ };
159
+ exports.se_CreateReplicatorCommand = se_CreateReplicatorCommand;
133
160
  const se_CreateVpcConnectionCommand = async (input, context) => {
134
161
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
135
162
  const headers = {
@@ -211,6 +238,28 @@ const se_DeleteConfigurationCommand = async (input, context) => {
211
238
  });
212
239
  };
213
240
  exports.se_DeleteConfigurationCommand = se_DeleteConfigurationCommand;
241
+ const se_DeleteReplicatorCommand = async (input, context) => {
242
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
243
+ const headers = {};
244
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
245
+ "/replication/v1/replicators/{ReplicatorArn}";
246
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReplicatorArn", () => input.ReplicatorArn, "{ReplicatorArn}", false);
247
+ const query = (0, smithy_client_1.map)({
248
+ currentVersion: [, input.CurrentVersion],
249
+ });
250
+ let body;
251
+ return new protocol_http_1.HttpRequest({
252
+ protocol,
253
+ hostname,
254
+ port,
255
+ method: "DELETE",
256
+ headers,
257
+ path: resolvedPath,
258
+ query,
259
+ body,
260
+ });
261
+ };
262
+ exports.se_DeleteReplicatorCommand = se_DeleteReplicatorCommand;
214
263
  const se_DeleteVpcConnectionCommand = async (input, context) => {
215
264
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
216
265
  const headers = {};
@@ -332,6 +381,24 @@ const se_DescribeConfigurationRevisionCommand = async (input, context) => {
332
381
  });
333
382
  };
334
383
  exports.se_DescribeConfigurationRevisionCommand = se_DescribeConfigurationRevisionCommand;
384
+ const se_DescribeReplicatorCommand = async (input, context) => {
385
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
386
+ const headers = {};
387
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
388
+ "/replication/v1/replicators/{ReplicatorArn}";
389
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReplicatorArn", () => input.ReplicatorArn, "{ReplicatorArn}", false);
390
+ let body;
391
+ return new protocol_http_1.HttpRequest({
392
+ protocol,
393
+ hostname,
394
+ port,
395
+ method: "GET",
396
+ headers,
397
+ path: resolvedPath,
398
+ body,
399
+ });
400
+ };
401
+ exports.se_DescribeReplicatorCommand = se_DescribeReplicatorCommand;
335
402
  const se_DescribeVpcConnectionCommand = async (input, context) => {
336
403
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
337
404
  const headers = {};
@@ -602,6 +669,28 @@ const se_ListNodesCommand = async (input, context) => {
602
669
  });
603
670
  };
604
671
  exports.se_ListNodesCommand = se_ListNodesCommand;
672
+ const se_ListReplicatorsCommand = async (input, context) => {
673
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
674
+ const headers = {};
675
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/replication/v1/replicators";
676
+ const query = (0, smithy_client_1.map)({
677
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
678
+ nextToken: [, input.NextToken],
679
+ replicatorNameFilter: [, input.ReplicatorNameFilter],
680
+ });
681
+ let body;
682
+ return new protocol_http_1.HttpRequest({
683
+ protocol,
684
+ hostname,
685
+ port,
686
+ method: "GET",
687
+ headers,
688
+ path: resolvedPath,
689
+ query,
690
+ body,
691
+ });
692
+ };
693
+ exports.se_ListReplicatorsCommand = se_ListReplicatorsCommand;
605
694
  const se_ListScramSecretsCommand = async (input, context) => {
606
695
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
607
696
  const headers = {};
@@ -963,6 +1052,33 @@ const se_UpdateMonitoringCommand = async (input, context) => {
963
1052
  });
964
1053
  };
965
1054
  exports.se_UpdateMonitoringCommand = se_UpdateMonitoringCommand;
1055
+ const se_UpdateReplicationInfoCommand = async (input, context) => {
1056
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1057
+ const headers = {
1058
+ "content-type": "application/json",
1059
+ };
1060
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1061
+ "/replication/v1/replicators/{ReplicatorArn}/replication-info";
1062
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ReplicatorArn", () => input.ReplicatorArn, "{ReplicatorArn}", false);
1063
+ let body;
1064
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
1065
+ consumerGroupReplication: [, (_) => se_ConsumerGroupReplicationUpdate(_, context), `ConsumerGroupReplication`],
1066
+ currentVersion: [, , `CurrentVersion`],
1067
+ sourceKafkaClusterArn: [, , `SourceKafkaClusterArn`],
1068
+ targetKafkaClusterArn: [, , `TargetKafkaClusterArn`],
1069
+ topicReplication: [, (_) => se_TopicReplicationUpdate(_, context), `TopicReplication`],
1070
+ }));
1071
+ return new protocol_http_1.HttpRequest({
1072
+ protocol,
1073
+ hostname,
1074
+ port,
1075
+ method: "PUT",
1076
+ headers,
1077
+ path: resolvedPath,
1078
+ body,
1079
+ });
1080
+ };
1081
+ exports.se_UpdateReplicationInfoCommand = se_UpdateReplicationInfoCommand;
966
1082
  const se_UpdateSecurityCommand = async (input, context) => {
967
1083
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
968
1084
  const headers = {
@@ -1283,6 +1399,63 @@ const de_CreateConfigurationCommandError = async (output, context) => {
1283
1399
  });
1284
1400
  }
1285
1401
  };
1402
+ const de_CreateReplicatorCommand = async (output, context) => {
1403
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1404
+ return de_CreateReplicatorCommandError(output, context);
1405
+ }
1406
+ const contents = (0, smithy_client_1.map)({
1407
+ $metadata: deserializeMetadata(output),
1408
+ });
1409
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1410
+ const doc = (0, smithy_client_1.take)(data, {
1411
+ ReplicatorArn: [, smithy_client_1.expectString, `replicatorArn`],
1412
+ ReplicatorName: [, smithy_client_1.expectString, `replicatorName`],
1413
+ ReplicatorState: [, smithy_client_1.expectString, `replicatorState`],
1414
+ });
1415
+ Object.assign(contents, doc);
1416
+ return contents;
1417
+ };
1418
+ exports.de_CreateReplicatorCommand = de_CreateReplicatorCommand;
1419
+ const de_CreateReplicatorCommandError = async (output, context) => {
1420
+ const parsedOutput = {
1421
+ ...output,
1422
+ body: await parseErrorBody(output.body, context),
1423
+ };
1424
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1425
+ switch (errorCode) {
1426
+ case "BadRequestException":
1427
+ case "com.amazonaws.kafka#BadRequestException":
1428
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1429
+ case "ConflictException":
1430
+ case "com.amazonaws.kafka#ConflictException":
1431
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1432
+ case "ForbiddenException":
1433
+ case "com.amazonaws.kafka#ForbiddenException":
1434
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1435
+ case "InternalServerErrorException":
1436
+ case "com.amazonaws.kafka#InternalServerErrorException":
1437
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1438
+ case "NotFoundException":
1439
+ case "com.amazonaws.kafka#NotFoundException":
1440
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1441
+ case "ServiceUnavailableException":
1442
+ case "com.amazonaws.kafka#ServiceUnavailableException":
1443
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1444
+ case "TooManyRequestsException":
1445
+ case "com.amazonaws.kafka#TooManyRequestsException":
1446
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1447
+ case "UnauthorizedException":
1448
+ case "com.amazonaws.kafka#UnauthorizedException":
1449
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1450
+ default:
1451
+ const parsedBody = parsedOutput.body;
1452
+ return throwDefaultError({
1453
+ output,
1454
+ parsedBody,
1455
+ errorCode,
1456
+ });
1457
+ }
1458
+ };
1286
1459
  const de_CreateVpcConnectionCommand = async (output, context) => {
1287
1460
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1288
1461
  return de_CreateVpcConnectionCommandError(output, context);
@@ -1466,6 +1639,59 @@ const de_DeleteConfigurationCommandError = async (output, context) => {
1466
1639
  });
1467
1640
  }
1468
1641
  };
1642
+ const de_DeleteReplicatorCommand = async (output, context) => {
1643
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1644
+ return de_DeleteReplicatorCommandError(output, context);
1645
+ }
1646
+ const contents = (0, smithy_client_1.map)({
1647
+ $metadata: deserializeMetadata(output),
1648
+ });
1649
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1650
+ const doc = (0, smithy_client_1.take)(data, {
1651
+ ReplicatorArn: [, smithy_client_1.expectString, `replicatorArn`],
1652
+ ReplicatorState: [, smithy_client_1.expectString, `replicatorState`],
1653
+ });
1654
+ Object.assign(contents, doc);
1655
+ return contents;
1656
+ };
1657
+ exports.de_DeleteReplicatorCommand = de_DeleteReplicatorCommand;
1658
+ const de_DeleteReplicatorCommandError = async (output, context) => {
1659
+ const parsedOutput = {
1660
+ ...output,
1661
+ body: await parseErrorBody(output.body, context),
1662
+ };
1663
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1664
+ switch (errorCode) {
1665
+ case "BadRequestException":
1666
+ case "com.amazonaws.kafka#BadRequestException":
1667
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1668
+ case "ForbiddenException":
1669
+ case "com.amazonaws.kafka#ForbiddenException":
1670
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
1671
+ case "InternalServerErrorException":
1672
+ case "com.amazonaws.kafka#InternalServerErrorException":
1673
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
1674
+ case "NotFoundException":
1675
+ case "com.amazonaws.kafka#NotFoundException":
1676
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1677
+ case "ServiceUnavailableException":
1678
+ case "com.amazonaws.kafka#ServiceUnavailableException":
1679
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1680
+ case "TooManyRequestsException":
1681
+ case "com.amazonaws.kafka#TooManyRequestsException":
1682
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
1683
+ case "UnauthorizedException":
1684
+ case "com.amazonaws.kafka#UnauthorizedException":
1685
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1686
+ default:
1687
+ const parsedBody = parsedOutput.body;
1688
+ return throwDefaultError({
1689
+ output,
1690
+ parsedBody,
1691
+ errorCode,
1692
+ });
1693
+ }
1694
+ };
1469
1695
  const de_DeleteVpcConnectionCommand = async (output, context) => {
1470
1696
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1471
1697
  return de_DeleteVpcConnectionCommandError(output, context);
@@ -1808,6 +2034,70 @@ const de_DescribeConfigurationRevisionCommandError = async (output, context) =>
1808
2034
  });
1809
2035
  }
1810
2036
  };
2037
+ const de_DescribeReplicatorCommand = async (output, context) => {
2038
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2039
+ return de_DescribeReplicatorCommandError(output, context);
2040
+ }
2041
+ const contents = (0, smithy_client_1.map)({
2042
+ $metadata: deserializeMetadata(output),
2043
+ });
2044
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2045
+ const doc = (0, smithy_client_1.take)(data, {
2046
+ CreationTime: [, (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)), `creationTime`],
2047
+ CurrentVersion: [, smithy_client_1.expectString, `currentVersion`],
2048
+ IsReplicatorReference: [, smithy_client_1.expectBoolean, `isReplicatorReference`],
2049
+ KafkaClusters: [, (_) => de___listOfKafkaClusterDescription(_, context), `kafkaClusters`],
2050
+ ReplicationInfoList: [, (_) => de___listOfReplicationInfoDescription(_, context), `replicationInfoList`],
2051
+ ReplicatorArn: [, smithy_client_1.expectString, `replicatorArn`],
2052
+ ReplicatorDescription: [, smithy_client_1.expectString, `replicatorDescription`],
2053
+ ReplicatorName: [, smithy_client_1.expectString, `replicatorName`],
2054
+ ReplicatorResourceArn: [, smithy_client_1.expectString, `replicatorResourceArn`],
2055
+ ReplicatorState: [, smithy_client_1.expectString, `replicatorState`],
2056
+ ServiceExecutionRoleArn: [, smithy_client_1.expectString, `serviceExecutionRoleArn`],
2057
+ StateInfo: [, (_) => de_ReplicationStateInfo(_, context), `stateInfo`],
2058
+ Tags: [, smithy_client_1._json, `tags`],
2059
+ });
2060
+ Object.assign(contents, doc);
2061
+ return contents;
2062
+ };
2063
+ exports.de_DescribeReplicatorCommand = de_DescribeReplicatorCommand;
2064
+ const de_DescribeReplicatorCommandError = async (output, context) => {
2065
+ const parsedOutput = {
2066
+ ...output,
2067
+ body: await parseErrorBody(output.body, context),
2068
+ };
2069
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2070
+ switch (errorCode) {
2071
+ case "BadRequestException":
2072
+ case "com.amazonaws.kafka#BadRequestException":
2073
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2074
+ case "ForbiddenException":
2075
+ case "com.amazonaws.kafka#ForbiddenException":
2076
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2077
+ case "InternalServerErrorException":
2078
+ case "com.amazonaws.kafka#InternalServerErrorException":
2079
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2080
+ case "NotFoundException":
2081
+ case "com.amazonaws.kafka#NotFoundException":
2082
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2083
+ case "ServiceUnavailableException":
2084
+ case "com.amazonaws.kafka#ServiceUnavailableException":
2085
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2086
+ case "TooManyRequestsException":
2087
+ case "com.amazonaws.kafka#TooManyRequestsException":
2088
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2089
+ case "UnauthorizedException":
2090
+ case "com.amazonaws.kafka#UnauthorizedException":
2091
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2092
+ default:
2093
+ const parsedBody = parsedOutput.body;
2094
+ return throwDefaultError({
2095
+ output,
2096
+ parsedBody,
2097
+ errorCode,
2098
+ });
2099
+ }
2100
+ };
1811
2101
  const de_DescribeVpcConnectionCommand = async (output, context) => {
1812
2102
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1813
2103
  return de_DescribeVpcConnectionCommandError(output, context);
@@ -2433,6 +2723,59 @@ const de_ListNodesCommandError = async (output, context) => {
2433
2723
  });
2434
2724
  }
2435
2725
  };
2726
+ const de_ListReplicatorsCommand = async (output, context) => {
2727
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2728
+ return de_ListReplicatorsCommandError(output, context);
2729
+ }
2730
+ const contents = (0, smithy_client_1.map)({
2731
+ $metadata: deserializeMetadata(output),
2732
+ });
2733
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2734
+ const doc = (0, smithy_client_1.take)(data, {
2735
+ NextToken: [, smithy_client_1.expectString, `nextToken`],
2736
+ Replicators: [, (_) => de___listOfReplicatorSummary(_, context), `replicators`],
2737
+ });
2738
+ Object.assign(contents, doc);
2739
+ return contents;
2740
+ };
2741
+ exports.de_ListReplicatorsCommand = de_ListReplicatorsCommand;
2742
+ const de_ListReplicatorsCommandError = async (output, context) => {
2743
+ const parsedOutput = {
2744
+ ...output,
2745
+ body: await parseErrorBody(output.body, context),
2746
+ };
2747
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2748
+ switch (errorCode) {
2749
+ case "BadRequestException":
2750
+ case "com.amazonaws.kafka#BadRequestException":
2751
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
2752
+ case "ForbiddenException":
2753
+ case "com.amazonaws.kafka#ForbiddenException":
2754
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
2755
+ case "InternalServerErrorException":
2756
+ case "com.amazonaws.kafka#InternalServerErrorException":
2757
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
2758
+ case "NotFoundException":
2759
+ case "com.amazonaws.kafka#NotFoundException":
2760
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2761
+ case "ServiceUnavailableException":
2762
+ case "com.amazonaws.kafka#ServiceUnavailableException":
2763
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2764
+ case "TooManyRequestsException":
2765
+ case "com.amazonaws.kafka#TooManyRequestsException":
2766
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
2767
+ case "UnauthorizedException":
2768
+ case "com.amazonaws.kafka#UnauthorizedException":
2769
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
2770
+ default:
2771
+ const parsedBody = parsedOutput.body;
2772
+ return throwDefaultError({
2773
+ output,
2774
+ parsedBody,
2775
+ errorCode,
2776
+ });
2777
+ }
2778
+ };
2436
2779
  const de_ListScramSecretsCommand = async (output, context) => {
2437
2780
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2438
2781
  return de_ListScramSecretsCommandError(output, context);
@@ -3177,6 +3520,59 @@ const de_UpdateMonitoringCommandError = async (output, context) => {
3177
3520
  });
3178
3521
  }
3179
3522
  };
3523
+ const de_UpdateReplicationInfoCommand = async (output, context) => {
3524
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3525
+ return de_UpdateReplicationInfoCommandError(output, context);
3526
+ }
3527
+ const contents = (0, smithy_client_1.map)({
3528
+ $metadata: deserializeMetadata(output),
3529
+ });
3530
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3531
+ const doc = (0, smithy_client_1.take)(data, {
3532
+ ReplicatorArn: [, smithy_client_1.expectString, `replicatorArn`],
3533
+ ReplicatorState: [, smithy_client_1.expectString, `replicatorState`],
3534
+ });
3535
+ Object.assign(contents, doc);
3536
+ return contents;
3537
+ };
3538
+ exports.de_UpdateReplicationInfoCommand = de_UpdateReplicationInfoCommand;
3539
+ const de_UpdateReplicationInfoCommandError = async (output, context) => {
3540
+ const parsedOutput = {
3541
+ ...output,
3542
+ body: await parseErrorBody(output.body, context),
3543
+ };
3544
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3545
+ switch (errorCode) {
3546
+ case "BadRequestException":
3547
+ case "com.amazonaws.kafka#BadRequestException":
3548
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
3549
+ case "ForbiddenException":
3550
+ case "com.amazonaws.kafka#ForbiddenException":
3551
+ throw await de_ForbiddenExceptionRes(parsedOutput, context);
3552
+ case "InternalServerErrorException":
3553
+ case "com.amazonaws.kafka#InternalServerErrorException":
3554
+ throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
3555
+ case "NotFoundException":
3556
+ case "com.amazonaws.kafka#NotFoundException":
3557
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
3558
+ case "ServiceUnavailableException":
3559
+ case "com.amazonaws.kafka#ServiceUnavailableException":
3560
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
3561
+ case "TooManyRequestsException":
3562
+ case "com.amazonaws.kafka#TooManyRequestsException":
3563
+ throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
3564
+ case "UnauthorizedException":
3565
+ case "com.amazonaws.kafka#UnauthorizedException":
3566
+ throw await de_UnauthorizedExceptionRes(parsedOutput, context);
3567
+ default:
3568
+ const parsedBody = parsedOutput.body;
3569
+ return throwDefaultError({
3570
+ output,
3571
+ parsedBody,
3572
+ errorCode,
3573
+ });
3574
+ }
3575
+ };
3180
3576
  const de_UpdateSecurityCommand = async (output, context) => {
3181
3577
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3182
3578
  return de_UpdateSecurityCommandError(output, context);
@@ -3403,6 +3799,20 @@ const se___listOfBrokerEBSVolumeInfo = (input, context) => {
3403
3799
  return se_BrokerEBSVolumeInfo(entry, context);
3404
3800
  });
3405
3801
  };
3802
+ const se___listOfKafkaCluster = (input, context) => {
3803
+ return input
3804
+ .filter((e) => e != null)
3805
+ .map((entry) => {
3806
+ return se_KafkaCluster(entry, context);
3807
+ });
3808
+ };
3809
+ const se___listOfReplicationInfo = (input, context) => {
3810
+ return input
3811
+ .filter((e) => e != null)
3812
+ .map((entry) => {
3813
+ return se_ReplicationInfo(entry, context);
3814
+ });
3815
+ };
3406
3816
  const se___listOfVpcConfig = (input, context) => {
3407
3817
  return input
3408
3818
  .filter((e) => e != null)
@@ -3410,6 +3820,11 @@ const se___listOfVpcConfig = (input, context) => {
3410
3820
  return se_VpcConfig(entry, context);
3411
3821
  });
3412
3822
  };
3823
+ const se_AmazonMskCluster = (input, context) => {
3824
+ return (0, smithy_client_1.take)(input, {
3825
+ mskClusterArn: [, , `MskClusterArn`],
3826
+ });
3827
+ };
3413
3828
  const se_BrokerEBSVolumeInfo = (input, context) => {
3414
3829
  return (0, smithy_client_1.take)(input, {
3415
3830
  kafkaBrokerNodeId: [, , `KafkaBrokerNodeId`],
@@ -3460,6 +3875,22 @@ const se_ConnectivityInfo = (input, context) => {
3460
3875
  vpcConnectivity: [, (_) => se_VpcConnectivity(_, context), `VpcConnectivity`],
3461
3876
  });
3462
3877
  };
3878
+ const se_ConsumerGroupReplication = (input, context) => {
3879
+ return (0, smithy_client_1.take)(input, {
3880
+ consumerGroupsToExclude: [, smithy_client_1._json, `ConsumerGroupsToExclude`],
3881
+ consumerGroupsToReplicate: [, smithy_client_1._json, `ConsumerGroupsToReplicate`],
3882
+ detectAndCopyNewConsumerGroups: [, , `DetectAndCopyNewConsumerGroups`],
3883
+ synchroniseConsumerGroupOffsets: [, , `SynchroniseConsumerGroupOffsets`],
3884
+ });
3885
+ };
3886
+ const se_ConsumerGroupReplicationUpdate = (input, context) => {
3887
+ return (0, smithy_client_1.take)(input, {
3888
+ consumerGroupsToExclude: [, smithy_client_1._json, `ConsumerGroupsToExclude`],
3889
+ consumerGroupsToReplicate: [, smithy_client_1._json, `ConsumerGroupsToReplicate`],
3890
+ detectAndCopyNewConsumerGroups: [, , `DetectAndCopyNewConsumerGroups`],
3891
+ synchroniseConsumerGroupOffsets: [, , `SynchroniseConsumerGroupOffsets`],
3892
+ });
3893
+ };
3463
3894
  const se_EBSStorageInfo = (input, context) => {
3464
3895
  return (0, smithy_client_1.take)(input, {
3465
3896
  provisionedThroughput: [, (_) => se_ProvisionedThroughput(_, context), `ProvisionedThroughput`],
@@ -3499,6 +3930,18 @@ const se_JmxExporterInfo = (input, context) => {
3499
3930
  enabledInBroker: [, , `EnabledInBroker`],
3500
3931
  });
3501
3932
  };
3933
+ const se_KafkaCluster = (input, context) => {
3934
+ return (0, smithy_client_1.take)(input, {
3935
+ amazonMskCluster: [, (_) => se_AmazonMskCluster(_, context), `AmazonMskCluster`],
3936
+ vpcConfig: [, (_) => se_KafkaClusterClientVpcConfig(_, context), `VpcConfig`],
3937
+ });
3938
+ };
3939
+ const se_KafkaClusterClientVpcConfig = (input, context) => {
3940
+ return (0, smithy_client_1.take)(input, {
3941
+ securityGroupIds: [, smithy_client_1._json, `SecurityGroupIds`],
3942
+ subnetIds: [, smithy_client_1._json, `SubnetIds`],
3943
+ });
3944
+ };
3502
3945
  const se_LoggingInfo = (input, context) => {
3503
3946
  return (0, smithy_client_1.take)(input, {
3504
3947
  brokerLogs: [, (_) => se_BrokerLogs(_, context), `BrokerLogs`],
@@ -3545,6 +3988,15 @@ const se_PublicAccess = (input, context) => {
3545
3988
  type: [, , `Type`],
3546
3989
  });
3547
3990
  };
3991
+ const se_ReplicationInfo = (input, context) => {
3992
+ return (0, smithy_client_1.take)(input, {
3993
+ consumerGroupReplication: [, (_) => se_ConsumerGroupReplication(_, context), `ConsumerGroupReplication`],
3994
+ sourceKafkaClusterArn: [, , `SourceKafkaClusterArn`],
3995
+ targetCompressionType: [, , `TargetCompressionType`],
3996
+ targetKafkaClusterArn: [, , `TargetKafkaClusterArn`],
3997
+ topicReplication: [, (_) => se_TopicReplication(_, context), `TopicReplication`],
3998
+ });
3999
+ };
3548
4000
  const se_S3 = (input, context) => {
3549
4001
  return (0, smithy_client_1.take)(input, {
3550
4002
  bucket: [, , `Bucket`],
@@ -3590,6 +4042,24 @@ const se_Tls = (input, context) => {
3590
4042
  enabled: [, , `Enabled`],
3591
4043
  });
3592
4044
  };
4045
+ const se_TopicReplication = (input, context) => {
4046
+ return (0, smithy_client_1.take)(input, {
4047
+ copyAccessControlListsForTopics: [, , `CopyAccessControlListsForTopics`],
4048
+ copyTopicConfigurations: [, , `CopyTopicConfigurations`],
4049
+ detectAndCopyNewTopics: [, , `DetectAndCopyNewTopics`],
4050
+ topicsToExclude: [, smithy_client_1._json, `TopicsToExclude`],
4051
+ topicsToReplicate: [, smithy_client_1._json, `TopicsToReplicate`],
4052
+ });
4053
+ };
4054
+ const se_TopicReplicationUpdate = (input, context) => {
4055
+ return (0, smithy_client_1.take)(input, {
4056
+ copyAccessControlListsForTopics: [, , `CopyAccessControlListsForTopics`],
4057
+ copyTopicConfigurations: [, , `CopyTopicConfigurations`],
4058
+ detectAndCopyNewTopics: [, , `DetectAndCopyNewTopics`],
4059
+ topicsToExclude: [, smithy_client_1._json, `TopicsToExclude`],
4060
+ topicsToReplicate: [, smithy_client_1._json, `TopicsToReplicate`],
4061
+ });
4062
+ };
3593
4063
  const se_Unauthenticated = (input, context) => {
3594
4064
  return (0, smithy_client_1.take)(input, {
3595
4065
  enabled: [, , `Enabled`],
@@ -3713,6 +4183,22 @@ const de___listOfConfigurationRevision = (output, context) => {
3713
4183
  });
3714
4184
  return retVal;
3715
4185
  };
4186
+ const de___listOfKafkaClusterDescription = (output, context) => {
4187
+ const retVal = (output || [])
4188
+ .filter((e) => e != null)
4189
+ .map((entry) => {
4190
+ return de_KafkaClusterDescription(entry, context);
4191
+ });
4192
+ return retVal;
4193
+ };
4194
+ const de___listOfKafkaClusterSummary = (output, context) => {
4195
+ const retVal = (output || [])
4196
+ .filter((e) => e != null)
4197
+ .map((entry) => {
4198
+ return de_KafkaClusterSummary(entry, context);
4199
+ });
4200
+ return retVal;
4201
+ };
3716
4202
  const de___listOfKafkaVersion = (output, context) => {
3717
4203
  const retVal = (output || [])
3718
4204
  .filter((e) => e != null)
@@ -3729,6 +4215,30 @@ const de___listOfNodeInfo = (output, context) => {
3729
4215
  });
3730
4216
  return retVal;
3731
4217
  };
4218
+ const de___listOfReplicationInfoDescription = (output, context) => {
4219
+ const retVal = (output || [])
4220
+ .filter((e) => e != null)
4221
+ .map((entry) => {
4222
+ return de_ReplicationInfoDescription(entry, context);
4223
+ });
4224
+ return retVal;
4225
+ };
4226
+ const de___listOfReplicationInfoSummary = (output, context) => {
4227
+ const retVal = (output || [])
4228
+ .filter((e) => e != null)
4229
+ .map((entry) => {
4230
+ return de_ReplicationInfoSummary(entry, context);
4231
+ });
4232
+ return retVal;
4233
+ };
4234
+ const de___listOfReplicatorSummary = (output, context) => {
4235
+ const retVal = (output || [])
4236
+ .filter((e) => e != null)
4237
+ .map((entry) => {
4238
+ return de_ReplicatorSummary(entry, context);
4239
+ });
4240
+ return retVal;
4241
+ };
3732
4242
  const de___listOfUnprocessedScramSecret = (output, context) => {
3733
4243
  const retVal = (output || [])
3734
4244
  .filter((e) => e != null)
@@ -3753,6 +4263,11 @@ const de___listOfVpcConnection = (output, context) => {
3753
4263
  });
3754
4264
  return retVal;
3755
4265
  };
4266
+ const de_AmazonMskCluster = (output, context) => {
4267
+ return (0, smithy_client_1.take)(output, {
4268
+ MskClusterArn: [, smithy_client_1.expectString, `mskClusterArn`],
4269
+ });
4270
+ };
3756
4271
  const de_BrokerEBSVolumeInfo = (output, context) => {
3757
4272
  return (0, smithy_client_1.take)(output, {
3758
4273
  KafkaBrokerNodeId: [, smithy_client_1.expectString, `kafkaBrokerNodeId`],
@@ -3956,6 +4471,14 @@ const de_ConnectivityInfo = (output, context) => {
3956
4471
  VpcConnectivity: [, (_) => de_VpcConnectivity(_, context), `vpcConnectivity`],
3957
4472
  });
3958
4473
  };
4474
+ const de_ConsumerGroupReplication = (output, context) => {
4475
+ return (0, smithy_client_1.take)(output, {
4476
+ ConsumerGroupsToExclude: [, smithy_client_1._json, `consumerGroupsToExclude`],
4477
+ ConsumerGroupsToReplicate: [, smithy_client_1._json, `consumerGroupsToReplicate`],
4478
+ DetectAndCopyNewConsumerGroups: [, smithy_client_1.expectBoolean, `detectAndCopyNewConsumerGroups`],
4479
+ SynchroniseConsumerGroupOffsets: [, smithy_client_1.expectBoolean, `synchroniseConsumerGroupOffsets`],
4480
+ });
4481
+ };
3959
4482
  const de_EBSStorageInfo = (output, context) => {
3960
4483
  return (0, smithy_client_1.take)(output, {
3961
4484
  ProvisionedThroughput: [, (_) => de_ProvisionedThroughput(_, context), `provisionedThroughput`],
@@ -4006,6 +4529,25 @@ const de_JmxExporterInfo = (output, context) => {
4006
4529
  EnabledInBroker: [, smithy_client_1.expectBoolean, `enabledInBroker`],
4007
4530
  });
4008
4531
  };
4532
+ const de_KafkaClusterClientVpcConfig = (output, context) => {
4533
+ return (0, smithy_client_1.take)(output, {
4534
+ SecurityGroupIds: [, smithy_client_1._json, `securityGroupIds`],
4535
+ SubnetIds: [, smithy_client_1._json, `subnetIds`],
4536
+ });
4537
+ };
4538
+ const de_KafkaClusterDescription = (output, context) => {
4539
+ return (0, smithy_client_1.take)(output, {
4540
+ AmazonMskCluster: [, (_) => de_AmazonMskCluster(_, context), `amazonMskCluster`],
4541
+ KafkaClusterAlias: [, smithy_client_1.expectString, `kafkaClusterAlias`],
4542
+ VpcConfig: [, (_) => de_KafkaClusterClientVpcConfig(_, context), `vpcConfig`],
4543
+ });
4544
+ };
4545
+ const de_KafkaClusterSummary = (output, context) => {
4546
+ return (0, smithy_client_1.take)(output, {
4547
+ AmazonMskCluster: [, (_) => de_AmazonMskCluster(_, context), `amazonMskCluster`],
4548
+ KafkaClusterAlias: [, smithy_client_1.expectString, `kafkaClusterAlias`],
4549
+ });
4550
+ };
4009
4551
  const de_KafkaVersion = (output, context) => {
4010
4552
  return (0, smithy_client_1.take)(output, {
4011
4553
  Status: [, smithy_client_1.expectString, `status`],
@@ -4101,6 +4643,44 @@ const de_PublicAccess = (output, context) => {
4101
4643
  Type: [, smithy_client_1.expectString, `type`],
4102
4644
  });
4103
4645
  };
4646
+ const de_ReplicationInfoDescription = (output, context) => {
4647
+ return (0, smithy_client_1.take)(output, {
4648
+ ConsumerGroupReplication: [, (_) => de_ConsumerGroupReplication(_, context), `consumerGroupReplication`],
4649
+ SourceKafkaClusterAlias: [, smithy_client_1.expectString, `sourceKafkaClusterAlias`],
4650
+ TargetCompressionType: [, smithy_client_1.expectString, `targetCompressionType`],
4651
+ TargetKafkaClusterAlias: [, smithy_client_1.expectString, `targetKafkaClusterAlias`],
4652
+ TopicReplication: [, (_) => de_TopicReplication(_, context), `topicReplication`],
4653
+ });
4654
+ };
4655
+ const de_ReplicationInfoSummary = (output, context) => {
4656
+ return (0, smithy_client_1.take)(output, {
4657
+ SourceKafkaClusterAlias: [, smithy_client_1.expectString, `sourceKafkaClusterAlias`],
4658
+ TargetKafkaClusterAlias: [, smithy_client_1.expectString, `targetKafkaClusterAlias`],
4659
+ });
4660
+ };
4661
+ const de_ReplicationStateInfo = (output, context) => {
4662
+ return (0, smithy_client_1.take)(output, {
4663
+ Code: [, smithy_client_1.expectString, `code`],
4664
+ Message: [, smithy_client_1.expectString, `message`],
4665
+ });
4666
+ };
4667
+ const de_ReplicatorSummary = (output, context) => {
4668
+ return (0, smithy_client_1.take)(output, {
4669
+ CreationTime: [, (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)), `creationTime`],
4670
+ CurrentVersion: [, smithy_client_1.expectString, `currentVersion`],
4671
+ IsReplicatorReference: [, smithy_client_1.expectBoolean, `isReplicatorReference`],
4672
+ KafkaClustersSummary: [, (_) => de___listOfKafkaClusterSummary(_, context), `kafkaClustersSummary`],
4673
+ ReplicationInfoSummaryList: [
4674
+ ,
4675
+ (_) => de___listOfReplicationInfoSummary(_, context),
4676
+ `replicationInfoSummaryList`,
4677
+ ],
4678
+ ReplicatorArn: [, smithy_client_1.expectString, `replicatorArn`],
4679
+ ReplicatorName: [, smithy_client_1.expectString, `replicatorName`],
4680
+ ReplicatorResourceArn: [, smithy_client_1.expectString, `replicatorResourceArn`],
4681
+ ReplicatorState: [, smithy_client_1.expectString, `replicatorState`],
4682
+ });
4683
+ };
4104
4684
  const de_S3 = (output, context) => {
4105
4685
  return (0, smithy_client_1.take)(output, {
4106
4686
  Bucket: [, smithy_client_1.expectString, `bucket`],
@@ -4152,6 +4732,15 @@ const de_Tls = (output, context) => {
4152
4732
  Enabled: [, smithy_client_1.expectBoolean, `enabled`],
4153
4733
  });
4154
4734
  };
4735
+ const de_TopicReplication = (output, context) => {
4736
+ return (0, smithy_client_1.take)(output, {
4737
+ CopyAccessControlListsForTopics: [, smithy_client_1.expectBoolean, `copyAccessControlListsForTopics`],
4738
+ CopyTopicConfigurations: [, smithy_client_1.expectBoolean, `copyTopicConfigurations`],
4739
+ DetectAndCopyNewTopics: [, smithy_client_1.expectBoolean, `detectAndCopyNewTopics`],
4740
+ TopicsToExclude: [, smithy_client_1._json, `topicsToExclude`],
4741
+ TopicsToReplicate: [, smithy_client_1._json, `topicsToReplicate`],
4742
+ });
4743
+ };
4155
4744
  const de_Unauthenticated = (output, context) => {
4156
4745
  return (0, smithy_client_1.take)(output, {
4157
4746
  Enabled: [, smithy_client_1.expectBoolean, `enabled`],