tencentcloud-sdk-python 3.0.1360__py2.py3-none-any.whl → 3.0.1361__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 (37) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/bh/v20230418/bh_client.py +23 -0
  3. tencentcloud/bh/v20230418/models.py +139 -0
  4. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  5. tencentcloud/cdb/v20170320/models.py +6 -6
  6. tencentcloud/cdwdoris/v20211228/models.py +30 -0
  7. tencentcloud/cdwpg/v20201230/models.py +22 -198
  8. tencentcloud/cvm/v20170312/models.py +20 -10
  9. tencentcloud/cynosdb/v20190107/models.py +45 -0
  10. tencentcloud/dlc/v20210125/models.py +107 -564
  11. tencentcloud/dsgc/v20190723/models.py +30 -0
  12. tencentcloud/emr/v20190103/emr_client.py +23 -0
  13. tencentcloud/emr/v20190103/models.py +214 -0
  14. tencentcloud/ess/v20201111/models.py +256 -0
  15. tencentcloud/essbasic/v20210526/models.py +281 -13
  16. tencentcloud/gaap/v20180529/models.py +0 -166
  17. tencentcloud/ioa/v20220601/ioa_client.py +46 -0
  18. tencentcloud/ioa/v20220601/models.py +358 -0
  19. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
  20. tencentcloud/iotexplorer/v20190423/models.py +600 -0
  21. tencentcloud/kms/v20190118/models.py +71 -0
  22. tencentcloud/lcic/v20220817/models.py +34 -0
  23. tencentcloud/lighthouse/v20200324/lighthouse_client.py +4 -1
  24. tencentcloud/lighthouse/v20200324/models.py +14 -10
  25. tencentcloud/monitor/v20180724/models.py +2 -2
  26. tencentcloud/monitor/v20180724/monitor_client.py +1 -1
  27. tencentcloud/mps/v20190612/models.py +4 -4
  28. tencentcloud/privatedns/v20201028/models.py +6 -6
  29. tencentcloud/tan/v20220420/tan_client.py +3 -1
  30. tencentcloud/trocket/v20230308/models.py +1398 -66
  31. tencentcloud/trocket/v20230308/trocket_client.py +214 -0
  32. tencentcloud/wedata/v20210820/models.py +6 -6
  33. {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/RECORD +37 -37
  35. {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/LICENSE +0 -0
  36. {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.dist-info}/WHEEL +0 -0
  37. {tencentcloud_sdk_python-3.0.1360.dist-info → tencentcloud_sdk_python-3.0.1361.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
 
@@ -2327,6 +2441,70 @@ class DeleteRoleResponse(AbstractModel):
2327
2441
  self._RequestId = params.get("RequestId")
2328
2442
 
2329
2443
 
2444
+ class DeleteSmoothMigrationTaskRequest(AbstractModel):
2445
+ """DeleteSmoothMigrationTask请求参数结构体
2446
+
2447
+ """
2448
+
2449
+ def __init__(self):
2450
+ r"""
2451
+ :param _TaskId: 任务ID
2452
+ :type TaskId: str
2453
+ """
2454
+ self._TaskId = None
2455
+
2456
+ @property
2457
+ def TaskId(self):
2458
+ """任务ID
2459
+ :rtype: str
2460
+ """
2461
+ return self._TaskId
2462
+
2463
+ @TaskId.setter
2464
+ def TaskId(self, TaskId):
2465
+ self._TaskId = TaskId
2466
+
2467
+
2468
+ def _deserialize(self, params):
2469
+ self._TaskId = params.get("TaskId")
2470
+ memeber_set = set(params.keys())
2471
+ for name, value in vars(self).items():
2472
+ property_name = name[1:]
2473
+ if property_name in memeber_set:
2474
+ memeber_set.remove(property_name)
2475
+ if len(memeber_set) > 0:
2476
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2477
+
2478
+
2479
+
2480
+ class DeleteSmoothMigrationTaskResponse(AbstractModel):
2481
+ """DeleteSmoothMigrationTask返回参数结构体
2482
+
2483
+ """
2484
+
2485
+ def __init__(self):
2486
+ r"""
2487
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2488
+ :type RequestId: str
2489
+ """
2490
+ self._RequestId = None
2491
+
2492
+ @property
2493
+ def RequestId(self):
2494
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2495
+ :rtype: str
2496
+ """
2497
+ return self._RequestId
2498
+
2499
+ @RequestId.setter
2500
+ def RequestId(self, RequestId):
2501
+ self._RequestId = RequestId
2502
+
2503
+
2504
+ def _deserialize(self, params):
2505
+ self._RequestId = params.get("RequestId")
2506
+
2507
+
2330
2508
  class DeleteTopicRequest(AbstractModel):
2331
2509
  """DeleteTopic请求参数结构体
2332
2510
 
@@ -6673,39 +6851,147 @@ class DescribeMessageTraceResponse(AbstractModel):
6673
6851
  self._RequestId = params.get("RequestId")
6674
6852
 
6675
6853
 
6676
- class DescribeProductSKUsRequest(AbstractModel):
6677
- """DescribeProductSKUs请求参数结构体
6854
+ class DescribeMigratingGroupStatsRequest(AbstractModel):
6855
+ """DescribeMigratingGroupStats请求参数结构体
6678
6856
 
6679
6857
  """
6680
6858
 
6859
+ def __init__(self):
6860
+ r"""
6861
+ :param _TaskId: 迁移任务ID
6862
+ :type TaskId: str
6863
+ :param _GroupName: 消费组名称
6864
+ :type GroupName: str
6865
+ :param _Namespace: 命名空间
6866
+ :type Namespace: str
6867
+ """
6868
+ self._TaskId = None
6869
+ self._GroupName = None
6870
+ self._Namespace = None
6871
+
6872
+ @property
6873
+ def TaskId(self):
6874
+ """迁移任务ID
6875
+ :rtype: str
6876
+ """
6877
+ return self._TaskId
6878
+
6879
+ @TaskId.setter
6880
+ def TaskId(self, TaskId):
6881
+ self._TaskId = TaskId
6882
+
6883
+ @property
6884
+ def GroupName(self):
6885
+ """消费组名称
6886
+ :rtype: str
6887
+ """
6888
+ return self._GroupName
6889
+
6890
+ @GroupName.setter
6891
+ def GroupName(self, GroupName):
6892
+ self._GroupName = GroupName
6893
+
6894
+ @property
6895
+ def Namespace(self):
6896
+ """命名空间
6897
+ :rtype: str
6898
+ """
6899
+ return self._Namespace
6900
+
6901
+ @Namespace.setter
6902
+ def Namespace(self, Namespace):
6903
+ self._Namespace = Namespace
6904
+
6905
+
6906
+ def _deserialize(self, params):
6907
+ self._TaskId = params.get("TaskId")
6908
+ self._GroupName = params.get("GroupName")
6909
+ self._Namespace = params.get("Namespace")
6910
+ memeber_set = set(params.keys())
6911
+ for name, value in vars(self).items():
6912
+ property_name = name[1:]
6913
+ if property_name in memeber_set:
6914
+ memeber_set.remove(property_name)
6915
+ if len(memeber_set) > 0:
6916
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6917
+
6681
6918
 
6682
- class DescribeProductSKUsResponse(AbstractModel):
6683
- """DescribeProductSKUs返回参数结构体
6919
+
6920
+ class DescribeMigratingGroupStatsResponse(AbstractModel):
6921
+ """DescribeMigratingGroupStats返回参数结构体
6684
6922
 
6685
6923
  """
6686
6924
 
6687
6925
  def __init__(self):
6688
6926
  r"""
6689
- :param _Data: 商品配置信息
6927
+ :param _SourceConsumeLag: 源集群消费组堆积
6690
6928
  注意:此字段可能返回 null,表示取不到有效值。
6691
- :type Data: list of ProductSKU
6929
+ :type SourceConsumeLag: int
6930
+ :param _TargetConsumeLag: 目标集群消费组堆积
6931
+ 注意:此字段可能返回 null,表示取不到有效值。
6932
+ :type TargetConsumeLag: int
6933
+ :param _SourceConsumerClients: 源集群连接客户端列表
6934
+ 注意:此字段可能返回 null,表示取不到有效值。
6935
+ :type SourceConsumerClients: list of ConsumerClient
6936
+ :param _TargetConsumerClients: 目标集群连接客户端列表
6937
+ 注意:此字段可能返回 null,表示取不到有效值。
6938
+ :type TargetConsumerClients: list of ConsumerClient
6692
6939
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6693
6940
  :type RequestId: str
6694
6941
  """
6695
- self._Data = None
6942
+ self._SourceConsumeLag = None
6943
+ self._TargetConsumeLag = None
6944
+ self._SourceConsumerClients = None
6945
+ self._TargetConsumerClients = None
6696
6946
  self._RequestId = None
6697
6947
 
6698
6948
  @property
6699
- def Data(self):
6700
- """商品配置信息
6949
+ def SourceConsumeLag(self):
6950
+ """源集群消费组堆积
6701
6951
  注意:此字段可能返回 null,表示取不到有效值。
6702
- :rtype: list of ProductSKU
6952
+ :rtype: int
6703
6953
  """
6704
- return self._Data
6954
+ return self._SourceConsumeLag
6705
6955
 
6706
- @Data.setter
6707
- def Data(self, Data):
6708
- self._Data = Data
6956
+ @SourceConsumeLag.setter
6957
+ def SourceConsumeLag(self, SourceConsumeLag):
6958
+ self._SourceConsumeLag = SourceConsumeLag
6959
+
6960
+ @property
6961
+ def TargetConsumeLag(self):
6962
+ """目标集群消费组堆积
6963
+ 注意:此字段可能返回 null,表示取不到有效值。
6964
+ :rtype: int
6965
+ """
6966
+ return self._TargetConsumeLag
6967
+
6968
+ @TargetConsumeLag.setter
6969
+ def TargetConsumeLag(self, TargetConsumeLag):
6970
+ self._TargetConsumeLag = TargetConsumeLag
6971
+
6972
+ @property
6973
+ def SourceConsumerClients(self):
6974
+ """源集群连接客户端列表
6975
+ 注意:此字段可能返回 null,表示取不到有效值。
6976
+ :rtype: list of ConsumerClient
6977
+ """
6978
+ return self._SourceConsumerClients
6979
+
6980
+ @SourceConsumerClients.setter
6981
+ def SourceConsumerClients(self, SourceConsumerClients):
6982
+ self._SourceConsumerClients = SourceConsumerClients
6983
+
6984
+ @property
6985
+ def TargetConsumerClients(self):
6986
+ """目标集群连接客户端列表
6987
+ 注意:此字段可能返回 null,表示取不到有效值。
6988
+ :rtype: list of ConsumerClient
6989
+ """
6990
+ return self._TargetConsumerClients
6991
+
6992
+ @TargetConsumerClients.setter
6993
+ def TargetConsumerClients(self, TargetConsumerClients):
6994
+ self._TargetConsumerClients = TargetConsumerClients
6709
6995
 
6710
6996
  @property
6711
6997
  def RequestId(self):
@@ -6720,47 +7006,44 @@ class DescribeProductSKUsResponse(AbstractModel):
6720
7006
 
6721
7007
 
6722
7008
  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()
7009
+ self._SourceConsumeLag = params.get("SourceConsumeLag")
7010
+ self._TargetConsumeLag = params.get("TargetConsumeLag")
7011
+ if params.get("SourceConsumerClients") is not None:
7012
+ self._SourceConsumerClients = []
7013
+ for item in params.get("SourceConsumerClients"):
7014
+ obj = ConsumerClient()
6727
7015
  obj._deserialize(item)
6728
- self._Data.append(obj)
7016
+ self._SourceConsumerClients.append(obj)
7017
+ if params.get("TargetConsumerClients") is not None:
7018
+ self._TargetConsumerClients = []
7019
+ for item in params.get("TargetConsumerClients"):
7020
+ obj = ConsumerClient()
7021
+ obj._deserialize(item)
7022
+ self._TargetConsumerClients.append(obj)
6729
7023
  self._RequestId = params.get("RequestId")
6730
7024
 
6731
7025
 
6732
- class DescribeRoleListRequest(AbstractModel):
6733
- """DescribeRoleList请求参数结构体
7026
+ class DescribeMigratingTopicListRequest(AbstractModel):
7027
+ """DescribeMigratingTopicList请求参数结构体
6734
7028
 
6735
7029
  """
6736
7030
 
6737
7031
  def __init__(self):
6738
7032
  r"""
6739
- :param _InstanceId: 集群ID
6740
- :type InstanceId: str
6741
7033
  :param _Offset: 查询起始位置
6742
7034
  :type Offset: int
6743
7035
  :param _Limit: 查询结果限制数量
6744
7036
  :type Limit: int
7037
+ :param _TaskId: 任务ID
7038
+ :type TaskId: str
6745
7039
  :param _Filters: 查询条件列表
6746
7040
  :type Filters: list of Filter
6747
7041
  """
6748
- self._InstanceId = None
6749
7042
  self._Offset = None
6750
7043
  self._Limit = None
7044
+ self._TaskId = None
6751
7045
  self._Filters = None
6752
7046
 
6753
- @property
6754
- def InstanceId(self):
6755
- """集群ID
6756
- :rtype: str
6757
- """
6758
- return self._InstanceId
6759
-
6760
- @InstanceId.setter
6761
- def InstanceId(self, InstanceId):
6762
- self._InstanceId = InstanceId
6763
-
6764
7047
  @property
6765
7048
  def Offset(self):
6766
7049
  """查询起始位置
@@ -6784,9 +7067,532 @@ class DescribeRoleListRequest(AbstractModel):
6784
7067
  self._Limit = Limit
6785
7068
 
6786
7069
  @property
6787
- def Filters(self):
6788
- """查询条件列表
6789
- :rtype: list of Filter
7070
+ def TaskId(self):
7071
+ """任务ID
7072
+ :rtype: str
7073
+ """
7074
+ return self._TaskId
7075
+
7076
+ @TaskId.setter
7077
+ def TaskId(self, TaskId):
7078
+ self._TaskId = TaskId
7079
+
7080
+ @property
7081
+ def Filters(self):
7082
+ """查询条件列表
7083
+ :rtype: list of Filter
7084
+ """
7085
+ return self._Filters
7086
+
7087
+ @Filters.setter
7088
+ def Filters(self, Filters):
7089
+ self._Filters = Filters
7090
+
7091
+
7092
+ def _deserialize(self, params):
7093
+ self._Offset = params.get("Offset")
7094
+ self._Limit = params.get("Limit")
7095
+ self._TaskId = params.get("TaskId")
7096
+ if params.get("Filters") is not None:
7097
+ self._Filters = []
7098
+ for item in params.get("Filters"):
7099
+ obj = Filter()
7100
+ obj._deserialize(item)
7101
+ self._Filters.append(obj)
7102
+ memeber_set = set(params.keys())
7103
+ for name, value in vars(self).items():
7104
+ property_name = name[1:]
7105
+ if property_name in memeber_set:
7106
+ memeber_set.remove(property_name)
7107
+ if len(memeber_set) > 0:
7108
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7109
+
7110
+
7111
+
7112
+ class DescribeMigratingTopicListResponse(AbstractModel):
7113
+ """DescribeMigratingTopicList返回参数结构体
7114
+
7115
+ """
7116
+
7117
+ def __init__(self):
7118
+ r"""
7119
+ :param _TotalCount: 查询总数
7120
+ 注意:此字段可能返回 null,表示取不到有效值。
7121
+ :type TotalCount: int
7122
+ :param _MigrateTopics: 主题列表
7123
+ :type MigrateTopics: list of MigratingTopic
7124
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7125
+ :type RequestId: str
7126
+ """
7127
+ self._TotalCount = None
7128
+ self._MigrateTopics = None
7129
+ self._RequestId = None
7130
+
7131
+ @property
7132
+ def TotalCount(self):
7133
+ """查询总数
7134
+ 注意:此字段可能返回 null,表示取不到有效值。
7135
+ :rtype: int
7136
+ """
7137
+ return self._TotalCount
7138
+
7139
+ @TotalCount.setter
7140
+ def TotalCount(self, TotalCount):
7141
+ self._TotalCount = TotalCount
7142
+
7143
+ @property
7144
+ def MigrateTopics(self):
7145
+ """主题列表
7146
+ :rtype: list of MigratingTopic
7147
+ """
7148
+ return self._MigrateTopics
7149
+
7150
+ @MigrateTopics.setter
7151
+ def MigrateTopics(self, MigrateTopics):
7152
+ self._MigrateTopics = MigrateTopics
7153
+
7154
+ @property
7155
+ def RequestId(self):
7156
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7157
+ :rtype: str
7158
+ """
7159
+ return self._RequestId
7160
+
7161
+ @RequestId.setter
7162
+ def RequestId(self, RequestId):
7163
+ self._RequestId = RequestId
7164
+
7165
+
7166
+ def _deserialize(self, params):
7167
+ self._TotalCount = params.get("TotalCount")
7168
+ if params.get("MigrateTopics") is not None:
7169
+ self._MigrateTopics = []
7170
+ for item in params.get("MigrateTopics"):
7171
+ obj = MigratingTopic()
7172
+ obj._deserialize(item)
7173
+ self._MigrateTopics.append(obj)
7174
+ self._RequestId = params.get("RequestId")
7175
+
7176
+
7177
+ class DescribeMigratingTopicStatsRequest(AbstractModel):
7178
+ """DescribeMigratingTopicStats请求参数结构体
7179
+
7180
+ """
7181
+
7182
+ def __init__(self):
7183
+ r"""
7184
+ :param _TaskId: 任务ID
7185
+ :type TaskId: str
7186
+ :param _TopicName: 主题名称
7187
+ :type TopicName: str
7188
+ :param _Namespace: 命名空间,仅4.x集群有效
7189
+ :type Namespace: str
7190
+ """
7191
+ self._TaskId = None
7192
+ self._TopicName = None
7193
+ self._Namespace = None
7194
+
7195
+ @property
7196
+ def TaskId(self):
7197
+ """任务ID
7198
+ :rtype: str
7199
+ """
7200
+ return self._TaskId
7201
+
7202
+ @TaskId.setter
7203
+ def TaskId(self, TaskId):
7204
+ self._TaskId = TaskId
7205
+
7206
+ @property
7207
+ def TopicName(self):
7208
+ """主题名称
7209
+ :rtype: str
7210
+ """
7211
+ return self._TopicName
7212
+
7213
+ @TopicName.setter
7214
+ def TopicName(self, TopicName):
7215
+ self._TopicName = TopicName
7216
+
7217
+ @property
7218
+ def Namespace(self):
7219
+ """命名空间,仅4.x集群有效
7220
+ :rtype: str
7221
+ """
7222
+ return self._Namespace
7223
+
7224
+ @Namespace.setter
7225
+ def Namespace(self, Namespace):
7226
+ self._Namespace = Namespace
7227
+
7228
+
7229
+ def _deserialize(self, params):
7230
+ self._TaskId = params.get("TaskId")
7231
+ self._TopicName = params.get("TopicName")
7232
+ self._Namespace = params.get("Namespace")
7233
+ memeber_set = set(params.keys())
7234
+ for name, value in vars(self).items():
7235
+ property_name = name[1:]
7236
+ if property_name in memeber_set:
7237
+ memeber_set.remove(property_name)
7238
+ if len(memeber_set) > 0:
7239
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7240
+
7241
+
7242
+
7243
+ class DescribeMigratingTopicStatsResponse(AbstractModel):
7244
+ """DescribeMigratingTopicStats返回参数结构体
7245
+
7246
+ """
7247
+
7248
+ def __init__(self):
7249
+ r"""
7250
+ :param _SourceClusterConsumerCount: 源集群的消费者数量
7251
+ :type SourceClusterConsumerCount: int
7252
+ :param _TargetClusterConsumerCount: 目标集群的消费者数量
7253
+ :type TargetClusterConsumerCount: int
7254
+ :param _SourceClusterConsumerGroups: 源集群消费组列表
7255
+ :type SourceClusterConsumerGroups: list of str
7256
+ :param _TargetClusterConsumerGroups: 目标集群消费组列表
7257
+ :type TargetClusterConsumerGroups: list of str
7258
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7259
+ :type RequestId: str
7260
+ """
7261
+ self._SourceClusterConsumerCount = None
7262
+ self._TargetClusterConsumerCount = None
7263
+ self._SourceClusterConsumerGroups = None
7264
+ self._TargetClusterConsumerGroups = None
7265
+ self._RequestId = None
7266
+
7267
+ @property
7268
+ def SourceClusterConsumerCount(self):
7269
+ """源集群的消费者数量
7270
+ :rtype: int
7271
+ """
7272
+ return self._SourceClusterConsumerCount
7273
+
7274
+ @SourceClusterConsumerCount.setter
7275
+ def SourceClusterConsumerCount(self, SourceClusterConsumerCount):
7276
+ self._SourceClusterConsumerCount = SourceClusterConsumerCount
7277
+
7278
+ @property
7279
+ def TargetClusterConsumerCount(self):
7280
+ """目标集群的消费者数量
7281
+ :rtype: int
7282
+ """
7283
+ return self._TargetClusterConsumerCount
7284
+
7285
+ @TargetClusterConsumerCount.setter
7286
+ def TargetClusterConsumerCount(self, TargetClusterConsumerCount):
7287
+ self._TargetClusterConsumerCount = TargetClusterConsumerCount
7288
+
7289
+ @property
7290
+ def SourceClusterConsumerGroups(self):
7291
+ """源集群消费组列表
7292
+ :rtype: list of str
7293
+ """
7294
+ return self._SourceClusterConsumerGroups
7295
+
7296
+ @SourceClusterConsumerGroups.setter
7297
+ def SourceClusterConsumerGroups(self, SourceClusterConsumerGroups):
7298
+ self._SourceClusterConsumerGroups = SourceClusterConsumerGroups
7299
+
7300
+ @property
7301
+ def TargetClusterConsumerGroups(self):
7302
+ """目标集群消费组列表
7303
+ :rtype: list of str
7304
+ """
7305
+ return self._TargetClusterConsumerGroups
7306
+
7307
+ @TargetClusterConsumerGroups.setter
7308
+ def TargetClusterConsumerGroups(self, TargetClusterConsumerGroups):
7309
+ self._TargetClusterConsumerGroups = TargetClusterConsumerGroups
7310
+
7311
+ @property
7312
+ def RequestId(self):
7313
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7314
+ :rtype: str
7315
+ """
7316
+ return self._RequestId
7317
+
7318
+ @RequestId.setter
7319
+ def RequestId(self, RequestId):
7320
+ self._RequestId = RequestId
7321
+
7322
+
7323
+ def _deserialize(self, params):
7324
+ self._SourceClusterConsumerCount = params.get("SourceClusterConsumerCount")
7325
+ self._TargetClusterConsumerCount = params.get("TargetClusterConsumerCount")
7326
+ self._SourceClusterConsumerGroups = params.get("SourceClusterConsumerGroups")
7327
+ self._TargetClusterConsumerGroups = params.get("TargetClusterConsumerGroups")
7328
+ self._RequestId = params.get("RequestId")
7329
+
7330
+
7331
+ class DescribeProductSKUsRequest(AbstractModel):
7332
+ """DescribeProductSKUs请求参数结构体
7333
+
7334
+ """
7335
+
7336
+
7337
+ class DescribeProductSKUsResponse(AbstractModel):
7338
+ """DescribeProductSKUs返回参数结构体
7339
+
7340
+ """
7341
+
7342
+ def __init__(self):
7343
+ r"""
7344
+ :param _Data: 商品配置信息
7345
+ 注意:此字段可能返回 null,表示取不到有效值。
7346
+ :type Data: list of ProductSKU
7347
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7348
+ :type RequestId: str
7349
+ """
7350
+ self._Data = None
7351
+ self._RequestId = None
7352
+
7353
+ @property
7354
+ def Data(self):
7355
+ """商品配置信息
7356
+ 注意:此字段可能返回 null,表示取不到有效值。
7357
+ :rtype: list of ProductSKU
7358
+ """
7359
+ return self._Data
7360
+
7361
+ @Data.setter
7362
+ def Data(self, Data):
7363
+ self._Data = Data
7364
+
7365
+ @property
7366
+ def RequestId(self):
7367
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7368
+ :rtype: str
7369
+ """
7370
+ return self._RequestId
7371
+
7372
+ @RequestId.setter
7373
+ def RequestId(self, RequestId):
7374
+ self._RequestId = RequestId
7375
+
7376
+
7377
+ def _deserialize(self, params):
7378
+ if params.get("Data") is not None:
7379
+ self._Data = []
7380
+ for item in params.get("Data"):
7381
+ obj = ProductSKU()
7382
+ obj._deserialize(item)
7383
+ self._Data.append(obj)
7384
+ self._RequestId = params.get("RequestId")
7385
+
7386
+
7387
+ class DescribeRoleListRequest(AbstractModel):
7388
+ """DescribeRoleList请求参数结构体
7389
+
7390
+ """
7391
+
7392
+ def __init__(self):
7393
+ r"""
7394
+ :param _InstanceId: 集群ID
7395
+ :type InstanceId: str
7396
+ :param _Offset: 查询起始位置
7397
+ :type Offset: int
7398
+ :param _Limit: 查询结果限制数量
7399
+ :type Limit: int
7400
+ :param _Filters: 查询条件列表
7401
+ :type Filters: list of Filter
7402
+ """
7403
+ self._InstanceId = None
7404
+ self._Offset = None
7405
+ self._Limit = None
7406
+ self._Filters = None
7407
+
7408
+ @property
7409
+ def InstanceId(self):
7410
+ """集群ID
7411
+ :rtype: str
7412
+ """
7413
+ return self._InstanceId
7414
+
7415
+ @InstanceId.setter
7416
+ def InstanceId(self, InstanceId):
7417
+ self._InstanceId = InstanceId
7418
+
7419
+ @property
7420
+ def Offset(self):
7421
+ """查询起始位置
7422
+ :rtype: int
7423
+ """
7424
+ return self._Offset
7425
+
7426
+ @Offset.setter
7427
+ def Offset(self, Offset):
7428
+ self._Offset = Offset
7429
+
7430
+ @property
7431
+ def Limit(self):
7432
+ """查询结果限制数量
7433
+ :rtype: int
7434
+ """
7435
+ return self._Limit
7436
+
7437
+ @Limit.setter
7438
+ def Limit(self, Limit):
7439
+ self._Limit = Limit
7440
+
7441
+ @property
7442
+ def Filters(self):
7443
+ """查询条件列表
7444
+ :rtype: list of Filter
7445
+ """
7446
+ return self._Filters
7447
+
7448
+ @Filters.setter
7449
+ def Filters(self, Filters):
7450
+ self._Filters = Filters
7451
+
7452
+
7453
+ def _deserialize(self, params):
7454
+ self._InstanceId = params.get("InstanceId")
7455
+ self._Offset = params.get("Offset")
7456
+ self._Limit = params.get("Limit")
7457
+ if params.get("Filters") is not None:
7458
+ self._Filters = []
7459
+ for item in params.get("Filters"):
7460
+ obj = Filter()
7461
+ obj._deserialize(item)
7462
+ self._Filters.append(obj)
7463
+ memeber_set = set(params.keys())
7464
+ for name, value in vars(self).items():
7465
+ property_name = name[1:]
7466
+ if property_name in memeber_set:
7467
+ memeber_set.remove(property_name)
7468
+ if len(memeber_set) > 0:
7469
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7470
+
7471
+
7472
+
7473
+ class DescribeRoleListResponse(AbstractModel):
7474
+ """DescribeRoleList返回参数结构体
7475
+
7476
+ """
7477
+
7478
+ def __init__(self):
7479
+ r"""
7480
+ :param _TotalCount: 查询总数
7481
+ 注意:此字段可能返回 null,表示取不到有效值。
7482
+ :type TotalCount: int
7483
+ :param _Data: 角色信息列表
7484
+ :type Data: list of RoleItem
7485
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7486
+ :type RequestId: str
7487
+ """
7488
+ self._TotalCount = None
7489
+ self._Data = None
7490
+ self._RequestId = None
7491
+
7492
+ @property
7493
+ def TotalCount(self):
7494
+ """查询总数
7495
+ 注意:此字段可能返回 null,表示取不到有效值。
7496
+ :rtype: int
7497
+ """
7498
+ return self._TotalCount
7499
+
7500
+ @TotalCount.setter
7501
+ def TotalCount(self, TotalCount):
7502
+ self._TotalCount = TotalCount
7503
+
7504
+ @property
7505
+ def Data(self):
7506
+ """角色信息列表
7507
+ :rtype: list of RoleItem
7508
+ """
7509
+ return self._Data
7510
+
7511
+ @Data.setter
7512
+ def Data(self, Data):
7513
+ self._Data = Data
7514
+
7515
+ @property
7516
+ def RequestId(self):
7517
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7518
+ :rtype: str
7519
+ """
7520
+ return self._RequestId
7521
+
7522
+ @RequestId.setter
7523
+ def RequestId(self, RequestId):
7524
+ self._RequestId = RequestId
7525
+
7526
+
7527
+ def _deserialize(self, params):
7528
+ self._TotalCount = params.get("TotalCount")
7529
+ if params.get("Data") is not None:
7530
+ self._Data = []
7531
+ for item in params.get("Data"):
7532
+ obj = RoleItem()
7533
+ obj._deserialize(item)
7534
+ self._Data.append(obj)
7535
+ self._RequestId = params.get("RequestId")
7536
+
7537
+
7538
+ class DescribeSourceClusterGroupListRequest(AbstractModel):
7539
+ """DescribeSourceClusterGroupList请求参数结构体
7540
+
7541
+ """
7542
+
7543
+ def __init__(self):
7544
+ r"""
7545
+ :param _Offset: 查询起始位置
7546
+ :type Offset: int
7547
+ :param _Limit: 查询结果限制数量
7548
+ :type Limit: int
7549
+ :param _TaskId: 任务ID
7550
+ :type TaskId: str
7551
+ :param _Filters: 查询条件列表
7552
+ :type Filters: list of Filter
7553
+ """
7554
+ self._Offset = None
7555
+ self._Limit = None
7556
+ self._TaskId = None
7557
+ self._Filters = None
7558
+
7559
+ @property
7560
+ def Offset(self):
7561
+ """查询起始位置
7562
+ :rtype: int
7563
+ """
7564
+ return self._Offset
7565
+
7566
+ @Offset.setter
7567
+ def Offset(self, Offset):
7568
+ self._Offset = Offset
7569
+
7570
+ @property
7571
+ def Limit(self):
7572
+ """查询结果限制数量
7573
+ :rtype: int
7574
+ """
7575
+ return self._Limit
7576
+
7577
+ @Limit.setter
7578
+ def Limit(self, Limit):
7579
+ self._Limit = Limit
7580
+
7581
+ @property
7582
+ def TaskId(self):
7583
+ """任务ID
7584
+ :rtype: str
7585
+ """
7586
+ return self._TaskId
7587
+
7588
+ @TaskId.setter
7589
+ def TaskId(self, TaskId):
7590
+ self._TaskId = TaskId
7591
+
7592
+ @property
7593
+ def Filters(self):
7594
+ """查询条件列表
7595
+ :rtype: list of Filter
6790
7596
  """
6791
7597
  return self._Filters
6792
7598
 
@@ -6796,9 +7602,9 @@ class DescribeRoleListRequest(AbstractModel):
6796
7602
 
6797
7603
 
6798
7604
  def _deserialize(self, params):
6799
- self._InstanceId = params.get("InstanceId")
6800
7605
  self._Offset = params.get("Offset")
6801
7606
  self._Limit = params.get("Limit")
7607
+ self._TaskId = params.get("TaskId")
6802
7608
  if params.get("Filters") is not None:
6803
7609
  self._Filters = []
6804
7610
  for item in params.get("Filters"):
@@ -6815,8 +7621,8 @@ class DescribeRoleListRequest(AbstractModel):
6815
7621
 
6816
7622
 
6817
7623
 
6818
- class DescribeRoleListResponse(AbstractModel):
6819
- """DescribeRoleList返回参数结构体
7624
+ class DescribeSourceClusterGroupListResponse(AbstractModel):
7625
+ """DescribeSourceClusterGroupList返回参数结构体
6820
7626
 
6821
7627
  """
6822
7628
 
@@ -6825,13 +7631,13 @@ class DescribeRoleListResponse(AbstractModel):
6825
7631
  :param _TotalCount: 查询总数
6826
7632
  注意:此字段可能返回 null,表示取不到有效值。
6827
7633
  :type TotalCount: int
6828
- :param _Data: 角色信息列表
6829
- :type Data: list of RoleItem
7634
+ :param _Groups: 消费组配置列表
7635
+ :type Groups: list of SourceClusterGroupConfig
6830
7636
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6831
7637
  :type RequestId: str
6832
7638
  """
6833
7639
  self._TotalCount = None
6834
- self._Data = None
7640
+ self._Groups = None
6835
7641
  self._RequestId = None
6836
7642
 
6837
7643
  @property
@@ -6847,15 +7653,15 @@ class DescribeRoleListResponse(AbstractModel):
6847
7653
  self._TotalCount = TotalCount
6848
7654
 
6849
7655
  @property
6850
- def Data(self):
6851
- """角色信息列表
6852
- :rtype: list of RoleItem
7656
+ def Groups(self):
7657
+ """消费组配置列表
7658
+ :rtype: list of SourceClusterGroupConfig
6853
7659
  """
6854
- return self._Data
7660
+ return self._Groups
6855
7661
 
6856
- @Data.setter
6857
- def Data(self, Data):
6858
- self._Data = Data
7662
+ @Groups.setter
7663
+ def Groups(self, Groups):
7664
+ self._Groups = Groups
6859
7665
 
6860
7666
  @property
6861
7667
  def RequestId(self):
@@ -6871,12 +7677,12 @@ class DescribeRoleListResponse(AbstractModel):
6871
7677
 
6872
7678
  def _deserialize(self, params):
6873
7679
  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()
7680
+ if params.get("Groups") is not None:
7681
+ self._Groups = []
7682
+ for item in params.get("Groups"):
7683
+ obj = SourceClusterGroupConfig()
6878
7684
  obj._deserialize(item)
6879
- self._Data.append(obj)
7685
+ self._Groups.append(obj)
6880
7686
  self._RequestId = params.get("RequestId")
6881
7687
 
6882
7688
 
@@ -7570,6 +8376,166 @@ class DetailedRolePerm(AbstractModel):
7570
8376
 
7571
8377
 
7572
8378
 
8379
+ class DoHealthCheckOnMigratingTopicRequest(AbstractModel):
8380
+ """DoHealthCheckOnMigratingTopic请求参数结构体
8381
+
8382
+ """
8383
+
8384
+ def __init__(self):
8385
+ r"""
8386
+ :param _TaskId: 任务ID
8387
+ :type TaskId: str
8388
+ :param _TopicName: 主题名称
8389
+ :type TopicName: str
8390
+ :param _IgnoreCheck: 是否忽略当前检查
8391
+ :type IgnoreCheck: bool
8392
+ :param _Namespace: 命名空间,仅4.x集群有效
8393
+ :type Namespace: str
8394
+ """
8395
+ self._TaskId = None
8396
+ self._TopicName = None
8397
+ self._IgnoreCheck = None
8398
+ self._Namespace = None
8399
+
8400
+ @property
8401
+ def TaskId(self):
8402
+ """任务ID
8403
+ :rtype: str
8404
+ """
8405
+ return self._TaskId
8406
+
8407
+ @TaskId.setter
8408
+ def TaskId(self, TaskId):
8409
+ self._TaskId = TaskId
8410
+
8411
+ @property
8412
+ def TopicName(self):
8413
+ """主题名称
8414
+ :rtype: str
8415
+ """
8416
+ return self._TopicName
8417
+
8418
+ @TopicName.setter
8419
+ def TopicName(self, TopicName):
8420
+ self._TopicName = TopicName
8421
+
8422
+ @property
8423
+ def IgnoreCheck(self):
8424
+ """是否忽略当前检查
8425
+ :rtype: bool
8426
+ """
8427
+ return self._IgnoreCheck
8428
+
8429
+ @IgnoreCheck.setter
8430
+ def IgnoreCheck(self, IgnoreCheck):
8431
+ self._IgnoreCheck = IgnoreCheck
8432
+
8433
+ @property
8434
+ def Namespace(self):
8435
+ """命名空间,仅4.x集群有效
8436
+ :rtype: str
8437
+ """
8438
+ return self._Namespace
8439
+
8440
+ @Namespace.setter
8441
+ def Namespace(self, Namespace):
8442
+ self._Namespace = Namespace
8443
+
8444
+
8445
+ def _deserialize(self, params):
8446
+ self._TaskId = params.get("TaskId")
8447
+ self._TopicName = params.get("TopicName")
8448
+ self._IgnoreCheck = params.get("IgnoreCheck")
8449
+ self._Namespace = params.get("Namespace")
8450
+ memeber_set = set(params.keys())
8451
+ for name, value in vars(self).items():
8452
+ property_name = name[1:]
8453
+ if property_name in memeber_set:
8454
+ memeber_set.remove(property_name)
8455
+ if len(memeber_set) > 0:
8456
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8457
+
8458
+
8459
+
8460
+ class DoHealthCheckOnMigratingTopicResponse(AbstractModel):
8461
+ """DoHealthCheckOnMigratingTopic返回参数结构体
8462
+
8463
+ """
8464
+
8465
+ def __init__(self):
8466
+ r"""
8467
+ :param _Passed: 是否通过
8468
+ :type Passed: bool
8469
+ :param _Reason: 健康检查返回的错误信息
8470
+ NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
8471
+ 注意:此字段可能返回 null,表示取不到有效值。
8472
+ :type Reason: str
8473
+ :param _ReasonList: 健康检查返回的错误信息列表
8474
+ 注意:此字段可能返回 null,表示取不到有效值。
8475
+ :type ReasonList: list of str
8476
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8477
+ :type RequestId: str
8478
+ """
8479
+ self._Passed = None
8480
+ self._Reason = None
8481
+ self._ReasonList = None
8482
+ self._RequestId = None
8483
+
8484
+ @property
8485
+ def Passed(self):
8486
+ """是否通过
8487
+ :rtype: bool
8488
+ """
8489
+ return self._Passed
8490
+
8491
+ @Passed.setter
8492
+ def Passed(self, Passed):
8493
+ self._Passed = Passed
8494
+
8495
+ @property
8496
+ def Reason(self):
8497
+ """健康检查返回的错误信息
8498
+ NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
8499
+ 注意:此字段可能返回 null,表示取不到有效值。
8500
+ :rtype: str
8501
+ """
8502
+ return self._Reason
8503
+
8504
+ @Reason.setter
8505
+ def Reason(self, Reason):
8506
+ self._Reason = Reason
8507
+
8508
+ @property
8509
+ def ReasonList(self):
8510
+ """健康检查返回的错误信息列表
8511
+ 注意:此字段可能返回 null,表示取不到有效值。
8512
+ :rtype: list of str
8513
+ """
8514
+ return self._ReasonList
8515
+
8516
+ @ReasonList.setter
8517
+ def ReasonList(self, ReasonList):
8518
+ self._ReasonList = ReasonList
8519
+
8520
+ @property
8521
+ def RequestId(self):
8522
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8523
+ :rtype: str
8524
+ """
8525
+ return self._RequestId
8526
+
8527
+ @RequestId.setter
8528
+ def RequestId(self, RequestId):
8529
+ self._RequestId = RequestId
8530
+
8531
+
8532
+ def _deserialize(self, params):
8533
+ self._Passed = params.get("Passed")
8534
+ self._Reason = params.get("Reason")
8535
+ self._ReasonList = params.get("ReasonList")
8536
+ self._RequestId = params.get("RequestId")
8537
+
8538
+
7573
8539
  class Endpoint(AbstractModel):
7574
8540
  """接入点信息
7575
8541
 
@@ -10227,23 +11193,129 @@ class MessageTrackItem(AbstractModel):
10227
11193
  self._TrackType = TrackType
10228
11194
 
10229
11195
  @property
10230
- def ExceptionDesc(self):
10231
- """异常信息
11196
+ def ExceptionDesc(self):
11197
+ """异常信息
11198
+ 注意:此字段可能返回 null,表示取不到有效值。
11199
+ :rtype: str
11200
+ """
11201
+ return self._ExceptionDesc
11202
+
11203
+ @ExceptionDesc.setter
11204
+ def ExceptionDesc(self, ExceptionDesc):
11205
+ self._ExceptionDesc = ExceptionDesc
11206
+
11207
+
11208
+ def _deserialize(self, params):
11209
+ self._ConsumerGroup = params.get("ConsumerGroup")
11210
+ self._ConsumeStatus = params.get("ConsumeStatus")
11211
+ self._TrackType = params.get("TrackType")
11212
+ self._ExceptionDesc = params.get("ExceptionDesc")
11213
+ memeber_set = set(params.keys())
11214
+ for name, value in vars(self).items():
11215
+ property_name = name[1:]
11216
+ if property_name in memeber_set:
11217
+ memeber_set.remove(property_name)
11218
+ if len(memeber_set) > 0:
11219
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
11220
+
11221
+
11222
+
11223
+ class MigratingTopic(AbstractModel):
11224
+ """迁移中的主题
11225
+
11226
+ """
11227
+
11228
+ def __init__(self):
11229
+ r"""
11230
+ :param _TopicName: 主题名称
11231
+ 注意:此字段可能返回 null,表示取不到有效值。
11232
+ :type TopicName: str
11233
+ :param _MigrationStatus: 迁移状态 S_RW_D_NA 源集群读写 S_RW_D_R 源集群读写目标集群读 S_RW_D_RW 源集群读写目标集群读写 S_R_D_RW 源集群读目标集群读写 S_NA_D_RW 目标集群读写
11234
+ 注意:此字段可能返回 null,表示取不到有效值。
11235
+ :type MigrationStatus: str
11236
+ :param _HealthCheckPassed: 是否完成健康检查
11237
+ 注意:此字段可能返回 null,表示取不到有效值。
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
+ 注意:此字段可能返回 null,表示取不到有效值。
11241
+ :type HealthCheckError: str
11242
+ :param _Namespace: 命名空间,仅4.x集群有效
11243
+ 注意:此字段可能返回 null,表示取不到有效值。
11244
+ :type Namespace: str
11245
+ """
11246
+ self._TopicName = None
11247
+ self._MigrationStatus = None
11248
+ self._HealthCheckPassed = None
11249
+ self._HealthCheckError = None
11250
+ self._Namespace = None
11251
+
11252
+ @property
11253
+ def TopicName(self):
11254
+ """主题名称
11255
+ 注意:此字段可能返回 null,表示取不到有效值。
11256
+ :rtype: str
11257
+ """
11258
+ return self._TopicName
11259
+
11260
+ @TopicName.setter
11261
+ def TopicName(self, TopicName):
11262
+ self._TopicName = TopicName
11263
+
11264
+ @property
11265
+ def MigrationStatus(self):
11266
+ """迁移状态 S_RW_D_NA 源集群读写 S_RW_D_R 源集群读写目标集群读 S_RW_D_RW 源集群读写目标集群读写 S_R_D_RW 源集群读目标集群读写 S_NA_D_RW 目标集群读写
11267
+ 注意:此字段可能返回 null,表示取不到有效值。
11268
+ :rtype: str
11269
+ """
11270
+ return self._MigrationStatus
11271
+
11272
+ @MigrationStatus.setter
11273
+ def MigrationStatus(self, MigrationStatus):
11274
+ self._MigrationStatus = MigrationStatus
11275
+
11276
+ @property
11277
+ def HealthCheckPassed(self):
11278
+ """是否完成健康检查
11279
+ 注意:此字段可能返回 null,表示取不到有效值。
11280
+ :rtype: bool
11281
+ """
11282
+ return self._HealthCheckPassed
11283
+
11284
+ @HealthCheckPassed.setter
11285
+ def HealthCheckPassed(self, HealthCheckPassed):
11286
+ self._HealthCheckPassed = HealthCheckPassed
11287
+
11288
+ @property
11289
+ def HealthCheckError(self):
11290
+ """上次健康检查返回的错误信息,仅在HealthCheckPassed为false时有效。 NotChecked 未执行检查, Unknown 未知错误, TopicNotImported 主题未导入, TopicNotExistsInSourceCluster 主题在源集群中不存在, TopicNotExistsInTargetCluster 主题在目标集群中不存在, ConsumerConnectedOnTarget 目标集群上存在消费者连接, SourceTopicHasNewMessagesIn5Minutes 源集群主题前5分钟内有新消息写入, TargetTopicHasNewMessagesIn5Minutes 目标集群主题前5分钟内有新消息写入, SourceTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, TargetTopicHasNoMessagesIn5Minutes 源集群前5分钟内没有新消息写入, ConsumerGroupCountNotMatch 订阅组数量不一致, SourceTopicHasUnconsumedMessages 源集群主题存在未消费消息,
11291
+ 注意:此字段可能返回 null,表示取不到有效值。
11292
+ :rtype: str
11293
+ """
11294
+ return self._HealthCheckError
11295
+
11296
+ @HealthCheckError.setter
11297
+ def HealthCheckError(self, HealthCheckError):
11298
+ self._HealthCheckError = HealthCheckError
11299
+
11300
+ @property
11301
+ def Namespace(self):
11302
+ """命名空间,仅4.x集群有效
10232
11303
  注意:此字段可能返回 null,表示取不到有效值。
10233
11304
  :rtype: str
10234
11305
  """
10235
- return self._ExceptionDesc
11306
+ return self._Namespace
10236
11307
 
10237
- @ExceptionDesc.setter
10238
- def ExceptionDesc(self, ExceptionDesc):
10239
- self._ExceptionDesc = ExceptionDesc
11308
+ @Namespace.setter
11309
+ def Namespace(self, Namespace):
11310
+ self._Namespace = Namespace
10240
11311
 
10241
11312
 
10242
11313
  def _deserialize(self, params):
10243
- self._ConsumerGroup = params.get("ConsumerGroup")
10244
- self._ConsumeStatus = params.get("ConsumeStatus")
10245
- self._TrackType = params.get("TrackType")
10246
- self._ExceptionDesc = params.get("ExceptionDesc")
11314
+ self._TopicName = params.get("TopicName")
11315
+ self._MigrationStatus = params.get("MigrationStatus")
11316
+ self._HealthCheckPassed = params.get("HealthCheckPassed")
11317
+ self._HealthCheckError = params.get("HealthCheckError")
11318
+ self._Namespace = params.get("Namespace")
10247
11319
  memeber_set = set(params.keys())
10248
11320
  for name, value in vars(self).items():
10249
11321
  property_name = name[1:]
@@ -11957,6 +13029,100 @@ class PublicAccessRule(AbstractModel):
11957
13029
 
11958
13030
 
11959
13031
 
13032
+ class RemoveMigratingTopicRequest(AbstractModel):
13033
+ """RemoveMigratingTopic请求参数结构体
13034
+
13035
+ """
13036
+
13037
+ def __init__(self):
13038
+ r"""
13039
+ :param _TaskId: 任务ID
13040
+ :type TaskId: str
13041
+ :param _TopicName: 主题名称
13042
+ :type TopicName: str
13043
+ :param _Namespace: 命名空间,仅迁移至4.x集群有效
13044
+ :type Namespace: str
13045
+ """
13046
+ self._TaskId = None
13047
+ self._TopicName = None
13048
+ self._Namespace = None
13049
+
13050
+ @property
13051
+ def TaskId(self):
13052
+ """任务ID
13053
+ :rtype: str
13054
+ """
13055
+ return self._TaskId
13056
+
13057
+ @TaskId.setter
13058
+ def TaskId(self, TaskId):
13059
+ self._TaskId = TaskId
13060
+
13061
+ @property
13062
+ def TopicName(self):
13063
+ """主题名称
13064
+ :rtype: str
13065
+ """
13066
+ return self._TopicName
13067
+
13068
+ @TopicName.setter
13069
+ def TopicName(self, TopicName):
13070
+ self._TopicName = TopicName
13071
+
13072
+ @property
13073
+ def Namespace(self):
13074
+ """命名空间,仅迁移至4.x集群有效
13075
+ :rtype: str
13076
+ """
13077
+ return self._Namespace
13078
+
13079
+ @Namespace.setter
13080
+ def Namespace(self, Namespace):
13081
+ self._Namespace = Namespace
13082
+
13083
+
13084
+ def _deserialize(self, params):
13085
+ self._TaskId = params.get("TaskId")
13086
+ self._TopicName = params.get("TopicName")
13087
+ self._Namespace = params.get("Namespace")
13088
+ memeber_set = set(params.keys())
13089
+ for name, value in vars(self).items():
13090
+ property_name = name[1:]
13091
+ if property_name in memeber_set:
13092
+ memeber_set.remove(property_name)
13093
+ if len(memeber_set) > 0:
13094
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13095
+
13096
+
13097
+
13098
+ class RemoveMigratingTopicResponse(AbstractModel):
13099
+ """RemoveMigratingTopic返回参数结构体
13100
+
13101
+ """
13102
+
13103
+ def __init__(self):
13104
+ r"""
13105
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13106
+ :type RequestId: str
13107
+ """
13108
+ self._RequestId = None
13109
+
13110
+ @property
13111
+ def RequestId(self):
13112
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13113
+ :rtype: str
13114
+ """
13115
+ return self._RequestId
13116
+
13117
+ @RequestId.setter
13118
+ def RequestId(self, RequestId):
13119
+ self._RequestId = RequestId
13120
+
13121
+
13122
+ def _deserialize(self, params):
13123
+ self._RequestId = params.get("RequestId")
13124
+
13125
+
11960
13126
  class ResendDeadLetterMessageRequest(AbstractModel):
11961
13127
  """ResendDeadLetterMessage请求参数结构体
11962
13128
 
@@ -12355,6 +13521,100 @@ class RoleItem(AbstractModel):
12355
13521
 
12356
13522
 
12357
13523
 
13524
+ class RollbackMigratingTopicStageRequest(AbstractModel):
13525
+ """RollbackMigratingTopicStage请求参数结构体
13526
+
13527
+ """
13528
+
13529
+ def __init__(self):
13530
+ r"""
13531
+ :param _TaskId: 任务ID
13532
+ :type TaskId: str
13533
+ :param _TopicName: 主题名称
13534
+ :type TopicName: str
13535
+ :param _Namespace: 命名空间,仅4.x集群有效
13536
+ :type Namespace: str
13537
+ """
13538
+ self._TaskId = None
13539
+ self._TopicName = None
13540
+ self._Namespace = None
13541
+
13542
+ @property
13543
+ def TaskId(self):
13544
+ """任务ID
13545
+ :rtype: str
13546
+ """
13547
+ return self._TaskId
13548
+
13549
+ @TaskId.setter
13550
+ def TaskId(self, TaskId):
13551
+ self._TaskId = TaskId
13552
+
13553
+ @property
13554
+ def TopicName(self):
13555
+ """主题名称
13556
+ :rtype: str
13557
+ """
13558
+ return self._TopicName
13559
+
13560
+ @TopicName.setter
13561
+ def TopicName(self, TopicName):
13562
+ self._TopicName = TopicName
13563
+
13564
+ @property
13565
+ def Namespace(self):
13566
+ """命名空间,仅4.x集群有效
13567
+ :rtype: str
13568
+ """
13569
+ return self._Namespace
13570
+
13571
+ @Namespace.setter
13572
+ def Namespace(self, Namespace):
13573
+ self._Namespace = Namespace
13574
+
13575
+
13576
+ def _deserialize(self, params):
13577
+ self._TaskId = params.get("TaskId")
13578
+ self._TopicName = params.get("TopicName")
13579
+ self._Namespace = params.get("Namespace")
13580
+ memeber_set = set(params.keys())
13581
+ for name, value in vars(self).items():
13582
+ property_name = name[1:]
13583
+ if property_name in memeber_set:
13584
+ memeber_set.remove(property_name)
13585
+ if len(memeber_set) > 0:
13586
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13587
+
13588
+
13589
+
13590
+ class RollbackMigratingTopicStageResponse(AbstractModel):
13591
+ """RollbackMigratingTopicStage返回参数结构体
13592
+
13593
+ """
13594
+
13595
+ def __init__(self):
13596
+ r"""
13597
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13598
+ :type RequestId: str
13599
+ """
13600
+ self._RequestId = None
13601
+
13602
+ @property
13603
+ def RequestId(self):
13604
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13605
+ :rtype: str
13606
+ """
13607
+ return self._RequestId
13608
+
13609
+ @RequestId.setter
13610
+ def RequestId(self, RequestId):
13611
+ self._RequestId = RequestId
13612
+
13613
+
13614
+ def _deserialize(self, params):
13615
+ self._RequestId = params.get("RequestId")
13616
+
13617
+
12358
13618
  class SourceClusterGroupConfig(AbstractModel):
12359
13619
  """消费组配置信息
12360
13620
 
@@ -13488,6 +14748,78 @@ TRANSACTION:事务消息
13488
14748
 
13489
14749
 
13490
14750
 
14751
+ class TopicStageChangeResult(AbstractModel):
14752
+ """迁移主题修改状态后的结果
14753
+
14754
+ """
14755
+
14756
+ def __init__(self):
14757
+ r"""
14758
+ :param _TopicName: 主题名称
14759
+ 注意:此字段可能返回 null,表示取不到有效值。
14760
+ :type TopicName: str
14761
+ :param _Success: 是否成功
14762
+ 注意:此字段可能返回 null,表示取不到有效值。
14763
+ :type Success: bool
14764
+ :param _Namespace: 命名空间,仅4.x有效
14765
+ 注意:此字段可能返回 null,表示取不到有效值。
14766
+ :type Namespace: str
14767
+ """
14768
+ self._TopicName = None
14769
+ self._Success = None
14770
+ self._Namespace = None
14771
+
14772
+ @property
14773
+ def TopicName(self):
14774
+ """主题名称
14775
+ 注意:此字段可能返回 null,表示取不到有效值。
14776
+ :rtype: str
14777
+ """
14778
+ return self._TopicName
14779
+
14780
+ @TopicName.setter
14781
+ def TopicName(self, TopicName):
14782
+ self._TopicName = TopicName
14783
+
14784
+ @property
14785
+ def Success(self):
14786
+ """是否成功
14787
+ 注意:此字段可能返回 null,表示取不到有效值。
14788
+ :rtype: bool
14789
+ """
14790
+ return self._Success
14791
+
14792
+ @Success.setter
14793
+ def Success(self, Success):
14794
+ self._Success = Success
14795
+
14796
+ @property
14797
+ def Namespace(self):
14798
+ """命名空间,仅4.x有效
14799
+ 注意:此字段可能返回 null,表示取不到有效值。
14800
+ :rtype: str
14801
+ """
14802
+ return self._Namespace
14803
+
14804
+ @Namespace.setter
14805
+ def Namespace(self, Namespace):
14806
+ self._Namespace = Namespace
14807
+
14808
+
14809
+ def _deserialize(self, params):
14810
+ self._TopicName = params.get("TopicName")
14811
+ self._Success = params.get("Success")
14812
+ self._Namespace = params.get("Namespace")
14813
+ memeber_set = set(params.keys())
14814
+ for name, value in vars(self).items():
14815
+ property_name = name[1:]
14816
+ if property_name in memeber_set:
14817
+ memeber_set.remove(property_name)
14818
+ if len(memeber_set) > 0:
14819
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14820
+
14821
+
14822
+
13491
14823
  class VpcInfo(AbstractModel):
13492
14824
  """VPC信息
13493
14825