tccli 3.0.1240.1__py2.py3-none-any.whl → 3.0.1242.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +276 -279
  3. tccli/services/apm/v20210622/examples.json +30 -30
  4. tccli/services/autoscaling/v20180419/api.json +12 -1
  5. tccli/services/batch/v20170312/api.json +11 -11
  6. tccli/services/bh/v20230418/api.json +9 -0
  7. tccli/services/bh/v20230418/examples.json +2 -2
  8. tccli/services/billing/v20180709/api.json +20 -0
  9. tccli/services/cam/v20190116/api.json +1 -1
  10. tccli/services/car/v20220110/api.json +1 -1
  11. tccli/services/car/v20220110/examples.json +3 -3
  12. tccli/services/cdb/v20170320/api.json +582 -579
  13. tccli/services/cdb/v20170320/examples.json +9 -9
  14. tccli/services/cdwdoris/v20211228/api.json +40 -0
  15. tccli/services/cfg/v20210820/api.json +11 -0
  16. tccli/services/cfs/v20190719/api.json +20 -20
  17. tccli/services/cfs/v20190719/examples.json +5 -5
  18. tccli/services/chdfs/v20201112/api.json +10 -10
  19. tccli/services/chdfs/v20201112/examples.json +1 -1
  20. tccli/services/ckafka/v20190819/api.json +27 -0
  21. tccli/services/clb/v20180317/api.json +84 -64
  22. tccli/services/cls/cls_client.py +220 -8
  23. tccli/services/cls/v20201016/api.json +418 -40
  24. tccli/services/cls/v20201016/examples.json +89 -45
  25. tccli/services/cmq/v20190304/api.json +77 -77
  26. tccli/services/cvm/cvm_client.py +60 -325
  27. tccli/services/cvm/v20170312/api.json +618 -1401
  28. tccli/services/cvm/v20170312/examples.json +8 -48
  29. tccli/services/cwp/cwp_client.py +0 -53
  30. tccli/services/cwp/v20180228/api.json +3 -37
  31. tccli/services/cwp/v20180228/examples.json +2 -10
  32. tccli/services/cynosdb/v20190107/api.json +470 -476
  33. tccli/services/cynosdb/v20190107/examples.json +23 -23
  34. tccli/services/dbbrain/v20191016/api.json +16 -4
  35. tccli/services/dbbrain/v20191016/examples.json +5 -5
  36. tccli/services/dbbrain/v20210527/api.json +45 -45
  37. tccli/services/dbbrain/v20210527/examples.json +8 -8
  38. tccli/services/dnspod/v20210323/api.json +173 -119
  39. tccli/services/dnspod/v20210323/examples.json +18 -18
  40. tccli/services/dts/v20180330/api.json +30 -30
  41. tccli/services/dts/v20180330/examples.json +4 -4
  42. tccli/services/dts/v20211206/api.json +19 -9
  43. tccli/services/dts/v20211206/examples.json +5 -5
  44. tccli/services/ecm/v20190719/api.json +55 -48
  45. tccli/services/ecm/v20190719/examples.json +7 -7
  46. tccli/services/emr/emr_client.py +493 -16
  47. tccli/services/emr/v20190103/api.json +1323 -246
  48. tccli/services/emr/v20190103/examples.json +72 -0
  49. tccli/services/ess/v20201111/api.json +29 -11
  50. tccli/services/ess/v20201111/examples.json +6 -0
  51. tccli/services/essbasic/v20210526/api.json +89 -2
  52. tccli/services/essbasic/v20210526/examples.json +12 -0
  53. tccli/services/faceid/v20180301/api.json +3 -3
  54. tccli/services/gaap/v20180529/api.json +194 -196
  55. tccli/services/gaap/v20180529/examples.json +31 -37
  56. tccli/services/goosefs/v20220519/api.json +17 -17
  57. tccli/services/goosefs/v20220519/examples.json +4 -4
  58. tccli/services/gs/v20191118/api.json +3 -3
  59. tccli/services/gs/v20191118/examples.json +3 -3
  60. tccli/services/iai/iai_client.py +53 -0
  61. tccli/services/iai/v20200303/api.json +80 -0
  62. tccli/services/iai/v20200303/examples.json +14 -0
  63. tccli/services/iotexplorer/v20190423/api.json +10 -0
  64. tccli/services/iotvideoindustry/v20201201/api.json +84 -84
  65. tccli/services/iotvideoindustry/v20201201/examples.json +29 -29
  66. tccli/services/keewidb/v20220308/api.json +188 -190
  67. tccli/services/live/v20180801/api.json +324 -223
  68. tccli/services/live/v20180801/examples.json +79 -79
  69. tccli/services/mna/v20210119/api.json +52 -49
  70. tccli/services/mna/v20210119/examples.json +49 -49
  71. tccli/services/mps/v20190612/api.json +49 -0
  72. tccli/services/oceanus/v20190422/api.json +407 -39
  73. tccli/services/oceanus/v20190422/examples.json +1 -1
  74. tccli/services/ocr/ocr_client.py +110 -4
  75. tccli/services/ocr/v20181119/api.json +410 -6
  76. tccli/services/ocr/v20181119/examples.json +18 -2
  77. tccli/services/pts/v20210728/api.json +1 -1
  78. tccli/services/pts/v20210728/examples.json +1 -1
  79. tccli/services/sqlserver/v20180328/api.json +273 -144
  80. tccli/services/sqlserver/v20180328/examples.json +2 -2
  81. tccli/services/ssl/v20191205/api.json +829 -829
  82. tccli/services/ssl/v20191205/examples.json +14 -14
  83. tccli/services/tbaas/v20180416/api.json +127 -88
  84. tccli/services/tbaas/v20180416/examples.json +9 -9
  85. tccli/services/tcb/v20180608/api.json +229 -189
  86. tccli/services/tcb/v20180608/examples.json +23 -23
  87. tccli/services/tcm/v20210413/api.json +6 -6
  88. tccli/services/tcm/v20210413/examples.json +3 -3
  89. tccli/services/tcr/v20190924/api.json +25 -20
  90. tccli/services/tcr/v20190924/examples.json +4 -4
  91. tccli/services/tdmq/tdmq_client.py +167 -8
  92. tccli/services/tdmq/v20200217/api.json +325 -0
  93. tccli/services/tdmq/v20200217/examples.json +24 -0
  94. tccli/services/tem/v20210701/api.json +439 -280
  95. tccli/services/tem/v20210701/examples.json +39 -39
  96. tccli/services/teo/v20220901/api.json +2 -2
  97. tccli/services/teo/v20220901/examples.json +3 -3
  98. tccli/services/thpc/v20211109/api.json +46 -58
  99. tccli/services/thpc/v20211109/examples.json +2 -2
  100. tccli/services/thpc/v20220401/api.json +168 -181
  101. tccli/services/thpc/v20220401/examples.json +1 -1
  102. tccli/services/thpc/v20230321/api.json +99 -102
  103. tccli/services/thpc/v20230321/examples.json +3 -3
  104. tccli/services/tke/v20180525/api.json +50 -39
  105. tccli/services/tke/v20180525/examples.json +51 -21
  106. tccli/services/tke/v20220501/api.json +146 -97
  107. tccli/services/tke/v20220501/examples.json +15 -21
  108. tccli/services/trocket/trocket_client.py +53 -0
  109. tccli/services/trocket/v20230308/api.json +219 -0
  110. tccli/services/trocket/v20230308/examples.json +8 -0
  111. tccli/services/trro/v20220325/api.json +27 -27
  112. tccli/services/trro/v20220325/examples.json +1 -1
  113. tccli/services/trtc/v20190722/api.json +31 -20
  114. tccli/services/trtc/v20190722/examples.json +11 -11
  115. tccli/services/tse/v20201207/api.json +187 -122
  116. tccli/services/tse/v20201207/examples.json +36 -36
  117. tccli/services/tsf/v20180326/api.json +448 -434
  118. tccli/services/tsf/v20180326/examples.json +122 -122
  119. tccli/services/tts/v20190823/api.json +1 -1
  120. tccli/services/vpc/v20170312/api.json +582 -291
  121. tccli/services/vpc/v20170312/examples.json +75 -27
  122. tccli/services/vpc/vpc_client.py +159 -0
  123. tccli/services/waf/v20180125/api.json +305 -6
  124. tccli/services/waf/v20180125/examples.json +25 -1
  125. tccli/services/waf/waf_client.py +163 -4
  126. {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/METADATA +2 -2
  127. {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/RECORD +130 -130
  128. {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/WHEEL +0 -0
  129. {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/entry_points.txt +0 -0
  130. {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/license_files/LICENSE +0 -0
@@ -1473,7 +1473,7 @@ def doCreateEnvironment(args, parsed_globals):
1473
1473
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1474
1474
 
1475
1475
 
1476
- def doDescribeTopics(args, parsed_globals):
1476
+ def doDescribeClusters(args, parsed_globals):
1477
1477
  g_param = parse_global_arg(parsed_globals)
1478
1478
 
1479
1479
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1502,11 +1502,11 @@ def doDescribeTopics(args, parsed_globals):
1502
1502
  client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
1503
1503
  client._sdkVersion += ("_CLI_" + __version__)
1504
1504
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1505
- model = models.DescribeTopicsRequest()
1505
+ model = models.DescribeClustersRequest()
1506
1506
  model.from_json_string(json.dumps(args))
1507
1507
  start_time = time.time()
1508
1508
  while True:
1509
- rsp = client.DescribeTopics(model)
1509
+ rsp = client.DescribeClusters(model)
1510
1510
  result = rsp.to_json_string()
1511
1511
  try:
1512
1512
  json_obj = json.loads(result)
@@ -2617,7 +2617,7 @@ def doResetRocketMQConsumerOffSet(args, parsed_globals):
2617
2617
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2618
2618
 
2619
2619
 
2620
- def doDescribeClusters(args, parsed_globals):
2620
+ def doDescribeRabbitMQPermission(args, parsed_globals):
2621
2621
  g_param = parse_global_arg(parsed_globals)
2622
2622
 
2623
2623
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2646,11 +2646,63 @@ def doDescribeClusters(args, parsed_globals):
2646
2646
  client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
2647
2647
  client._sdkVersion += ("_CLI_" + __version__)
2648
2648
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2649
- model = models.DescribeClustersRequest()
2649
+ model = models.DescribeRabbitMQPermissionRequest()
2650
2650
  model.from_json_string(json.dumps(args))
2651
2651
  start_time = time.time()
2652
2652
  while True:
2653
- rsp = client.DescribeClusters(model)
2653
+ rsp = client.DescribeRabbitMQPermission(model)
2654
+ result = rsp.to_json_string()
2655
+ try:
2656
+ json_obj = json.loads(result)
2657
+ except TypeError as e:
2658
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2659
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2660
+ break
2661
+ cur_time = time.time()
2662
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2663
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2664
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2665
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2666
+ else:
2667
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2668
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2669
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
+
2671
+
2672
+ def doDeleteRabbitMQPermission(args, parsed_globals):
2673
+ g_param = parse_global_arg(parsed_globals)
2674
+
2675
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2676
+ cred = credential.CVMRoleCredential()
2677
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2678
+ cred = credential.STSAssumeRoleCredential(
2679
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2680
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2681
+ )
2682
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2683
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2684
+ else:
2685
+ cred = credential.Credential(
2686
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2687
+ )
2688
+ http_profile = HttpProfile(
2689
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2690
+ reqMethod="POST",
2691
+ endpoint=g_param[OptionsDefine.Endpoint],
2692
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2693
+ )
2694
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2695
+ if g_param[OptionsDefine.Language]:
2696
+ profile.language = g_param[OptionsDefine.Language]
2697
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2698
+ client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
2699
+ client._sdkVersion += ("_CLI_" + __version__)
2700
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2701
+ model = models.DeleteRabbitMQPermissionRequest()
2702
+ model.from_json_string(json.dumps(args))
2703
+ start_time = time.time()
2704
+ while True:
2705
+ rsp = client.DeleteRabbitMQPermission(model)
2654
2706
  result = rsp.to_json_string()
2655
2707
  try:
2656
2708
  json_obj = json.loads(result)
@@ -4541,6 +4593,58 @@ def doVerifyRocketMQConsume(args, parsed_globals):
4541
4593
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4542
4594
 
4543
4595
 
4596
+ def doModifyRabbitMQPermission(args, parsed_globals):
4597
+ g_param = parse_global_arg(parsed_globals)
4598
+
4599
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4600
+ cred = credential.CVMRoleCredential()
4601
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4602
+ cred = credential.STSAssumeRoleCredential(
4603
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4604
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4605
+ )
4606
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4607
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4608
+ else:
4609
+ cred = credential.Credential(
4610
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4611
+ )
4612
+ http_profile = HttpProfile(
4613
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4614
+ reqMethod="POST",
4615
+ endpoint=g_param[OptionsDefine.Endpoint],
4616
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4617
+ )
4618
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4619
+ if g_param[OptionsDefine.Language]:
4620
+ profile.language = g_param[OptionsDefine.Language]
4621
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4622
+ client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
4623
+ client._sdkVersion += ("_CLI_" + __version__)
4624
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4625
+ model = models.ModifyRabbitMQPermissionRequest()
4626
+ model.from_json_string(json.dumps(args))
4627
+ start_time = time.time()
4628
+ while True:
4629
+ rsp = client.ModifyRabbitMQPermission(model)
4630
+ result = rsp.to_json_string()
4631
+ try:
4632
+ json_obj = json.loads(result)
4633
+ except TypeError as e:
4634
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4635
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4636
+ break
4637
+ cur_time = time.time()
4638
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4639
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4640
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4641
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4642
+ else:
4643
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4644
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4645
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4646
+
4647
+
4544
4648
  def doDescribeAMQPClusters(args, parsed_globals):
4545
4649
  g_param = parse_global_arg(parsed_globals)
4546
4650
 
@@ -6569,6 +6673,58 @@ def doDescribeRocketMQMsg(args, parsed_globals):
6569
6673
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6570
6674
 
6571
6675
 
6676
+ def doDescribeTopics(args, parsed_globals):
6677
+ g_param = parse_global_arg(parsed_globals)
6678
+
6679
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
6680
+ cred = credential.CVMRoleCredential()
6681
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
6682
+ cred = credential.STSAssumeRoleCredential(
6683
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
6684
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
6685
+ )
6686
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
6687
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
6688
+ else:
6689
+ cred = credential.Credential(
6690
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
6691
+ )
6692
+ http_profile = HttpProfile(
6693
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
6694
+ reqMethod="POST",
6695
+ endpoint=g_param[OptionsDefine.Endpoint],
6696
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
6697
+ )
6698
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
6699
+ if g_param[OptionsDefine.Language]:
6700
+ profile.language = g_param[OptionsDefine.Language]
6701
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
6702
+ client = mod.TdmqClient(cred, g_param[OptionsDefine.Region], profile)
6703
+ client._sdkVersion += ("_CLI_" + __version__)
6704
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
6705
+ model = models.DescribeTopicsRequest()
6706
+ model.from_json_string(json.dumps(args))
6707
+ start_time = time.time()
6708
+ while True:
6709
+ rsp = client.DescribeTopics(model)
6710
+ result = rsp.to_json_string()
6711
+ try:
6712
+ json_obj = json.loads(result)
6713
+ except TypeError as e:
6714
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
6715
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
6716
+ break
6717
+ cur_time = time.time()
6718
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
6719
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
6720
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
6721
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
6722
+ else:
6723
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
6724
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
6725
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
6726
+
6727
+
6572
6728
  def doDescribeEnvironmentRoles(args, parsed_globals):
6573
6729
  g_param = parse_global_arg(parsed_globals)
6574
6730
 
@@ -7648,7 +7804,7 @@ ACTION_MAP = {
7648
7804
  "CreateRocketMQGroup": doCreateRocketMQGroup,
7649
7805
  "AcknowledgeMessage": doAcknowledgeMessage,
7650
7806
  "CreateEnvironment": doCreateEnvironment,
7651
- "DescribeTopics": doDescribeTopics,
7807
+ "DescribeClusters": doDescribeClusters,
7652
7808
  "ModifyPublicNetworkSecurityPolicy": doModifyPublicNetworkSecurityPolicy,
7653
7809
  "ModifyRocketMQEnvironmentRole": doModifyRocketMQEnvironmentRole,
7654
7810
  "ModifyRocketMQTopic": doModifyRocketMQTopic,
@@ -7670,7 +7826,8 @@ ACTION_MAP = {
7670
7826
  "DeleteCluster": doDeleteCluster,
7671
7827
  "CreateRocketMQVipInstance": doCreateRocketMQVipInstance,
7672
7828
  "ResetRocketMQConsumerOffSet": doResetRocketMQConsumerOffSet,
7673
- "DescribeClusters": doDescribeClusters,
7829
+ "DescribeRabbitMQPermission": doDescribeRabbitMQPermission,
7830
+ "DeleteRabbitMQPermission": doDeleteRabbitMQPermission,
7674
7831
  "DescribeRocketMQSourceClusterTopicList": doDescribeRocketMQSourceClusterTopicList,
7675
7832
  "CreateRocketMQEnvironmentRole": doCreateRocketMQEnvironmentRole,
7676
7833
  "DescribeRocketMQConsumerConnectionDetail": doDescribeRocketMQConsumerConnectionDetail,
@@ -7707,6 +7864,7 @@ ACTION_MAP = {
7707
7864
  "ImportRocketMQConsumerGroups": doImportRocketMQConsumerGroups,
7708
7865
  "DescribeRocketMQVipInstances": doDescribeRocketMQVipInstances,
7709
7866
  "VerifyRocketMQConsume": doVerifyRocketMQConsume,
7867
+ "ModifyRabbitMQPermission": doModifyRabbitMQPermission,
7710
7868
  "DescribeAMQPClusters": doDescribeAMQPClusters,
7711
7869
  "CreateRabbitMQVipInstance": doCreateRabbitMQVipInstance,
7712
7870
  "DescribeMqMsgTrace": doDescribeMqMsgTrace,
@@ -7746,6 +7904,7 @@ ACTION_MAP = {
7746
7904
  "CreateRocketMQCluster": doCreateRocketMQCluster,
7747
7905
  "DescribeRabbitMQQueueDetail": doDescribeRabbitMQQueueDetail,
7748
7906
  "DescribeRocketMQMsg": doDescribeRocketMQMsg,
7907
+ "DescribeTopics": doDescribeTopics,
7749
7908
  "DescribeEnvironmentRoles": doDescribeEnvironmentRoles,
7750
7909
  "DeleteRabbitMQVipInstance": doDeleteRabbitMQVipInstance,
7751
7910
  "PublishCmqMsg": doPublishCmqMsg,
@@ -224,6 +224,13 @@
224
224
  "output": "DeleteRabbitMQBindingResponse",
225
225
  "status": "online"
226
226
  },
227
+ "DeleteRabbitMQPermission": {
228
+ "document": "删除RabbitMQ的权限",
229
+ "input": "DeleteRabbitMQPermissionRequest",
230
+ "name": "删除RabbitMQ的权限",
231
+ "output": "DeleteRabbitMQPermissionResponse",
232
+ "status": "online"
233
+ },
227
234
  "DeleteRabbitMQUser": {
228
235
  "document": "删除RabbitMQ的用户",
229
236
  "input": "DeleteRabbitMQUserRequest",
@@ -497,6 +504,13 @@
497
504
  "output": "DescribeRabbitMQNodeListResponse",
498
505
  "status": "online"
499
506
  },
507
+ "DescribeRabbitMQPermission": {
508
+ "document": "查询RabbitMQ权限列表",
509
+ "input": "DescribeRabbitMQPermissionRequest",
510
+ "name": "查询RabbitMQ权限列表",
511
+ "output": "DescribeRabbitMQPermissionResponse",
512
+ "status": "online"
513
+ },
500
514
  "DescribeRabbitMQQueueDetail": {
501
515
  "document": "查询RabbitMQ队列详情",
502
516
  "input": "DescribeRabbitMQQueueDetailRequest",
@@ -833,6 +847,13 @@
833
847
  "output": "ModifyPublicNetworkSecurityPolicyResponse",
834
848
  "status": "online"
835
849
  },
850
+ "ModifyRabbitMQPermission": {
851
+ "document": "修改RabbitMQ的权限",
852
+ "input": "ModifyRabbitMQPermissionRequest",
853
+ "name": "修改RabbitMQ的权限",
854
+ "output": "ModifyRabbitMQPermissionResponse",
855
+ "status": "online"
856
+ },
836
857
  "ModifyRabbitMQUser": {
837
858
  "document": "修改RabbitMQ的用户",
838
859
  "input": "ModifyRabbitMQUserRequest",
@@ -4771,6 +4792,15 @@
4771
4792
  "name": "MsgTTL",
4772
4793
  "required": false,
4773
4794
  "type": "int"
4795
+ },
4796
+ {
4797
+ "disabled": false,
4798
+ "document": "不传默认是原生策略,DefaultPolicy表示当订阅下达到最大未确认消息数 5000 时,服务端将不再向当前订阅下的所有消费者推送消息,DynamicPolicy表示动态调整订阅下的最大未确认消息数,具体配额是在 5000 和消费者数量*20之间取最大值。每个消费者默认最大 unack 消息数为 20,超过该限制时仅影响该消费者,不影响其他消费者。",
4799
+ "example": "DefaultPolicy",
4800
+ "member": "string",
4801
+ "name": "UnackPolicy",
4802
+ "required": false,
4803
+ "type": "string"
4774
4804
  }
4775
4805
  ],
4776
4806
  "type": "object"
@@ -5167,6 +5197,51 @@
5167
5197
  ],
5168
5198
  "type": "object"
5169
5199
  },
5200
+ "DeleteRabbitMQPermissionRequest": {
5201
+ "document": "DeleteRabbitMQPermission请求参数结构体",
5202
+ "members": [
5203
+ {
5204
+ "disabled": false,
5205
+ "document": "集群实例Id",
5206
+ "example": "amqp-jero744g",
5207
+ "member": "string",
5208
+ "name": "InstanceId",
5209
+ "required": true,
5210
+ "type": "string"
5211
+ },
5212
+ {
5213
+ "disabled": false,
5214
+ "document": "用户名,登录时使用",
5215
+ "example": "test_user",
5216
+ "member": "string",
5217
+ "name": "User",
5218
+ "required": true,
5219
+ "type": "string"
5220
+ },
5221
+ {
5222
+ "disabled": false,
5223
+ "document": "vhost名",
5224
+ "example": "tdmq_data",
5225
+ "member": "string",
5226
+ "name": "VirtualHost",
5227
+ "required": true,
5228
+ "type": "string"
5229
+ }
5230
+ ],
5231
+ "type": "object"
5232
+ },
5233
+ "DeleteRabbitMQPermissionResponse": {
5234
+ "document": "DeleteRabbitMQPermission返回参数结构体",
5235
+ "members": [
5236
+ {
5237
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5238
+ "member": "string",
5239
+ "name": "RequestId",
5240
+ "type": "string"
5241
+ }
5242
+ ],
5243
+ "type": "object"
5244
+ },
5170
5245
  "DeleteRabbitMQUserRequest": {
5171
5246
  "document": "DeleteRabbitMQUser请求参数结构体",
5172
5247
  "members": [
@@ -7943,6 +8018,89 @@
7943
8018
  ],
7944
8019
  "type": "object"
7945
8020
  },
8021
+ "DescribeRabbitMQPermissionRequest": {
8022
+ "document": "DescribeRabbitMQPermission请求参数结构体",
8023
+ "members": [
8024
+ {
8025
+ "disabled": false,
8026
+ "document": "集群实例id",
8027
+ "example": "amqp-jero744g",
8028
+ "member": "string",
8029
+ "name": "InstanceId",
8030
+ "required": true,
8031
+ "type": "string"
8032
+ },
8033
+ {
8034
+ "disabled": false,
8035
+ "document": "用户名,用于查询过滤,不传则查询全部",
8036
+ "example": "admin",
8037
+ "member": "string",
8038
+ "name": "User",
8039
+ "required": false,
8040
+ "type": "string"
8041
+ },
8042
+ {
8043
+ "disabled": false,
8044
+ "document": "vhost名,用于查询过滤,不传则查询全部",
8045
+ "example": "tdmq_data",
8046
+ "member": "string",
8047
+ "name": "VirtualHost",
8048
+ "required": false,
8049
+ "type": "string"
8050
+ },
8051
+ {
8052
+ "disabled": false,
8053
+ "document": "分页Offset",
8054
+ "example": "0",
8055
+ "member": "int64",
8056
+ "name": "Offset",
8057
+ "required": false,
8058
+ "type": "int"
8059
+ },
8060
+ {
8061
+ "disabled": false,
8062
+ "document": "分页Limit",
8063
+ "example": "20",
8064
+ "member": "int64",
8065
+ "name": "Limit",
8066
+ "required": false,
8067
+ "type": "int"
8068
+ }
8069
+ ],
8070
+ "type": "object"
8071
+ },
8072
+ "DescribeRabbitMQPermissionResponse": {
8073
+ "document": "DescribeRabbitMQPermission返回参数结构体",
8074
+ "members": [
8075
+ {
8076
+ "disabled": false,
8077
+ "document": "返回权限数量",
8078
+ "example": "1",
8079
+ "member": "int64",
8080
+ "name": "TotalCount",
8081
+ "output_required": true,
8082
+ "type": "int",
8083
+ "value_allowed_null": false
8084
+ },
8085
+ {
8086
+ "disabled": false,
8087
+ "document": "权限详情列表",
8088
+ "example": "无",
8089
+ "member": "RabbitMQPermission",
8090
+ "name": "RabbitMQPermissionList",
8091
+ "output_required": true,
8092
+ "type": "list",
8093
+ "value_allowed_null": false
8094
+ },
8095
+ {
8096
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8097
+ "member": "string",
8098
+ "name": "RequestId",
8099
+ "type": "string"
8100
+ }
8101
+ ],
8102
+ "type": "object"
8103
+ },
7946
8104
  "DescribeRabbitMQQueueDetailRequest": {
7947
8105
  "document": "DescribeRabbitMQQueueDetail请求参数结构体",
7948
8106
  "members": [
@@ -13194,6 +13352,78 @@
13194
13352
  ],
13195
13353
  "type": "object"
13196
13354
  },
13355
+ "ModifyRabbitMQPermissionRequest": {
13356
+ "document": "ModifyRabbitMQPermission请求参数结构体",
13357
+ "members": [
13358
+ {
13359
+ "disabled": false,
13360
+ "document": "集群实例Id",
13361
+ "example": "amqp-jero744g",
13362
+ "member": "string",
13363
+ "name": "InstanceId",
13364
+ "required": true,
13365
+ "type": "string"
13366
+ },
13367
+ {
13368
+ "disabled": false,
13369
+ "document": "用户名,权限关联的用户",
13370
+ "example": "admin",
13371
+ "member": "string",
13372
+ "name": "User",
13373
+ "required": true,
13374
+ "type": "string"
13375
+ },
13376
+ {
13377
+ "disabled": false,
13378
+ "document": "vhost名称",
13379
+ "example": "tdmq_data",
13380
+ "member": "string",
13381
+ "name": "VirtualHost",
13382
+ "required": true,
13383
+ "type": "string"
13384
+ },
13385
+ {
13386
+ "disabled": false,
13387
+ "document": "权限类型,declare相关操作,该用户可操作该vhost下的资源名称正则表达式",
13388
+ "example": ".*",
13389
+ "member": "string",
13390
+ "name": "ConfigRegexp",
13391
+ "required": true,
13392
+ "type": "string"
13393
+ },
13394
+ {
13395
+ "disabled": false,
13396
+ "document": "权限类型,消息写入相关操作,该用户可操作该vhost下的资源名称正则表达式",
13397
+ "example": ".*",
13398
+ "member": "string",
13399
+ "name": "WriteRegexp",
13400
+ "required": true,
13401
+ "type": "string"
13402
+ },
13403
+ {
13404
+ "disabled": false,
13405
+ "document": "权限类型,消息读取相关操作,该用户可操作该vhost下的资源名称正则表达式",
13406
+ "example": ".*",
13407
+ "member": "string",
13408
+ "name": "ReadRegexp",
13409
+ "required": true,
13410
+ "type": "string"
13411
+ }
13412
+ ],
13413
+ "type": "object"
13414
+ },
13415
+ "ModifyRabbitMQPermissionResponse": {
13416
+ "document": "ModifyRabbitMQPermission返回参数结构体",
13417
+ "members": [
13418
+ {
13419
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
13420
+ "member": "string",
13421
+ "name": "RequestId",
13422
+ "type": "string"
13423
+ }
13424
+ ],
13425
+ "type": "object"
13426
+ },
13197
13427
  "ModifyRabbitMQUserRequest": {
13198
13428
  "document": "ModifyRabbitMQUser请求参数结构体",
13199
13429
  "members": [
@@ -14030,6 +14260,15 @@
14030
14260
  "name": "MsgTTL",
14031
14261
  "required": false,
14032
14262
  "type": "int"
14263
+ },
14264
+ {
14265
+ "disabled": false,
14266
+ "document": "不传默认是原生策略,DefaultPolicy表示当订阅下达到最大未确认消息数 5000 时,服务端将不再向当前订阅下的所有消费者推送消息,DynamicPolicy表示动态调整订阅下的最大未确认消息数,具体配额是在 5000 和消费者数量*20之间取最大值。每个消费者默认最大 unack 消息数为 20,超过该限制时仅影响该消费者,不影响其他消费者。",
14267
+ "example": "DefaultPolicy",
14268
+ "member": "string",
14269
+ "name": "UnackPolicy",
14270
+ "required": false,
14271
+ "type": "string"
14033
14272
  }
14034
14273
  ],
14035
14274
  "type": "object"
@@ -15876,6 +16115,92 @@
15876
16115
  ],
15877
16116
  "usage": "out"
15878
16117
  },
16118
+ "RabbitMQPermission": {
16119
+ "document": "RabbitMQ权限详情",
16120
+ "members": [
16121
+ {
16122
+ "disabled": false,
16123
+ "document": "集群实例Id",
16124
+ "example": "amqp-xxx",
16125
+ "member": "string",
16126
+ "name": "InstanceId",
16127
+ "output_required": true,
16128
+ "type": "string",
16129
+ "value_allowed_null": false
16130
+ },
16131
+ {
16132
+ "disabled": false,
16133
+ "document": "用户名,权限关联的用户",
16134
+ "example": "test_user",
16135
+ "member": "string",
16136
+ "name": "User",
16137
+ "output_required": true,
16138
+ "type": "string",
16139
+ "value_allowed_null": false
16140
+ },
16141
+ {
16142
+ "disabled": false,
16143
+ "document": "vhost名",
16144
+ "example": "testVhost",
16145
+ "member": "string",
16146
+ "name": "VirtualHost",
16147
+ "output_required": true,
16148
+ "type": "string",
16149
+ "value_allowed_null": false
16150
+ },
16151
+ {
16152
+ "disabled": false,
16153
+ "document": "权限类型,declare相关操作,该用户可操作该vhost下的资源名称正则表达式\n注意:此字段可能返回 null,表示取不到有效值。",
16154
+ "example": ".*",
16155
+ "member": "string",
16156
+ "name": "ConfigRegexp",
16157
+ "output_required": true,
16158
+ "type": "string",
16159
+ "value_allowed_null": true
16160
+ },
16161
+ {
16162
+ "disabled": false,
16163
+ "document": "权限类型,消息写入相关操作,该用户可操作该vhost下的资源名称正则表达式\n注意:此字段可能返回 null,表示取不到有效值。",
16164
+ "example": ".*",
16165
+ "member": "string",
16166
+ "name": "WriteRegexp",
16167
+ "output_required": true,
16168
+ "type": "string",
16169
+ "value_allowed_null": true
16170
+ },
16171
+ {
16172
+ "disabled": false,
16173
+ "document": "权限类型,消息读取相关操作,该用户可操作该vhost下的资源名称正则表达式\n注意:此字段可能返回 null,表示取不到有效值。",
16174
+ "example": ".*",
16175
+ "member": "string",
16176
+ "name": "ReadRegexp",
16177
+ "output_required": true,
16178
+ "type": "string",
16179
+ "value_allowed_null": true
16180
+ },
16181
+ {
16182
+ "disabled": false,
16183
+ "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
16184
+ "example": "2023-08-29 14:06:38.067",
16185
+ "member": "string",
16186
+ "name": "CreateTime",
16187
+ "output_required": false,
16188
+ "type": "string",
16189
+ "value_allowed_null": true
16190
+ },
16191
+ {
16192
+ "disabled": false,
16193
+ "document": "修改时间\n注意:此字段可能返回 null,表示取不到有效值。",
16194
+ "example": "2023-08-29 14:06:38.067",
16195
+ "member": "string",
16196
+ "name": "ModifyTime",
16197
+ "output_required": false,
16198
+ "type": "string",
16199
+ "value_allowed_null": true
16200
+ }
16201
+ ],
16202
+ "usage": "out"
16203
+ },
15879
16204
  "RabbitMQPrivateNode": {
15880
16205
  "document": "RabbitMQ节点信息",
15881
16206
  "members": [
@@ -262,6 +262,14 @@
262
262
  "title": "解绑RabbitMQ路由关系"
263
263
  }
264
264
  ],
265
+ "DeleteRabbitMQPermission": [
266
+ {
267
+ "document": "-",
268
+ "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQVhost\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\",\n \"User\": \"test_user\",\n \"VirtualHost\": \"/\"\n}",
269
+ "output": "{\n \"Response\": {\n \"RequestId\": \"b7bd149f-06e1-40ad-82cb-9f0500b5194c\"\n }\n}",
270
+ "title": "删除RabbitMQ权限"
271
+ }
272
+ ],
265
273
  "DeleteRabbitMQUser": [
266
274
  {
267
275
  "document": "-",
@@ -574,6 +582,14 @@
574
582
  "title": "RabbitMQ专享版查询节点列表"
575
583
  }
576
584
  ],
585
+ "DescribeRabbitMQPermission": [
586
+ {
587
+ "document": "-",
588
+ "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRabbitMQPermission\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-jero744g\"\n}",
589
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RabbitMQPermissionList\": [\n {\n \"InstanceId\": \"amqp-jero744g\",\n \"User\": \"admin\",\n \"VirtualHost\": \"tdmq_data\",\n \"ConfigRegexp\": \".*\",\n \"WriteRegexp\": \".*\",\n \"ReadRegexp\": \".*\",\n \"CreateTime\": \"2022-12-16 11:19:56\",\n \"ModifyTime\": \"2022-12-16 11:29:56\"\n }\n ],\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
590
+ "title": "查询RabbitMQ权限列表"
591
+ }
592
+ ],
577
593
  "DescribeRabbitMQQueueDetail": [
578
594
  {
579
595
  "document": "",
@@ -976,6 +992,14 @@
976
992
  "title": "示例"
977
993
  }
978
994
  ],
995
+ "ModifyRabbitMQPermission": [
996
+ {
997
+ "document": "-",
998
+ "input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRabbitMQPermission\n<公共请求参数>\n\n{\n \"InstanceId\": \"amqp-44w9928j\",\n \"User\": \"admin\",\n \"VirtualHost\": \"tdmq_data\",\n \"ConfigRegexp\": \".*\",\n \"WriteRegexp\": \".*\",\n \"ReadRegexp\": \".*\"\n}",
999
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\"\n }\n}",
1000
+ "title": "修改RabbitMQ权限"
1001
+ }
1002
+ ],
979
1003
  "ModifyRabbitMQUser": [
980
1004
  {
981
1005
  "document": "-",