tencentcloud-sdk-python-intl-en 3.0.1273__py2.py3-none-any.whl → 3.0.1275__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +115 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +2166 -304
- tencentcloud/cmq/v20190304/cmq_client.py +0 -345
- tencentcloud/cmq/v20190304/models.py +325 -2466
- tencentcloud/cvm/v20170312/cvm_client.py +24 -0
- tencentcloud/cvm/v20170312/errorcodes.py +6 -0
- tencentcloud/cvm/v20170312/models.py +94 -0
- tencentcloud/faceid/v20180301/models.py +30 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4532 -2484
- tencentcloud/waf/v20180125/waf_client.py +253 -0
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/RECORD +17 -17
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1273.dist-info → tencentcloud_sdk_python_intl_en-3.0.1275.dist-info}/top_level.txt +0 -0
@@ -18,111 +18,157 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
-
class
|
22
|
-
"""
|
21
|
+
class DeadLetterPolicy(AbstractModel):
|
22
|
+
"""DeadLetterPolicy
|
23
23
|
|
24
24
|
"""
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param
|
29
|
-
|
28
|
+
:param _DeadLetterQueueName: DeadLetterQueueName
|
29
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
30
|
+
:type DeadLetterQueueName: str
|
31
|
+
:param _DeadLetterQueue: DeadLetterQueue
|
32
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
33
|
+
:type DeadLetterQueue: str
|
34
|
+
:param _Policy: Policy
|
35
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
36
|
+
:type Policy: int
|
37
|
+
:param _MaxTimeToLive: MaxTimeToLive
|
38
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
39
|
+
:type MaxTimeToLive: int
|
40
|
+
:param _MaxReceiveCount: MaxReceiveCount
|
41
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
42
|
+
:type MaxReceiveCount: int
|
30
43
|
"""
|
31
|
-
self.
|
44
|
+
self._DeadLetterQueueName = None
|
45
|
+
self._DeadLetterQueue = None
|
46
|
+
self._Policy = None
|
47
|
+
self._MaxTimeToLive = None
|
48
|
+
self._MaxReceiveCount = None
|
32
49
|
|
33
50
|
@property
|
34
|
-
def
|
35
|
-
"""
|
51
|
+
def DeadLetterQueueName(self):
|
52
|
+
"""DeadLetterQueueName
|
53
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
36
54
|
:rtype: str
|
37
55
|
"""
|
38
|
-
return self.
|
39
|
-
|
40
|
-
@QueueName.setter
|
41
|
-
def QueueName(self, QueueName):
|
42
|
-
self._QueueName = QueueName
|
56
|
+
return self._DeadLetterQueueName
|
43
57
|
|
58
|
+
@DeadLetterQueueName.setter
|
59
|
+
def DeadLetterQueueName(self, DeadLetterQueueName):
|
60
|
+
self._DeadLetterQueueName = DeadLetterQueueName
|
44
61
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
if len(memeber_set) > 0:
|
53
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
54
|
-
|
62
|
+
@property
|
63
|
+
def DeadLetterQueue(self):
|
64
|
+
"""DeadLetterQueue
|
65
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
66
|
+
:rtype: str
|
67
|
+
"""
|
68
|
+
return self._DeadLetterQueue
|
55
69
|
|
70
|
+
@DeadLetterQueue.setter
|
71
|
+
def DeadLetterQueue(self, DeadLetterQueue):
|
72
|
+
self._DeadLetterQueue = DeadLetterQueue
|
56
73
|
|
57
|
-
|
58
|
-
|
74
|
+
@property
|
75
|
+
def Policy(self):
|
76
|
+
"""Policy
|
77
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
78
|
+
:rtype: int
|
79
|
+
"""
|
80
|
+
return self._Policy
|
59
81
|
|
60
|
-
|
82
|
+
@Policy.setter
|
83
|
+
def Policy(self, Policy):
|
84
|
+
self._Policy = Policy
|
61
85
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
86
|
+
@property
|
87
|
+
def MaxTimeToLive(self):
|
88
|
+
"""MaxTimeToLive
|
89
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
90
|
+
:rtype: int
|
66
91
|
"""
|
67
|
-
self.
|
92
|
+
return self._MaxTimeToLive
|
93
|
+
|
94
|
+
@MaxTimeToLive.setter
|
95
|
+
def MaxTimeToLive(self, MaxTimeToLive):
|
96
|
+
self._MaxTimeToLive = MaxTimeToLive
|
68
97
|
|
69
98
|
@property
|
70
|
-
def
|
71
|
-
"""
|
72
|
-
|
99
|
+
def MaxReceiveCount(self):
|
100
|
+
"""MaxReceiveCount
|
101
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
102
|
+
:rtype: int
|
73
103
|
"""
|
74
|
-
return self.
|
104
|
+
return self._MaxReceiveCount
|
75
105
|
|
76
|
-
@
|
77
|
-
def
|
78
|
-
self.
|
106
|
+
@MaxReceiveCount.setter
|
107
|
+
def MaxReceiveCount(self, MaxReceiveCount):
|
108
|
+
self._MaxReceiveCount = MaxReceiveCount
|
79
109
|
|
80
110
|
|
81
111
|
def _deserialize(self, params):
|
82
|
-
self.
|
112
|
+
self._DeadLetterQueueName = params.get("DeadLetterQueueName")
|
113
|
+
self._DeadLetterQueue = params.get("DeadLetterQueue")
|
114
|
+
self._Policy = params.get("Policy")
|
115
|
+
self._MaxTimeToLive = params.get("MaxTimeToLive")
|
116
|
+
self._MaxReceiveCount = params.get("MaxReceiveCount")
|
117
|
+
memeber_set = set(params.keys())
|
118
|
+
for name, value in vars(self).items():
|
119
|
+
property_name = name[1:]
|
120
|
+
if property_name in memeber_set:
|
121
|
+
memeber_set.remove(property_name)
|
122
|
+
if len(memeber_set) > 0:
|
123
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
124
|
+
|
83
125
|
|
84
126
|
|
85
|
-
class
|
86
|
-
"""
|
127
|
+
class DeadLetterSource(AbstractModel):
|
128
|
+
"""DeadLetterSource
|
87
129
|
|
88
130
|
"""
|
89
131
|
|
90
132
|
def __init__(self):
|
91
133
|
r"""
|
92
|
-
:param
|
93
|
-
|
94
|
-
:
|
95
|
-
:
|
134
|
+
:param _QueueId: QueueId
|
135
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
136
|
+
:type QueueId: str
|
137
|
+
:param _QueueName: QueueName
|
138
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
139
|
+
:type QueueName: str
|
96
140
|
"""
|
97
|
-
self.
|
98
|
-
self.
|
141
|
+
self._QueueId = None
|
142
|
+
self._QueueName = None
|
99
143
|
|
100
144
|
@property
|
101
|
-
def
|
102
|
-
"""
|
145
|
+
def QueueId(self):
|
146
|
+
"""QueueId
|
147
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
103
148
|
:rtype: str
|
104
149
|
"""
|
105
|
-
return self.
|
150
|
+
return self._QueueId
|
106
151
|
|
107
|
-
@
|
108
|
-
def
|
109
|
-
self.
|
152
|
+
@QueueId.setter
|
153
|
+
def QueueId(self, QueueId):
|
154
|
+
self._QueueId = QueueId
|
110
155
|
|
111
156
|
@property
|
112
|
-
def
|
113
|
-
"""
|
157
|
+
def QueueName(self):
|
158
|
+
"""QueueName
|
159
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
114
160
|
:rtype: str
|
115
161
|
"""
|
116
|
-
return self.
|
162
|
+
return self._QueueName
|
117
163
|
|
118
|
-
@
|
119
|
-
def
|
120
|
-
self.
|
164
|
+
@QueueName.setter
|
165
|
+
def QueueName(self, QueueName):
|
166
|
+
self._QueueName = QueueName
|
121
167
|
|
122
168
|
|
123
169
|
def _deserialize(self, params):
|
124
|
-
self.
|
125
|
-
self.
|
170
|
+
self._QueueId = params.get("QueueId")
|
171
|
+
self._QueueName = params.get("QueueName")
|
126
172
|
memeber_set = set(params.keys())
|
127
173
|
for name, value in vars(self).items():
|
128
174
|
property_name = name[1:]
|
@@ -133,91 +179,77 @@ class ClearSubscriptionFilterTagsRequest(AbstractModel):
|
|
133
179
|
|
134
180
|
|
135
181
|
|
136
|
-
class
|
137
|
-
"""
|
182
|
+
class DescribeQueueDetailRequest(AbstractModel):
|
183
|
+
"""DescribeQueueDetail request structure.
|
138
184
|
|
139
185
|
"""
|
140
186
|
|
141
187
|
def __init__(self):
|
142
188
|
r"""
|
143
|
-
:param
|
144
|
-
:type
|
189
|
+
:param _Offset: Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
|
190
|
+
:type Offset: int
|
191
|
+
:param _Limit: Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
192
|
+
:type Limit: int
|
193
|
+
:param _Filters: Filter parameter. Currently, filtering by `QueueName` is supported, and only one keyword is allowed
|
194
|
+
:type Filters: list of Filter
|
195
|
+
:param _TagKey: Tag search
|
196
|
+
:type TagKey: str
|
197
|
+
:param _QueueName: Exact match by `QueueName`
|
198
|
+
:type QueueName: str
|
145
199
|
"""
|
146
|
-
self.
|
200
|
+
self._Offset = None
|
201
|
+
self._Limit = None
|
202
|
+
self._Filters = None
|
203
|
+
self._TagKey = None
|
204
|
+
self._QueueName = None
|
147
205
|
|
148
206
|
@property
|
149
|
-
def
|
150
|
-
"""
|
151
|
-
:rtype:
|
207
|
+
def Offset(self):
|
208
|
+
"""Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
|
209
|
+
:rtype: int
|
152
210
|
"""
|
153
|
-
return self.
|
154
|
-
|
155
|
-
@RequestId.setter
|
156
|
-
def RequestId(self, RequestId):
|
157
|
-
self._RequestId = RequestId
|
211
|
+
return self._Offset
|
158
212
|
|
213
|
+
@Offset.setter
|
214
|
+
def Offset(self, Offset):
|
215
|
+
self._Offset = Offset
|
159
216
|
|
160
|
-
|
161
|
-
|
217
|
+
@property
|
218
|
+
def Limit(self):
|
219
|
+
"""Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
220
|
+
:rtype: int
|
221
|
+
"""
|
222
|
+
return self._Limit
|
162
223
|
|
224
|
+
@Limit.setter
|
225
|
+
def Limit(self, Limit):
|
226
|
+
self._Limit = Limit
|
163
227
|
|
164
|
-
|
165
|
-
|
228
|
+
@property
|
229
|
+
def Filters(self):
|
230
|
+
"""Filter parameter. Currently, filtering by `QueueName` is supported, and only one keyword is allowed
|
231
|
+
:rtype: list of Filter
|
232
|
+
"""
|
233
|
+
return self._Filters
|
166
234
|
|
167
|
-
|
235
|
+
@Filters.setter
|
236
|
+
def Filters(self, Filters):
|
237
|
+
self._Filters = Filters
|
168
238
|
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
:
|
173
|
-
:param _MaxMsgHeapNum: Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
|
174
|
-
:type MaxMsgHeapNum: int
|
175
|
-
:param _PollingWaitSeconds: Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
|
176
|
-
:type PollingWaitSeconds: int
|
177
|
-
:param _VisibilityTimeout: Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
|
178
|
-
:type VisibilityTimeout: int
|
179
|
-
:param _MaxMsgSize: Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
|
180
|
-
:type MaxMsgSize: int
|
181
|
-
:param _MsgRetentionSeconds: Message retention period. Value range: 60-1296000 seconds (i.e., 1 minute-15 days). Default value: 345600 (i.e., 4 days).
|
182
|
-
:type MsgRetentionSeconds: int
|
183
|
-
:param _RewindSeconds: Whether to enable the message rewinding feature for a queue. Value range: 0-msgRetentionSeconds, where 0 means not to enable this feature, while `msgRetentionSeconds` indicates that the maximum rewindable period is the message retention period of the queue.
|
184
|
-
:type RewindSeconds: int
|
185
|
-
:param _Transaction: 1: transaction queue, 0: general queue
|
186
|
-
:type Transaction: int
|
187
|
-
:param _FirstQueryInterval: First lookback interval
|
188
|
-
:type FirstQueryInterval: int
|
189
|
-
:param _MaxQueryCount: Maximum number of lookbacks
|
190
|
-
:type MaxQueryCount: int
|
191
|
-
:param _DeadLetterQueueName: Dead letter queue name
|
192
|
-
:type DeadLetterQueueName: str
|
193
|
-
:param _Policy: Dead letter policy. 0: message has been consumed multiple times but not deleted, 1: `Time-To-Live` has elapsed
|
194
|
-
:type Policy: int
|
195
|
-
:param _MaxReceiveCount: Maximum receipt times. Value range: 1-1000
|
196
|
-
:type MaxReceiveCount: int
|
197
|
-
:param _MaxTimeToLive: Maximum period in seconds before an unconsumed message expires, which is required if `policy` is 1. Value range: 300-43200. This value should be smaller than `msgRetentionSeconds` (maximum message retention period)
|
198
|
-
:type MaxTimeToLive: int
|
199
|
-
:param _Trace: Whether to enable message trace. true: yes, false: no. If this field is not set, the feature will not be enabled
|
200
|
-
:type Trace: bool
|
239
|
+
@property
|
240
|
+
def TagKey(self):
|
241
|
+
"""Tag search
|
242
|
+
:rtype: str
|
201
243
|
"""
|
202
|
-
self.
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
self.
|
207
|
-
self._MsgRetentionSeconds = None
|
208
|
-
self._RewindSeconds = None
|
209
|
-
self._Transaction = None
|
210
|
-
self._FirstQueryInterval = None
|
211
|
-
self._MaxQueryCount = None
|
212
|
-
self._DeadLetterQueueName = None
|
213
|
-
self._Policy = None
|
214
|
-
self._MaxReceiveCount = None
|
215
|
-
self._MaxTimeToLive = None
|
216
|
-
self._Trace = None
|
244
|
+
return self._TagKey
|
245
|
+
|
246
|
+
@TagKey.setter
|
247
|
+
def TagKey(self, TagKey):
|
248
|
+
self._TagKey = TagKey
|
217
249
|
|
218
250
|
@property
|
219
251
|
def QueueName(self):
|
220
|
-
"""
|
252
|
+
"""Exact match by `QueueName`
|
221
253
|
:rtype: str
|
222
254
|
"""
|
223
255
|
return self._QueueName
|
@@ -226,1821 +258,18 @@ class CreateQueueRequest(AbstractModel):
|
|
226
258
|
def QueueName(self, QueueName):
|
227
259
|
self._QueueName = QueueName
|
228
260
|
|
229
|
-
@property
|
230
|
-
def MaxMsgHeapNum(self):
|
231
|
-
"""Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
|
232
|
-
:rtype: int
|
233
|
-
"""
|
234
|
-
return self._MaxMsgHeapNum
|
235
|
-
|
236
|
-
@MaxMsgHeapNum.setter
|
237
|
-
def MaxMsgHeapNum(self, MaxMsgHeapNum):
|
238
|
-
self._MaxMsgHeapNum = MaxMsgHeapNum
|
239
|
-
|
240
|
-
@property
|
241
|
-
def PollingWaitSeconds(self):
|
242
|
-
"""Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
|
243
|
-
:rtype: int
|
244
|
-
"""
|
245
|
-
return self._PollingWaitSeconds
|
246
|
-
|
247
|
-
@PollingWaitSeconds.setter
|
248
|
-
def PollingWaitSeconds(self, PollingWaitSeconds):
|
249
|
-
self._PollingWaitSeconds = PollingWaitSeconds
|
250
|
-
|
251
|
-
@property
|
252
|
-
def VisibilityTimeout(self):
|
253
|
-
"""Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
|
254
|
-
:rtype: int
|
255
|
-
"""
|
256
|
-
return self._VisibilityTimeout
|
257
|
-
|
258
|
-
@VisibilityTimeout.setter
|
259
|
-
def VisibilityTimeout(self, VisibilityTimeout):
|
260
|
-
self._VisibilityTimeout = VisibilityTimeout
|
261
|
-
|
262
|
-
@property
|
263
|
-
def MaxMsgSize(self):
|
264
|
-
"""Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
|
265
|
-
:rtype: int
|
266
|
-
"""
|
267
|
-
return self._MaxMsgSize
|
268
|
-
|
269
|
-
@MaxMsgSize.setter
|
270
|
-
def MaxMsgSize(self, MaxMsgSize):
|
271
|
-
self._MaxMsgSize = MaxMsgSize
|
272
|
-
|
273
|
-
@property
|
274
|
-
def MsgRetentionSeconds(self):
|
275
|
-
"""Message retention period. Value range: 60-1296000 seconds (i.e., 1 minute-15 days). Default value: 345600 (i.e., 4 days).
|
276
|
-
:rtype: int
|
277
|
-
"""
|
278
|
-
return self._MsgRetentionSeconds
|
279
|
-
|
280
|
-
@MsgRetentionSeconds.setter
|
281
|
-
def MsgRetentionSeconds(self, MsgRetentionSeconds):
|
282
|
-
self._MsgRetentionSeconds = MsgRetentionSeconds
|
283
|
-
|
284
|
-
@property
|
285
|
-
def RewindSeconds(self):
|
286
|
-
"""Whether to enable the message rewinding feature for a queue. Value range: 0-msgRetentionSeconds, where 0 means not to enable this feature, while `msgRetentionSeconds` indicates that the maximum rewindable period is the message retention period of the queue.
|
287
|
-
:rtype: int
|
288
|
-
"""
|
289
|
-
return self._RewindSeconds
|
290
|
-
|
291
|
-
@RewindSeconds.setter
|
292
|
-
def RewindSeconds(self, RewindSeconds):
|
293
|
-
self._RewindSeconds = RewindSeconds
|
294
|
-
|
295
|
-
@property
|
296
|
-
def Transaction(self):
|
297
|
-
"""1: transaction queue, 0: general queue
|
298
|
-
:rtype: int
|
299
|
-
"""
|
300
|
-
return self._Transaction
|
301
|
-
|
302
|
-
@Transaction.setter
|
303
|
-
def Transaction(self, Transaction):
|
304
|
-
self._Transaction = Transaction
|
305
|
-
|
306
|
-
@property
|
307
|
-
def FirstQueryInterval(self):
|
308
|
-
"""First lookback interval
|
309
|
-
:rtype: int
|
310
|
-
"""
|
311
|
-
return self._FirstQueryInterval
|
312
|
-
|
313
|
-
@FirstQueryInterval.setter
|
314
|
-
def FirstQueryInterval(self, FirstQueryInterval):
|
315
|
-
self._FirstQueryInterval = FirstQueryInterval
|
316
|
-
|
317
|
-
@property
|
318
|
-
def MaxQueryCount(self):
|
319
|
-
"""Maximum number of lookbacks
|
320
|
-
:rtype: int
|
321
|
-
"""
|
322
|
-
return self._MaxQueryCount
|
323
|
-
|
324
|
-
@MaxQueryCount.setter
|
325
|
-
def MaxQueryCount(self, MaxQueryCount):
|
326
|
-
self._MaxQueryCount = MaxQueryCount
|
327
|
-
|
328
|
-
@property
|
329
|
-
def DeadLetterQueueName(self):
|
330
|
-
"""Dead letter queue name
|
331
|
-
:rtype: str
|
332
|
-
"""
|
333
|
-
return self._DeadLetterQueueName
|
334
|
-
|
335
|
-
@DeadLetterQueueName.setter
|
336
|
-
def DeadLetterQueueName(self, DeadLetterQueueName):
|
337
|
-
self._DeadLetterQueueName = DeadLetterQueueName
|
338
|
-
|
339
|
-
@property
|
340
|
-
def Policy(self):
|
341
|
-
"""Dead letter policy. 0: message has been consumed multiple times but not deleted, 1: `Time-To-Live` has elapsed
|
342
|
-
:rtype: int
|
343
|
-
"""
|
344
|
-
return self._Policy
|
345
|
-
|
346
|
-
@Policy.setter
|
347
|
-
def Policy(self, Policy):
|
348
|
-
self._Policy = Policy
|
349
|
-
|
350
|
-
@property
|
351
|
-
def MaxReceiveCount(self):
|
352
|
-
"""Maximum receipt times. Value range: 1-1000
|
353
|
-
:rtype: int
|
354
|
-
"""
|
355
|
-
return self._MaxReceiveCount
|
356
|
-
|
357
|
-
@MaxReceiveCount.setter
|
358
|
-
def MaxReceiveCount(self, MaxReceiveCount):
|
359
|
-
self._MaxReceiveCount = MaxReceiveCount
|
360
|
-
|
361
|
-
@property
|
362
|
-
def MaxTimeToLive(self):
|
363
|
-
"""Maximum period in seconds before an unconsumed message expires, which is required if `policy` is 1. Value range: 300-43200. This value should be smaller than `msgRetentionSeconds` (maximum message retention period)
|
364
|
-
:rtype: int
|
365
|
-
"""
|
366
|
-
return self._MaxTimeToLive
|
367
|
-
|
368
|
-
@MaxTimeToLive.setter
|
369
|
-
def MaxTimeToLive(self, MaxTimeToLive):
|
370
|
-
self._MaxTimeToLive = MaxTimeToLive
|
371
|
-
|
372
|
-
@property
|
373
|
-
def Trace(self):
|
374
|
-
"""Whether to enable message trace. true: yes, false: no. If this field is not set, the feature will not be enabled
|
375
|
-
:rtype: bool
|
376
|
-
"""
|
377
|
-
return self._Trace
|
378
|
-
|
379
|
-
@Trace.setter
|
380
|
-
def Trace(self, Trace):
|
381
|
-
self._Trace = Trace
|
382
|
-
|
383
|
-
|
384
|
-
def _deserialize(self, params):
|
385
|
-
self._QueueName = params.get("QueueName")
|
386
|
-
self._MaxMsgHeapNum = params.get("MaxMsgHeapNum")
|
387
|
-
self._PollingWaitSeconds = params.get("PollingWaitSeconds")
|
388
|
-
self._VisibilityTimeout = params.get("VisibilityTimeout")
|
389
|
-
self._MaxMsgSize = params.get("MaxMsgSize")
|
390
|
-
self._MsgRetentionSeconds = params.get("MsgRetentionSeconds")
|
391
|
-
self._RewindSeconds = params.get("RewindSeconds")
|
392
|
-
self._Transaction = params.get("Transaction")
|
393
|
-
self._FirstQueryInterval = params.get("FirstQueryInterval")
|
394
|
-
self._MaxQueryCount = params.get("MaxQueryCount")
|
395
|
-
self._DeadLetterQueueName = params.get("DeadLetterQueueName")
|
396
|
-
self._Policy = params.get("Policy")
|
397
|
-
self._MaxReceiveCount = params.get("MaxReceiveCount")
|
398
|
-
self._MaxTimeToLive = params.get("MaxTimeToLive")
|
399
|
-
self._Trace = params.get("Trace")
|
400
|
-
memeber_set = set(params.keys())
|
401
|
-
for name, value in vars(self).items():
|
402
|
-
property_name = name[1:]
|
403
|
-
if property_name in memeber_set:
|
404
|
-
memeber_set.remove(property_name)
|
405
|
-
if len(memeber_set) > 0:
|
406
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
class CreateQueueResponse(AbstractModel):
|
411
|
-
"""CreateQueue response structure.
|
412
|
-
|
413
|
-
"""
|
414
|
-
|
415
|
-
def __init__(self):
|
416
|
-
r"""
|
417
|
-
:param _QueueId: "queueId" of a successfully created queue
|
418
|
-
:type QueueId: str
|
419
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
420
|
-
:type RequestId: str
|
421
|
-
"""
|
422
|
-
self._QueueId = None
|
423
|
-
self._RequestId = None
|
424
|
-
|
425
|
-
@property
|
426
|
-
def QueueId(self):
|
427
|
-
""""queueId" of a successfully created queue
|
428
|
-
:rtype: str
|
429
|
-
"""
|
430
|
-
return self._QueueId
|
431
|
-
|
432
|
-
@QueueId.setter
|
433
|
-
def QueueId(self, QueueId):
|
434
|
-
self._QueueId = QueueId
|
435
|
-
|
436
|
-
@property
|
437
|
-
def RequestId(self):
|
438
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
439
|
-
:rtype: str
|
440
|
-
"""
|
441
|
-
return self._RequestId
|
442
|
-
|
443
|
-
@RequestId.setter
|
444
|
-
def RequestId(self, RequestId):
|
445
|
-
self._RequestId = RequestId
|
446
|
-
|
447
|
-
|
448
|
-
def _deserialize(self, params):
|
449
|
-
self._QueueId = params.get("QueueId")
|
450
|
-
self._RequestId = params.get("RequestId")
|
451
|
-
|
452
|
-
|
453
|
-
class CreateSubscribeRequest(AbstractModel):
|
454
|
-
"""CreateSubscribe request structure.
|
455
|
-
|
456
|
-
"""
|
457
|
-
|
458
|
-
def __init__(self):
|
459
|
-
r"""
|
460
|
-
:param _TopicName: Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
461
|
-
:type TopicName: str
|
462
|
-
:param _SubscriptionName: Subscription name, which is unique in the same topic under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
463
|
-
:type SubscriptionName: str
|
464
|
-
:param _Protocol: Subscription protocol. Currently, two protocols are supported: http and queue. To use the `http` protocol, you need to build your own web server to receive messages. With the `queue` protocol, messages are automatically pushed to a CMQ queue and you can pull them concurrently.
|
465
|
-
:type Protocol: str
|
466
|
-
:param _Endpoint: `Endpoint` for notification receipt, which is distinguished by `Protocol`. For `http`, `Endpoint` must begin with `http://` and `host` can be a domain name or IP. For `Queue`, enter `QueueName`. Please note that currently the push service cannot push messages to a VPC; therefore, if a VPC domain name or address is entered for `Endpoint`, pushed messages will not be received. Currently, messages can be pushed only to the public network and basic network.
|
467
|
-
:type Endpoint: str
|
468
|
-
:param _NotifyStrategy: CMQ push server retry policy in case an error occurs while pushing a message to `Endpoint`. Valid values: 1. BACKOFF_RETRY: backoff retry, which is to retry at a fixed interval, discard the message after a certain number of retries, and continue to push the next message; 2. EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
|
469
|
-
:type NotifyStrategy: str
|
470
|
-
:param _FilterTag: Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not set, no matter whether `MsgTag` is set, the subscription will receive all messages published to the topic; 2. If the `FilterTag` array has a value, only when at least one of the values in the array also exists in the `MsgTag` array (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the `FilterTag` array has a value, but `MsgTag` is not set, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
|
471
|
-
:type FilterTag: list of str
|
472
|
-
:param _BindingKey: The number of `BindingKey` cannot exceed 5, and the length of each `BindingKey` cannot exceed 64 bytes. This field indicates the filtering policy for subscribing to and receiving messages. Each `BindingKey` can contain up to 15 `.`, i.e., up to 16 phrases.
|
473
|
-
:type BindingKey: list of str
|
474
|
-
:param _NotifyContentFormat: Push content format. Valid values: 1. JSON, 2. SIMPLIFIED, i.e., the raw format. If `Protocol` is `queue`, this value must be `SIMPLIFIED`. If `Protocol` is `http`, both options are acceptable, and the default value is `JSON`.
|
475
|
-
:type NotifyContentFormat: str
|
476
|
-
"""
|
477
|
-
self._TopicName = None
|
478
|
-
self._SubscriptionName = None
|
479
|
-
self._Protocol = None
|
480
|
-
self._Endpoint = None
|
481
|
-
self._NotifyStrategy = None
|
482
|
-
self._FilterTag = None
|
483
|
-
self._BindingKey = None
|
484
|
-
self._NotifyContentFormat = None
|
485
|
-
|
486
|
-
@property
|
487
|
-
def TopicName(self):
|
488
|
-
"""Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
489
|
-
:rtype: str
|
490
|
-
"""
|
491
|
-
return self._TopicName
|
492
|
-
|
493
|
-
@TopicName.setter
|
494
|
-
def TopicName(self, TopicName):
|
495
|
-
self._TopicName = TopicName
|
496
|
-
|
497
|
-
@property
|
498
|
-
def SubscriptionName(self):
|
499
|
-
"""Subscription name, which is unique in the same topic under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
500
|
-
:rtype: str
|
501
|
-
"""
|
502
|
-
return self._SubscriptionName
|
503
|
-
|
504
|
-
@SubscriptionName.setter
|
505
|
-
def SubscriptionName(self, SubscriptionName):
|
506
|
-
self._SubscriptionName = SubscriptionName
|
507
|
-
|
508
|
-
@property
|
509
|
-
def Protocol(self):
|
510
|
-
"""Subscription protocol. Currently, two protocols are supported: http and queue. To use the `http` protocol, you need to build your own web server to receive messages. With the `queue` protocol, messages are automatically pushed to a CMQ queue and you can pull them concurrently.
|
511
|
-
:rtype: str
|
512
|
-
"""
|
513
|
-
return self._Protocol
|
514
|
-
|
515
|
-
@Protocol.setter
|
516
|
-
def Protocol(self, Protocol):
|
517
|
-
self._Protocol = Protocol
|
518
|
-
|
519
|
-
@property
|
520
|
-
def Endpoint(self):
|
521
|
-
"""`Endpoint` for notification receipt, which is distinguished by `Protocol`. For `http`, `Endpoint` must begin with `http://` and `host` can be a domain name or IP. For `Queue`, enter `QueueName`. Please note that currently the push service cannot push messages to a VPC; therefore, if a VPC domain name or address is entered for `Endpoint`, pushed messages will not be received. Currently, messages can be pushed only to the public network and basic network.
|
522
|
-
:rtype: str
|
523
|
-
"""
|
524
|
-
return self._Endpoint
|
525
|
-
|
526
|
-
@Endpoint.setter
|
527
|
-
def Endpoint(self, Endpoint):
|
528
|
-
self._Endpoint = Endpoint
|
529
|
-
|
530
|
-
@property
|
531
|
-
def NotifyStrategy(self):
|
532
|
-
"""CMQ push server retry policy in case an error occurs while pushing a message to `Endpoint`. Valid values: 1. BACKOFF_RETRY: backoff retry, which is to retry at a fixed interval, discard the message after a certain number of retries, and continue to push the next message; 2. EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
|
533
|
-
:rtype: str
|
534
|
-
"""
|
535
|
-
return self._NotifyStrategy
|
536
|
-
|
537
|
-
@NotifyStrategy.setter
|
538
|
-
def NotifyStrategy(self, NotifyStrategy):
|
539
|
-
self._NotifyStrategy = NotifyStrategy
|
540
|
-
|
541
|
-
@property
|
542
|
-
def FilterTag(self):
|
543
|
-
"""Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not set, no matter whether `MsgTag` is set, the subscription will receive all messages published to the topic; 2. If the `FilterTag` array has a value, only when at least one of the values in the array also exists in the `MsgTag` array (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the `FilterTag` array has a value, but `MsgTag` is not set, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
|
544
|
-
:rtype: list of str
|
545
|
-
"""
|
546
|
-
return self._FilterTag
|
547
|
-
|
548
|
-
@FilterTag.setter
|
549
|
-
def FilterTag(self, FilterTag):
|
550
|
-
self._FilterTag = FilterTag
|
551
|
-
|
552
|
-
@property
|
553
|
-
def BindingKey(self):
|
554
|
-
"""The number of `BindingKey` cannot exceed 5, and the length of each `BindingKey` cannot exceed 64 bytes. This field indicates the filtering policy for subscribing to and receiving messages. Each `BindingKey` can contain up to 15 `.`, i.e., up to 16 phrases.
|
555
|
-
:rtype: list of str
|
556
|
-
"""
|
557
|
-
return self._BindingKey
|
558
|
-
|
559
|
-
@BindingKey.setter
|
560
|
-
def BindingKey(self, BindingKey):
|
561
|
-
self._BindingKey = BindingKey
|
562
|
-
|
563
|
-
@property
|
564
|
-
def NotifyContentFormat(self):
|
565
|
-
"""Push content format. Valid values: 1. JSON, 2. SIMPLIFIED, i.e., the raw format. If `Protocol` is `queue`, this value must be `SIMPLIFIED`. If `Protocol` is `http`, both options are acceptable, and the default value is `JSON`.
|
566
|
-
:rtype: str
|
567
|
-
"""
|
568
|
-
return self._NotifyContentFormat
|
569
|
-
|
570
|
-
@NotifyContentFormat.setter
|
571
|
-
def NotifyContentFormat(self, NotifyContentFormat):
|
572
|
-
self._NotifyContentFormat = NotifyContentFormat
|
573
|
-
|
574
|
-
|
575
|
-
def _deserialize(self, params):
|
576
|
-
self._TopicName = params.get("TopicName")
|
577
|
-
self._SubscriptionName = params.get("SubscriptionName")
|
578
|
-
self._Protocol = params.get("Protocol")
|
579
|
-
self._Endpoint = params.get("Endpoint")
|
580
|
-
self._NotifyStrategy = params.get("NotifyStrategy")
|
581
|
-
self._FilterTag = params.get("FilterTag")
|
582
|
-
self._BindingKey = params.get("BindingKey")
|
583
|
-
self._NotifyContentFormat = params.get("NotifyContentFormat")
|
584
|
-
memeber_set = set(params.keys())
|
585
|
-
for name, value in vars(self).items():
|
586
|
-
property_name = name[1:]
|
587
|
-
if property_name in memeber_set:
|
588
|
-
memeber_set.remove(property_name)
|
589
|
-
if len(memeber_set) > 0:
|
590
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
class CreateSubscribeResponse(AbstractModel):
|
595
|
-
"""CreateSubscribe response structure.
|
596
|
-
|
597
|
-
"""
|
598
|
-
|
599
|
-
def __init__(self):
|
600
|
-
r"""
|
601
|
-
:param _SubscriptionId: SubscriptionId
|
602
|
-
:type SubscriptionId: str
|
603
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
604
|
-
:type RequestId: str
|
605
|
-
"""
|
606
|
-
self._SubscriptionId = None
|
607
|
-
self._RequestId = None
|
608
|
-
|
609
|
-
@property
|
610
|
-
def SubscriptionId(self):
|
611
|
-
"""SubscriptionId
|
612
|
-
:rtype: str
|
613
|
-
"""
|
614
|
-
return self._SubscriptionId
|
615
|
-
|
616
|
-
@SubscriptionId.setter
|
617
|
-
def SubscriptionId(self, SubscriptionId):
|
618
|
-
self._SubscriptionId = SubscriptionId
|
619
|
-
|
620
|
-
@property
|
621
|
-
def RequestId(self):
|
622
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
623
|
-
:rtype: str
|
624
|
-
"""
|
625
|
-
return self._RequestId
|
626
|
-
|
627
|
-
@RequestId.setter
|
628
|
-
def RequestId(self, RequestId):
|
629
|
-
self._RequestId = RequestId
|
630
|
-
|
631
|
-
|
632
|
-
def _deserialize(self, params):
|
633
|
-
self._SubscriptionId = params.get("SubscriptionId")
|
634
|
-
self._RequestId = params.get("RequestId")
|
635
|
-
|
636
|
-
|
637
|
-
class CreateTopicRequest(AbstractModel):
|
638
|
-
"""CreateTopic request structure.
|
639
|
-
|
640
|
-
"""
|
641
|
-
|
642
|
-
def __init__(self):
|
643
|
-
r"""
|
644
|
-
:param _TopicName: Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
645
|
-
:type TopicName: str
|
646
|
-
:param _MaxMsgSize: Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
|
647
|
-
:type MaxMsgSize: int
|
648
|
-
:param _FilterType: Message match policy for a specified topic.
|
649
|
-
:type FilterType: int
|
650
|
-
:param _MsgRetentionSeconds: Message retention period. Value range: 60-86400 seconds (i.e., 1 minute-1 day). Default value: 86400.
|
651
|
-
:type MsgRetentionSeconds: int
|
652
|
-
:param _Trace: Whether to enable message trace. true: yes, false: no. If this field is left empty, the feature will not be enabled.
|
653
|
-
:type Trace: bool
|
654
|
-
"""
|
655
|
-
self._TopicName = None
|
656
|
-
self._MaxMsgSize = None
|
657
|
-
self._FilterType = None
|
658
|
-
self._MsgRetentionSeconds = None
|
659
|
-
self._Trace = None
|
660
|
-
|
661
|
-
@property
|
662
|
-
def TopicName(self):
|
663
|
-
"""Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
664
|
-
:rtype: str
|
665
|
-
"""
|
666
|
-
return self._TopicName
|
667
|
-
|
668
|
-
@TopicName.setter
|
669
|
-
def TopicName(self, TopicName):
|
670
|
-
self._TopicName = TopicName
|
671
|
-
|
672
|
-
@property
|
673
|
-
def MaxMsgSize(self):
|
674
|
-
"""Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
|
675
|
-
:rtype: int
|
676
|
-
"""
|
677
|
-
return self._MaxMsgSize
|
678
|
-
|
679
|
-
@MaxMsgSize.setter
|
680
|
-
def MaxMsgSize(self, MaxMsgSize):
|
681
|
-
self._MaxMsgSize = MaxMsgSize
|
682
|
-
|
683
|
-
@property
|
684
|
-
def FilterType(self):
|
685
|
-
"""Message match policy for a specified topic.
|
686
|
-
:rtype: int
|
687
|
-
"""
|
688
|
-
return self._FilterType
|
689
|
-
|
690
|
-
@FilterType.setter
|
691
|
-
def FilterType(self, FilterType):
|
692
|
-
self._FilterType = FilterType
|
693
|
-
|
694
|
-
@property
|
695
|
-
def MsgRetentionSeconds(self):
|
696
|
-
"""Message retention period. Value range: 60-86400 seconds (i.e., 1 minute-1 day). Default value: 86400.
|
697
|
-
:rtype: int
|
698
|
-
"""
|
699
|
-
return self._MsgRetentionSeconds
|
700
|
-
|
701
|
-
@MsgRetentionSeconds.setter
|
702
|
-
def MsgRetentionSeconds(self, MsgRetentionSeconds):
|
703
|
-
self._MsgRetentionSeconds = MsgRetentionSeconds
|
704
|
-
|
705
|
-
@property
|
706
|
-
def Trace(self):
|
707
|
-
"""Whether to enable message trace. true: yes, false: no. If this field is left empty, the feature will not be enabled.
|
708
|
-
:rtype: bool
|
709
|
-
"""
|
710
|
-
return self._Trace
|
711
|
-
|
712
|
-
@Trace.setter
|
713
|
-
def Trace(self, Trace):
|
714
|
-
self._Trace = Trace
|
715
|
-
|
716
|
-
|
717
|
-
def _deserialize(self, params):
|
718
|
-
self._TopicName = params.get("TopicName")
|
719
|
-
self._MaxMsgSize = params.get("MaxMsgSize")
|
720
|
-
self._FilterType = params.get("FilterType")
|
721
|
-
self._MsgRetentionSeconds = params.get("MsgRetentionSeconds")
|
722
|
-
self._Trace = params.get("Trace")
|
723
|
-
memeber_set = set(params.keys())
|
724
|
-
for name, value in vars(self).items():
|
725
|
-
property_name = name[1:]
|
726
|
-
if property_name in memeber_set:
|
727
|
-
memeber_set.remove(property_name)
|
728
|
-
if len(memeber_set) > 0:
|
729
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
class CreateTopicResponse(AbstractModel):
|
734
|
-
"""CreateTopic response structure.
|
735
|
-
|
736
|
-
"""
|
737
|
-
|
738
|
-
def __init__(self):
|
739
|
-
r"""
|
740
|
-
:param _TopicId: TopicName
|
741
|
-
:type TopicId: str
|
742
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
743
|
-
:type RequestId: str
|
744
|
-
"""
|
745
|
-
self._TopicId = None
|
746
|
-
self._RequestId = None
|
747
|
-
|
748
|
-
@property
|
749
|
-
def TopicId(self):
|
750
|
-
"""TopicName
|
751
|
-
:rtype: str
|
752
|
-
"""
|
753
|
-
return self._TopicId
|
754
|
-
|
755
|
-
@TopicId.setter
|
756
|
-
def TopicId(self, TopicId):
|
757
|
-
self._TopicId = TopicId
|
758
|
-
|
759
|
-
@property
|
760
|
-
def RequestId(self):
|
761
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
762
|
-
:rtype: str
|
763
|
-
"""
|
764
|
-
return self._RequestId
|
765
|
-
|
766
|
-
@RequestId.setter
|
767
|
-
def RequestId(self, RequestId):
|
768
|
-
self._RequestId = RequestId
|
769
|
-
|
770
|
-
|
771
|
-
def _deserialize(self, params):
|
772
|
-
self._TopicId = params.get("TopicId")
|
773
|
-
self._RequestId = params.get("RequestId")
|
774
|
-
|
775
|
-
|
776
|
-
class DeadLetterPolicy(AbstractModel):
|
777
|
-
"""DeadLetterPolicy
|
778
|
-
|
779
|
-
"""
|
780
|
-
|
781
|
-
def __init__(self):
|
782
|
-
r"""
|
783
|
-
:param _DeadLetterQueueName: DeadLetterQueueName
|
784
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
785
|
-
:type DeadLetterQueueName: str
|
786
|
-
:param _DeadLetterQueue: DeadLetterQueue
|
787
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
788
|
-
:type DeadLetterQueue: str
|
789
|
-
:param _Policy: Policy
|
790
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
791
|
-
:type Policy: int
|
792
|
-
:param _MaxTimeToLive: MaxTimeToLive
|
793
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
794
|
-
:type MaxTimeToLive: int
|
795
|
-
:param _MaxReceiveCount: MaxReceiveCount
|
796
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
797
|
-
:type MaxReceiveCount: int
|
798
|
-
"""
|
799
|
-
self._DeadLetterQueueName = None
|
800
|
-
self._DeadLetterQueue = None
|
801
|
-
self._Policy = None
|
802
|
-
self._MaxTimeToLive = None
|
803
|
-
self._MaxReceiveCount = None
|
804
|
-
|
805
|
-
@property
|
806
|
-
def DeadLetterQueueName(self):
|
807
|
-
"""DeadLetterQueueName
|
808
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
809
|
-
:rtype: str
|
810
|
-
"""
|
811
|
-
return self._DeadLetterQueueName
|
812
|
-
|
813
|
-
@DeadLetterQueueName.setter
|
814
|
-
def DeadLetterQueueName(self, DeadLetterQueueName):
|
815
|
-
self._DeadLetterQueueName = DeadLetterQueueName
|
816
|
-
|
817
|
-
@property
|
818
|
-
def DeadLetterQueue(self):
|
819
|
-
"""DeadLetterQueue
|
820
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
821
|
-
:rtype: str
|
822
|
-
"""
|
823
|
-
return self._DeadLetterQueue
|
824
|
-
|
825
|
-
@DeadLetterQueue.setter
|
826
|
-
def DeadLetterQueue(self, DeadLetterQueue):
|
827
|
-
self._DeadLetterQueue = DeadLetterQueue
|
828
|
-
|
829
|
-
@property
|
830
|
-
def Policy(self):
|
831
|
-
"""Policy
|
832
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
833
|
-
:rtype: int
|
834
|
-
"""
|
835
|
-
return self._Policy
|
836
|
-
|
837
|
-
@Policy.setter
|
838
|
-
def Policy(self, Policy):
|
839
|
-
self._Policy = Policy
|
840
|
-
|
841
|
-
@property
|
842
|
-
def MaxTimeToLive(self):
|
843
|
-
"""MaxTimeToLive
|
844
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
845
|
-
:rtype: int
|
846
|
-
"""
|
847
|
-
return self._MaxTimeToLive
|
848
|
-
|
849
|
-
@MaxTimeToLive.setter
|
850
|
-
def MaxTimeToLive(self, MaxTimeToLive):
|
851
|
-
self._MaxTimeToLive = MaxTimeToLive
|
852
|
-
|
853
|
-
@property
|
854
|
-
def MaxReceiveCount(self):
|
855
|
-
"""MaxReceiveCount
|
856
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
857
|
-
:rtype: int
|
858
|
-
"""
|
859
|
-
return self._MaxReceiveCount
|
860
|
-
|
861
|
-
@MaxReceiveCount.setter
|
862
|
-
def MaxReceiveCount(self, MaxReceiveCount):
|
863
|
-
self._MaxReceiveCount = MaxReceiveCount
|
864
|
-
|
865
|
-
|
866
|
-
def _deserialize(self, params):
|
867
|
-
self._DeadLetterQueueName = params.get("DeadLetterQueueName")
|
868
|
-
self._DeadLetterQueue = params.get("DeadLetterQueue")
|
869
|
-
self._Policy = params.get("Policy")
|
870
|
-
self._MaxTimeToLive = params.get("MaxTimeToLive")
|
871
|
-
self._MaxReceiveCount = params.get("MaxReceiveCount")
|
872
|
-
memeber_set = set(params.keys())
|
873
|
-
for name, value in vars(self).items():
|
874
|
-
property_name = name[1:]
|
875
|
-
if property_name in memeber_set:
|
876
|
-
memeber_set.remove(property_name)
|
877
|
-
if len(memeber_set) > 0:
|
878
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
class DeadLetterSource(AbstractModel):
|
883
|
-
"""DeadLetterSource
|
884
|
-
|
885
|
-
"""
|
886
|
-
|
887
|
-
def __init__(self):
|
888
|
-
r"""
|
889
|
-
:param _QueueId: QueueId
|
890
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
891
|
-
:type QueueId: str
|
892
|
-
:param _QueueName: QueueName
|
893
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
894
|
-
:type QueueName: str
|
895
|
-
"""
|
896
|
-
self._QueueId = None
|
897
|
-
self._QueueName = None
|
898
|
-
|
899
|
-
@property
|
900
|
-
def QueueId(self):
|
901
|
-
"""QueueId
|
902
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
903
|
-
:rtype: str
|
904
|
-
"""
|
905
|
-
return self._QueueId
|
906
|
-
|
907
|
-
@QueueId.setter
|
908
|
-
def QueueId(self, QueueId):
|
909
|
-
self._QueueId = QueueId
|
910
|
-
|
911
|
-
@property
|
912
|
-
def QueueName(self):
|
913
|
-
"""QueueName
|
914
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
915
|
-
:rtype: str
|
916
|
-
"""
|
917
|
-
return self._QueueName
|
918
|
-
|
919
|
-
@QueueName.setter
|
920
|
-
def QueueName(self, QueueName):
|
921
|
-
self._QueueName = QueueName
|
922
|
-
|
923
|
-
|
924
|
-
def _deserialize(self, params):
|
925
|
-
self._QueueId = params.get("QueueId")
|
926
|
-
self._QueueName = params.get("QueueName")
|
927
|
-
memeber_set = set(params.keys())
|
928
|
-
for name, value in vars(self).items():
|
929
|
-
property_name = name[1:]
|
930
|
-
if property_name in memeber_set:
|
931
|
-
memeber_set.remove(property_name)
|
932
|
-
if len(memeber_set) > 0:
|
933
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
class DeleteQueueRequest(AbstractModel):
|
938
|
-
"""DeleteQueue request structure.
|
939
|
-
|
940
|
-
"""
|
941
|
-
|
942
|
-
def __init__(self):
|
943
|
-
r"""
|
944
|
-
:param _QueueName: Queue name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
945
|
-
:type QueueName: str
|
946
|
-
"""
|
947
|
-
self._QueueName = None
|
948
|
-
|
949
|
-
@property
|
950
|
-
def QueueName(self):
|
951
|
-
"""Queue name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
952
|
-
:rtype: str
|
953
|
-
"""
|
954
|
-
return self._QueueName
|
955
|
-
|
956
|
-
@QueueName.setter
|
957
|
-
def QueueName(self, QueueName):
|
958
|
-
self._QueueName = QueueName
|
959
|
-
|
960
|
-
|
961
|
-
def _deserialize(self, params):
|
962
|
-
self._QueueName = params.get("QueueName")
|
963
|
-
memeber_set = set(params.keys())
|
964
|
-
for name, value in vars(self).items():
|
965
|
-
property_name = name[1:]
|
966
|
-
if property_name in memeber_set:
|
967
|
-
memeber_set.remove(property_name)
|
968
|
-
if len(memeber_set) > 0:
|
969
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
class DeleteQueueResponse(AbstractModel):
|
974
|
-
"""DeleteQueue response structure.
|
975
|
-
|
976
|
-
"""
|
977
|
-
|
978
|
-
def __init__(self):
|
979
|
-
r"""
|
980
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
981
|
-
:type RequestId: str
|
982
|
-
"""
|
983
|
-
self._RequestId = None
|
984
|
-
|
985
|
-
@property
|
986
|
-
def RequestId(self):
|
987
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
988
|
-
:rtype: str
|
989
|
-
"""
|
990
|
-
return self._RequestId
|
991
|
-
|
992
|
-
@RequestId.setter
|
993
|
-
def RequestId(self, RequestId):
|
994
|
-
self._RequestId = RequestId
|
995
|
-
|
996
|
-
|
997
|
-
def _deserialize(self, params):
|
998
|
-
self._RequestId = params.get("RequestId")
|
999
|
-
|
1000
|
-
|
1001
|
-
class DeleteSubscribeRequest(AbstractModel):
|
1002
|
-
"""DeleteSubscribe request structure.
|
1003
|
-
|
1004
|
-
"""
|
1005
|
-
|
1006
|
-
def __init__(self):
|
1007
|
-
r"""
|
1008
|
-
:param _TopicName: Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1009
|
-
:type TopicName: str
|
1010
|
-
:param _SubscriptionName: Subscription name, which is unique in the same topic under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1011
|
-
:type SubscriptionName: str
|
1012
|
-
"""
|
1013
|
-
self._TopicName = None
|
1014
|
-
self._SubscriptionName = None
|
1015
|
-
|
1016
|
-
@property
|
1017
|
-
def TopicName(self):
|
1018
|
-
"""Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1019
|
-
:rtype: str
|
1020
|
-
"""
|
1021
|
-
return self._TopicName
|
1022
|
-
|
1023
|
-
@TopicName.setter
|
1024
|
-
def TopicName(self, TopicName):
|
1025
|
-
self._TopicName = TopicName
|
1026
|
-
|
1027
|
-
@property
|
1028
|
-
def SubscriptionName(self):
|
1029
|
-
"""Subscription name, which is unique in the same topic under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1030
|
-
:rtype: str
|
1031
|
-
"""
|
1032
|
-
return self._SubscriptionName
|
1033
|
-
|
1034
|
-
@SubscriptionName.setter
|
1035
|
-
def SubscriptionName(self, SubscriptionName):
|
1036
|
-
self._SubscriptionName = SubscriptionName
|
1037
|
-
|
1038
|
-
|
1039
|
-
def _deserialize(self, params):
|
1040
|
-
self._TopicName = params.get("TopicName")
|
1041
|
-
self._SubscriptionName = params.get("SubscriptionName")
|
1042
|
-
memeber_set = set(params.keys())
|
1043
|
-
for name, value in vars(self).items():
|
1044
|
-
property_name = name[1:]
|
1045
|
-
if property_name in memeber_set:
|
1046
|
-
memeber_set.remove(property_name)
|
1047
|
-
if len(memeber_set) > 0:
|
1048
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
class DeleteSubscribeResponse(AbstractModel):
|
1053
|
-
"""DeleteSubscribe response structure.
|
1054
|
-
|
1055
|
-
"""
|
1056
|
-
|
1057
|
-
def __init__(self):
|
1058
|
-
r"""
|
1059
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1060
|
-
:type RequestId: str
|
1061
|
-
"""
|
1062
|
-
self._RequestId = None
|
1063
|
-
|
1064
|
-
@property
|
1065
|
-
def RequestId(self):
|
1066
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1067
|
-
:rtype: str
|
1068
|
-
"""
|
1069
|
-
return self._RequestId
|
1070
|
-
|
1071
|
-
@RequestId.setter
|
1072
|
-
def RequestId(self, RequestId):
|
1073
|
-
self._RequestId = RequestId
|
1074
|
-
|
1075
|
-
|
1076
|
-
def _deserialize(self, params):
|
1077
|
-
self._RequestId = params.get("RequestId")
|
1078
|
-
|
1079
|
-
|
1080
|
-
class DeleteTopicRequest(AbstractModel):
|
1081
|
-
"""DeleteTopic request structure.
|
1082
|
-
|
1083
|
-
"""
|
1084
|
-
|
1085
|
-
def __init__(self):
|
1086
|
-
r"""
|
1087
|
-
:param _TopicName: Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1088
|
-
:type TopicName: str
|
1089
|
-
"""
|
1090
|
-
self._TopicName = None
|
1091
|
-
|
1092
|
-
@property
|
1093
|
-
def TopicName(self):
|
1094
|
-
"""Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1095
|
-
:rtype: str
|
1096
|
-
"""
|
1097
|
-
return self._TopicName
|
1098
|
-
|
1099
|
-
@TopicName.setter
|
1100
|
-
def TopicName(self, TopicName):
|
1101
|
-
self._TopicName = TopicName
|
1102
|
-
|
1103
|
-
|
1104
|
-
def _deserialize(self, params):
|
1105
|
-
self._TopicName = params.get("TopicName")
|
1106
|
-
memeber_set = set(params.keys())
|
1107
|
-
for name, value in vars(self).items():
|
1108
|
-
property_name = name[1:]
|
1109
|
-
if property_name in memeber_set:
|
1110
|
-
memeber_set.remove(property_name)
|
1111
|
-
if len(memeber_set) > 0:
|
1112
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
class DeleteTopicResponse(AbstractModel):
|
1117
|
-
"""DeleteTopic response structure.
|
1118
|
-
|
1119
|
-
"""
|
1120
|
-
|
1121
|
-
def __init__(self):
|
1122
|
-
r"""
|
1123
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1124
|
-
:type RequestId: str
|
1125
|
-
"""
|
1126
|
-
self._RequestId = None
|
1127
|
-
|
1128
|
-
@property
|
1129
|
-
def RequestId(self):
|
1130
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1131
|
-
:rtype: str
|
1132
|
-
"""
|
1133
|
-
return self._RequestId
|
1134
|
-
|
1135
|
-
@RequestId.setter
|
1136
|
-
def RequestId(self, RequestId):
|
1137
|
-
self._RequestId = RequestId
|
1138
|
-
|
1139
|
-
|
1140
|
-
def _deserialize(self, params):
|
1141
|
-
self._RequestId = params.get("RequestId")
|
1142
|
-
|
1143
|
-
|
1144
|
-
class DescribeDeadLetterSourceQueuesRequest(AbstractModel):
|
1145
|
-
"""DescribeDeadLetterSourceQueues request structure.
|
1146
|
-
|
1147
|
-
"""
|
1148
|
-
|
1149
|
-
def __init__(self):
|
1150
|
-
r"""
|
1151
|
-
:param _DeadLetterQueueName: Dead letter queue name
|
1152
|
-
:type DeadLetterQueueName: str
|
1153
|
-
:param _Limit: Starting position of topic list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default.
|
1154
|
-
:type Limit: int
|
1155
|
-
:param _Offset: Number of topics to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1156
|
-
:type Offset: int
|
1157
|
-
:param _Filters: Filters source queue name of dead letter queue. Currently, only filtering by `SourceQueueName` is supported
|
1158
|
-
:type Filters: list of Filter
|
1159
|
-
"""
|
1160
|
-
self._DeadLetterQueueName = None
|
1161
|
-
self._Limit = None
|
1162
|
-
self._Offset = None
|
1163
|
-
self._Filters = None
|
1164
|
-
|
1165
|
-
@property
|
1166
|
-
def DeadLetterQueueName(self):
|
1167
|
-
"""Dead letter queue name
|
1168
|
-
:rtype: str
|
1169
|
-
"""
|
1170
|
-
return self._DeadLetterQueueName
|
1171
|
-
|
1172
|
-
@DeadLetterQueueName.setter
|
1173
|
-
def DeadLetterQueueName(self, DeadLetterQueueName):
|
1174
|
-
self._DeadLetterQueueName = DeadLetterQueueName
|
1175
|
-
|
1176
|
-
@property
|
1177
|
-
def Limit(self):
|
1178
|
-
"""Starting position of topic list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default.
|
1179
|
-
:rtype: int
|
1180
|
-
"""
|
1181
|
-
return self._Limit
|
1182
|
-
|
1183
|
-
@Limit.setter
|
1184
|
-
def Limit(self, Limit):
|
1185
|
-
self._Limit = Limit
|
1186
|
-
|
1187
|
-
@property
|
1188
|
-
def Offset(self):
|
1189
|
-
"""Number of topics to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1190
|
-
:rtype: int
|
1191
|
-
"""
|
1192
|
-
return self._Offset
|
1193
|
-
|
1194
|
-
@Offset.setter
|
1195
|
-
def Offset(self, Offset):
|
1196
|
-
self._Offset = Offset
|
1197
|
-
|
1198
|
-
@property
|
1199
|
-
def Filters(self):
|
1200
|
-
"""Filters source queue name of dead letter queue. Currently, only filtering by `SourceQueueName` is supported
|
1201
|
-
:rtype: list of Filter
|
1202
|
-
"""
|
1203
|
-
return self._Filters
|
1204
|
-
|
1205
|
-
@Filters.setter
|
1206
|
-
def Filters(self, Filters):
|
1207
|
-
self._Filters = Filters
|
1208
|
-
|
1209
|
-
|
1210
|
-
def _deserialize(self, params):
|
1211
|
-
self._DeadLetterQueueName = params.get("DeadLetterQueueName")
|
1212
|
-
self._Limit = params.get("Limit")
|
1213
|
-
self._Offset = params.get("Offset")
|
1214
|
-
if params.get("Filters") is not None:
|
1215
|
-
self._Filters = []
|
1216
|
-
for item in params.get("Filters"):
|
1217
|
-
obj = Filter()
|
1218
|
-
obj._deserialize(item)
|
1219
|
-
self._Filters.append(obj)
|
1220
|
-
memeber_set = set(params.keys())
|
1221
|
-
for name, value in vars(self).items():
|
1222
|
-
property_name = name[1:]
|
1223
|
-
if property_name in memeber_set:
|
1224
|
-
memeber_set.remove(property_name)
|
1225
|
-
if len(memeber_set) > 0:
|
1226
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
class DescribeDeadLetterSourceQueuesResponse(AbstractModel):
|
1231
|
-
"""DescribeDeadLetterSourceQueues response structure.
|
1232
|
-
|
1233
|
-
"""
|
1234
|
-
|
1235
|
-
def __init__(self):
|
1236
|
-
r"""
|
1237
|
-
:param _TotalCount: Number of eligible queues
|
1238
|
-
:type TotalCount: int
|
1239
|
-
:param _QueueSet: Source queues of dead letter queue
|
1240
|
-
:type QueueSet: list of DeadLetterSource
|
1241
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1242
|
-
:type RequestId: str
|
1243
|
-
"""
|
1244
|
-
self._TotalCount = None
|
1245
|
-
self._QueueSet = None
|
1246
|
-
self._RequestId = None
|
1247
|
-
|
1248
|
-
@property
|
1249
|
-
def TotalCount(self):
|
1250
|
-
"""Number of eligible queues
|
1251
|
-
:rtype: int
|
1252
|
-
"""
|
1253
|
-
return self._TotalCount
|
1254
|
-
|
1255
|
-
@TotalCount.setter
|
1256
|
-
def TotalCount(self, TotalCount):
|
1257
|
-
self._TotalCount = TotalCount
|
1258
|
-
|
1259
|
-
@property
|
1260
|
-
def QueueSet(self):
|
1261
|
-
"""Source queues of dead letter queue
|
1262
|
-
:rtype: list of DeadLetterSource
|
1263
|
-
"""
|
1264
|
-
return self._QueueSet
|
1265
|
-
|
1266
|
-
@QueueSet.setter
|
1267
|
-
def QueueSet(self, QueueSet):
|
1268
|
-
self._QueueSet = QueueSet
|
1269
|
-
|
1270
|
-
@property
|
1271
|
-
def RequestId(self):
|
1272
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1273
|
-
:rtype: str
|
1274
|
-
"""
|
1275
|
-
return self._RequestId
|
1276
|
-
|
1277
|
-
@RequestId.setter
|
1278
|
-
def RequestId(self, RequestId):
|
1279
|
-
self._RequestId = RequestId
|
1280
|
-
|
1281
|
-
|
1282
|
-
def _deserialize(self, params):
|
1283
|
-
self._TotalCount = params.get("TotalCount")
|
1284
|
-
if params.get("QueueSet") is not None:
|
1285
|
-
self._QueueSet = []
|
1286
|
-
for item in params.get("QueueSet"):
|
1287
|
-
obj = DeadLetterSource()
|
1288
|
-
obj._deserialize(item)
|
1289
|
-
self._QueueSet.append(obj)
|
1290
|
-
self._RequestId = params.get("RequestId")
|
1291
|
-
|
1292
|
-
|
1293
|
-
class DescribeQueueDetailRequest(AbstractModel):
|
1294
|
-
"""DescribeQueueDetail request structure.
|
1295
|
-
|
1296
|
-
"""
|
1297
|
-
|
1298
|
-
def __init__(self):
|
1299
|
-
r"""
|
1300
|
-
:param _Offset: Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
|
1301
|
-
:type Offset: int
|
1302
|
-
:param _Limit: Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1303
|
-
:type Limit: int
|
1304
|
-
:param _Filters: Filter parameter. Currently, filtering by `QueueName` is supported, and only one keyword is allowed
|
1305
|
-
:type Filters: list of Filter
|
1306
|
-
:param _TagKey: Tag search
|
1307
|
-
:type TagKey: str
|
1308
|
-
:param _QueueName: Exact match by `QueueName`
|
1309
|
-
:type QueueName: str
|
1310
|
-
"""
|
1311
|
-
self._Offset = None
|
1312
|
-
self._Limit = None
|
1313
|
-
self._Filters = None
|
1314
|
-
self._TagKey = None
|
1315
|
-
self._QueueName = None
|
1316
|
-
|
1317
|
-
@property
|
1318
|
-
def Offset(self):
|
1319
|
-
"""Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
|
1320
|
-
:rtype: int
|
1321
|
-
"""
|
1322
|
-
return self._Offset
|
1323
|
-
|
1324
|
-
@Offset.setter
|
1325
|
-
def Offset(self, Offset):
|
1326
|
-
self._Offset = Offset
|
1327
|
-
|
1328
|
-
@property
|
1329
|
-
def Limit(self):
|
1330
|
-
"""Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1331
|
-
:rtype: int
|
1332
|
-
"""
|
1333
|
-
return self._Limit
|
1334
|
-
|
1335
|
-
@Limit.setter
|
1336
|
-
def Limit(self, Limit):
|
1337
|
-
self._Limit = Limit
|
1338
|
-
|
1339
|
-
@property
|
1340
|
-
def Filters(self):
|
1341
|
-
"""Filter parameter. Currently, filtering by `QueueName` is supported, and only one keyword is allowed
|
1342
|
-
:rtype: list of Filter
|
1343
|
-
"""
|
1344
|
-
return self._Filters
|
1345
|
-
|
1346
|
-
@Filters.setter
|
1347
|
-
def Filters(self, Filters):
|
1348
|
-
self._Filters = Filters
|
1349
|
-
|
1350
|
-
@property
|
1351
|
-
def TagKey(self):
|
1352
|
-
"""Tag search
|
1353
|
-
:rtype: str
|
1354
|
-
"""
|
1355
|
-
return self._TagKey
|
1356
|
-
|
1357
|
-
@TagKey.setter
|
1358
|
-
def TagKey(self, TagKey):
|
1359
|
-
self._TagKey = TagKey
|
1360
|
-
|
1361
|
-
@property
|
1362
|
-
def QueueName(self):
|
1363
|
-
"""Exact match by `QueueName`
|
1364
|
-
:rtype: str
|
1365
|
-
"""
|
1366
|
-
return self._QueueName
|
1367
|
-
|
1368
|
-
@QueueName.setter
|
1369
|
-
def QueueName(self, QueueName):
|
1370
|
-
self._QueueName = QueueName
|
1371
|
-
|
1372
|
-
|
1373
|
-
def _deserialize(self, params):
|
1374
|
-
self._Offset = params.get("Offset")
|
1375
|
-
self._Limit = params.get("Limit")
|
1376
|
-
if params.get("Filters") is not None:
|
1377
|
-
self._Filters = []
|
1378
|
-
for item in params.get("Filters"):
|
1379
|
-
obj = Filter()
|
1380
|
-
obj._deserialize(item)
|
1381
|
-
self._Filters.append(obj)
|
1382
|
-
self._TagKey = params.get("TagKey")
|
1383
|
-
self._QueueName = params.get("QueueName")
|
1384
|
-
memeber_set = set(params.keys())
|
1385
|
-
for name, value in vars(self).items():
|
1386
|
-
property_name = name[1:]
|
1387
|
-
if property_name in memeber_set:
|
1388
|
-
memeber_set.remove(property_name)
|
1389
|
-
if len(memeber_set) > 0:
|
1390
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
class DescribeQueueDetailResponse(AbstractModel):
|
1395
|
-
"""DescribeQueueDetail response structure.
|
1396
|
-
|
1397
|
-
"""
|
1398
|
-
|
1399
|
-
def __init__(self):
|
1400
|
-
r"""
|
1401
|
-
:param _TotalCount: Total number of queues
|
1402
|
-
:type TotalCount: int
|
1403
|
-
:param _QueueSet: Queue list
|
1404
|
-
:type QueueSet: list of QueueSet
|
1405
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1406
|
-
:type RequestId: str
|
1407
|
-
"""
|
1408
|
-
self._TotalCount = None
|
1409
|
-
self._QueueSet = None
|
1410
|
-
self._RequestId = None
|
1411
|
-
|
1412
|
-
@property
|
1413
|
-
def TotalCount(self):
|
1414
|
-
"""Total number of queues
|
1415
|
-
:rtype: int
|
1416
|
-
"""
|
1417
|
-
return self._TotalCount
|
1418
|
-
|
1419
|
-
@TotalCount.setter
|
1420
|
-
def TotalCount(self, TotalCount):
|
1421
|
-
self._TotalCount = TotalCount
|
1422
|
-
|
1423
|
-
@property
|
1424
|
-
def QueueSet(self):
|
1425
|
-
"""Queue list
|
1426
|
-
:rtype: list of QueueSet
|
1427
|
-
"""
|
1428
|
-
return self._QueueSet
|
1429
|
-
|
1430
|
-
@QueueSet.setter
|
1431
|
-
def QueueSet(self, QueueSet):
|
1432
|
-
self._QueueSet = QueueSet
|
1433
|
-
|
1434
|
-
@property
|
1435
|
-
def RequestId(self):
|
1436
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1437
|
-
:rtype: str
|
1438
|
-
"""
|
1439
|
-
return self._RequestId
|
1440
|
-
|
1441
|
-
@RequestId.setter
|
1442
|
-
def RequestId(self, RequestId):
|
1443
|
-
self._RequestId = RequestId
|
1444
|
-
|
1445
|
-
|
1446
|
-
def _deserialize(self, params):
|
1447
|
-
self._TotalCount = params.get("TotalCount")
|
1448
|
-
if params.get("QueueSet") is not None:
|
1449
|
-
self._QueueSet = []
|
1450
|
-
for item in params.get("QueueSet"):
|
1451
|
-
obj = QueueSet()
|
1452
|
-
obj._deserialize(item)
|
1453
|
-
self._QueueSet.append(obj)
|
1454
|
-
self._RequestId = params.get("RequestId")
|
1455
|
-
|
1456
|
-
|
1457
|
-
class DescribeSubscriptionDetailRequest(AbstractModel):
|
1458
|
-
"""DescribeSubscriptionDetail request structure.
|
1459
|
-
|
1460
|
-
"""
|
1461
|
-
|
1462
|
-
def __init__(self):
|
1463
|
-
r"""
|
1464
|
-
:param _TopicName: Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1465
|
-
:type TopicName: str
|
1466
|
-
:param _Offset: Starting position of topic list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
|
1467
|
-
:type Offset: int
|
1468
|
-
:param _Limit: Number of topics to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1469
|
-
:type Limit: int
|
1470
|
-
:param _Filters: Filter parameter. Currently, only filtering by `SubscriptionName` is supported, and only one keyword is allowed.
|
1471
|
-
:type Filters: list of Filter
|
1472
|
-
"""
|
1473
|
-
self._TopicName = None
|
1474
|
-
self._Offset = None
|
1475
|
-
self._Limit = None
|
1476
|
-
self._Filters = None
|
1477
|
-
|
1478
|
-
@property
|
1479
|
-
def TopicName(self):
|
1480
|
-
"""Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1481
|
-
:rtype: str
|
1482
|
-
"""
|
1483
|
-
return self._TopicName
|
1484
|
-
|
1485
|
-
@TopicName.setter
|
1486
|
-
def TopicName(self, TopicName):
|
1487
|
-
self._TopicName = TopicName
|
1488
|
-
|
1489
|
-
@property
|
1490
|
-
def Offset(self):
|
1491
|
-
"""Starting position of topic list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
|
1492
|
-
:rtype: int
|
1493
|
-
"""
|
1494
|
-
return self._Offset
|
1495
|
-
|
1496
|
-
@Offset.setter
|
1497
|
-
def Offset(self, Offset):
|
1498
|
-
self._Offset = Offset
|
1499
|
-
|
1500
|
-
@property
|
1501
|
-
def Limit(self):
|
1502
|
-
"""Number of topics to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1503
|
-
:rtype: int
|
1504
|
-
"""
|
1505
|
-
return self._Limit
|
1506
|
-
|
1507
|
-
@Limit.setter
|
1508
|
-
def Limit(self, Limit):
|
1509
|
-
self._Limit = Limit
|
1510
|
-
|
1511
|
-
@property
|
1512
|
-
def Filters(self):
|
1513
|
-
"""Filter parameter. Currently, only filtering by `SubscriptionName` is supported, and only one keyword is allowed.
|
1514
|
-
:rtype: list of Filter
|
1515
|
-
"""
|
1516
|
-
return self._Filters
|
1517
|
-
|
1518
|
-
@Filters.setter
|
1519
|
-
def Filters(self, Filters):
|
1520
|
-
self._Filters = Filters
|
1521
|
-
|
1522
|
-
|
1523
|
-
def _deserialize(self, params):
|
1524
|
-
self._TopicName = params.get("TopicName")
|
1525
|
-
self._Offset = params.get("Offset")
|
1526
|
-
self._Limit = params.get("Limit")
|
1527
|
-
if params.get("Filters") is not None:
|
1528
|
-
self._Filters = []
|
1529
|
-
for item in params.get("Filters"):
|
1530
|
-
obj = Filter()
|
1531
|
-
obj._deserialize(item)
|
1532
|
-
self._Filters.append(obj)
|
1533
|
-
memeber_set = set(params.keys())
|
1534
|
-
for name, value in vars(self).items():
|
1535
|
-
property_name = name[1:]
|
1536
|
-
if property_name in memeber_set:
|
1537
|
-
memeber_set.remove(property_name)
|
1538
|
-
if len(memeber_set) > 0:
|
1539
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
class DescribeSubscriptionDetailResponse(AbstractModel):
|
1544
|
-
"""DescribeSubscriptionDetail response structure.
|
1545
|
-
|
1546
|
-
"""
|
1547
|
-
|
1548
|
-
def __init__(self):
|
1549
|
-
r"""
|
1550
|
-
:param _TotalCount: Total number
|
1551
|
-
:type TotalCount: int
|
1552
|
-
:param _SubscriptionSet: Subscription attribute set
|
1553
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
1554
|
-
:type SubscriptionSet: list of Subscription
|
1555
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1556
|
-
:type RequestId: str
|
1557
|
-
"""
|
1558
|
-
self._TotalCount = None
|
1559
|
-
self._SubscriptionSet = None
|
1560
|
-
self._RequestId = None
|
1561
|
-
|
1562
|
-
@property
|
1563
|
-
def TotalCount(self):
|
1564
|
-
"""Total number
|
1565
|
-
:rtype: int
|
1566
|
-
"""
|
1567
|
-
return self._TotalCount
|
1568
|
-
|
1569
|
-
@TotalCount.setter
|
1570
|
-
def TotalCount(self, TotalCount):
|
1571
|
-
self._TotalCount = TotalCount
|
1572
|
-
|
1573
|
-
@property
|
1574
|
-
def SubscriptionSet(self):
|
1575
|
-
"""Subscription attribute set
|
1576
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
1577
|
-
:rtype: list of Subscription
|
1578
|
-
"""
|
1579
|
-
return self._SubscriptionSet
|
1580
|
-
|
1581
|
-
@SubscriptionSet.setter
|
1582
|
-
def SubscriptionSet(self, SubscriptionSet):
|
1583
|
-
self._SubscriptionSet = SubscriptionSet
|
1584
|
-
|
1585
|
-
@property
|
1586
|
-
def RequestId(self):
|
1587
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1588
|
-
:rtype: str
|
1589
|
-
"""
|
1590
|
-
return self._RequestId
|
1591
|
-
|
1592
|
-
@RequestId.setter
|
1593
|
-
def RequestId(self, RequestId):
|
1594
|
-
self._RequestId = RequestId
|
1595
|
-
|
1596
|
-
|
1597
|
-
def _deserialize(self, params):
|
1598
|
-
self._TotalCount = params.get("TotalCount")
|
1599
|
-
if params.get("SubscriptionSet") is not None:
|
1600
|
-
self._SubscriptionSet = []
|
1601
|
-
for item in params.get("SubscriptionSet"):
|
1602
|
-
obj = Subscription()
|
1603
|
-
obj._deserialize(item)
|
1604
|
-
self._SubscriptionSet.append(obj)
|
1605
|
-
self._RequestId = params.get("RequestId")
|
1606
|
-
|
1607
|
-
|
1608
|
-
class DescribeTopicDetailRequest(AbstractModel):
|
1609
|
-
"""DescribeTopicDetail request structure.
|
1610
|
-
|
1611
|
-
"""
|
1612
|
-
|
1613
|
-
def __init__(self):
|
1614
|
-
r"""
|
1615
|
-
:param _Offset: Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default.
|
1616
|
-
:type Offset: int
|
1617
|
-
:param _Limit: Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1618
|
-
:type Limit: int
|
1619
|
-
:param _Filters: Currently, only filtering by `TopicName` is supported, and only one filter value can be entered
|
1620
|
-
:type Filters: list of Filter
|
1621
|
-
:param _TagKey: Tag match
|
1622
|
-
:type TagKey: str
|
1623
|
-
:param _TopicName: Exact match by `TopicName`
|
1624
|
-
:type TopicName: str
|
1625
|
-
"""
|
1626
|
-
self._Offset = None
|
1627
|
-
self._Limit = None
|
1628
|
-
self._Filters = None
|
1629
|
-
self._TagKey = None
|
1630
|
-
self._TopicName = None
|
1631
|
-
|
1632
|
-
@property
|
1633
|
-
def Offset(self):
|
1634
|
-
"""Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default.
|
1635
|
-
:rtype: int
|
1636
|
-
"""
|
1637
|
-
return self._Offset
|
1638
|
-
|
1639
|
-
@Offset.setter
|
1640
|
-
def Offset(self, Offset):
|
1641
|
-
self._Offset = Offset
|
1642
|
-
|
1643
|
-
@property
|
1644
|
-
def Limit(self):
|
1645
|
-
"""Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
1646
|
-
:rtype: int
|
1647
|
-
"""
|
1648
|
-
return self._Limit
|
1649
|
-
|
1650
|
-
@Limit.setter
|
1651
|
-
def Limit(self, Limit):
|
1652
|
-
self._Limit = Limit
|
1653
|
-
|
1654
|
-
@property
|
1655
|
-
def Filters(self):
|
1656
|
-
"""Currently, only filtering by `TopicName` is supported, and only one filter value can be entered
|
1657
|
-
:rtype: list of Filter
|
1658
|
-
"""
|
1659
|
-
return self._Filters
|
1660
|
-
|
1661
|
-
@Filters.setter
|
1662
|
-
def Filters(self, Filters):
|
1663
|
-
self._Filters = Filters
|
1664
|
-
|
1665
|
-
@property
|
1666
|
-
def TagKey(self):
|
1667
|
-
"""Tag match
|
1668
|
-
:rtype: str
|
1669
|
-
"""
|
1670
|
-
return self._TagKey
|
1671
|
-
|
1672
|
-
@TagKey.setter
|
1673
|
-
def TagKey(self, TagKey):
|
1674
|
-
self._TagKey = TagKey
|
1675
|
-
|
1676
|
-
@property
|
1677
|
-
def TopicName(self):
|
1678
|
-
"""Exact match by `TopicName`
|
1679
|
-
:rtype: str
|
1680
|
-
"""
|
1681
|
-
return self._TopicName
|
1682
|
-
|
1683
|
-
@TopicName.setter
|
1684
|
-
def TopicName(self, TopicName):
|
1685
|
-
self._TopicName = TopicName
|
1686
|
-
|
1687
|
-
|
1688
|
-
def _deserialize(self, params):
|
1689
|
-
self._Offset = params.get("Offset")
|
1690
|
-
self._Limit = params.get("Limit")
|
1691
|
-
if params.get("Filters") is not None:
|
1692
|
-
self._Filters = []
|
1693
|
-
for item in params.get("Filters"):
|
1694
|
-
obj = Filter()
|
1695
|
-
obj._deserialize(item)
|
1696
|
-
self._Filters.append(obj)
|
1697
|
-
self._TagKey = params.get("TagKey")
|
1698
|
-
self._TopicName = params.get("TopicName")
|
1699
|
-
memeber_set = set(params.keys())
|
1700
|
-
for name, value in vars(self).items():
|
1701
|
-
property_name = name[1:]
|
1702
|
-
if property_name in memeber_set:
|
1703
|
-
memeber_set.remove(property_name)
|
1704
|
-
if len(memeber_set) > 0:
|
1705
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
class DescribeTopicDetailResponse(AbstractModel):
|
1710
|
-
"""DescribeTopicDetail response structure.
|
1711
|
-
|
1712
|
-
"""
|
1713
|
-
|
1714
|
-
def __init__(self):
|
1715
|
-
r"""
|
1716
|
-
:param _TotalCount: TotalCount
|
1717
|
-
:type TotalCount: int
|
1718
|
-
:param _TopicSet: TopicSet
|
1719
|
-
:type TopicSet: list of TopicSet
|
1720
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1721
|
-
:type RequestId: str
|
1722
|
-
"""
|
1723
|
-
self._TotalCount = None
|
1724
|
-
self._TopicSet = None
|
1725
|
-
self._RequestId = None
|
1726
|
-
|
1727
|
-
@property
|
1728
|
-
def TotalCount(self):
|
1729
|
-
"""TotalCount
|
1730
|
-
:rtype: int
|
1731
|
-
"""
|
1732
|
-
return self._TotalCount
|
1733
|
-
|
1734
|
-
@TotalCount.setter
|
1735
|
-
def TotalCount(self, TotalCount):
|
1736
|
-
self._TotalCount = TotalCount
|
1737
|
-
|
1738
|
-
@property
|
1739
|
-
def TopicSet(self):
|
1740
|
-
"""TopicSet
|
1741
|
-
:rtype: list of TopicSet
|
1742
|
-
"""
|
1743
|
-
return self._TopicSet
|
1744
|
-
|
1745
|
-
@TopicSet.setter
|
1746
|
-
def TopicSet(self, TopicSet):
|
1747
|
-
self._TopicSet = TopicSet
|
1748
|
-
|
1749
|
-
@property
|
1750
|
-
def RequestId(self):
|
1751
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
1752
|
-
:rtype: str
|
1753
|
-
"""
|
1754
|
-
return self._RequestId
|
1755
|
-
|
1756
|
-
@RequestId.setter
|
1757
|
-
def RequestId(self, RequestId):
|
1758
|
-
self._RequestId = RequestId
|
1759
|
-
|
1760
|
-
|
1761
|
-
def _deserialize(self, params):
|
1762
|
-
self._TotalCount = params.get("TotalCount")
|
1763
|
-
if params.get("TopicSet") is not None:
|
1764
|
-
self._TopicSet = []
|
1765
|
-
for item in params.get("TopicSet"):
|
1766
|
-
obj = TopicSet()
|
1767
|
-
obj._deserialize(item)
|
1768
|
-
self._TopicSet.append(obj)
|
1769
|
-
self._RequestId = params.get("RequestId")
|
1770
|
-
|
1771
|
-
|
1772
|
-
class Filter(AbstractModel):
|
1773
|
-
"""Filter parameter
|
1774
|
-
|
1775
|
-
"""
|
1776
|
-
|
1777
|
-
def __init__(self):
|
1778
|
-
r"""
|
1779
|
-
:param _Name: Filter parameter name
|
1780
|
-
:type Name: str
|
1781
|
-
:param _Values: Value
|
1782
|
-
:type Values: list of str
|
1783
|
-
"""
|
1784
|
-
self._Name = None
|
1785
|
-
self._Values = None
|
1786
|
-
|
1787
|
-
@property
|
1788
|
-
def Name(self):
|
1789
|
-
"""Filter parameter name
|
1790
|
-
:rtype: str
|
1791
|
-
"""
|
1792
|
-
return self._Name
|
1793
|
-
|
1794
|
-
@Name.setter
|
1795
|
-
def Name(self, Name):
|
1796
|
-
self._Name = Name
|
1797
|
-
|
1798
|
-
@property
|
1799
|
-
def Values(self):
|
1800
|
-
"""Value
|
1801
|
-
:rtype: list of str
|
1802
|
-
"""
|
1803
|
-
return self._Values
|
1804
|
-
|
1805
|
-
@Values.setter
|
1806
|
-
def Values(self, Values):
|
1807
|
-
self._Values = Values
|
1808
|
-
|
1809
|
-
|
1810
|
-
def _deserialize(self, params):
|
1811
|
-
self._Name = params.get("Name")
|
1812
|
-
self._Values = params.get("Values")
|
1813
|
-
memeber_set = set(params.keys())
|
1814
|
-
for name, value in vars(self).items():
|
1815
|
-
property_name = name[1:]
|
1816
|
-
if property_name in memeber_set:
|
1817
|
-
memeber_set.remove(property_name)
|
1818
|
-
if len(memeber_set) > 0:
|
1819
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
class ModifyQueueAttributeRequest(AbstractModel):
|
1824
|
-
"""ModifyQueueAttribute request structure.
|
1825
|
-
|
1826
|
-
"""
|
1827
|
-
|
1828
|
-
def __init__(self):
|
1829
|
-
r"""
|
1830
|
-
:param _QueueName: Queue name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1831
|
-
:type QueueName: str
|
1832
|
-
:param _MaxMsgHeapNum: Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
|
1833
|
-
:type MaxMsgHeapNum: int
|
1834
|
-
:param _PollingWaitSeconds: Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
|
1835
|
-
:type PollingWaitSeconds: int
|
1836
|
-
:param _VisibilityTimeout: Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
|
1837
|
-
:type VisibilityTimeout: int
|
1838
|
-
:param _MaxMsgSize: Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
|
1839
|
-
:type MaxMsgSize: int
|
1840
|
-
:param _MsgRetentionSeconds: Message retention period. Value range: 60-1296000 seconds (i.e., 1 minute-15 days). Default value: 345600 (i.e., 4 days).
|
1841
|
-
:type MsgRetentionSeconds: int
|
1842
|
-
:param _RewindSeconds: Maximum message rewindable period. Value range: 0-msgRetentionSeconds (maximum message retention period of a queue). 0 means not to enable message rewinding.
|
1843
|
-
:type RewindSeconds: int
|
1844
|
-
:param _FirstQueryInterval: First query time
|
1845
|
-
:type FirstQueryInterval: int
|
1846
|
-
:param _MaxQueryCount: Maximum number of queries
|
1847
|
-
:type MaxQueryCount: int
|
1848
|
-
:param _DeadLetterQueueName: Dead letter queue name
|
1849
|
-
:type DeadLetterQueueName: str
|
1850
|
-
:param _MaxTimeToLive: Maximum period in seconds before an unconsumed message expires, which is required if `MaxTimeToLivepolicy` is 1. Value range: 300-43200. This value should be smaller than `MsgRetentionSeconds` (maximum message retention period)
|
1851
|
-
:type MaxTimeToLive: int
|
1852
|
-
:param _MaxReceiveCount: Maximum number of receipts
|
1853
|
-
:type MaxReceiveCount: int
|
1854
|
-
:param _Policy: Dead letter queue policy
|
1855
|
-
:type Policy: int
|
1856
|
-
:param _Trace: Whether to enable message trace. true: yes, false: no. If this field is left empty, the feature will not be enabled.
|
1857
|
-
:type Trace: bool
|
1858
|
-
"""
|
1859
|
-
self._QueueName = None
|
1860
|
-
self._MaxMsgHeapNum = None
|
1861
|
-
self._PollingWaitSeconds = None
|
1862
|
-
self._VisibilityTimeout = None
|
1863
|
-
self._MaxMsgSize = None
|
1864
|
-
self._MsgRetentionSeconds = None
|
1865
|
-
self._RewindSeconds = None
|
1866
|
-
self._FirstQueryInterval = None
|
1867
|
-
self._MaxQueryCount = None
|
1868
|
-
self._DeadLetterQueueName = None
|
1869
|
-
self._MaxTimeToLive = None
|
1870
|
-
self._MaxReceiveCount = None
|
1871
|
-
self._Policy = None
|
1872
|
-
self._Trace = None
|
1873
|
-
|
1874
|
-
@property
|
1875
|
-
def QueueName(self):
|
1876
|
-
"""Queue name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
1877
|
-
:rtype: str
|
1878
|
-
"""
|
1879
|
-
return self._QueueName
|
1880
|
-
|
1881
|
-
@QueueName.setter
|
1882
|
-
def QueueName(self, QueueName):
|
1883
|
-
self._QueueName = QueueName
|
1884
|
-
|
1885
|
-
@property
|
1886
|
-
def MaxMsgHeapNum(self):
|
1887
|
-
"""Maximum number of heaped messages. The value range is 1,000,000-10,000,000 during the beta test and can be 1,000,000-1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
|
1888
|
-
:rtype: int
|
1889
|
-
"""
|
1890
|
-
return self._MaxMsgHeapNum
|
1891
|
-
|
1892
|
-
@MaxMsgHeapNum.setter
|
1893
|
-
def MaxMsgHeapNum(self, MaxMsgHeapNum):
|
1894
|
-
self._MaxMsgHeapNum = MaxMsgHeapNum
|
1895
|
-
|
1896
|
-
@property
|
1897
|
-
def PollingWaitSeconds(self):
|
1898
|
-
"""Long polling wait time for message reception. Value range: 0-30 seconds. Default value: 0.
|
1899
|
-
:rtype: int
|
1900
|
-
"""
|
1901
|
-
return self._PollingWaitSeconds
|
1902
|
-
|
1903
|
-
@PollingWaitSeconds.setter
|
1904
|
-
def PollingWaitSeconds(self, PollingWaitSeconds):
|
1905
|
-
self._PollingWaitSeconds = PollingWaitSeconds
|
1906
|
-
|
1907
|
-
@property
|
1908
|
-
def VisibilityTimeout(self):
|
1909
|
-
"""Message visibility timeout period. Value range: 1-43200 seconds (i.e., 12 hours). Default value: 30.
|
1910
|
-
:rtype: int
|
1911
|
-
"""
|
1912
|
-
return self._VisibilityTimeout
|
1913
|
-
|
1914
|
-
@VisibilityTimeout.setter
|
1915
|
-
def VisibilityTimeout(self, VisibilityTimeout):
|
1916
|
-
self._VisibilityTimeout = VisibilityTimeout
|
1917
|
-
|
1918
|
-
@property
|
1919
|
-
def MaxMsgSize(self):
|
1920
|
-
"""Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
|
1921
|
-
:rtype: int
|
1922
|
-
"""
|
1923
|
-
return self._MaxMsgSize
|
1924
|
-
|
1925
|
-
@MaxMsgSize.setter
|
1926
|
-
def MaxMsgSize(self, MaxMsgSize):
|
1927
|
-
self._MaxMsgSize = MaxMsgSize
|
1928
|
-
|
1929
|
-
@property
|
1930
|
-
def MsgRetentionSeconds(self):
|
1931
|
-
"""Message retention period. Value range: 60-1296000 seconds (i.e., 1 minute-15 days). Default value: 345600 (i.e., 4 days).
|
1932
|
-
:rtype: int
|
1933
|
-
"""
|
1934
|
-
return self._MsgRetentionSeconds
|
1935
|
-
|
1936
|
-
@MsgRetentionSeconds.setter
|
1937
|
-
def MsgRetentionSeconds(self, MsgRetentionSeconds):
|
1938
|
-
self._MsgRetentionSeconds = MsgRetentionSeconds
|
1939
|
-
|
1940
|
-
@property
|
1941
|
-
def RewindSeconds(self):
|
1942
|
-
"""Maximum message rewindable period. Value range: 0-msgRetentionSeconds (maximum message retention period of a queue). 0 means not to enable message rewinding.
|
1943
|
-
:rtype: int
|
1944
|
-
"""
|
1945
|
-
return self._RewindSeconds
|
1946
|
-
|
1947
|
-
@RewindSeconds.setter
|
1948
|
-
def RewindSeconds(self, RewindSeconds):
|
1949
|
-
self._RewindSeconds = RewindSeconds
|
1950
|
-
|
1951
|
-
@property
|
1952
|
-
def FirstQueryInterval(self):
|
1953
|
-
"""First query time
|
1954
|
-
:rtype: int
|
1955
|
-
"""
|
1956
|
-
return self._FirstQueryInterval
|
1957
|
-
|
1958
|
-
@FirstQueryInterval.setter
|
1959
|
-
def FirstQueryInterval(self, FirstQueryInterval):
|
1960
|
-
self._FirstQueryInterval = FirstQueryInterval
|
1961
|
-
|
1962
|
-
@property
|
1963
|
-
def MaxQueryCount(self):
|
1964
|
-
"""Maximum number of queries
|
1965
|
-
:rtype: int
|
1966
|
-
"""
|
1967
|
-
return self._MaxQueryCount
|
1968
|
-
|
1969
|
-
@MaxQueryCount.setter
|
1970
|
-
def MaxQueryCount(self, MaxQueryCount):
|
1971
|
-
self._MaxQueryCount = MaxQueryCount
|
1972
|
-
|
1973
|
-
@property
|
1974
|
-
def DeadLetterQueueName(self):
|
1975
|
-
"""Dead letter queue name
|
1976
|
-
:rtype: str
|
1977
|
-
"""
|
1978
|
-
return self._DeadLetterQueueName
|
1979
|
-
|
1980
|
-
@DeadLetterQueueName.setter
|
1981
|
-
def DeadLetterQueueName(self, DeadLetterQueueName):
|
1982
|
-
self._DeadLetterQueueName = DeadLetterQueueName
|
1983
|
-
|
1984
|
-
@property
|
1985
|
-
def MaxTimeToLive(self):
|
1986
|
-
"""Maximum period in seconds before an unconsumed message expires, which is required if `MaxTimeToLivepolicy` is 1. Value range: 300-43200. This value should be smaller than `MsgRetentionSeconds` (maximum message retention period)
|
1987
|
-
:rtype: int
|
1988
|
-
"""
|
1989
|
-
return self._MaxTimeToLive
|
1990
|
-
|
1991
|
-
@MaxTimeToLive.setter
|
1992
|
-
def MaxTimeToLive(self, MaxTimeToLive):
|
1993
|
-
self._MaxTimeToLive = MaxTimeToLive
|
1994
|
-
|
1995
|
-
@property
|
1996
|
-
def MaxReceiveCount(self):
|
1997
|
-
"""Maximum number of receipts
|
1998
|
-
:rtype: int
|
1999
|
-
"""
|
2000
|
-
return self._MaxReceiveCount
|
2001
|
-
|
2002
|
-
@MaxReceiveCount.setter
|
2003
|
-
def MaxReceiveCount(self, MaxReceiveCount):
|
2004
|
-
self._MaxReceiveCount = MaxReceiveCount
|
2005
|
-
|
2006
|
-
@property
|
2007
|
-
def Policy(self):
|
2008
|
-
"""Dead letter queue policy
|
2009
|
-
:rtype: int
|
2010
|
-
"""
|
2011
|
-
return self._Policy
|
2012
|
-
|
2013
|
-
@Policy.setter
|
2014
|
-
def Policy(self, Policy):
|
2015
|
-
self._Policy = Policy
|
2016
|
-
|
2017
|
-
@property
|
2018
|
-
def Trace(self):
|
2019
|
-
"""Whether to enable message trace. true: yes, false: no. If this field is left empty, the feature will not be enabled.
|
2020
|
-
:rtype: bool
|
2021
|
-
"""
|
2022
|
-
return self._Trace
|
2023
|
-
|
2024
|
-
@Trace.setter
|
2025
|
-
def Trace(self, Trace):
|
2026
|
-
self._Trace = Trace
|
2027
|
-
|
2028
261
|
|
2029
262
|
def _deserialize(self, params):
|
263
|
+
self._Offset = params.get("Offset")
|
264
|
+
self._Limit = params.get("Limit")
|
265
|
+
if params.get("Filters") is not None:
|
266
|
+
self._Filters = []
|
267
|
+
for item in params.get("Filters"):
|
268
|
+
obj = Filter()
|
269
|
+
obj._deserialize(item)
|
270
|
+
self._Filters.append(obj)
|
271
|
+
self._TagKey = params.get("TagKey")
|
2030
272
|
self._QueueName = params.get("QueueName")
|
2031
|
-
self._MaxMsgHeapNum = params.get("MaxMsgHeapNum")
|
2032
|
-
self._PollingWaitSeconds = params.get("PollingWaitSeconds")
|
2033
|
-
self._VisibilityTimeout = params.get("VisibilityTimeout")
|
2034
|
-
self._MaxMsgSize = params.get("MaxMsgSize")
|
2035
|
-
self._MsgRetentionSeconds = params.get("MsgRetentionSeconds")
|
2036
|
-
self._RewindSeconds = params.get("RewindSeconds")
|
2037
|
-
self._FirstQueryInterval = params.get("FirstQueryInterval")
|
2038
|
-
self._MaxQueryCount = params.get("MaxQueryCount")
|
2039
|
-
self._DeadLetterQueueName = params.get("DeadLetterQueueName")
|
2040
|
-
self._MaxTimeToLive = params.get("MaxTimeToLive")
|
2041
|
-
self._MaxReceiveCount = params.get("MaxReceiveCount")
|
2042
|
-
self._Policy = params.get("Policy")
|
2043
|
-
self._Trace = params.get("Trace")
|
2044
273
|
memeber_set = set(params.keys())
|
2045
274
|
for name, value in vars(self).items():
|
2046
275
|
property_name = name[1:]
|
@@ -2051,18 +280,46 @@ class ModifyQueueAttributeRequest(AbstractModel):
|
|
2051
280
|
|
2052
281
|
|
2053
282
|
|
2054
|
-
class
|
2055
|
-
"""
|
283
|
+
class DescribeQueueDetailResponse(AbstractModel):
|
284
|
+
"""DescribeQueueDetail response structure.
|
2056
285
|
|
2057
286
|
"""
|
2058
287
|
|
2059
288
|
def __init__(self):
|
2060
289
|
r"""
|
290
|
+
:param _TotalCount: Total number of queues
|
291
|
+
:type TotalCount: int
|
292
|
+
:param _QueueSet: Queue list
|
293
|
+
:type QueueSet: list of QueueSet
|
2061
294
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
2062
295
|
:type RequestId: str
|
2063
296
|
"""
|
297
|
+
self._TotalCount = None
|
298
|
+
self._QueueSet = None
|
2064
299
|
self._RequestId = None
|
2065
300
|
|
301
|
+
@property
|
302
|
+
def TotalCount(self):
|
303
|
+
"""Total number of queues
|
304
|
+
:rtype: int
|
305
|
+
"""
|
306
|
+
return self._TotalCount
|
307
|
+
|
308
|
+
@TotalCount.setter
|
309
|
+
def TotalCount(self, TotalCount):
|
310
|
+
self._TotalCount = TotalCount
|
311
|
+
|
312
|
+
@property
|
313
|
+
def QueueSet(self):
|
314
|
+
"""Queue list
|
315
|
+
:rtype: list of QueueSet
|
316
|
+
"""
|
317
|
+
return self._QueueSet
|
318
|
+
|
319
|
+
@QueueSet.setter
|
320
|
+
def QueueSet(self, QueueSet):
|
321
|
+
self._QueueSet = QueueSet
|
322
|
+
|
2066
323
|
@property
|
2067
324
|
def RequestId(self):
|
2068
325
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
@@ -2076,114 +333,107 @@ class ModifyQueueAttributeResponse(AbstractModel):
|
|
2076
333
|
|
2077
334
|
|
2078
335
|
def _deserialize(self, params):
|
336
|
+
self._TotalCount = params.get("TotalCount")
|
337
|
+
if params.get("QueueSet") is not None:
|
338
|
+
self._QueueSet = []
|
339
|
+
for item in params.get("QueueSet"):
|
340
|
+
obj = QueueSet()
|
341
|
+
obj._deserialize(item)
|
342
|
+
self._QueueSet.append(obj)
|
2079
343
|
self._RequestId = params.get("RequestId")
|
2080
344
|
|
2081
345
|
|
2082
|
-
class
|
2083
|
-
"""
|
346
|
+
class DescribeTopicDetailRequest(AbstractModel):
|
347
|
+
"""DescribeTopicDetail request structure.
|
2084
348
|
|
2085
349
|
"""
|
2086
350
|
|
2087
351
|
def __init__(self):
|
2088
352
|
r"""
|
2089
|
-
:param
|
353
|
+
:param _Offset: Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default.
|
354
|
+
:type Offset: int
|
355
|
+
:param _Limit: Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
356
|
+
:type Limit: int
|
357
|
+
:param _Filters: Currently, only filtering by `TopicName` is supported, and only one filter value can be entered
|
358
|
+
:type Filters: list of Filter
|
359
|
+
:param _TagKey: Tag match
|
360
|
+
:type TagKey: str
|
361
|
+
:param _TopicName: Exact match by `TopicName`
|
2090
362
|
:type TopicName: str
|
2091
|
-
:param _SubscriptionName: Subscription name, which is unique in the same topic under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
2092
|
-
:type SubscriptionName: str
|
2093
|
-
:param _NotifyStrategy: CMQ push server retry policy in case an error occurs while pushing a message to `Endpoint`. Valid values:
|
2094
|
-
1. BACKOFF_RETRY: backoff retry, which is to retry at a fixed interval, discard the message after a certain number of retries, and continue to push the next message.
|
2095
|
-
2. EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
|
2096
|
-
:type NotifyStrategy: str
|
2097
|
-
:param _NotifyContentFormat: Push content format. Valid values: 1. JSON, 2. SIMPLIFIED, i.e., the raw format. If `Protocol` is `queue`, this value must be `SIMPLIFIED`. If `Protocol` is `HTTP`, both options are acceptable, and the default value is `JSON`.
|
2098
|
-
:type NotifyContentFormat: str
|
2099
|
-
:param _FilterTags: Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not set, no matter whether `MsgTag` is set, the subscription will receive all messages published to the topic; 2. If the `FilterTag` array has a value, only when at least one of the values in the array also exists in the `MsgTag` array (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the `FilterTag` array has a value, but `MsgTag` is not set, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
|
2100
|
-
:type FilterTags: list of str
|
2101
|
-
:param _BindingKey: The number of `BindingKey` cannot exceed 5, and the length of each `BindingKey` cannot exceed 64 bytes. This field indicates the filtering policy for subscribing to and receiving messages. Each `BindingKey` can contain up to 15 `.`, i.e., up to 16 phrases.
|
2102
|
-
:type BindingKey: list of str
|
2103
363
|
"""
|
364
|
+
self._Offset = None
|
365
|
+
self._Limit = None
|
366
|
+
self._Filters = None
|
367
|
+
self._TagKey = None
|
2104
368
|
self._TopicName = None
|
2105
|
-
self._SubscriptionName = None
|
2106
|
-
self._NotifyStrategy = None
|
2107
|
-
self._NotifyContentFormat = None
|
2108
|
-
self._FilterTags = None
|
2109
|
-
self._BindingKey = None
|
2110
369
|
|
2111
370
|
@property
|
2112
|
-
def
|
2113
|
-
"""
|
2114
|
-
:rtype:
|
371
|
+
def Offset(self):
|
372
|
+
"""Starting position of queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default.
|
373
|
+
:rtype: int
|
2115
374
|
"""
|
2116
|
-
return self.
|
375
|
+
return self._Offset
|
2117
376
|
|
2118
|
-
@
|
2119
|
-
def
|
2120
|
-
self.
|
377
|
+
@Offset.setter
|
378
|
+
def Offset(self, Offset):
|
379
|
+
self._Offset = Offset
|
2121
380
|
|
2122
381
|
@property
|
2123
|
-
def
|
2124
|
-
"""
|
2125
|
-
:rtype:
|
382
|
+
def Limit(self):
|
383
|
+
"""Number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
|
384
|
+
:rtype: int
|
2126
385
|
"""
|
2127
|
-
return self.
|
386
|
+
return self._Limit
|
2128
387
|
|
2129
|
-
@
|
2130
|
-
def
|
2131
|
-
self.
|
388
|
+
@Limit.setter
|
389
|
+
def Limit(self, Limit):
|
390
|
+
self._Limit = Limit
|
2132
391
|
|
2133
392
|
@property
|
2134
|
-
def
|
2135
|
-
"""
|
2136
|
-
|
2137
|
-
2. EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
|
2138
|
-
:rtype: str
|
393
|
+
def Filters(self):
|
394
|
+
"""Currently, only filtering by `TopicName` is supported, and only one filter value can be entered
|
395
|
+
:rtype: list of Filter
|
2139
396
|
"""
|
2140
|
-
return self.
|
397
|
+
return self._Filters
|
2141
398
|
|
2142
|
-
@
|
2143
|
-
def
|
2144
|
-
self.
|
399
|
+
@Filters.setter
|
400
|
+
def Filters(self, Filters):
|
401
|
+
self._Filters = Filters
|
2145
402
|
|
2146
403
|
@property
|
2147
|
-
def
|
2148
|
-
"""
|
404
|
+
def TagKey(self):
|
405
|
+
"""Tag match
|
2149
406
|
:rtype: str
|
2150
407
|
"""
|
2151
|
-
return self.
|
2152
|
-
|
2153
|
-
@NotifyContentFormat.setter
|
2154
|
-
def NotifyContentFormat(self, NotifyContentFormat):
|
2155
|
-
self._NotifyContentFormat = NotifyContentFormat
|
2156
|
-
|
2157
|
-
@property
|
2158
|
-
def FilterTags(self):
|
2159
|
-
"""Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not set, no matter whether `MsgTag` is set, the subscription will receive all messages published to the topic; 2. If the `FilterTag` array has a value, only when at least one of the values in the array also exists in the `MsgTag` array (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the `FilterTag` array has a value, but `MsgTag` is not set, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
|
2160
|
-
:rtype: list of str
|
2161
|
-
"""
|
2162
|
-
return self._FilterTags
|
408
|
+
return self._TagKey
|
2163
409
|
|
2164
|
-
@
|
2165
|
-
def
|
2166
|
-
self.
|
410
|
+
@TagKey.setter
|
411
|
+
def TagKey(self, TagKey):
|
412
|
+
self._TagKey = TagKey
|
2167
413
|
|
2168
414
|
@property
|
2169
|
-
def
|
2170
|
-
"""
|
2171
|
-
:rtype:
|
415
|
+
def TopicName(self):
|
416
|
+
"""Exact match by `TopicName`
|
417
|
+
:rtype: str
|
2172
418
|
"""
|
2173
|
-
return self.
|
419
|
+
return self._TopicName
|
2174
420
|
|
2175
|
-
@
|
2176
|
-
def
|
2177
|
-
self.
|
421
|
+
@TopicName.setter
|
422
|
+
def TopicName(self, TopicName):
|
423
|
+
self._TopicName = TopicName
|
2178
424
|
|
2179
425
|
|
2180
426
|
def _deserialize(self, params):
|
427
|
+
self._Offset = params.get("Offset")
|
428
|
+
self._Limit = params.get("Limit")
|
429
|
+
if params.get("Filters") is not None:
|
430
|
+
self._Filters = []
|
431
|
+
for item in params.get("Filters"):
|
432
|
+
obj = Filter()
|
433
|
+
obj._deserialize(item)
|
434
|
+
self._Filters.append(obj)
|
435
|
+
self._TagKey = params.get("TagKey")
|
2181
436
|
self._TopicName = params.get("TopicName")
|
2182
|
-
self._SubscriptionName = params.get("SubscriptionName")
|
2183
|
-
self._NotifyStrategy = params.get("NotifyStrategy")
|
2184
|
-
self._NotifyContentFormat = params.get("NotifyContentFormat")
|
2185
|
-
self._FilterTags = params.get("FilterTags")
|
2186
|
-
self._BindingKey = params.get("BindingKey")
|
2187
437
|
memeber_set = set(params.keys())
|
2188
438
|
for name, value in vars(self).items():
|
2189
439
|
property_name = name[1:]
|
@@ -2194,18 +444,46 @@ class ModifySubscriptionAttributeRequest(AbstractModel):
|
|
2194
444
|
|
2195
445
|
|
2196
446
|
|
2197
|
-
class
|
2198
|
-
"""
|
447
|
+
class DescribeTopicDetailResponse(AbstractModel):
|
448
|
+
"""DescribeTopicDetail response structure.
|
2199
449
|
|
2200
450
|
"""
|
2201
451
|
|
2202
452
|
def __init__(self):
|
2203
453
|
r"""
|
454
|
+
:param _TotalCount: TotalCount
|
455
|
+
:type TotalCount: int
|
456
|
+
:param _TopicSet: TopicSet
|
457
|
+
:type TopicSet: list of TopicSet
|
2204
458
|
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
2205
459
|
:type RequestId: str
|
2206
460
|
"""
|
461
|
+
self._TotalCount = None
|
462
|
+
self._TopicSet = None
|
2207
463
|
self._RequestId = None
|
2208
464
|
|
465
|
+
@property
|
466
|
+
def TotalCount(self):
|
467
|
+
"""TotalCount
|
468
|
+
:rtype: int
|
469
|
+
"""
|
470
|
+
return self._TotalCount
|
471
|
+
|
472
|
+
@TotalCount.setter
|
473
|
+
def TotalCount(self, TotalCount):
|
474
|
+
self._TotalCount = TotalCount
|
475
|
+
|
476
|
+
@property
|
477
|
+
def TopicSet(self):
|
478
|
+
"""TopicSet
|
479
|
+
:rtype: list of TopicSet
|
480
|
+
"""
|
481
|
+
return self._TopicSet
|
482
|
+
|
483
|
+
@TopicSet.setter
|
484
|
+
def TopicSet(self, TopicSet):
|
485
|
+
self._TopicSet = TopicSet
|
486
|
+
|
2209
487
|
@property
|
2210
488
|
def RequestId(self):
|
2211
489
|
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
@@ -2219,116 +497,65 @@ class ModifySubscriptionAttributeResponse(AbstractModel):
|
|
2219
497
|
|
2220
498
|
|
2221
499
|
def _deserialize(self, params):
|
500
|
+
self._TotalCount = params.get("TotalCount")
|
501
|
+
if params.get("TopicSet") is not None:
|
502
|
+
self._TopicSet = []
|
503
|
+
for item in params.get("TopicSet"):
|
504
|
+
obj = TopicSet()
|
505
|
+
obj._deserialize(item)
|
506
|
+
self._TopicSet.append(obj)
|
2222
507
|
self._RequestId = params.get("RequestId")
|
2223
508
|
|
2224
509
|
|
2225
|
-
class
|
2226
|
-
"""
|
510
|
+
class Filter(AbstractModel):
|
511
|
+
"""Filter parameter
|
2227
512
|
|
2228
513
|
"""
|
2229
514
|
|
2230
515
|
def __init__(self):
|
2231
516
|
r"""
|
2232
|
-
:param
|
2233
|
-
:type
|
2234
|
-
:param
|
2235
|
-
:type
|
2236
|
-
:param _MsgRetentionSeconds: Message retention period. Value range: 60-86400 seconds (i.e., 1 minute-1 day). Default value: 86400.
|
2237
|
-
:type MsgRetentionSeconds: int
|
2238
|
-
:param _Trace: Whether to enable message trace. true: yes, false: no. If this field is left empty, the feature will not be enabled.
|
2239
|
-
:type Trace: bool
|
517
|
+
:param _Name: Filter parameter name
|
518
|
+
:type Name: str
|
519
|
+
:param _Values: Value
|
520
|
+
:type Values: list of str
|
2240
521
|
"""
|
2241
|
-
self.
|
2242
|
-
self.
|
2243
|
-
self._MsgRetentionSeconds = None
|
2244
|
-
self._Trace = None
|
522
|
+
self._Name = None
|
523
|
+
self._Values = None
|
2245
524
|
|
2246
525
|
@property
|
2247
|
-
def
|
2248
|
-
"""
|
526
|
+
def Name(self):
|
527
|
+
"""Filter parameter name
|
2249
528
|
:rtype: str
|
2250
529
|
"""
|
2251
|
-
return self.
|
2252
|
-
|
2253
|
-
@TopicName.setter
|
2254
|
-
def TopicName(self, TopicName):
|
2255
|
-
self._TopicName = TopicName
|
2256
|
-
|
2257
|
-
@property
|
2258
|
-
def MaxMsgSize(self):
|
2259
|
-
"""Maximum message length. Value range: 1024-65536 bytes (i.e., 1-64 KB). Default value: 65536.
|
2260
|
-
:rtype: int
|
2261
|
-
"""
|
2262
|
-
return self._MaxMsgSize
|
2263
|
-
|
2264
|
-
@MaxMsgSize.setter
|
2265
|
-
def MaxMsgSize(self, MaxMsgSize):
|
2266
|
-
self._MaxMsgSize = MaxMsgSize
|
2267
|
-
|
2268
|
-
@property
|
2269
|
-
def MsgRetentionSeconds(self):
|
2270
|
-
"""Message retention period. Value range: 60-86400 seconds (i.e., 1 minute-1 day). Default value: 86400.
|
2271
|
-
:rtype: int
|
2272
|
-
"""
|
2273
|
-
return self._MsgRetentionSeconds
|
530
|
+
return self._Name
|
2274
531
|
|
2275
|
-
@
|
2276
|
-
def
|
2277
|
-
self.
|
532
|
+
@Name.setter
|
533
|
+
def Name(self, Name):
|
534
|
+
self._Name = Name
|
2278
535
|
|
2279
536
|
@property
|
2280
|
-
def
|
2281
|
-
"""
|
2282
|
-
:rtype:
|
537
|
+
def Values(self):
|
538
|
+
"""Value
|
539
|
+
:rtype: list of str
|
2283
540
|
"""
|
2284
|
-
return self.
|
541
|
+
return self._Values
|
2285
542
|
|
2286
|
-
@
|
2287
|
-
def
|
2288
|
-
self.
|
543
|
+
@Values.setter
|
544
|
+
def Values(self, Values):
|
545
|
+
self._Values = Values
|
2289
546
|
|
2290
547
|
|
2291
548
|
def _deserialize(self, params):
|
2292
|
-
self.
|
2293
|
-
self.
|
2294
|
-
self._MsgRetentionSeconds = params.get("MsgRetentionSeconds")
|
2295
|
-
self._Trace = params.get("Trace")
|
549
|
+
self._Name = params.get("Name")
|
550
|
+
self._Values = params.get("Values")
|
2296
551
|
memeber_set = set(params.keys())
|
2297
552
|
for name, value in vars(self).items():
|
2298
553
|
property_name = name[1:]
|
2299
554
|
if property_name in memeber_set:
|
2300
555
|
memeber_set.remove(property_name)
|
2301
556
|
if len(memeber_set) > 0:
|
2302
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2303
|
-
|
2304
|
-
|
2305
|
-
|
2306
|
-
class ModifyTopicAttributeResponse(AbstractModel):
|
2307
|
-
"""ModifyTopicAttribute response structure.
|
2308
|
-
|
2309
|
-
"""
|
2310
|
-
|
2311
|
-
def __init__(self):
|
2312
|
-
r"""
|
2313
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
2314
|
-
:type RequestId: str
|
2315
|
-
"""
|
2316
|
-
self._RequestId = None
|
2317
|
-
|
2318
|
-
@property
|
2319
|
-
def RequestId(self):
|
2320
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
2321
|
-
:rtype: str
|
2322
|
-
"""
|
2323
|
-
return self._RequestId
|
2324
|
-
|
2325
|
-
@RequestId.setter
|
2326
|
-
def RequestId(self, RequestId):
|
2327
|
-
self._RequestId = RequestId
|
2328
|
-
|
2329
|
-
|
2330
|
-
def _deserialize(self, params):
|
2331
|
-
self._RequestId = params.get("RequestId")
|
557
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
558
|
+
|
2332
559
|
|
2333
560
|
|
2334
561
|
class QueueSet(AbstractModel):
|
@@ -2787,310 +1014,6 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
2787
1014
|
|
2788
1015
|
|
2789
1016
|
|
2790
|
-
class RewindQueueRequest(AbstractModel):
|
2791
|
-
"""RewindQueue request structure.
|
2792
|
-
|
2793
|
-
"""
|
2794
|
-
|
2795
|
-
def __init__(self):
|
2796
|
-
r"""
|
2797
|
-
:param _QueueName: Queue name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
2798
|
-
:type QueueName: str
|
2799
|
-
:param _StartConsumeTime: After this time is set, the `(Batch)receiveMessage` API will consume the messages received after this timestamp in the order in which they are produced.
|
2800
|
-
:type StartConsumeTime: int
|
2801
|
-
"""
|
2802
|
-
self._QueueName = None
|
2803
|
-
self._StartConsumeTime = None
|
2804
|
-
|
2805
|
-
@property
|
2806
|
-
def QueueName(self):
|
2807
|
-
"""Queue name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
|
2808
|
-
:rtype: str
|
2809
|
-
"""
|
2810
|
-
return self._QueueName
|
2811
|
-
|
2812
|
-
@QueueName.setter
|
2813
|
-
def QueueName(self, QueueName):
|
2814
|
-
self._QueueName = QueueName
|
2815
|
-
|
2816
|
-
@property
|
2817
|
-
def StartConsumeTime(self):
|
2818
|
-
"""After this time is set, the `(Batch)receiveMessage` API will consume the messages received after this timestamp in the order in which they are produced.
|
2819
|
-
:rtype: int
|
2820
|
-
"""
|
2821
|
-
return self._StartConsumeTime
|
2822
|
-
|
2823
|
-
@StartConsumeTime.setter
|
2824
|
-
def StartConsumeTime(self, StartConsumeTime):
|
2825
|
-
self._StartConsumeTime = StartConsumeTime
|
2826
|
-
|
2827
|
-
|
2828
|
-
def _deserialize(self, params):
|
2829
|
-
self._QueueName = params.get("QueueName")
|
2830
|
-
self._StartConsumeTime = params.get("StartConsumeTime")
|
2831
|
-
memeber_set = set(params.keys())
|
2832
|
-
for name, value in vars(self).items():
|
2833
|
-
property_name = name[1:]
|
2834
|
-
if property_name in memeber_set:
|
2835
|
-
memeber_set.remove(property_name)
|
2836
|
-
if len(memeber_set) > 0:
|
2837
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2838
|
-
|
2839
|
-
|
2840
|
-
|
2841
|
-
class RewindQueueResponse(AbstractModel):
|
2842
|
-
"""RewindQueue response structure.
|
2843
|
-
|
2844
|
-
"""
|
2845
|
-
|
2846
|
-
def __init__(self):
|
2847
|
-
r"""
|
2848
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
2849
|
-
:type RequestId: str
|
2850
|
-
"""
|
2851
|
-
self._RequestId = None
|
2852
|
-
|
2853
|
-
@property
|
2854
|
-
def RequestId(self):
|
2855
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
2856
|
-
:rtype: str
|
2857
|
-
"""
|
2858
|
-
return self._RequestId
|
2859
|
-
|
2860
|
-
@RequestId.setter
|
2861
|
-
def RequestId(self, RequestId):
|
2862
|
-
self._RequestId = RequestId
|
2863
|
-
|
2864
|
-
|
2865
|
-
def _deserialize(self, params):
|
2866
|
-
self._RequestId = params.get("RequestId")
|
2867
|
-
|
2868
|
-
|
2869
|
-
class Subscription(AbstractModel):
|
2870
|
-
"""Subscription response parameter
|
2871
|
-
|
2872
|
-
"""
|
2873
|
-
|
2874
|
-
def __init__(self):
|
2875
|
-
r"""
|
2876
|
-
:param _SubscriptionName: SubscriptionName
|
2877
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2878
|
-
:type SubscriptionName: str
|
2879
|
-
:param _SubscriptionId: SubscriptionId
|
2880
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2881
|
-
:type SubscriptionId: str
|
2882
|
-
:param _TopicOwner: TopicOwner
|
2883
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2884
|
-
:type TopicOwner: int
|
2885
|
-
:param _MsgCount: MsgCount
|
2886
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2887
|
-
:type MsgCount: int
|
2888
|
-
:param _LastModifyTime: LastModifyTime
|
2889
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2890
|
-
:type LastModifyTime: int
|
2891
|
-
:param _CreateTime: CreateTime
|
2892
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2893
|
-
:type CreateTime: int
|
2894
|
-
:param _BindingKey: BindingKey
|
2895
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2896
|
-
:type BindingKey: list of str
|
2897
|
-
:param _Endpoint: Endpoint
|
2898
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2899
|
-
:type Endpoint: str
|
2900
|
-
:param _FilterTags: FilterTags
|
2901
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2902
|
-
:type FilterTags: list of str
|
2903
|
-
:param _Protocol: Protocol
|
2904
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2905
|
-
:type Protocol: str
|
2906
|
-
:param _NotifyStrategy: NotifyStrategy
|
2907
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2908
|
-
:type NotifyStrategy: str
|
2909
|
-
:param _NotifyContentFormat: NotifyContentFormat
|
2910
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2911
|
-
:type NotifyContentFormat: str
|
2912
|
-
"""
|
2913
|
-
self._SubscriptionName = None
|
2914
|
-
self._SubscriptionId = None
|
2915
|
-
self._TopicOwner = None
|
2916
|
-
self._MsgCount = None
|
2917
|
-
self._LastModifyTime = None
|
2918
|
-
self._CreateTime = None
|
2919
|
-
self._BindingKey = None
|
2920
|
-
self._Endpoint = None
|
2921
|
-
self._FilterTags = None
|
2922
|
-
self._Protocol = None
|
2923
|
-
self._NotifyStrategy = None
|
2924
|
-
self._NotifyContentFormat = None
|
2925
|
-
|
2926
|
-
@property
|
2927
|
-
def SubscriptionName(self):
|
2928
|
-
"""SubscriptionName
|
2929
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2930
|
-
:rtype: str
|
2931
|
-
"""
|
2932
|
-
return self._SubscriptionName
|
2933
|
-
|
2934
|
-
@SubscriptionName.setter
|
2935
|
-
def SubscriptionName(self, SubscriptionName):
|
2936
|
-
self._SubscriptionName = SubscriptionName
|
2937
|
-
|
2938
|
-
@property
|
2939
|
-
def SubscriptionId(self):
|
2940
|
-
"""SubscriptionId
|
2941
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2942
|
-
:rtype: str
|
2943
|
-
"""
|
2944
|
-
return self._SubscriptionId
|
2945
|
-
|
2946
|
-
@SubscriptionId.setter
|
2947
|
-
def SubscriptionId(self, SubscriptionId):
|
2948
|
-
self._SubscriptionId = SubscriptionId
|
2949
|
-
|
2950
|
-
@property
|
2951
|
-
def TopicOwner(self):
|
2952
|
-
"""TopicOwner
|
2953
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2954
|
-
:rtype: int
|
2955
|
-
"""
|
2956
|
-
return self._TopicOwner
|
2957
|
-
|
2958
|
-
@TopicOwner.setter
|
2959
|
-
def TopicOwner(self, TopicOwner):
|
2960
|
-
self._TopicOwner = TopicOwner
|
2961
|
-
|
2962
|
-
@property
|
2963
|
-
def MsgCount(self):
|
2964
|
-
"""MsgCount
|
2965
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2966
|
-
:rtype: int
|
2967
|
-
"""
|
2968
|
-
return self._MsgCount
|
2969
|
-
|
2970
|
-
@MsgCount.setter
|
2971
|
-
def MsgCount(self, MsgCount):
|
2972
|
-
self._MsgCount = MsgCount
|
2973
|
-
|
2974
|
-
@property
|
2975
|
-
def LastModifyTime(self):
|
2976
|
-
"""LastModifyTime
|
2977
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2978
|
-
:rtype: int
|
2979
|
-
"""
|
2980
|
-
return self._LastModifyTime
|
2981
|
-
|
2982
|
-
@LastModifyTime.setter
|
2983
|
-
def LastModifyTime(self, LastModifyTime):
|
2984
|
-
self._LastModifyTime = LastModifyTime
|
2985
|
-
|
2986
|
-
@property
|
2987
|
-
def CreateTime(self):
|
2988
|
-
"""CreateTime
|
2989
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
2990
|
-
:rtype: int
|
2991
|
-
"""
|
2992
|
-
return self._CreateTime
|
2993
|
-
|
2994
|
-
@CreateTime.setter
|
2995
|
-
def CreateTime(self, CreateTime):
|
2996
|
-
self._CreateTime = CreateTime
|
2997
|
-
|
2998
|
-
@property
|
2999
|
-
def BindingKey(self):
|
3000
|
-
"""BindingKey
|
3001
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
3002
|
-
:rtype: list of str
|
3003
|
-
"""
|
3004
|
-
return self._BindingKey
|
3005
|
-
|
3006
|
-
@BindingKey.setter
|
3007
|
-
def BindingKey(self, BindingKey):
|
3008
|
-
self._BindingKey = BindingKey
|
3009
|
-
|
3010
|
-
@property
|
3011
|
-
def Endpoint(self):
|
3012
|
-
"""Endpoint
|
3013
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
3014
|
-
:rtype: str
|
3015
|
-
"""
|
3016
|
-
return self._Endpoint
|
3017
|
-
|
3018
|
-
@Endpoint.setter
|
3019
|
-
def Endpoint(self, Endpoint):
|
3020
|
-
self._Endpoint = Endpoint
|
3021
|
-
|
3022
|
-
@property
|
3023
|
-
def FilterTags(self):
|
3024
|
-
"""FilterTags
|
3025
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
3026
|
-
:rtype: list of str
|
3027
|
-
"""
|
3028
|
-
return self._FilterTags
|
3029
|
-
|
3030
|
-
@FilterTags.setter
|
3031
|
-
def FilterTags(self, FilterTags):
|
3032
|
-
self._FilterTags = FilterTags
|
3033
|
-
|
3034
|
-
@property
|
3035
|
-
def Protocol(self):
|
3036
|
-
"""Protocol
|
3037
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
3038
|
-
:rtype: str
|
3039
|
-
"""
|
3040
|
-
return self._Protocol
|
3041
|
-
|
3042
|
-
@Protocol.setter
|
3043
|
-
def Protocol(self, Protocol):
|
3044
|
-
self._Protocol = Protocol
|
3045
|
-
|
3046
|
-
@property
|
3047
|
-
def NotifyStrategy(self):
|
3048
|
-
"""NotifyStrategy
|
3049
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
3050
|
-
:rtype: str
|
3051
|
-
"""
|
3052
|
-
return self._NotifyStrategy
|
3053
|
-
|
3054
|
-
@NotifyStrategy.setter
|
3055
|
-
def NotifyStrategy(self, NotifyStrategy):
|
3056
|
-
self._NotifyStrategy = NotifyStrategy
|
3057
|
-
|
3058
|
-
@property
|
3059
|
-
def NotifyContentFormat(self):
|
3060
|
-
"""NotifyContentFormat
|
3061
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
3062
|
-
:rtype: str
|
3063
|
-
"""
|
3064
|
-
return self._NotifyContentFormat
|
3065
|
-
|
3066
|
-
@NotifyContentFormat.setter
|
3067
|
-
def NotifyContentFormat(self, NotifyContentFormat):
|
3068
|
-
self._NotifyContentFormat = NotifyContentFormat
|
3069
|
-
|
3070
|
-
|
3071
|
-
def _deserialize(self, params):
|
3072
|
-
self._SubscriptionName = params.get("SubscriptionName")
|
3073
|
-
self._SubscriptionId = params.get("SubscriptionId")
|
3074
|
-
self._TopicOwner = params.get("TopicOwner")
|
3075
|
-
self._MsgCount = params.get("MsgCount")
|
3076
|
-
self._LastModifyTime = params.get("LastModifyTime")
|
3077
|
-
self._CreateTime = params.get("CreateTime")
|
3078
|
-
self._BindingKey = params.get("BindingKey")
|
3079
|
-
self._Endpoint = params.get("Endpoint")
|
3080
|
-
self._FilterTags = params.get("FilterTags")
|
3081
|
-
self._Protocol = params.get("Protocol")
|
3082
|
-
self._NotifyStrategy = params.get("NotifyStrategy")
|
3083
|
-
self._NotifyContentFormat = params.get("NotifyContentFormat")
|
3084
|
-
memeber_set = set(params.keys())
|
3085
|
-
for name, value in vars(self).items():
|
3086
|
-
property_name = name[1:]
|
3087
|
-
if property_name in memeber_set:
|
3088
|
-
memeber_set.remove(property_name)
|
3089
|
-
if len(memeber_set) > 0:
|
3090
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3091
|
-
|
3092
|
-
|
3093
|
-
|
3094
1017
|
class Tag(AbstractModel):
|
3095
1018
|
"""Tag
|
3096
1019
|
|
@@ -3428,68 +1351,4 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
3428
1351
|
memeber_set.remove(property_name)
|
3429
1352
|
if len(memeber_set) > 0:
|
3430
1353
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3431
|
-
|
3432
|
-
|
3433
|
-
|
3434
|
-
class UnbindDeadLetterRequest(AbstractModel):
|
3435
|
-
"""UnbindDeadLetter request structure.
|
3436
|
-
|
3437
|
-
"""
|
3438
|
-
|
3439
|
-
def __init__(self):
|
3440
|
-
r"""
|
3441
|
-
:param _QueueName: Source queue name of dead letter policy. Calling this API will clear the dead letter queue policy of this queue.
|
3442
|
-
:type QueueName: str
|
3443
|
-
"""
|
3444
|
-
self._QueueName = None
|
3445
|
-
|
3446
|
-
@property
|
3447
|
-
def QueueName(self):
|
3448
|
-
"""Source queue name of dead letter policy. Calling this API will clear the dead letter queue policy of this queue.
|
3449
|
-
:rtype: str
|
3450
|
-
"""
|
3451
|
-
return self._QueueName
|
3452
|
-
|
3453
|
-
@QueueName.setter
|
3454
|
-
def QueueName(self, QueueName):
|
3455
|
-
self._QueueName = QueueName
|
3456
|
-
|
3457
|
-
|
3458
|
-
def _deserialize(self, params):
|
3459
|
-
self._QueueName = params.get("QueueName")
|
3460
|
-
memeber_set = set(params.keys())
|
3461
|
-
for name, value in vars(self).items():
|
3462
|
-
property_name = name[1:]
|
3463
|
-
if property_name in memeber_set:
|
3464
|
-
memeber_set.remove(property_name)
|
3465
|
-
if len(memeber_set) > 0:
|
3466
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3467
|
-
|
3468
|
-
|
3469
|
-
|
3470
|
-
class UnbindDeadLetterResponse(AbstractModel):
|
3471
|
-
"""UnbindDeadLetter response structure.
|
3472
|
-
|
3473
|
-
"""
|
3474
|
-
|
3475
|
-
def __init__(self):
|
3476
|
-
r"""
|
3477
|
-
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
3478
|
-
:type RequestId: str
|
3479
|
-
"""
|
3480
|
-
self._RequestId = None
|
3481
|
-
|
3482
|
-
@property
|
3483
|
-
def RequestId(self):
|
3484
|
-
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
3485
|
-
:rtype: str
|
3486
|
-
"""
|
3487
|
-
return self._RequestId
|
3488
|
-
|
3489
|
-
@RequestId.setter
|
3490
|
-
def RequestId(self, RequestId):
|
3491
|
-
self._RequestId = RequestId
|
3492
|
-
|
3493
|
-
|
3494
|
-
def _deserialize(self, params):
|
3495
|
-
self._RequestId = params.get("RequestId")
|
1354
|
+
|