@aws-sdk/client-kafka 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultKafkaHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2018-11-14",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.kafka",
30
+ errorTypeRegistries,
29
31
  version: "2018-11-14",
30
32
  serviceTarget: "Kafka",
31
33
  },
@@ -617,7 +617,7 @@ const _re = "revision";
617
617
  const _rep = "replicators";
618
618
  const _repl = "replicas";
619
619
  const _rev = "revisions";
620
- const _s = "s3";
620
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kafka";
621
621
  const _sA = "secretArn";
622
622
  const _sAL = "secretArnList";
623
623
  const _sCGO = "synchroniseConsumerGroupOffsets";
@@ -638,11 +638,11 @@ const _sPt = "startingPosition";
638
638
  const _sS = "stepStatus";
639
639
  const _sT = "startTime";
640
640
  const _sV = "sourceVersion";
641
+ const _s_ = "s3";
641
642
  const _sa = "sasl";
642
643
  const _sc = "scram";
643
- const _se = "serverless";
644
- const _ser = "server";
645
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kafka";
644
+ const _se = "server";
645
+ const _ser = "serverless";
646
646
  const _st = "state";
647
647
  const _sta = "status";
648
648
  const _su = "subnets";
@@ -692,17 +692,121 @@ const n0 = "com.amazonaws.kafka";
692
692
  import { TypeRegistry } from "@smithy/core/schema";
693
693
  import { BadRequestException, ClusterConnectivityException, ConflictException, ControllerMovedException, ForbiddenException, GroupSubscribedToTopicException, InternalServerErrorException, KafkaRequestException, KafkaTimeoutException, NotControllerException, NotFoundException, ReassignmentInProgressException, ServiceUnavailableException, TooManyRequestsException, TopicExistsException, UnauthorizedException, UnknownTopicOrPartitionException, } from "../models/errors";
694
694
  import { KafkaServiceException } from "../models/KafkaServiceException";
