tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/advisor/v20200721/models.py +0 -26
  3. tencentcloud/ams/v20201229/ams_client.py +17 -6
  4. tencentcloud/ams/v20201229/models.py +8 -6
  5. tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
  6. tencentcloud/antiddos/v20200309/models.py +44 -837
  7. tencentcloud/apm/v20210622/models.py +60 -60
  8. tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
  9. tencentcloud/autoscaling/v20180419/models.py +352 -210
  10. tencentcloud/batch/v20170312/batch_client.py +0 -46
  11. tencentcloud/batch/v20170312/errorcodes.py +0 -9
  12. tencentcloud/batch/v20170312/models.py +44 -1179
  13. tencentcloud/bh/v20230418/bh_client.py +253 -0
  14. tencentcloud/bh/v20230418/errorcodes.py +15 -0
  15. tencentcloud/bh/v20230418/models.py +3489 -1335
  16. tencentcloud/bi/v20220105/models.py +242 -2
  17. tencentcloud/billing/v20180709/billing_client.py +0 -23
  18. tencentcloud/billing/v20180709/models.py +34 -926
  19. tencentcloud/bpaas/v20181217/models.py +0 -54
  20. tencentcloud/cam/v20190116/errorcodes.py +3 -0
  21. tencentcloud/cam/v20190116/models.py +2 -86
  22. tencentcloud/captcha/v20190722/models.py +21 -54
  23. tencentcloud/cat/v20180409/cat_client.py +23 -0
  24. tencentcloud/cat/v20180409/models.py +509 -0
  25. tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  26. tencentcloud/cbs/v20170312/models.py +75 -96
  27. tencentcloud/ccc/v20200210/ccc_client.py +184 -0
  28. tencentcloud/ccc/v20200210/errorcodes.py +12 -0
  29. tencentcloud/ccc/v20200210/models.py +2552 -1026
  30. tencentcloud/cdb/v20170320/cdb_client.py +27 -4
  31. tencentcloud/cdb/v20170320/models.py +180 -20
  32. tencentcloud/cdc/v20201214/cdc_client.py +46 -0
  33. tencentcloud/cdc/v20201214/errorcodes.py +18 -0
  34. tencentcloud/cdc/v20201214/models.py +202 -86
  35. tencentcloud/cdn/v20180606/cdn_client.py +70 -24
  36. tencentcloud/cdn/v20180606/models.py +19 -50
  37. tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
  38. tencentcloud/cdwch/v20200915/models.py +242 -260
  39. tencentcloud/cdwdoris/v20211228/models.py +330 -0
  40. tencentcloud/cdwpg/v20201230/models.py +196 -516
  41. tencentcloud/cdz/v20221123/models.py +0 -12
  42. tencentcloud/cfg/v20210820/models.py +30 -198
  43. tencentcloud/cfs/v20190719/errorcodes.py +3 -0
  44. tencentcloud/cfs/v20190719/models.py +15 -0
  45. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  46. tencentcloud/cfw/v20190904/models.py +331 -4
  47. tencentcloud/chc/__init__.py +0 -0
  48. tencentcloud/chc/v20230418/__init__.py +0 -0
  49. tencentcloud/chc/v20230418/chc_client.py +877 -0
  50. tencentcloud/chc/v20230418/errorcodes.py +15 -0
  51. tencentcloud/chc/v20230418/models.py +10146 -0
  52. tencentcloud/chdfs/v20201112/models.py +2 -2
  53. tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
  54. tencentcloud/ckafka/v20190819/models.py +371 -1230
  55. tencentcloud/clb/v20180317/clb_client.py +3 -3
  56. tencentcloud/clb/v20180317/models.py +395 -406
  57. tencentcloud/cls/v20201016/cls_client.py +41 -18
  58. tencentcloud/cls/v20201016/models.py +256 -606
  59. tencentcloud/cme/v20191029/cme_client.py +0 -1
  60. tencentcloud/cme/v20191029/errorcodes.py +3 -0
  61. tencentcloud/cme/v20191029/models.py +10 -14
  62. tencentcloud/cmq/v20190304/models.py +0 -90
  63. tencentcloud/common/abstract_client.py +29 -24
  64. tencentcloud/common/abstract_model.py +5 -1
  65. tencentcloud/common/common_client.py +14 -15
  66. tencentcloud/common/credential.py +68 -65
  67. tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
  68. tencentcloud/common/profile/client_profile.py +32 -30
  69. tencentcloud/common/profile/http_profile.py +20 -12
  70. tencentcloud/common/retry.py +18 -0
  71. tencentcloud/controlcenter/v20230110/models.py +0 -58
  72. tencentcloud/cvm/v20170312/cvm_client.py +42 -10
  73. tencentcloud/cvm/v20170312/errorcodes.py +25 -1
  74. tencentcloud/cvm/v20170312/models.py +835 -290
  75. tencentcloud/cwp/v20180228/cwp_client.py +1 -1
  76. tencentcloud/cwp/v20180228/models.py +362 -58
  77. tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
  78. tencentcloud/cynosdb/v20190107/models.py +451 -824
  79. tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
  80. tencentcloud/dbbrain/v20191016/models.py +605 -52
  81. tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
  82. tencentcloud/dbbrain/v20210527/models.py +6071 -2974
  83. tencentcloud/dbdc/v20201029/models.py +0 -16
  84. tencentcloud/dc/v20180410/models.py +25 -12
  85. tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
  86. tencentcloud/dcdb/v20180411/models.py +175 -114
  87. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  88. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  89. tencentcloud/dlc/v20210125/models.py +1217 -592
  90. tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
  91. tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
  92. tencentcloud/dnspod/v20210323/models.py +718 -110
  93. tencentcloud/domain/v20180808/domain_client.py +4 -2
  94. tencentcloud/domain/v20180808/errorcodes.py +3 -0
  95. tencentcloud/domain/v20180808/models.py +628 -324
  96. tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
  97. tencentcloud/dsgc/v20190723/models.py +53 -34
  98. tencentcloud/dts/v20180330/models.py +0 -10
  99. tencentcloud/dts/v20211206/models.py +118 -585
  100. tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
  101. tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
  102. tencentcloud/ecdn/v20191012/models.py +4 -1047
  103. tencentcloud/emr/v20190103/emr_client.py +47 -1
  104. tencentcloud/emr/v20190103/models.py +1174 -146
  105. tencentcloud/es/v20180416/errorcodes.py +3 -0
  106. tencentcloud/es/v20180416/models.py +74 -6
  107. tencentcloud/es/v20250101/__init__.py +0 -0
  108. tencentcloud/es/v20250101/errorcodes.py +45 -0
  109. tencentcloud/es/v20250101/es_client.py +251 -0
  110. tencentcloud/es/v20250101/models.py +2519 -0
  111. tencentcloud/ess/v20201111/ess_client.py +43 -5
  112. tencentcloud/ess/v20201111/models.py +854 -60
  113. tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
  114. tencentcloud/essbasic/v20210526/models.py +726 -43
  115. tencentcloud/facefusion/v20220927/models.py +4 -2
  116. tencentcloud/fmu/v20191213/errorcodes.py +3 -21
  117. tencentcloud/fmu/v20191213/fmu_client.py +0 -75
  118. tencentcloud/fmu/v20191213/models.py +4 -531
  119. tencentcloud/gaap/v20180529/gaap_client.py +1 -1
  120. tencentcloud/gaap/v20180529/models.py +2 -276
  121. tencentcloud/goosefs/v20220519/models.py +0 -2
  122. tencentcloud/gs/v20191118/errorcodes.py +36 -0
  123. tencentcloud/gs/v20191118/gs_client.py +1074 -12
  124. tencentcloud/gs/v20191118/models.py +6976 -492
  125. tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
  126. tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
  127. tencentcloud/gwlb/v20240906/models.py +94 -84
  128. tencentcloud/hai/v20230812/errorcodes.py +7 -1
  129. tencentcloud/hai/v20230812/hai_client.py +23 -0
  130. tencentcloud/hai/v20230812/models.py +111 -136
  131. tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
  132. tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
  133. tencentcloud/hunyuan/v20230901/models.py +1089 -119
  134. tencentcloud/ims/v20201229/models.py +25 -4
  135. tencentcloud/ioa/v20220601/ioa_client.py +92 -0
  136. tencentcloud/ioa/v20220601/models.py +1136 -225
  137. tencentcloud/iotcloud/v20210408/models.py +2 -4
  138. tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
  139. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
  140. tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
  141. tencentcloud/iotvideo/v20191126/models.py +0 -4
  142. tencentcloud/iotvideo/v20201215/models.py +17 -0
  143. tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
  144. tencentcloud/iotvideo/v20211125/models.py +476 -0
  145. tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
  146. tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
  147. tencentcloud/iss/v20230517/errorcodes.py +9 -0
  148. tencentcloud/iss/v20230517/iss_client.py +161 -0
  149. tencentcloud/iss/v20230517/models.py +1716 -743
  150. tencentcloud/kms/v20190118/models.py +101 -0
  151. tencentcloud/lcic/v20220817/errorcodes.py +2 -2
  152. tencentcloud/lcic/v20220817/lcic_client.py +47 -1
  153. tencentcloud/lcic/v20220817/models.py +357 -72
  154. tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
  155. tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
  156. tencentcloud/lighthouse/v20200324/models.py +237 -259
  157. tencentcloud/live/v20180801/models.py +61 -46
  158. tencentcloud/lke/v20231130/errorcodes.py +3 -0
  159. tencentcloud/lke/v20231130/lke_client.py +8 -29
  160. tencentcloud/lke/v20231130/models.py +561 -115
  161. tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
  162. tencentcloud/lkeap/v20240522/models.py +290 -18
  163. tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
  164. tencentcloud/lowcode/v20210108/models.py +0 -2
  165. tencentcloud/mariadb/v20170312/models.py +155 -140
  166. tencentcloud/memcached/v20190318/models.py +2 -2
  167. tencentcloud/mmps/v20200710/models.py +0 -66
  168. tencentcloud/mna/v20210119/errorcodes.py +0 -36
  169. tencentcloud/mna/v20210119/mna_client.py +0 -75
  170. tencentcloud/mna/v20210119/models.py +0 -1002
  171. tencentcloud/mongodb/v20190725/models.py +115 -6
  172. tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
  173. tencentcloud/monitor/v20180724/errorcodes.py +3 -0
  174. tencentcloud/monitor/v20180724/models.py +1055 -74
  175. tencentcloud/monitor/v20180724/monitor_client.py +94 -2
  176. tencentcloud/mps/v20190612/errorcodes.py +36 -0
  177. tencentcloud/mps/v20190612/models.py +4866 -448
  178. tencentcloud/mps/v20190612/mps_client.py +208 -0
  179. tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
  180. tencentcloud/mqtt/v20240516/models.py +705 -372
  181. tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
  182. tencentcloud/oceanus/v20190422/models.py +14 -2
  183. tencentcloud/ocr/v20181119/errorcodes.py +0 -12
  184. tencentcloud/ocr/v20181119/models.py +311 -1042
  185. tencentcloud/ocr/v20181119/ocr_client.py +5 -102
  186. tencentcloud/organization/v20210331/errorcodes.py +3 -0
  187. tencentcloud/organization/v20210331/models.py +45 -82
  188. tencentcloud/partners/v20180321/models.py +169 -0
  189. tencentcloud/partners/v20180321/partners_client.py +23 -0
  190. tencentcloud/postgres/v20170312/models.py +36 -328
  191. tencentcloud/postgres/v20170312/postgres_client.py +15 -5
  192. tencentcloud/privatedns/v20201028/models.py +36 -28
  193. tencentcloud/rce/v20201103/models.py +0 -15
  194. tencentcloud/redis/v20180412/models.py +233 -18
  195. tencentcloud/redis/v20180412/redis_client.py +23 -0
  196. tencentcloud/rum/v20210622/models.py +0 -2
  197. tencentcloud/ses/v20201002/models.py +32 -4
  198. tencentcloud/smop/v20201203/smop_client.py +3 -1
  199. tencentcloud/soe/v20180724/models.py +4 -2
  200. tencentcloud/sqlserver/v20180328/models.py +75 -0
  201. tencentcloud/ssl/v20191205/models.py +7 -319
  202. tencentcloud/ssm/v20190923/models.py +45 -0
  203. tencentcloud/sts/v20180813/errorcodes.py +9 -0
  204. tencentcloud/sts/v20180813/models.py +171 -0
  205. tencentcloud/sts/v20180813/sts_client.py +23 -0
  206. tencentcloud/svp/v20240125/errorcodes.py +3 -0
  207. tencentcloud/svp/v20240125/models.py +506 -44
  208. tencentcloud/svp/v20240125/svp_client.py +23 -0
  209. tencentcloud/tan/v20220420/tan_client.py +3 -1
  210. tencentcloud/tat/v20201028/errorcodes.py +12 -0
  211. tencentcloud/tat/v20201028/models.py +138 -42
  212. tencentcloud/tbaas/v20180416/models.py +0 -58
  213. tencentcloud/tcb/v20180608/errorcodes.py +3 -0
  214. tencentcloud/tcb/v20180608/models.py +189 -582
  215. tencentcloud/tcb/v20180608/tcb_client.py +23 -23
  216. tencentcloud/tcbr/v20220217/models.py +45 -0
  217. tencentcloud/tchd/v20230306/models.py +166 -0
  218. tencentcloud/tchd/v20230306/tchd_client.py +24 -0
  219. tencentcloud/tcr/v20190924/models.py +44 -174
  220. tencentcloud/tcss/v20201101/models.py +1458 -2066
  221. tencentcloud/tcss/v20201101/tcss_client.py +92 -125
  222. tencentcloud/tdid/v20210519/models.py +0 -10
  223. tencentcloud/tdmq/v20200217/models.py +405 -575
  224. tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
  225. tencentcloud/tds/v20220801/models.py +441 -0
  226. tencentcloud/tds/v20220801/tds_client.py +23 -0
  227. tencentcloud/tem/v20210701/models.py +0 -498
  228. tencentcloud/teo/v20220106/teo_client.py +6 -2
  229. tencentcloud/teo/v20220901/errorcodes.py +9 -0
  230. tencentcloud/teo/v20220901/models.py +1828 -472
  231. tencentcloud/teo/v20220901/teo_client.py +54 -4
  232. tencentcloud/thpc/v20211109/models.py +0 -6
  233. tencentcloud/thpc/v20220401/models.py +0 -14
  234. tencentcloud/thpc/v20230321/models.py +64 -52
  235. tencentcloud/tione/v20211111/errorcodes.py +114 -0
  236. tencentcloud/tione/v20211111/models.py +2288 -160
  237. tencentcloud/tione/v20211111/tione_client.py +138 -0
  238. tencentcloud/tiw/v20190919/errorcodes.py +3 -24
  239. tencentcloud/tiw/v20190919/models.py +3657 -8172
  240. tencentcloud/tiw/v20190919/tiw_client.py +1 -580
  241. tencentcloud/tke/v20180525/models.py +705 -721
  242. tencentcloud/tke/v20180525/tke_client.py +23 -0
  243. tencentcloud/tke/v20220501/models.py +0 -34
  244. tencentcloud/trocket/v20230308/models.py +1630 -160
  245. tencentcloud/trocket/v20230308/trocket_client.py +238 -0
  246. tencentcloud/trro/v20220325/models.py +1132 -44
  247. tencentcloud/trro/v20220325/trro_client.py +142 -0
  248. tencentcloud/trtc/v20190722/models.py +94 -90
  249. tencentcloud/trtc/v20190722/trtc_client.py +4 -0
  250. tencentcloud/tse/v20201207/models.py +90 -1010
  251. tencentcloud/tsf/v20180326/errorcodes.py +6 -0
  252. tencentcloud/tsf/v20180326/models.py +350 -582
  253. tencentcloud/tsf/v20180326/tsf_client.py +26 -1
  254. tencentcloud/tts/v20190823/models.py +15 -15
  255. tencentcloud/tts/v20190823/tts_client.py +6 -5
  256. tencentcloud/vclm/v20240523/models.py +2 -2
  257. tencentcloud/vcube/v20220410/models.py +66 -158
  258. tencentcloud/vcube/v20220410/vcube_client.py +2 -2
  259. tencentcloud/vdb/v20230616/models.py +1487 -29
  260. tencentcloud/vdb/v20230616/vdb_client.py +185 -1
  261. tencentcloud/vm/v20210922/models.py +2 -2
  262. tencentcloud/vm/v20210922/vm_client.py +16 -8
  263. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  264. tencentcloud/vod/v20180717/models.py +106 -417
  265. tencentcloud/vod/v20180717/vod_client.py +2 -1
  266. tencentcloud/vod/v20240718/errorcodes.py +33 -0
  267. tencentcloud/vod/v20240718/models.py +1839 -0
  268. tencentcloud/vod/v20240718/vod_client.py +146 -0
  269. tencentcloud/vpc/v20170312/errorcodes.py +12 -0
  270. tencentcloud/vpc/v20170312/models.py +2052 -519
  271. tencentcloud/vpc/v20170312/vpc_client.py +229 -11
  272. tencentcloud/vrs/v20200824/models.py +49 -0
  273. tencentcloud/waf/v20180125/errorcodes.py +9 -0
  274. tencentcloud/waf/v20180125/models.py +4191 -0
  275. tencentcloud/waf/v20180125/waf_client.py +276 -0
  276. tencentcloud/wedata/v20210820/models.py +5404 -394
  277. tencentcloud/wedata/v20210820/wedata_client.py +161 -0
  278. tencentcloud/weilingwith/v20230427/models.py +0 -964
  279. tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
  280. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
  281. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
  282. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
  283. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
  284. {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,120 @@ import warnings
18
18
  from tencentcloud.common.abstract_model import AbstractModel
19
19
 
20
20
 
21
+ class ChangeMigratingTopicToNextStageRequest(AbstractModel):
22
+ """ChangeMigratingTopicToNextStage请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _TaskId: 任务ID
29
+ :type TaskId: str
30
+ :param _TopicNameList: 主题名称列表
31
+ :type TopicNameList: list of str
32
+ :param _NamespaceList: 命名空间列表,仅4.x集群有效,与TopicNameList一一对应
33
+ :type NamespaceList: list of str
34
+ """
35
+ self._TaskId = None
36
+ self._TopicNameList = None
37
+ self._NamespaceList = None
38
+
39
+ @property
40
+ def TaskId(self):
41
+ """任务ID
42
+ :rtype: str
43
+ """
44
+ return self._TaskId
45
+
46
+ @TaskId.setter
47
+ def TaskId(self, TaskId):
48
+ self._TaskId = TaskId
49
+
50
+ @property
51
+ def TopicNameList(self):
52
+ """主题名称列表
53
+ :rtype: list of str
54
+ """
55
+ return self._TopicNameList
56
+
57
+ @TopicNameList.setter
58
+ def TopicNameList(self, TopicNameList):
59
+ self._TopicNameList = TopicNameList
60
+
61
+ @property
62
+ def NamespaceList(self):
63
+ """命名空间列表,仅4.x集群有效,与TopicNameList一一对应
64
+ :rtype: list of str
65
+ """
66
+ return self._NamespaceList
67
+
68
+ @NamespaceList.setter
69
+ def NamespaceList(self, NamespaceList):
70
+ self._NamespaceList = NamespaceList
71
+
72
+
73
+ def _deserialize(self, params):
74
+ self._TaskId = params.get("TaskId")
75
+ self._TopicNameList = params.get("TopicNameList")
76
+ self._NamespaceList = params.get("NamespaceList")
77
+ memeber_set = set(params.keys())
78
+ for name, value in vars(self).items():
79
+ property_name = name[1:]
80
+ if property_name in memeber_set:
81
+ memeber_set.remove(property_name)
82
+ if len(memeber_set) > 0:
83
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
84
+
85
+
86
+
87
+ class ChangeMigratingTopicToNextStageResponse(AbstractModel):
88
+ """ChangeMigratingTopicToNextStage返回参数结构体
89
+
90
+ """
91
+
92
+ def __init__(self):
93
+ r"""
94
+ :param _Results: 迁移主题状态修改的结果列表
95
+ :type Results: list of TopicStageChangeResult
96
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
97
+ :type RequestId: str
98
+ """
99
+ self._Results = None
100
+ self._RequestId = None
101
+
102
+ @property
103
+ def Results(self):
104
+ """迁移主题状态修改的结果列表
105
+ :rtype: list of TopicStageChangeResult
106
+ """
107
+ return self._Results
108
+
109
+ @Results.setter
110
+ def Results(self, Results):
111
+ self._Results = Results
112
+
113
+ @property
114
+ def RequestId(self):
115
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
116
+ :rtype: str
117
+ """
118
+ return self._RequestId
119
+
120
+ @RequestId.setter
121
+ def RequestId(self, RequestId):
122
+ self._RequestId = RequestId
123
+
124
+
125
+ def _deserialize(self, params):
126
+ if params.get("Results") is not None:
127
+ self._Results = []
128
+ for item in params.get("Results"):
129
+ obj = TopicStageChangeResult()
130
+ obj._deserialize(item)
131
+ self._Results.append(obj)
132
+ self._RequestId = params.get("RequestId")
133
+
134
+
21
135
  class ConsumeGroupItem(AbstractModel):
22
136
  """消费组信息
23
137
 
@@ -217,12 +331,15 @@ class ConsumerClient(AbstractModel):
217
331
  :param _ConsumerLag: 客户端消费堆积
218
332
  注意:此字段可能返回 null,表示取不到有效值。
219
333
  :type ConsumerLag: int
334
+ :param _ChannelProtocol: 消费者客户端类型(grpc;remoting;http)
335
+ :type ChannelProtocol: str
220
336
  """
221
337
  self._ClientId = None
222
338
  self._ClientAddr = None
223
339
  self._Language = None
224
340
  self._Version = None
225
341
  self._ConsumerLag = None
342
+ self._ChannelProtocol = None
226
343
 
227
344
  @property
228
345
  def ClientId(self):
@@ -280,6 +397,17 @@ class ConsumerClient(AbstractModel):
280
397
  def ConsumerLag(self, ConsumerLag):
281
398
  self._ConsumerLag = ConsumerLag
282
399
 
400
+ @property
401
+ def ChannelProtocol(self):
402
+ """消费者客户端类型(grpc;remoting;http)
403
+ :rtype: str
404
+ """
405
+ return self._ChannelProtocol
406
+
407
+ @ChannelProtocol.setter
408
+ def ChannelProtocol(self, ChannelProtocol):
409
+ self._ChannelProtocol = ChannelProtocol
410
+
283
411
 
284
412
  def _deserialize(self, params):
285
413
  self._ClientId = params.get("ClientId")
@@ -287,6 +415,7 @@ class ConsumerClient(AbstractModel):
287
415
  self._Language = params.get("Language")
288
416
  self._Version = params.get("Version")
289
417
  self._ConsumerLag = params.get("ConsumerLag")
418
+ self._ChannelProtocol = params.get("ChannelProtocol")
290
419
  memeber_set = set(params.keys())
291
420
  for name, value in vars(self).items():
292
421
  property_name = name[1:]
@@ -2327,6 +2456,70 @@ class DeleteRoleResponse(AbstractModel):
2327
2456
  self._RequestId = params.get("RequestId")
2328
2457
 
2329
2458
 
2459
+ class DeleteSmoothMigrationTaskRequest(AbstractModel):
2460
+ """DeleteSmoothMigrationTask请求参数结构体
2461
+
2462
+ """
2463
+
2464
+ def __init__(self):
2465
+ r"""
2466
+ :param _TaskId: 任务ID
2467
+ :type TaskId: str
2468
+ """
2469
+ self._TaskId = None
2470
+
2471
+ @property
2472
+ def TaskId(self):
2473
+ """任务ID
2474
+ :rtype: str
2475
+ """
2476
+ return self._TaskId
2477
+
2478
+ @TaskId.setter
2479
+ def TaskId(self, TaskId):
2480
+ self._TaskId = TaskId
2481
+
2482
+
2483
+ def _deserialize(self, params):
2484
+ self._TaskId = params.get("TaskId")
2485
+ memeber_set = set(params.keys())
2486
+ for name, value in vars(self).items():
2487
+ property_name = name[1:]
2488
+ if property_name in memeber_set:
2489
+ memeber_set.remove(property_name)
2490
+ if len(memeber_set) > 0:
2491
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2492
+
2493
+
2494
+
2495
+ class DeleteSmoothMigrationTaskResponse(AbstractModel):
2496
+ """DeleteSmoothMigrationTask返回参数结构体
2497
+
2498
+ """
2499
+
2500
+ def __init__(self):
2501
+ r"""
2502
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2503
+ :type RequestId: str
2504
+ """
2505
+ self._RequestId = None
2506
+
2507
+ @property
2508
+ def RequestId(self):
2509
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2510
+ :rtype: str
2511
+ """
2512
+ return self._RequestId
2513
+
2514
+ @RequestId.setter
2515
+ def RequestId(self, RequestId):
2516
+ self._RequestId = RequestId
2517
+
2518
+
2519
+ def _deserialize(self, params):
2520
+ self._RequestId = params.get("RequestId")
2521
+
2522
+
2330
2523
  class DeleteTopicRequest(AbstractModel):
2331
2524
  """DeleteTopic请求参数结构体
2332
2525
 
@@ -6673,39 +6866,139 @@ class DescribeMessageTraceResponse(AbstractModel):
6673
6866
  self._RequestId = params.get("RequestId")
6674
6867
 
6675
6868
 
6676
- class DescribeProductSKUsRequest(AbstractModel):
6677
- """DescribeProductSKUs请求参数结构体
6869
+ class DescribeMigratingGroupStatsRequest(AbstractModel):
6870
+ """DescribeMigratingGroupStats请求参数结构体
6678
6871
 
6679
6872
  """
6680
6873
 
6874
+ def __init__(self):
6875
+ r"""
6876
+ :param _TaskId: 迁移任务ID
6877
+ :type TaskId: str
6878
+ :param _GroupName: 消费组名称
6879
+ :type GroupName: str
6880
+ :param _Namespace: 命名空间
6881
+ :type Namespace: str
6882
+ """
6883
+ self._TaskId = None
6884
+ self._GroupName = None
6885
+ self._Namespace = None
6886
+
6887
+ @property
6888
+ def TaskId(self):
6889
+ """迁移任务ID
6890
+ :rtype: str
6891
+ """
6892
+ return self._TaskId
6681
6893
 
6682
- class DescribeProductSKUsResponse(AbstractModel):
6683
- """DescribeProductSKUs返回参数结构体
6894
+ @TaskId.setter
6895
+ def TaskId(self, TaskId):
6896
+ self._TaskId = TaskId
6897
+
6898
+ @property
6899
+ def GroupName(self):
6900
+ """消费组名称
6901
+ :rtype: str
6902
+ """
6903
+ return self._GroupName
6904
+
6905
+ @GroupName.setter
6906
+ def GroupName(self, GroupName):
6907
+ self._GroupName = GroupName
6908
+
6909
+ @property
6910
+ def Namespace(self):
6911
+ """命名空间
6912
+ :rtype: str
6913
+ """
6914
+ return self._Namespace
6915
+
6916
+ @Namespace.setter
6917
+ def Namespace(self, Namespace):
6918
+ self._Namespace = Namespace
6919
+
6920
+
6921
+ def _deserialize(self, params):
6922
+ self._TaskId = params.get("TaskId")
6923
+ self._GroupName = params.get("GroupName")
6924
+ self._Namespace = params.get("Namespace")
6925
+ memeber_set = set(params.keys())
6926
+ for name, value in vars(self).items():
6927
+ property_name = name[1:]
6928
+ if property_name in memeber_set:
6929
+ memeber_set.remove(property_name)
6930
+ if len(memeber_set) > 0:
6931
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6932
+
6933
+
6934
+
6935
+ class DescribeMigratingGroupStatsResponse(AbstractModel):
6936
+ """DescribeMigratingGroupStats返回参数结构体
6684
6937
 
6685
6938
  """
6686
6939
 
6687
6940
  def __init__(self):
6688
6941
  r"""
6689
- :param _Data: 商品配置信息
6690
- 注意:此字段可能返回 null,表示取不到有效值。
6691
- :type Data: list of ProductSKU
6942
+ :param _SourceConsumeLag: 源集群消费组堆积
6943
+ :type SourceConsumeLag: int
6944
+ :param _TargetConsumeLag: 目标集群消费组堆积
6945
+ :type TargetConsumeLag: int
6946
+ :param _SourceConsumerClients: 源集群连接客户端列表
6947
+ :type SourceConsumerClients: list of ConsumerClient
6948
+ :param _TargetConsumerClients: 目标集群连接客户端列表
6949
+ :type TargetConsumerClients: list of ConsumerClient
6692
6950
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6693
6951
  :type RequestId: str
6694
6952
  """
6695
- self._Data = None
6953
+ self._SourceConsumeLag = None
6954
+ self._TargetConsumeLag = None
6955
+ self._SourceConsumerClients = None
6956
+ self._TargetConsumerClients = None
6696
6957
  self._RequestId = None
6697
6958
 
6698
6959
  @property
6699
- def Data(self):
6700
- """商品配置信息
6701
- 注意:此字段可能返回 null,表示取不到有效值。
6702
- :rtype: list of ProductSKU
6960
+ def SourceConsumeLag(self):
6961
+ """源集群消费组堆积
6962
+ :rtype: int
6703
6963
  """
6704
- return self._Data
6964
+ return self._SourceConsumeLag
6705
6965
 
6706
- @Data.setter
6707
- def Data(self, Data):
6708
- self._Data = Data
6966
+ @SourceConsumeLag.setter
6967
+ def SourceConsumeLag(self, SourceConsumeLag):
6968
+ self._SourceConsumeLag = SourceConsumeLag
6969
+
6970
+ @property
6971
+ def TargetConsumeLag(self):
6972
+ """目标集群消费组堆积
6973
+ :rtype: int
6974
+ """
6975
+ return self._TargetConsumeLag
6976
+
6977
+ @TargetConsumeLag.setter
6978
+ def TargetConsumeLag(self, TargetConsumeLag):
6979
+ self._TargetConsumeLag = TargetConsumeLag
6980
+
6981
+ @property
6982
+ def SourceConsumerClients(self):
6983
+ """源集群连接客户端列表
6984
+ :rtype: list of ConsumerClient
6985
+ """
6986
+ return self._SourceConsumerClients
6987
+
6988
+ @SourceConsumerClients.setter
6989
+ def SourceConsumerClients(self, SourceConsumerClients):
6990
+ self._SourceConsumerClients = SourceConsumerClients
6991
+
6992
+ @property
6993
+ def TargetConsumerClients(self):
6994
+ """目标集群连接客户端列表
6995
+ :rtype: list of ConsumerClient
6996
+ """
6997
+ return self._TargetConsumerClients
6998
+
6999
+ @TargetConsumerClients.setter
7000
+ def TargetConsumerClients(self, TargetConsumerClients):
7001
+ self._TargetConsumerClients = TargetConsumerClients
6709
7002
 
6710
7003
  @property
6711
7004
  def RequestId(self):
@@ -6720,46 +7013,413 @@ class DescribeProductSKUsResponse(AbstractModel):
6720
7013
 
6721
7014
 
6722
7015
  def _deserialize(self, params):
6723
- if params.get("Data") is not None:
6724
- self._Data = []
6725
- for item in params.get("Data"):
6726
- obj = ProductSKU()
7016
+ self._SourceConsumeLag = params.get("SourceConsumeLag")
7017
+ self._TargetConsumeLag = params.get("TargetConsumeLag")
7018
+ if params.get("SourceConsumerClients") is not None:
7019
+ self._SourceConsumerClients = []
7020
+ for item in params.get("SourceConsumerClients"):
7021
+ obj = ConsumerClient()
6727
7022
  obj._deserialize(item)
6728
- self._Data.append(obj)
7023
+ self._SourceConsumerClients.append(obj)
7024
+ if params.get("TargetConsumerClients") is not None:
7025
+ self._TargetConsumerClients = []
7026
+ for item in params.get("TargetConsumerClients"):
7027
+ obj = ConsumerClient()
7028
+ obj._deserialize(item)
7029
+ self._TargetConsumerClients.append(obj)
6729
7030
  self._RequestId = params.get("RequestId")
6730
7031
 
6731
7032
 
6732
- class DescribeRoleListRequest(AbstractModel):
6733
- """DescribeRoleList请求参数结构体
7033
+ class DescribeMigratingTopicListRequest(AbstractModel):
7034
+ """DescribeMigratingTopicList请求参数结构体
6734
7035
 
6735
7036
  """
6736
7037
 
6737
7038
  def __init__(self):
6738
7039
  r"""
6739
- :param _InstanceId: 集群ID
6740
- :type InstanceId: str
7040
+ :param _TaskId: 任务ID
7041
+ :type TaskId: str
7042
+ :param _Filters: 查询条件列表
7043
+ :type Filters: list of Filter
6741
7044
  :param _Offset: 查询起始位置
6742
7045
  :type Offset: int
6743
7046
  :param _Limit: 查询结果限制数量
6744
7047
  :type Limit: int
6745
- :param _Filters: 查询条件列表
6746
- :type Filters: list of Filter
6747
7048
  """
6748
- self._InstanceId = None
7049
+ self._TaskId = None
7050
+ self._Filters = None
6749
7051
  self._Offset = None
6750
7052
  self._Limit = None
6751
- self._Filters = None
6752
7053
 
6753
7054
  @property
6754
- def InstanceId(self):
6755
- """集群ID
7055
+ def TaskId(self):
7056
+ """任务ID
6756
7057
  :rtype: str
6757
7058
  """
6758
- return self._InstanceId
6759
-
6760
- @InstanceId.setter
6761
- def InstanceId(self, InstanceId):
6762
- self._InstanceId = InstanceId
7059
+ return self._TaskId
7060
+
7061
+ @TaskId.setter
7062
+ def TaskId(self, TaskId):
7063
+ self._TaskId = TaskId
7064
+
7065
+ @property
7066
+ def Filters(self):
7067
+ """查询条件列表
7068
+ :rtype: list of Filter
7069
+ """
7070
+ return self._Filters
7071
+
7072
+ @Filters.setter
7073
+ def Filters(self, Filters):
7074
+ self._Filters = Filters
7075
+
7076
+ @property
7077
+ def Offset(self):
7078
+ """查询起始位置
7079
+ :rtype: int
7080
+ """
7081
+ return self._Offset
7082
+
7083
+ @Offset.setter
7084
+ def Offset(self, Offset):
7085
+ self._Offset = Offset
7086
+
7087
+ @property
7088
+ def Limit(self):
7089
+ """查询结果限制数量
7090
+ :rtype: int
7091
+ """
7092
+ return self._Limit
7093
+
7094
+ @Limit.setter
7095
+ def Limit(self, Limit):
7096
+ self._Limit = Limit
7097
+
7098
+
7099
+ def _deserialize(self, params):
7100
+ self._TaskId = params.get("TaskId")
7101
+ if params.get("Filters") is not None:
7102
+ self._Filters = []
7103
+ for item in params.get("Filters"):
7104
+ obj = Filter()
7105
+ obj._deserialize(item)
7106
+ self._Filters.append(obj)
7107
+ self._Offset = params.get("Offset")
7108
+ self._Limit = params.get("Limit")
7109
+ memeber_set = set(params.keys())
7110
+ for name, value in vars(self).items():
7111
+ property_name = name[1:]
7112
+ if property_name in memeber_set:
7113
+ memeber_set.remove(property_name)
7114
+ if len(memeber_set) > 0:
7115
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7116
+
7117
+
7118
+
7119
+ class DescribeMigratingTopicListResponse(AbstractModel):
7120
+ """DescribeMigratingTopicList返回参数结构体
7121
+
7122
+ """
7123
+
7124
+ def __init__(self):
7125
+ r"""
7126
+ :param _TotalCount: 查询总数
7127
+ :type TotalCount: int
7128
+ :param _MigrateTopics: 主题列表
7129
+ :type MigrateTopics: list of MigratingTopic
7130
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7131
+ :type RequestId: str
7132
+ """
7133
+ self._TotalCount = None
7134
+ self._MigrateTopics = None
7135
+ self._RequestId = None
7136
+
7137
+ @property
7138
+ def TotalCount(self):
7139
+ """查询总数
7140
+ :rtype: int
7141
+ """
7142
+ return self._TotalCount
7143
+
7144
+ @TotalCount.setter
7145
+ def TotalCount(self, TotalCount):
7146
+ self._TotalCount = TotalCount
7147
+
7148
+ @property
7149
+ def MigrateTopics(self):
7150
+ """主题列表
7151
+ :rtype: list of MigratingTopic
7152
+ """
7153
+ return self._MigrateTopics
7154
+
7155
+ @MigrateTopics.setter
7156
+ def MigrateTopics(self, MigrateTopics):
7157
+ self._MigrateTopics = MigrateTopics
7158
+
7159
+ @property
7160
+ def RequestId(self):
7161
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7162
+ :rtype: str
7163
+ """
7164
+ return self._RequestId
7165
+
7166
+ @RequestId.setter
7167
+ def RequestId(self, RequestId):
7168
+ self._RequestId = RequestId
7169
+
7170
+
7171
+ def _deserialize(self, params):
7172
+ self._TotalCount = params.get("TotalCount")
7173
+ if params.get("MigrateTopics") is not None:
7174
+ self._MigrateTopics = []
7175
+ for item in params.get("MigrateTopics"):
7176
+ obj = MigratingTopic()
7177
+ obj._deserialize(item)
7178
+ self._MigrateTopics.append(obj)
7179
+ self._RequestId = params.get("RequestId")
7180
+
7181
+
7182
+ class DescribeMigratingTopicStatsRequest(AbstractModel):
7183
+ """DescribeMigratingTopicStats请求参数结构体
7184
+
7185
+ """
7186
+
7187
+ def __init__(self):
7188
+ r"""
7189
+ :param _TaskId: 任务ID
7190
+ :type TaskId: str
7191
+ :param _TopicName: 主题名称
7192
+ :type TopicName: str
7193
+ :param _Namespace: 命名空间,仅4.x集群有效
7194
+ :type Namespace: str
7195
+ """
7196
+ self._TaskId = None
7197
+ self._TopicName = None
7198
+ self._Namespace = None
7199
+
7200
+ @property
7201
+ def TaskId(self):
7202
+ """任务ID
7203
+ :rtype: str
7204
+ """
7205
+ return self._TaskId
7206
+
7207
+ @TaskId.setter
7208
+ def TaskId(self, TaskId):
7209
+ self._TaskId = TaskId
7210
+
7211
+ @property
7212
+ def TopicName(self):
7213
+ """主题名称
7214
+ :rtype: str
7215
+ """
7216
+ return self._TopicName
7217
+
7218
+ @TopicName.setter
7219
+ def TopicName(self, TopicName):
7220
+ self._TopicName = TopicName
7221
+
7222
+ @property
7223
+ def Namespace(self):
7224
+ """命名空间,仅4.x集群有效
7225
+ :rtype: str
7226
+ """
7227
+ return self._Namespace
7228
+
7229
+ @Namespace.setter
7230
+ def Namespace(self, Namespace):
7231
+ self._Namespace = Namespace
7232
+
7233
+
7234
+ def _deserialize(self, params):
7235
+ self._TaskId = params.get("TaskId")
7236
+ self._TopicName = params.get("TopicName")
7237
+ self._Namespace = params.get("Namespace")
7238
+ memeber_set = set(params.keys())
7239
+ for name, value in vars(self).items():
7240
+ property_name = name[1:]
7241
+ if property_name in memeber_set:
7242
+ memeber_set.remove(property_name)
7243
+ if len(memeber_set) > 0:
7244
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7245
+
7246
+
7247
+
7248
+ class DescribeMigratingTopicStatsResponse(AbstractModel):
7249
+ """DescribeMigratingTopicStats返回参数结构体
7250
+
7251
+ """
7252
+
7253
+ def __init__(self):
7254
+ r"""
7255
+ :param _SourceClusterConsumerCount: 源集群的消费者数量
7256
+ :type SourceClusterConsumerCount: int
7257
+ :param _TargetClusterConsumerCount: 目标集群的消费者数量
7258
+ :type TargetClusterConsumerCount: int
7259
+ :param _SourceClusterConsumerGroups: 源集群消费组列表
7260
+ :type SourceClusterConsumerGroups: list of str
7261
+ :param _TargetClusterConsumerGroups: 目标集群消费组列表
7262
+ :type TargetClusterConsumerGroups: list of str
7263
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7264
+ :type RequestId: str
7265
+ """
7266
+ self._SourceClusterConsumerCount = None
7267
+ self._TargetClusterConsumerCount = None
7268
+ self._SourceClusterConsumerGroups = None
7269
+ self._TargetClusterConsumerGroups = None
7270
+ self._RequestId = None
7271
+
7272
+ @property
7273
+ def SourceClusterConsumerCount(self):
7274
+ """源集群的消费者数量
7275
+ :rtype: int
7276
+ """
7277
+ return self._SourceClusterConsumerCount
7278
+
7279
+ @SourceClusterConsumerCount.setter
7280
+ def SourceClusterConsumerCount(self, SourceClusterConsumerCount):
7281
+ self._SourceClusterConsumerCount = SourceClusterConsumerCount
7282
+
7283
+ @property
7284
+ def TargetClusterConsumerCount(self):
7285
+ """目标集群的消费者数量
7286
+ :rtype: int
7287
+ """
7288
+ return self._TargetClusterConsumerCount
7289
+
7290
+ @TargetClusterConsumerCount.setter
7291
+ def TargetClusterConsumerCount(self, TargetClusterConsumerCount):
7292
+ self._TargetClusterConsumerCount = TargetClusterConsumerCount
7293
+
7294
+ @property
7295
+ def SourceClusterConsumerGroups(self):
7296
+ """源集群消费组列表
7297
+ :rtype: list of str
7298
+ """
7299
+ return self._SourceClusterConsumerGroups
7300
+
7301
+ @SourceClusterConsumerGroups.setter
7302
+ def SourceClusterConsumerGroups(self, SourceClusterConsumerGroups):
7303
+ self._SourceClusterConsumerGroups = SourceClusterConsumerGroups
7304
+
7305
+ @property
7306
+ def TargetClusterConsumerGroups(self):
7307
+ """目标集群消费组列表
7308
+ :rtype: list of str
7309
+ """
7310
+ return self._TargetClusterConsumerGroups
7311
+
7312
+ @TargetClusterConsumerGroups.setter
7313
+ def TargetClusterConsumerGroups(self, TargetClusterConsumerGroups):
7314
+ self._TargetClusterConsumerGroups = TargetClusterConsumerGroups
7315
+
7316
+ @property
7317
+ def RequestId(self):
7318
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7319
+ :rtype: str
7320
+ """
7321
+ return self._RequestId
7322
+
7323
+ @RequestId.setter
7324
+ def RequestId(self, RequestId):
7325
+ self._RequestId = RequestId
7326
+
7327
+
7328
+ def _deserialize(self, params):
7329
+ self._SourceClusterConsumerCount = params.get("SourceClusterConsumerCount")
7330
+ self._TargetClusterConsumerCount = params.get("TargetClusterConsumerCount")
7331
+ self._SourceClusterConsumerGroups = params.get("SourceClusterConsumerGroups")
7332
+ self._TargetClusterConsumerGroups = params.get("TargetClusterConsumerGroups")
7333
+ self._RequestId = params.get("RequestId")
7334
+
7335
+
7336
+ class DescribeProductSKUsRequest(AbstractModel):
7337
+ """DescribeProductSKUs请求参数结构体
7338
+
7339
+ """
7340
+
7341
+
7342
+ class DescribeProductSKUsResponse(AbstractModel):
7343
+ """DescribeProductSKUs返回参数结构体
7344
+
7345
+ """
7346
+
7347
+ def __init__(self):
7348
+ r"""
7349
+ :param _Data: 商品配置信息
7350
+ 注意:此字段可能返回 null,表示取不到有效值。
7351
+ :type Data: list of ProductSKU
7352
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7353
+ :type RequestId: str
7354
+ """
7355
+ self._Data = None
7356
+ self._RequestId = None
7357
+
7358
+ @property
7359
+ def Data(self):
7360
+ """商品配置信息
7361
+ 注意:此字段可能返回 null,表示取不到有效值。
7362
+ :rtype: list of ProductSKU
7363
+ """
7364
+ return self._Data
7365
+
7366
+ @Data.setter
7367
+ def Data(self, Data):
7368
+ self._Data = Data
7369
+
7370
+ @property
7371
+ def RequestId(self):
7372
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7373
+ :rtype: str
7374
+ """
7375
+ return self._RequestId
7376
+
7377
+ @RequestId.setter
7378
+ def RequestId(self, RequestId):
7379
+ self._RequestId = RequestId
7380
+
7381
+
7382
+ def _deserialize(self, params):
7383
+ if params.get("Data") is not None:
7384
+ self._Data = []
7385
+ for item in params.get("Data"):
7386
+ obj = ProductSKU()
7387
+ obj._deserialize(item)
7388
+ self._Data.append(obj)
7389
+ self._RequestId = params.get("RequestId")
7390
+
7391
+
7392
+ class DescribeRoleListRequest(AbstractModel):
7393
+ """DescribeRoleList请求参数结构体
7394
+
7395
+ """
7396
+
7397
+ def __init__(self):
7398
+ r"""
7399
+ :param _InstanceId: 集群ID
7400
+ :type InstanceId: str
7401
+ :param _Offset: 查询起始位置
7402
+ :type Offset: int
7403
+ :param _Limit: 查询结果限制数量
7404
+ :type Limit: int
7405
+ :param _Filters: 查询条件列表
7406
+ :type Filters: list of Filter
7407
+ """
7408
+ self._InstanceId = None
7409
+ self._Offset = None
7410
+ self._Limit = None
7411
+ self._Filters = None
7412
+
7413
+ @property
7414
+ def InstanceId(self):
7415
+ """集群ID
7416
+ :rtype: str
7417
+ """
7418
+ return self._InstanceId
7419
+
7420
+ @InstanceId.setter
7421
+ def InstanceId(self, InstanceId):
7422
+ self._InstanceId = InstanceId
6763
7423
 
6764
7424
  @property
6765
7425
  def Offset(self):
@@ -6825,19 +7485,168 @@ class DescribeRoleListResponse(AbstractModel):
6825
7485
  :param _TotalCount: 查询总数
6826
7486
  注意:此字段可能返回 null,表示取不到有效值。
6827
7487
  :type TotalCount: int
6828
- :param _Data: 角色信息列表
6829
- :type Data: list of RoleItem
7488
+ :param _Data: 角色信息列表
7489
+ :type Data: list of RoleItem
7490
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7491
+ :type RequestId: str
7492
+ """
7493
+ self._TotalCount = None
7494
+ self._Data = None
7495
+ self._RequestId = None
7496
+
7497
+ @property
7498
+ def TotalCount(self):
7499
+ """查询总数
7500
+ 注意:此字段可能返回 null,表示取不到有效值。
7501
+ :rtype: int
7502
+ """
7503
+ return self._TotalCount
7504
+
7505
+ @TotalCount.setter
7506
+ def TotalCount(self, TotalCount):
7507
+ self._TotalCount = TotalCount
7508
+
7509
+ @property
7510
+ def Data(self):
7511
+ """角色信息列表
7512
+ :rtype: list of RoleItem
7513
+ """
7514
+ return self._Data
7515
+
7516
+ @Data.setter
7517
+ def Data(self, Data):
7518
+ self._Data = Data
7519
+
7520
+ @property
7521
+ def RequestId(self):
7522
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7523
+ :rtype: str
7524
+ """
7525
+ return self._RequestId
7526
+
7527
+ @RequestId.setter
7528
+ def RequestId(self, RequestId):
7529
+ self._RequestId = RequestId
7530
+
7531
+
7532
+ def _deserialize(self, params):
7533
+ self._TotalCount = params.get("TotalCount")
7534
+ if params.get("Data") is not None:
7535
+ self._Data = []
7536
+ for item in params.get("Data"):
7537
+ obj = RoleItem()
7538
+ obj._deserialize(item)
7539
+ self._Data.append(obj)
7540
+ self._RequestId = params.get("RequestId")
7541
+
7542
+
7543
+ class DescribeSourceClusterGroupListRequest(AbstractModel):
7544
+ """DescribeSourceClusterGroupList请求参数结构体
7545
+
7546
+ """
7547
+
7548
+ def __init__(self):
7549
+ r"""
7550
+ :param _TaskId: 任务ID
7551
+ :type TaskId: str
7552
+ :param _Filters: 查询条件列表
7553
+ :type Filters: list of Filter
7554
+ :param _Offset: 查询起始位置
7555
+ :type Offset: int
7556
+ :param _Limit: 查询结果限制数量
7557
+ :type Limit: int
7558
+ """
7559
+ self._TaskId = None
7560
+ self._Filters = None
7561
+ self._Offset = None
7562
+ self._Limit = None
7563
+
7564
+ @property
7565
+ def TaskId(self):
7566
+ """任务ID
7567
+ :rtype: str
7568
+ """
7569
+ return self._TaskId
7570
+
7571
+ @TaskId.setter
7572
+ def TaskId(self, TaskId):
7573
+ self._TaskId = TaskId
7574
+
7575
+ @property
7576
+ def Filters(self):
7577
+ """查询条件列表
7578
+ :rtype: list of Filter
7579
+ """
7580
+ return self._Filters
7581
+
7582
+ @Filters.setter
7583
+ def Filters(self, Filters):
7584
+ self._Filters = Filters
7585
+
7586
+ @property
7587
+ def Offset(self):
7588
+ """查询起始位置
7589
+ :rtype: int
7590
+ """
7591
+ return self._Offset
7592
+
7593
+ @Offset.setter
7594
+ def Offset(self, Offset):
7595
+ self._Offset = Offset
7596
+
7597
+ @property
7598
+ def Limit(self):
7599
+ """查询结果限制数量
7600
+ :rtype: int
7601
+ """
7602
+ return self._Limit
7603
+
7604
+ @Limit.setter
7605
+ def Limit(self, Limit):
7606
+ self._Limit = Limit
7607
+
7608
+
7609
+ def _deserialize(self, params):
7610
+ self._TaskId = params.get("TaskId")
7611
+ if params.get("Filters") is not None:
7612
+ self._Filters = []
7613
+ for item in params.get("Filters"):
7614
+ obj = Filter()
7615
+ obj._deserialize(item)
7616
+ self._Filters.append(obj)
7617
+ self._Offset = params.get("Offset")
7618
+ self._Limit = params.get("Limit")
7619
+ memeber_set = set(params.keys())
7620
+ for name, value in vars(self).items():
7621
+ property_name = name[1:]
7622
+ if property_name in memeber_set:
7623
+ memeber_set.remove(property_name)
7624
+ if len(memeber_set) > 0:
7625
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7626
+
7627
+
7628
+
7629
+ class DescribeSourceClusterGroupListResponse(AbstractModel):
7630
+ """DescribeSourceClusterGroupList返回参数结构体
7631
+
7632
+ """
7633
+
7634
+ def __init__(self):
7635
+ r"""
7636
+ :param _TotalCount: 查询总数
7637
+ :type TotalCount: int
7638
+ :param _Groups: 消费组配置列表
7639
+ :type Groups: list of SourceClusterGroupConfig
6830
7640
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6831
7641
  :type RequestId: str
6832
7642
  """
6833
7643
  self._TotalCount = None
6834
- self._Data = None
7644
+ self._Groups = None
6835
7645
  self._RequestId = None
6836
7646
 
6837
7647
  @property
6838
7648
  def TotalCount(self):
6839
7649
  """查询总数
6840
- 注意:此字段可能返回 null,表示取不到有效值。
6841
7650
  :rtype: int
6842
7651
  """
6843
7652
  return self._TotalCount
@@ -6847,15 +7656,15 @@ class DescribeRoleListResponse(AbstractModel):
6847
7656
  self._TotalCount = TotalCount
6848
7657
 
6849
7658
  @property
6850
- def Data(self):
6851
- """角色信息列表
6852
- :rtype: list of RoleItem
7659
+ def Groups(self):
7660
+ """消费组配置列表
7661
+ :rtype: list of SourceClusterGroupConfig
6853
7662
  """
6854
- return self._Data
7663
+ return self._Groups
6855
7664
 
6856
- @Data.setter
6857
- def Data(self, Data):
6858
- self._Data = Data
7665
+ @Groups.setter
7666
+ def Groups(self, Groups):
7667
+ self._Groups = Groups
6859
7668
 
6860
7669
  @property
6861
7670
  def RequestId(self):
@@ -6871,12 +7680,12 @@ class DescribeRoleListResponse(AbstractModel):
6871
7680
 
6872
7681
  def _deserialize(self, params):
6873
7682
  self._TotalCount = params.get("TotalCount")
6874
- if params.get("Data") is not None:
6875
- self._Data = []
6876
- for item in params.get("Data"):
6877
- obj = RoleItem()
7683
+ if params.get("Groups") is not None:
7684
+ self._Groups = []
7685
+ for item in params.get("Groups"):
7686
+ obj = SourceClusterGroupConfig()
6878
7687
  obj._deserialize(item)
6879
- self._Data.append(obj)
7688
+ self._Groups.append(obj)
6880
7689
  self._RequestId = params.get("RequestId")
6881
7690
 
6882
7691
 
@@ -7140,7 +7949,6 @@ class DescribeTopicListResponse(AbstractModel):
7140
7949
  def __init__(self):
7141
7950
  r"""
7142
7951
  :param _TotalCount: 查询总数
7143
- 注意:此字段可能返回 null,表示取不到有效值。
7144
7952
  :type TotalCount: int
7145
7953
  :param _Data: 主题列表
7146
7954
  :type Data: list of TopicItem
@@ -7154,7 +7962,6 @@ class DescribeTopicListResponse(AbstractModel):
7154
7962
  @property
7155
7963
  def TotalCount(self):
7156
7964
  """查询总数
7157
- 注意:此字段可能返回 null,表示取不到有效值。
7158
7965
  :rtype: int
7159
7966
  """
7160
7967
  return self._TotalCount
@@ -7572,6 +8379,166 @@ class DetailedRolePerm(AbstractModel):
7572
8379
 
7573
8380
 
7574
8381
 
8382
+ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
8383
+ """DoHealthCheckOnMigratingTopic请求参数结构体
8384
+
8385
+ """
8386
+
8387
+ def __init__(self):
8388
+ r"""
8389
+ :param _TaskId: 任务ID
8390
+ :type TaskId: str
8391
+ :param _TopicName: 主题名称
8392
+ :type TopicName: str
8393
+ :param _IgnoreCheck: 是否忽略当前检查
8394
+ :type IgnoreCheck: bool
8395
+ :param _Namespace: 命名空间,仅4.x集群有效
8396
+ :type Namespace: str
8397
+ """
8398
+ self._TaskId = None
8399
+ self._TopicName = None
8400
+ self._IgnoreCheck = None
8401
+ self._Namespace = None
8402
+
8403
+ @property
8404
+ def TaskId(self):
8405
+ """任务ID
8406
+ :rtype: str
8407
+ """
8408
+ return self._TaskId
8409
+
8410
+ @TaskId.setter
8411
+ def TaskId(self, TaskId):
8412
+ self._TaskId = TaskId
8413
+
8414
+ @property
8415
+ def TopicName(self):
8416
+ """主题名称
8417
+ :rtype: str
8418
+ """
8419
+ return self._TopicName
8420
+
8421
+ @TopicName.setter
8422
+ def TopicName(self, TopicName):
8423
+ self._TopicName = TopicName
8424
+
8425
+ @property
8426
+ def IgnoreCheck(self):
8427
+ """是否忽略当前检查
8428
+ :rtype: bool
8429
+ """
8430
+ return self._IgnoreCheck
8431
+
8432
+ @IgnoreCheck.setter
8433
+ def IgnoreCheck(self, IgnoreCheck):
8434
+ self._IgnoreCheck = IgnoreCheck
8435
+
8436
+ @property
8437
+ def Namespace(self):
8438
+ """命名空间,仅4.x集群有效
8439
+ :rtype: str
8440
+ """
8441
+ return self._Namespace
8442
+
8443
+ @Namespace.setter
8444
+ def Namespace(self, Namespace):
8445
+ self._Namespace = Namespace
8446
+
8447
+
8448
+ def _deserialize(self, params):
8449
+ self._TaskId = params.get("TaskId")
8450
+ self._TopicName = params.get("TopicName")
8451
+ self._IgnoreCheck = params.get("IgnoreCheck")
8452
+ self._Namespace = params.get("Namespace")
8453
+ memeber_set = set(params.keys())
8454
+ for name, value in vars(self).items():
8455
+ property_name = name[1:]
8456
+ if property_name in memeber_set:
8457
+ memeber_set.remove(property_name)
8458
+ if len(memeber_set) > 0:
8459
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8460
+
8461
+
8462
+
8463
+ class DoHealthCheckOnMigratingTopicResponse(AbstractModel):
8464
+ """DoHealthCheckOnMigratingTopic返回参数结构体
8465
+
8466
+ """
8467
+
8468
+ def __init__(self):
8469
+ r"""
8470
+ :param _Passed: 是否通过
8471
+ :type Passed: bool
8472
+ :param _Reason: 健康检查返回的错误信息
8473
+ NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
8474
+ 注意:此字段可能返回 null,表示取不到有效值。
8475
+ :type Reason: str
8476
+ :param _ReasonList: 健康检查返回的错误信息列表
8477
+ 注意:此字段可能返回 null,表示取不到有效值。
8478
+ :type ReasonList: list of str
8479
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8480
+ :type RequestId: str
8481
+ """
8482
+ self._Passed = None
8483
+ self._Reason = None
8484
+ self._ReasonList = None
8485
+ self._RequestId = None
8486
+
8487
+ @property
8488
+ def Passed(self):
8489
+ """是否通过
8490
+ :rtype: bool
8491
+ """
8492
+ return self._Passed
8493
+
8494
+ @Passed.setter
8495
+ def Passed(self, Passed):
8496
+ self._Passed = Passed
8497
+
8498
+ @property
8499
+ def Reason(self):
8500
+ """健康检查返回的错误信息
8501
+ NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
8502
+ 注意:此字段可能返回 null,表示取不到有效值。
8503
+ :rtype: str
8504
+ """
8505
+ return self._Reason
8506
+
8507
+ @Reason.setter
8508
+ def Reason(self, Reason):
8509
+ self._Reason = Reason
8510
+
8511
+ @property
8512
+ def ReasonList(self):
8513
+ """健康检查返回的错误信息列表
8514
+ 注意:此字段可能返回 null,表示取不到有效值。
8515
+ :rtype: list of str
8516
+ """
8517
+ return self._ReasonList
8518
+
8519
+ @ReasonList.setter
8520
+ def ReasonList(self, ReasonList):
8521
+ self._ReasonList = ReasonList
8522
+
8523
+ @property
8524
+ def RequestId(self):
8525
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8526
+ :rtype: str
8527
+ """
8528
+ return self._RequestId
8529
+
8530
+ @RequestId.setter
8531
+ def RequestId(self, RequestId):
8532
+ self._RequestId = RequestId
8533
+
8534
+
8535
+ def _deserialize(self, params):
8536
+ self._Passed = params.get("Passed")
8537
+ self._Reason = params.get("Reason")
8538
+ self._ReasonList = params.get("ReasonList")
8539
+ self._RequestId = params.get("RequestId")
8540
+
8541
+
7575
8542
  class Endpoint(AbstractModel):
7576
8543
  """接入点信息
7577
8544
 
@@ -10200,52 +11167,214 @@ class MessageTrackItem(AbstractModel):
10200
11167
  """消费组名称
10201
11168
  :rtype: str
10202
11169
  """
10203
- return self._ConsumerGroup
11170
+ return self._ConsumerGroup
11171
+
11172
+ @ConsumerGroup.setter
11173
+ def ConsumerGroup(self, ConsumerGroup):
11174
+ self._ConsumerGroup = ConsumerGroup
11175
+
11176
+ @property
11177
+ def ConsumeStatus(self):
11178
+ """消费状态, CONSUMED: 已消费 CONSUMED_BUT_FILTERED: 已过滤 NOT_CONSUME: 未消费 ENTER_RETRY: 进入重试队列 ENTER_DLQ: 进入死信队列 UNKNOWN: 查询不到消费状态
11179
+ :rtype: str
11180
+ """
11181
+ return self._ConsumeStatus
11182
+
11183
+ @ConsumeStatus.setter
11184
+ def ConsumeStatus(self, ConsumeStatus):
11185
+ self._ConsumeStatus = ConsumeStatus
11186
+
11187
+ @property
11188
+ def TrackType(self):
11189
+ """track类型
11190
+ :rtype: str
11191
+ """
11192
+ return self._TrackType
11193
+
11194
+ @TrackType.setter
11195
+ def TrackType(self, TrackType):
11196
+ self._TrackType = TrackType
11197
+
11198
+ @property
11199
+ def ExceptionDesc(self):
11200
+ """异常信息
11201
+ 注意:此字段可能返回 null,表示取不到有效值。
11202
+ :rtype: str
11203
+ """
11204
+ return self._ExceptionDesc
11205
+
11206
+ @ExceptionDesc.setter
11207
+ def ExceptionDesc(self, ExceptionDesc):
11208
+ self._ExceptionDesc = ExceptionDesc
11209
+
11210
+
11211
+ def _deserialize(self, params):
11212
+ self._ConsumerGroup = params.get("ConsumerGroup")
11213
+ self._ConsumeStatus = params.get("ConsumeStatus")
11214
+ self._TrackType = params.get("TrackType")
11215
+ self._ExceptionDesc = params.get("ExceptionDesc")
11216
+ memeber_set = set(params.keys())
11217
+ for name, value in vars(self).items():
11218
+ property_name = name[1:]
11219
+ if property_name in memeber_set:
11220
+ memeber_set.remove(property_name)
11221
+ if len(memeber_set) > 0:
11222
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11223
+
11224
+
11225
+
11226
+ class MigratingTopic(AbstractModel):
11227
+ """迁移中的主题
11228
+
11229
+ """
11230
+
11231
+ def __init__(self):
11232
+ r"""
11233
+ :param _TopicName: 主题名称
11234
+ :type TopicName: str
11235
+ :param _MigrationStatus: 迁移状态 S_RW_D_NA 源集群读写 S_RW_D_R 源集群读写目标集群读 S_RW_D_RW 源集群读写目标集群读写 S_R_D_RW 源集群读目标集群读写 S_NA_D_RW 目标集群读写
11236
+ :type MigrationStatus: str
11237
+ :param _HealthCheckPassed: 是否完成健康检查
11238
+ :type HealthCheckPassed: bool
11239
+ :param _HealthCheckError: 上次健康检查返回的错误信息,仅在HealthCheckPassed为false时有效。 NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
11240
+ :type HealthCheckError: str
11241
+ :param _Namespace: 命名空间,仅4.x集群有效
11242
+ :type Namespace: str
11243
+ :param _NamespaceV4: 4.x的命名空间
11244
+ 注意:此字段可能返回 null,表示取不到有效值。
11245
+ :type NamespaceV4: str
11246
+ :param _TopicNameV4: 4.x的主题名称
11247
+ 注意:此字段可能返回 null,表示取不到有效值。
11248
+ :type TopicNameV4: str
11249
+ :param _FullNamespaceV4: 4.x的完整命名空间
11250
+ 注意:此字段可能返回 null,表示取不到有效值。
11251
+ :type FullNamespaceV4: str
11252
+ :param _HealthCheckErrorList: 上次健康检查返回的错误列表
11253
+ :type HealthCheckErrorList: list of str
11254
+ """
11255
+ self._TopicName = None
11256
+ self._MigrationStatus = None
11257
+ self._HealthCheckPassed = None
11258
+ self._HealthCheckError = None
11259
+ self._Namespace = None
11260
+ self._NamespaceV4 = None
11261
+ self._TopicNameV4 = None
11262
+ self._FullNamespaceV4 = None
11263
+ self._HealthCheckErrorList = None
11264
+
11265
+ @property
11266
+ def TopicName(self):
11267
+ """主题名称
11268
+ :rtype: str
11269
+ """
11270
+ return self._TopicName
11271
+
11272
+ @TopicName.setter
11273
+ def TopicName(self, TopicName):
11274
+ self._TopicName = TopicName
11275
+
11276
+ @property
11277
+ def MigrationStatus(self):
11278
+ """迁移状态 S_RW_D_NA 源集群读写 S_RW_D_R 源集群读写目标集群读 S_RW_D_RW 源集群读写目标集群读写 S_R_D_RW 源集群读目标集群读写 S_NA_D_RW 目标集群读写
11279
+ :rtype: str
11280
+ """
11281
+ return self._MigrationStatus
11282
+
11283
+ @MigrationStatus.setter
11284
+ def MigrationStatus(self, MigrationStatus):
11285
+ self._MigrationStatus = MigrationStatus
11286
+
11287
+ @property
11288
+ def HealthCheckPassed(self):
11289
+ """是否完成健康检查
11290
+ :rtype: bool
11291
+ """
11292
+ return self._HealthCheckPassed
11293
+
11294
+ @HealthCheckPassed.setter
11295
+ def HealthCheckPassed(self, HealthCheckPassed):
11296
+ self._HealthCheckPassed = HealthCheckPassed
11297
+
11298
+ @property
11299
+ def HealthCheckError(self):
11300
+ """上次健康检查返回的错误信息,仅在HealthCheckPassed为false时有效。 NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
11301
+ :rtype: str
11302
+ """
11303
+ return self._HealthCheckError
11304
+
11305
+ @HealthCheckError.setter
11306
+ def HealthCheckError(self, HealthCheckError):
11307
+ self._HealthCheckError = HealthCheckError
11308
+
11309
+ @property
11310
+ def Namespace(self):
11311
+ """命名空间,仅4.x集群有效
11312
+ :rtype: str
11313
+ """
11314
+ return self._Namespace
11315
+
11316
+ @Namespace.setter
11317
+ def Namespace(self, Namespace):
11318
+ self._Namespace = Namespace
11319
+
11320
+ @property
11321
+ def NamespaceV4(self):
11322
+ """4.x的命名空间
11323
+ 注意:此字段可能返回 null,表示取不到有效值。
11324
+ :rtype: str
11325
+ """
11326
+ return self._NamespaceV4
10204
11327
 
10205
- @ConsumerGroup.setter
10206
- def ConsumerGroup(self, ConsumerGroup):
10207
- self._ConsumerGroup = ConsumerGroup
11328
+ @NamespaceV4.setter
11329
+ def NamespaceV4(self, NamespaceV4):
11330
+ self._NamespaceV4 = NamespaceV4
10208
11331
 
10209
11332
  @property
10210
- def ConsumeStatus(self):
10211
- """消费状态, CONSUMED: 已消费 CONSUMED_BUT_FILTERED: 已过滤 NOT_CONSUME: 未消费 ENTER_RETRY: 进入重试队列 ENTER_DLQ: 进入死信队列 UNKNOWN: 查询不到消费状态
11333
+ def TopicNameV4(self):
11334
+ """4.x的主题名称
11335
+ 注意:此字段可能返回 null,表示取不到有效值。
10212
11336
  :rtype: str
10213
11337
  """
10214
- return self._ConsumeStatus
11338
+ return self._TopicNameV4
10215
11339
 
10216
- @ConsumeStatus.setter
10217
- def ConsumeStatus(self, ConsumeStatus):
10218
- self._ConsumeStatus = ConsumeStatus
11340
+ @TopicNameV4.setter
11341
+ def TopicNameV4(self, TopicNameV4):
11342
+ self._TopicNameV4 = TopicNameV4
10219
11343
 
10220
11344
  @property
10221
- def TrackType(self):
10222
- """track类型
11345
+ def FullNamespaceV4(self):
11346
+ """4.x的完整命名空间
11347
+ 注意:此字段可能返回 null,表示取不到有效值。
10223
11348
  :rtype: str
10224
11349
  """
10225
- return self._TrackType
11350
+ return self._FullNamespaceV4
10226
11351
 
10227
- @TrackType.setter
10228
- def TrackType(self, TrackType):
10229
- self._TrackType = TrackType
11352
+ @FullNamespaceV4.setter
11353
+ def FullNamespaceV4(self, FullNamespaceV4):
11354
+ self._FullNamespaceV4 = FullNamespaceV4
10230
11355
 
10231
11356
  @property
10232
- def ExceptionDesc(self):
10233
- """异常信息
10234
- 注意:此字段可能返回 null,表示取不到有效值。
10235
- :rtype: str
11357
+ def HealthCheckErrorList(self):
11358
+ """上次健康检查返回的错误列表
11359
+ :rtype: list of str
10236
11360
  """
10237
- return self._ExceptionDesc
11361
+ return self._HealthCheckErrorList
10238
11362
 
10239
- @ExceptionDesc.setter
10240
- def ExceptionDesc(self, ExceptionDesc):
10241
- self._ExceptionDesc = ExceptionDesc
11363
+ @HealthCheckErrorList.setter
11364
+ def HealthCheckErrorList(self, HealthCheckErrorList):
11365
+ self._HealthCheckErrorList = HealthCheckErrorList
10242
11366
 
10243
11367
 
10244
11368
  def _deserialize(self, params):
10245
- self._ConsumerGroup = params.get("ConsumerGroup")
10246
- self._ConsumeStatus = params.get("ConsumeStatus")
10247
- self._TrackType = params.get("TrackType")
10248
- self._ExceptionDesc = params.get("ExceptionDesc")
11369
+ self._TopicName = params.get("TopicName")
11370
+ self._MigrationStatus = params.get("MigrationStatus")
11371
+ self._HealthCheckPassed = params.get("HealthCheckPassed")
11372
+ self._HealthCheckError = params.get("HealthCheckError")
11373
+ self._Namespace = params.get("Namespace")
11374
+ self._NamespaceV4 = params.get("NamespaceV4")
11375
+ self._TopicNameV4 = params.get("TopicNameV4")
11376
+ self._FullNamespaceV4 = params.get("FullNamespaceV4")
11377
+ self._HealthCheckErrorList = params.get("HealthCheckErrorList")
10249
11378
  memeber_set = set(params.keys())
10250
11379
  for name, value in vars(self).items():
10251
11380
  property_name = name[1:]
@@ -11921,46 +13050,251 @@ class PublicAccessRule(AbstractModel):
11921
13050
  self._IpRule = IpRule
11922
13051
 
11923
13052
  @property
11924
- def Allow(self):
11925
- """允许或者拒绝
13053
+ def Allow(self):
13054
+ """允许或者拒绝
13055
+ 注意:此字段可能返回 null,表示取不到有效值。
13056
+ :rtype: bool
13057
+ """
13058
+ return self._Allow
13059
+
13060
+ @Allow.setter
13061
+ def Allow(self, Allow):
13062
+ self._Allow = Allow
13063
+
13064
+ @property
13065
+ def Remark(self):
13066
+ """备注信息
13067
+ 注意:此字段可能返回 null,表示取不到有效值。
13068
+ :rtype: str
13069
+ """
13070
+ return self._Remark
13071
+
13072
+ @Remark.setter
13073
+ def Remark(self, Remark):
13074
+ self._Remark = Remark
13075
+
13076
+
13077
+ def _deserialize(self, params):
13078
+ self._IpRule = params.get("IpRule")
13079
+ self._Allow = params.get("Allow")
13080
+ self._Remark = params.get("Remark")
13081
+ memeber_set = set(params.keys())
13082
+ for name, value in vars(self).items():
13083
+ property_name = name[1:]
13084
+ if property_name in memeber_set:
13085
+ memeber_set.remove(property_name)
13086
+ if len(memeber_set) > 0:
13087
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13088
+
13089
+
13090
+
13091
+ class RemoveMigratingTopicRequest(AbstractModel):
13092
+ """RemoveMigratingTopic请求参数结构体
13093
+
13094
+ """
13095
+
13096
+ def __init__(self):
13097
+ r"""
13098
+ :param _TaskId: 任务ID
13099
+ :type TaskId: str
13100
+ :param _TopicName: 主题名称
13101
+ :type TopicName: str
13102
+ :param _Namespace: 命名空间,仅迁移至4.x集群有效
13103
+ :type Namespace: str
13104
+ """
13105
+ self._TaskId = None
13106
+ self._TopicName = None
13107
+ self._Namespace = None
13108
+
13109
+ @property
13110
+ def TaskId(self):
13111
+ """任务ID
13112
+ :rtype: str
13113
+ """
13114
+ return self._TaskId
13115
+
13116
+ @TaskId.setter
13117
+ def TaskId(self, TaskId):
13118
+ self._TaskId = TaskId
13119
+
13120
+ @property
13121
+ def TopicName(self):
13122
+ """主题名称
13123
+ :rtype: str
13124
+ """
13125
+ return self._TopicName
13126
+
13127
+ @TopicName.setter
13128
+ def TopicName(self, TopicName):
13129
+ self._TopicName = TopicName
13130
+
13131
+ @property
13132
+ def Namespace(self):
13133
+ """命名空间,仅迁移至4.x集群有效
13134
+ :rtype: str
13135
+ """
13136
+ return self._Namespace
13137
+
13138
+ @Namespace.setter
13139
+ def Namespace(self, Namespace):
13140
+ self._Namespace = Namespace
13141
+
13142
+
13143
+ def _deserialize(self, params):
13144
+ self._TaskId = params.get("TaskId")
13145
+ self._TopicName = params.get("TopicName")
13146
+ self._Namespace = params.get("Namespace")
13147
+ memeber_set = set(params.keys())
13148
+ for name, value in vars(self).items():
13149
+ property_name = name[1:]
13150
+ if property_name in memeber_set:
13151
+ memeber_set.remove(property_name)
13152
+ if len(memeber_set) > 0:
13153
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13154
+
13155
+
13156
+
13157
+ class RemoveMigratingTopicResponse(AbstractModel):
13158
+ """RemoveMigratingTopic返回参数结构体
13159
+
13160
+ """
13161
+
13162
+ def __init__(self):
13163
+ r"""
13164
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13165
+ :type RequestId: str
13166
+ """
13167
+ self._RequestId = None
13168
+
13169
+ @property
13170
+ def RequestId(self):
13171
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13172
+ :rtype: str
13173
+ """
13174
+ return self._RequestId
13175
+
13176
+ @RequestId.setter
13177
+ def RequestId(self, RequestId):
13178
+ self._RequestId = RequestId
13179
+
13180
+
13181
+ def _deserialize(self, params):
13182
+ self._RequestId = params.get("RequestId")
13183
+
13184
+
13185
+ class ResendDeadLetterMessageRequest(AbstractModel):
13186
+ """ResendDeadLetterMessage请求参数结构体
13187
+
13188
+ """
13189
+
13190
+ def __init__(self):
13191
+ r"""
13192
+ :param _InstanceId: 集群ID
13193
+ :type InstanceId: str
13194
+ :param _MessageIds: 死信消息ID列表
13195
+ :type MessageIds: list of str
13196
+ :param _ConsumerGroup: 消费组名称
13197
+ :type ConsumerGroup: str
13198
+ """
13199
+ self._InstanceId = None
13200
+ self._MessageIds = None
13201
+ self._ConsumerGroup = None
13202
+
13203
+ @property
13204
+ def InstanceId(self):
13205
+ """集群ID
13206
+ :rtype: str
13207
+ """
13208
+ return self._InstanceId
13209
+
13210
+ @InstanceId.setter
13211
+ def InstanceId(self, InstanceId):
13212
+ self._InstanceId = InstanceId
13213
+
13214
+ @property
13215
+ def MessageIds(self):
13216
+ """死信消息ID列表
13217
+ :rtype: list of str
13218
+ """
13219
+ return self._MessageIds
13220
+
13221
+ @MessageIds.setter
13222
+ def MessageIds(self, MessageIds):
13223
+ self._MessageIds = MessageIds
13224
+
13225
+ @property
13226
+ def ConsumerGroup(self):
13227
+ """消费组名称
13228
+ :rtype: str
13229
+ """
13230
+ return self._ConsumerGroup
13231
+
13232
+ @ConsumerGroup.setter
13233
+ def ConsumerGroup(self, ConsumerGroup):
13234
+ self._ConsumerGroup = ConsumerGroup
13235
+
13236
+
13237
+ def _deserialize(self, params):
13238
+ self._InstanceId = params.get("InstanceId")
13239
+ self._MessageIds = params.get("MessageIds")
13240
+ self._ConsumerGroup = params.get("ConsumerGroup")
13241
+ memeber_set = set(params.keys())
13242
+ for name, value in vars(self).items():
13243
+ property_name = name[1:]
13244
+ if property_name in memeber_set:
13245
+ memeber_set.remove(property_name)
13246
+ if len(memeber_set) > 0:
13247
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13248
+
13249
+
13250
+
13251
+ class ResendDeadLetterMessageResponse(AbstractModel):
13252
+ """ResendDeadLetterMessage返回参数结构体
13253
+
13254
+ """
13255
+
13256
+ def __init__(self):
13257
+ r"""
13258
+ :param _ResendResult: 重发消息结果
13259
+ 注意:此字段可能返回 null,表示取不到有效值。
13260
+ :type ResendResult: bool
13261
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13262
+ :type RequestId: str
13263
+ """
13264
+ self._ResendResult = None
13265
+ self._RequestId = None
13266
+
13267
+ @property
13268
+ def ResendResult(self):
13269
+ """重发消息结果
11926
13270
  注意:此字段可能返回 null,表示取不到有效值。
11927
13271
  :rtype: bool
11928
13272
  """
11929
- return self._Allow
13273
+ return self._ResendResult
11930
13274
 
11931
- @Allow.setter
11932
- def Allow(self, Allow):
11933
- self._Allow = Allow
13275
+ @ResendResult.setter
13276
+ def ResendResult(self, ResendResult):
13277
+ self._ResendResult = ResendResult
11934
13278
 
11935
13279
  @property
11936
- def Remark(self):
11937
- """备注信息
11938
- 注意:此字段可能返回 null,表示取不到有效值。
13280
+ def RequestId(self):
13281
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11939
13282
  :rtype: str
11940
13283
  """
11941
- return self._Remark
13284
+ return self._RequestId
11942
13285
 
11943
- @Remark.setter
11944
- def Remark(self, Remark):
11945
- self._Remark = Remark
13286
+ @RequestId.setter
13287
+ def RequestId(self, RequestId):
13288
+ self._RequestId = RequestId
11946
13289
 
11947
13290
 
11948
13291
  def _deserialize(self, params):
11949
- self._IpRule = params.get("IpRule")
11950
- self._Allow = params.get("Allow")
11951
- self._Remark = params.get("Remark")
11952
- memeber_set = set(params.keys())
11953
- for name, value in vars(self).items():
11954
- property_name = name[1:]
11955
- if property_name in memeber_set:
11956
- memeber_set.remove(property_name)
11957
- if len(memeber_set) > 0:
11958
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11959
-
13292
+ self._ResendResult = params.get("ResendResult")
13293
+ self._RequestId = params.get("RequestId")
11960
13294
 
11961
13295
 
11962
- class ResendDeadLetterMessageRequest(AbstractModel):
11963
- """ResendDeadLetterMessage请求参数结构体
13296
+ class ResetConsumerGroupOffsetRequest(AbstractModel):
13297
+ """ResetConsumerGroupOffset请求参数结构体
11964
13298
 
11965
13299
  """
11966
13300
 
@@ -11968,13 +13302,16 @@ class ResendDeadLetterMessageRequest(AbstractModel):
11968
13302
  r"""
11969
13303
  :param _InstanceId: 集群ID
11970
13304
  :type InstanceId: str
11971
- :param _MessageIds: 死信消息ID列表
11972
- :type MessageIds: list of str
13305
+ :param _Topic: 主题名称
13306
+ :type Topic: str
13307
+ :param _ResetTimestamp: 重置位点时间(单位:毫秒)-1表示重置到最新位点
13308
+ :type ResetTimestamp: int
11973
13309
  :param _ConsumerGroup: 消费组名称
11974
13310
  :type ConsumerGroup: str
11975
13311
  """
11976
13312
  self._InstanceId = None
11977
- self._MessageIds = None
13313
+ self._Topic = None
13314
+ self._ResetTimestamp = None
11978
13315
  self._ConsumerGroup = None
11979
13316
 
11980
13317
  @property
@@ -11989,15 +13326,26 @@ class ResendDeadLetterMessageRequest(AbstractModel):
11989
13326
  self._InstanceId = InstanceId
11990
13327
 
11991
13328
  @property
11992
- def MessageIds(self):
11993
- """死信消息ID列表
11994
- :rtype: list of str
13329
+ def Topic(self):
13330
+ """主题名称
13331
+ :rtype: str
11995
13332
  """
11996
- return self._MessageIds
13333
+ return self._Topic
11997
13334
 
11998
- @MessageIds.setter
11999
- def MessageIds(self, MessageIds):
12000
- self._MessageIds = MessageIds
13335
+ @Topic.setter
13336
+ def Topic(self, Topic):
13337
+ self._Topic = Topic
13338
+
13339
+ @property
13340
+ def ResetTimestamp(self):
13341
+ """重置位点时间(单位:毫秒)-1表示重置到最新位点
13342
+ :rtype: int
13343
+ """
13344
+ return self._ResetTimestamp
13345
+
13346
+ @ResetTimestamp.setter
13347
+ def ResetTimestamp(self, ResetTimestamp):
13348
+ self._ResetTimestamp = ResetTimestamp
12001
13349
 
12002
13350
  @property
12003
13351
  def ConsumerGroup(self):
@@ -12013,7 +13361,8 @@ class ResendDeadLetterMessageRequest(AbstractModel):
12013
13361
 
12014
13362
  def _deserialize(self, params):
12015
13363
  self._InstanceId = params.get("InstanceId")
12016
- self._MessageIds = params.get("MessageIds")
13364
+ self._Topic = params.get("Topic")
13365
+ self._ResetTimestamp = params.get("ResetTimestamp")
12017
13366
  self._ConsumerGroup = params.get("ConsumerGroup")
12018
13367
  memeber_set = set(params.keys())
12019
13368
  for name, value in vars(self).items():
@@ -12025,34 +13374,18 @@ class ResendDeadLetterMessageRequest(AbstractModel):
12025
13374
 
12026
13375
 
12027
13376
 
12028
- class ResendDeadLetterMessageResponse(AbstractModel):
12029
- """ResendDeadLetterMessage返回参数结构体
13377
+ class ResetConsumerGroupOffsetResponse(AbstractModel):
13378
+ """ResetConsumerGroupOffset返回参数结构体
12030
13379
 
12031
13380
  """
12032
13381
 
12033
13382
  def __init__(self):
12034
13383
  r"""
12035
- :param _ResendResult: 重发消息结果
12036
- 注意:此字段可能返回 null,表示取不到有效值。
12037
- :type ResendResult: bool
12038
13384
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12039
13385
  :type RequestId: str
12040
13386
  """
12041
- self._ResendResult = None
12042
13387
  self._RequestId = None
12043
13388
 
12044
- @property
12045
- def ResendResult(self):
12046
- """重发消息结果
12047
- 注意:此字段可能返回 null,表示取不到有效值。
12048
- :rtype: bool
12049
- """
12050
- return self._ResendResult
12051
-
12052
- @ResendResult.setter
12053
- def ResendResult(self, ResendResult):
12054
- self._ResendResult = ResendResult
12055
-
12056
13389
  @property
12057
13390
  def RequestId(self):
12058
13391
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -12066,7 +13399,6 @@ class ResendDeadLetterMessageResponse(AbstractModel):
12066
13399
 
12067
13400
 
12068
13401
  def _deserialize(self, params):
12069
- self._ResendResult = params.get("ResendResult")
12070
13402
  self._RequestId = params.get("RequestId")
12071
13403
 
12072
13404
 
@@ -12248,6 +13580,100 @@ class RoleItem(AbstractModel):
12248
13580
 
12249
13581
 
12250
13582
 
13583
+ class RollbackMigratingTopicStageRequest(AbstractModel):
13584
+ """RollbackMigratingTopicStage请求参数结构体
13585
+
13586
+ """
13587
+
13588
+ def __init__(self):
13589
+ r"""
13590
+ :param _TaskId: 任务ID
13591
+ :type TaskId: str
13592
+ :param _TopicName: 主题名称
13593
+ :type TopicName: str
13594
+ :param _Namespace: 命名空间,仅4.x集群有效
13595
+ :type Namespace: str
13596
+ """
13597
+ self._TaskId = None
13598
+ self._TopicName = None
13599
+ self._Namespace = None
13600
+
13601
+ @property
13602
+ def TaskId(self):
13603
+ """任务ID
13604
+ :rtype: str
13605
+ """
13606
+ return self._TaskId
13607
+
13608
+ @TaskId.setter
13609
+ def TaskId(self, TaskId):
13610
+ self._TaskId = TaskId
13611
+
13612
+ @property
13613
+ def TopicName(self):
13614
+ """主题名称
13615
+ :rtype: str
13616
+ """
13617
+ return self._TopicName
13618
+
13619
+ @TopicName.setter
13620
+ def TopicName(self, TopicName):
13621
+ self._TopicName = TopicName
13622
+
13623
+ @property
13624
+ def Namespace(self):
13625
+ """命名空间,仅4.x集群有效
13626
+ :rtype: str
13627
+ """
13628
+ return self._Namespace
13629
+
13630
+ @Namespace.setter
13631
+ def Namespace(self, Namespace):
13632
+ self._Namespace = Namespace
13633
+
13634
+
13635
+ def _deserialize(self, params):
13636
+ self._TaskId = params.get("TaskId")
13637
+ self._TopicName = params.get("TopicName")
13638
+ self._Namespace = params.get("Namespace")
13639
+ memeber_set = set(params.keys())
13640
+ for name, value in vars(self).items():
13641
+ property_name = name[1:]
13642
+ if property_name in memeber_set:
13643
+ memeber_set.remove(property_name)
13644
+ if len(memeber_set) > 0:
13645
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13646
+
13647
+
13648
+
13649
+ class RollbackMigratingTopicStageResponse(AbstractModel):
13650
+ """RollbackMigratingTopicStage返回参数结构体
13651
+
13652
+ """
13653
+
13654
+ def __init__(self):
13655
+ r"""
13656
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13657
+ :type RequestId: str
13658
+ """
13659
+ self._RequestId = None
13660
+
13661
+ @property
13662
+ def RequestId(self):
13663
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13664
+ :rtype: str
13665
+ """
13666
+ return self._RequestId
13667
+
13668
+ @RequestId.setter
13669
+ def RequestId(self, RequestId):
13670
+ self._RequestId = RequestId
13671
+
13672
+
13673
+ def _deserialize(self, params):
13674
+ self._RequestId = params.get("RequestId")
13675
+
13676
+
12251
13677
  class SourceClusterGroupConfig(AbstractModel):
12252
13678
  """消费组配置信息
12253
13679
 
@@ -12438,7 +13864,6 @@ class SourceClusterTopicConfig(AbstractModel):
12438
13864
  def __init__(self):
12439
13865
  r"""
12440
13866
  :param _TopicName: 主题名称
12441
- 注意:此字段可能返回 null,表示取不到有效值。
12442
13867
  :type TopicName: str
12443
13868
  :param _TopicType: 主题类型,
12444
13869
  5.x版本
@@ -12454,35 +13879,26 @@ PartitionedOrder 分区顺序消息
12454
13879
  Transaction 事务消息
12455
13880
  DelayScheduled 延时消息
12456
13881
 
12457
- 注意:此字段可能返回 null,表示取不到有效值。
12458
13882
  :type TopicType: str
12459
13883
  :param _QueueNum: 队列数
12460
- 注意:此字段可能返回 null,表示取不到有效值。
12461
13884
  :type QueueNum: int
12462
13885
  :param _Remark: 备注信息
12463
- 注意:此字段可能返回 null,表示取不到有效值。
12464
13886
  :type Remark: str
12465
13887
  :param _Imported: 是否已导入,作为入参时无效
12466
- 注意:此字段可能返回 null,表示取不到有效值。
12467
13888
  :type Imported: bool
12468
13889
  :param _Namespace: 命名空间,仅4.x集群有效
12469
- 注意:此字段可能返回 null,表示取不到有效值。
12470
13890
  :type Namespace: str
12471
13891
  :param _ImportStatus: 导入状态,
12472
13892
  Unknown 未知,
12473
13893
  AlreadyExists 已存在,
12474
13894
  Success 成功,
12475
13895
  Failure 失败
12476
- 注意:此字段可能返回 null,表示取不到有效值。
12477
13896
  :type ImportStatus: str
12478
13897
  :param _NamespaceV4: 4.x的命名空间,出参使用
12479
- 注意:此字段可能返回 null,表示取不到有效值。
12480
13898
  :type NamespaceV4: str
12481
13899
  :param _TopicNameV4: 4.x的主题名,出参使用
12482
- 注意:此字段可能返回 null,表示取不到有效值。
12483
13900
  :type TopicNameV4: str
12484
13901
  :param _FullNamespaceV4: 4.x的完整命名空间,出参使用
12485
- 注意:此字段可能返回 null,表示取不到有效值。
12486
13902
  :type FullNamespaceV4: str
12487
13903
  """
12488
13904
  self._TopicName = None
@@ -12499,7 +13915,6 @@ Failure 失败
12499
13915
  @property
12500
13916
  def TopicName(self):
12501
13917
  """主题名称
12502
- 注意:此字段可能返回 null,表示取不到有效值。
12503
13918
  :rtype: str
12504
13919
  """
12505
13920
  return self._TopicName
@@ -12524,7 +13939,6 @@ PartitionedOrder 分区顺序消息
12524
13939
  Transaction 事务消息
12525
13940
  DelayScheduled 延时消息
12526
13941
 
12527
- 注意:此字段可能返回 null,表示取不到有效值。
12528
13942
  :rtype: str
12529
13943
  """
12530
13944
  return self._TopicType
@@ -12536,7 +13950,6 @@ DelayScheduled 延时消息
12536
13950
  @property
12537
13951
  def QueueNum(self):
12538
13952
  """队列数
12539
- 注意:此字段可能返回 null,表示取不到有效值。
12540
13953
  :rtype: int
12541
13954
  """
12542
13955
  return self._QueueNum
@@ -12548,7 +13961,6 @@ DelayScheduled 延时消息
12548
13961
  @property
12549
13962
  def Remark(self):
12550
13963
  """备注信息
12551
- 注意:此字段可能返回 null,表示取不到有效值。
12552
13964
  :rtype: str
12553
13965
  """
12554
13966
  return self._Remark
@@ -12560,7 +13972,6 @@ DelayScheduled 延时消息
12560
13972
  @property
12561
13973
  def Imported(self):
12562
13974
  """是否已导入,作为入参时无效
12563
- 注意:此字段可能返回 null,表示取不到有效值。
12564
13975
  :rtype: bool
12565
13976
  """
12566
13977
  return self._Imported
@@ -12572,7 +13983,6 @@ DelayScheduled 延时消息
12572
13983
  @property
12573
13984
  def Namespace(self):
12574
13985
  """命名空间,仅4.x集群有效
12575
- 注意:此字段可能返回 null,表示取不到有效值。
12576
13986
  :rtype: str
12577
13987
  """
12578
13988
  return self._Namespace
@@ -12588,7 +13998,6 @@ Unknown 未知,
12588
13998
  AlreadyExists 已存在,
12589
13999
  Success 成功,
12590
14000
  Failure 失败
12591
- 注意:此字段可能返回 null,表示取不到有效值。
12592
14001
  :rtype: str
12593
14002
  """
12594
14003
  return self._ImportStatus
@@ -12600,7 +14009,6 @@ Failure 失败
12600
14009
  @property
12601
14010
  def NamespaceV4(self):
12602
14011
  """4.x的命名空间,出参使用
12603
- 注意:此字段可能返回 null,表示取不到有效值。
12604
14012
  :rtype: str
12605
14013
  """
12606
14014
  return self._NamespaceV4
@@ -12612,7 +14020,6 @@ Failure 失败
12612
14020
  @property
12613
14021
  def TopicNameV4(self):
12614
14022
  """4.x的主题名,出参使用
12615
- 注意:此字段可能返回 null,表示取不到有效值。
12616
14023
  :rtype: str
12617
14024
  """
12618
14025
  return self._TopicNameV4
@@ -12624,7 +14031,6 @@ Failure 失败
12624
14031
  @property
12625
14032
  def FullNamespaceV4(self):
12626
14033
  """4.x的完整命名空间,出参使用
12627
- 注意:此字段可能返回 null,表示取不到有效值。
12628
14034
  :rtype: str
12629
14035
  """
12630
14036
  return self._FullNamespaceV4
@@ -13119,7 +14525,6 @@ class TopicConsumeStats(AbstractModel):
13119
14525
  :param _SubString: 订阅规则
13120
14526
  :type SubString: str
13121
14527
  :param _LastUpdateTime: 最后消费进度更新时间
13122
- 注意:此字段可能返回 null,表示取不到有效值。
13123
14528
  :type LastUpdateTime: int
13124
14529
  """
13125
14530
  self._Topic = None
@@ -13187,7 +14592,6 @@ class TopicConsumeStats(AbstractModel):
13187
14592
  @property
13188
14593
  def LastUpdateTime(self):
13189
14594
  """最后消费进度更新时间
13190
- 注意:此字段可能返回 null,表示取不到有效值。
13191
14595
  :rtype: int
13192
14596
  """
13193
14597
  return self._LastUpdateTime
@@ -13403,6 +14807,72 @@ TRANSACTION:事务消息
13403
14807
 
13404
14808
 
13405
14809
 
14810
+ class TopicStageChangeResult(AbstractModel):
14811
+ """迁移主题修改状态后的结果
14812
+
14813
+ """
14814
+
14815
+ def __init__(self):
14816
+ r"""
14817
+ :param _TopicName: 主题名称
14818
+ :type TopicName: str
14819
+ :param _Success: 是否成功
14820
+ :type Success: bool
14821
+ :param _Namespace: 命名空间,仅4.x有效
14822
+ :type Namespace: str
14823
+ """
14824
+ self._TopicName = None
14825
+ self._Success = None
14826
+ self._Namespace = None
14827
+
14828
+ @property
14829
+ def TopicName(self):
14830
+ """主题名称
14831
+ :rtype: str
14832
+ """
14833
+ return self._TopicName
14834
+
14835
+ @TopicName.setter
14836
+ def TopicName(self, TopicName):
14837
+ self._TopicName = TopicName
14838
+
14839
+ @property
14840
+ def Success(self):
14841
+ """是否成功
14842
+ :rtype: bool
14843
+ """
14844
+ return self._Success
14845
+
14846
+ @Success.setter
14847
+ def Success(self, Success):
14848
+ self._Success = Success
14849
+
14850
+ @property
14851
+ def Namespace(self):
14852
+ """命名空间,仅4.x有效
14853
+ :rtype: str
14854
+ """
14855
+ return self._Namespace
14856
+
14857
+ @Namespace.setter
14858
+ def Namespace(self, Namespace):
14859
+ self._Namespace = Namespace
14860
+
14861
+
14862
+ def _deserialize(self, params):
14863
+ self._TopicName = params.get("TopicName")
14864
+ self._Success = params.get("Success")
14865
+ self._Namespace = params.get("Namespace")
14866
+ memeber_set = set(params.keys())
14867
+ for name, value in vars(self).items():
14868
+ property_name = name[1:]
14869
+ if property_name in memeber_set:
14870
+ memeber_set.remove(property_name)
14871
+ if len(memeber_set) > 0:
14872
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14873
+
14874
+
14875
+
13406
14876
  class VpcInfo(AbstractModel):
13407
14877
  """VPC信息
13408
14878