huaweicloudsdkrocketmq 3.1.42__py2.py3-none-any.whl → 3.1.44__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdkrocketmq/v2/__init__.py +4 -4
- huaweicloudsdkrocketmq/v2/model/__init__.py +4 -4
- huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +15 -15
- huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +12 -12
- huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/list_instances_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/list_rocket_mq_migration_task_request.py +3 -3
- huaweicloudsdkrocketmq/v2/model/{send_rocket_mq_dlq_message_request.py → send_dlq_message_request.py} +41 -13
- huaweicloudsdkrocketmq/v2/model/{send_rocket_mq_dlq_message_response.py → send_dlq_message_response.py} +8 -8
- huaweicloudsdkrocketmq/v2/model/show_instance_resp.py +3 -3
- huaweicloudsdkrocketmq/v2/model/show_instance_response.py +3 -3
- huaweicloudsdkrocketmq/v2/model/tag_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/tag_multy_value_entity.py +6 -6
- huaweicloudsdkrocketmq/v2/model/update_instance_req.py +6 -6
- huaweicloudsdkrocketmq/v2/model/{validate_rocket_mq_consumed_message_request.py → validate_consumed_message_request.py} +41 -13
- huaweicloudsdkrocketmq/v2/model/{validate_rocket_mq_consumed_message_response.py → validate_consumed_message_response.py} +8 -8
- huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +6 -0
- huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +20 -16
- huaweicloudsdkrocketmq/v2/rocketmq_client.py +20 -16
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/METADATA +2 -2
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/RECORD +25 -25
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/LICENSE +0 -0
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/WHEEL +0 -0
- {huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/top_level.txt +0 -0
@@ -31,9 +31,9 @@ class TagEntity:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param key: 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用
|
34
|
+
:param key: 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : = + - @ key两头不能有空格字符。
|
35
35
|
:type key: str
|
36
|
-
:param value: 值。 长度0~255个字符(中文也可以输入255个字符)。 可用
|
36
|
+
:param value: 值。 长度0~255个字符(中文也可以输入255个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : / = + - @。 value可以为空字符串。
|
37
37
|
:type value: str
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class TagEntity:
|
|
52
52
|
def key(self):
|
53
53
|
"""Gets the key of this TagEntity.
|
54
54
|
|
55
|
-
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用
|
55
|
+
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : = + - @ key两头不能有空格字符。
|
56
56
|
|
57
57
|
:return: The key of this TagEntity.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class TagEntity:
|
|
63
63
|
def key(self, key):
|
64
64
|
"""Sets the key of this TagEntity.
|
65
65
|
|
66
|
-
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用
|
66
|
+
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : = + - @ key两头不能有空格字符。
|
67
67
|
|
68
68
|
:param key: The key of this TagEntity.
|
69
69
|
:type key: str
|
@@ -74,7 +74,7 @@ class TagEntity:
|
|
74
74
|
def value(self):
|
75
75
|
"""Gets the value of this TagEntity.
|
76
76
|
|
77
|
-
值。 长度0~255个字符(中文也可以输入255个字符)。 可用
|
77
|
+
值。 长度0~255个字符(中文也可以输入255个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : / = + - @。 value可以为空字符串。
|
78
78
|
|
79
79
|
:return: The value of this TagEntity.
|
80
80
|
:rtype: str
|
@@ -85,7 +85,7 @@ class TagEntity:
|
|
85
85
|
def value(self, value):
|
86
86
|
"""Sets the value of this TagEntity.
|
87
87
|
|
88
|
-
值。 长度0~255个字符(中文也可以输入255个字符)。 可用
|
88
|
+
值。 长度0~255个字符(中文也可以输入255个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : / = + - @。 value可以为空字符串。
|
89
89
|
|
90
90
|
:param value: The value of this TagEntity.
|
91
91
|
:type value: str
|
@@ -31,9 +31,9 @@ class TagMultyValueEntity:
|
|
31
31
|
|
32
32
|
The model defined in huaweicloud sdk
|
33
33
|
|
34
|
-
:param key: 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用
|
34
|
+
:param key: 键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : = + - @ key两头不能有空格字符。
|
35
35
|
:type key: str
|
36
|
-
:param values: 值列表。 值长度0~255个字符(中文也可以输入255个字符)。 值可用
|
36
|
+
:param values: 值列表。 值长度0~255个字符(中文也可以输入255个字符)。 值可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : / = + - @。 值可以为空字符串。
|
37
37
|
:type values: list[str]
|
38
38
|
"""
|
39
39
|
|
@@ -52,7 +52,7 @@ class TagMultyValueEntity:
|
|
52
52
|
def key(self):
|
53
53
|
"""Gets the key of this TagMultyValueEntity.
|
54
54
|
|
55
|
-
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用
|
55
|
+
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : = + - @ key两头不能有空格字符。
|
56
56
|
|
57
57
|
:return: The key of this TagMultyValueEntity.
|
58
58
|
:rtype: str
|
@@ -63,7 +63,7 @@ class TagMultyValueEntity:
|
|
63
63
|
def key(self, key):
|
64
64
|
"""Sets the key of this TagMultyValueEntity.
|
65
65
|
|
66
|
-
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用
|
66
|
+
键。 key不能为空,长度1~128个字符(中文也可以输入128个字符)。 可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : = + - @ key两头不能有空格字符。
|
67
67
|
|
68
68
|
:param key: The key of this TagMultyValueEntity.
|
69
69
|
:type key: str
|
@@ -74,7 +74,7 @@ class TagMultyValueEntity:
|
|
74
74
|
def values(self):
|
75
75
|
"""Gets the values of this TagMultyValueEntity.
|
76
76
|
|
77
|
-
值列表。 值长度0~255个字符(中文也可以输入255个字符)。 值可用
|
77
|
+
值列表。 值长度0~255个字符(中文也可以输入255个字符)。 值可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : / = + - @。 值可以为空字符串。
|
78
78
|
|
79
79
|
:return: The values of this TagMultyValueEntity.
|
80
80
|
:rtype: list[str]
|
@@ -85,7 +85,7 @@ class TagMultyValueEntity:
|
|
85
85
|
def values(self, values):
|
86
86
|
"""Sets the values of this TagMultyValueEntity.
|
87
87
|
|
88
|
-
值列表。 值长度0~255个字符(中文也可以输入255个字符)。 值可用
|
88
|
+
值列表。 值长度0~255个字符(中文也可以输入255个字符)。 值可用UTF-8格式表示的字母、数字和空格,以及以下字符: _ . : / = + - @。 值可以为空字符串。
|
89
89
|
|
90
90
|
:param values: The values of this TagMultyValueEntity.
|
91
91
|
:type values: list[str]
|
@@ -43,13 +43,13 @@ class UpdateInstanceReq:
|
|
43
43
|
:type name: str
|
44
44
|
:param description: 实例的描述信息。 长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
|
45
45
|
:type description: str
|
46
|
-
:param security_group_id: 安全组ID。
|
46
|
+
:param security_group_id: 安全组ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
47
47
|
:type security_group_id: str
|
48
48
|
:param enable_acl: ACL访问控制。
|
49
49
|
:type enable_acl: bool
|
50
50
|
:param enable_publicip: 是否开启公网。
|
51
51
|
:type enable_publicip: bool
|
52
|
-
:param publicip_id: 实例绑定的弹性IP地址的ID。
|
52
|
+
:param publicip_id: 实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
|
53
53
|
:type publicip_id: str
|
54
54
|
"""
|
55
55
|
|
@@ -124,7 +124,7 @@ class UpdateInstanceReq:
|
|
124
124
|
def security_group_id(self):
|
125
125
|
"""Gets the security_group_id of this UpdateInstanceReq.
|
126
126
|
|
127
|
-
安全组ID。
|
127
|
+
安全组ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
128
128
|
|
129
129
|
:return: The security_group_id of this UpdateInstanceReq.
|
130
130
|
:rtype: str
|
@@ -135,7 +135,7 @@ class UpdateInstanceReq:
|
|
135
135
|
def security_group_id(self, security_group_id):
|
136
136
|
"""Sets the security_group_id of this UpdateInstanceReq.
|
137
137
|
|
138
|
-
安全组ID。
|
138
|
+
安全组ID。 获取方法如下:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。
|
139
139
|
|
140
140
|
:param security_group_id: The security_group_id of this UpdateInstanceReq.
|
141
141
|
:type security_group_id: str
|
@@ -190,7 +190,7 @@ class UpdateInstanceReq:
|
|
190
190
|
def publicip_id(self):
|
191
191
|
"""Gets the publicip_id of this UpdateInstanceReq.
|
192
192
|
|
193
|
-
实例绑定的弹性IP地址的ID。
|
193
|
+
实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
|
194
194
|
|
195
195
|
:return: The publicip_id of this UpdateInstanceReq.
|
196
196
|
:rtype: str
|
@@ -201,7 +201,7 @@ class UpdateInstanceReq:
|
|
201
201
|
def publicip_id(self, publicip_id):
|
202
202
|
"""Sets the publicip_id of this UpdateInstanceReq.
|
203
203
|
|
204
|
-
实例绑定的弹性IP地址的ID。
|
204
|
+
实例绑定的弹性IP地址的ID。 以英文逗号隔开多个弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
|
205
205
|
|
206
206
|
:param publicip_id: The publicip_id of this UpdateInstanceReq.
|
207
207
|
:type publicip_id: str
|
@@ -5,7 +5,7 @@ import six
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
6
|
|
7
7
|
|
8
|
-
class
|
8
|
+
class ValidateConsumedMessageRequest:
|
9
9
|
|
10
10
|
"""
|
11
11
|
Attributes:
|
@@ -17,72 +17,100 @@ class ValidateRocketMqConsumedMessageRequest:
|
|
17
17
|
sensitive_list = []
|
18
18
|
|
19
19
|
openapi_types = {
|
20
|
+
'engine': 'str',
|
20
21
|
'instance_id': 'str',
|
21
22
|
'body': 'ResendReq'
|
22
23
|
}
|
23
24
|
|
24
25
|
attribute_map = {
|
26
|
+
'engine': 'engine',
|
25
27
|
'instance_id': 'instance_id',
|
26
28
|
'body': 'body'
|
27
29
|
}
|
28
30
|
|
29
|
-
def __init__(self, instance_id=None, body=None):
|
30
|
-
"""
|
31
|
+
def __init__(self, engine=None, instance_id=None, body=None):
|
32
|
+
"""ValidateConsumedMessageRequest
|
31
33
|
|
32
34
|
The model defined in huaweicloud sdk
|
33
35
|
|
36
|
+
:param engine: engine
|
37
|
+
:type engine: str
|
34
38
|
:param instance_id: 实例ID。
|
35
39
|
:type instance_id: str
|
36
|
-
:param body: Body of the
|
40
|
+
:param body: Body of the ValidateConsumedMessageRequest
|
37
41
|
:type body: :class:`huaweicloudsdkrocketmq.v2.ResendReq`
|
38
42
|
"""
|
39
43
|
|
40
44
|
|
41
45
|
|
46
|
+
self._engine = None
|
42
47
|
self._instance_id = None
|
43
48
|
self._body = None
|
44
49
|
self.discriminator = None
|
45
50
|
|
51
|
+
self.engine = engine
|
46
52
|
self.instance_id = instance_id
|
47
53
|
if body is not None:
|
48
54
|
self.body = body
|
49
55
|
|
56
|
+
@property
|
57
|
+
def engine(self):
|
58
|
+
"""Gets the engine of this ValidateConsumedMessageRequest.
|
59
|
+
|
60
|
+
engine
|
61
|
+
|
62
|
+
:return: The engine of this ValidateConsumedMessageRequest.
|
63
|
+
:rtype: str
|
64
|
+
"""
|
65
|
+
return self._engine
|
66
|
+
|
67
|
+
@engine.setter
|
68
|
+
def engine(self, engine):
|
69
|
+
"""Sets the engine of this ValidateConsumedMessageRequest.
|
70
|
+
|
71
|
+
engine
|
72
|
+
|
73
|
+
:param engine: The engine of this ValidateConsumedMessageRequest.
|
74
|
+
:type engine: str
|
75
|
+
"""
|
76
|
+
self._engine = engine
|
77
|
+
|
50
78
|
@property
|
51
79
|
def instance_id(self):
|
52
|
-
"""Gets the instance_id of this
|
80
|
+
"""Gets the instance_id of this ValidateConsumedMessageRequest.
|
53
81
|
|
54
82
|
实例ID。
|
55
83
|
|
56
|
-
:return: The instance_id of this
|
84
|
+
:return: The instance_id of this ValidateConsumedMessageRequest.
|
57
85
|
:rtype: str
|
58
86
|
"""
|
59
87
|
return self._instance_id
|
60
88
|
|
61
89
|
@instance_id.setter
|
62
90
|
def instance_id(self, instance_id):
|
63
|
-
"""Sets the instance_id of this
|
91
|
+
"""Sets the instance_id of this ValidateConsumedMessageRequest.
|
64
92
|
|
65
93
|
实例ID。
|
66
94
|
|
67
|
-
:param instance_id: The instance_id of this
|
95
|
+
:param instance_id: The instance_id of this ValidateConsumedMessageRequest.
|
68
96
|
:type instance_id: str
|
69
97
|
"""
|
70
98
|
self._instance_id = instance_id
|
71
99
|
|
72
100
|
@property
|
73
101
|
def body(self):
|
74
|
-
"""Gets the body of this
|
102
|
+
"""Gets the body of this ValidateConsumedMessageRequest.
|
75
103
|
|
76
|
-
:return: The body of this
|
104
|
+
:return: The body of this ValidateConsumedMessageRequest.
|
77
105
|
:rtype: :class:`huaweicloudsdkrocketmq.v2.ResendReq`
|
78
106
|
"""
|
79
107
|
return self._body
|
80
108
|
|
81
109
|
@body.setter
|
82
110
|
def body(self, body):
|
83
|
-
"""Sets the body of this
|
111
|
+
"""Sets the body of this ValidateConsumedMessageRequest.
|
84
112
|
|
85
|
-
:param body: The body of this
|
113
|
+
:param body: The body of this ValidateConsumedMessageRequest.
|
86
114
|
:type body: :class:`huaweicloudsdkrocketmq.v2.ResendReq`
|
87
115
|
"""
|
88
116
|
self._body = body
|
@@ -129,7 +157,7 @@ class ValidateRocketMqConsumedMessageRequest:
|
|
129
157
|
|
130
158
|
def __eq__(self, other):
|
131
159
|
"""Returns true if both objects are equal"""
|
132
|
-
if not isinstance(other,
|
160
|
+
if not isinstance(other, ValidateConsumedMessageRequest):
|
133
161
|
return False
|
134
162
|
|
135
163
|
return self.__dict__ == other.__dict__
|
@@ -6,7 +6,7 @@ from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
6
6
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
7
|
|
8
8
|
|
9
|
-
class
|
9
|
+
class ValidateConsumedMessageResponse(SdkResponse):
|
10
10
|
|
11
11
|
"""
|
12
12
|
Attributes:
|
@@ -26,7 +26,7 @@ class ValidateRocketMqConsumedMessageResponse(SdkResponse):
|
|
26
26
|
}
|
27
27
|
|
28
28
|
def __init__(self, resend_results=None):
|
29
|
-
"""
|
29
|
+
"""ValidateConsumedMessageResponse
|
30
30
|
|
31
31
|
The model defined in huaweicloud sdk
|
32
32
|
|
@@ -34,7 +34,7 @@ class ValidateRocketMqConsumedMessageResponse(SdkResponse):
|
|
34
34
|
:type resend_results: list[:class:`huaweicloudsdkrocketmq.v2.DeadletterResendRespResendResults`]
|
35
35
|
"""
|
36
36
|
|
37
|
-
super(
|
37
|
+
super(ValidateConsumedMessageResponse, self).__init__()
|
38
38
|
|
39
39
|
self._resend_results = None
|
40
40
|
self.discriminator = None
|
@@ -44,22 +44,22 @@ class ValidateRocketMqConsumedMessageResponse(SdkResponse):
|
|
44
44
|
|
45
45
|
@property
|
46
46
|
def resend_results(self):
|
47
|
-
"""Gets the resend_results of this
|
47
|
+
"""Gets the resend_results of this ValidateConsumedMessageResponse.
|
48
48
|
|
49
49
|
消费验证结果。
|
50
50
|
|
51
|
-
:return: The resend_results of this
|
51
|
+
:return: The resend_results of this ValidateConsumedMessageResponse.
|
52
52
|
:rtype: list[:class:`huaweicloudsdkrocketmq.v2.DeadletterResendRespResendResults`]
|
53
53
|
"""
|
54
54
|
return self._resend_results
|
55
55
|
|
56
56
|
@resend_results.setter
|
57
57
|
def resend_results(self, resend_results):
|
58
|
-
"""Sets the resend_results of this
|
58
|
+
"""Sets the resend_results of this ValidateConsumedMessageResponse.
|
59
59
|
|
60
60
|
消费验证结果。
|
61
61
|
|
62
|
-
:param resend_results: The resend_results of this
|
62
|
+
:param resend_results: The resend_results of this ValidateConsumedMessageResponse.
|
63
63
|
:type resend_results: list[:class:`huaweicloudsdkrocketmq.v2.DeadletterResendRespResendResults`]
|
64
64
|
"""
|
65
65
|
self._resend_results = resend_results
|
@@ -106,7 +106,7 @@ class ValidateRocketMqConsumedMessageResponse(SdkResponse):
|
|
106
106
|
|
107
107
|
def __eq__(self, other):
|
108
108
|
"""Returns true if both objects are equal"""
|
109
|
-
if not isinstance(other,
|
109
|
+
if not isinstance(other, ValidateConsumedMessageResponse):
|
110
110
|
return False
|
111
111
|
|
112
112
|
return self.__dict__ == other.__dict__
|
@@ -37,6 +37,10 @@ class RocketMQRegion:
|
|
37
37
|
"https://dms.ru-northwest-2.myhuaweicloud.com")
|
38
38
|
CN_NORTH_9 = Region("cn-north-9",
|
39
39
|
"https://dms.cn-north-9.myhuaweicloud.com")
|
40
|
+
AP_SOUTHEAST_4 = Region("ap-southeast-4",
|
41
|
+
"https://dms.ap-southeast-4.myhuaweicloud.com")
|
42
|
+
TR_WEST_1 = Region("tr-west-1",
|
43
|
+
"https://dms.tr-west-1.myhuaweicloud.com")
|
40
44
|
|
41
45
|
static_fields = {
|
42
46
|
"cn-north-1": CN_NORTH_1,
|
@@ -53,6 +57,8 @@ class RocketMQRegion:
|
|
53
57
|
"af-south-1": AF_SOUTH_1,
|
54
58
|
"ru-northwest-2": RU_NORTHWEST_2,
|
55
59
|
"cn-north-9": CN_NORTH_9,
|
60
|
+
"ap-southeast-4": AP_SOUTHEAST_4,
|
61
|
+
"tr-west-1": TR_WEST_1,
|
56
62
|
}
|
57
63
|
|
58
64
|
@classmethod
|
@@ -1493,7 +1493,7 @@ class RocketMQAsyncClient(Client):
|
|
1493
1493
|
collection_formats=collection_formats,
|
1494
1494
|
request_type=request.__class__.__name__)
|
1495
1495
|
|
1496
|
-
def
|
1496
|
+
def send_dlq_message_async(self, request):
|
1497
1497
|
"""重发死信消息
|
1498
1498
|
|
1499
1499
|
重发死信消息。
|
@@ -1501,13 +1501,13 @@ class RocketMQAsyncClient(Client):
|
|
1501
1501
|
Please refer to HUAWEI cloud API Explorer for details.
|
1502
1502
|
|
1503
1503
|
|
1504
|
-
:param request: Request instance for
|
1505
|
-
:type request: :class:`huaweicloudsdkrocketmq.v2.
|
1506
|
-
:rtype: :class:`huaweicloudsdkrocketmq.v2.
|
1504
|
+
:param request: Request instance for SendDlqMessage
|
1505
|
+
:type request: :class:`huaweicloudsdkrocketmq.v2.SendDlqMessageRequest`
|
1506
|
+
:rtype: :class:`huaweicloudsdkrocketmq.v2.SendDlqMessageResponse`
|
1507
1507
|
"""
|
1508
|
-
return self.
|
1508
|
+
return self._send_dlq_message_with_http_info(request)
|
1509
1509
|
|
1510
|
-
def
|
1510
|
+
def _send_dlq_message_with_http_info(self, request):
|
1511
1511
|
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1512
1512
|
|
1513
1513
|
cname = None
|
@@ -1515,6 +1515,8 @@ class RocketMQAsyncClient(Client):
|
|
1515
1515
|
collection_formats = {}
|
1516
1516
|
|
1517
1517
|
path_params = {}
|
1518
|
+
if 'engine' in local_var_params:
|
1519
|
+
path_params['engine'] = local_var_params['engine']
|
1518
1520
|
if 'instance_id' in local_var_params:
|
1519
1521
|
path_params['instance_id'] = local_var_params['instance_id']
|
1520
1522
|
|
@@ -1538,7 +1540,7 @@ class RocketMQAsyncClient(Client):
|
|
1538
1540
|
auth_settings = []
|
1539
1541
|
|
1540
1542
|
return self.call_api(
|
1541
|
-
resource_path='/v2/
|
1543
|
+
resource_path='/v2/{engine}/{project_id}/instances/{instance_id}/messages/deadletter-resend',
|
1542
1544
|
method='POST',
|
1543
1545
|
path_params=path_params,
|
1544
1546
|
query_params=query_params,
|
@@ -1546,7 +1548,7 @@ class RocketMQAsyncClient(Client):
|
|
1546
1548
|
body=body_params,
|
1547
1549
|
post_params=form_params,
|
1548
1550
|
cname=cname,
|
1549
|
-
response_type='
|
1551
|
+
response_type='SendDlqMessageResponse',
|
1550
1552
|
response_headers=response_headers,
|
1551
1553
|
auth_settings=auth_settings,
|
1552
1554
|
collection_formats=collection_formats,
|
@@ -2150,7 +2152,7 @@ class RocketMQAsyncClient(Client):
|
|
2150
2152
|
collection_formats=collection_formats,
|
2151
2153
|
request_type=request.__class__.__name__)
|
2152
2154
|
|
2153
|
-
def
|
2155
|
+
def validate_consumed_message_async(self, request):
|
2154
2156
|
"""消费验证
|
2155
2157
|
|
2156
2158
|
消费验证。
|
@@ -2158,13 +2160,13 @@ class RocketMQAsyncClient(Client):
|
|
2158
2160
|
Please refer to HUAWEI cloud API Explorer for details.
|
2159
2161
|
|
2160
2162
|
|
2161
|
-
:param request: Request instance for
|
2162
|
-
:type request: :class:`huaweicloudsdkrocketmq.v2.
|
2163
|
-
:rtype: :class:`huaweicloudsdkrocketmq.v2.
|
2163
|
+
:param request: Request instance for ValidateConsumedMessage
|
2164
|
+
:type request: :class:`huaweicloudsdkrocketmq.v2.ValidateConsumedMessageRequest`
|
2165
|
+
:rtype: :class:`huaweicloudsdkrocketmq.v2.ValidateConsumedMessageResponse`
|
2164
2166
|
"""
|
2165
|
-
return self.
|
2167
|
+
return self._validate_consumed_message_with_http_info(request)
|
2166
2168
|
|
2167
|
-
def
|
2169
|
+
def _validate_consumed_message_with_http_info(self, request):
|
2168
2170
|
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2169
2171
|
|
2170
2172
|
cname = None
|
@@ -2172,6 +2174,8 @@ class RocketMQAsyncClient(Client):
|
|
2172
2174
|
collection_formats = {}
|
2173
2175
|
|
2174
2176
|
path_params = {}
|
2177
|
+
if 'engine' in local_var_params:
|
2178
|
+
path_params['engine'] = local_var_params['engine']
|
2175
2179
|
if 'instance_id' in local_var_params:
|
2176
2180
|
path_params['instance_id'] = local_var_params['instance_id']
|
2177
2181
|
|
@@ -2195,7 +2199,7 @@ class RocketMQAsyncClient(Client):
|
|
2195
2199
|
auth_settings = []
|
2196
2200
|
|
2197
2201
|
return self.call_api(
|
2198
|
-
resource_path='/v2/
|
2202
|
+
resource_path='/v2/{engine}/{project_id}/instances/{instance_id}/messages/resend',
|
2199
2203
|
method='POST',
|
2200
2204
|
path_params=path_params,
|
2201
2205
|
query_params=query_params,
|
@@ -2203,7 +2207,7 @@ class RocketMQAsyncClient(Client):
|
|
2203
2207
|
body=body_params,
|
2204
2208
|
post_params=form_params,
|
2205
2209
|
cname=cname,
|
2206
|
-
response_type='
|
2210
|
+
response_type='ValidateConsumedMessageResponse',
|
2207
2211
|
response_headers=response_headers,
|
2208
2212
|
auth_settings=auth_settings,
|
2209
2213
|
collection_formats=collection_formats,
|
@@ -1469,20 +1469,20 @@ class RocketMQClient(Client):
|
|
1469
1469
|
collection_formats=collection_formats,
|
1470
1470
|
request_type=request.__class__.__name__)
|
1471
1471
|
|
1472
|
-
def
|
1472
|
+
def send_dlq_message(self, request):
|
1473
1473
|
"""重发死信消息
|
1474
1474
|
|
1475
1475
|
重发死信消息。
|
1476
1476
|
|
1477
1477
|
Please refer to HUAWEI cloud API Explorer for details.
|
1478
1478
|
|
1479
|
-
:param request: Request instance for
|
1480
|
-
:type request: :class:`huaweicloudsdkrocketmq.v2.
|
1481
|
-
:rtype: :class:`huaweicloudsdkrocketmq.v2.
|
1479
|
+
:param request: Request instance for SendDlqMessage
|
1480
|
+
:type request: :class:`huaweicloudsdkrocketmq.v2.SendDlqMessageRequest`
|
1481
|
+
:rtype: :class:`huaweicloudsdkrocketmq.v2.SendDlqMessageResponse`
|
1482
1482
|
"""
|
1483
|
-
return self.
|
1483
|
+
return self._send_dlq_message_with_http_info(request)
|
1484
1484
|
|
1485
|
-
def
|
1485
|
+
def _send_dlq_message_with_http_info(self, request):
|
1486
1486
|
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
1487
1487
|
|
1488
1488
|
cname = None
|
@@ -1490,6 +1490,8 @@ class RocketMQClient(Client):
|
|
1490
1490
|
collection_formats = {}
|
1491
1491
|
|
1492
1492
|
path_params = {}
|
1493
|
+
if 'engine' in local_var_params:
|
1494
|
+
path_params['engine'] = local_var_params['engine']
|
1493
1495
|
if 'instance_id' in local_var_params:
|
1494
1496
|
path_params['instance_id'] = local_var_params['instance_id']
|
1495
1497
|
|
@@ -1513,7 +1515,7 @@ class RocketMQClient(Client):
|
|
1513
1515
|
auth_settings = []
|
1514
1516
|
|
1515
1517
|
return self.call_api(
|
1516
|
-
resource_path='/v2/
|
1518
|
+
resource_path='/v2/{engine}/{project_id}/instances/{instance_id}/messages/deadletter-resend',
|
1517
1519
|
method='POST',
|
1518
1520
|
path_params=path_params,
|
1519
1521
|
query_params=query_params,
|
@@ -1521,7 +1523,7 @@ class RocketMQClient(Client):
|
|
1521
1523
|
body=body_params,
|
1522
1524
|
post_params=form_params,
|
1523
1525
|
cname=cname,
|
1524
|
-
response_type='
|
1526
|
+
response_type='SendDlqMessageResponse',
|
1525
1527
|
response_headers=response_headers,
|
1526
1528
|
auth_settings=auth_settings,
|
1527
1529
|
collection_formats=collection_formats,
|
@@ -2115,20 +2117,20 @@ class RocketMQClient(Client):
|
|
2115
2117
|
collection_formats=collection_formats,
|
2116
2118
|
request_type=request.__class__.__name__)
|
2117
2119
|
|
2118
|
-
def
|
2120
|
+
def validate_consumed_message(self, request):
|
2119
2121
|
"""消费验证
|
2120
2122
|
|
2121
2123
|
消费验证。
|
2122
2124
|
|
2123
2125
|
Please refer to HUAWEI cloud API Explorer for details.
|
2124
2126
|
|
2125
|
-
:param request: Request instance for
|
2126
|
-
:type request: :class:`huaweicloudsdkrocketmq.v2.
|
2127
|
-
:rtype: :class:`huaweicloudsdkrocketmq.v2.
|
2127
|
+
:param request: Request instance for ValidateConsumedMessage
|
2128
|
+
:type request: :class:`huaweicloudsdkrocketmq.v2.ValidateConsumedMessageRequest`
|
2129
|
+
:rtype: :class:`huaweicloudsdkrocketmq.v2.ValidateConsumedMessageResponse`
|
2128
2130
|
"""
|
2129
|
-
return self.
|
2131
|
+
return self._validate_consumed_message_with_http_info(request)
|
2130
2132
|
|
2131
|
-
def
|
2133
|
+
def _validate_consumed_message_with_http_info(self, request):
|
2132
2134
|
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
|
2133
2135
|
|
2134
2136
|
cname = None
|
@@ -2136,6 +2138,8 @@ class RocketMQClient(Client):
|
|
2136
2138
|
collection_formats = {}
|
2137
2139
|
|
2138
2140
|
path_params = {}
|
2141
|
+
if 'engine' in local_var_params:
|
2142
|
+
path_params['engine'] = local_var_params['engine']
|
2139
2143
|
if 'instance_id' in local_var_params:
|
2140
2144
|
path_params['instance_id'] = local_var_params['instance_id']
|
2141
2145
|
|
@@ -2159,7 +2163,7 @@ class RocketMQClient(Client):
|
|
2159
2163
|
auth_settings = []
|
2160
2164
|
|
2161
2165
|
return self.call_api(
|
2162
|
-
resource_path='/v2/
|
2166
|
+
resource_path='/v2/{engine}/{project_id}/instances/{instance_id}/messages/resend',
|
2163
2167
|
method='POST',
|
2164
2168
|
path_params=path_params,
|
2165
2169
|
query_params=query_params,
|
@@ -2167,7 +2171,7 @@ class RocketMQClient(Client):
|
|
2167
2171
|
body=body_params,
|
2168
2172
|
post_params=form_params,
|
2169
2173
|
cname=cname,
|
2170
|
-
response_type='
|
2174
|
+
response_type='ValidateConsumedMessageResponse',
|
2171
2175
|
response_headers=response_headers,
|
2172
2176
|
auth_settings=auth_settings,
|
2173
2177
|
collection_formats=collection_formats,
|
{huaweicloudsdkrocketmq-3.1.42.dist-info → huaweicloudsdkrocketmq-3.1.44.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: huaweicloudsdkrocketmq
|
3
|
-
Version: 3.1.
|
3
|
+
Version: 3.1.44
|
4
4
|
Summary: RocketMQ
|
5
5
|
Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
|
6
6
|
Author: HuaweiCloud SDK
|
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
|
|
22
22
|
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
License-File: LICENSE
|
25
|
-
Requires-Dist: huaweicloudsdkcore (>=3.1.
|
25
|
+
Requires-Dist: huaweicloudsdkcore (>=3.1.44)
|
26
26
|
|
27
27
|
See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).
|