tencentcloud-sdk-nodejs-intl-en 3.0.1167 → 3.0.1168
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.
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/trabbit/index.js +3 -0
- package/tencentcloud/trabbit/v20230418/index.js +4 -0
- package/tencentcloud/trabbit/v20230418/models.js +4991 -0
- package/tencentcloud/trabbit/v20230418/trabbit_client.js +432 -0
|
@@ -0,0 +1,4991 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* DescribeRabbitMQServerlessConnection response structure.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class DescribeRabbitMQServerlessConnectionResponse extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Return the number of connections.
|
|
29
|
+
* @type {number || null}
|
|
30
|
+
*/
|
|
31
|
+
this.TotalCount = null;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* List of connection details.
|
|
35
|
+
* @type {Array.<RabbitMQConnection> || null}
|
|
36
|
+
*/
|
|
37
|
+
this.Connections = null;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 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.
|
|
41
|
+
* @type {string || null}
|
|
42
|
+
*/
|
|
43
|
+
this.RequestId = null;
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
deserialize(params) {
|
|
51
|
+
if (!params) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
55
|
+
|
|
56
|
+
if (params.Connections) {
|
|
57
|
+
this.Connections = new Array();
|
|
58
|
+
for (let z in params.Connections) {
|
|
59
|
+
let obj = new RabbitMQConnection();
|
|
60
|
+
obj.deserialize(params.Connections[z]);
|
|
61
|
+
this.Connections.push(obj);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* DeleteRabbitMQServerlessPermission response structure.
|
|
71
|
+
* @class
|
|
72
|
+
*/
|
|
73
|
+
class DeleteRabbitMQServerlessPermissionResponse extends AbstractModel {
|
|
74
|
+
constructor(){
|
|
75
|
+
super();
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 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.
|
|
79
|
+
* @type {string || null}
|
|
80
|
+
*/
|
|
81
|
+
this.RequestId = null;
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @private
|
|
87
|
+
*/
|
|
88
|
+
deserialize(params) {
|
|
89
|
+
if (!params) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
93
|
+
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Rabbitmq binding relationship list member.
|
|
99
|
+
* @class
|
|
100
|
+
*/
|
|
101
|
+
class RabbitMQBindingListInfo extends AbstractModel {
|
|
102
|
+
constructor(){
|
|
103
|
+
super();
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* binding id.
|
|
107
|
+
* @type {number || null}
|
|
108
|
+
*/
|
|
109
|
+
this.BindingId = null;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Vhost parameter.
|
|
113
|
+
* @type {string || null}
|
|
114
|
+
*/
|
|
115
|
+
this.VirtualHost = null;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Source exchange name.
|
|
119
|
+
* @type {string || null}
|
|
120
|
+
*/
|
|
121
|
+
this.Source = null;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Target type. valid values: queue or exchange.
|
|
125
|
+
* @type {string || null}
|
|
126
|
+
*/
|
|
127
|
+
this.DestinationType = null;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Target resource name.
|
|
131
|
+
* @type {string || null}
|
|
132
|
+
*/
|
|
133
|
+
this.Destination = null;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Binding key.
|
|
137
|
+
* @type {string || null}
|
|
138
|
+
*/
|
|
139
|
+
this.RoutingKey = null;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Source exchange type.
|
|
143
|
+
* @type {string || null}
|
|
144
|
+
*/
|
|
145
|
+
this.SourceExchangeType = null;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Creation time
|
|
149
|
+
* @type {string || null}
|
|
150
|
+
*/
|
|
151
|
+
this.CreateTime = null;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Modification time
|
|
155
|
+
* @type {string || null}
|
|
156
|
+
*/
|
|
157
|
+
this.ModifyTime = null;
|
|
158
|
+
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @private
|
|
163
|
+
*/
|
|
164
|
+
deserialize(params) {
|
|
165
|
+
if (!params) {
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
this.BindingId = 'BindingId' in params ? params.BindingId : null;
|
|
169
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
170
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
171
|
+
this.DestinationType = 'DestinationType' in params ? params.DestinationType : null;
|
|
172
|
+
this.Destination = 'Destination' in params ? params.Destination : null;
|
|
173
|
+
this.RoutingKey = 'RoutingKey' in params ? params.RoutingKey : null;
|
|
174
|
+
this.SourceExchangeType = 'SourceExchangeType' in params ? params.SourceExchangeType : null;
|
|
175
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
176
|
+
this.ModifyTime = 'ModifyTime' in params ? params.ModifyTime : null;
|
|
177
|
+
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* ModifyRabbitMQServerlessUser response structure.
|
|
183
|
+
* @class
|
|
184
|
+
*/
|
|
185
|
+
class ModifyRabbitMQServerlessUserResponse extends AbstractModel {
|
|
186
|
+
constructor(){
|
|
187
|
+
super();
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* 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.
|
|
191
|
+
* @type {string || null}
|
|
192
|
+
*/
|
|
193
|
+
this.RequestId = null;
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @private
|
|
199
|
+
*/
|
|
200
|
+
deserialize(params) {
|
|
201
|
+
if (!params) {
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
205
|
+
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* CreateRabbitMQServerlessVirtualHost request structure.
|
|
211
|
+
* @class
|
|
212
|
+
*/
|
|
213
|
+
class CreateRabbitMQServerlessVirtualHostRequest extends AbstractModel {
|
|
214
|
+
constructor(){
|
|
215
|
+
super();
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* instance ID
|
|
219
|
+
* @type {string || null}
|
|
220
|
+
*/
|
|
221
|
+
this.InstanceId = null;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Vhost name
|
|
225
|
+
* @type {string || null}
|
|
226
|
+
*/
|
|
227
|
+
this.VirtualHost = null;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Description information
|
|
231
|
+
* @type {string || null}
|
|
232
|
+
*/
|
|
233
|
+
this.Description = null;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Message trace switch. specifies that the value "true" turns it on, "false" turns it off. indicates that it is off by default.
|
|
237
|
+
* @type {boolean || null}
|
|
238
|
+
*/
|
|
239
|
+
this.TraceFlag = null;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Specifies whether to create a mirrored queue policy. the default value is true.
|
|
243
|
+
* @type {boolean || null}
|
|
244
|
+
*/
|
|
245
|
+
this.MirrorQueuePolicyFlag = null;
|
|
246
|
+
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @private
|
|
251
|
+
*/
|
|
252
|
+
deserialize(params) {
|
|
253
|
+
if (!params) {
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
257
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
258
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
259
|
+
this.TraceFlag = 'TraceFlag' in params ? params.TraceFlag : null;
|
|
260
|
+
this.MirrorQueuePolicyFlag = 'MirrorQueuePolicyFlag' in params ? params.MirrorQueuePolicyFlag : null;
|
|
261
|
+
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* DescribeRabbitMQServerlessUser response structure.
|
|
267
|
+
* @class
|
|
268
|
+
*/
|
|
269
|
+
class DescribeRabbitMQServerlessUserResponse extends AbstractModel {
|
|
270
|
+
constructor(){
|
|
271
|
+
super();
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The number of returned users.
|
|
275
|
+
* @type {number || null}
|
|
276
|
+
*/
|
|
277
|
+
this.TotalCount = null;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Currently created RabbitMQ list of users.
|
|
281
|
+
* @type {Array.<RabbitMQUser> || null}
|
|
282
|
+
*/
|
|
283
|
+
this.RabbitMQUserList = null;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* 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.
|
|
287
|
+
* @type {string || null}
|
|
288
|
+
*/
|
|
289
|
+
this.RequestId = null;
|
|
290
|
+
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* @private
|
|
295
|
+
*/
|
|
296
|
+
deserialize(params) {
|
|
297
|
+
if (!params) {
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
301
|
+
|
|
302
|
+
if (params.RabbitMQUserList) {
|
|
303
|
+
this.RabbitMQUserList = new Array();
|
|
304
|
+
for (let z in params.RabbitMQUserList) {
|
|
305
|
+
let obj = new RabbitMQUser();
|
|
306
|
+
obj.deserialize(params.RabbitMQUserList[z]);
|
|
307
|
+
this.RabbitMQUserList.push(obj);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
311
|
+
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* ModifyRabbitMQServerlessExchange response structure.
|
|
317
|
+
* @class
|
|
318
|
+
*/
|
|
319
|
+
class ModifyRabbitMQServerlessExchangeResponse extends AbstractModel {
|
|
320
|
+
constructor(){
|
|
321
|
+
super();
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* exchange name.
|
|
325
|
+
* @type {string || null}
|
|
326
|
+
*/
|
|
327
|
+
this.ExchangeName = null;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* 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.
|
|
331
|
+
* @type {string || null}
|
|
332
|
+
*/
|
|
333
|
+
this.RequestId = null;
|
|
334
|
+
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @private
|
|
339
|
+
*/
|
|
340
|
+
deserialize(params) {
|
|
341
|
+
if (!params) {
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
345
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
346
|
+
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* DescribeRabbitMQServerlessConsumers response structure.
|
|
352
|
+
* @class
|
|
353
|
+
*/
|
|
354
|
+
class DescribeRabbitMQServerlessConsumersResponse extends AbstractModel {
|
|
355
|
+
constructor(){
|
|
356
|
+
super();
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Consumer list information.
|
|
360
|
+
* @type {Array.<RabbitMQConsumersListInfo> || null}
|
|
361
|
+
*/
|
|
362
|
+
this.ConsumerInfoList = null;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Quantity
|
|
366
|
+
* @type {number || null}
|
|
367
|
+
*/
|
|
368
|
+
this.TotalCount = null;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* 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.
|
|
372
|
+
* @type {string || null}
|
|
373
|
+
*/
|
|
374
|
+
this.RequestId = null;
|
|
375
|
+
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @private
|
|
380
|
+
*/
|
|
381
|
+
deserialize(params) {
|
|
382
|
+
if (!params) {
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
if (params.ConsumerInfoList) {
|
|
387
|
+
this.ConsumerInfoList = new Array();
|
|
388
|
+
for (let z in params.ConsumerInfoList) {
|
|
389
|
+
let obj = new RabbitMQConsumersListInfo();
|
|
390
|
+
obj.deserialize(params.ConsumerInfoList[z]);
|
|
391
|
+
this.ConsumerInfoList.push(obj);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
395
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
396
|
+
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* DescribeRabbitMQServerlessQueueDetail response structure.
|
|
402
|
+
* @class
|
|
403
|
+
*/
|
|
404
|
+
class DescribeRabbitMQServerlessQueueDetailResponse extends AbstractModel {
|
|
405
|
+
constructor(){
|
|
406
|
+
super();
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Instance ID
|
|
410
|
+
* @type {string || null}
|
|
411
|
+
*/
|
|
412
|
+
this.InstanceId = null;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Vhost parameter.
|
|
416
|
+
* @type {string || null}
|
|
417
|
+
*/
|
|
418
|
+
this.VirtualHost = null;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Queue name.
|
|
422
|
+
* @type {string || null}
|
|
423
|
+
*/
|
|
424
|
+
this.QueueName = null;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Specifies the queue type. the valid values are classic or quorum.
|
|
428
|
+
* @type {string || null}
|
|
429
|
+
*/
|
|
430
|
+
this.QueueType = null;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Number of online consumers.
|
|
434
|
+
* @type {number || null}
|
|
435
|
+
*/
|
|
436
|
+
this.Consumers = null;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Durable flag.
|
|
440
|
+
* @type {boolean || null}
|
|
441
|
+
*/
|
|
442
|
+
this.Durable = null;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Automatic cleanup.
|
|
446
|
+
* @type {boolean || null}
|
|
447
|
+
*/
|
|
448
|
+
this.AutoDelete = null;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Remarks
|
|
452
|
+
* @type {string || null}
|
|
453
|
+
*/
|
|
454
|
+
this.Remark = null;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* MessageTTL parameter, dedicated for classic type.
|
|
458
|
+
* @type {number || null}
|
|
459
|
+
*/
|
|
460
|
+
this.MessageTTL = null;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* AutoExpire parameter.
|
|
464
|
+
* @type {number || null}
|
|
465
|
+
*/
|
|
466
|
+
this.AutoExpire = null;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* MaxLength parameter.
|
|
470
|
+
* @type {number || null}
|
|
471
|
+
*/
|
|
472
|
+
this.MaxLength = null;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* MaxLengthBytes parameter.
|
|
476
|
+
* @type {number || null}
|
|
477
|
+
*/
|
|
478
|
+
this.MaxLengthBytes = null;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* DeliveryLimit parameter. specifies the parameter dedicated to the quorum type.
|
|
482
|
+
* @type {number || null}
|
|
483
|
+
*/
|
|
484
|
+
this.DeliveryLimit = null;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* OverflowBehaviour parameter specifies a value of drop-head, reject-publish, or reject-publish-dlx.
|
|
488
|
+
* @type {string || null}
|
|
489
|
+
*/
|
|
490
|
+
this.OverflowBehaviour = null;
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* DeadLetterExchange parameter.
|
|
494
|
+
* @type {string || null}
|
|
495
|
+
*/
|
|
496
|
+
this.DeadLetterExchange = null;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* The DeadLetterRoutingKey parameter.
|
|
500
|
+
* @type {string || null}
|
|
501
|
+
*/
|
|
502
|
+
this.DeadLetterRoutingKey = null;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* SingleActiveConsumer parameter.
|
|
506
|
+
* @type {boolean || null}
|
|
507
|
+
*/
|
|
508
|
+
this.SingleActiveConsumer = null;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* MaximumPriority parameter. specifies that it is dedicated for the classic type.
|
|
512
|
+
* @type {number || null}
|
|
513
|
+
*/
|
|
514
|
+
this.MaximumPriority = null;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* LazyMode parameter, dedicated for classic type.
|
|
518
|
+
* @type {boolean || null}
|
|
519
|
+
*/
|
|
520
|
+
this.LazyMode = null;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* MasterLocator parameter, dedicated for classic type.
|
|
524
|
+
* @type {string || null}
|
|
525
|
+
*/
|
|
526
|
+
this.MasterLocator = null;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* MaxInMemoryLength parameter, dedicated for quorum type.
|
|
530
|
+
* @type {number || null}
|
|
531
|
+
*/
|
|
532
|
+
this.MaxInMemoryLength = null;
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* The MaxInMemoryBytes parameter is dedicated to the quorum type.
|
|
536
|
+
* @type {number || null}
|
|
537
|
+
*/
|
|
538
|
+
this.MaxInMemoryBytes = null;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Create timestamp, in seconds.
|
|
542
|
+
* @type {number || null}
|
|
543
|
+
*/
|
|
544
|
+
this.CreateTime = null;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Node.
|
|
548
|
+
* @type {string || null}
|
|
549
|
+
*/
|
|
550
|
+
this.Node = null;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Arbitration queue dead letter consistency policy.
|
|
554
|
+
* @type {string || null}
|
|
555
|
+
*/
|
|
556
|
+
this.DeadLetterStrategy = null;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Leadership election policy for arbitration queue.
|
|
560
|
+
* @type {string || null}
|
|
561
|
+
*/
|
|
562
|
+
this.QueueLeaderLocator = null;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Specifies the initial replica group size of the arbitration queue.
|
|
566
|
+
* @type {number || null}
|
|
567
|
+
*/
|
|
568
|
+
this.QuorumInitialGroupSize = null;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Whether it is an exclusive queue.
|
|
572
|
+
* @type {boolean || null}
|
|
573
|
+
*/
|
|
574
|
+
this.Exclusive = null;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* The name of the policy that takes effect.
|
|
578
|
+
* @type {string || null}
|
|
579
|
+
*/
|
|
580
|
+
this.Policy = null;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Additional parameters key-value.
|
|
584
|
+
* @type {string || null}
|
|
585
|
+
*/
|
|
586
|
+
this.Arguments = null;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* 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.
|
|
590
|
+
* @type {string || null}
|
|
591
|
+
*/
|
|
592
|
+
this.RequestId = null;
|
|
593
|
+
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* @private
|
|
598
|
+
*/
|
|
599
|
+
deserialize(params) {
|
|
600
|
+
if (!params) {
|
|
601
|
+
return;
|
|
602
|
+
}
|
|
603
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
604
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
605
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
606
|
+
this.QueueType = 'QueueType' in params ? params.QueueType : null;
|
|
607
|
+
this.Consumers = 'Consumers' in params ? params.Consumers : null;
|
|
608
|
+
this.Durable = 'Durable' in params ? params.Durable : null;
|
|
609
|
+
this.AutoDelete = 'AutoDelete' in params ? params.AutoDelete : null;
|
|
610
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
611
|
+
this.MessageTTL = 'MessageTTL' in params ? params.MessageTTL : null;
|
|
612
|
+
this.AutoExpire = 'AutoExpire' in params ? params.AutoExpire : null;
|
|
613
|
+
this.MaxLength = 'MaxLength' in params ? params.MaxLength : null;
|
|
614
|
+
this.MaxLengthBytes = 'MaxLengthBytes' in params ? params.MaxLengthBytes : null;
|
|
615
|
+
this.DeliveryLimit = 'DeliveryLimit' in params ? params.DeliveryLimit : null;
|
|
616
|
+
this.OverflowBehaviour = 'OverflowBehaviour' in params ? params.OverflowBehaviour : null;
|
|
617
|
+
this.DeadLetterExchange = 'DeadLetterExchange' in params ? params.DeadLetterExchange : null;
|
|
618
|
+
this.DeadLetterRoutingKey = 'DeadLetterRoutingKey' in params ? params.DeadLetterRoutingKey : null;
|
|
619
|
+
this.SingleActiveConsumer = 'SingleActiveConsumer' in params ? params.SingleActiveConsumer : null;
|
|
620
|
+
this.MaximumPriority = 'MaximumPriority' in params ? params.MaximumPriority : null;
|
|
621
|
+
this.LazyMode = 'LazyMode' in params ? params.LazyMode : null;
|
|
622
|
+
this.MasterLocator = 'MasterLocator' in params ? params.MasterLocator : null;
|
|
623
|
+
this.MaxInMemoryLength = 'MaxInMemoryLength' in params ? params.MaxInMemoryLength : null;
|
|
624
|
+
this.MaxInMemoryBytes = 'MaxInMemoryBytes' in params ? params.MaxInMemoryBytes : null;
|
|
625
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
626
|
+
this.Node = 'Node' in params ? params.Node : null;
|
|
627
|
+
this.DeadLetterStrategy = 'DeadLetterStrategy' in params ? params.DeadLetterStrategy : null;
|
|
628
|
+
this.QueueLeaderLocator = 'QueueLeaderLocator' in params ? params.QueueLeaderLocator : null;
|
|
629
|
+
this.QuorumInitialGroupSize = 'QuorumInitialGroupSize' in params ? params.QuorumInitialGroupSize : null;
|
|
630
|
+
this.Exclusive = 'Exclusive' in params ? params.Exclusive : null;
|
|
631
|
+
this.Policy = 'Policy' in params ? params.Policy : null;
|
|
632
|
+
this.Arguments = 'Arguments' in params ? params.Arguments : null;
|
|
633
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
634
|
+
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* DescribeRabbitMQServerlessVirtualHost request structure.
|
|
640
|
+
* @class
|
|
641
|
+
*/
|
|
642
|
+
class DescribeRabbitMQServerlessVirtualHostRequest extends AbstractModel {
|
|
643
|
+
constructor(){
|
|
644
|
+
super();
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* instance ID
|
|
648
|
+
* @type {string || null}
|
|
649
|
+
*/
|
|
650
|
+
this.InstanceId = null;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Specifies the vhost name. if it is not provided, query all.
|
|
654
|
+
* @type {string || null}
|
|
655
|
+
*/
|
|
656
|
+
this.VirtualHost = null;
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Pagination offset
|
|
660
|
+
* @type {number || null}
|
|
661
|
+
*/
|
|
662
|
+
this.Offset = null;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Pagination limit
|
|
666
|
+
* @type {number || null}
|
|
667
|
+
*/
|
|
668
|
+
this.Limit = null;
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* search-virtual-host: specifies fuzzy name search of vhost names. earlier, it supported both prefix and suffix matching.
|
|
672
|
+
* @type {Filter || null}
|
|
673
|
+
*/
|
|
674
|
+
this.Filters = null;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Sorting field.
|
|
678
|
+
MessageHeapCount specifies the number of message backlogs.
|
|
679
|
+
MessageRateInOut specifies the total production and consumption rate.
|
|
680
|
+
MessageRateIn specifies the production rate.
|
|
681
|
+
MessageRateOut specifies the consumption rate.
|
|
682
|
+
* @type {string || null}
|
|
683
|
+
*/
|
|
684
|
+
this.SortElement = null;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Sort order. valid values: ascend or descend.
|
|
688
|
+
* @type {string || null}
|
|
689
|
+
*/
|
|
690
|
+
this.SortOrder = null;
|
|
691
|
+
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @private
|
|
696
|
+
*/
|
|
697
|
+
deserialize(params) {
|
|
698
|
+
if (!params) {
|
|
699
|
+
return;
|
|
700
|
+
}
|
|
701
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
702
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
703
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
704
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
705
|
+
|
|
706
|
+
if (params.Filters) {
|
|
707
|
+
let obj = new Filter();
|
|
708
|
+
obj.deserialize(params.Filters)
|
|
709
|
+
this.Filters = obj;
|
|
710
|
+
}
|
|
711
|
+
this.SortElement = 'SortElement' in params ? params.SortElement : null;
|
|
712
|
+
this.SortOrder = 'SortOrder' in params ? params.SortOrder : null;
|
|
713
|
+
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* ModifyRabbitMQServerlessVirtualHost request structure.
|
|
719
|
+
* @class
|
|
720
|
+
*/
|
|
721
|
+
class ModifyRabbitMQServerlessVirtualHostRequest extends AbstractModel {
|
|
722
|
+
constructor(){
|
|
723
|
+
super();
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* instance ID
|
|
727
|
+
* @type {string || null}
|
|
728
|
+
*/
|
|
729
|
+
this.InstanceId = null;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Specifies the vhost name.
|
|
733
|
+
* @type {string || null}
|
|
734
|
+
*/
|
|
735
|
+
this.VirtualHost = null;
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Specifies the description information of the vhost.
|
|
739
|
+
* @type {string || null}
|
|
740
|
+
*/
|
|
741
|
+
this.Description = null;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Message trace switch. specifies that the value true turns on the switch and the value false turns it off.
|
|
745
|
+
* @type {boolean || null}
|
|
746
|
+
*/
|
|
747
|
+
this.TraceFlag = null;
|
|
748
|
+
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* @private
|
|
753
|
+
*/
|
|
754
|
+
deserialize(params) {
|
|
755
|
+
if (!params) {
|
|
756
|
+
return;
|
|
757
|
+
}
|
|
758
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
759
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
760
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
761
|
+
this.TraceFlag = 'TraceFlag' in params ? params.TraceFlag : null;
|
|
762
|
+
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* CreateRabbitMQServerlessUser response structure.
|
|
768
|
+
* @class
|
|
769
|
+
*/
|
|
770
|
+
class CreateRabbitMQServerlessUserResponse extends AbstractModel {
|
|
771
|
+
constructor(){
|
|
772
|
+
super();
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Specifies the username used when logging in.
|
|
776
|
+
* @type {string || null}
|
|
777
|
+
*/
|
|
778
|
+
this.User = null;
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* 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.
|
|
782
|
+
* @type {string || null}
|
|
783
|
+
*/
|
|
784
|
+
this.RequestId = null;
|
|
785
|
+
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* @private
|
|
790
|
+
*/
|
|
791
|
+
deserialize(params) {
|
|
792
|
+
if (!params) {
|
|
793
|
+
return;
|
|
794
|
+
}
|
|
795
|
+
this.User = 'User' in params ? params.User : null;
|
|
796
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
797
|
+
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* DeleteRabbitMQServerlessQueue request structure.
|
|
803
|
+
* @class
|
|
804
|
+
*/
|
|
805
|
+
class DeleteRabbitMQServerlessQueueRequest extends AbstractModel {
|
|
806
|
+
constructor(){
|
|
807
|
+
super();
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Instance ID
|
|
811
|
+
* @type {string || null}
|
|
812
|
+
*/
|
|
813
|
+
this.InstanceId = null;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Vhost parameter.
|
|
817
|
+
* @type {string || null}
|
|
818
|
+
*/
|
|
819
|
+
this.VirtualHost = null;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Queue name.
|
|
823
|
+
* @type {string || null}
|
|
824
|
+
*/
|
|
825
|
+
this.QueueName = null;
|
|
826
|
+
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* @private
|
|
831
|
+
*/
|
|
832
|
+
deserialize(params) {
|
|
833
|
+
if (!params) {
|
|
834
|
+
return;
|
|
835
|
+
}
|
|
836
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
837
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
838
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
839
|
+
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* ListRabbitMQServerlessInstances response structure.
|
|
845
|
+
* @class
|
|
846
|
+
*/
|
|
847
|
+
class ListRabbitMQServerlessInstancesResponse extends AbstractModel {
|
|
848
|
+
constructor(){
|
|
849
|
+
super();
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Instance list
|
|
853
|
+
* @type {Array.<RabbitMQServerlessInstance> || null}
|
|
854
|
+
*/
|
|
855
|
+
this.Instances = null;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Total number.
|
|
859
|
+
* @type {number || null}
|
|
860
|
+
*/
|
|
861
|
+
this.TotalCount = null;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* 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.
|
|
865
|
+
* @type {string || null}
|
|
866
|
+
*/
|
|
867
|
+
this.RequestId = null;
|
|
868
|
+
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* @private
|
|
873
|
+
*/
|
|
874
|
+
deserialize(params) {
|
|
875
|
+
if (!params) {
|
|
876
|
+
return;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
if (params.Instances) {
|
|
880
|
+
this.Instances = new Array();
|
|
881
|
+
for (let z in params.Instances) {
|
|
882
|
+
let obj = new RabbitMQServerlessInstance();
|
|
883
|
+
obj.deserialize(params.Instances[z]);
|
|
884
|
+
this.Instances.push(obj);
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
888
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
889
|
+
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* CreateRabbitMQServerlessUser request structure.
|
|
895
|
+
* @class
|
|
896
|
+
*/
|
|
897
|
+
class CreateRabbitMQServerlessUserRequest extends AbstractModel {
|
|
898
|
+
constructor(){
|
|
899
|
+
super();
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* instance ID
|
|
903
|
+
* @type {string || null}
|
|
904
|
+
*/
|
|
905
|
+
this.InstanceId = null;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* Specifies the username used when logging in.
|
|
909
|
+
* @type {string || null}
|
|
910
|
+
*/
|
|
911
|
+
this.User = null;
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Password. specifies the password used when logging in.
|
|
915
|
+
* @type {string || null}
|
|
916
|
+
*/
|
|
917
|
+
this.Password = null;
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Description
|
|
921
|
+
* @type {string || null}
|
|
922
|
+
*/
|
|
923
|
+
this.Description = null;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* The serverless instance field is invalid.
|
|
927
|
+
* @type {Array.<string> || null}
|
|
928
|
+
*/
|
|
929
|
+
this.Tags = null;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Specifies the maximum number of connections for this user. if not specified, there is no limit.
|
|
933
|
+
* @type {number || null}
|
|
934
|
+
*/
|
|
935
|
+
this.MaxConnections = null;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Specifies the maximum number of channels for the user. if not specified, there is no limit.
|
|
939
|
+
* @type {number || null}
|
|
940
|
+
*/
|
|
941
|
+
this.MaxChannels = null;
|
|
942
|
+
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* @private
|
|
947
|
+
*/
|
|
948
|
+
deserialize(params) {
|
|
949
|
+
if (!params) {
|
|
950
|
+
return;
|
|
951
|
+
}
|
|
952
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
953
|
+
this.User = 'User' in params ? params.User : null;
|
|
954
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
955
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
956
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
957
|
+
this.MaxConnections = 'MaxConnections' in params ? params.MaxConnections : null;
|
|
958
|
+
this.MaxChannels = 'MaxChannels' in params ? params.MaxChannels : null;
|
|
959
|
+
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* ModifyRabbitMQServerlessUser request structure.
|
|
965
|
+
* @class
|
|
966
|
+
*/
|
|
967
|
+
class ModifyRabbitMQServerlessUserRequest extends AbstractModel {
|
|
968
|
+
constructor(){
|
|
969
|
+
super();
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* instance ID
|
|
973
|
+
* @type {string || null}
|
|
974
|
+
*/
|
|
975
|
+
this.InstanceId = null;
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Specifies the username.
|
|
979
|
+
* @type {string || null}
|
|
980
|
+
*/
|
|
981
|
+
this.User = null;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Password. specifies the password.
|
|
985
|
+
* @type {string || null}
|
|
986
|
+
*/
|
|
987
|
+
this.Password = null;
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Description. if not provided, no modification will be made.
|
|
991
|
+
* @type {string || null}
|
|
992
|
+
*/
|
|
993
|
+
this.Description = null;
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* User tag. specifies to determine the access permission scope of this user to RabbitMQ Management. if it is not passed in, no modification will be made.
|
|
997
|
+
* @type {Array.<string> || null}
|
|
998
|
+
*/
|
|
999
|
+
this.Tags = null;
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Specifies the maximum number of connections for this user. if not provided, it will not be modified.
|
|
1003
|
+
* @type {number || null}
|
|
1004
|
+
*/
|
|
1005
|
+
this.MaxConnections = null;
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* Specifies the maximum number of channels for this user. if not provided, it will not be modified.
|
|
1009
|
+
* @type {number || null}
|
|
1010
|
+
*/
|
|
1011
|
+
this.MaxChannels = null;
|
|
1012
|
+
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* @private
|
|
1017
|
+
*/
|
|
1018
|
+
deserialize(params) {
|
|
1019
|
+
if (!params) {
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1023
|
+
this.User = 'User' in params ? params.User : null;
|
|
1024
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
1025
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1026
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
1027
|
+
this.MaxConnections = 'MaxConnections' in params ? params.MaxConnections : null;
|
|
1028
|
+
this.MaxChannels = 'MaxChannels' in params ? params.MaxChannels : null;
|
|
1029
|
+
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* DeleteRabbitMQServerlessPermission request structure.
|
|
1035
|
+
* @class
|
|
1036
|
+
*/
|
|
1037
|
+
class DeleteRabbitMQServerlessPermissionRequest extends AbstractModel {
|
|
1038
|
+
constructor(){
|
|
1039
|
+
super();
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* instance ID
|
|
1043
|
+
* @type {string || null}
|
|
1044
|
+
*/
|
|
1045
|
+
this.InstanceId = null;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Specifies the username used when logging in.
|
|
1049
|
+
* @type {string || null}
|
|
1050
|
+
*/
|
|
1051
|
+
this.User = null;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* Specifies the vhost name.
|
|
1055
|
+
* @type {string || null}
|
|
1056
|
+
*/
|
|
1057
|
+
this.VirtualHost = null;
|
|
1058
|
+
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* @private
|
|
1063
|
+
*/
|
|
1064
|
+
deserialize(params) {
|
|
1065
|
+
if (!params) {
|
|
1066
|
+
return;
|
|
1067
|
+
}
|
|
1068
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1069
|
+
this.User = 'User' in params ? params.User : null;
|
|
1070
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
1071
|
+
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* CreateRabbitMQServerlessVirtualHost response structure.
|
|
1077
|
+
* @class
|
|
1078
|
+
*/
|
|
1079
|
+
class CreateRabbitMQServerlessVirtualHostResponse extends AbstractModel {
|
|
1080
|
+
constructor(){
|
|
1081
|
+
super();
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* Vhost name
|
|
1085
|
+
* @type {string || null}
|
|
1086
|
+
*/
|
|
1087
|
+
this.VirtualHost = null;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* 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.
|
|
1091
|
+
* @type {string || null}
|
|
1092
|
+
*/
|
|
1093
|
+
this.RequestId = null;
|
|
1094
|
+
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* @private
|
|
1099
|
+
*/
|
|
1100
|
+
deserialize(params) {
|
|
1101
|
+
if (!params) {
|
|
1102
|
+
return;
|
|
1103
|
+
}
|
|
1104
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
1105
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1106
|
+
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* ModifyRabbitMQServerlessInstance request structure.
|
|
1112
|
+
* @class
|
|
1113
|
+
*/
|
|
1114
|
+
class ModifyRabbitMQServerlessInstanceRequest extends AbstractModel {
|
|
1115
|
+
constructor(){
|
|
1116
|
+
super();
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Instance ID
|
|
1120
|
+
* @type {string || null}
|
|
1121
|
+
*/
|
|
1122
|
+
this.InstanceId = null;
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Cluster name.
|
|
1126
|
+
* @type {string || null}
|
|
1127
|
+
*/
|
|
1128
|
+
this.ClusterName = null;
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* Remarks
|
|
1132
|
+
* @type {string || null}
|
|
1133
|
+
*/
|
|
1134
|
+
this.Remark = null;
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* Whether trace is enabled.
|
|
1138
|
+
* @type {boolean || null}
|
|
1139
|
+
*/
|
|
1140
|
+
this.TraceFlag = null;
|
|
1141
|
+
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* @private
|
|
1146
|
+
*/
|
|
1147
|
+
deserialize(params) {
|
|
1148
|
+
if (!params) {
|
|
1149
|
+
return;
|
|
1150
|
+
}
|
|
1151
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1152
|
+
this.ClusterName = 'ClusterName' in params ? params.ClusterName : null;
|
|
1153
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
1154
|
+
this.TraceFlag = 'TraceFlag' in params ? params.TraceFlag : null;
|
|
1155
|
+
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* TDMQ for rabbitmq serverless instance.
|
|
1161
|
+
* @class
|
|
1162
|
+
*/
|
|
1163
|
+
class RabbitMQServerlessInstance extends AbstractModel {
|
|
1164
|
+
constructor(){
|
|
1165
|
+
super();
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* Instance ID
|
|
1169
|
+
* @type {string || null}
|
|
1170
|
+
*/
|
|
1171
|
+
this.InstanceId = null;
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Instance name
|
|
1175
|
+
* @type {string || null}
|
|
1176
|
+
*/
|
|
1177
|
+
this.InstanceName = null;
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Instance version.
|
|
1181
|
+
* @type {string || null}
|
|
1182
|
+
*/
|
|
1183
|
+
this.InstanceVersion = null;
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Instance status. 0 indicates creating in progress. 1 indicates normal. 2 indicates isolated. 3 indicates terminated. 4 indicates exception. 5 indicates delivery failed.
|
|
1187
|
+
* @type {number || null}
|
|
1188
|
+
*/
|
|
1189
|
+
this.Status = null;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* MaxTPS
|
|
1193
|
+
* @type {number || null}
|
|
1194
|
+
*/
|
|
1195
|
+
this.MaxTps = null;
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* MaxBandwidth
|
|
1199
|
+
* @type {number || null}
|
|
1200
|
+
*/
|
|
1201
|
+
this.MaxBandWidth = null;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Expiration time of the cluster.
|
|
1205
|
+
* @type {number || null}
|
|
1206
|
+
*/
|
|
1207
|
+
this.ExpireTime = null;
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Auto-renewal flag. 0 indicates the default status (If the default status is not configured, manual renewal is enabled), 1 indicates auto-renewal, and 2 indicates explicitly no auto-renewal (configured by the user).
|
|
1211
|
+
* @type {number || null}
|
|
1212
|
+
*/
|
|
1213
|
+
this.AutoRenewFlag = null;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* 0: Postpaid, 1: Prepaid
|
|
1217
|
+
* @type {number || null}
|
|
1218
|
+
*/
|
|
1219
|
+
this.PayMode = null;
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Remarks
|
|
1223
|
+
* @type {string || null}
|
|
1224
|
+
*/
|
|
1225
|
+
this.Remark = null;
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* Cluster specifications
|
|
1229
|
+
* @type {string || null}
|
|
1230
|
+
*/
|
|
1231
|
+
this.SpecName = null;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Exception information.
|
|
1235
|
+
* @type {string || null}
|
|
1236
|
+
*/
|
|
1237
|
+
this.ExceptionInformation = null;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Public network access point.
|
|
1241
|
+
* @type {string || null}
|
|
1242
|
+
*/
|
|
1243
|
+
this.PublicAccessEndpoint = null;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* The virtual private cloud (vpc) network access point.
|
|
1247
|
+
* @type {Array.<RabbitMQServerlessEndpoint> || null}
|
|
1248
|
+
*/
|
|
1249
|
+
this.Vpcs = null;
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Instance status. 0 indicates creating in progress. 1 indicates normal. 2 indicates isolated. 3 indicates terminated. 4 indicates exception. 5 indicates delivery failed.
|
|
1253
|
+
|
|
1254
|
+
* @type {number || null}
|
|
1255
|
+
*/
|
|
1256
|
+
this.ClusterStatus = null;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Specifies the cluster type: 1.
|
|
1260
|
+
* @type {number || null}
|
|
1261
|
+
*/
|
|
1262
|
+
this.InstanceType = null;
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Expiration time
|
|
1266
|
+
* @type {number || null}
|
|
1267
|
+
*/
|
|
1268
|
+
this.CreateTime = null;
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* For compatibility with the managed version, the fixed value is 0.
|
|
1272
|
+
* @type {number || null}
|
|
1273
|
+
*/
|
|
1274
|
+
this.NodeCount = null;
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* For compatibility with the managed version, the fixed value is 0.
|
|
1278
|
+
* @type {number || null}
|
|
1279
|
+
*/
|
|
1280
|
+
this.MaxStorage = null;
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Isolation time
|
|
1284
|
+
* @type {number || null}
|
|
1285
|
+
*/
|
|
1286
|
+
this.IsolatedTime = null;
|
|
1287
|
+
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* @private
|
|
1292
|
+
*/
|
|
1293
|
+
deserialize(params) {
|
|
1294
|
+
if (!params) {
|
|
1295
|
+
return;
|
|
1296
|
+
}
|
|
1297
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1298
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
1299
|
+
this.InstanceVersion = 'InstanceVersion' in params ? params.InstanceVersion : null;
|
|
1300
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1301
|
+
this.MaxTps = 'MaxTps' in params ? params.MaxTps : null;
|
|
1302
|
+
this.MaxBandWidth = 'MaxBandWidth' in params ? params.MaxBandWidth : null;
|
|
1303
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
1304
|
+
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
1305
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
1306
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
1307
|
+
this.SpecName = 'SpecName' in params ? params.SpecName : null;
|
|
1308
|
+
this.ExceptionInformation = 'ExceptionInformation' in params ? params.ExceptionInformation : null;
|
|
1309
|
+
this.PublicAccessEndpoint = 'PublicAccessEndpoint' in params ? params.PublicAccessEndpoint : null;
|
|
1310
|
+
|
|
1311
|
+
if (params.Vpcs) {
|
|
1312
|
+
this.Vpcs = new Array();
|
|
1313
|
+
for (let z in params.Vpcs) {
|
|
1314
|
+
let obj = new RabbitMQServerlessEndpoint();
|
|
1315
|
+
obj.deserialize(params.Vpcs[z]);
|
|
1316
|
+
this.Vpcs.push(obj);
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
this.ClusterStatus = 'ClusterStatus' in params ? params.ClusterStatus : null;
|
|
1320
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
1321
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1322
|
+
this.NodeCount = 'NodeCount' in params ? params.NodeCount : null;
|
|
1323
|
+
this.MaxStorage = 'MaxStorage' in params ? params.MaxStorage : null;
|
|
1324
|
+
this.IsolatedTime = 'IsolatedTime' in params ? params.IsolatedTime : null;
|
|
1325
|
+
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* DescribeRabbitMQServerlessExchanges response structure.
|
|
1331
|
+
* @class
|
|
1332
|
+
*/
|
|
1333
|
+
class DescribeRabbitMQServerlessExchangesResponse extends AbstractModel {
|
|
1334
|
+
constructor(){
|
|
1335
|
+
super();
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* exchanges list.
|
|
1339
|
+
* @type {Array.<RabbitMQExchangeListInfo> || null}
|
|
1340
|
+
*/
|
|
1341
|
+
this.ExchangeInfoList = null;
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* Total count of exchanges.
|
|
1345
|
+
* @type {number || null}
|
|
1346
|
+
*/
|
|
1347
|
+
this.TotalCount = null;
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* 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.
|
|
1351
|
+
* @type {string || null}
|
|
1352
|
+
*/
|
|
1353
|
+
this.RequestId = null;
|
|
1354
|
+
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* @private
|
|
1359
|
+
*/
|
|
1360
|
+
deserialize(params) {
|
|
1361
|
+
if (!params) {
|
|
1362
|
+
return;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
if (params.ExchangeInfoList) {
|
|
1366
|
+
this.ExchangeInfoList = new Array();
|
|
1367
|
+
for (let z in params.ExchangeInfoList) {
|
|
1368
|
+
let obj = new RabbitMQExchangeListInfo();
|
|
1369
|
+
obj.deserialize(params.ExchangeInfoList[z]);
|
|
1370
|
+
this.ExchangeInfoList.push(obj);
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1374
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1375
|
+
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* DeleteRabbitMQServerlessVirtualHost response structure.
|
|
1381
|
+
* @class
|
|
1382
|
+
*/
|
|
1383
|
+
class DeleteRabbitMQServerlessVirtualHostResponse extends AbstractModel {
|
|
1384
|
+
constructor(){
|
|
1385
|
+
super();
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* 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.
|
|
1389
|
+
* @type {string || null}
|
|
1390
|
+
*/
|
|
1391
|
+
this.RequestId = null;
|
|
1392
|
+
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* @private
|
|
1397
|
+
*/
|
|
1398
|
+
deserialize(params) {
|
|
1399
|
+
if (!params) {
|
|
1400
|
+
return;
|
|
1401
|
+
}
|
|
1402
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1403
|
+
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* RabbitMQ user info detail.
|
|
1409
|
+
* @class
|
|
1410
|
+
*/
|
|
1411
|
+
class RabbitMQUser extends AbstractModel {
|
|
1412
|
+
constructor(){
|
|
1413
|
+
super();
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* instance ID
|
|
1417
|
+
* @type {string || null}
|
|
1418
|
+
*/
|
|
1419
|
+
this.InstanceId = null;
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Specifies the username used when logging in.
|
|
1423
|
+
* @type {string || null}
|
|
1424
|
+
*/
|
|
1425
|
+
this.User = null;
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* Password. specifies the password used when logging in.
|
|
1429
|
+
* @type {string || null}
|
|
1430
|
+
*/
|
|
1431
|
+
this.Password = null;
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* User description
|
|
1435
|
+
* @type {string || null}
|
|
1436
|
+
*/
|
|
1437
|
+
this.Description = null;
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* User tag. specifies to determine the access permission scope of this user to RabbitMQ Management.
|
|
1441
|
+
* @type {Array.<string> || null}
|
|
1442
|
+
*/
|
|
1443
|
+
this.Tags = null;
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* User creation time
|
|
1447
|
+
* @type {string || null}
|
|
1448
|
+
*/
|
|
1449
|
+
this.CreateTime = null;
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Last modification time of the user.
|
|
1453
|
+
* @type {string || null}
|
|
1454
|
+
*/
|
|
1455
|
+
this.ModifyTime = null;
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Type of User. specifies that "System" indicates System creation and "User" indicates User-created.
|
|
1459
|
+
* @type {string || null}
|
|
1460
|
+
*/
|
|
1461
|
+
this.Type = null;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Specifies the maximum number of connections allowed for this user.
|
|
1465
|
+
* @type {number || null}
|
|
1466
|
+
*/
|
|
1467
|
+
this.MaxConnections = null;
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* The maximum number of channels allowed for this user.
|
|
1471
|
+
* @type {number || null}
|
|
1472
|
+
*/
|
|
1473
|
+
this.MaxChannels = null;
|
|
1474
|
+
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* @private
|
|
1479
|
+
*/
|
|
1480
|
+
deserialize(params) {
|
|
1481
|
+
if (!params) {
|
|
1482
|
+
return;
|
|
1483
|
+
}
|
|
1484
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1485
|
+
this.User = 'User' in params ? params.User : null;
|
|
1486
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
1487
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1488
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
1489
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1490
|
+
this.ModifyTime = 'ModifyTime' in params ? params.ModifyTime : null;
|
|
1491
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1492
|
+
this.MaxConnections = 'MaxConnections' in params ? params.MaxConnections : null;
|
|
1493
|
+
this.MaxChannels = 'MaxChannels' in params ? params.MaxChannels : null;
|
|
1494
|
+
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Public network access information.
|
|
1500
|
+
* @class
|
|
1501
|
+
*/
|
|
1502
|
+
class RabbitMQServerlessAccessInfo extends AbstractModel {
|
|
1503
|
+
constructor(){
|
|
1504
|
+
super();
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Public network domain.
|
|
1508
|
+
* @type {string || null}
|
|
1509
|
+
*/
|
|
1510
|
+
this.PublicAccessEndpoint = null;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Public network status.
|
|
1514
|
+
* @type {string || null}
|
|
1515
|
+
*/
|
|
1516
|
+
this.PublicDataStreamStatus = null;
|
|
1517
|
+
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* @private
|
|
1522
|
+
*/
|
|
1523
|
+
deserialize(params) {
|
|
1524
|
+
if (!params) {
|
|
1525
|
+
return;
|
|
1526
|
+
}
|
|
1527
|
+
this.PublicAccessEndpoint = 'PublicAccessEndpoint' in params ? params.PublicAccessEndpoint : null;
|
|
1528
|
+
this.PublicDataStreamStatus = 'PublicDataStreamStatus' in params ? params.PublicDataStreamStatus : null;
|
|
1529
|
+
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* RabbitMQ permission details.
|
|
1535
|
+
* @class
|
|
1536
|
+
*/
|
|
1537
|
+
class RabbitMQPermission extends AbstractModel {
|
|
1538
|
+
constructor(){
|
|
1539
|
+
super();
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* instance ID
|
|
1543
|
+
* @type {string || null}
|
|
1544
|
+
*/
|
|
1545
|
+
this.InstanceId = null;
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* Specifies the username, which is the user associated with the permission.
|
|
1549
|
+
* @type {string || null}
|
|
1550
|
+
*/
|
|
1551
|
+
this.User = null;
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* vhost name.
|
|
1555
|
+
* @type {string || null}
|
|
1556
|
+
*/
|
|
1557
|
+
this.VirtualHost = null;
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* Types of permissions. declare related operations. for the user, it is operable to perform operations on the resource name under the vhost that matches the regular expression.
|
|
1561
|
+
* @type {string || null}
|
|
1562
|
+
*/
|
|
1563
|
+
this.ConfigRegexp = null;
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Types of permissions. message write related operations. the user can operate on the resource names under the vhost that match the regular expression.
|
|
1567
|
+
* @type {string || null}
|
|
1568
|
+
*/
|
|
1569
|
+
this.WriteRegexp = null;
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* Types of permissions. message read related operations. the user can operate on the resource name under the vhost that matches the regular expression.
|
|
1573
|
+
* @type {string || null}
|
|
1574
|
+
*/
|
|
1575
|
+
this.ReadRegexp = null;
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* Creation time
|
|
1579
|
+
* @type {string || null}
|
|
1580
|
+
*/
|
|
1581
|
+
this.CreateTime = null;
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Modification time
|
|
1585
|
+
* @type {string || null}
|
|
1586
|
+
*/
|
|
1587
|
+
this.ModifyTime = null;
|
|
1588
|
+
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* @private
|
|
1593
|
+
*/
|
|
1594
|
+
deserialize(params) {
|
|
1595
|
+
if (!params) {
|
|
1596
|
+
return;
|
|
1597
|
+
}
|
|
1598
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1599
|
+
this.User = 'User' in params ? params.User : null;
|
|
1600
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
1601
|
+
this.ConfigRegexp = 'ConfigRegexp' in params ? params.ConfigRegexp : null;
|
|
1602
|
+
this.WriteRegexp = 'WriteRegexp' in params ? params.WriteRegexp : null;
|
|
1603
|
+
this.ReadRegexp = 'ReadRegexp' in params ? params.ReadRegexp : null;
|
|
1604
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1605
|
+
this.ModifyTime = 'ModifyTime' in params ? params.ModifyTime : null;
|
|
1606
|
+
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* Specifies the queue usage quota information.
|
|
1612
|
+
* @class
|
|
1613
|
+
*/
|
|
1614
|
+
class QueueQuota extends AbstractModel {
|
|
1615
|
+
constructor(){
|
|
1616
|
+
super();
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Specifies the maximum number of queues that can be created.
|
|
1620
|
+
* @type {number || null}
|
|
1621
|
+
*/
|
|
1622
|
+
this.MaxQueue = null;
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* Number of queues created.
|
|
1626
|
+
* @type {number || null}
|
|
1627
|
+
*/
|
|
1628
|
+
this.UsedQueue = null;
|
|
1629
|
+
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* @private
|
|
1634
|
+
*/
|
|
1635
|
+
deserialize(params) {
|
|
1636
|
+
if (!params) {
|
|
1637
|
+
return;
|
|
1638
|
+
}
|
|
1639
|
+
this.MaxQueue = 'MaxQueue' in params ? params.MaxQueue : null;
|
|
1640
|
+
this.UsedQueue = 'UsedQueue' in params ? params.UsedQueue : null;
|
|
1641
|
+
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* DescribeRabbitMQServerlessVirtualHost response structure.
|
|
1647
|
+
* @class
|
|
1648
|
+
*/
|
|
1649
|
+
class DescribeRabbitMQServerlessVirtualHostResponse extends AbstractModel {
|
|
1650
|
+
constructor(){
|
|
1651
|
+
super();
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* Return the number of vhosts.
|
|
1655
|
+
* @type {number || null}
|
|
1656
|
+
*/
|
|
1657
|
+
this.TotalCount = null;
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Specifies the list of details of the vhost.
|
|
1661
|
+
* @type {Array.<RabbitMQVirtualHostInfo> || null}
|
|
1662
|
+
*/
|
|
1663
|
+
this.VirtualHostList = null;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* 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.
|
|
1667
|
+
* @type {string || null}
|
|
1668
|
+
*/
|
|
1669
|
+
this.RequestId = null;
|
|
1670
|
+
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* @private
|
|
1675
|
+
*/
|
|
1676
|
+
deserialize(params) {
|
|
1677
|
+
if (!params) {
|
|
1678
|
+
return;
|
|
1679
|
+
}
|
|
1680
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1681
|
+
|
|
1682
|
+
if (params.VirtualHostList) {
|
|
1683
|
+
this.VirtualHostList = new Array();
|
|
1684
|
+
for (let z in params.VirtualHostList) {
|
|
1685
|
+
let obj = new RabbitMQVirtualHostInfo();
|
|
1686
|
+
obj.deserialize(params.VirtualHostList[z]);
|
|
1687
|
+
this.VirtualHostList.push(obj);
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1691
|
+
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* DescribeRabbitMQServerlessQueues response structure.
|
|
1697
|
+
* @class
|
|
1698
|
+
*/
|
|
1699
|
+
class DescribeRabbitMQServerlessQueuesResponse extends AbstractModel {
|
|
1700
|
+
constructor(){
|
|
1701
|
+
super();
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* Queue list information.
|
|
1705
|
+
* @type {Array.<RabbitMQQueueListInfo> || null}
|
|
1706
|
+
*/
|
|
1707
|
+
this.QueueInfoList = null;
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* Quantity
|
|
1711
|
+
* @type {number || null}
|
|
1712
|
+
*/
|
|
1713
|
+
this.TotalCount = null;
|
|
1714
|
+
|
|
1715
|
+
/**
|
|
1716
|
+
* 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.
|
|
1717
|
+
* @type {string || null}
|
|
1718
|
+
*/
|
|
1719
|
+
this.RequestId = null;
|
|
1720
|
+
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* @private
|
|
1725
|
+
*/
|
|
1726
|
+
deserialize(params) {
|
|
1727
|
+
if (!params) {
|
|
1728
|
+
return;
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
if (params.QueueInfoList) {
|
|
1732
|
+
this.QueueInfoList = new Array();
|
|
1733
|
+
for (let z in params.QueueInfoList) {
|
|
1734
|
+
let obj = new RabbitMQQueueListInfo();
|
|
1735
|
+
obj.deserialize(params.QueueInfoList[z]);
|
|
1736
|
+
this.QueueInfoList.push(obj);
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1740
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1741
|
+
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* ModifyRabbitMQServerlessInstance response structure.
|
|
1747
|
+
* @class
|
|
1748
|
+
*/
|
|
1749
|
+
class ModifyRabbitMQServerlessInstanceResponse extends AbstractModel {
|
|
1750
|
+
constructor(){
|
|
1751
|
+
super();
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Instance ID
|
|
1755
|
+
* @type {string || null}
|
|
1756
|
+
*/
|
|
1757
|
+
this.InstanceId = null;
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* 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.
|
|
1761
|
+
* @type {string || null}
|
|
1762
|
+
*/
|
|
1763
|
+
this.RequestId = null;
|
|
1764
|
+
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* @private
|
|
1769
|
+
*/
|
|
1770
|
+
deserialize(params) {
|
|
1771
|
+
if (!params) {
|
|
1772
|
+
return;
|
|
1773
|
+
}
|
|
1774
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1775
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1776
|
+
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* ModifyRabbitMQServerlessVirtualHost response structure.
|
|
1782
|
+
* @class
|
|
1783
|
+
*/
|
|
1784
|
+
class ModifyRabbitMQServerlessVirtualHostResponse extends AbstractModel {
|
|
1785
|
+
constructor(){
|
|
1786
|
+
super();
|
|
1787
|
+
|
|
1788
|
+
/**
|
|
1789
|
+
* 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.
|
|
1790
|
+
* @type {string || null}
|
|
1791
|
+
*/
|
|
1792
|
+
this.RequestId = null;
|
|
1793
|
+
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* @private
|
|
1798
|
+
*/
|
|
1799
|
+
deserialize(params) {
|
|
1800
|
+
if (!params) {
|
|
1801
|
+
return;
|
|
1802
|
+
}
|
|
1803
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1804
|
+
|
|
1805
|
+
}
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
/**
|
|
1809
|
+
* CreateRabbitMQServerlessExchange request structure.
|
|
1810
|
+
* @class
|
|
1811
|
+
*/
|
|
1812
|
+
class CreateRabbitMQServerlessExchangeRequest extends AbstractModel {
|
|
1813
|
+
constructor(){
|
|
1814
|
+
super();
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Instance ID
|
|
1818
|
+
* @type {string || null}
|
|
1819
|
+
*/
|
|
1820
|
+
this.InstanceId = null;
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* VHost parameter.
|
|
1824
|
+
* @type {string || null}
|
|
1825
|
+
*/
|
|
1826
|
+
this.VirtualHost = null;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* exchange name.
|
|
1830
|
+
* @type {string || null}
|
|
1831
|
+
*/
|
|
1832
|
+
this.ExchangeName = null;
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* Specifies the exchange type. valid values: "fanout", "direct", "topic", "headers".
|
|
1836
|
+
* @type {string || null}
|
|
1837
|
+
*/
|
|
1838
|
+
this.ExchangeType = null;
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* Specifies the remark for exchange.
|
|
1842
|
+
* @type {string || null}
|
|
1843
|
+
*/
|
|
1844
|
+
this.Remark = null;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* Specifies whether it is a persistent exchange. when the cluster restarts, all exchanges with this field set to "false" will be cleared.
|
|
1848
|
+
* @type {boolean || null}
|
|
1849
|
+
*/
|
|
1850
|
+
this.Durable = null;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Whether to auto-delete this exchange. if set to "true", the exchange will be automatically deleted when all routing relationships on the current exchange are unbound.
|
|
1854
|
+
* @type {boolean || null}
|
|
1855
|
+
*/
|
|
1856
|
+
this.AutoDelete = null;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* Specifies whether it is an internal exchange. if set to "true", messages cannot be directly delivered to this exchange. they need to be forwarded through another exchange in the routing settings.
|
|
1860
|
+
* @type {boolean || null}
|
|
1861
|
+
*/
|
|
1862
|
+
this.Internal = null;
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* Alternative exchange. if a message cannot be sent to the current exchange, it will be sent to this alternative exchange.
|
|
1866
|
+
* @type {string || null}
|
|
1867
|
+
*/
|
|
1868
|
+
this.AlternateExchange = null;
|
|
1869
|
+
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* @private
|
|
1874
|
+
*/
|
|
1875
|
+
deserialize(params) {
|
|
1876
|
+
if (!params) {
|
|
1877
|
+
return;
|
|
1878
|
+
}
|
|
1879
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1880
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
1881
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
1882
|
+
this.ExchangeType = 'ExchangeType' in params ? params.ExchangeType : null;
|
|
1883
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
1884
|
+
this.Durable = 'Durable' in params ? params.Durable : null;
|
|
1885
|
+
this.AutoDelete = 'AutoDelete' in params ? params.AutoDelete : null;
|
|
1886
|
+
this.Internal = 'Internal' in params ? params.Internal : null;
|
|
1887
|
+
this.AlternateExchange = 'AlternateExchange' in params ? params.AlternateExchange : null;
|
|
1888
|
+
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* DescribeRabbitMQServerlessConnection request structure.
|
|
1894
|
+
* @class
|
|
1895
|
+
*/
|
|
1896
|
+
class DescribeRabbitMQServerlessConnectionRequest extends AbstractModel {
|
|
1897
|
+
constructor(){
|
|
1898
|
+
super();
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* instance ID
|
|
1902
|
+
* @type {string || null}
|
|
1903
|
+
*/
|
|
1904
|
+
this.InstanceId = null;
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* Specifies the vhost name.
|
|
1908
|
+
* @type {string || null}
|
|
1909
|
+
*/
|
|
1910
|
+
this.VirtualHost = null;
|
|
1911
|
+
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* @private
|
|
1916
|
+
*/
|
|
1917
|
+
deserialize(params) {
|
|
1918
|
+
if (!params) {
|
|
1919
|
+
return;
|
|
1920
|
+
}
|
|
1921
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1922
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
1923
|
+
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* DescribeRabbitMQServerlessUser request structure.
|
|
1929
|
+
* @class
|
|
1930
|
+
*/
|
|
1931
|
+
class DescribeRabbitMQServerlessUserRequest extends AbstractModel {
|
|
1932
|
+
constructor(){
|
|
1933
|
+
super();
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* instance ID
|
|
1937
|
+
* @type {string || null}
|
|
1938
|
+
*/
|
|
1939
|
+
this.InstanceId = null;
|
|
1940
|
+
|
|
1941
|
+
/**
|
|
1942
|
+
* Retrieves usernames. supports prefix match and suffix matching.
|
|
1943
|
+
* @type {string || null}
|
|
1944
|
+
*/
|
|
1945
|
+
this.SearchUser = null;
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Pagination offset
|
|
1949
|
+
* @type {number || null}
|
|
1950
|
+
*/
|
|
1951
|
+
this.Offset = null;
|
|
1952
|
+
|
|
1953
|
+
/**
|
|
1954
|
+
* Pagination limit
|
|
1955
|
+
* @type {number || null}
|
|
1956
|
+
*/
|
|
1957
|
+
this.Limit = null;
|
|
1958
|
+
|
|
1959
|
+
/**
|
|
1960
|
+
* Specifies the username for an exact query.
|
|
1961
|
+
* @type {string || null}
|
|
1962
|
+
*/
|
|
1963
|
+
this.User = null;
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* User tag. filters by Tag filter list.
|
|
1967
|
+
* @type {Array.<string> || null}
|
|
1968
|
+
*/
|
|
1969
|
+
this.Tags = null;
|
|
1970
|
+
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* @private
|
|
1975
|
+
*/
|
|
1976
|
+
deserialize(params) {
|
|
1977
|
+
if (!params) {
|
|
1978
|
+
return;
|
|
1979
|
+
}
|
|
1980
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1981
|
+
this.SearchUser = 'SearchUser' in params ? params.SearchUser : null;
|
|
1982
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1983
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1984
|
+
this.User = 'User' in params ? params.User : null;
|
|
1985
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
1986
|
+
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* DeleteRabbitMQServerlessUser response structure.
|
|
1992
|
+
* @class
|
|
1993
|
+
*/
|
|
1994
|
+
class DeleteRabbitMQServerlessUserResponse extends AbstractModel {
|
|
1995
|
+
constructor(){
|
|
1996
|
+
super();
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* 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.
|
|
2000
|
+
* @type {string || null}
|
|
2001
|
+
*/
|
|
2002
|
+
this.RequestId = null;
|
|
2003
|
+
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* @private
|
|
2008
|
+
*/
|
|
2009
|
+
deserialize(params) {
|
|
2010
|
+
if (!params) {
|
|
2011
|
+
return;
|
|
2012
|
+
}
|
|
2013
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2014
|
+
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* RabbitMQ cluster basic information.
|
|
2020
|
+
* @class
|
|
2021
|
+
*/
|
|
2022
|
+
class RabbitMQClusterInfo extends AbstractModel {
|
|
2023
|
+
constructor(){
|
|
2024
|
+
super();
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* Cluster ID
|
|
2028
|
+
* @type {string || null}
|
|
2029
|
+
*/
|
|
2030
|
+
this.ClusterId = null;
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* Cluster name.
|
|
2034
|
+
* @type {string || null}
|
|
2035
|
+
*/
|
|
2036
|
+
this.ClusterName = null;
|
|
2037
|
+
|
|
2038
|
+
/**
|
|
2039
|
+
* Region information
|
|
2040
|
+
* @type {string || null}
|
|
2041
|
+
*/
|
|
2042
|
+
this.Region = null;
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* Creation time, in milliseconds
|
|
2046
|
+
* @type {number || null}
|
|
2047
|
+
*/
|
|
2048
|
+
this.CreateTime = null;
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Cluster description remark information
|
|
2052
|
+
* @type {string || null}
|
|
2053
|
+
*/
|
|
2054
|
+
this.Remark = null;
|
|
2055
|
+
|
|
2056
|
+
/**
|
|
2057
|
+
* VPC and network information.
|
|
2058
|
+
* @type {Array.<VpcEndpointInfo> || null}
|
|
2059
|
+
*/
|
|
2060
|
+
this.Vpcs = null;
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* Availability zone information
|
|
2064
|
+
* @type {Array.<number> || null}
|
|
2065
|
+
*/
|
|
2066
|
+
this.ZoneIds = null;
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* number of virtual hosts.
|
|
2070
|
+
* @type {number || null}
|
|
2071
|
+
*/
|
|
2072
|
+
this.VirtualHostNumber = null;
|
|
2073
|
+
|
|
2074
|
+
/**
|
|
2075
|
+
* Number of queues
|
|
2076
|
+
* @type {number || null}
|
|
2077
|
+
*/
|
|
2078
|
+
this.QueueNumber = null;
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Number of messages produced per second (measurement unit: messages/second).
|
|
2082
|
+
* @type {number || null}
|
|
2083
|
+
*/
|
|
2084
|
+
this.MessagePublishRate = null;
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* Number of accumulated messages. valid values: pieces.
|
|
2088
|
+
* @type {number || null}
|
|
2089
|
+
*/
|
|
2090
|
+
this.MessageStackNumber = null;
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* Expiration time
|
|
2094
|
+
* @type {number || null}
|
|
2095
|
+
*/
|
|
2096
|
+
this.ExpireTime = null;
|
|
2097
|
+
|
|
2098
|
+
/**
|
|
2099
|
+
* number of channels.
|
|
2100
|
+
* @type {number || null}
|
|
2101
|
+
*/
|
|
2102
|
+
this.ChannelNumber = null;
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* number of connections.
|
|
2106
|
+
* @type {number || null}
|
|
2107
|
+
*/
|
|
2108
|
+
this.ConnectionNumber = null;
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* Number of consumers.
|
|
2112
|
+
* @type {number || null}
|
|
2113
|
+
*/
|
|
2114
|
+
this.ConsumerNumber = null;
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* Number of Exchanges.
|
|
2118
|
+
* @type {number || null}
|
|
2119
|
+
*/
|
|
2120
|
+
this.ExchangeNumber = null;
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* Cluster exception information.
|
|
2124
|
+
* @type {string || null}
|
|
2125
|
+
*/
|
|
2126
|
+
this.ExceptionInformation = null;
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* Instance status. 0 indicates creating in progress. 1 indicates normal. 2 indicates isolated. 3 indicates terminated. 4 indicates exception. 5 indicates delivery failed.
|
|
2130
|
+
* @type {number || null}
|
|
2131
|
+
*/
|
|
2132
|
+
this.ClusterStatus = null;
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Auto-renewal flag. 0 indicates the default status (If the default status is not configured, manual renewal is enabled), 1 indicates auto-renewal, and 2 indicates explicitly no auto-renewal (configured by the user).
|
|
2136
|
+
* @type {number || null}
|
|
2137
|
+
*/
|
|
2138
|
+
this.AutoRenewFlag = null;
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* Whether the mirrored queue strategy is enabled. 1 indicates enabled, and 0 indicates not enabled.
|
|
2142
|
+
* @type {number || null}
|
|
2143
|
+
*/
|
|
2144
|
+
this.MirrorQueuePolicyFlag = null;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Number of messages consumed per second (measurement unit: messages/second).
|
|
2148
|
+
* @type {number || null}
|
|
2149
|
+
*/
|
|
2150
|
+
this.MessageConsumeRate = null;
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* Specifies the cluster version information.
|
|
2154
|
+
* @type {string || null}
|
|
2155
|
+
*/
|
|
2156
|
+
this.ClusterVersion = null;
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* Billing mode. valid values: 0 (postpaid), 1 (prepaid).
|
|
2160
|
+
* @type {number || null}
|
|
2161
|
+
*/
|
|
2162
|
+
this.PayMode = null;
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* Specifies the cluster type.
|
|
2166
|
+
* @type {number || null}
|
|
2167
|
+
*/
|
|
2168
|
+
this.InstanceType = null;
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* Specifies the message retention time, in hours.
|
|
2172
|
+
* @type {number || null}
|
|
2173
|
+
*/
|
|
2174
|
+
this.MessageRetainTime = null;
|
|
2175
|
+
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* @private
|
|
2180
|
+
*/
|
|
2181
|
+
deserialize(params) {
|
|
2182
|
+
if (!params) {
|
|
2183
|
+
return;
|
|
2184
|
+
}
|
|
2185
|
+
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
2186
|
+
this.ClusterName = 'ClusterName' in params ? params.ClusterName : null;
|
|
2187
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
2188
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2189
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
2190
|
+
|
|
2191
|
+
if (params.Vpcs) {
|
|
2192
|
+
this.Vpcs = new Array();
|
|
2193
|
+
for (let z in params.Vpcs) {
|
|
2194
|
+
let obj = new VpcEndpointInfo();
|
|
2195
|
+
obj.deserialize(params.Vpcs[z]);
|
|
2196
|
+
this.Vpcs.push(obj);
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
this.ZoneIds = 'ZoneIds' in params ? params.ZoneIds : null;
|
|
2200
|
+
this.VirtualHostNumber = 'VirtualHostNumber' in params ? params.VirtualHostNumber : null;
|
|
2201
|
+
this.QueueNumber = 'QueueNumber' in params ? params.QueueNumber : null;
|
|
2202
|
+
this.MessagePublishRate = 'MessagePublishRate' in params ? params.MessagePublishRate : null;
|
|
2203
|
+
this.MessageStackNumber = 'MessageStackNumber' in params ? params.MessageStackNumber : null;
|
|
2204
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
2205
|
+
this.ChannelNumber = 'ChannelNumber' in params ? params.ChannelNumber : null;
|
|
2206
|
+
this.ConnectionNumber = 'ConnectionNumber' in params ? params.ConnectionNumber : null;
|
|
2207
|
+
this.ConsumerNumber = 'ConsumerNumber' in params ? params.ConsumerNumber : null;
|
|
2208
|
+
this.ExchangeNumber = 'ExchangeNumber' in params ? params.ExchangeNumber : null;
|
|
2209
|
+
this.ExceptionInformation = 'ExceptionInformation' in params ? params.ExceptionInformation : null;
|
|
2210
|
+
this.ClusterStatus = 'ClusterStatus' in params ? params.ClusterStatus : null;
|
|
2211
|
+
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
2212
|
+
this.MirrorQueuePolicyFlag = 'MirrorQueuePolicyFlag' in params ? params.MirrorQueuePolicyFlag : null;
|
|
2213
|
+
this.MessageConsumeRate = 'MessageConsumeRate' in params ? params.MessageConsumeRate : null;
|
|
2214
|
+
this.ClusterVersion = 'ClusterVersion' in params ? params.ClusterVersion : null;
|
|
2215
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
2216
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
2217
|
+
this.MessageRetainTime = 'MessageRetainTime' in params ? params.MessageRetainTime : null;
|
|
2218
|
+
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* DescribeRabbitMQServerlessBindings response structure.
|
|
2224
|
+
* @class
|
|
2225
|
+
*/
|
|
2226
|
+
class DescribeRabbitMQServerlessBindingsResponse extends AbstractModel {
|
|
2227
|
+
constructor(){
|
|
2228
|
+
super();
|
|
2229
|
+
|
|
2230
|
+
/**
|
|
2231
|
+
* Route relationship list
|
|
2232
|
+
* @type {Array.<RabbitMQBindingListInfo> || null}
|
|
2233
|
+
*/
|
|
2234
|
+
this.BindingInfoList = null;
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Quantity
|
|
2238
|
+
* @type {number || null}
|
|
2239
|
+
*/
|
|
2240
|
+
this.TotalCount = null;
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* 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.
|
|
2244
|
+
* @type {string || null}
|
|
2245
|
+
*/
|
|
2246
|
+
this.RequestId = null;
|
|
2247
|
+
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
/**
|
|
2251
|
+
* @private
|
|
2252
|
+
*/
|
|
2253
|
+
deserialize(params) {
|
|
2254
|
+
if (!params) {
|
|
2255
|
+
return;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
if (params.BindingInfoList) {
|
|
2259
|
+
this.BindingInfoList = new Array();
|
|
2260
|
+
for (let z in params.BindingInfoList) {
|
|
2261
|
+
let obj = new RabbitMQBindingListInfo();
|
|
2262
|
+
obj.deserialize(params.BindingInfoList[z]);
|
|
2263
|
+
this.BindingInfoList.push(obj);
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2267
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2268
|
+
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* CreateRabbitMQServerlessExchange response structure.
|
|
2274
|
+
* @class
|
|
2275
|
+
*/
|
|
2276
|
+
class CreateRabbitMQServerlessExchangeResponse extends AbstractModel {
|
|
2277
|
+
constructor(){
|
|
2278
|
+
super();
|
|
2279
|
+
|
|
2280
|
+
/**
|
|
2281
|
+
* exchange name.
|
|
2282
|
+
* @type {string || null}
|
|
2283
|
+
*/
|
|
2284
|
+
this.ExchangeName = null;
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
* 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.
|
|
2288
|
+
* @type {string || null}
|
|
2289
|
+
*/
|
|
2290
|
+
this.RequestId = null;
|
|
2291
|
+
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
/**
|
|
2295
|
+
* @private
|
|
2296
|
+
*/
|
|
2297
|
+
deserialize(params) {
|
|
2298
|
+
if (!params) {
|
|
2299
|
+
return;
|
|
2300
|
+
}
|
|
2301
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
2302
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2303
|
+
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* DeleteRabbitMQServerlessExchange response structure.
|
|
2309
|
+
* @class
|
|
2310
|
+
*/
|
|
2311
|
+
class DeleteRabbitMQServerlessExchangeResponse extends AbstractModel {
|
|
2312
|
+
constructor(){
|
|
2313
|
+
super();
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* exchange name.
|
|
2317
|
+
* @type {string || null}
|
|
2318
|
+
*/
|
|
2319
|
+
this.ExchangeName = null;
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* 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.
|
|
2323
|
+
* @type {string || null}
|
|
2324
|
+
*/
|
|
2325
|
+
this.RequestId = null;
|
|
2326
|
+
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* @private
|
|
2331
|
+
*/
|
|
2332
|
+
deserialize(params) {
|
|
2333
|
+
if (!params) {
|
|
2334
|
+
return;
|
|
2335
|
+
}
|
|
2336
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
2337
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2338
|
+
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* DeleteRabbitMQServerlessUser request structure.
|
|
2344
|
+
* @class
|
|
2345
|
+
*/
|
|
2346
|
+
class DeleteRabbitMQServerlessUserRequest extends AbstractModel {
|
|
2347
|
+
constructor(){
|
|
2348
|
+
super();
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* instance ID
|
|
2352
|
+
* @type {string || null}
|
|
2353
|
+
*/
|
|
2354
|
+
this.InstanceId = null;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* Specifies the username used when logging in.
|
|
2358
|
+
* @type {string || null}
|
|
2359
|
+
*/
|
|
2360
|
+
this.User = null;
|
|
2361
|
+
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* @private
|
|
2366
|
+
*/
|
|
2367
|
+
deserialize(params) {
|
|
2368
|
+
if (!params) {
|
|
2369
|
+
return;
|
|
2370
|
+
}
|
|
2371
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2372
|
+
this.User = 'User' in params ? params.User : null;
|
|
2373
|
+
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
/**
|
|
2378
|
+
* DescribeRabbitMQServerlessConsumers request structure.
|
|
2379
|
+
* @class
|
|
2380
|
+
*/
|
|
2381
|
+
class DescribeRabbitMQServerlessConsumersRequest extends AbstractModel {
|
|
2382
|
+
constructor(){
|
|
2383
|
+
super();
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* Instance ID
|
|
2387
|
+
* @type {string || null}
|
|
2388
|
+
*/
|
|
2389
|
+
this.InstanceId = null;
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* Vhost parameter.
|
|
2393
|
+
* @type {string || null}
|
|
2394
|
+
*/
|
|
2395
|
+
this.VirtualHost = null;
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* Queue name.
|
|
2399
|
+
* @type {string || null}
|
|
2400
|
+
*/
|
|
2401
|
+
this.QueueName = null;
|
|
2402
|
+
|
|
2403
|
+
/**
|
|
2404
|
+
* Pagination limit
|
|
2405
|
+
* @type {number || null}
|
|
2406
|
+
*/
|
|
2407
|
+
this.Limit = null;
|
|
2408
|
+
|
|
2409
|
+
/**
|
|
2410
|
+
* Pagination offset
|
|
2411
|
+
* @type {number || null}
|
|
2412
|
+
*/
|
|
2413
|
+
this.Offset = null;
|
|
2414
|
+
|
|
2415
|
+
/**
|
|
2416
|
+
* Search keywords
|
|
2417
|
+
* @type {string || null}
|
|
2418
|
+
*/
|
|
2419
|
+
this.SearchWord = null;
|
|
2420
|
+
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
/**
|
|
2424
|
+
* @private
|
|
2425
|
+
*/
|
|
2426
|
+
deserialize(params) {
|
|
2427
|
+
if (!params) {
|
|
2428
|
+
return;
|
|
2429
|
+
}
|
|
2430
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2431
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
2432
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
2433
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2434
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2435
|
+
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
2436
|
+
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* Queue consumer list information.
|
|
2442
|
+
* @class
|
|
2443
|
+
*/
|
|
2444
|
+
class RabbitMQConsumersListInfo extends AbstractModel {
|
|
2445
|
+
constructor(){
|
|
2446
|
+
super();
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* Client Ip.
|
|
2450
|
+
* @type {string || null}
|
|
2451
|
+
*/
|
|
2452
|
+
this.ClientIp = null;
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* Consumer Tag.
|
|
2456
|
+
* @type {string || null}
|
|
2457
|
+
*/
|
|
2458
|
+
this.ConsumerTag = null;
|
|
2459
|
+
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
* @private
|
|
2464
|
+
*/
|
|
2465
|
+
deserialize(params) {
|
|
2466
|
+
if (!params) {
|
|
2467
|
+
return;
|
|
2468
|
+
}
|
|
2469
|
+
this.ClientIp = 'ClientIp' in params ? params.ClientIp : null;
|
|
2470
|
+
this.ConsumerTag = 'ConsumerTag' in params ? params.ConsumerTag : null;
|
|
2471
|
+
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* CreateRabbitMQServerlessBinding response structure.
|
|
2477
|
+
* @class
|
|
2478
|
+
*/
|
|
2479
|
+
class CreateRabbitMQServerlessBindingResponse extends AbstractModel {
|
|
2480
|
+
constructor(){
|
|
2481
|
+
super();
|
|
2482
|
+
|
|
2483
|
+
/**
|
|
2484
|
+
* Queue name.
|
|
2485
|
+
* @type {string || null}
|
|
2486
|
+
*/
|
|
2487
|
+
this.InstanceId = null;
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* vhost parameter.
|
|
2491
|
+
* @type {string || null}
|
|
2492
|
+
*/
|
|
2493
|
+
this.VirtualHost = null;
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* binding Id.
|
|
2497
|
+
* @type {number || null}
|
|
2498
|
+
*/
|
|
2499
|
+
this.BindingId = null;
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* 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.
|
|
2503
|
+
* @type {string || null}
|
|
2504
|
+
*/
|
|
2505
|
+
this.RequestId = null;
|
|
2506
|
+
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* @private
|
|
2511
|
+
*/
|
|
2512
|
+
deserialize(params) {
|
|
2513
|
+
if (!params) {
|
|
2514
|
+
return;
|
|
2515
|
+
}
|
|
2516
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2517
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
2518
|
+
this.BindingId = 'BindingId' in params ? params.BindingId : null;
|
|
2519
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2520
|
+
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
/**
|
|
2525
|
+
* Number of users quota.
|
|
2526
|
+
* @class
|
|
2527
|
+
*/
|
|
2528
|
+
class UserQuota extends AbstractModel {
|
|
2529
|
+
constructor(){
|
|
2530
|
+
super();
|
|
2531
|
+
|
|
2532
|
+
/**
|
|
2533
|
+
* Maximum number of users.
|
|
2534
|
+
* @type {number || null}
|
|
2535
|
+
*/
|
|
2536
|
+
this.MaxUser = null;
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* Used number of users.
|
|
2540
|
+
* @type {number || null}
|
|
2541
|
+
*/
|
|
2542
|
+
this.UsedUser = null;
|
|
2543
|
+
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
/**
|
|
2547
|
+
* @private
|
|
2548
|
+
*/
|
|
2549
|
+
deserialize(params) {
|
|
2550
|
+
if (!params) {
|
|
2551
|
+
return;
|
|
2552
|
+
}
|
|
2553
|
+
this.MaxUser = 'MaxUser' in params ? params.MaxUser : null;
|
|
2554
|
+
this.UsedUser = 'UsedUser' in params ? params.UsedUser : null;
|
|
2555
|
+
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* ModifyRabbitMQServerlessPermission request structure.
|
|
2561
|
+
* @class
|
|
2562
|
+
*/
|
|
2563
|
+
class ModifyRabbitMQServerlessPermissionRequest extends AbstractModel {
|
|
2564
|
+
constructor(){
|
|
2565
|
+
super();
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* instance ID
|
|
2569
|
+
* @type {string || null}
|
|
2570
|
+
*/
|
|
2571
|
+
this.InstanceId = null;
|
|
2572
|
+
|
|
2573
|
+
/**
|
|
2574
|
+
* Specifies the username, which is the user associated with the permission.
|
|
2575
|
+
* @type {string || null}
|
|
2576
|
+
*/
|
|
2577
|
+
this.User = null;
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* Specifies the vhost name.
|
|
2581
|
+
* @type {string || null}
|
|
2582
|
+
*/
|
|
2583
|
+
this.VirtualHost = null;
|
|
2584
|
+
|
|
2585
|
+
/**
|
|
2586
|
+
* Types of permissions. declare related operations. for the user, it is operable to perform operations on the resource name under the vhost that matches the regular expression.
|
|
2587
|
+
* @type {string || null}
|
|
2588
|
+
*/
|
|
2589
|
+
this.ConfigRegexp = null;
|
|
2590
|
+
|
|
2591
|
+
/**
|
|
2592
|
+
* Types of permissions. message write related operations. the user can operate on the resource names under the vhost that match the regular expression.
|
|
2593
|
+
* @type {string || null}
|
|
2594
|
+
*/
|
|
2595
|
+
this.WriteRegexp = null;
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* Types of permissions. message read related operations. the user can operate on the resource name under the vhost that matches the regular expression.
|
|
2599
|
+
* @type {string || null}
|
|
2600
|
+
*/
|
|
2601
|
+
this.ReadRegexp = null;
|
|
2602
|
+
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* @private
|
|
2607
|
+
*/
|
|
2608
|
+
deserialize(params) {
|
|
2609
|
+
if (!params) {
|
|
2610
|
+
return;
|
|
2611
|
+
}
|
|
2612
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2613
|
+
this.User = 'User' in params ? params.User : null;
|
|
2614
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
2615
|
+
this.ConfigRegexp = 'ConfigRegexp' in params ? params.ConfigRegexp : null;
|
|
2616
|
+
this.WriteRegexp = 'WriteRegexp' in params ? params.WriteRegexp : null;
|
|
2617
|
+
this.ReadRegexp = 'ReadRegexp' in params ? params.ReadRegexp : null;
|
|
2618
|
+
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* CreateRabbitMQServerlessQueue request structure.
|
|
2624
|
+
* @class
|
|
2625
|
+
*/
|
|
2626
|
+
class CreateRabbitMQServerlessQueueRequest extends AbstractModel {
|
|
2627
|
+
constructor(){
|
|
2628
|
+
super();
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Instance ID
|
|
2632
|
+
* @type {string || null}
|
|
2633
|
+
*/
|
|
2634
|
+
this.InstanceId = null;
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* VHost parameter.
|
|
2638
|
+
* @type {string || null}
|
|
2639
|
+
*/
|
|
2640
|
+
this.VirtualHost = null;
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* Queue name.
|
|
2644
|
+
* @type {string || null}
|
|
2645
|
+
*/
|
|
2646
|
+
this.QueueName = null;
|
|
2647
|
+
|
|
2648
|
+
/**
|
|
2649
|
+
* Supports only classic.
|
|
2650
|
+
* @type {string || null}
|
|
2651
|
+
*/
|
|
2652
|
+
this.QueueType = null;
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* Durable flag. specifies that for the classic type, it must be passed in. for the quorum type, there is no need to pass it in and it is fixed as true.
|
|
2656
|
+
* @type {boolean || null}
|
|
2657
|
+
*/
|
|
2658
|
+
this.Durable = null;
|
|
2659
|
+
|
|
2660
|
+
/**
|
|
2661
|
+
* Automatic cleanup. the classic type must be passed. the quorum type does not need to be passed and is fixed as false.
|
|
2662
|
+
* @type {boolean || null}
|
|
2663
|
+
*/
|
|
2664
|
+
this.AutoDelete = null;
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* Remarks
|
|
2668
|
+
* @type {string || null}
|
|
2669
|
+
*/
|
|
2670
|
+
this.Remark = null;
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* The MessageTTL parameter specifies settings dedicated to the classic type.
|
|
2674
|
+
* @type {number || null}
|
|
2675
|
+
*/
|
|
2676
|
+
this.MessageTTL = null;
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* The AutoExpire parameter, in milliseconds, indicates that the queue will be deleted if it is not used within a specified time.
|
|
2680
|
+
* @type {number || null}
|
|
2681
|
+
*/
|
|
2682
|
+
this.AutoExpire = null;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* MaxLength parameter. specifies the maximum number of entries the queue can hold. if the limit is exceeded, it will be handled according to the overview behavior.
|
|
2686
|
+
* @type {number || null}
|
|
2687
|
+
*/
|
|
2688
|
+
this.MaxLength = null;
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* The MaxLengthBytes parameter specifies the maximum length in bytes. if the value exceeds the limit, it will be handled according to the overview behavior.
|
|
2692
|
+
* @type {number || null}
|
|
2693
|
+
*/
|
|
2694
|
+
this.MaxLengthBytes = null;
|
|
2695
|
+
|
|
2696
|
+
/**
|
|
2697
|
+
* DeliveryLimit parameter. specifies the parameter dedicated to the quorum type.
|
|
2698
|
+
* @type {number || null}
|
|
2699
|
+
*/
|
|
2700
|
+
this.DeliveryLimit = null;
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* OverflowBehaviour parameter specifies a value of drop-head, reject-publish, or reject-publish-dlx.
|
|
2704
|
+
* @type {string || null}
|
|
2705
|
+
*/
|
|
2706
|
+
this.OverflowBehaviour = null;
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* The DeadLetterExchange parameter specifies that expired or rejected messages can be routed to a designated dead letter exchange.
|
|
2710
|
+
* @type {string || null}
|
|
2711
|
+
*/
|
|
2712
|
+
this.DeadLetterExchange = null;
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* The DeadLetterRoutingKey parameter specifies that it can only contain letters, digits, ".", "-", "@", and "_".
|
|
2716
|
+
* @type {string || null}
|
|
2717
|
+
*/
|
|
2718
|
+
this.DeadLetterRoutingKey = null;
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* The SingleActiveConsumer parameter. if enabled, ensure that there is only one consumer consuming from the queue every time.
|
|
2722
|
+
* @type {boolean || null}
|
|
2723
|
+
*/
|
|
2724
|
+
this.SingleActiveConsumer = null;
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* MaximumPriority parameter. specifies that it is dedicated for the classic type.
|
|
2728
|
+
* @type {number || null}
|
|
2729
|
+
*/
|
|
2730
|
+
this.MaximumPriority = null;
|
|
2731
|
+
|
|
2732
|
+
/**
|
|
2733
|
+
* LazyMode parameter. specifies that it is dedicated for the classic type.
|
|
2734
|
+
* @type {boolean || null}
|
|
2735
|
+
*/
|
|
2736
|
+
this.LazyMode = null;
|
|
2737
|
+
|
|
2738
|
+
/**
|
|
2739
|
+
* The MasterLocator parameter, dedicated to the classic type, specifies a value of min-masters, client-local, or random.
|
|
2740
|
+
* @type {string || null}
|
|
2741
|
+
*/
|
|
2742
|
+
this.MasterLocator = null;
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* MaxInMemoryLength parameter, dedicated for quorum type. specifies the maximum number of messages in memory for quorum queues.
|
|
2746
|
+
* @type {number || null}
|
|
2747
|
+
*/
|
|
2748
|
+
this.MaxInMemoryLength = null;
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* The MaxInMemoryBytes parameter is dedicated to the quorum type. it specifies the maximum total message size in memory for quorum queues.
|
|
2752
|
+
* @type {number || null}
|
|
2753
|
+
*/
|
|
2754
|
+
this.MaxInMemoryBytes = null;
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* Node parameter. optional. specifies the node where the specified creation queue is located.
|
|
2758
|
+
* @type {string || null}
|
|
2759
|
+
*/
|
|
2760
|
+
this.Node = null;
|
|
2761
|
+
|
|
2762
|
+
/**
|
|
2763
|
+
* Consistency policy for dead-letter in arbitrating queues. specifies valid values: at-most-once, at-least-once. at-most-once is selected by default.
|
|
2764
|
+
* @type {string || null}
|
|
2765
|
+
*/
|
|
2766
|
+
this.DeadLetterStrategy = null;
|
|
2767
|
+
|
|
2768
|
+
/**
|
|
2769
|
+
* Specifies the leader election strategy for the arbitration queue. valid values are client-local and balanced. the default value is client-local.
|
|
2770
|
+
* @type {string || null}
|
|
2771
|
+
*/
|
|
2772
|
+
this.QueueLeaderLocator = null;
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* Specifies the initial replica group size of the arbitration queue. the default value is 3.
|
|
2776
|
+
* @type {number || null}
|
|
2777
|
+
*/
|
|
2778
|
+
this.QuorumInitialGroupSize = null;
|
|
2779
|
+
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* @private
|
|
2784
|
+
*/
|
|
2785
|
+
deserialize(params) {
|
|
2786
|
+
if (!params) {
|
|
2787
|
+
return;
|
|
2788
|
+
}
|
|
2789
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2790
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
2791
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
2792
|
+
this.QueueType = 'QueueType' in params ? params.QueueType : null;
|
|
2793
|
+
this.Durable = 'Durable' in params ? params.Durable : null;
|
|
2794
|
+
this.AutoDelete = 'AutoDelete' in params ? params.AutoDelete : null;
|
|
2795
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
2796
|
+
this.MessageTTL = 'MessageTTL' in params ? params.MessageTTL : null;
|
|
2797
|
+
this.AutoExpire = 'AutoExpire' in params ? params.AutoExpire : null;
|
|
2798
|
+
this.MaxLength = 'MaxLength' in params ? params.MaxLength : null;
|
|
2799
|
+
this.MaxLengthBytes = 'MaxLengthBytes' in params ? params.MaxLengthBytes : null;
|
|
2800
|
+
this.DeliveryLimit = 'DeliveryLimit' in params ? params.DeliveryLimit : null;
|
|
2801
|
+
this.OverflowBehaviour = 'OverflowBehaviour' in params ? params.OverflowBehaviour : null;
|
|
2802
|
+
this.DeadLetterExchange = 'DeadLetterExchange' in params ? params.DeadLetterExchange : null;
|
|
2803
|
+
this.DeadLetterRoutingKey = 'DeadLetterRoutingKey' in params ? params.DeadLetterRoutingKey : null;
|
|
2804
|
+
this.SingleActiveConsumer = 'SingleActiveConsumer' in params ? params.SingleActiveConsumer : null;
|
|
2805
|
+
this.MaximumPriority = 'MaximumPriority' in params ? params.MaximumPriority : null;
|
|
2806
|
+
this.LazyMode = 'LazyMode' in params ? params.LazyMode : null;
|
|
2807
|
+
this.MasterLocator = 'MasterLocator' in params ? params.MasterLocator : null;
|
|
2808
|
+
this.MaxInMemoryLength = 'MaxInMemoryLength' in params ? params.MaxInMemoryLength : null;
|
|
2809
|
+
this.MaxInMemoryBytes = 'MaxInMemoryBytes' in params ? params.MaxInMemoryBytes : null;
|
|
2810
|
+
this.Node = 'Node' in params ? params.Node : null;
|
|
2811
|
+
this.DeadLetterStrategy = 'DeadLetterStrategy' in params ? params.DeadLetterStrategy : null;
|
|
2812
|
+
this.QueueLeaderLocator = 'QueueLeaderLocator' in params ? params.QueueLeaderLocator : null;
|
|
2813
|
+
this.QuorumInitialGroupSize = 'QuorumInitialGroupSize' in params ? params.QuorumInitialGroupSize : null;
|
|
2814
|
+
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* DeleteRabbitMQServerlessBinding request structure.
|
|
2820
|
+
* @class
|
|
2821
|
+
*/
|
|
2822
|
+
class DeleteRabbitMQServerlessBindingRequest extends AbstractModel {
|
|
2823
|
+
constructor(){
|
|
2824
|
+
super();
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* Instance ID
|
|
2828
|
+
* @type {string || null}
|
|
2829
|
+
*/
|
|
2830
|
+
this.InstanceId = null;
|
|
2831
|
+
|
|
2832
|
+
/**
|
|
2833
|
+
* Vhost parameter.
|
|
2834
|
+
* @type {string || null}
|
|
2835
|
+
*/
|
|
2836
|
+
this.VirtualHost = null;
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* binding relationship Id.
|
|
2840
|
+
* @type {number || null}
|
|
2841
|
+
*/
|
|
2842
|
+
this.BindingId = null;
|
|
2843
|
+
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* @private
|
|
2848
|
+
*/
|
|
2849
|
+
deserialize(params) {
|
|
2850
|
+
if (!params) {
|
|
2851
|
+
return;
|
|
2852
|
+
}
|
|
2853
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2854
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
2855
|
+
this.BindingId = 'BindingId' in params ? params.BindingId : null;
|
|
2856
|
+
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* vhost overview statistical information.
|
|
2862
|
+
* @class
|
|
2863
|
+
*/
|
|
2864
|
+
class RabbitMQVirtualHostStatistics extends AbstractModel {
|
|
2865
|
+
constructor(){
|
|
2866
|
+
super();
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* Number of queues of the current vhost.
|
|
2870
|
+
* @type {number || null}
|
|
2871
|
+
*/
|
|
2872
|
+
this.CurrentQueues = null;
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* Number of exchanges in the current vhost.
|
|
2876
|
+
* @type {number || null}
|
|
2877
|
+
*/
|
|
2878
|
+
this.CurrentExchanges = null;
|
|
2879
|
+
|
|
2880
|
+
/**
|
|
2881
|
+
* Number of current connections of the vhost.
|
|
2882
|
+
* @type {number || null}
|
|
2883
|
+
*/
|
|
2884
|
+
this.CurrentConnections = null;
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* Number of channels for the current vhost.
|
|
2888
|
+
* @type {number || null}
|
|
2889
|
+
*/
|
|
2890
|
+
this.CurrentChannels = null;
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* Number of users of the current vhost.
|
|
2894
|
+
* @type {number || null}
|
|
2895
|
+
*/
|
|
2896
|
+
this.CurrentUsers = null;
|
|
2897
|
+
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* @private
|
|
2902
|
+
*/
|
|
2903
|
+
deserialize(params) {
|
|
2904
|
+
if (!params) {
|
|
2905
|
+
return;
|
|
2906
|
+
}
|
|
2907
|
+
this.CurrentQueues = 'CurrentQueues' in params ? params.CurrentQueues : null;
|
|
2908
|
+
this.CurrentExchanges = 'CurrentExchanges' in params ? params.CurrentExchanges : null;
|
|
2909
|
+
this.CurrentConnections = 'CurrentConnections' in params ? params.CurrentConnections : null;
|
|
2910
|
+
this.CurrentChannels = 'CurrentChannels' in params ? params.CurrentChannels : null;
|
|
2911
|
+
this.CurrentUsers = 'CurrentUsers' in params ? params.CurrentUsers : null;
|
|
2912
|
+
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
/**
|
|
2917
|
+
* DescribeRabbitMQServerlessQueueDetail request structure.
|
|
2918
|
+
* @class
|
|
2919
|
+
*/
|
|
2920
|
+
class DescribeRabbitMQServerlessQueueDetailRequest extends AbstractModel {
|
|
2921
|
+
constructor(){
|
|
2922
|
+
super();
|
|
2923
|
+
|
|
2924
|
+
/**
|
|
2925
|
+
* Instance ID
|
|
2926
|
+
* @type {string || null}
|
|
2927
|
+
*/
|
|
2928
|
+
this.InstanceId = null;
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Vhost parameter.
|
|
2932
|
+
* @type {string || null}
|
|
2933
|
+
*/
|
|
2934
|
+
this.VirtualHost = null;
|
|
2935
|
+
|
|
2936
|
+
/**
|
|
2937
|
+
* Queue name.
|
|
2938
|
+
* @type {string || null}
|
|
2939
|
+
*/
|
|
2940
|
+
this.QueueName = null;
|
|
2941
|
+
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
/**
|
|
2945
|
+
* @private
|
|
2946
|
+
*/
|
|
2947
|
+
deserialize(params) {
|
|
2948
|
+
if (!params) {
|
|
2949
|
+
return;
|
|
2950
|
+
}
|
|
2951
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2952
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
2953
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
2954
|
+
|
|
2955
|
+
}
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* RabbitMQ queue list member information.
|
|
2960
|
+
* @class
|
|
2961
|
+
*/
|
|
2962
|
+
class RabbitMQQueueListInfo extends AbstractModel {
|
|
2963
|
+
constructor(){
|
|
2964
|
+
super();
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* Queue name.
|
|
2968
|
+
* @type {string || null}
|
|
2969
|
+
*/
|
|
2970
|
+
this.QueueName = null;
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* Remarks.
|
|
2974
|
+
* @type {string || null}
|
|
2975
|
+
*/
|
|
2976
|
+
this.Remark = null;
|
|
2977
|
+
|
|
2978
|
+
/**
|
|
2979
|
+
* Consumer information.
|
|
2980
|
+
* @type {RabbitMQQueueListConsumerDetailInfo || null}
|
|
2981
|
+
*/
|
|
2982
|
+
this.ConsumerDetail = null;
|
|
2983
|
+
|
|
2984
|
+
/**
|
|
2985
|
+
* Specifies the queue type. the valid values are "classic" and "quorum".
|
|
2986
|
+
* @type {string || null}
|
|
2987
|
+
*/
|
|
2988
|
+
this.QueueType = null;
|
|
2989
|
+
|
|
2990
|
+
/**
|
|
2991
|
+
* Number of message backlogs.
|
|
2992
|
+
* @type {number || null}
|
|
2993
|
+
*/
|
|
2994
|
+
this.MessageHeapCount = null;
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* Message production rate per second.
|
|
2998
|
+
* @type {number || null}
|
|
2999
|
+
*/
|
|
3000
|
+
this.MessageRateIn = null;
|
|
3001
|
+
|
|
3002
|
+
/**
|
|
3003
|
+
* Message consumption rate per second.
|
|
3004
|
+
* @type {number || null}
|
|
3005
|
+
*/
|
|
3006
|
+
this.MessageRateOut = null;
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* Creation time
|
|
3010
|
+
* @type {string || null}
|
|
3011
|
+
*/
|
|
3012
|
+
this.CreateTime = null;
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* Modification time
|
|
3016
|
+
* @type {string || null}
|
|
3017
|
+
*/
|
|
3018
|
+
this.ModifyTime = null;
|
|
3019
|
+
|
|
3020
|
+
/**
|
|
3021
|
+
* Specifies whether the queue is persistent. true indicates persistent, and false indicates non-persistent.
|
|
3022
|
+
* @type {boolean || null}
|
|
3023
|
+
*/
|
|
3024
|
+
this.Durable = null;
|
|
3025
|
+
|
|
3026
|
+
/**
|
|
3027
|
+
* Specifies whether the queue is an auto-delete queue. true indicates auto-delete, and false indicates non-auto-delete.
|
|
3028
|
+
* @type {boolean || null}
|
|
3029
|
+
*/
|
|
3030
|
+
this.AutoDelete = null;
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* instanceId to which the queue belongs.
|
|
3034
|
+
* @type {string || null}
|
|
3035
|
+
*/
|
|
3036
|
+
this.InstanceId = null;
|
|
3037
|
+
|
|
3038
|
+
/**
|
|
3039
|
+
* Name of the virtual host to which the queue belongs.
|
|
3040
|
+
* @type {string || null}
|
|
3041
|
+
*/
|
|
3042
|
+
this.VirtualHost = null;
|
|
3043
|
+
|
|
3044
|
+
/**
|
|
3045
|
+
* Specifies the name of the primary node where the queue is located.
|
|
3046
|
+
* @type {string || null}
|
|
3047
|
+
*/
|
|
3048
|
+
this.Node = null;
|
|
3049
|
+
|
|
3050
|
+
/**
|
|
3051
|
+
* The name of the effective policy.
|
|
3052
|
+
* @type {string || null}
|
|
3053
|
+
*/
|
|
3054
|
+
this.Policy = null;
|
|
3055
|
+
|
|
3056
|
+
/**
|
|
3057
|
+
* Additional parameters key-value objects.
|
|
3058
|
+
* @type {string || null}
|
|
3059
|
+
*/
|
|
3060
|
+
this.Arguments = null;
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* Whether it is an exclusive queue.
|
|
3064
|
+
* @type {boolean || null}
|
|
3065
|
+
*/
|
|
3066
|
+
this.Exclusive = null;
|
|
3067
|
+
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* @private
|
|
3072
|
+
*/
|
|
3073
|
+
deserialize(params) {
|
|
3074
|
+
if (!params) {
|
|
3075
|
+
return;
|
|
3076
|
+
}
|
|
3077
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
3078
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
3079
|
+
|
|
3080
|
+
if (params.ConsumerDetail) {
|
|
3081
|
+
let obj = new RabbitMQQueueListConsumerDetailInfo();
|
|
3082
|
+
obj.deserialize(params.ConsumerDetail)
|
|
3083
|
+
this.ConsumerDetail = obj;
|
|
3084
|
+
}
|
|
3085
|
+
this.QueueType = 'QueueType' in params ? params.QueueType : null;
|
|
3086
|
+
this.MessageHeapCount = 'MessageHeapCount' in params ? params.MessageHeapCount : null;
|
|
3087
|
+
this.MessageRateIn = 'MessageRateIn' in params ? params.MessageRateIn : null;
|
|
3088
|
+
this.MessageRateOut = 'MessageRateOut' in params ? params.MessageRateOut : null;
|
|
3089
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
3090
|
+
this.ModifyTime = 'ModifyTime' in params ? params.ModifyTime : null;
|
|
3091
|
+
this.Durable = 'Durable' in params ? params.Durable : null;
|
|
3092
|
+
this.AutoDelete = 'AutoDelete' in params ? params.AutoDelete : null;
|
|
3093
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3094
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
3095
|
+
this.Node = 'Node' in params ? params.Node : null;
|
|
3096
|
+
this.Policy = 'Policy' in params ? params.Policy : null;
|
|
3097
|
+
this.Arguments = 'Arguments' in params ? params.Arguments : null;
|
|
3098
|
+
this.Exclusive = 'Exclusive' in params ? params.Exclusive : null;
|
|
3099
|
+
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
/**
|
|
3104
|
+
* Filter parameter
|
|
3105
|
+
* @class
|
|
3106
|
+
*/
|
|
3107
|
+
class Filter extends AbstractModel {
|
|
3108
|
+
constructor(){
|
|
3109
|
+
super();
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* name.
|
|
3113
|
+
* @type {string || null}
|
|
3114
|
+
*/
|
|
3115
|
+
this.Name = null;
|
|
3116
|
+
|
|
3117
|
+
/**
|
|
3118
|
+
* Value.
|
|
3119
|
+
* @type {Array.<string> || null}
|
|
3120
|
+
*/
|
|
3121
|
+
this.Values = null;
|
|
3122
|
+
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* @private
|
|
3127
|
+
*/
|
|
3128
|
+
deserialize(params) {
|
|
3129
|
+
if (!params) {
|
|
3130
|
+
return;
|
|
3131
|
+
}
|
|
3132
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3133
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
3134
|
+
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* ModifyRabbitMQServerlessPermission response structure.
|
|
3140
|
+
* @class
|
|
3141
|
+
*/
|
|
3142
|
+
class ModifyRabbitMQServerlessPermissionResponse extends AbstractModel {
|
|
3143
|
+
constructor(){
|
|
3144
|
+
super();
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* 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.
|
|
3148
|
+
* @type {string || null}
|
|
3149
|
+
*/
|
|
3150
|
+
this.RequestId = null;
|
|
3151
|
+
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
/**
|
|
3155
|
+
* @private
|
|
3156
|
+
*/
|
|
3157
|
+
deserialize(params) {
|
|
3158
|
+
if (!params) {
|
|
3159
|
+
return;
|
|
3160
|
+
}
|
|
3161
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3162
|
+
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
/**
|
|
3167
|
+
* DeleteRabbitMQServerlessExchange request structure.
|
|
3168
|
+
* @class
|
|
3169
|
+
*/
|
|
3170
|
+
class DeleteRabbitMQServerlessExchangeRequest extends AbstractModel {
|
|
3171
|
+
constructor(){
|
|
3172
|
+
super();
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* Instance id.
|
|
3176
|
+
* @type {string || null}
|
|
3177
|
+
*/
|
|
3178
|
+
this.InstanceId = null;
|
|
3179
|
+
|
|
3180
|
+
/**
|
|
3181
|
+
* Specifies the vhost parameter.
|
|
3182
|
+
* @type {string || null}
|
|
3183
|
+
*/
|
|
3184
|
+
this.VirtualHost = null;
|
|
3185
|
+
|
|
3186
|
+
/**
|
|
3187
|
+
* exchange name.
|
|
3188
|
+
* @type {string || null}
|
|
3189
|
+
*/
|
|
3190
|
+
this.ExchangeName = null;
|
|
3191
|
+
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* @private
|
|
3196
|
+
*/
|
|
3197
|
+
deserialize(params) {
|
|
3198
|
+
if (!params) {
|
|
3199
|
+
return;
|
|
3200
|
+
}
|
|
3201
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3202
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
3203
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
3204
|
+
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
/**
|
|
3209
|
+
* DescribeRabbitMQServerlessExchangeDetail request structure.
|
|
3210
|
+
* @class
|
|
3211
|
+
*/
|
|
3212
|
+
class DescribeRabbitMQServerlessExchangeDetailRequest extends AbstractModel {
|
|
3213
|
+
constructor(){
|
|
3214
|
+
super();
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* Instance id.
|
|
3218
|
+
* @type {string || null}
|
|
3219
|
+
*/
|
|
3220
|
+
this.InstanceId = null;
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* Specifies the vhost parameter.
|
|
3224
|
+
* @type {string || null}
|
|
3225
|
+
*/
|
|
3226
|
+
this.VirtualHost = null;
|
|
3227
|
+
|
|
3228
|
+
/**
|
|
3229
|
+
* exchange name.
|
|
3230
|
+
* @type {string || null}
|
|
3231
|
+
*/
|
|
3232
|
+
this.ExchangeName = null;
|
|
3233
|
+
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* @private
|
|
3238
|
+
*/
|
|
3239
|
+
deserialize(params) {
|
|
3240
|
+
if (!params) {
|
|
3241
|
+
return;
|
|
3242
|
+
}
|
|
3243
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3244
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
3245
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
3246
|
+
|
|
3247
|
+
}
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3250
|
+
/**
|
|
3251
|
+
* RabbitMQ cluster specification information.
|
|
3252
|
+
* @class
|
|
3253
|
+
*/
|
|
3254
|
+
class RabbitMQClusterSpecInfo extends AbstractModel {
|
|
3255
|
+
constructor(){
|
|
3256
|
+
super();
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* Specifies the cluster specification name.
|
|
3260
|
+
* @type {string || null}
|
|
3261
|
+
*/
|
|
3262
|
+
this.SpecName = null;
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* Max tps.
|
|
3266
|
+
* @type {number || null}
|
|
3267
|
+
*/
|
|
3268
|
+
this.MaxTps = null;
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* Maximum number of queues.
|
|
3272
|
+
* @type {number || null}
|
|
3273
|
+
*/
|
|
3274
|
+
this.MaxQueueNum = null;
|
|
3275
|
+
|
|
3276
|
+
/**
|
|
3277
|
+
* Maximum number of exchanges.
|
|
3278
|
+
* @type {number || null}
|
|
3279
|
+
*/
|
|
3280
|
+
this.MaxExchangeNum = null;
|
|
3281
|
+
|
|
3282
|
+
/**
|
|
3283
|
+
* Maximum number of vhosts.
|
|
3284
|
+
* @type {number || null}
|
|
3285
|
+
*/
|
|
3286
|
+
this.MaxVhostNum = null;
|
|
3287
|
+
|
|
3288
|
+
/**
|
|
3289
|
+
* Maximum number of connections.
|
|
3290
|
+
* @type {number || null}
|
|
3291
|
+
*/
|
|
3292
|
+
this.MaxConnNum = null;
|
|
3293
|
+
|
|
3294
|
+
/**
|
|
3295
|
+
* Maximum number of users.
|
|
3296
|
+
* @type {number || null}
|
|
3297
|
+
*/
|
|
3298
|
+
this.MaxUserNum = null;
|
|
3299
|
+
|
|
3300
|
+
/**
|
|
3301
|
+
* Peak bandwidth. abandoned.
|
|
3302
|
+
* @type {number || null}
|
|
3303
|
+
*/
|
|
3304
|
+
this.MaxBandWidth = null;
|
|
3305
|
+
|
|
3306
|
+
/**
|
|
3307
|
+
* Public network bandwidth. abandoned.
|
|
3308
|
+
* @type {number || null}
|
|
3309
|
+
*/
|
|
3310
|
+
this.PublicNetworkTps = null;
|
|
3311
|
+
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
* @private
|
|
3316
|
+
*/
|
|
3317
|
+
deserialize(params) {
|
|
3318
|
+
if (!params) {
|
|
3319
|
+
return;
|
|
3320
|
+
}
|
|
3321
|
+
this.SpecName = 'SpecName' in params ? params.SpecName : null;
|
|
3322
|
+
this.MaxTps = 'MaxTps' in params ? params.MaxTps : null;
|
|
3323
|
+
this.MaxQueueNum = 'MaxQueueNum' in params ? params.MaxQueueNum : null;
|
|
3324
|
+
this.MaxExchangeNum = 'MaxExchangeNum' in params ? params.MaxExchangeNum : null;
|
|
3325
|
+
this.MaxVhostNum = 'MaxVhostNum' in params ? params.MaxVhostNum : null;
|
|
3326
|
+
this.MaxConnNum = 'MaxConnNum' in params ? params.MaxConnNum : null;
|
|
3327
|
+
this.MaxUserNum = 'MaxUserNum' in params ? params.MaxUserNum : null;
|
|
3328
|
+
this.MaxBandWidth = 'MaxBandWidth' in params ? params.MaxBandWidth : null;
|
|
3329
|
+
this.PublicNetworkTps = 'PublicNetworkTps' in params ? params.PublicNetworkTps : null;
|
|
3330
|
+
|
|
3331
|
+
}
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
/**
|
|
3335
|
+
* ModifyRabbitMQServerlessQueue response structure.
|
|
3336
|
+
* @class
|
|
3337
|
+
*/
|
|
3338
|
+
class ModifyRabbitMQServerlessQueueResponse extends AbstractModel {
|
|
3339
|
+
constructor(){
|
|
3340
|
+
super();
|
|
3341
|
+
|
|
3342
|
+
/**
|
|
3343
|
+
* Queue name.
|
|
3344
|
+
* @type {string || null}
|
|
3345
|
+
*/
|
|
3346
|
+
this.QueueName = null;
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* 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.
|
|
3350
|
+
* @type {string || null}
|
|
3351
|
+
*/
|
|
3352
|
+
this.RequestId = null;
|
|
3353
|
+
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
/**
|
|
3357
|
+
* @private
|
|
3358
|
+
*/
|
|
3359
|
+
deserialize(params) {
|
|
3360
|
+
if (!params) {
|
|
3361
|
+
return;
|
|
3362
|
+
}
|
|
3363
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
3364
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3365
|
+
|
|
3366
|
+
}
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
/**
|
|
3370
|
+
* CreateRabbitMQServerlessBinding request structure.
|
|
3371
|
+
* @class
|
|
3372
|
+
*/
|
|
3373
|
+
class CreateRabbitMQServerlessBindingRequest extends AbstractModel {
|
|
3374
|
+
constructor(){
|
|
3375
|
+
super();
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* Instance ID
|
|
3379
|
+
* @type {string || null}
|
|
3380
|
+
*/
|
|
3381
|
+
this.InstanceId = null;
|
|
3382
|
+
|
|
3383
|
+
/**
|
|
3384
|
+
* Vhost parameter.
|
|
3385
|
+
* @type {string || null}
|
|
3386
|
+
*/
|
|
3387
|
+
this.VirtualHost = null;
|
|
3388
|
+
|
|
3389
|
+
/**
|
|
3390
|
+
* Source exchange.
|
|
3391
|
+
* @type {string || null}
|
|
3392
|
+
*/
|
|
3393
|
+
this.Source = null;
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* Target type. valid values: queue or exchange.
|
|
3397
|
+
* @type {string || null}
|
|
3398
|
+
*/
|
|
3399
|
+
this.DestinationType = null;
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* Target queue or exchange.
|
|
3403
|
+
* @type {string || null}
|
|
3404
|
+
*/
|
|
3405
|
+
this.Destination = null;
|
|
3406
|
+
|
|
3407
|
+
/**
|
|
3408
|
+
* Binding key.
|
|
3409
|
+
* @type {string || null}
|
|
3410
|
+
*/
|
|
3411
|
+
this.RoutingKey = null;
|
|
3412
|
+
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* @private
|
|
3417
|
+
*/
|
|
3418
|
+
deserialize(params) {
|
|
3419
|
+
if (!params) {
|
|
3420
|
+
return;
|
|
3421
|
+
}
|
|
3422
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3423
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
3424
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
3425
|
+
this.DestinationType = 'DestinationType' in params ? params.DestinationType : null;
|
|
3426
|
+
this.Destination = 'Destination' in params ? params.Destination : null;
|
|
3427
|
+
this.RoutingKey = 'RoutingKey' in params ? params.RoutingKey : null;
|
|
3428
|
+
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
|
|
3432
|
+
/**
|
|
3433
|
+
* Access point.
|
|
3434
|
+
* @class
|
|
3435
|
+
*/
|
|
3436
|
+
class RabbitMQServerlessEndpoint extends AbstractModel {
|
|
3437
|
+
constructor(){
|
|
3438
|
+
super();
|
|
3439
|
+
|
|
3440
|
+
/**
|
|
3441
|
+
* vpc id
|
|
3442
|
+
* @type {string || null}
|
|
3443
|
+
*/
|
|
3444
|
+
this.VpcId = null;
|
|
3445
|
+
|
|
3446
|
+
/**
|
|
3447
|
+
* subnet id
|
|
3448
|
+
* @type {string || null}
|
|
3449
|
+
*/
|
|
3450
|
+
this.SubnetId = null;
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
* Access address
|
|
3454
|
+
* @type {string || null}
|
|
3455
|
+
*/
|
|
3456
|
+
this.VpcEndpoint = null;
|
|
3457
|
+
|
|
3458
|
+
/**
|
|
3459
|
+
* Access address status.
|
|
3460
|
+
* @type {string || null}
|
|
3461
|
+
*/
|
|
3462
|
+
this.VpcDataStreamEndpointStatus = null;
|
|
3463
|
+
|
|
3464
|
+
/**
|
|
3465
|
+
* Whether it is a public network.
|
|
3466
|
+
* @type {boolean || null}
|
|
3467
|
+
*/
|
|
3468
|
+
this.PublicNetwork = null;
|
|
3469
|
+
|
|
3470
|
+
/**
|
|
3471
|
+
* Specifies the access policy.
|
|
3472
|
+
* @type {string || null}
|
|
3473
|
+
*/
|
|
3474
|
+
this.AccessStrategy = null;
|
|
3475
|
+
|
|
3476
|
+
/**
|
|
3477
|
+
* Bandwidth
|
|
3478
|
+
* @type {number || null}
|
|
3479
|
+
*/
|
|
3480
|
+
this.Bandwidth = null;
|
|
3481
|
+
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
/**
|
|
3485
|
+
* @private
|
|
3486
|
+
*/
|
|
3487
|
+
deserialize(params) {
|
|
3488
|
+
if (!params) {
|
|
3489
|
+
return;
|
|
3490
|
+
}
|
|
3491
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
3492
|
+
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
3493
|
+
this.VpcEndpoint = 'VpcEndpoint' in params ? params.VpcEndpoint : null;
|
|
3494
|
+
this.VpcDataStreamEndpointStatus = 'VpcDataStreamEndpointStatus' in params ? params.VpcDataStreamEndpointStatus : null;
|
|
3495
|
+
this.PublicNetwork = 'PublicNetwork' in params ? params.PublicNetwork : null;
|
|
3496
|
+
this.AccessStrategy = 'AccessStrategy' in params ? params.AccessStrategy : null;
|
|
3497
|
+
this.Bandwidth = 'Bandwidth' in params ? params.Bandwidth : null;
|
|
3498
|
+
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
/**
|
|
3503
|
+
* RabbitMQ vhost detail.
|
|
3504
|
+
* @class
|
|
3505
|
+
*/
|
|
3506
|
+
class RabbitMQVirtualHostInfo extends AbstractModel {
|
|
3507
|
+
constructor(){
|
|
3508
|
+
super();
|
|
3509
|
+
|
|
3510
|
+
/**
|
|
3511
|
+
* instance ID
|
|
3512
|
+
* @type {string || null}
|
|
3513
|
+
*/
|
|
3514
|
+
this.InstanceId = null;
|
|
3515
|
+
|
|
3516
|
+
/**
|
|
3517
|
+
* Vhost name.
|
|
3518
|
+
* @type {string || null}
|
|
3519
|
+
*/
|
|
3520
|
+
this.VirtualHost = null;
|
|
3521
|
+
|
|
3522
|
+
/**
|
|
3523
|
+
* Specifies the description information of the vhost.
|
|
3524
|
+
* @type {string || null}
|
|
3525
|
+
*/
|
|
3526
|
+
this.Description = null;
|
|
3527
|
+
|
|
3528
|
+
/**
|
|
3529
|
+
* Specifies the Tag of the vhost.
|
|
3530
|
+
* @type {Array.<string> || null}
|
|
3531
|
+
*/
|
|
3532
|
+
this.Tags = null;
|
|
3533
|
+
|
|
3534
|
+
/**
|
|
3535
|
+
* Creation time
|
|
3536
|
+
* @type {string || null}
|
|
3537
|
+
*/
|
|
3538
|
+
this.CreateTime = null;
|
|
3539
|
+
|
|
3540
|
+
/**
|
|
3541
|
+
* Modification time
|
|
3542
|
+
* @type {string || null}
|
|
3543
|
+
*/
|
|
3544
|
+
this.ModifyTime = null;
|
|
3545
|
+
|
|
3546
|
+
/**
|
|
3547
|
+
* Specifies the overview statistics information of the vhost.
|
|
3548
|
+
* @type {RabbitMQVirtualHostStatistics || null}
|
|
3549
|
+
*/
|
|
3550
|
+
this.VirtualHostStatistics = null;
|
|
3551
|
+
|
|
3552
|
+
/**
|
|
3553
|
+
* vhost status. specifies the status that corresponds to the native console and can be running, partial, stopped, or unknown.
|
|
3554
|
+
* @type {string || null}
|
|
3555
|
+
*/
|
|
3556
|
+
this.Status = null;
|
|
3557
|
+
|
|
3558
|
+
/**
|
|
3559
|
+
* Specifies the number of message backlogs.
|
|
3560
|
+
* @type {number || null}
|
|
3561
|
+
*/
|
|
3562
|
+
this.MessageHeapCount = null;
|
|
3563
|
+
|
|
3564
|
+
/**
|
|
3565
|
+
* Input message rate.
|
|
3566
|
+
* @type {number || null}
|
|
3567
|
+
*/
|
|
3568
|
+
this.MessageRateIn = null;
|
|
3569
|
+
|
|
3570
|
+
/**
|
|
3571
|
+
* Output message rate.
|
|
3572
|
+
* @type {number || null}
|
|
3573
|
+
*/
|
|
3574
|
+
this.MessageRateOut = null;
|
|
3575
|
+
|
|
3576
|
+
/**
|
|
3577
|
+
* Specifies whether a mirrored queue policy exists. true indicates existence, and false indicates non-existence.
|
|
3578
|
+
* @type {boolean || null}
|
|
3579
|
+
*/
|
|
3580
|
+
this.MirrorQueuePolicyFlag = null;
|
|
3581
|
+
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
/**
|
|
3585
|
+
* @private
|
|
3586
|
+
*/
|
|
3587
|
+
deserialize(params) {
|
|
3588
|
+
if (!params) {
|
|
3589
|
+
return;
|
|
3590
|
+
}
|
|
3591
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3592
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
3593
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
3594
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
3595
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
3596
|
+
this.ModifyTime = 'ModifyTime' in params ? params.ModifyTime : null;
|
|
3597
|
+
|
|
3598
|
+
if (params.VirtualHostStatistics) {
|
|
3599
|
+
let obj = new RabbitMQVirtualHostStatistics();
|
|
3600
|
+
obj.deserialize(params.VirtualHostStatistics)
|
|
3601
|
+
this.VirtualHostStatistics = obj;
|
|
3602
|
+
}
|
|
3603
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
3604
|
+
this.MessageHeapCount = 'MessageHeapCount' in params ? params.MessageHeapCount : null;
|
|
3605
|
+
this.MessageRateIn = 'MessageRateIn' in params ? params.MessageRateIn : null;
|
|
3606
|
+
this.MessageRateOut = 'MessageRateOut' in params ? params.MessageRateOut : null;
|
|
3607
|
+
this.MirrorQueuePolicyFlag = 'MirrorQueuePolicyFlag' in params ? params.MirrorQueuePolicyFlag : null;
|
|
3608
|
+
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3612
|
+
/**
|
|
3613
|
+
* Specifies the exchange usage quota information.
|
|
3614
|
+
* @class
|
|
3615
|
+
*/
|
|
3616
|
+
class ExchangeQuota extends AbstractModel {
|
|
3617
|
+
constructor(){
|
|
3618
|
+
super();
|
|
3619
|
+
|
|
3620
|
+
/**
|
|
3621
|
+
* Specifies the maximum number of exchanges that can be created.
|
|
3622
|
+
* @type {number || null}
|
|
3623
|
+
*/
|
|
3624
|
+
this.MaxExchange = null;
|
|
3625
|
+
|
|
3626
|
+
/**
|
|
3627
|
+
* Specifies the number of exchanges that have been created.
|
|
3628
|
+
* @type {number || null}
|
|
3629
|
+
*/
|
|
3630
|
+
this.UsedExchange = null;
|
|
3631
|
+
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
/**
|
|
3635
|
+
* @private
|
|
3636
|
+
*/
|
|
3637
|
+
deserialize(params) {
|
|
3638
|
+
if (!params) {
|
|
3639
|
+
return;
|
|
3640
|
+
}
|
|
3641
|
+
this.MaxExchange = 'MaxExchange' in params ? params.MaxExchange : null;
|
|
3642
|
+
this.UsedExchange = 'UsedExchange' in params ? params.UsedExchange : null;
|
|
3643
|
+
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
/**
|
|
3648
|
+
* DescribeRabbitMQServerlessInstance response structure.
|
|
3649
|
+
* @class
|
|
3650
|
+
*/
|
|
3651
|
+
class DescribeRabbitMQServerlessInstanceResponse extends AbstractModel {
|
|
3652
|
+
constructor(){
|
|
3653
|
+
super();
|
|
3654
|
+
|
|
3655
|
+
/**
|
|
3656
|
+
* Cluster information.
|
|
3657
|
+
* @type {RabbitMQClusterInfo || null}
|
|
3658
|
+
*/
|
|
3659
|
+
this.ClusterInfo = null;
|
|
3660
|
+
|
|
3661
|
+
/**
|
|
3662
|
+
* Specifies the cluster specification information.
|
|
3663
|
+
* @type {RabbitMQClusterSpecInfo || null}
|
|
3664
|
+
*/
|
|
3665
|
+
this.ClusterSpecInfo = null;
|
|
3666
|
+
|
|
3667
|
+
/**
|
|
3668
|
+
* Specifies the quota information of the vhost.
|
|
3669
|
+
* @type {VirtualHostQuota || null}
|
|
3670
|
+
*/
|
|
3671
|
+
this.VirtualHostQuota = null;
|
|
3672
|
+
|
|
3673
|
+
/**
|
|
3674
|
+
* Specifies the exchange quota information.
|
|
3675
|
+
* @type {ExchangeQuota || null}
|
|
3676
|
+
*/
|
|
3677
|
+
this.ExchangeQuota = null;
|
|
3678
|
+
|
|
3679
|
+
/**
|
|
3680
|
+
* Specifies the quota information of the queue.
|
|
3681
|
+
* @type {QueueQuota || null}
|
|
3682
|
+
*/
|
|
3683
|
+
this.QueueQuota = null;
|
|
3684
|
+
|
|
3685
|
+
/**
|
|
3686
|
+
* Network information.
|
|
3687
|
+
* @type {RabbitMQServerlessAccessInfo || null}
|
|
3688
|
+
*/
|
|
3689
|
+
this.ClusterNetInfo = null;
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* Public network allowlist information.
|
|
3693
|
+
* @type {RabbitMQServerlessWhiteListInfo || null}
|
|
3694
|
+
*/
|
|
3695
|
+
this.ClusterWhiteListInfo = null;
|
|
3696
|
+
|
|
3697
|
+
/**
|
|
3698
|
+
* Specifies the quota information of the user.
|
|
3699
|
+
* @type {UserQuota || null}
|
|
3700
|
+
*/
|
|
3701
|
+
this.UserQuota = null;
|
|
3702
|
+
|
|
3703
|
+
/**
|
|
3704
|
+
* 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.
|
|
3705
|
+
* @type {string || null}
|
|
3706
|
+
*/
|
|
3707
|
+
this.RequestId = null;
|
|
3708
|
+
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3711
|
+
/**
|
|
3712
|
+
* @private
|
|
3713
|
+
*/
|
|
3714
|
+
deserialize(params) {
|
|
3715
|
+
if (!params) {
|
|
3716
|
+
return;
|
|
3717
|
+
}
|
|
3718
|
+
|
|
3719
|
+
if (params.ClusterInfo) {
|
|
3720
|
+
let obj = new RabbitMQClusterInfo();
|
|
3721
|
+
obj.deserialize(params.ClusterInfo)
|
|
3722
|
+
this.ClusterInfo = obj;
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
if (params.ClusterSpecInfo) {
|
|
3726
|
+
let obj = new RabbitMQClusterSpecInfo();
|
|
3727
|
+
obj.deserialize(params.ClusterSpecInfo)
|
|
3728
|
+
this.ClusterSpecInfo = obj;
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
if (params.VirtualHostQuota) {
|
|
3732
|
+
let obj = new VirtualHostQuota();
|
|
3733
|
+
obj.deserialize(params.VirtualHostQuota)
|
|
3734
|
+
this.VirtualHostQuota = obj;
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
if (params.ExchangeQuota) {
|
|
3738
|
+
let obj = new ExchangeQuota();
|
|
3739
|
+
obj.deserialize(params.ExchangeQuota)
|
|
3740
|
+
this.ExchangeQuota = obj;
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
if (params.QueueQuota) {
|
|
3744
|
+
let obj = new QueueQuota();
|
|
3745
|
+
obj.deserialize(params.QueueQuota)
|
|
3746
|
+
this.QueueQuota = obj;
|
|
3747
|
+
}
|
|
3748
|
+
|
|
3749
|
+
if (params.ClusterNetInfo) {
|
|
3750
|
+
let obj = new RabbitMQServerlessAccessInfo();
|
|
3751
|
+
obj.deserialize(params.ClusterNetInfo)
|
|
3752
|
+
this.ClusterNetInfo = obj;
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
if (params.ClusterWhiteListInfo) {
|
|
3756
|
+
let obj = new RabbitMQServerlessWhiteListInfo();
|
|
3757
|
+
obj.deserialize(params.ClusterWhiteListInfo)
|
|
3758
|
+
this.ClusterWhiteListInfo = obj;
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
if (params.UserQuota) {
|
|
3762
|
+
let obj = new UserQuota();
|
|
3763
|
+
obj.deserialize(params.UserQuota)
|
|
3764
|
+
this.UserQuota = obj;
|
|
3765
|
+
}
|
|
3766
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3767
|
+
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3771
|
+
/**
|
|
3772
|
+
* ListRabbitMQServerlessInstances request structure.
|
|
3773
|
+
* @class
|
|
3774
|
+
*/
|
|
3775
|
+
class ListRabbitMQServerlessInstancesRequest extends AbstractModel {
|
|
3776
|
+
constructor(){
|
|
3777
|
+
super();
|
|
3778
|
+
|
|
3779
|
+
/**
|
|
3780
|
+
* Filter criteria.
|
|
3781
|
+
* @type {Array.<Filter> || null}
|
|
3782
|
+
*/
|
|
3783
|
+
this.Filters = null;
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
* Page size.
|
|
3787
|
+
* @type {number || null}
|
|
3788
|
+
*/
|
|
3789
|
+
this.Limit = null;
|
|
3790
|
+
|
|
3791
|
+
/**
|
|
3792
|
+
* Starting index value for pagination.
|
|
3793
|
+
* @type {number || null}
|
|
3794
|
+
*/
|
|
3795
|
+
this.Offset = null;
|
|
3796
|
+
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* @private
|
|
3801
|
+
*/
|
|
3802
|
+
deserialize(params) {
|
|
3803
|
+
if (!params) {
|
|
3804
|
+
return;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
if (params.Filters) {
|
|
3808
|
+
this.Filters = new Array();
|
|
3809
|
+
for (let z in params.Filters) {
|
|
3810
|
+
let obj = new Filter();
|
|
3811
|
+
obj.deserialize(params.Filters[z]);
|
|
3812
|
+
this.Filters.push(obj);
|
|
3813
|
+
}
|
|
3814
|
+
}
|
|
3815
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3816
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
3817
|
+
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
/**
|
|
3822
|
+
* RabbitMQ connection detail.
|
|
3823
|
+
* @class
|
|
3824
|
+
*/
|
|
3825
|
+
class RabbitMQConnection extends AbstractModel {
|
|
3826
|
+
constructor(){
|
|
3827
|
+
super();
|
|
3828
|
+
|
|
3829
|
+
/**
|
|
3830
|
+
* Connection name.
|
|
3831
|
+
* @type {string || null}
|
|
3832
|
+
*/
|
|
3833
|
+
this.ConnectionName = null;
|
|
3834
|
+
|
|
3835
|
+
/**
|
|
3836
|
+
* Client IP
|
|
3837
|
+
* @type {string || null}
|
|
3838
|
+
*/
|
|
3839
|
+
this.PeerHost = null;
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* Specifies the connection status, including starting, tuning, opening, running, flow, blocking, blocked, closing, and closed.
|
|
3843
|
+
* @type {string || null}
|
|
3844
|
+
*/
|
|
3845
|
+
this.State = null;
|
|
3846
|
+
|
|
3847
|
+
/**
|
|
3848
|
+
* User that who has created this connection.
|
|
3849
|
+
* @type {string || null}
|
|
3850
|
+
*/
|
|
3851
|
+
this.User = null;
|
|
3852
|
+
|
|
3853
|
+
/**
|
|
3854
|
+
* Whether ssl is enabled.
|
|
3855
|
+
* @type {boolean || null}
|
|
3856
|
+
*/
|
|
3857
|
+
this.SSL = null;
|
|
3858
|
+
|
|
3859
|
+
/**
|
|
3860
|
+
* Connection protocol.
|
|
3861
|
+
* @type {string || null}
|
|
3862
|
+
*/
|
|
3863
|
+
this.Protocol = null;
|
|
3864
|
+
|
|
3865
|
+
/**
|
|
3866
|
+
* Specifies the number of channels under the connection.
|
|
3867
|
+
* @type {number || null}
|
|
3868
|
+
*/
|
|
3869
|
+
this.Channels = null;
|
|
3870
|
+
|
|
3871
|
+
}
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* @private
|
|
3875
|
+
*/
|
|
3876
|
+
deserialize(params) {
|
|
3877
|
+
if (!params) {
|
|
3878
|
+
return;
|
|
3879
|
+
}
|
|
3880
|
+
this.ConnectionName = 'ConnectionName' in params ? params.ConnectionName : null;
|
|
3881
|
+
this.PeerHost = 'PeerHost' in params ? params.PeerHost : null;
|
|
3882
|
+
this.State = 'State' in params ? params.State : null;
|
|
3883
|
+
this.User = 'User' in params ? params.User : null;
|
|
3884
|
+
this.SSL = 'SSL' in params ? params.SSL : null;
|
|
3885
|
+
this.Protocol = 'Protocol' in params ? params.Protocol : null;
|
|
3886
|
+
this.Channels = 'Channels' in params ? params.Channels : null;
|
|
3887
|
+
|
|
3888
|
+
}
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3891
|
+
/**
|
|
3892
|
+
* RabbitMQ queue list consumer information response parameters structure.
|
|
3893
|
+
* @class
|
|
3894
|
+
*/
|
|
3895
|
+
class RabbitMQQueueListConsumerDetailInfo extends AbstractModel {
|
|
3896
|
+
constructor(){
|
|
3897
|
+
super();
|
|
3898
|
+
|
|
3899
|
+
/**
|
|
3900
|
+
* Number of consumers.
|
|
3901
|
+
* @type {number || null}
|
|
3902
|
+
*/
|
|
3903
|
+
this.ConsumersNumber = null;
|
|
3904
|
+
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* @private
|
|
3909
|
+
*/
|
|
3910
|
+
deserialize(params) {
|
|
3911
|
+
if (!params) {
|
|
3912
|
+
return;
|
|
3913
|
+
}
|
|
3914
|
+
this.ConsumersNumber = 'ConsumersNumber' in params ? params.ConsumersNumber : null;
|
|
3915
|
+
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
/**
|
|
3920
|
+
* DescribeRabbitMQServerlessInstance request structure.
|
|
3921
|
+
* @class
|
|
3922
|
+
*/
|
|
3923
|
+
class DescribeRabbitMQServerlessInstanceRequest extends AbstractModel {
|
|
3924
|
+
constructor(){
|
|
3925
|
+
super();
|
|
3926
|
+
|
|
3927
|
+
/**
|
|
3928
|
+
* instance ID
|
|
3929
|
+
* @type {string || null}
|
|
3930
|
+
*/
|
|
3931
|
+
this.InstanceId = null;
|
|
3932
|
+
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
/**
|
|
3936
|
+
* @private
|
|
3937
|
+
*/
|
|
3938
|
+
deserialize(params) {
|
|
3939
|
+
if (!params) {
|
|
3940
|
+
return;
|
|
3941
|
+
}
|
|
3942
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3943
|
+
|
|
3944
|
+
}
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3947
|
+
/**
|
|
3948
|
+
* DescribeRabbitMQServerlessPermission request structure.
|
|
3949
|
+
* @class
|
|
3950
|
+
*/
|
|
3951
|
+
class DescribeRabbitMQServerlessPermissionRequest extends AbstractModel {
|
|
3952
|
+
constructor(){
|
|
3953
|
+
super();
|
|
3954
|
+
|
|
3955
|
+
/**
|
|
3956
|
+
* instance ID.
|
|
3957
|
+
* @type {string || null}
|
|
3958
|
+
*/
|
|
3959
|
+
this.InstanceId = null;
|
|
3960
|
+
|
|
3961
|
+
/**
|
|
3962
|
+
* Specifies the username for query filtering. if not provided, all will be queried.
|
|
3963
|
+
* @type {string || null}
|
|
3964
|
+
*/
|
|
3965
|
+
this.User = null;
|
|
3966
|
+
|
|
3967
|
+
/**
|
|
3968
|
+
* Specifies the vhost name. used for query filtering. if it is not provided, query all.
|
|
3969
|
+
* @type {string || null}
|
|
3970
|
+
*/
|
|
3971
|
+
this.VirtualHost = null;
|
|
3972
|
+
|
|
3973
|
+
/**
|
|
3974
|
+
* Pagination offset
|
|
3975
|
+
* @type {number || null}
|
|
3976
|
+
*/
|
|
3977
|
+
this.Offset = null;
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* Pagination limit
|
|
3981
|
+
* @type {number || null}
|
|
3982
|
+
*/
|
|
3983
|
+
this.Limit = null;
|
|
3984
|
+
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3987
|
+
/**
|
|
3988
|
+
* @private
|
|
3989
|
+
*/
|
|
3990
|
+
deserialize(params) {
|
|
3991
|
+
if (!params) {
|
|
3992
|
+
return;
|
|
3993
|
+
}
|
|
3994
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3995
|
+
this.User = 'User' in params ? params.User : null;
|
|
3996
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
3997
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
3998
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3999
|
+
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
|
|
4003
|
+
/**
|
|
4004
|
+
* DescribeRabbitMQServerlessExchangeDetail response structure.
|
|
4005
|
+
* @class
|
|
4006
|
+
*/
|
|
4007
|
+
class DescribeRabbitMQServerlessExchangeDetailResponse extends AbstractModel {
|
|
4008
|
+
constructor(){
|
|
4009
|
+
super();
|
|
4010
|
+
|
|
4011
|
+
/**
|
|
4012
|
+
* exchange name.
|
|
4013
|
+
* @type {string || null}
|
|
4014
|
+
*/
|
|
4015
|
+
this.ExchangeName = null;
|
|
4016
|
+
|
|
4017
|
+
/**
|
|
4018
|
+
* Remarks.
|
|
4019
|
+
* @type {string || null}
|
|
4020
|
+
*/
|
|
4021
|
+
this.Remark = null;
|
|
4022
|
+
|
|
4023
|
+
/**
|
|
4024
|
+
* Specifies whether it is a persistent exchange. when the cluster restarts, all exchanges with this field set to "false" will be cleared.
|
|
4025
|
+
* @type {boolean || null}
|
|
4026
|
+
*/
|
|
4027
|
+
this.Durable = null;
|
|
4028
|
+
|
|
4029
|
+
/**
|
|
4030
|
+
* Whether to auto-delete this exchange. if set to "true", the exchange will be automatically deleted when all routing relationships on the current exchange are unbound.
|
|
4031
|
+
* @type {boolean || null}
|
|
4032
|
+
*/
|
|
4033
|
+
this.AutoDelete = null;
|
|
4034
|
+
|
|
4035
|
+
/**
|
|
4036
|
+
* Specifies whether it is an internal exchange. if set to "true", messages cannot be directly delivered to this exchange. they need to be forwarded through another exchange in the routing settings.
|
|
4037
|
+
* @type {boolean || null}
|
|
4038
|
+
*/
|
|
4039
|
+
this.Internal = null;
|
|
4040
|
+
|
|
4041
|
+
/**
|
|
4042
|
+
* Alternative exchange. if a message does not match all queues or exchanges bound to the current exchange, it will be sent to this alternative exchange.
|
|
4043
|
+
* @type {string || null}
|
|
4044
|
+
*/
|
|
4045
|
+
this.AlternateExchange = null;
|
|
4046
|
+
|
|
4047
|
+
/**
|
|
4048
|
+
* Specifies the exchange type. valid values: "fanout", "direct", "topic", "headers".
|
|
4049
|
+
* @type {string || null}
|
|
4050
|
+
*/
|
|
4051
|
+
this.ExchangeType = null;
|
|
4052
|
+
|
|
4053
|
+
/**
|
|
4054
|
+
* VHost parameter.
|
|
4055
|
+
* @type {string || null}
|
|
4056
|
+
*/
|
|
4057
|
+
this.VirtualHost = null;
|
|
4058
|
+
|
|
4059
|
+
/**
|
|
4060
|
+
* exchange creator. valid values: `system` (generated by the system), `user` (user-created).
|
|
4061
|
+
* @type {string || null}
|
|
4062
|
+
*/
|
|
4063
|
+
this.ExchangeCreator = null;
|
|
4064
|
+
|
|
4065
|
+
/**
|
|
4066
|
+
* Additional parameters key-value string.
|
|
4067
|
+
* @type {string || null}
|
|
4068
|
+
*/
|
|
4069
|
+
this.Arguments = null;
|
|
4070
|
+
|
|
4071
|
+
/**
|
|
4072
|
+
* 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.
|
|
4073
|
+
* @type {string || null}
|
|
4074
|
+
*/
|
|
4075
|
+
this.RequestId = null;
|
|
4076
|
+
|
|
4077
|
+
}
|
|
4078
|
+
|
|
4079
|
+
/**
|
|
4080
|
+
* @private
|
|
4081
|
+
*/
|
|
4082
|
+
deserialize(params) {
|
|
4083
|
+
if (!params) {
|
|
4084
|
+
return;
|
|
4085
|
+
}
|
|
4086
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
4087
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
4088
|
+
this.Durable = 'Durable' in params ? params.Durable : null;
|
|
4089
|
+
this.AutoDelete = 'AutoDelete' in params ? params.AutoDelete : null;
|
|
4090
|
+
this.Internal = 'Internal' in params ? params.Internal : null;
|
|
4091
|
+
this.AlternateExchange = 'AlternateExchange' in params ? params.AlternateExchange : null;
|
|
4092
|
+
this.ExchangeType = 'ExchangeType' in params ? params.ExchangeType : null;
|
|
4093
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4094
|
+
this.ExchangeCreator = 'ExchangeCreator' in params ? params.ExchangeCreator : null;
|
|
4095
|
+
this.Arguments = 'Arguments' in params ? params.Arguments : null;
|
|
4096
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4097
|
+
|
|
4098
|
+
}
|
|
4099
|
+
}
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* VPC access point information
|
|
4103
|
+
* @class
|
|
4104
|
+
*/
|
|
4105
|
+
class VpcEndpointInfo extends AbstractModel {
|
|
4106
|
+
constructor(){
|
|
4107
|
+
super();
|
|
4108
|
+
|
|
4109
|
+
/**
|
|
4110
|
+
* VPC ID
|
|
4111
|
+
* @type {string || null}
|
|
4112
|
+
*/
|
|
4113
|
+
this.VpcId = null;
|
|
4114
|
+
|
|
4115
|
+
/**
|
|
4116
|
+
* Subnet ID
|
|
4117
|
+
* @type {string || null}
|
|
4118
|
+
*/
|
|
4119
|
+
this.SubnetId = null;
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* vpc access point information.
|
|
4123
|
+
* @type {string || null}
|
|
4124
|
+
*/
|
|
4125
|
+
this.VpcEndpoint = null;
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* vpc access point status.
|
|
4129
|
+
OFF/ON/CREATING/DELETING
|
|
4130
|
+
* @type {string || null}
|
|
4131
|
+
*/
|
|
4132
|
+
this.VpcDataStreamEndpointStatus = null;
|
|
4133
|
+
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* @private
|
|
4138
|
+
*/
|
|
4139
|
+
deserialize(params) {
|
|
4140
|
+
if (!params) {
|
|
4141
|
+
return;
|
|
4142
|
+
}
|
|
4143
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
4144
|
+
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
4145
|
+
this.VpcEndpoint = 'VpcEndpoint' in params ? params.VpcEndpoint : null;
|
|
4146
|
+
this.VpcDataStreamEndpointStatus = 'VpcDataStreamEndpointStatus' in params ? params.VpcDataStreamEndpointStatus : null;
|
|
4147
|
+
|
|
4148
|
+
}
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* DescribeRabbitMQServerlessExchanges request structure.
|
|
4153
|
+
* @class
|
|
4154
|
+
*/
|
|
4155
|
+
class DescribeRabbitMQServerlessExchangesRequest extends AbstractModel {
|
|
4156
|
+
constructor(){
|
|
4157
|
+
super();
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* Instance id.
|
|
4161
|
+
* @type {string || null}
|
|
4162
|
+
*/
|
|
4163
|
+
this.InstanceId = null;
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* Specifies the vhost parameter.
|
|
4167
|
+
* @type {string || null}
|
|
4168
|
+
*/
|
|
4169
|
+
this.VirtualHost = null;
|
|
4170
|
+
|
|
4171
|
+
/**
|
|
4172
|
+
* Paging offset.
|
|
4173
|
+
* @type {number || null}
|
|
4174
|
+
*/
|
|
4175
|
+
this.Offset = null;
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* Paginate limit.
|
|
4179
|
+
* @type {number || null}
|
|
4180
|
+
*/
|
|
4181
|
+
this.Limit = null;
|
|
4182
|
+
|
|
4183
|
+
/**
|
|
4184
|
+
* Search keywords support fuzzy matching.
|
|
4185
|
+
* @type {string || null}
|
|
4186
|
+
*/
|
|
4187
|
+
this.SearchWord = null;
|
|
4188
|
+
|
|
4189
|
+
/**
|
|
4190
|
+
* Specifies the filter type for each selected element in the array of exchange types.
|
|
4191
|
+
* @type {Array.<string> || null}
|
|
4192
|
+
*/
|
|
4193
|
+
this.ExchangeTypeFilters = null;
|
|
4194
|
+
|
|
4195
|
+
/**
|
|
4196
|
+
* Specifies the exchange creation source. valid values: "system" (generated by the system), "user" (user-created).
|
|
4197
|
+
* @type {Array.<string> || null}
|
|
4198
|
+
*/
|
|
4199
|
+
this.ExchangeCreatorFilters = null;
|
|
4200
|
+
|
|
4201
|
+
/**
|
|
4202
|
+
* exchange name. specifies that it is used for exact matching.
|
|
4203
|
+
* @type {string || null}
|
|
4204
|
+
*/
|
|
4205
|
+
this.ExchangeName = null;
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Sorting field.
|
|
4209
|
+
MessageRateInOut specifies the total production and consumption rate.
|
|
4210
|
+
MessageRateIn specifies the production rate.
|
|
4211
|
+
MessageRateOut specifies the consumption rate.
|
|
4212
|
+
* @type {string || null}
|
|
4213
|
+
*/
|
|
4214
|
+
this.SortElement = null;
|
|
4215
|
+
|
|
4216
|
+
/**
|
|
4217
|
+
* Sort order. valid values: ascend or descend.
|
|
4218
|
+
* @type {string || null}
|
|
4219
|
+
*/
|
|
4220
|
+
this.SortOrder = null;
|
|
4221
|
+
|
|
4222
|
+
}
|
|
4223
|
+
|
|
4224
|
+
/**
|
|
4225
|
+
* @private
|
|
4226
|
+
*/
|
|
4227
|
+
deserialize(params) {
|
|
4228
|
+
if (!params) {
|
|
4229
|
+
return;
|
|
4230
|
+
}
|
|
4231
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4232
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4233
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4234
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4235
|
+
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
4236
|
+
this.ExchangeTypeFilters = 'ExchangeTypeFilters' in params ? params.ExchangeTypeFilters : null;
|
|
4237
|
+
this.ExchangeCreatorFilters = 'ExchangeCreatorFilters' in params ? params.ExchangeCreatorFilters : null;
|
|
4238
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
4239
|
+
this.SortElement = 'SortElement' in params ? params.SortElement : null;
|
|
4240
|
+
this.SortOrder = 'SortOrder' in params ? params.SortOrder : null;
|
|
4241
|
+
|
|
4242
|
+
}
|
|
4243
|
+
}
|
|
4244
|
+
|
|
4245
|
+
/**
|
|
4246
|
+
* Public network allowlist information.
|
|
4247
|
+
* @class
|
|
4248
|
+
*/
|
|
4249
|
+
class RabbitMQServerlessWhiteListInfo extends AbstractModel {
|
|
4250
|
+
constructor(){
|
|
4251
|
+
super();
|
|
4252
|
+
|
|
4253
|
+
/**
|
|
4254
|
+
* Public network data stream allowlist.
|
|
4255
|
+
* @type {string || null}
|
|
4256
|
+
*/
|
|
4257
|
+
this.PublicDataStreamWhiteList = null;
|
|
4258
|
+
|
|
4259
|
+
/**
|
|
4260
|
+
* Public network data stream allowlist status.
|
|
4261
|
+
* @type {string || null}
|
|
4262
|
+
*/
|
|
4263
|
+
this.PublicDataStreamWhiteListStatus = null;
|
|
4264
|
+
|
|
4265
|
+
}
|
|
4266
|
+
|
|
4267
|
+
/**
|
|
4268
|
+
* @private
|
|
4269
|
+
*/
|
|
4270
|
+
deserialize(params) {
|
|
4271
|
+
if (!params) {
|
|
4272
|
+
return;
|
|
4273
|
+
}
|
|
4274
|
+
this.PublicDataStreamWhiteList = 'PublicDataStreamWhiteList' in params ? params.PublicDataStreamWhiteList : null;
|
|
4275
|
+
this.PublicDataStreamWhiteListStatus = 'PublicDataStreamWhiteListStatus' in params ? params.PublicDataStreamWhiteListStatus : null;
|
|
4276
|
+
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
/**
|
|
4281
|
+
* DeleteRabbitMQServerlessQueue response structure.
|
|
4282
|
+
* @class
|
|
4283
|
+
*/
|
|
4284
|
+
class DeleteRabbitMQServerlessQueueResponse extends AbstractModel {
|
|
4285
|
+
constructor(){
|
|
4286
|
+
super();
|
|
4287
|
+
|
|
4288
|
+
/**
|
|
4289
|
+
* Queue name.
|
|
4290
|
+
* @type {string || null}
|
|
4291
|
+
*/
|
|
4292
|
+
this.QueueName = null;
|
|
4293
|
+
|
|
4294
|
+
/**
|
|
4295
|
+
* 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.
|
|
4296
|
+
* @type {string || null}
|
|
4297
|
+
*/
|
|
4298
|
+
this.RequestId = null;
|
|
4299
|
+
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
/**
|
|
4303
|
+
* @private
|
|
4304
|
+
*/
|
|
4305
|
+
deserialize(params) {
|
|
4306
|
+
if (!params) {
|
|
4307
|
+
return;
|
|
4308
|
+
}
|
|
4309
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
4310
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4311
|
+
|
|
4312
|
+
}
|
|
4313
|
+
}
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
* CreateRabbitMQServerlessQueue response structure.
|
|
4317
|
+
* @class
|
|
4318
|
+
*/
|
|
4319
|
+
class CreateRabbitMQServerlessQueueResponse extends AbstractModel {
|
|
4320
|
+
constructor(){
|
|
4321
|
+
super();
|
|
4322
|
+
|
|
4323
|
+
/**
|
|
4324
|
+
* Queue name.
|
|
4325
|
+
* @type {string || null}
|
|
4326
|
+
*/
|
|
4327
|
+
this.QueueName = null;
|
|
4328
|
+
|
|
4329
|
+
/**
|
|
4330
|
+
* 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.
|
|
4331
|
+
* @type {string || null}
|
|
4332
|
+
*/
|
|
4333
|
+
this.RequestId = null;
|
|
4334
|
+
|
|
4335
|
+
}
|
|
4336
|
+
|
|
4337
|
+
/**
|
|
4338
|
+
* @private
|
|
4339
|
+
*/
|
|
4340
|
+
deserialize(params) {
|
|
4341
|
+
if (!params) {
|
|
4342
|
+
return;
|
|
4343
|
+
}
|
|
4344
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
4345
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4346
|
+
|
|
4347
|
+
}
|
|
4348
|
+
}
|
|
4349
|
+
|
|
4350
|
+
/**
|
|
4351
|
+
* DescribeRabbitMQServerlessQueues request structure.
|
|
4352
|
+
* @class
|
|
4353
|
+
*/
|
|
4354
|
+
class DescribeRabbitMQServerlessQueuesRequest extends AbstractModel {
|
|
4355
|
+
constructor(){
|
|
4356
|
+
super();
|
|
4357
|
+
|
|
4358
|
+
/**
|
|
4359
|
+
* Instance ID
|
|
4360
|
+
* @type {string || null}
|
|
4361
|
+
*/
|
|
4362
|
+
this.InstanceId = null;
|
|
4363
|
+
|
|
4364
|
+
/**
|
|
4365
|
+
* Vhost parameter.
|
|
4366
|
+
* @type {string || null}
|
|
4367
|
+
*/
|
|
4368
|
+
this.VirtualHost = null;
|
|
4369
|
+
|
|
4370
|
+
/**
|
|
4371
|
+
* Pagination offset
|
|
4372
|
+
* @type {number || null}
|
|
4373
|
+
*/
|
|
4374
|
+
this.Offset = null;
|
|
4375
|
+
|
|
4376
|
+
/**
|
|
4377
|
+
* Pagination limit
|
|
4378
|
+
* @type {number || null}
|
|
4379
|
+
*/
|
|
4380
|
+
this.Limit = null;
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* Search keywords
|
|
4384
|
+
* @type {string || null}
|
|
4385
|
+
*/
|
|
4386
|
+
this.SearchWord = null;
|
|
4387
|
+
|
|
4388
|
+
/**
|
|
4389
|
+
* Specifies the queue type filter criteria. if it is left blank or set to "all", it indicates classic and quorum queues; if set to "classic", it filters classic queues; if set to "quorum", it filters quorum queues.
|
|
4390
|
+
* @type {string || null}
|
|
4391
|
+
*/
|
|
4392
|
+
this.QueueType = null;
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* Sorting field.
|
|
4396
|
+
ConsumerNumber: specifies the number of online consumers.
|
|
4397
|
+
MessageHeapCount specifies the number of message backlogs.
|
|
4398
|
+
MessageRateInOut specifies the total production and consumption rate.
|
|
4399
|
+
MessageRateIn specifies the production rate.
|
|
4400
|
+
MessageRateOut specifies the consumption rate.
|
|
4401
|
+
* @type {string || null}
|
|
4402
|
+
*/
|
|
4403
|
+
this.SortElement = null;
|
|
4404
|
+
|
|
4405
|
+
/**
|
|
4406
|
+
* Sort order. valid values: ascend or descend.
|
|
4407
|
+
* @type {string || null}
|
|
4408
|
+
*/
|
|
4409
|
+
this.SortOrder = null;
|
|
4410
|
+
|
|
4411
|
+
}
|
|
4412
|
+
|
|
4413
|
+
/**
|
|
4414
|
+
* @private
|
|
4415
|
+
*/
|
|
4416
|
+
deserialize(params) {
|
|
4417
|
+
if (!params) {
|
|
4418
|
+
return;
|
|
4419
|
+
}
|
|
4420
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4421
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4422
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4423
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4424
|
+
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
4425
|
+
this.QueueType = 'QueueType' in params ? params.QueueType : null;
|
|
4426
|
+
this.SortElement = 'SortElement' in params ? params.SortElement : null;
|
|
4427
|
+
this.SortOrder = 'SortOrder' in params ? params.SortOrder : null;
|
|
4428
|
+
|
|
4429
|
+
}
|
|
4430
|
+
}
|
|
4431
|
+
|
|
4432
|
+
/**
|
|
4433
|
+
* DescribeRabbitMQServerlessBindings request structure.
|
|
4434
|
+
* @class
|
|
4435
|
+
*/
|
|
4436
|
+
class DescribeRabbitMQServerlessBindingsRequest extends AbstractModel {
|
|
4437
|
+
constructor(){
|
|
4438
|
+
super();
|
|
4439
|
+
|
|
4440
|
+
/**
|
|
4441
|
+
* Instance ID
|
|
4442
|
+
* @type {string || null}
|
|
4443
|
+
*/
|
|
4444
|
+
this.InstanceId = null;
|
|
4445
|
+
|
|
4446
|
+
/**
|
|
4447
|
+
* Vhost parameter.
|
|
4448
|
+
* @type {string || null}
|
|
4449
|
+
*/
|
|
4450
|
+
this.VirtualHost = null;
|
|
4451
|
+
|
|
4452
|
+
/**
|
|
4453
|
+
* Pagination Offset
|
|
4454
|
+
* @type {number || null}
|
|
4455
|
+
*/
|
|
4456
|
+
this.Offset = null;
|
|
4457
|
+
|
|
4458
|
+
/**
|
|
4459
|
+
* Pagination Limit
|
|
4460
|
+
* @type {number || null}
|
|
4461
|
+
*/
|
|
4462
|
+
this.Limit = null;
|
|
4463
|
+
|
|
4464
|
+
/**
|
|
4465
|
+
* Search keywords. do fuzzy search based on source exchange name, target resource name or binding key.
|
|
4466
|
+
* @type {string || null}
|
|
4467
|
+
*/
|
|
4468
|
+
this.SearchWord = null;
|
|
4469
|
+
|
|
4470
|
+
/**
|
|
4471
|
+
* Search and filter precisely according to the source Exchange.
|
|
4472
|
+
* @type {string || null}
|
|
4473
|
+
*/
|
|
4474
|
+
this.SourceExchange = null;
|
|
4475
|
+
|
|
4476
|
+
/**
|
|
4477
|
+
* Specifies precise search filter based on target QueueName. cannot set simultaneously with DestinationExchange filter.
|
|
4478
|
+
* @type {string || null}
|
|
4479
|
+
*/
|
|
4480
|
+
this.QueueName = null;
|
|
4481
|
+
|
|
4482
|
+
/**
|
|
4483
|
+
* Precise search filter based on target Exchange. cannot set it simultaneously with QueueName filter.
|
|
4484
|
+
* @type {string || null}
|
|
4485
|
+
*/
|
|
4486
|
+
this.DestinationExchange = null;
|
|
4487
|
+
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4490
|
+
/**
|
|
4491
|
+
* @private
|
|
4492
|
+
*/
|
|
4493
|
+
deserialize(params) {
|
|
4494
|
+
if (!params) {
|
|
4495
|
+
return;
|
|
4496
|
+
}
|
|
4497
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4498
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4499
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4500
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4501
|
+
this.SearchWord = 'SearchWord' in params ? params.SearchWord : null;
|
|
4502
|
+
this.SourceExchange = 'SourceExchange' in params ? params.SourceExchange : null;
|
|
4503
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
4504
|
+
this.DestinationExchange = 'DestinationExchange' in params ? params.DestinationExchange : null;
|
|
4505
|
+
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
|
|
4509
|
+
/**
|
|
4510
|
+
* DescribeRabbitMQServerlessPermission response structure.
|
|
4511
|
+
* @class
|
|
4512
|
+
*/
|
|
4513
|
+
class DescribeRabbitMQServerlessPermissionResponse extends AbstractModel {
|
|
4514
|
+
constructor(){
|
|
4515
|
+
super();
|
|
4516
|
+
|
|
4517
|
+
/**
|
|
4518
|
+
* Return the number of permissions.
|
|
4519
|
+
* @type {number || null}
|
|
4520
|
+
*/
|
|
4521
|
+
this.TotalCount = null;
|
|
4522
|
+
|
|
4523
|
+
/**
|
|
4524
|
+
* List of permission details.
|
|
4525
|
+
* @type {Array.<RabbitMQPermission> || null}
|
|
4526
|
+
*/
|
|
4527
|
+
this.RabbitMQPermissionList = null;
|
|
4528
|
+
|
|
4529
|
+
/**
|
|
4530
|
+
* 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.
|
|
4531
|
+
* @type {string || null}
|
|
4532
|
+
*/
|
|
4533
|
+
this.RequestId = null;
|
|
4534
|
+
|
|
4535
|
+
}
|
|
4536
|
+
|
|
4537
|
+
/**
|
|
4538
|
+
* @private
|
|
4539
|
+
*/
|
|
4540
|
+
deserialize(params) {
|
|
4541
|
+
if (!params) {
|
|
4542
|
+
return;
|
|
4543
|
+
}
|
|
4544
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
4545
|
+
|
|
4546
|
+
if (params.RabbitMQPermissionList) {
|
|
4547
|
+
this.RabbitMQPermissionList = new Array();
|
|
4548
|
+
for (let z in params.RabbitMQPermissionList) {
|
|
4549
|
+
let obj = new RabbitMQPermission();
|
|
4550
|
+
obj.deserialize(params.RabbitMQPermissionList[z]);
|
|
4551
|
+
this.RabbitMQPermissionList.push(obj);
|
|
4552
|
+
}
|
|
4553
|
+
}
|
|
4554
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4555
|
+
|
|
4556
|
+
}
|
|
4557
|
+
}
|
|
4558
|
+
|
|
4559
|
+
/**
|
|
4560
|
+
* DeleteRabbitMQServerlessBinding response structure.
|
|
4561
|
+
* @class
|
|
4562
|
+
*/
|
|
4563
|
+
class DeleteRabbitMQServerlessBindingResponse extends AbstractModel {
|
|
4564
|
+
constructor(){
|
|
4565
|
+
super();
|
|
4566
|
+
|
|
4567
|
+
/**
|
|
4568
|
+
* Queue name.
|
|
4569
|
+
* @type {string || null}
|
|
4570
|
+
*/
|
|
4571
|
+
this.InstanceId = null;
|
|
4572
|
+
|
|
4573
|
+
/**
|
|
4574
|
+
* Specifies the vhost parameter.
|
|
4575
|
+
* @type {string || null}
|
|
4576
|
+
*/
|
|
4577
|
+
this.VirtualHost = null;
|
|
4578
|
+
|
|
4579
|
+
/**
|
|
4580
|
+
* binding relationship Id.
|
|
4581
|
+
* @type {number || null}
|
|
4582
|
+
*/
|
|
4583
|
+
this.BindingId = null;
|
|
4584
|
+
|
|
4585
|
+
/**
|
|
4586
|
+
* 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.
|
|
4587
|
+
* @type {string || null}
|
|
4588
|
+
*/
|
|
4589
|
+
this.RequestId = null;
|
|
4590
|
+
|
|
4591
|
+
}
|
|
4592
|
+
|
|
4593
|
+
/**
|
|
4594
|
+
* @private
|
|
4595
|
+
*/
|
|
4596
|
+
deserialize(params) {
|
|
4597
|
+
if (!params) {
|
|
4598
|
+
return;
|
|
4599
|
+
}
|
|
4600
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4601
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4602
|
+
this.BindingId = 'BindingId' in params ? params.BindingId : null;
|
|
4603
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4604
|
+
|
|
4605
|
+
}
|
|
4606
|
+
}
|
|
4607
|
+
|
|
4608
|
+
/**
|
|
4609
|
+
* Virtual host quota.
|
|
4610
|
+
* @class
|
|
4611
|
+
*/
|
|
4612
|
+
class VirtualHostQuota extends AbstractModel {
|
|
4613
|
+
constructor(){
|
|
4614
|
+
super();
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* Maximum number of virtual hosts.
|
|
4618
|
+
* @type {number || null}
|
|
4619
|
+
*/
|
|
4620
|
+
this.MaxVirtualHost = null;
|
|
4621
|
+
|
|
4622
|
+
/**
|
|
4623
|
+
* Number of already used virtual hosts.
|
|
4624
|
+
* @type {number || null}
|
|
4625
|
+
*/
|
|
4626
|
+
this.UsedVirtualHost = null;
|
|
4627
|
+
|
|
4628
|
+
}
|
|
4629
|
+
|
|
4630
|
+
/**
|
|
4631
|
+
* @private
|
|
4632
|
+
*/
|
|
4633
|
+
deserialize(params) {
|
|
4634
|
+
if (!params) {
|
|
4635
|
+
return;
|
|
4636
|
+
}
|
|
4637
|
+
this.MaxVirtualHost = 'MaxVirtualHost' in params ? params.MaxVirtualHost : null;
|
|
4638
|
+
this.UsedVirtualHost = 'UsedVirtualHost' in params ? params.UsedVirtualHost : null;
|
|
4639
|
+
|
|
4640
|
+
}
|
|
4641
|
+
}
|
|
4642
|
+
|
|
4643
|
+
/**
|
|
4644
|
+
* DeleteRabbitMQServerlessVirtualHost request structure.
|
|
4645
|
+
* @class
|
|
4646
|
+
*/
|
|
4647
|
+
class DeleteRabbitMQServerlessVirtualHostRequest extends AbstractModel {
|
|
4648
|
+
constructor(){
|
|
4649
|
+
super();
|
|
4650
|
+
|
|
4651
|
+
/**
|
|
4652
|
+
* instance ID
|
|
4653
|
+
* @type {string || null}
|
|
4654
|
+
*/
|
|
4655
|
+
this.InstanceId = null;
|
|
4656
|
+
|
|
4657
|
+
/**
|
|
4658
|
+
* Specifies the vhost name.
|
|
4659
|
+
* @type {string || null}
|
|
4660
|
+
*/
|
|
4661
|
+
this.VirtualHost = null;
|
|
4662
|
+
|
|
4663
|
+
}
|
|
4664
|
+
|
|
4665
|
+
/**
|
|
4666
|
+
* @private
|
|
4667
|
+
*/
|
|
4668
|
+
deserialize(params) {
|
|
4669
|
+
if (!params) {
|
|
4670
|
+
return;
|
|
4671
|
+
}
|
|
4672
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4673
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4674
|
+
|
|
4675
|
+
}
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
/**
|
|
4679
|
+
* ModifyRabbitMQServerlessExchange request structure.
|
|
4680
|
+
* @class
|
|
4681
|
+
*/
|
|
4682
|
+
class ModifyRabbitMQServerlessExchangeRequest extends AbstractModel {
|
|
4683
|
+
constructor(){
|
|
4684
|
+
super();
|
|
4685
|
+
|
|
4686
|
+
/**
|
|
4687
|
+
* Instance id.
|
|
4688
|
+
* @type {string || null}
|
|
4689
|
+
*/
|
|
4690
|
+
this.InstanceId = null;
|
|
4691
|
+
|
|
4692
|
+
/**
|
|
4693
|
+
* Specifies the vhost parameter.
|
|
4694
|
+
* @type {string || null}
|
|
4695
|
+
*/
|
|
4696
|
+
this.VirtualHost = null;
|
|
4697
|
+
|
|
4698
|
+
/**
|
|
4699
|
+
* exchange name.
|
|
4700
|
+
* @type {string || null}
|
|
4701
|
+
*/
|
|
4702
|
+
this.ExchangeName = null;
|
|
4703
|
+
|
|
4704
|
+
/**
|
|
4705
|
+
* Remarks
|
|
4706
|
+
* @type {string || null}
|
|
4707
|
+
*/
|
|
4708
|
+
this.Remark = null;
|
|
4709
|
+
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
/**
|
|
4713
|
+
* @private
|
|
4714
|
+
*/
|
|
4715
|
+
deserialize(params) {
|
|
4716
|
+
if (!params) {
|
|
4717
|
+
return;
|
|
4718
|
+
}
|
|
4719
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4720
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4721
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
4722
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
4723
|
+
|
|
4724
|
+
}
|
|
4725
|
+
}
|
|
4726
|
+
|
|
4727
|
+
/**
|
|
4728
|
+
* RabbitMQ exchange list member information.
|
|
4729
|
+
* @class
|
|
4730
|
+
*/
|
|
4731
|
+
class RabbitMQExchangeListInfo extends AbstractModel {
|
|
4732
|
+
constructor(){
|
|
4733
|
+
super();
|
|
4734
|
+
|
|
4735
|
+
/**
|
|
4736
|
+
* exchange name.
|
|
4737
|
+
* @type {string || null}
|
|
4738
|
+
*/
|
|
4739
|
+
this.ExchangeName = null;
|
|
4740
|
+
|
|
4741
|
+
/**
|
|
4742
|
+
* Remarks.
|
|
4743
|
+
* @type {string || null}
|
|
4744
|
+
*/
|
|
4745
|
+
this.Remark = null;
|
|
4746
|
+
|
|
4747
|
+
/**
|
|
4748
|
+
* Specifies the exchange type. valid values: "fanout", "direct", "topic", "headers".
|
|
4749
|
+
* @type {string || null}
|
|
4750
|
+
*/
|
|
4751
|
+
this.ExchangeType = null;
|
|
4752
|
+
|
|
4753
|
+
/**
|
|
4754
|
+
* VHost parameter.
|
|
4755
|
+
* @type {string || null}
|
|
4756
|
+
*/
|
|
4757
|
+
this.VirtualHost = null;
|
|
4758
|
+
|
|
4759
|
+
/**
|
|
4760
|
+
* exchange creator. valid values: `system` (generated by the system), `user` (user-created).
|
|
4761
|
+
* @type {string || null}
|
|
4762
|
+
*/
|
|
4763
|
+
this.ExchangeCreator = null;
|
|
4764
|
+
|
|
4765
|
+
/**
|
|
4766
|
+
* exchange creation time.
|
|
4767
|
+
* @type {string || null}
|
|
4768
|
+
*/
|
|
4769
|
+
this.CreateTimeStamp = null;
|
|
4770
|
+
|
|
4771
|
+
/**
|
|
4772
|
+
* exchange modification time.
|
|
4773
|
+
* @type {string || null}
|
|
4774
|
+
*/
|
|
4775
|
+
this.ModTimeStamp = null;
|
|
4776
|
+
|
|
4777
|
+
/**
|
|
4778
|
+
* Input message rate.
|
|
4779
|
+
* @type {number || null}
|
|
4780
|
+
*/
|
|
4781
|
+
this.MessageRateIn = null;
|
|
4782
|
+
|
|
4783
|
+
/**
|
|
4784
|
+
* Output message rate.
|
|
4785
|
+
* @type {number || null}
|
|
4786
|
+
*/
|
|
4787
|
+
this.MessageRateOut = null;
|
|
4788
|
+
|
|
4789
|
+
/**
|
|
4790
|
+
* Specifies whether it is a persistent exchange. true indicates persistent, and false indicates non-persistent.
|
|
4791
|
+
* @type {boolean || null}
|
|
4792
|
+
*/
|
|
4793
|
+
this.Durable = null;
|
|
4794
|
+
|
|
4795
|
+
/**
|
|
4796
|
+
* Specifies whether to automatically delete the switch. true indicates automatic deletion, and false indicates non-automatic deletion.
|
|
4797
|
+
* @type {boolean || null}
|
|
4798
|
+
*/
|
|
4799
|
+
this.AutoDelete = null;
|
|
4800
|
+
|
|
4801
|
+
/**
|
|
4802
|
+
* Whether it is an internal switch. valid values: true (indicating an internal switch).
|
|
4803
|
+
* @type {boolean || null}
|
|
4804
|
+
*/
|
|
4805
|
+
this.Internal = null;
|
|
4806
|
+
|
|
4807
|
+
/**
|
|
4808
|
+
* Specifies the ID of the associated instance to which the switch belongs.
|
|
4809
|
+
* @type {string || null}
|
|
4810
|
+
*/
|
|
4811
|
+
this.InstanceId = null;
|
|
4812
|
+
|
|
4813
|
+
/**
|
|
4814
|
+
* The name of the effective policy.
|
|
4815
|
+
* @type {string || null}
|
|
4816
|
+
*/
|
|
4817
|
+
this.Policy = null;
|
|
4818
|
+
|
|
4819
|
+
/**
|
|
4820
|
+
* Additional parameters key-value objects.
|
|
4821
|
+
* @type {string || null}
|
|
4822
|
+
*/
|
|
4823
|
+
this.Arguments = null;
|
|
4824
|
+
|
|
4825
|
+
/**
|
|
4826
|
+
* Number of unscheduled delayed messages.
|
|
4827
|
+
* @type {number || null}
|
|
4828
|
+
*/
|
|
4829
|
+
this.MessagesDelayed = null;
|
|
4830
|
+
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
/**
|
|
4834
|
+
* @private
|
|
4835
|
+
*/
|
|
4836
|
+
deserialize(params) {
|
|
4837
|
+
if (!params) {
|
|
4838
|
+
return;
|
|
4839
|
+
}
|
|
4840
|
+
this.ExchangeName = 'ExchangeName' in params ? params.ExchangeName : null;
|
|
4841
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
4842
|
+
this.ExchangeType = 'ExchangeType' in params ? params.ExchangeType : null;
|
|
4843
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4844
|
+
this.ExchangeCreator = 'ExchangeCreator' in params ? params.ExchangeCreator : null;
|
|
4845
|
+
this.CreateTimeStamp = 'CreateTimeStamp' in params ? params.CreateTimeStamp : null;
|
|
4846
|
+
this.ModTimeStamp = 'ModTimeStamp' in params ? params.ModTimeStamp : null;
|
|
4847
|
+
this.MessageRateIn = 'MessageRateIn' in params ? params.MessageRateIn : null;
|
|
4848
|
+
this.MessageRateOut = 'MessageRateOut' in params ? params.MessageRateOut : null;
|
|
4849
|
+
this.Durable = 'Durable' in params ? params.Durable : null;
|
|
4850
|
+
this.AutoDelete = 'AutoDelete' in params ? params.AutoDelete : null;
|
|
4851
|
+
this.Internal = 'Internal' in params ? params.Internal : null;
|
|
4852
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4853
|
+
this.Policy = 'Policy' in params ? params.Policy : null;
|
|
4854
|
+
this.Arguments = 'Arguments' in params ? params.Arguments : null;
|
|
4855
|
+
this.MessagesDelayed = 'MessagesDelayed' in params ? params.MessagesDelayed : null;
|
|
4856
|
+
|
|
4857
|
+
}
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
/**
|
|
4861
|
+
* ModifyRabbitMQServerlessQueue request structure.
|
|
4862
|
+
* @class
|
|
4863
|
+
*/
|
|
4864
|
+
class ModifyRabbitMQServerlessQueueRequest extends AbstractModel {
|
|
4865
|
+
constructor(){
|
|
4866
|
+
super();
|
|
4867
|
+
|
|
4868
|
+
/**
|
|
4869
|
+
* Instance ID
|
|
4870
|
+
* @type {string || null}
|
|
4871
|
+
*/
|
|
4872
|
+
this.InstanceId = null;
|
|
4873
|
+
|
|
4874
|
+
/**
|
|
4875
|
+
* Vhost parameter.
|
|
4876
|
+
* @type {string || null}
|
|
4877
|
+
*/
|
|
4878
|
+
this.VirtualHost = null;
|
|
4879
|
+
|
|
4880
|
+
/**
|
|
4881
|
+
* Queue name.
|
|
4882
|
+
* @type {string || null}
|
|
4883
|
+
*/
|
|
4884
|
+
this.QueueName = null;
|
|
4885
|
+
|
|
4886
|
+
/**
|
|
4887
|
+
* Newly modified remark.
|
|
4888
|
+
* @type {string || null}
|
|
4889
|
+
*/
|
|
4890
|
+
this.Remark = null;
|
|
4891
|
+
|
|
4892
|
+
}
|
|
4893
|
+
|
|
4894
|
+
/**
|
|
4895
|
+
* @private
|
|
4896
|
+
*/
|
|
4897
|
+
deserialize(params) {
|
|
4898
|
+
if (!params) {
|
|
4899
|
+
return;
|
|
4900
|
+
}
|
|
4901
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4902
|
+
this.VirtualHost = 'VirtualHost' in params ? params.VirtualHost : null;
|
|
4903
|
+
this.QueueName = 'QueueName' in params ? params.QueueName : null;
|
|
4904
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
4905
|
+
|
|
4906
|
+
}
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4909
|
+
module.exports = {
|
|
4910
|
+
DescribeRabbitMQServerlessConnectionResponse: DescribeRabbitMQServerlessConnectionResponse,
|
|
4911
|
+
DeleteRabbitMQServerlessPermissionResponse: DeleteRabbitMQServerlessPermissionResponse,
|
|
4912
|
+
RabbitMQBindingListInfo: RabbitMQBindingListInfo,
|
|
4913
|
+
ModifyRabbitMQServerlessUserResponse: ModifyRabbitMQServerlessUserResponse,
|
|
4914
|
+
CreateRabbitMQServerlessVirtualHostRequest: CreateRabbitMQServerlessVirtualHostRequest,
|
|
4915
|
+
DescribeRabbitMQServerlessUserResponse: DescribeRabbitMQServerlessUserResponse,
|
|
4916
|
+
ModifyRabbitMQServerlessExchangeResponse: ModifyRabbitMQServerlessExchangeResponse,
|
|
4917
|
+
DescribeRabbitMQServerlessConsumersResponse: DescribeRabbitMQServerlessConsumersResponse,
|
|
4918
|
+
DescribeRabbitMQServerlessQueueDetailResponse: DescribeRabbitMQServerlessQueueDetailResponse,
|
|
4919
|
+
DescribeRabbitMQServerlessVirtualHostRequest: DescribeRabbitMQServerlessVirtualHostRequest,
|
|
4920
|
+
ModifyRabbitMQServerlessVirtualHostRequest: ModifyRabbitMQServerlessVirtualHostRequest,
|
|
4921
|
+
CreateRabbitMQServerlessUserResponse: CreateRabbitMQServerlessUserResponse,
|
|
4922
|
+
DeleteRabbitMQServerlessQueueRequest: DeleteRabbitMQServerlessQueueRequest,
|
|
4923
|
+
ListRabbitMQServerlessInstancesResponse: ListRabbitMQServerlessInstancesResponse,
|
|
4924
|
+
CreateRabbitMQServerlessUserRequest: CreateRabbitMQServerlessUserRequest,
|
|
4925
|
+
ModifyRabbitMQServerlessUserRequest: ModifyRabbitMQServerlessUserRequest,
|
|
4926
|
+
DeleteRabbitMQServerlessPermissionRequest: DeleteRabbitMQServerlessPermissionRequest,
|
|
4927
|
+
CreateRabbitMQServerlessVirtualHostResponse: CreateRabbitMQServerlessVirtualHostResponse,
|
|
4928
|
+
ModifyRabbitMQServerlessInstanceRequest: ModifyRabbitMQServerlessInstanceRequest,
|
|
4929
|
+
RabbitMQServerlessInstance: RabbitMQServerlessInstance,
|
|
4930
|
+
DescribeRabbitMQServerlessExchangesResponse: DescribeRabbitMQServerlessExchangesResponse,
|
|
4931
|
+
DeleteRabbitMQServerlessVirtualHostResponse: DeleteRabbitMQServerlessVirtualHostResponse,
|
|
4932
|
+
RabbitMQUser: RabbitMQUser,
|
|
4933
|
+
RabbitMQServerlessAccessInfo: RabbitMQServerlessAccessInfo,
|
|
4934
|
+
RabbitMQPermission: RabbitMQPermission,
|
|
4935
|
+
QueueQuota: QueueQuota,
|
|
4936
|
+
DescribeRabbitMQServerlessVirtualHostResponse: DescribeRabbitMQServerlessVirtualHostResponse,
|
|
4937
|
+
DescribeRabbitMQServerlessQueuesResponse: DescribeRabbitMQServerlessQueuesResponse,
|
|
4938
|
+
ModifyRabbitMQServerlessInstanceResponse: ModifyRabbitMQServerlessInstanceResponse,
|
|
4939
|
+
ModifyRabbitMQServerlessVirtualHostResponse: ModifyRabbitMQServerlessVirtualHostResponse,
|
|
4940
|
+
CreateRabbitMQServerlessExchangeRequest: CreateRabbitMQServerlessExchangeRequest,
|
|
4941
|
+
DescribeRabbitMQServerlessConnectionRequest: DescribeRabbitMQServerlessConnectionRequest,
|
|
4942
|
+
DescribeRabbitMQServerlessUserRequest: DescribeRabbitMQServerlessUserRequest,
|
|
4943
|
+
DeleteRabbitMQServerlessUserResponse: DeleteRabbitMQServerlessUserResponse,
|
|
4944
|
+
RabbitMQClusterInfo: RabbitMQClusterInfo,
|
|
4945
|
+
DescribeRabbitMQServerlessBindingsResponse: DescribeRabbitMQServerlessBindingsResponse,
|
|
4946
|
+
CreateRabbitMQServerlessExchangeResponse: CreateRabbitMQServerlessExchangeResponse,
|
|
4947
|
+
DeleteRabbitMQServerlessExchangeResponse: DeleteRabbitMQServerlessExchangeResponse,
|
|
4948
|
+
DeleteRabbitMQServerlessUserRequest: DeleteRabbitMQServerlessUserRequest,
|
|
4949
|
+
DescribeRabbitMQServerlessConsumersRequest: DescribeRabbitMQServerlessConsumersRequest,
|
|
4950
|
+
RabbitMQConsumersListInfo: RabbitMQConsumersListInfo,
|
|
4951
|
+
CreateRabbitMQServerlessBindingResponse: CreateRabbitMQServerlessBindingResponse,
|
|
4952
|
+
UserQuota: UserQuota,
|
|
4953
|
+
ModifyRabbitMQServerlessPermissionRequest: ModifyRabbitMQServerlessPermissionRequest,
|
|
4954
|
+
CreateRabbitMQServerlessQueueRequest: CreateRabbitMQServerlessQueueRequest,
|
|
4955
|
+
DeleteRabbitMQServerlessBindingRequest: DeleteRabbitMQServerlessBindingRequest,
|
|
4956
|
+
RabbitMQVirtualHostStatistics: RabbitMQVirtualHostStatistics,
|
|
4957
|
+
DescribeRabbitMQServerlessQueueDetailRequest: DescribeRabbitMQServerlessQueueDetailRequest,
|
|
4958
|
+
RabbitMQQueueListInfo: RabbitMQQueueListInfo,
|
|
4959
|
+
Filter: Filter,
|
|
4960
|
+
ModifyRabbitMQServerlessPermissionResponse: ModifyRabbitMQServerlessPermissionResponse,
|
|
4961
|
+
DeleteRabbitMQServerlessExchangeRequest: DeleteRabbitMQServerlessExchangeRequest,
|
|
4962
|
+
DescribeRabbitMQServerlessExchangeDetailRequest: DescribeRabbitMQServerlessExchangeDetailRequest,
|
|
4963
|
+
RabbitMQClusterSpecInfo: RabbitMQClusterSpecInfo,
|
|
4964
|
+
ModifyRabbitMQServerlessQueueResponse: ModifyRabbitMQServerlessQueueResponse,
|
|
4965
|
+
CreateRabbitMQServerlessBindingRequest: CreateRabbitMQServerlessBindingRequest,
|
|
4966
|
+
RabbitMQServerlessEndpoint: RabbitMQServerlessEndpoint,
|
|
4967
|
+
RabbitMQVirtualHostInfo: RabbitMQVirtualHostInfo,
|
|
4968
|
+
ExchangeQuota: ExchangeQuota,
|
|
4969
|
+
DescribeRabbitMQServerlessInstanceResponse: DescribeRabbitMQServerlessInstanceResponse,
|
|
4970
|
+
ListRabbitMQServerlessInstancesRequest: ListRabbitMQServerlessInstancesRequest,
|
|
4971
|
+
RabbitMQConnection: RabbitMQConnection,
|
|
4972
|
+
RabbitMQQueueListConsumerDetailInfo: RabbitMQQueueListConsumerDetailInfo,
|
|
4973
|
+
DescribeRabbitMQServerlessInstanceRequest: DescribeRabbitMQServerlessInstanceRequest,
|
|
4974
|
+
DescribeRabbitMQServerlessPermissionRequest: DescribeRabbitMQServerlessPermissionRequest,
|
|
4975
|
+
DescribeRabbitMQServerlessExchangeDetailResponse: DescribeRabbitMQServerlessExchangeDetailResponse,
|
|
4976
|
+
VpcEndpointInfo: VpcEndpointInfo,
|
|
4977
|
+
DescribeRabbitMQServerlessExchangesRequest: DescribeRabbitMQServerlessExchangesRequest,
|
|
4978
|
+
RabbitMQServerlessWhiteListInfo: RabbitMQServerlessWhiteListInfo,
|
|
4979
|
+
DeleteRabbitMQServerlessQueueResponse: DeleteRabbitMQServerlessQueueResponse,
|
|
4980
|
+
CreateRabbitMQServerlessQueueResponse: CreateRabbitMQServerlessQueueResponse,
|
|
4981
|
+
DescribeRabbitMQServerlessQueuesRequest: DescribeRabbitMQServerlessQueuesRequest,
|
|
4982
|
+
DescribeRabbitMQServerlessBindingsRequest: DescribeRabbitMQServerlessBindingsRequest,
|
|
4983
|
+
DescribeRabbitMQServerlessPermissionResponse: DescribeRabbitMQServerlessPermissionResponse,
|
|
4984
|
+
DeleteRabbitMQServerlessBindingResponse: DeleteRabbitMQServerlessBindingResponse,
|
|
4985
|
+
VirtualHostQuota: VirtualHostQuota,
|
|
4986
|
+
DeleteRabbitMQServerlessVirtualHostRequest: DeleteRabbitMQServerlessVirtualHostRequest,
|
|
4987
|
+
ModifyRabbitMQServerlessExchangeRequest: ModifyRabbitMQServerlessExchangeRequest,
|
|
4988
|
+
RabbitMQExchangeListInfo: RabbitMQExchangeListInfo,
|
|
4989
|
+
ModifyRabbitMQServerlessQueueRequest: ModifyRabbitMQServerlessQueueRequest,
|
|
4990
|
+
|
|
4991
|
+
}
|