695
- export var AmazonMskCluster$ = [3, n0, _AMC,
696
- 0,
697
- [_MCA],
698
- [[0, { [_jN]: _mCA }]], 1
699
- ];
695
+ const _s_registry = TypeRegistry.for(_s);
696
+ export var KafkaServiceException$ = [-3, _s, "KafkaServiceException", 0, [], []];
697
+ _s_registry.registerError(KafkaServiceException$, KafkaServiceException);
698
+ const n0_registry = TypeRegistry.for(n0);
700
699
  export var BadRequestException$ = [-3, n0, _BRE,
701
700
  { [_e]: _c, [_hE]: 400 },
702
701
  [_IP, _M],
703
702
  [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
704
703
  ];
705
- TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
704
+ n0_registry.registerError(BadRequestException$, BadRequestException);
705
+ export var ClusterConnectivityException$ = [-3, n0, _CCE,
706
+ { [_e]: _c, [_hE]: 409 },
707
+ [_IP, _M],
708
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
709
+ ];
710
+ n0_registry.registerError(ClusterConnectivityException$, ClusterConnectivityException);
711
+ export var ConflictException$ = [-3, n0, _CE,
712
+ { [_e]: _c, [_hE]: 409 },
713
+ [_IP, _M],
714
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
715
+ ];
716
+ n0_registry.registerError(ConflictException$, ConflictException);
717
+ export var ControllerMovedException$ = [-3, n0, _CME,
718
+ { [_e]: _c, [_hE]: 409 },
719
+ [_IP, _M],
720
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
721
+ ];
722
+ n0_registry.registerError(ControllerMovedException$, ControllerMovedException);
723
+ export var ForbiddenException$ = [-3, n0, _FE,
724
+ { [_e]: _c, [_hE]: 403 },
725
+ [_IP, _M],
726
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
727
+ ];
728
+ n0_registry.registerError(ForbiddenException$, ForbiddenException);
729
+ export var GroupSubscribedToTopicException$ = [-3, n0, _GSTTE,
730
+ { [_e]: _c, [_hE]: 409 },
731
+ [_IP, _M],
732
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
733
+ ];
734
+ n0_registry.registerError(GroupSubscribedToTopicException$, GroupSubscribedToTopicException);
735
+ export var InternalServerErrorException$ = [-3, n0, _ISEE,
736
+ { [_e]: _se, [_hE]: 500 },
737
+ [_IP, _M],
738
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
739
+ ];
740
+ n0_registry.registerError(InternalServerErrorException$, InternalServerErrorException);
741
+ export var KafkaRequestException$ = [-3, n0, _KRE,
742
+ { [_e]: _c, [_hE]: 400 },
743
+ [_IP, _M],
744
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
745
+ ];
746
+ n0_registry.registerError(KafkaRequestException$, KafkaRequestException);
747
+ export var KafkaTimeoutException$ = [-3, n0, _KTE,
748
+ { [_e]: _c, [_hE]: 409 },
749
+ [_IP, _M],
750
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
751
+ ];
752
+ n0_registry.registerError(KafkaTimeoutException$, KafkaTimeoutException);
753
+ export var NotControllerException$ = [-3, n0, _NCE,
754
+ { [_e]: _c, [_hE]: 409 },
755
+ [_IP, _M],
756
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
757
+ ];
758
+ n0_registry.registerError(NotControllerException$, NotControllerException);
759
+ export var NotFoundException$ = [-3, n0, _NFE,
760
+ { [_e]: _c, [_hE]: 404 },
761
+ [_IP, _M],
762
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
763
+ ];
764
+ n0_registry.registerError(NotFoundException$, NotFoundException);
765
+ export var ReassignmentInProgressException$ = [-3, n0, _RIPE,
766
+ { [_e]: _c, [_hE]: 409 },
767
+ [_IP, _M],
768
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
769
+ ];
770
+ n0_registry.registerError(ReassignmentInProgressException$, ReassignmentInProgressException);
771
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
772
+ { [_e]: _se, [_hE]: 503 },
773
+ [_IP, _M],
774
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
775
+ ];
776
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
777
+ export var TooManyRequestsException$ = [-3, n0, _TMRE,
778
+ { [_e]: _c, [_hE]: 429 },
779
+ [_IP, _M],
780
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
781
+ ];
782
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
783
+ export var TopicExistsException$ = [-3, n0, _TEE,
784
+ { [_e]: _c, [_hE]: 409 },
785
+ [_IP, _M],
786
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
787
+ ];
788
+ n0_registry.registerError(TopicExistsException$, TopicExistsException);
789
+ export var UnauthorizedException$ = [-3, n0, _UE,
790
+ { [_e]: _c, [_hE]: 401 },
791
+ [_IP, _M],
792
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
793
+ ];
794
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
795
+ export var UnknownTopicOrPartitionException$ = [-3, n0, _UTOPE,
796
+ { [_e]: _c, [_hE]: 404 },
797
+ [_IP, _M],
798
+ [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
799
+ ];
800
+ n0_registry.registerError(UnknownTopicOrPartitionException$, UnknownTopicOrPartitionException);
801
+ export const errorTypeRegistries = [
802
+ _s_registry,
803
+ n0_registry,
804
+ ];
805
+ export var AmazonMskCluster$ = [3, n0, _AMC,
806
+ 0,
807
+ [_MCA],
808
+ [[0, { [_jN]: _mCA }]], 1
809
+ ];
706
810
  export var BatchAssociateScramSecretRequest$ = [3, n0, _BASSR,
707
811
  0,
708
812
  [_CA, _SAL],
@@ -736,7 +840,7 @@ export var BrokerEBSVolumeInfo$ = [3, n0, _BEBSVI,
736
840
  export var BrokerLogs$ = [3, n0, _BL,
737
841
  0,
738
842
  [_CWL, _F, _S],
739
- [[() => CloudWatchLogs$, { [_jN]: _cWL }], [() => Firehose$, { [_jN]: _f }], [() => S3$, { [_jN]: _s }]]
843
+ [[() => CloudWatchLogs$, { [_jN]: _cWL }], [() => Firehose$, { [_jN]: _f }], [() => S3$, { [_jN]: _s_ }]]
740
844
  ];
741
845
  export var BrokerNodeGroupInfo$ = [3, n0, _BNGI,
742
846
  0,
@@ -771,14 +875,8 @@ export var CloudWatchLogs$ = [3, n0, _CWL,
771
875
  export var Cluster$ = [3, n0, _C,
772
876
  0,
773
877
  [_AOA, _CTl, _CA, _CN, _CT, _CV, _St, _SIt, _Ta, _P, _Se],
774
- [[0, { [_jN]: _aOA }], [0, { [_jN]: _cTl }], [0, { [_jN]: _cA }], [0, { [_jN]: _cN }], [5, { [_jN]: _cT }], [0, { [_jN]: _cV }], [0, { [_jN]: _st }], [() => StateInfo$, { [_jN]: _sIt }], [128 | 0, { [_jN]: _ta }], [() => Provisioned$, { [_jN]: _p }], [() => Serverless$, { [_jN]: _se }]]
878
+ [[0, { [_jN]: _aOA }], [0, { [_jN]: _cTl }], [0, { [_jN]: _cA }], [0, { [_jN]: _cN }], [5, { [_jN]: _cT }], [0, { [_jN]: _cV }], [0, { [_jN]: _st }], [() => StateInfo$, { [_jN]: _sIt }], [128 | 0, { [_jN]: _ta }], [() => Provisioned$, { [_jN]: _p }], [() => Serverless$, { [_jN]: _ser }]]
775
879
  ];
776
- export var ClusterConnectivityException$ = [-3, n0, _CCE,
777
- { [_e]: _c, [_hE]: 409 },
778
- [_IP, _M],
779
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
780
- ];
781
- TypeRegistry.for(n0).registerError(ClusterConnectivityException$, ClusterConnectivityException);
782
880
  export var ClusterInfo$ = [3, n0, _CIl,
783
881
  0,
784
882
  [_AOA, _BNGI, _R, _CAl, _CA, _CN, _CT, _CBSI, _CV, _EI, _EM, _OM, _LI, _NOBN, _St, _SIt, _Ta, _ZCS, _ZCST, _SM, _CAS],
@@ -802,7 +900,7 @@ export var ClusterOperationStepInfo$ = [3, n0, _COSI,
802
900
  export var ClusterOperationV2$ = [3, n0, _COV,
803
901
  0,
804
902
  [_CA, _CTl, _ST, _ET, _EIr, _OA, _OS, _OT, _P, _Se],
805
- [[0, { [_jN]: _cA }], [0, { [_jN]: _cTl }], [5, { [_jN]: _sT }], [5, { [_jN]: _eT }], [() => ErrorInfo$, { [_jN]: _eIr }], [0, { [_jN]: _oA }], [0, { [_jN]: _oS }], [0, { [_jN]: _oT }], [() => ClusterOperationV2Provisioned$, { [_jN]: _p }], [() => ClusterOperationV2Serverless$, { [_jN]: _se }]]
903
+ [[0, { [_jN]: _cA }], [0, { [_jN]: _cTl }], [5, { [_jN]: _sT }], [5, { [_jN]: _eT }], [() => ErrorInfo$, { [_jN]: _eIr }], [0, { [_jN]: _oA }], [0, { [_jN]: _oS }], [0, { [_jN]: _oT }], [() => ClusterOperationV2Provisioned$, { [_jN]: _p }], [() => ClusterOperationV2Serverless$, { [_jN]: _ser }]]
806
904
  ];
807
905
  export var ClusterOperationV2Provisioned$ = [3, n0, _COVP,
808
906
  0,
@@ -839,12 +937,6 @@ export var ConfigurationRevision$ = [3, n0, _CR,
839
937
  [_CT, _Re, _D],
840
938
  [[5, { [_jN]: _cT }], [1, { [_jN]: _re }], [0, { [_jN]: _d }]], 2
841
939
  ];
842
- export var ConflictException$ = [-3, n0, _CE,
843
- { [_e]: _c, [_hE]: 409 },
844
- [_IP, _M],
845
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
846
- ];
847
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
848
940
  export var ConnectivityInfo$ = [3, n0, _CI,
849
941
  0,
850
942
  [_PA, _VC],
@@ -860,12 +952,6 @@ export var ConsumerGroupReplicationUpdate$ = [3, n0, _CGRU,
860
952
  [_CGTE, _CGTR, _DACNCG, _SCGO],
861
953
  [[64 | 0, { [_jN]: _cGTE }], [64 | 0, { [_jN]: _cGTR }], [2, { [_jN]: _dACNCG }], [2, { [_jN]: _sCGO }]], 4
862
954
  ];
863
- export var ControllerMovedException$ = [-3, n0, _CME,
864
- { [_e]: _c, [_hE]: 409 },
865
- [_IP, _M],
866
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
867
- ];
868
- TypeRegistry.for(n0).registerError(ControllerMovedException$, ControllerMovedException);
869
955
  export var ControllerNodeInfo$ = [3, n0, _CNI,
870
956
  0,
871
957
  [_E],
@@ -884,7 +970,7 @@ export var CreateClusterResponse$ = [3, n0, _CCRr,
884
970
  export var CreateClusterV2Request$ = [3, n0, _CCVR,
885
971
  0,
886
972
  [_CN, _Ta, _P, _Se],
887
- [[0, { [_jN]: _cN }], [128 | 0, { [_jN]: _ta }], [() => ProvisionedRequest$, { [_jN]: _p }], [() => ServerlessRequest$, { [_jN]: _se }]], 1
973
+ [[0, { [_jN]: _cN }], [128 | 0, { [_jN]: _ta }], [() => ProvisionedRequest$, { [_jN]: _p }], [() => ServerlessRequest$, { [_jN]: _ser }]], 1
888
974
  ];
889
975
  export var CreateClusterV2Response$ = [3, n0, _CCVRr,
890
976
  0,
@@ -1121,12 +1207,6 @@ export var Firehose$ = [3, n0, _F,
1121
1207
  [_En, _DS],
1122
1208
  [[2, { [_jN]: _ena }], [0, { [_jN]: _dS }]], 1
1123
1209
  ];
1124
- export var ForbiddenException$ = [-3, n0, _FE,
1125
- { [_e]: _c, [_hE]: 403 },
1126
- [_IP, _M],
1127
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1128
- ];
1129
- TypeRegistry.for(n0).registerError(ForbiddenException$, ForbiddenException);
1130
1210
  export var GetBootstrapBrokersRequest$ = [3, n0, _GBBR,
1131
1211
  0,
1132
1212
  [_CA],
@@ -1157,23 +1237,11 @@ export var GetCompatibleKafkaVersionsResponse$ = [3, n0, _GCKVRe,
1157
1237
  [_CKVo],
1158
1238
  [[() => __listOfCompatibleKafkaVersion, { [_jN]: _cKV }]]
1159
1239
  ];
1160
- export var GroupSubscribedToTopicException$ = [-3, n0, _GSTTE,
1161
- { [_e]: _c, [_hE]: 409 },
1162
- [_IP, _M],
1163
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1164
- ];
1165
- TypeRegistry.for(n0).registerError(GroupSubscribedToTopicException$, GroupSubscribedToTopicException);
1166
1240
  export var Iam$ = [3, n0, _I,
1167
1241
  0,
1168
1242
  [_En],
1169
1243
  [[2, { [_jN]: _ena }]]
1170
1244
  ];
1171
- export var InternalServerErrorException$ = [-3, n0, _ISEE,
1172
- { [_e]: _ser, [_hE]: 500 },
1173
- [_IP, _M],
1174
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1175
- ];
1176
- TypeRegistry.for(n0).registerError(InternalServerErrorException$, InternalServerErrorException);
1177
1245
  export var JmxExporter$ = [3, n0, _JE,
1178
1246
  0,
1179
1247
  [_EIB],
@@ -1204,18 +1272,6 @@ export var KafkaClusterSummary$ = [3, n0, _KCS,
1204
1272
  [_AMC, _KCA],
1205
1273
  [[() => AmazonMskCluster$, { [_jN]: _aMC }], [0, { [_jN]: _kCA }]]
1206
1274
  ];
1207
- export var KafkaRequestException$ = [-3, n0, _KRE,
1208
- { [_e]: _c, [_hE]: 400 },
1209
- [_IP, _M],
1210
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1211
- ];
1212
- TypeRegistry.for(n0).registerError(KafkaRequestException$, KafkaRequestException);
1213
- export var KafkaTimeoutException$ = [-3, n0, _KTE,
1214
- { [_e]: _c, [_hE]: 409 },
1215
- [_IP, _M],
1216
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1217
- ];
1218
- TypeRegistry.for(n0).registerError(KafkaTimeoutException$, KafkaTimeoutException);
1219
1275
  export var KafkaVersion$ = [3, n0, _KV,
1220
1276
  0,
1221
1277
  [_V, _Sta],
@@ -1386,18 +1442,6 @@ export var NodeInfo$ = [3, n0, _NI,
1386
1442
  [_ATCT, _BNI, _CNI, _IT, _NARN, _NTo, _ZNI],
1387
1443
  [[0, { [_jN]: _aTCT }], [() => BrokerNodeInfo$, { [_jN]: _bNI }], [() => ControllerNodeInfo$, { [_jN]: _cNI }], [0, { [_jN]: _iT }], [0, { [_jN]: _nARN }], [0, { [_jN]: _nTo }], [() => ZookeeperNodeInfo$, { [_jN]: _zNI }]]
1388
1444
  ];
1389
- export var NotControllerException$ = [-3, n0, _NCE,
1390
- { [_e]: _c, [_hE]: 409 },
1391
- [_IP, _M],
1392
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1393
- ];
1394
- TypeRegistry.for(n0).registerError(NotControllerException$, NotControllerException);
1395
- export var NotFoundException$ = [-3, n0, _NFE,
1396
- { [_e]: _c, [_hE]: 404 },
1397
- [_IP, _M],
1398
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1399
- ];
1400
- TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
1401
1445
  export var OpenMonitoring$ = [3, n0, _OM,
1402
1446
  0,
1403
1447
  [_Pr],
@@ -1448,12 +1492,6 @@ export var PutClusterPolicyResponse$ = [3, n0, _PCPRu,
1448
1492
  [_CV],
1449
1493
  [[0, { [_jN]: _cV }]]
1450
1494
  ];
1451
- export var ReassignmentInProgressException$ = [-3, n0, _RIPE,
1452
- { [_e]: _c, [_hE]: 409 },
1453
- [_IP, _M],
1454
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1455
- ];
1456
- TypeRegistry.for(n0).registerError(ReassignmentInProgressException$, ReassignmentInProgressException);
1457
1495
  export var Rebalancing$ = [3, n0, _R,
1458
1496
  0,
1459
1497
  [_Sta],
@@ -1549,12 +1587,6 @@ export var ServerlessSasl$ = [3, n0, _SSe,
1549
1587
  [_I],
1550
1588
  [[() => Iam$, { [_jN]: _i }]]
1551
1589
  ];
1552
- export var ServiceUnavailableException$ = [-3, n0, _SUE,
1553
- { [_e]: _ser, [_hE]: 503 },
1554
- [_IP, _M],
1555
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1556
- ];
1557
- TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
1558
1590
  export var StateInfo$ = [3, n0, _SIt,
1559
1591
  0,
1560
1592
  [_Cod, _M],
@@ -1575,18 +1607,6 @@ export var Tls$ = [3, n0, _T,
1575
1607
  [_CAAL, _En],
1576
1608
  [[64 | 0, { [_jN]: _cAAL }], [2, { [_jN]: _ena }]]
1577
1609
  ];
1578
- export var TooManyRequestsException$ = [-3, n0, _TMRE,
1579
- { [_e]: _c, [_hE]: 429 },
1580
- [_IP, _M],
1581
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1582
- ];
1583
- TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
1584
- export var TopicExistsException$ = [-3, n0, _TEE,
1585
- { [_e]: _c, [_hE]: 409 },
1586
- [_IP, _M],
1587
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1588
- ];
1589
- TypeRegistry.for(n0).registerError(TopicExistsException$, TopicExistsException);
1590
1610
  export var TopicInfo$ = [3, n0, _TI,
1591
1611
  0,
1592
1612
  [_TA, _TN, _RF, _PC, _OOSRC],
@@ -1612,18 +1632,6 @@ export var Unauthenticated$ = [3, n0, _U,
1612
1632
  [_En],
1613
1633
  [[2, { [_jN]: _ena }]]
1614
1634
  ];
1615
- export var UnauthorizedException$ = [-3, n0, _UE,
1616
- { [_e]: _c, [_hE]: 401 },
1617
- [_IP, _M],
1618
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1619
- ];
1620
- TypeRegistry.for(n0).registerError(UnauthorizedException$, UnauthorizedException);
1621
- export var UnknownTopicOrPartitionException$ = [-3, n0, _UTOPE,
1622
- { [_e]: _c, [_hE]: 404 },
1623
- [_IP, _M],
1624
- [[0, { [_jN]: _iP }], [0, { [_jN]: _m }]]
1625
- ];
1626
- TypeRegistry.for(n0).registerError(UnknownTopicOrPartitionException$, UnknownTopicOrPartitionException);
1627
1635
  export var UnprocessedScramSecret$ = [3, n0, _USSn,
1628
1636
  0,
1629
1637
  [_EC, _EMr, _SA],
@@ -1825,8 +1833,6 @@ export var ZookeeperNodeInfo$ = [3, n0, _ZNI,
1825
1833
  [[0, { [_jN]: _aENII }], [0, { [_jN]: _cVIA }], [64 | 0, { [_jN]: _en }], [1, { [_jN]: _zIo }], [0, { [_jN]: _zV }]]
1826
1834
  ];
1827
1835
  var __Unit = "unit";
1828
- export var KafkaServiceException$ = [-3, _sm, "KafkaServiceException", 0, [], []];
1829
- TypeRegistry.for(_sm).registerError(KafkaServiceException$, KafkaServiceException);
1830
1836
  var __listOf__double = 64 | 1;
1831
1837
  var __listOf__integer = 64 | 1;
1832
1838
  var __listOf__string = 64 | 0;
@@ -1,6 +1,30 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AmazonMskCluster$: StaticStructureSchema;
3
+ export declare var KafkaServiceException$: StaticErrorSchema;
3
4
  export declare var BadRequestException$: StaticErrorSchema;
5
+ export declare var ClusterConnectivityException$: StaticErrorSchema;
6
+ export declare var ConflictException$: StaticErrorSchema;
7
+ export declare var ControllerMovedException$: StaticErrorSchema;
8
+ export declare var ForbiddenException$: StaticErrorSchema;
9
+ export declare var GroupSubscribedToTopicException$: StaticErrorSchema;
10
+ export declare var InternalServerErrorException$: StaticErrorSchema;
11
+ export declare var KafkaRequestException$: StaticErrorSchema;
12
+ export declare var KafkaTimeoutException$: StaticErrorSchema;
13
+ export declare var NotControllerException$: StaticErrorSchema;
14
+ export declare var NotFoundException$: StaticErrorSchema;
15
+ export declare var ReassignmentInProgressException$: StaticErrorSchema;
16
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
17
+ export declare var TooManyRequestsException$: StaticErrorSchema;
18
+ export declare var TopicExistsException$: StaticErrorSchema;
19
+ export declare var UnauthorizedException$: StaticErrorSchema;
20
+ export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
21
+ /**
22
+ * TypeRegistry instances containing modeled errors.
23
+ * @internal
24
+ *
25
+ */
26
+ export declare const errorTypeRegistries: TypeRegistry[];
27
+ export declare var AmazonMskCluster$: StaticStructureSchema;
4
28
  export declare var BatchAssociateScramSecretRequest$: StaticStructureSchema;
5
29
  export declare var BatchAssociateScramSecretResponse$: StaticStructureSchema;
6
30
  export declare var BatchDisassociateScramSecretRequest$: StaticStructureSchema;
@@ -15,7 +39,6 @@ export declare var ClientAuthentication$: StaticStructureSchema;
15
39
  export declare var ClientVpcConnection$: StaticStructureSchema;
16
40
  export declare var CloudWatchLogs$: StaticStructureSchema;
17
41
  export declare var Cluster$: StaticStructureSchema;
18
- export declare var ClusterConnectivityException$: StaticErrorSchema;
19
42
  export declare var ClusterInfo$: StaticStructureSchema;
20
43
  export declare var ClusterOperationInfo$: StaticStructureSchema;
21
44
  export declare var ClusterOperationStep$: StaticStructureSchema;
@@ -28,11 +51,9 @@ export declare var CompatibleKafkaVersion$: StaticStructureSchema;
28
51
  export declare var Configuration$: StaticStructureSchema;
29
52
  export declare var ConfigurationInfo$: StaticStructureSchema;
30
53
  export declare var ConfigurationRevision$: StaticStructureSchema;
31
- export declare var ConflictException$: StaticErrorSchema;
32
54
  export declare var ConnectivityInfo$: StaticStructureSchema;
33
55
  export declare var ConsumerGroupReplication$: StaticStructureSchema;
34
56
  export declare var ConsumerGroupReplicationUpdate$: StaticStructureSchema;
35
- export declare var ControllerMovedException$: StaticErrorSchema;
36
57
  export declare var ControllerNodeInfo$: StaticStructureSchema;
37
58
  export declare var CreateClusterRequest$: StaticStructureSchema;
38
59
  export declare var CreateClusterResponse$: StaticStructureSchema;
@@ -84,24 +105,19 @@ export declare var EncryptionInfo$: StaticStructureSchema;
84
105
  export declare var EncryptionInTransit$: StaticStructureSchema;
85
106
  export declare var ErrorInfo$: StaticStructureSchema;
86
107
  export declare var Firehose$: StaticStructureSchema;
87
- export declare var ForbiddenException$: StaticErrorSchema;
88
108
  export declare var GetBootstrapBrokersRequest$: StaticStructureSchema;
89
109
  export declare var GetBootstrapBrokersResponse$: StaticStructureSchema;
90
110
  export declare var GetClusterPolicyRequest$: StaticStructureSchema;
91
111
  export declare var GetClusterPolicyResponse$: StaticStructureSchema;
92
112
  export declare var GetCompatibleKafkaVersionsRequest$: StaticStructureSchema;
93
113
  export declare var GetCompatibleKafkaVersionsResponse$: StaticStructureSchema;
94
- export declare var GroupSubscribedToTopicException$: StaticErrorSchema;
95
114
  export declare var Iam$: StaticStructureSchema;
96
- export declare var InternalServerErrorException$: StaticErrorSchema;
97
115
  export declare var JmxExporter$: StaticStructureSchema;
98
116
  export declare var JmxExporterInfo$: StaticStructureSchema;
99
117
  export declare var KafkaCluster$: StaticStructureSchema;
100
118
  export declare var KafkaClusterClientVpcConfig$: StaticStructureSchema;
101
119
  export declare var KafkaClusterDescription$: StaticStructureSchema;
102
120
  export declare var KafkaClusterSummary$: StaticStructureSchema;
103
- export declare var KafkaRequestException$: StaticErrorSchema;
104
- export declare var KafkaTimeoutException$: StaticErrorSchema;
105
121
  export declare var KafkaVersion$: StaticStructureSchema;
106
122
  export declare var ListClientVpcConnectionsRequest$: StaticStructureSchema;
107
123
  export declare var ListClientVpcConnectionsResponse$: StaticStructureSchema;
@@ -136,8 +152,6 @@ export declare var MutableClusterInfo$: StaticStructureSchema;
136
152
  export declare var NodeExporter$: StaticStructureSchema;
137
153
  export declare var NodeExporterInfo$: StaticStructureSchema;
138
154
  export declare var NodeInfo$: StaticStructureSchema;
139
- export declare var NotControllerException$: StaticErrorSchema;
140
- export declare var NotFoundException$: StaticErrorSchema;
141
155
  export declare var OpenMonitoring$: StaticStructureSchema;
142
156
  export declare var OpenMonitoringInfo$: StaticStructureSchema;
143
157
  export declare var Prometheus$: StaticStructureSchema;
@@ -148,7 +162,6 @@ export declare var ProvisionedThroughput$: StaticStructureSchema;
148
162
  export declare var PublicAccess$: StaticStructureSchema;
149
163
  export declare var PutClusterPolicyRequest$: StaticStructureSchema;
150
164
  export declare var PutClusterPolicyResponse$: StaticStructureSchema;
151
- export declare var ReassignmentInProgressException$: StaticErrorSchema;
152
165
  export declare var Rebalancing$: StaticStructureSchema;
153
166
  export declare var RebootBrokerRequest$: StaticStructureSchema;
154
167
  export declare var RebootBrokerResponse$: StaticStructureSchema;
@@ -168,20 +181,15 @@ export declare var Serverless$: StaticStructureSchema;
168
181
  export declare var ServerlessClientAuthentication$: StaticStructureSchema;
169
182
  export declare var ServerlessRequest$: StaticStructureSchema;
170
183
  export declare var ServerlessSasl$: StaticStructureSchema;
171
- export declare var ServiceUnavailableException$: StaticErrorSchema;
172
184
  export declare var StateInfo$: StaticStructureSchema;
173
185
  export declare var StorageInfo$: StaticStructureSchema;
174
186
  export declare var TagResourceRequest$: StaticStructureSchema;
175
187
  export declare var Tls$: StaticStructureSchema;
176
- export declare var TooManyRequestsException$: StaticErrorSchema;
177
- export declare var TopicExistsException$: StaticErrorSchema;
178
188
  export declare var TopicInfo$: StaticStructureSchema;
179
189
  export declare var TopicPartitionInfo$: StaticStructureSchema;
180
190
  export declare var TopicReplication$: StaticStructureSchema;
181
191
  export declare var TopicReplicationUpdate$: StaticStructureSchema;
182
192
  export declare var Unauthenticated$: StaticStructureSchema;
183
- export declare var UnauthorizedException$: StaticErrorSchema;
184
- export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
185
193
  export declare var UnprocessedScramSecret$: StaticStructureSchema;
186
194
  export declare var UntagResourceRequest$: StaticStructureSchema;
187
195
  export declare var UpdateBrokerCountRequest$: StaticStructureSchema;
@@ -222,7 +230,6 @@ export declare var VpcConnectivitySasl$: StaticStructureSchema;
222
230
  export declare var VpcConnectivityScram$: StaticStructureSchema;
223
231
  export declare var VpcConnectivityTls$: StaticStructureSchema;
224
232
  export declare var ZookeeperNodeInfo$: StaticStructureSchema;
225
- export declare var KafkaServiceException$: StaticErrorSchema;
226
233
  export declare var BatchAssociateScramSecret$: StaticOperationSchema;
227
234
  export declare var BatchDisassociateScramSecret$: StaticOperationSchema;
228
235
  export declare var CreateCluster$: StaticOperationSchema;
@@ -1,10 +1,29 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
6
- export declare var AmazonMskCluster$: StaticStructureSchema;
7
+ export declare var KafkaServiceException$: StaticErrorSchema;
7
8
  export declare var BadRequestException$: StaticErrorSchema;
9
+ export declare var ClusterConnectivityException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var ControllerMovedException$: StaticErrorSchema;
12
+ export declare var ForbiddenException$: StaticErrorSchema;
13
+ export declare var GroupSubscribedToTopicException$: StaticErrorSchema;
14
+ export declare var InternalServerErrorException$: StaticErrorSchema;
15
+ export declare var KafkaRequestException$: StaticErrorSchema;
16
+ export declare var KafkaTimeoutException$: StaticErrorSchema;
17
+ export declare var NotControllerException$: StaticErrorSchema;
18
+ export declare var NotFoundException$: StaticErrorSchema;
19
+ export declare var ReassignmentInProgressException$: StaticErrorSchema;
20
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
21
+ export declare var TooManyRequestsException$: StaticErrorSchema;
22
+ export declare var TopicExistsException$: StaticErrorSchema;
23
+ export declare var UnauthorizedException$: StaticErrorSchema;
24
+ export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
25
+ export declare const errorTypeRegistries: TypeRegistry[];
26
+ export declare var AmazonMskCluster$: StaticStructureSchema;
8
27
  export declare var BatchAssociateScramSecretRequest$: StaticStructureSchema;
9
28
  export declare var BatchAssociateScramSecretResponse$: StaticStructureSchema;
10
29
  export declare var BatchDisassociateScramSecretRequest$: StaticStructureSchema;
@@ -19,7 +38,6 @@ export declare var ClientAuthentication$: StaticStructureSchema;
19
38
  export declare var ClientVpcConnection$: StaticStructureSchema;
20
39
  export declare var CloudWatchLogs$: StaticStructureSchema;
21
40
  export declare var Cluster$: StaticStructureSchema;
22
- export declare var ClusterConnectivityException$: StaticErrorSchema;
23
41
  export declare var ClusterInfo$: StaticStructureSchema;
24
42
  export declare var ClusterOperationInfo$: StaticStructureSchema;
25
43
  export declare var ClusterOperationStep$: StaticStructureSchema;
@@ -32,11 +50,9 @@ export declare var CompatibleKafkaVersion$: StaticStructureSchema;
32
50
  export declare var Configuration$: StaticStructureSchema;
33
51
  export declare var ConfigurationInfo$: StaticStructureSchema;
34
52
  export declare var ConfigurationRevision$: StaticStructureSchema;
35
- export declare var ConflictException$: StaticErrorSchema;
36
53
  export declare var ConnectivityInfo$: StaticStructureSchema;
37
54
  export declare var ConsumerGroupReplication$: StaticStructureSchema;
38
55
  export declare var ConsumerGroupReplicationUpdate$: StaticStructureSchema;
39
- export declare var ControllerMovedException$: StaticErrorSchema;
40
56
  export declare var ControllerNodeInfo$: StaticStructureSchema;
41
57
  export declare var CreateClusterRequest$: StaticStructureSchema;
42
58
  export declare var CreateClusterResponse$: StaticStructureSchema;
@@ -88,24 +104,19 @@ export declare var EncryptionInfo$: StaticStructureSchema;
88
104
  export declare var EncryptionInTransit$: StaticStructureSchema;
89
105
  export declare var ErrorInfo$: StaticStructureSchema;
90
106
  export declare var Firehose$: StaticStructureSchema;
91
- export declare var ForbiddenException$: StaticErrorSchema;
92
107
  export declare var GetBootstrapBrokersRequest$: StaticStructureSchema;
93
108
  export declare var GetBootstrapBrokersResponse$: StaticStructureSchema;
94
109
  export declare var GetClusterPolicyRequest$: StaticStructureSchema;
95
110
  export declare var GetClusterPolicyResponse$: StaticStructureSchema;
96
111
  export declare var GetCompatibleKafkaVersionsRequest$: StaticStructureSchema;
97
112
  export declare var GetCompatibleKafkaVersionsResponse$: StaticStructureSchema;
98
- export declare var GroupSubscribedToTopicException$: StaticErrorSchema;
99
113
  export declare var Iam$: StaticStructureSchema;
100
- export declare var InternalServerErrorException$: StaticErrorSchema;
101
114
  export declare var JmxExporter$: StaticStructureSchema;
102
115
  export declare var JmxExporterInfo$: StaticStructureSchema;
103
116
  export declare var KafkaCluster$: StaticStructureSchema;
104
117
  export declare var KafkaClusterClientVpcConfig$: StaticStructureSchema;
105
118
  export declare var KafkaClusterDescription$: StaticStructureSchema;
106
119
  export declare var KafkaClusterSummary$: StaticStructureSchema;
107
- export declare var KafkaRequestException$: StaticErrorSchema;
108
- export declare var KafkaTimeoutException$: StaticErrorSchema;
109
120
  export declare var KafkaVersion$: StaticStructureSchema;
110
121
  export declare var ListClientVpcConnectionsRequest$: StaticStructureSchema;
111
122
  export declare var ListClientVpcConnectionsResponse$: StaticStructureSchema;
@@ -140,8 +151,6 @@ export declare var MutableClusterInfo$: StaticStructureSchema;
140
151
  export declare var NodeExporter$: StaticStructureSchema;
141
152
  export declare var NodeExporterInfo$: StaticStructureSchema;
142
153
  export declare var NodeInfo$: StaticStructureSchema;
143
- export declare var NotControllerException$: StaticErrorSchema;
144
- export declare var NotFoundException$: StaticErrorSchema;
145
154
  export declare var OpenMonitoring$: StaticStructureSchema;
146
155
  export declare var OpenMonitoringInfo$: StaticStructureSchema;
147
156
  export declare var Prometheus$: StaticStructureSchema;
@@ -152,7 +161,6 @@ export declare var ProvisionedThroughput$: StaticStructureSchema;
152
161
  export declare var PublicAccess$: StaticStructureSchema;
153
162
  export declare var PutClusterPolicyRequest$: StaticStructureSchema;
154
163
  export declare var PutClusterPolicyResponse$: StaticStructureSchema;
155
- export declare var ReassignmentInProgressException$: StaticErrorSchema;
156
164
  export declare var Rebalancing$: StaticStructureSchema;
157
165
  export declare var RebootBrokerRequest$: StaticStructureSchema;
158
166
  export declare var RebootBrokerResponse$: StaticStructureSchema;
@@ -172,20 +180,15 @@ export declare var Serverless$: StaticStructureSchema;
172
180
  export declare var ServerlessClientAuthentication$: StaticStructureSchema;
173
181
  export declare var ServerlessRequest$: StaticStructureSchema;
174
182
  export declare var ServerlessSasl$: StaticStructureSchema;
175
- export declare var ServiceUnavailableException$: StaticErrorSchema;
176
183
  export declare var StateInfo$: StaticStructureSchema;
177
184
  export declare var StorageInfo$: StaticStructureSchema;
178
185
  export declare var TagResourceRequest$: StaticStructureSchema;
179
186
  export declare var Tls$: StaticStructureSchema;
180
- export declare var TooManyRequestsException$: StaticErrorSchema;
181
- export declare var TopicExistsException$: StaticErrorSchema;
182
187
  export declare var TopicInfo$: StaticStructureSchema;
183
188
  export declare var TopicPartitionInfo$: StaticStructureSchema;
184
189
  export declare var TopicReplication$: StaticStructureSchema;
185
190
  export declare var TopicReplicationUpdate$: StaticStructureSchema;
186
191
  export declare var Unauthenticated$: StaticStructureSchema;
187
- export declare var UnauthorizedException$: StaticErrorSchema;
188
- export declare var UnknownTopicOrPartitionException$: StaticErrorSchema;
189
192
  export declare var UnprocessedScramSecret$: StaticStructureSchema;
190
193
  export declare var UntagResourceRequest$: StaticStructureSchema;
191
194
  export declare var UpdateBrokerCountRequest$: StaticStructureSchema;
@@ -226,7 +229,6 @@ export declare var VpcConnectivitySasl$: StaticStructureSchema;
226
229
  export declare var VpcConnectivityScram$: StaticStructureSchema;
227
230
  export declare var VpcConnectivityTls$: StaticStructureSchema;
228
231
  export declare var ZookeeperNodeInfo$: StaticStructureSchema;
229
- export declare var KafkaServiceException$: StaticErrorSchema;
230
232
  export declare var BatchAssociateScramSecret$: StaticOperationSchema;
231
233
  export declare var BatchDisassociateScramSecret$: StaticOperationSchema;
232
234
  export declare var CreateCluster$: StaticOperationSchema;