@aws-sdk/client-kafka 3.933.0 → 3.934.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/index.js +351 -4
- package/dist-es/Kafka.js +6 -0
- package/dist-es/commands/DescribeTopicCommand.js +16 -0
- package/dist-es/commands/DescribeTopicPartitionsCommand.js +16 -0
- package/dist-es/commands/ListTopicsCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/pagination/DescribeTopicPartitionsPaginator.js +4 -0
- package/dist-es/pagination/ListTopicsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +297 -4
- package/dist-types/Kafka.d.ts +21 -0
- package/dist-types/KafkaClient.d.ts +5 -2
- package/dist-types/commands/DescribeTopicCommand.d.ts +95 -0
- package/dist-types/commands/DescribeTopicPartitionsCommand.d.ts +104 -0
- package/dist-types/commands/ListTopicsCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +205 -0
- package/dist-types/pagination/DescribeTopicPartitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTopicsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/Kafka.d.ts +51 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeTopicPartitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -0
- package/dist-types/ts3.4/pagination/DescribeTopicPartitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -354,6 +354,22 @@ DescribeReplicator
|
|
|
354
354
|
|
|
355
355
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/DescribeReplicatorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DescribeReplicatorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DescribeReplicatorCommandOutput/)
|
|
356
356
|
|
|
357
|
+
</details>
|
|
358
|
+
<details>
|
|
359
|
+
<summary>
|
|
360
|
+
DescribeTopic
|
|
361
|
+
</summary>
|
|
362
|
+
|
|
363
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/DescribeTopicCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DescribeTopicCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DescribeTopicCommandOutput/)
|
|
364
|
+
|
|
365
|
+
</details>
|
|
366
|
+
<details>
|
|
367
|
+
<summary>
|
|
368
|
+
DescribeTopicPartitions
|
|
369
|
+
</summary>
|
|
370
|
+
|
|
371
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/DescribeTopicPartitionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DescribeTopicPartitionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/DescribeTopicPartitionsCommandOutput/)
|
|
372
|
+
|
|
357
373
|
</details>
|
|
358
374
|
<details>
|
|
359
375
|
<summary>
|
|
@@ -482,6 +498,14 @@ ListTagsForResource
|
|
|
482
498
|
|
|
483
499
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/ListTagsForResourceCommandOutput/)
|
|
484
500
|
|
|
501
|
+
</details>
|
|
502
|
+
<details>
|
|
503
|
+
<summary>
|
|
504
|
+
ListTopics
|
|
505
|
+
</summary>
|
|
506
|
+
|
|
507
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafka/command/ListTopicsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/ListTopicsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafka/Interface/ListTopicsCommandOutput/)
|
|
508
|
+
|
|
485
509
|
</details>
|
|
486
510
|
<details>
|
|
487
511
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -334,6 +334,12 @@ let ConflictException$1 = class ConflictException extends KafkaServiceException$
|
|
|
334
334
|
this.Message = opts.Message;
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
|
+
const TopicState = {
|
|
338
|
+
ACTIVE: "ACTIVE",
|
|
339
|
+
CREATING: "CREATING",
|
|
340
|
+
DELETING: "DELETING",
|
|
341
|
+
UPDATING: "UPDATING",
|
|
342
|
+
};
|
|
337
343
|
|
|
338
344
|
const _A = "Authentication";
|
|
339
345
|
const _AENII = "AttachedENIId";
|
|
@@ -431,7 +437,8 @@ const _CVIA = "ClientVpcIpAddress";
|
|
|
431
437
|
const _CWL = "CloudWatchLogs";
|
|
432
438
|
const _Co = "Configuration";
|
|
433
439
|
const _Cod = "Code";
|
|
434
|
-
const _Con = "
|
|
440
|
+
const _Con = "Configs";
|
|
441
|
+
const _Conf = "Configurations";
|
|
435
442
|
const _D = "Description";
|
|
436
443
|
const _DACNCG = "DetectAndCopyNewConsumerGroups";
|
|
437
444
|
const _DACNT = "DetectAndCopyNewTopics";
|
|
@@ -470,6 +477,12 @@ const _DRRes = "DescribeReplicatorRequest";
|
|
|
470
477
|
const _DRResc = "DescribeReplicatorResponse";
|
|
471
478
|
const _DRe = "DescribeReplicator";
|
|
472
479
|
const _DS = "DeliveryStream";
|
|
480
|
+
const _DT = "DescribeTopic";
|
|
481
|
+
const _DTP = "DescribeTopicPartitions";
|
|
482
|
+
const _DTPR = "DescribeTopicPartitionsRequest";
|
|
483
|
+
const _DTPRe = "DescribeTopicPartitionsResponse";
|
|
484
|
+
const _DTR = "DescribeTopicRequest";
|
|
485
|
+
const _DTRe = "DescribeTopicResponse";
|
|
473
486
|
const _DVC = "DeleteVpcConnection";
|
|
474
487
|
const _DVCR = "DeleteVpcConnectionRequest";
|
|
475
488
|
const _DVCRe = "DeleteVpcConnectionResponse";
|
|
@@ -508,6 +521,7 @@ const _IP = "InvalidParameter";
|
|
|
508
521
|
const _IRR = "IsReplicatorReference";
|
|
509
522
|
const _ISEE = "InternalServerErrorException";
|
|
510
523
|
const _IT = "InstanceType";
|
|
524
|
+
const _Is = "Isr";
|
|
511
525
|
const _JE = "JmxExporter";
|
|
512
526
|
const _JEI = "JmxExporterInfo";
|
|
513
527
|
const _KBNI = "KafkaBrokerNodeId";
|
|
@@ -520,6 +534,7 @@ const _KCSa = "KafkaClustersSummary";
|
|
|
520
534
|
const _KCa = "KafkaCluster";
|
|
521
535
|
const _KV = "KafkaVersion";
|
|
522
536
|
const _KVa = "KafkaVersions";
|
|
537
|
+
const _L = "Leader";
|
|
523
538
|
const _LC = "ListClusters";
|
|
524
539
|
const _LCO = "ListClusterOperations";
|
|
525
540
|
const _LCOR = "ListClusterOperationsRequest";
|
|
@@ -556,9 +571,12 @@ const _LRi = "ListReplicators";
|
|
|
556
571
|
const _LSS = "ListScramSecrets";
|
|
557
572
|
const _LSSR = "ListScramSecretsRequest";
|
|
558
573
|
const _LSSRi = "ListScramSecretsResponse";
|
|
574
|
+
const _LT = "ListTopics";
|
|
559
575
|
const _LTFR = "ListTagsForResource";
|
|
560
576
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
561
577
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
578
|
+
const _LTR = "ListTopicsRequest";
|
|
579
|
+
const _LTRi = "ListTopicsResponse";
|
|
562
580
|
const _LVC = "ListVpcConnections";
|
|
563
581
|
const _LVCR = "ListVpcConnectionsRequest";
|
|
564
582
|
const _LVCRi = "ListVpcConnectionsResponse";
|
|
@@ -580,11 +598,13 @@ const _O = "Owner";
|
|
|
580
598
|
const _OA = "OperationArn";
|
|
581
599
|
const _OM = "OpenMonitoring";
|
|
582
600
|
const _OMI = "OpenMonitoringInfo";
|
|
601
|
+
const _OOSRC = "OutOfSyncReplicaCount";
|
|
583
602
|
const _OS = "OperationState";
|
|
584
603
|
const _OSp = "OperationSteps";
|
|
585
604
|
const _OT = "OperationType";
|
|
586
605
|
const _P = "Provisioned";
|
|
587
606
|
const _PA = "PublicAccess";
|
|
607
|
+
const _PC = "PartitionCount";
|
|
588
608
|
const _PCP = "PutClusterPolicy";
|
|
589
609
|
const _PCPR = "PutClusterPolicyRequest";
|
|
590
610
|
const _PCPRu = "PutClusterPolicyResponse";
|
|
@@ -592,6 +612,8 @@ const _PI = "PrometheusInfo";
|
|
|
592
612
|
const _PIr = "PrincipalId";
|
|
593
613
|
const _PR = "ProvisionedRequest";
|
|
594
614
|
const _PT = "ProvisionedThroughput";
|
|
615
|
+
const _Pa = "Partitions";
|
|
616
|
+
const _Par = "Partition";
|
|
595
617
|
const _Po = "Policy";
|
|
596
618
|
const _Pr = "Prometheus";
|
|
597
619
|
const _Pre = "Prefix";
|
|
@@ -605,6 +627,7 @@ const _RCVC = "RejectClientVpcConnection";
|
|
|
605
627
|
const _RCVCR = "RejectClientVpcConnectionRequest";
|
|
606
628
|
const _RCVCRe = "RejectClientVpcConnectionResponse";
|
|
607
629
|
const _RD = "ReplicatorDescription";
|
|
630
|
+
const _RF = "ReplicationFactor";
|
|
608
631
|
const _RI = "ReplicationInfo";
|
|
609
632
|
const _RID = "ReplicationInfoDescription";
|
|
610
633
|
const _RIL = "ReplicationInfoList";
|
|
@@ -620,6 +643,7 @@ const _RSe = "ReplicatorSummary";
|
|
|
620
643
|
const _RTNC = "ReplicationTopicNameConfiguration";
|
|
621
644
|
const _Re = "Revision";
|
|
622
645
|
const _Rep = "Replicators";
|
|
646
|
+
const _Repl = "Replicas";
|
|
623
647
|
const _Rev = "Revisions";
|
|
624
648
|
const _S = "S3";
|
|
625
649
|
const _SA = "SecretArn";
|
|
@@ -653,18 +677,23 @@ const _St = "State";
|
|
|
653
677
|
const _Sta = "Status";
|
|
654
678
|
const _Su = "Subnets";
|
|
655
679
|
const _T = "Tls";
|
|
680
|
+
const _TA = "TopicArn";
|
|
656
681
|
const _TBEBSVI = "TargetBrokerEBSVolumeInfo";
|
|
657
682
|
const _TCA = "TargetClusterArn";
|
|
658
683
|
const _TCI = "TargetClusterInfo";
|
|
659
684
|
const _TCT = "TargetCompressionType";
|
|
685
|
+
const _TI = "TopicInfo";
|
|
660
686
|
const _TIT = "TargetInstanceType";
|
|
661
687
|
const _TK = "TagKeys";
|
|
662
688
|
const _TKCA = "TargetKafkaClusterArn";
|
|
663
689
|
const _TKCAa = "TargetKafkaClusterAlias";
|
|
664
690
|
const _TKV = "TargetKafkaVersion";
|
|
665
691
|
const _TMRE = "TooManyRequestsException";
|
|
692
|
+
const _TN = "TopicName";
|
|
666
693
|
const _TNC = "TopicNameConfiguration";
|
|
694
|
+
const _TNF = "TopicNameFilter";
|
|
667
695
|
const _TNOBN = "TargetNumberOfBrokerNodes";
|
|
696
|
+
const _TPI = "TopicPartitionInfo";
|
|
668
697
|
const _TR = "TopicReplication";
|
|
669
698
|
const _TRR = "TagResourceRequest";
|
|
670
699
|
const _TRU = "TopicReplicationUpdate";
|
|
@@ -673,6 +702,7 @@ const _TTE = "TopicsToExclude";
|
|
|
673
702
|
const _TTR = "TopicsToReplicate";
|
|
674
703
|
const _TV = "TargetVersions";
|
|
675
704
|
const _Ta = "Tags";
|
|
705
|
+
const _To = "Topics";
|
|
676
706
|
const _Ty = "Type";
|
|
677
707
|
const _U = "Unauthenticated";
|
|
678
708
|
const _UBC = "UpdateBrokerCount";
|
|
@@ -802,8 +832,9 @@ const _cV = "currentVersion";
|
|
|
802
832
|
const _cVC = "clientVpcConnections";
|
|
803
833
|
const _cVIA = "clientVpcIpAddress";
|
|
804
834
|
const _cWL = "cloudWatchLogs";
|
|
805
|
-
const _co = "
|
|
835
|
+
const _co = "configs";
|
|
806
836
|
const _cod = "code";
|
|
837
|
+
const _con = "configurations";
|
|
807
838
|
const _d = "description";
|
|
808
839
|
const _dACNCG = "detectAndCopyNewConsumerGroups";
|
|
809
840
|
const _dACNT = "detectAndCopyNewTopics";
|
|
@@ -833,6 +864,7 @@ const _iC = "inCluster";
|
|
|
833
864
|
const _iP = "invalidParameter";
|
|
834
865
|
const _iRR = "isReplicatorReference";
|
|
835
866
|
const _iT = "instanceType";
|
|
867
|
+
const _is = "isr";
|
|
836
868
|
const _jE = "jmxExporter";
|
|
837
869
|
const _jN = "jsonName";
|
|
838
870
|
const _kBNI = "kafkaBrokerNodeId";
|
|
@@ -841,6 +873,7 @@ const _kCA = "kafkaClusterAlias";
|
|
|
841
873
|
const _kCS = "kafkaClustersSummary";
|
|
842
874
|
const _kV = "kafkaVersion";
|
|
843
875
|
const _kVa = "kafkaVersions";
|
|
876
|
+
const _l = "leader";
|
|
844
877
|
const _lG = "logGroup";
|
|
845
878
|
const _lI = "loggingInfo";
|
|
846
879
|
const _lOBEBSVI = "__listOfBrokerEBSVolumeInfo";
|
|
@@ -862,6 +895,8 @@ const _lORI = "__listOfReplicationInfo";
|
|
|
862
895
|
const _lORID = "__listOfReplicationInfoDescription";
|
|
863
896
|
const _lORIS = "__listOfReplicationInfoSummary";
|
|
864
897
|
const _lORS = "__listOfReplicatorSummary";
|
|
898
|
+
const _lOTI = "__listOfTopicInfo";
|
|
899
|
+
const _lOTPI = "__listOfTopicPartitionInfo";
|
|
865
900
|
const _lOUSS = "__listOfUnprocessedScramSecret";
|
|
866
901
|
const _lOVC = "__listOfVpcConfig";
|
|
867
902
|
const _lOVCi = "__listOfVpcConnection";
|
|
@@ -879,19 +914,24 @@ const _nTo = "nodeType";
|
|
|
879
914
|
const _o = "owner";
|
|
880
915
|
const _oA = "operationArn";
|
|
881
916
|
const _oM = "openMonitoring";
|
|
917
|
+
const _oOSRC = "outOfSyncReplicaCount";
|
|
882
918
|
const _oS = "operationState";
|
|
883
919
|
const _oSp = "operationSteps";
|
|
884
920
|
const _oT = "operationType";
|
|
885
921
|
const _p = "provisioned";
|
|
886
922
|
const _pA = "publicAccess";
|
|
923
|
+
const _pC = "partitionCount";
|
|
887
924
|
const _pI = "principalId";
|
|
888
925
|
const _pT = "provisionedThroughput";
|
|
926
|
+
const _pa = "partitions";
|
|
927
|
+
const _par = "partition";
|
|
889
928
|
const _po = "policy";
|
|
890
929
|
const _pr = "prometheus";
|
|
891
930
|
const _pre = "prefix";
|
|
892
931
|
const _r = "rebalancing";
|
|
893
932
|
const _rA = "replicatorArn";
|
|
894
933
|
const _rD = "replicatorDescription";
|
|
934
|
+
const _rF = "replicationFactor";
|
|
895
935
|
const _rIL = "replicationInfoList";
|
|
896
936
|
const _rISL = "replicationInfoSummaryList";
|
|
897
937
|
const _rN = "replicatorName";
|
|
@@ -900,6 +940,7 @@ const _rRA = "replicatorResourceArn";
|
|
|
900
940
|
const _rS = "replicatorState";
|
|
901
941
|
const _re = "revision";
|
|
902
942
|
const _rep = "replicators";
|
|
943
|
+
const _repl = "replicas";
|
|
903
944
|
const _rev = "revisions";
|
|
904
945
|
const _s = "s3";
|
|
905
946
|
const _sA = "secretArn";
|
|
@@ -931,6 +972,7 @@ const _st = "state";
|
|
|
931
972
|
const _sta = "status";
|
|
932
973
|
const _su = "subnets";
|
|
933
974
|
const _t = "tls";
|
|
975
|
+
const _tA = "topicArn";
|
|
934
976
|
const _tBEBSVI = "targetBrokerEBSVolumeInfo";
|
|
935
977
|
const _tCA = "targetClusterArn";
|
|
936
978
|
const _tCI = "targetClusterInfo";
|
|
@@ -940,13 +982,16 @@ const _tK = "tagKeys";
|
|
|
940
982
|
const _tKCA = "targetKafkaClusterArn";
|
|
941
983
|
const _tKCAa = "targetKafkaClusterAlias";
|
|
942
984
|
const _tKV = "targetKafkaVersion";
|
|
985
|
+
const _tN = "topicName";
|
|
943
986
|
const _tNC = "topicNameConfiguration";
|
|
987
|
+
const _tNF = "topicNameFilter";
|
|
944
988
|
const _tNOBN = "targetNumberOfBrokerNodes";
|
|
945
989
|
const _tR = "topicReplication";
|
|
946
990
|
const _tTE = "topicsToExclude";
|
|
947
991
|
const _tTR = "topicsToReplicate";
|
|
948
992
|
const _tV = "targetVersions";
|
|
949
993
|
const _ta = "tags";
|
|
994
|
+
const _to = "topics";
|
|
950
995
|
const _ty = "type";
|
|
951
996
|
const _u = "unauthenticated";
|
|
952
997
|
const _uI = "userIdentity";
|
|
@@ -2910,6 +2955,106 @@ var DescribeReplicatorResponse = [
|
|
|
2910
2955
|
],
|
|
2911
2956
|
],
|
|
2912
2957
|
];
|
|
2958
|
+
var DescribeTopicPartitionsRequest = [
|
|
2959
|
+
3,
|
|
2960
|
+
n0,
|
|
2961
|
+
_DTPR,
|
|
2962
|
+
0,
|
|
2963
|
+
[_CA, _TN, _MR, _NT],
|
|
2964
|
+
[
|
|
2965
|
+
[0, 1],
|
|
2966
|
+
[0, 1],
|
|
2967
|
+
[
|
|
2968
|
+
1,
|
|
2969
|
+
{
|
|
2970
|
+
[_hQ]: _mR,
|
|
2971
|
+
},
|
|
2972
|
+
],
|
|
2973
|
+
[
|
|
2974
|
+
0,
|
|
2975
|
+
{
|
|
2976
|
+
[_hQ]: _nT,
|
|
2977
|
+
},
|
|
2978
|
+
],
|
|
2979
|
+
],
|
|
2980
|
+
];
|
|
2981
|
+
var DescribeTopicPartitionsResponse = [
|
|
2982
|
+
3,
|
|
2983
|
+
n0,
|
|
2984
|
+
_DTPRe,
|
|
2985
|
+
0,
|
|
2986
|
+
[_Pa, _NT],
|
|
2987
|
+
[
|
|
2988
|
+
[
|
|
2989
|
+
() => __listOfTopicPartitionInfo,
|
|
2990
|
+
{
|
|
2991
|
+
[_jN]: _pa,
|
|
2992
|
+
},
|
|
2993
|
+
],
|
|
2994
|
+
[
|
|
2995
|
+
0,
|
|
2996
|
+
{
|
|
2997
|
+
[_jN]: _nT,
|
|
2998
|
+
},
|
|
2999
|
+
],
|
|
3000
|
+
],
|
|
3001
|
+
];
|
|
3002
|
+
var DescribeTopicRequest = [
|
|
3003
|
+
3,
|
|
3004
|
+
n0,
|
|
3005
|
+
_DTR,
|
|
3006
|
+
0,
|
|
3007
|
+
[_CA, _TN],
|
|
3008
|
+
[
|
|
3009
|
+
[0, 1],
|
|
3010
|
+
[0, 1],
|
|
3011
|
+
],
|
|
3012
|
+
];
|
|
3013
|
+
var DescribeTopicResponse = [
|
|
3014
|
+
3,
|
|
3015
|
+
n0,
|
|
3016
|
+
_DTRe,
|
|
3017
|
+
0,
|
|
3018
|
+
[_TA, _TN, _RF, _PC, _Con, _Sta],
|
|
3019
|
+
[
|
|
3020
|
+
[
|
|
3021
|
+
0,
|
|
3022
|
+
{
|
|
3023
|
+
[_jN]: _tA,
|
|
3024
|
+
},
|
|
3025
|
+
],
|
|
3026
|
+
[
|
|
3027
|
+
0,
|
|
3028
|
+
{
|
|
3029
|
+
[_jN]: _tN,
|
|
3030
|
+
},
|
|
3031
|
+
],
|
|
3032
|
+
[
|
|
3033
|
+
1,
|
|
3034
|
+
{
|
|
3035
|
+
[_jN]: _rF,
|
|
3036
|
+
},
|
|
3037
|
+
],
|
|
3038
|
+
[
|
|
3039
|
+
1,
|
|
3040
|
+
{
|
|
3041
|
+
[_jN]: _pC,
|
|
3042
|
+
},
|
|
3043
|
+
],
|
|
3044
|
+
[
|
|
3045
|
+
0,
|
|
3046
|
+
{
|
|
3047
|
+
[_jN]: _co,
|
|
3048
|
+
},
|
|
3049
|
+
],
|
|
3050
|
+
[
|
|
3051
|
+
0,
|
|
3052
|
+
{
|
|
3053
|
+
[_jN]: _sta,
|
|
3054
|
+
},
|
|
3055
|
+
],
|
|
3056
|
+
],
|
|
3057
|
+
];
|
|
2913
3058
|
var DescribeVpcConnectionRequest = [3, n0, _DVCRes, 0, [_Ar], [[0, 1]]];
|
|
2914
3059
|
var DescribeVpcConnectionResponse = [
|
|
2915
3060
|
3,
|
|
@@ -3722,12 +3867,12 @@ var ListConfigurationsResponse = [
|
|
|
3722
3867
|
n0,
|
|
3723
3868
|
_LCRist,
|
|
3724
3869
|
0,
|
|
3725
|
-
[
|
|
3870
|
+
[_Conf, _NT],
|
|
3726
3871
|
[
|
|
3727
3872
|
[
|
|
3728
3873
|
() => __listOfConfiguration,
|
|
3729
3874
|
{
|
|
3730
|
-
[_jN]:
|
|
3875
|
+
[_jN]: _con,
|
|
3731
3876
|
},
|
|
3732
3877
|
],
|
|
3733
3878
|
[
|
|
@@ -3930,6 +4075,55 @@ var ListTagsForResourceResponse = [
|
|
|
3930
4075
|
],
|
|
3931
4076
|
],
|
|
3932
4077
|
];
|
|
4078
|
+
var ListTopicsRequest = [
|
|
4079
|
+
3,
|
|
4080
|
+
n0,
|
|
4081
|
+
_LTR,
|
|
4082
|
+
0,
|
|
4083
|
+
[_CA, _MR, _NT, _TNF],
|
|
4084
|
+
[
|
|
4085
|
+
[0, 1],
|
|
4086
|
+
[
|
|
4087
|
+
1,
|
|
4088
|
+
{
|
|
4089
|
+
[_hQ]: _mR,
|
|
4090
|
+
},
|
|
4091
|
+
],
|
|
4092
|
+
[
|
|
4093
|
+
0,
|
|
4094
|
+
{
|
|
4095
|
+
[_hQ]: _nT,
|
|
4096
|
+
},
|
|
4097
|
+
],
|
|
4098
|
+
[
|
|
4099
|
+
0,
|
|
4100
|
+
{
|
|
4101
|
+
[_hQ]: _tNF,
|
|
4102
|
+
},
|
|
4103
|
+
],
|
|
4104
|
+
],
|
|
4105
|
+
];
|
|
4106
|
+
var ListTopicsResponse = [
|
|
4107
|
+
3,
|
|
4108
|
+
n0,
|
|
4109
|
+
_LTRi,
|
|
4110
|
+
0,
|
|
4111
|
+
[_To, _NT],
|
|
4112
|
+
[
|
|
4113
|
+
[
|
|
4114
|
+
() => __listOfTopicInfo,
|
|
4115
|
+
{
|
|
4116
|
+
[_jN]: _to,
|
|
4117
|
+
},
|
|
4118
|
+
],
|
|
4119
|
+
[
|
|
4120
|
+
0,
|
|
4121
|
+
{
|
|
4122
|
+
[_jN]: _nT,
|
|
4123
|
+
},
|
|
4124
|
+
],
|
|
4125
|
+
],
|
|
4126
|
+
];
|
|
3933
4127
|
var ListVpcConnectionsRequest = [
|
|
3934
4128
|
3,
|
|
3935
4129
|
n0,
|
|
@@ -5033,6 +5227,78 @@ var TooManyRequestsException = [
|
|
|
5033
5227
|
],
|
|
5034
5228
|
];
|
|
5035
5229
|
schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
|
|
5230
|
+
var TopicInfo = [
|
|
5231
|
+
3,
|
|
5232
|
+
n0,
|
|
5233
|
+
_TI,
|
|
5234
|
+
0,
|
|
5235
|
+
[_TA, _TN, _RF, _PC, _OOSRC],
|
|
5236
|
+
[
|
|
5237
|
+
[
|
|
5238
|
+
0,
|
|
5239
|
+
{
|
|
5240
|
+
[_jN]: _tA,
|
|
5241
|
+
},
|
|
5242
|
+
],
|
|
5243
|
+
[
|
|
5244
|
+
0,
|
|
5245
|
+
{
|
|
5246
|
+
[_jN]: _tN,
|
|
5247
|
+
},
|
|
5248
|
+
],
|
|
5249
|
+
[
|
|
5250
|
+
1,
|
|
5251
|
+
{
|
|
5252
|
+
[_jN]: _rF,
|
|
5253
|
+
},
|
|
5254
|
+
],
|
|
5255
|
+
[
|
|
5256
|
+
1,
|
|
5257
|
+
{
|
|
5258
|
+
[_jN]: _pC,
|
|
5259
|
+
},
|
|
5260
|
+
],
|
|
5261
|
+
[
|
|
5262
|
+
1,
|
|
5263
|
+
{
|
|
5264
|
+
[_jN]: _oOSRC,
|
|
5265
|
+
},
|
|
5266
|
+
],
|
|
5267
|
+
],
|
|
5268
|
+
];
|
|
5269
|
+
var TopicPartitionInfo = [
|
|
5270
|
+
3,
|
|
5271
|
+
n0,
|
|
5272
|
+
_TPI,
|
|
5273
|
+
0,
|
|
5274
|
+
[_Par, _L, _Repl, _Is],
|
|
5275
|
+
[
|
|
5276
|
+
[
|
|
5277
|
+
1,
|
|
5278
|
+
{
|
|
5279
|
+
[_jN]: _par,
|
|
5280
|
+
},
|
|
5281
|
+
],
|
|
5282
|
+
[
|
|
5283
|
+
1,
|
|
5284
|
+
{
|
|
5285
|
+
[_jN]: _l,
|
|
5286
|
+
},
|
|
5287
|
+
],
|
|
5288
|
+
[
|
|
5289
|
+
64 | 1,
|
|
5290
|
+
{
|
|
5291
|
+
[_jN]: _repl,
|
|
5292
|
+
},
|
|
5293
|
+
],
|
|
5294
|
+
[
|
|
5295
|
+
64 | 1,
|
|
5296
|
+
{
|
|
5297
|
+
[_jN]: _is,
|
|
5298
|
+
},
|
|
5299
|
+
],
|
|
5300
|
+
],
|
|
5301
|
+
];
|
|
5036
5302
|
var TopicReplication = [
|
|
5037
5303
|
3,
|
|
5038
5304
|
n0,
|
|
@@ -6104,6 +6370,8 @@ var __listOfReplicationInfoDescription = [
|
|
|
6104
6370
|
];
|
|
6105
6371
|
var __listOfReplicationInfoSummary = [1, n0, _lORIS, 0, [() => ReplicationInfoSummary, 0]];
|
|
6106
6372
|
var __listOfReplicatorSummary = [1, n0, _lORS, 0, [() => ReplicatorSummary, 0]];
|
|
6373
|
+
var __listOfTopicInfo = [1, n0, _lOTI, 0, [() => TopicInfo, 0]];
|
|
6374
|
+
var __listOfTopicPartitionInfo = [1, n0, _lOTPI, 0, [() => TopicPartitionInfo, 0]];
|
|
6107
6375
|
var __listOfUnprocessedScramSecret = [1, n0, _lOUSS, 0, [() => UnprocessedScramSecret, 0]];
|
|
6108
6376
|
var __listOfVpcConfig = [1, n0, _lOVC, 0, [() => VpcConfig, 0]];
|
|
6109
6377
|
var __listOfVpcConnection = [1, n0, _lOVCi, 0, [() => VpcConnection, 0]];
|
|
@@ -6297,6 +6565,26 @@ var DescribeReplicator = [
|
|
|
6297
6565
|
() => DescribeReplicatorRequest,
|
|
6298
6566
|
() => DescribeReplicatorResponse,
|
|
6299
6567
|
];
|
|
6568
|
+
var DescribeTopic = [
|
|
6569
|
+
9,
|
|
6570
|
+
n0,
|
|
6571
|
+
_DT,
|
|
6572
|
+
{
|
|
6573
|
+
[_h]: ["GET", "/v1/clusters/{ClusterArn}/topics/{TopicName}", 200],
|
|
6574
|
+
},
|
|
6575
|
+
() => DescribeTopicRequest,
|
|
6576
|
+
() => DescribeTopicResponse,
|
|
6577
|
+
];
|
|
6578
|
+
var DescribeTopicPartitions = [
|
|
6579
|
+
9,
|
|
6580
|
+
n0,
|
|
6581
|
+
_DTP,
|
|
6582
|
+
{
|
|
6583
|
+
[_h]: ["GET", "/v1/clusters/{ClusterArn}/topics/{TopicName}/partitions", 200],
|
|
6584
|
+
},
|
|
6585
|
+
() => DescribeTopicPartitionsRequest,
|
|
6586
|
+
() => DescribeTopicPartitionsResponse,
|
|
6587
|
+
];
|
|
6300
6588
|
var DescribeVpcConnection = [
|
|
6301
6589
|
9,
|
|
6302
6590
|
n0,
|
|
@@ -6457,6 +6745,16 @@ var ListTagsForResource = [
|
|
|
6457
6745
|
() => ListTagsForResourceRequest,
|
|
6458
6746
|
() => ListTagsForResourceResponse,
|
|
6459
6747
|
];
|
|
6748
|
+
var ListTopics = [
|
|
6749
|
+
9,
|
|
6750
|
+
n0,
|
|
6751
|
+
_LT,
|
|
6752
|
+
{
|
|
6753
|
+
[_h]: ["GET", "/v1/clusters/{ClusterArn}/topics", 200],
|
|
6754
|
+
},
|
|
6755
|
+
() => ListTopicsRequest,
|
|
6756
|
+
() => ListTopicsResponse,
|
|
6757
|
+
];
|
|
6460
6758
|
var ListVpcConnections = [
|
|
6461
6759
|
9,
|
|
6462
6760
|
n0,
|
|
@@ -6866,6 +7164,30 @@ class DescribeReplicatorCommand extends smithyClient.Command
|
|
|
6866
7164
|
.build() {
|
|
6867
7165
|
}
|
|
6868
7166
|
|
|
7167
|
+
class DescribeTopicCommand extends smithyClient.Command
|
|
7168
|
+
.classBuilder()
|
|
7169
|
+
.ep(commonParams)
|
|
7170
|
+
.m(function (Command, cs, config, o) {
|
|
7171
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
7172
|
+
})
|
|
7173
|
+
.s("Kafka", "DescribeTopic", {})
|
|
7174
|
+
.n("KafkaClient", "DescribeTopicCommand")
|
|
7175
|
+
.sc(DescribeTopic)
|
|
7176
|
+
.build() {
|
|
7177
|
+
}
|
|
7178
|
+
|
|
7179
|
+
class DescribeTopicPartitionsCommand extends smithyClient.Command
|
|
7180
|
+
.classBuilder()
|
|
7181
|
+
.ep(commonParams)
|
|
7182
|
+
.m(function (Command, cs, config, o) {
|
|
7183
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
7184
|
+
})
|
|
7185
|
+
.s("Kafka", "DescribeTopicPartitions", {})
|
|
7186
|
+
.n("KafkaClient", "DescribeTopicPartitionsCommand")
|
|
7187
|
+
.sc(DescribeTopicPartitions)
|
|
7188
|
+
.build() {
|
|
7189
|
+
}
|
|
7190
|
+
|
|
6869
7191
|
class DescribeVpcConnectionCommand extends smithyClient.Command
|
|
6870
7192
|
.classBuilder()
|
|
6871
7193
|
.ep(commonParams)
|
|
@@ -7058,6 +7380,18 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
7058
7380
|
.build() {
|
|
7059
7381
|
}
|
|
7060
7382
|
|
|
7383
|
+
class ListTopicsCommand extends smithyClient.Command
|
|
7384
|
+
.classBuilder()
|
|
7385
|
+
.ep(commonParams)
|
|
7386
|
+
.m(function (Command, cs, config, o) {
|
|
7387
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
7388
|
+
})
|
|
7389
|
+
.s("Kafka", "ListTopics", {})
|
|
7390
|
+
.n("KafkaClient", "ListTopicsCommand")
|
|
7391
|
+
.sc(ListTopics)
|
|
7392
|
+
.build() {
|
|
7393
|
+
}
|
|
7394
|
+
|
|
7061
7395
|
class ListVpcConnectionsCommand extends smithyClient.Command
|
|
7062
7396
|
.classBuilder()
|
|
7063
7397
|
.ep(commonParams)
|
|
@@ -7294,6 +7628,8 @@ const commands = {
|
|
|
7294
7628
|
DescribeConfigurationCommand,
|
|
7295
7629
|
DescribeConfigurationRevisionCommand,
|
|
7296
7630
|
DescribeReplicatorCommand,
|
|
7631
|
+
DescribeTopicCommand,
|
|
7632
|
+
DescribeTopicPartitionsCommand,
|
|
7297
7633
|
DescribeVpcConnectionCommand,
|
|
7298
7634
|
GetBootstrapBrokersCommand,
|
|
7299
7635
|
GetClusterPolicyCommand,
|
|
@@ -7310,6 +7646,7 @@ const commands = {
|
|
|
7310
7646
|
ListReplicatorsCommand,
|
|
7311
7647
|
ListScramSecretsCommand,
|
|
7312
7648
|
ListTagsForResourceCommand,
|
|
7649
|
+
ListTopicsCommand,
|
|
7313
7650
|
ListVpcConnectionsCommand,
|
|
7314
7651
|
PutClusterPolicyCommand,
|
|
7315
7652
|
RebootBrokerCommand,
|
|
@@ -7333,6 +7670,8 @@ class Kafka extends KafkaClient {
|
|
|
7333
7670
|
}
|
|
7334
7671
|
smithyClient.createAggregatedClient(commands, Kafka);
|
|
7335
7672
|
|
|
7673
|
+
const paginateDescribeTopicPartitions = core.createPaginator(KafkaClient, DescribeTopicPartitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
7674
|
+
|
|
7336
7675
|
const paginateListClientVpcConnections = core.createPaginator(KafkaClient, ListClientVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
7337
7676
|
|
|
7338
7677
|
const paginateListClusterOperations = core.createPaginator(KafkaClient, ListClusterOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -7355,6 +7694,8 @@ const paginateListReplicators = core.createPaginator(KafkaClient, ListReplicator
|
|
|
7355
7694
|
|
|
7356
7695
|
const paginateListScramSecrets = core.createPaginator(KafkaClient, ListScramSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
7357
7696
|
|
|
7697
|
+
const paginateListTopics = core.createPaginator(KafkaClient, ListTopicsCommand, "NextToken", "NextToken", "MaxResults");
|
|
7698
|
+
|
|
7358
7699
|
const paginateListVpcConnections = core.createPaginator(KafkaClient, ListVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
7359
7700
|
|
|
7360
7701
|
Object.defineProperty(exports, "$Command", {
|
|
@@ -7392,6 +7733,8 @@ exports.DescribeClusterV2Command = DescribeClusterV2Command;
|
|
|
7392
7733
|
exports.DescribeConfigurationCommand = DescribeConfigurationCommand;
|
|
7393
7734
|
exports.DescribeConfigurationRevisionCommand = DescribeConfigurationRevisionCommand;
|
|
7394
7735
|
exports.DescribeReplicatorCommand = DescribeReplicatorCommand;
|
|
7736
|
+
exports.DescribeTopicCommand = DescribeTopicCommand;
|
|
7737
|
+
exports.DescribeTopicPartitionsCommand = DescribeTopicPartitionsCommand;
|
|
7395
7738
|
exports.DescribeVpcConnectionCommand = DescribeVpcConnectionCommand;
|
|
7396
7739
|
exports.EnhancedMonitoring = EnhancedMonitoring;
|
|
7397
7740
|
exports.ForbiddenException = ForbiddenException$1;
|
|
@@ -7415,6 +7758,7 @@ exports.ListNodesCommand = ListNodesCommand;
|
|
|
7415
7758
|
exports.ListReplicatorsCommand = ListReplicatorsCommand;
|
|
7416
7759
|
exports.ListScramSecretsCommand = ListScramSecretsCommand;
|
|
7417
7760
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
7761
|
+
exports.ListTopicsCommand = ListTopicsCommand;
|
|
7418
7762
|
exports.ListVpcConnectionsCommand = ListVpcConnectionsCommand;
|
|
7419
7763
|
exports.NodeType = NodeType;
|
|
7420
7764
|
exports.NotFoundException = NotFoundException$1;
|
|
@@ -7430,6 +7774,7 @@ exports.StorageMode = StorageMode;
|
|
|
7430
7774
|
exports.TagResourceCommand = TagResourceCommand;
|
|
7431
7775
|
exports.TargetCompressionType = TargetCompressionType;
|
|
7432
7776
|
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
7777
|
+
exports.TopicState = TopicState;
|
|
7433
7778
|
exports.UnauthorizedException = UnauthorizedException$1;
|
|
7434
7779
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
7435
7780
|
exports.UpdateBrokerCountCommand = UpdateBrokerCountCommand;
|
|
@@ -7446,6 +7791,7 @@ exports.UpdateSecurityCommand = UpdateSecurityCommand;
|
|
|
7446
7791
|
exports.UpdateStorageCommand = UpdateStorageCommand;
|
|
7447
7792
|
exports.UserIdentityType = UserIdentityType;
|
|
7448
7793
|
exports.VpcConnectionState = VpcConnectionState;
|
|
7794
|
+
exports.paginateDescribeTopicPartitions = paginateDescribeTopicPartitions;
|
|
7449
7795
|
exports.paginateListClientVpcConnections = paginateListClientVpcConnections;
|
|
7450
7796
|
exports.paginateListClusterOperations = paginateListClusterOperations;
|
|
7451
7797
|
exports.paginateListClusterOperationsV2 = paginateListClusterOperationsV2;
|
|
@@ -7457,4 +7803,5 @@ exports.paginateListKafkaVersions = paginateListKafkaVersions;
|
|
|
7457
7803
|
exports.paginateListNodes = paginateListNodes;
|
|
7458
7804
|
exports.paginateListReplicators = paginateListReplicators;
|
|
7459
7805
|
exports.paginateListScramSecrets = paginateListScramSecrets;
|
|
7806
|
+
exports.paginateListTopics = paginateListTopics;
|
|
7460
7807
|
exports.paginateListVpcConnections = paginateListVpcConnections;
|