tencentcloud-sdk-python 3.0.1335__py2.py3-none-any.whl → 3.0.1337__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/acp/v20220105/models.py +0 -8
- tencentcloud/aiart/v20221229/aiart_client.py +24 -0
- tencentcloud/aiart/v20221229/models.py +121 -0
- tencentcloud/antiddos/v20200309/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdwch/v20200915/models.py +2 -2
- tencentcloud/chdfs/v20201112/models.py +0 -12
- tencentcloud/cvm/v20170312/models.py +0 -8
- tencentcloud/dlc/v20210125/models.py +17 -0
- tencentcloud/domain/v20180808/errorcodes.py +2 -2
- tencentcloud/ess/v20201111/ess_client.py +5 -4
- tencentcloud/ess/v20201111/models.py +4 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +5 -4
- tencentcloud/essbasic/v20210526/models.py +8 -2
- tencentcloud/iotexplorer/v20190423/models.py +237 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/mqtt/v20240516/models.py +1398 -192
- tencentcloud/mqtt/v20240516/mqtt_client.py +115 -0
- tencentcloud/oceanus/v20190422/models.py +70 -0
- tencentcloud/organization/v20210331/models.py +158 -0
- tencentcloud/organization/v20210331/organization_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1335.dist-info → tencentcloud_sdk_python-3.0.1337.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1335.dist-info → tencentcloud_sdk_python-3.0.1337.dist-info}/RECORD +27 -27
- {tencentcloud_sdk_python-3.0.1335.dist-info → tencentcloud_sdk_python-3.0.1337.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1335.dist-info → tencentcloud_sdk_python-3.0.1337.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1335.dist-info → tencentcloud_sdk_python-3.0.1337.dist-info}/top_level.txt +0 -0
@@ -282,42 +282,30 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
282
282
|
:param _InstanceId: 集群ID
|
283
283
|
:type InstanceId: str
|
284
284
|
:param _PolicyName: 规则名
|
285
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
286
285
|
:type PolicyName: str
|
287
286
|
:param _Version: 规则语法版本
|
288
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
289
287
|
:type Version: int
|
290
288
|
:param _Priority: 越小越优先
|
291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
292
289
|
:type Priority: int
|
293
290
|
:param _Effect: allow/deny
|
294
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
295
291
|
:type Effect: str
|
296
292
|
:param _Actions: connect、pub、sub
|
297
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
298
293
|
:type Actions: str
|
299
294
|
:param _Resources: 资源
|
300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
301
295
|
:type Resources: str
|
302
296
|
:param _ClientId: client
|
303
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
304
297
|
:type ClientId: str
|
305
298
|
:param _Username: 用户
|
306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
307
299
|
:type Username: str
|
308
300
|
:param _Ip: IP地址
|
309
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
310
301
|
:type Ip: str
|
311
302
|
:param _Qos: 0,1,2
|
312
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
313
303
|
:type Qos: str
|
314
304
|
:param _Retain: 1:表示匹配retain消息
|
315
305
|
2:表示匹配非retain消息
|
316
306
|
3:表示匹配retain和非retain消息
|
317
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
318
307
|
:type Retain: int
|
319
308
|
:param _Remark: 描述
|
320
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
321
309
|
:type Remark: str
|
322
310
|
:param _CreatedTime: 1713164969433
|
323
311
|
:type CreatedTime: int
|
@@ -366,7 +354,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
366
354
|
@property
|
367
355
|
def PolicyName(self):
|
368
356
|
"""规则名
|
369
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
370
357
|
:rtype: str
|
371
358
|
"""
|
372
359
|
return self._PolicyName
|
@@ -378,7 +365,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
378
365
|
@property
|
379
366
|
def Version(self):
|
380
367
|
"""规则语法版本
|
381
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
382
368
|
:rtype: int
|
383
369
|
"""
|
384
370
|
return self._Version
|
@@ -390,7 +376,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
390
376
|
@property
|
391
377
|
def Priority(self):
|
392
378
|
"""越小越优先
|
393
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
394
379
|
:rtype: int
|
395
380
|
"""
|
396
381
|
return self._Priority
|
@@ -402,7 +387,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
402
387
|
@property
|
403
388
|
def Effect(self):
|
404
389
|
"""allow/deny
|
405
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
406
390
|
:rtype: str
|
407
391
|
"""
|
408
392
|
return self._Effect
|
@@ -414,7 +398,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
414
398
|
@property
|
415
399
|
def Actions(self):
|
416
400
|
"""connect、pub、sub
|
417
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
418
401
|
:rtype: str
|
419
402
|
"""
|
420
403
|
return self._Actions
|
@@ -426,7 +409,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
426
409
|
@property
|
427
410
|
def Resources(self):
|
428
411
|
"""资源
|
429
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
430
412
|
:rtype: str
|
431
413
|
"""
|
432
414
|
return self._Resources
|
@@ -438,7 +420,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
438
420
|
@property
|
439
421
|
def ClientId(self):
|
440
422
|
"""client
|
441
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
442
423
|
:rtype: str
|
443
424
|
"""
|
444
425
|
return self._ClientId
|
@@ -450,7 +431,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
450
431
|
@property
|
451
432
|
def Username(self):
|
452
433
|
"""用户
|
453
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
454
434
|
:rtype: str
|
455
435
|
"""
|
456
436
|
return self._Username
|
@@ -462,7 +442,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
462
442
|
@property
|
463
443
|
def Ip(self):
|
464
444
|
"""IP地址
|
465
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
466
445
|
:rtype: str
|
467
446
|
"""
|
468
447
|
return self._Ip
|
@@ -474,7 +453,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
474
453
|
@property
|
475
454
|
def Qos(self):
|
476
455
|
"""0,1,2
|
477
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
478
456
|
:rtype: str
|
479
457
|
"""
|
480
458
|
return self._Qos
|
@@ -488,7 +466,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
488
466
|
"""1:表示匹配retain消息
|
489
467
|
2:表示匹配非retain消息
|
490
468
|
3:表示匹配retain和非retain消息
|
491
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
492
469
|
:rtype: int
|
493
470
|
"""
|
494
471
|
return self._Retain
|
@@ -500,7 +477,6 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
500
477
|
@property
|
501
478
|
def Remark(self):
|
502
479
|
"""描述
|
503
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
504
480
|
:rtype: str
|
505
481
|
"""
|
506
482
|
return self._Remark
|
@@ -567,10 +543,8 @@ class AuthorizationPolicyPriority(AbstractModel):
|
|
567
543
|
def __init__(self):
|
568
544
|
r"""
|
569
545
|
:param _Id: 策略id
|
570
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
571
546
|
:type Id: int
|
572
547
|
:param _Priority: 优先级
|
573
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
574
548
|
:type Priority: int
|
575
549
|
"""
|
576
550
|
self._Id = None
|
@@ -579,7 +553,6 @@ class AuthorizationPolicyPriority(AbstractModel):
|
|
579
553
|
@property
|
580
554
|
def Id(self):
|
581
555
|
"""策略id
|
582
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
583
556
|
:rtype: int
|
584
557
|
"""
|
585
558
|
return self._Id
|
@@ -591,7 +564,6 @@ class AuthorizationPolicyPriority(AbstractModel):
|
|
591
564
|
@property
|
592
565
|
def Priority(self):
|
593
566
|
"""优先级
|
594
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
595
567
|
:rtype: int
|
596
568
|
"""
|
597
569
|
return self._Priority
|
@@ -614,6 +586,57 @@ class AuthorizationPolicyPriority(AbstractModel):
|
|
614
586
|
|
615
587
|
|
616
588
|
|
589
|
+
class BodyItem(AbstractModel):
|
590
|
+
"""HTTP 认证器body
|
591
|
+
|
592
|
+
"""
|
593
|
+
|
594
|
+
def __init__(self):
|
595
|
+
r"""
|
596
|
+
:param _Key: body key
|
597
|
+
:type Key: str
|
598
|
+
:param _Value: body key
|
599
|
+
:type Value: str
|
600
|
+
"""
|
601
|
+
self._Key = None
|
602
|
+
self._Value = None
|
603
|
+
|
604
|
+
@property
|
605
|
+
def Key(self):
|
606
|
+
"""body key
|
607
|
+
:rtype: str
|
608
|
+
"""
|
609
|
+
return self._Key
|
610
|
+
|
611
|
+
@Key.setter
|
612
|
+
def Key(self, Key):
|
613
|
+
self._Key = Key
|
614
|
+
|
615
|
+
@property
|
616
|
+
def Value(self):
|
617
|
+
"""body key
|
618
|
+
:rtype: str
|
619
|
+
"""
|
620
|
+
return self._Value
|
621
|
+
|
622
|
+
@Value.setter
|
623
|
+
def Value(self, Value):
|
624
|
+
self._Value = Value
|
625
|
+
|
626
|
+
|
627
|
+
def _deserialize(self, params):
|
628
|
+
self._Key = params.get("Key")
|
629
|
+
self._Value = params.get("Value")
|
630
|
+
memeber_set = set(params.keys())
|
631
|
+
for name, value in vars(self).items():
|
632
|
+
property_name = name[1:]
|
633
|
+
if property_name in memeber_set:
|
634
|
+
memeber_set.remove(property_name)
|
635
|
+
if len(memeber_set) > 0:
|
636
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
637
|
+
|
638
|
+
|
639
|
+
|
617
640
|
class CaCertificateItem(AbstractModel):
|
618
641
|
"""CA证书信息
|
619
642
|
|
@@ -632,28 +655,20 @@ class CaCertificateItem(AbstractModel):
|
|
632
655
|
:param _VerificationCertificate: 验证证书内容
|
633
656
|
:type VerificationCertificate: str
|
634
657
|
:param _Status: ca状态
|
635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
636
658
|
:type Status: str
|
637
659
|
:param _LastActivationTime: 上次激活时间
|
638
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
639
660
|
:type LastActivationTime: int
|
640
661
|
:param _CreatedTime: 创建时间
|
641
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
642
662
|
:type CreatedTime: int
|
643
663
|
:param _UpdateTime: 预销毁时间
|
644
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
645
664
|
:type UpdateTime: int
|
646
665
|
:param _LastInactivationTime: 上次去激活时间
|
647
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
648
666
|
:type LastInactivationTime: int
|
649
667
|
:param _CaIssuerCn: Ca证书颁发者CN
|
650
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
651
668
|
:type CaIssuerCn: str
|
652
669
|
:param _NotBeforeTime: 生效时间
|
653
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
654
670
|
:type NotBeforeTime: int
|
655
671
|
:param _NotAfterTime: 失效时间
|
656
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
657
672
|
:type NotAfterTime: int
|
658
673
|
"""
|
659
674
|
self._CaCn = None
|
@@ -728,7 +743,6 @@ class CaCertificateItem(AbstractModel):
|
|
728
743
|
@property
|
729
744
|
def Status(self):
|
730
745
|
"""ca状态
|
731
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
732
746
|
:rtype: str
|
733
747
|
"""
|
734
748
|
return self._Status
|
@@ -740,7 +754,6 @@ class CaCertificateItem(AbstractModel):
|
|
740
754
|
@property
|
741
755
|
def LastActivationTime(self):
|
742
756
|
"""上次激活时间
|
743
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
744
757
|
:rtype: int
|
745
758
|
"""
|
746
759
|
return self._LastActivationTime
|
@@ -752,7 +765,6 @@ class CaCertificateItem(AbstractModel):
|
|
752
765
|
@property
|
753
766
|
def CreatedTime(self):
|
754
767
|
"""创建时间
|
755
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
756
768
|
:rtype: int
|
757
769
|
"""
|
758
770
|
return self._CreatedTime
|
@@ -764,7 +776,6 @@ class CaCertificateItem(AbstractModel):
|
|
764
776
|
@property
|
765
777
|
def UpdateTime(self):
|
766
778
|
"""预销毁时间
|
767
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
768
779
|
:rtype: int
|
769
780
|
"""
|
770
781
|
return self._UpdateTime
|
@@ -776,7 +787,6 @@ class CaCertificateItem(AbstractModel):
|
|
776
787
|
@property
|
777
788
|
def LastInactivationTime(self):
|
778
789
|
"""上次去激活时间
|
779
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
780
790
|
:rtype: int
|
781
791
|
"""
|
782
792
|
return self._LastInactivationTime
|
@@ -788,7 +798,6 @@ class CaCertificateItem(AbstractModel):
|
|
788
798
|
@property
|
789
799
|
def CaIssuerCn(self):
|
790
800
|
"""Ca证书颁发者CN
|
791
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
792
801
|
:rtype: str
|
793
802
|
"""
|
794
803
|
return self._CaIssuerCn
|
@@ -800,7 +809,6 @@ class CaCertificateItem(AbstractModel):
|
|
800
809
|
@property
|
801
810
|
def NotBeforeTime(self):
|
802
811
|
"""生效时间
|
803
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
804
812
|
:rtype: int
|
805
813
|
"""
|
806
814
|
return self._NotBeforeTime
|
@@ -812,7 +820,6 @@ class CaCertificateItem(AbstractModel):
|
|
812
820
|
@property
|
813
821
|
def NotAfterTime(self):
|
814
822
|
"""失效时间
|
815
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
816
823
|
:rtype: int
|
817
824
|
"""
|
818
825
|
return self._NotAfterTime
|
@@ -1090,6 +1097,215 @@ class CreateAuthorizationPolicyResponse(AbstractModel):
|
|
1090
1097
|
self._RequestId = params.get("RequestId")
|
1091
1098
|
|
1092
1099
|
|
1100
|
+
class CreateHttpAuthenticatorRequest(AbstractModel):
|
1101
|
+
"""CreateHttpAuthenticator请求参数结构体
|
1102
|
+
|
1103
|
+
"""
|
1104
|
+
|
1105
|
+
def __init__(self):
|
1106
|
+
r"""
|
1107
|
+
:param _InstanceId: 实例ID
|
1108
|
+
:type InstanceId: str
|
1109
|
+
:param _Endpoint: jwks端点
|
1110
|
+
:type Endpoint: str
|
1111
|
+
:param _Concurrency: 最大并发连接数,默认8,范围:1-20
|
1112
|
+
:type Concurrency: int
|
1113
|
+
:param _Method: 网络请求方法 Get 或 Post,默认post
|
1114
|
+
:type Method: str
|
1115
|
+
:param _Status: 认证器是否开启:open-启用;close-关闭
|
1116
|
+
:type Status: str
|
1117
|
+
:param _Remark: 说明
|
1118
|
+
:type Remark: str
|
1119
|
+
:param _ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
|
1120
|
+
:type ConnectTimeout: int
|
1121
|
+
:param _ReadTimeout: 请求超时时间,单位:秒,范围:1-30
|
1122
|
+
:type ReadTimeout: int
|
1123
|
+
:param _Header: 转发请求header
|
1124
|
+
:type Header: list of HeaderItem
|
1125
|
+
:param _Body: 转发请求body
|
1126
|
+
:type Body: list of BodyItem
|
1127
|
+
"""
|
1128
|
+
self._InstanceId = None
|
1129
|
+
self._Endpoint = None
|
1130
|
+
self._Concurrency = None
|
1131
|
+
self._Method = None
|
1132
|
+
self._Status = None
|
1133
|
+
self._Remark = None
|
1134
|
+
self._ConnectTimeout = None
|
1135
|
+
self._ReadTimeout = None
|
1136
|
+
self._Header = None
|
1137
|
+
self._Body = None
|
1138
|
+
|
1139
|
+
@property
|
1140
|
+
def InstanceId(self):
|
1141
|
+
"""实例ID
|
1142
|
+
:rtype: str
|
1143
|
+
"""
|
1144
|
+
return self._InstanceId
|
1145
|
+
|
1146
|
+
@InstanceId.setter
|
1147
|
+
def InstanceId(self, InstanceId):
|
1148
|
+
self._InstanceId = InstanceId
|
1149
|
+
|
1150
|
+
@property
|
1151
|
+
def Endpoint(self):
|
1152
|
+
"""jwks端点
|
1153
|
+
:rtype: str
|
1154
|
+
"""
|
1155
|
+
return self._Endpoint
|
1156
|
+
|
1157
|
+
@Endpoint.setter
|
1158
|
+
def Endpoint(self, Endpoint):
|
1159
|
+
self._Endpoint = Endpoint
|
1160
|
+
|
1161
|
+
@property
|
1162
|
+
def Concurrency(self):
|
1163
|
+
"""最大并发连接数,默认8,范围:1-20
|
1164
|
+
:rtype: int
|
1165
|
+
"""
|
1166
|
+
return self._Concurrency
|
1167
|
+
|
1168
|
+
@Concurrency.setter
|
1169
|
+
def Concurrency(self, Concurrency):
|
1170
|
+
self._Concurrency = Concurrency
|
1171
|
+
|
1172
|
+
@property
|
1173
|
+
def Method(self):
|
1174
|
+
"""网络请求方法 Get 或 Post,默认post
|
1175
|
+
:rtype: str
|
1176
|
+
"""
|
1177
|
+
return self._Method
|
1178
|
+
|
1179
|
+
@Method.setter
|
1180
|
+
def Method(self, Method):
|
1181
|
+
self._Method = Method
|
1182
|
+
|
1183
|
+
@property
|
1184
|
+
def Status(self):
|
1185
|
+
"""认证器是否开启:open-启用;close-关闭
|
1186
|
+
:rtype: str
|
1187
|
+
"""
|
1188
|
+
return self._Status
|
1189
|
+
|
1190
|
+
@Status.setter
|
1191
|
+
def Status(self, Status):
|
1192
|
+
self._Status = Status
|
1193
|
+
|
1194
|
+
@property
|
1195
|
+
def Remark(self):
|
1196
|
+
"""说明
|
1197
|
+
:rtype: str
|
1198
|
+
"""
|
1199
|
+
return self._Remark
|
1200
|
+
|
1201
|
+
@Remark.setter
|
1202
|
+
def Remark(self, Remark):
|
1203
|
+
self._Remark = Remark
|
1204
|
+
|
1205
|
+
@property
|
1206
|
+
def ConnectTimeout(self):
|
1207
|
+
"""连接超时时间,单位:秒,范围:1-30
|
1208
|
+
:rtype: int
|
1209
|
+
"""
|
1210
|
+
return self._ConnectTimeout
|
1211
|
+
|
1212
|
+
@ConnectTimeout.setter
|
1213
|
+
def ConnectTimeout(self, ConnectTimeout):
|
1214
|
+
self._ConnectTimeout = ConnectTimeout
|
1215
|
+
|
1216
|
+
@property
|
1217
|
+
def ReadTimeout(self):
|
1218
|
+
"""请求超时时间,单位:秒,范围:1-30
|
1219
|
+
:rtype: int
|
1220
|
+
"""
|
1221
|
+
return self._ReadTimeout
|
1222
|
+
|
1223
|
+
@ReadTimeout.setter
|
1224
|
+
def ReadTimeout(self, ReadTimeout):
|
1225
|
+
self._ReadTimeout = ReadTimeout
|
1226
|
+
|
1227
|
+
@property
|
1228
|
+
def Header(self):
|
1229
|
+
"""转发请求header
|
1230
|
+
:rtype: list of HeaderItem
|
1231
|
+
"""
|
1232
|
+
return self._Header
|
1233
|
+
|
1234
|
+
@Header.setter
|
1235
|
+
def Header(self, Header):
|
1236
|
+
self._Header = Header
|
1237
|
+
|
1238
|
+
@property
|
1239
|
+
def Body(self):
|
1240
|
+
"""转发请求body
|
1241
|
+
:rtype: list of BodyItem
|
1242
|
+
"""
|
1243
|
+
return self._Body
|
1244
|
+
|
1245
|
+
@Body.setter
|
1246
|
+
def Body(self, Body):
|
1247
|
+
self._Body = Body
|
1248
|
+
|
1249
|
+
|
1250
|
+
def _deserialize(self, params):
|
1251
|
+
self._InstanceId = params.get("InstanceId")
|
1252
|
+
self._Endpoint = params.get("Endpoint")
|
1253
|
+
self._Concurrency = params.get("Concurrency")
|
1254
|
+
self._Method = params.get("Method")
|
1255
|
+
self._Status = params.get("Status")
|
1256
|
+
self._Remark = params.get("Remark")
|
1257
|
+
self._ConnectTimeout = params.get("ConnectTimeout")
|
1258
|
+
self._ReadTimeout = params.get("ReadTimeout")
|
1259
|
+
if params.get("Header") is not None:
|
1260
|
+
self._Header = []
|
1261
|
+
for item in params.get("Header"):
|
1262
|
+
obj = HeaderItem()
|
1263
|
+
obj._deserialize(item)
|
1264
|
+
self._Header.append(obj)
|
1265
|
+
if params.get("Body") is not None:
|
1266
|
+
self._Body = []
|
1267
|
+
for item in params.get("Body"):
|
1268
|
+
obj = BodyItem()
|
1269
|
+
obj._deserialize(item)
|
1270
|
+
self._Body.append(obj)
|
1271
|
+
memeber_set = set(params.keys())
|
1272
|
+
for name, value in vars(self).items():
|
1273
|
+
property_name = name[1:]
|
1274
|
+
if property_name in memeber_set:
|
1275
|
+
memeber_set.remove(property_name)
|
1276
|
+
if len(memeber_set) > 0:
|
1277
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1278
|
+
|
1279
|
+
|
1280
|
+
|
1281
|
+
class CreateHttpAuthenticatorResponse(AbstractModel):
|
1282
|
+
"""CreateHttpAuthenticator返回参数结构体
|
1283
|
+
|
1284
|
+
"""
|
1285
|
+
|
1286
|
+
def __init__(self):
|
1287
|
+
r"""
|
1288
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1289
|
+
:type RequestId: str
|
1290
|
+
"""
|
1291
|
+
self._RequestId = None
|
1292
|
+
|
1293
|
+
@property
|
1294
|
+
def RequestId(self):
|
1295
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1296
|
+
:rtype: str
|
1297
|
+
"""
|
1298
|
+
return self._RequestId
|
1299
|
+
|
1300
|
+
@RequestId.setter
|
1301
|
+
def RequestId(self, RequestId):
|
1302
|
+
self._RequestId = RequestId
|
1303
|
+
|
1304
|
+
|
1305
|
+
def _deserialize(self, params):
|
1306
|
+
self._RequestId = params.get("RequestId")
|
1307
|
+
|
1308
|
+
|
1093
1309
|
class CreateInsPublicEndpointRequest(AbstractModel):
|
1094
1310
|
"""CreateInsPublicEndpoint请求参数结构体
|
1095
1311
|
|
@@ -3025,7 +3241,6 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3025
3241
|
:param _Format: 证书格式
|
3026
3242
|
:type Format: str
|
3027
3243
|
:param _CaIssuerCn: Ca证书颁发者CN
|
3028
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3029
3244
|
:type CaIssuerCn: str
|
3030
3245
|
:param _NotBeforeTime: 生效开始时间
|
3031
3246
|
:type NotBeforeTime: int
|
@@ -3159,7 +3374,6 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3159
3374
|
@property
|
3160
3375
|
def CaIssuerCn(self):
|
3161
3376
|
"""Ca证书颁发者CN
|
3162
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3163
3377
|
:rtype: str
|
3164
3378
|
"""
|
3165
3379
|
return self._CaIssuerCn
|
@@ -3291,6 +3505,120 @@ class DescribeCaCertificatesResponse(AbstractModel):
|
|
3291
3505
|
self._RequestId = params.get("RequestId")
|
3292
3506
|
|
3293
3507
|
|
3508
|
+
class DescribeClientListRequest(AbstractModel):
|
3509
|
+
"""DescribeClientList请求参数结构体
|
3510
|
+
|
3511
|
+
"""
|
3512
|
+
|
3513
|
+
def __init__(self):
|
3514
|
+
r"""
|
3515
|
+
:param _InstanceId: 实例ID
|
3516
|
+
:type InstanceId: str
|
3517
|
+
:param _ClientId: 客户端名
|
3518
|
+
:type ClientId: str
|
3519
|
+
:param _Number: 客户端数量限制,最大1024,默认1024
|
3520
|
+
:type Number: str
|
3521
|
+
"""
|
3522
|
+
self._InstanceId = None
|
3523
|
+
self._ClientId = None
|
3524
|
+
self._Number = None
|
3525
|
+
|
3526
|
+
@property
|
3527
|
+
def InstanceId(self):
|
3528
|
+
"""实例ID
|
3529
|
+
:rtype: str
|
3530
|
+
"""
|
3531
|
+
return self._InstanceId
|
3532
|
+
|
3533
|
+
@InstanceId.setter
|
3534
|
+
def InstanceId(self, InstanceId):
|
3535
|
+
self._InstanceId = InstanceId
|
3536
|
+
|
3537
|
+
@property
|
3538
|
+
def ClientId(self):
|
3539
|
+
"""客户端名
|
3540
|
+
:rtype: str
|
3541
|
+
"""
|
3542
|
+
return self._ClientId
|
3543
|
+
|
3544
|
+
@ClientId.setter
|
3545
|
+
def ClientId(self, ClientId):
|
3546
|
+
self._ClientId = ClientId
|
3547
|
+
|
3548
|
+
@property
|
3549
|
+
def Number(self):
|
3550
|
+
"""客户端数量限制,最大1024,默认1024
|
3551
|
+
:rtype: str
|
3552
|
+
"""
|
3553
|
+
return self._Number
|
3554
|
+
|
3555
|
+
@Number.setter
|
3556
|
+
def Number(self, Number):
|
3557
|
+
self._Number = Number
|
3558
|
+
|
3559
|
+
|
3560
|
+
def _deserialize(self, params):
|
3561
|
+
self._InstanceId = params.get("InstanceId")
|
3562
|
+
self._ClientId = params.get("ClientId")
|
3563
|
+
self._Number = params.get("Number")
|
3564
|
+
memeber_set = set(params.keys())
|
3565
|
+
for name, value in vars(self).items():
|
3566
|
+
property_name = name[1:]
|
3567
|
+
if property_name in memeber_set:
|
3568
|
+
memeber_set.remove(property_name)
|
3569
|
+
if len(memeber_set) > 0:
|
3570
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3571
|
+
|
3572
|
+
|
3573
|
+
|
3574
|
+
class DescribeClientListResponse(AbstractModel):
|
3575
|
+
"""DescribeClientList返回参数结构体
|
3576
|
+
|
3577
|
+
"""
|
3578
|
+
|
3579
|
+
def __init__(self):
|
3580
|
+
r"""
|
3581
|
+
:param _Clients: 客户端列表
|
3582
|
+
:type Clients: list of MQTTClientInfo
|
3583
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3584
|
+
:type RequestId: str
|
3585
|
+
"""
|
3586
|
+
self._Clients = None
|
3587
|
+
self._RequestId = None
|
3588
|
+
|
3589
|
+
@property
|
3590
|
+
def Clients(self):
|
3591
|
+
"""客户端列表
|
3592
|
+
:rtype: list of MQTTClientInfo
|
3593
|
+
"""
|
3594
|
+
return self._Clients
|
3595
|
+
|
3596
|
+
@Clients.setter
|
3597
|
+
def Clients(self, Clients):
|
3598
|
+
self._Clients = Clients
|
3599
|
+
|
3600
|
+
@property
|
3601
|
+
def RequestId(self):
|
3602
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3603
|
+
:rtype: str
|
3604
|
+
"""
|
3605
|
+
return self._RequestId
|
3606
|
+
|
3607
|
+
@RequestId.setter
|
3608
|
+
def RequestId(self, RequestId):
|
3609
|
+
self._RequestId = RequestId
|
3610
|
+
|
3611
|
+
|
3612
|
+
def _deserialize(self, params):
|
3613
|
+
if params.get("Clients") is not None:
|
3614
|
+
self._Clients = []
|
3615
|
+
for item in params.get("Clients"):
|
3616
|
+
obj = MQTTClientInfo()
|
3617
|
+
obj._deserialize(item)
|
3618
|
+
self._Clients.append(obj)
|
3619
|
+
self._RequestId = params.get("RequestId")
|
3620
|
+
|
3621
|
+
|
3294
3622
|
class DescribeDeviceCertificateRequest(AbstractModel):
|
3295
3623
|
"""DescribeDeviceCertificate请求参数结构体
|
3296
3624
|
|
@@ -3372,13 +3700,14 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3372
3700
|
:param _Format: 证书格式
|
3373
3701
|
:type Format: str
|
3374
3702
|
:param _ClientId: 客户端id
|
3375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3376
3703
|
:type ClientId: str
|
3377
3704
|
:param _CertificateSource: API, 手动注册
|
3378
3705
|
JITP 自动注册
|
3379
3706
|
:type CertificateSource: str
|
3380
3707
|
:param _NotBeforeTime: 证书生效开始时间
|
3381
3708
|
:type NotBeforeTime: int
|
3709
|
+
:param _OrganizationalUnit: 组织单位
|
3710
|
+
:type OrganizationalUnit: str
|
3382
3711
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3383
3712
|
:type RequestId: str
|
3384
3713
|
"""
|
@@ -3396,6 +3725,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3396
3725
|
self._ClientId = None
|
3397
3726
|
self._CertificateSource = None
|
3398
3727
|
self._NotBeforeTime = None
|
3728
|
+
self._OrganizationalUnit = None
|
3399
3729
|
self._RequestId = None
|
3400
3730
|
|
3401
3731
|
@property
|
@@ -3522,7 +3852,6 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3522
3852
|
@property
|
3523
3853
|
def ClientId(self):
|
3524
3854
|
"""客户端id
|
3525
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3526
3855
|
:rtype: str
|
3527
3856
|
"""
|
3528
3857
|
return self._ClientId
|
@@ -3554,6 +3883,17 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3554
3883
|
def NotBeforeTime(self, NotBeforeTime):
|
3555
3884
|
self._NotBeforeTime = NotBeforeTime
|
3556
3885
|
|
3886
|
+
@property
|
3887
|
+
def OrganizationalUnit(self):
|
3888
|
+
"""组织单位
|
3889
|
+
:rtype: str
|
3890
|
+
"""
|
3891
|
+
return self._OrganizationalUnit
|
3892
|
+
|
3893
|
+
@OrganizationalUnit.setter
|
3894
|
+
def OrganizationalUnit(self, OrganizationalUnit):
|
3895
|
+
self._OrganizationalUnit = OrganizationalUnit
|
3896
|
+
|
3557
3897
|
@property
|
3558
3898
|
def RequestId(self):
|
3559
3899
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -3581,6 +3921,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3581
3921
|
self._ClientId = params.get("ClientId")
|
3582
3922
|
self._CertificateSource = params.get("CertificateSource")
|
3583
3923
|
self._NotBeforeTime = params.get("NotBeforeTime")
|
3924
|
+
self._OrganizationalUnit = params.get("OrganizationalUnit")
|
3584
3925
|
self._RequestId = params.get("RequestId")
|
3585
3926
|
|
3586
3927
|
|
@@ -4102,7 +4443,6 @@ class DescribeInstanceListResponse(AbstractModel):
|
|
4102
4443
|
def __init__(self):
|
4103
4444
|
r"""
|
4104
4445
|
:param _TotalCount: 查询总数
|
4105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4106
4446
|
:type TotalCount: int
|
4107
4447
|
:param _Data: 实例列表
|
4108
4448
|
:type Data: list of MQTTInstanceItem
|
@@ -4116,7 +4456,6 @@ class DescribeInstanceListResponse(AbstractModel):
|
|
4116
4456
|
@property
|
4117
4457
|
def TotalCount(self):
|
4118
4458
|
"""查询总数
|
4119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4120
4459
|
:rtype: int
|
4121
4460
|
"""
|
4122
4461
|
return self._TotalCount
|
@@ -4576,13 +4915,217 @@ API:通过API手动注册
|
|
4576
4915
|
self._RequestId = params.get("RequestId")
|
4577
4916
|
|
4578
4917
|
|
4579
|
-
class
|
4580
|
-
"""
|
4918
|
+
class DescribeMessageListRequest(AbstractModel):
|
4919
|
+
"""DescribeMessageList请求参数结构体
|
4581
4920
|
|
4582
4921
|
"""
|
4583
4922
|
|
4584
|
-
|
4585
|
-
|
4923
|
+
def __init__(self):
|
4924
|
+
r"""
|
4925
|
+
:param _InstanceId: 实例ID
|
4926
|
+
:type InstanceId: str
|
4927
|
+
:param _Topic: 主题
|
4928
|
+
:type Topic: str
|
4929
|
+
:param _StartTime: 开始时间
|
4930
|
+
:type StartTime: int
|
4931
|
+
:param _EndTime: 结束时间
|
4932
|
+
:type EndTime: int
|
4933
|
+
:param _TaskRequestId: 请求任务id
|
4934
|
+
:type TaskRequestId: str
|
4935
|
+
:param _Offset: 查询起始位置
|
4936
|
+
:type Offset: int
|
4937
|
+
:param _Limit: 查询结果限制数量
|
4938
|
+
:type Limit: int
|
4939
|
+
"""
|
4940
|
+
self._InstanceId = None
|
4941
|
+
self._Topic = None
|
4942
|
+
self._StartTime = None
|
4943
|
+
self._EndTime = None
|
4944
|
+
self._TaskRequestId = None
|
4945
|
+
self._Offset = None
|
4946
|
+
self._Limit = None
|
4947
|
+
|
4948
|
+
@property
|
4949
|
+
def InstanceId(self):
|
4950
|
+
"""实例ID
|
4951
|
+
:rtype: str
|
4952
|
+
"""
|
4953
|
+
return self._InstanceId
|
4954
|
+
|
4955
|
+
@InstanceId.setter
|
4956
|
+
def InstanceId(self, InstanceId):
|
4957
|
+
self._InstanceId = InstanceId
|
4958
|
+
|
4959
|
+
@property
|
4960
|
+
def Topic(self):
|
4961
|
+
"""主题
|
4962
|
+
:rtype: str
|
4963
|
+
"""
|
4964
|
+
return self._Topic
|
4965
|
+
|
4966
|
+
@Topic.setter
|
4967
|
+
def Topic(self, Topic):
|
4968
|
+
self._Topic = Topic
|
4969
|
+
|
4970
|
+
@property
|
4971
|
+
def StartTime(self):
|
4972
|
+
"""开始时间
|
4973
|
+
:rtype: int
|
4974
|
+
"""
|
4975
|
+
return self._StartTime
|
4976
|
+
|
4977
|
+
@StartTime.setter
|
4978
|
+
def StartTime(self, StartTime):
|
4979
|
+
self._StartTime = StartTime
|
4980
|
+
|
4981
|
+
@property
|
4982
|
+
def EndTime(self):
|
4983
|
+
"""结束时间
|
4984
|
+
:rtype: int
|
4985
|
+
"""
|
4986
|
+
return self._EndTime
|
4987
|
+
|
4988
|
+
@EndTime.setter
|
4989
|
+
def EndTime(self, EndTime):
|
4990
|
+
self._EndTime = EndTime
|
4991
|
+
|
4992
|
+
@property
|
4993
|
+
def TaskRequestId(self):
|
4994
|
+
"""请求任务id
|
4995
|
+
:rtype: str
|
4996
|
+
"""
|
4997
|
+
return self._TaskRequestId
|
4998
|
+
|
4999
|
+
@TaskRequestId.setter
|
5000
|
+
def TaskRequestId(self, TaskRequestId):
|
5001
|
+
self._TaskRequestId = TaskRequestId
|
5002
|
+
|
5003
|
+
@property
|
5004
|
+
def Offset(self):
|
5005
|
+
"""查询起始位置
|
5006
|
+
:rtype: int
|
5007
|
+
"""
|
5008
|
+
return self._Offset
|
5009
|
+
|
5010
|
+
@Offset.setter
|
5011
|
+
def Offset(self, Offset):
|
5012
|
+
self._Offset = Offset
|
5013
|
+
|
5014
|
+
@property
|
5015
|
+
def Limit(self):
|
5016
|
+
"""查询结果限制数量
|
5017
|
+
:rtype: int
|
5018
|
+
"""
|
5019
|
+
return self._Limit
|
5020
|
+
|
5021
|
+
@Limit.setter
|
5022
|
+
def Limit(self, Limit):
|
5023
|
+
self._Limit = Limit
|
5024
|
+
|
5025
|
+
|
5026
|
+
def _deserialize(self, params):
|
5027
|
+
self._InstanceId = params.get("InstanceId")
|
5028
|
+
self._Topic = params.get("Topic")
|
5029
|
+
self._StartTime = params.get("StartTime")
|
5030
|
+
self._EndTime = params.get("EndTime")
|
5031
|
+
self._TaskRequestId = params.get("TaskRequestId")
|
5032
|
+
self._Offset = params.get("Offset")
|
5033
|
+
self._Limit = params.get("Limit")
|
5034
|
+
memeber_set = set(params.keys())
|
5035
|
+
for name, value in vars(self).items():
|
5036
|
+
property_name = name[1:]
|
5037
|
+
if property_name in memeber_set:
|
5038
|
+
memeber_set.remove(property_name)
|
5039
|
+
if len(memeber_set) > 0:
|
5040
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5041
|
+
|
5042
|
+
|
5043
|
+
|
5044
|
+
class DescribeMessageListResponse(AbstractModel):
|
5045
|
+
"""DescribeMessageList返回参数结构体
|
5046
|
+
|
5047
|
+
"""
|
5048
|
+
|
5049
|
+
def __init__(self):
|
5050
|
+
r"""
|
5051
|
+
:param _TotalCount: 查询总数
|
5052
|
+
:type TotalCount: int
|
5053
|
+
:param _Data: 消息记录列表
|
5054
|
+
:type Data: list of MQTTMessageItem
|
5055
|
+
:param _TaskRequestId: 请求任务id
|
5056
|
+
:type TaskRequestId: str
|
5057
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5058
|
+
:type RequestId: str
|
5059
|
+
"""
|
5060
|
+
self._TotalCount = None
|
5061
|
+
self._Data = None
|
5062
|
+
self._TaskRequestId = None
|
5063
|
+
self._RequestId = None
|
5064
|
+
|
5065
|
+
@property
|
5066
|
+
def TotalCount(self):
|
5067
|
+
"""查询总数
|
5068
|
+
:rtype: int
|
5069
|
+
"""
|
5070
|
+
return self._TotalCount
|
5071
|
+
|
5072
|
+
@TotalCount.setter
|
5073
|
+
def TotalCount(self, TotalCount):
|
5074
|
+
self._TotalCount = TotalCount
|
5075
|
+
|
5076
|
+
@property
|
5077
|
+
def Data(self):
|
5078
|
+
"""消息记录列表
|
5079
|
+
:rtype: list of MQTTMessageItem
|
5080
|
+
"""
|
5081
|
+
return self._Data
|
5082
|
+
|
5083
|
+
@Data.setter
|
5084
|
+
def Data(self, Data):
|
5085
|
+
self._Data = Data
|
5086
|
+
|
5087
|
+
@property
|
5088
|
+
def TaskRequestId(self):
|
5089
|
+
"""请求任务id
|
5090
|
+
:rtype: str
|
5091
|
+
"""
|
5092
|
+
return self._TaskRequestId
|
5093
|
+
|
5094
|
+
@TaskRequestId.setter
|
5095
|
+
def TaskRequestId(self, TaskRequestId):
|
5096
|
+
self._TaskRequestId = TaskRequestId
|
5097
|
+
|
5098
|
+
@property
|
5099
|
+
def RequestId(self):
|
5100
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5101
|
+
:rtype: str
|
5102
|
+
"""
|
5103
|
+
return self._RequestId
|
5104
|
+
|
5105
|
+
@RequestId.setter
|
5106
|
+
def RequestId(self, RequestId):
|
5107
|
+
self._RequestId = RequestId
|
5108
|
+
|
5109
|
+
|
5110
|
+
def _deserialize(self, params):
|
5111
|
+
self._TotalCount = params.get("TotalCount")
|
5112
|
+
if params.get("Data") is not None:
|
5113
|
+
self._Data = []
|
5114
|
+
for item in params.get("Data"):
|
5115
|
+
obj = MQTTMessageItem()
|
5116
|
+
obj._deserialize(item)
|
5117
|
+
self._Data.append(obj)
|
5118
|
+
self._TaskRequestId = params.get("TaskRequestId")
|
5119
|
+
self._RequestId = params.get("RequestId")
|
5120
|
+
|
5121
|
+
|
5122
|
+
class DescribeProductSKUListRequest(AbstractModel):
|
5123
|
+
"""DescribeProductSKUList请求参数结构体
|
5124
|
+
|
5125
|
+
"""
|
5126
|
+
|
5127
|
+
|
5128
|
+
class DescribeProductSKUListResponse(AbstractModel):
|
4586
5129
|
"""DescribeProductSKUList返回参数结构体
|
4587
5130
|
|
4588
5131
|
"""
|
@@ -4590,10 +5133,8 @@ class DescribeProductSKUListResponse(AbstractModel):
|
|
4590
5133
|
def __init__(self):
|
4591
5134
|
r"""
|
4592
5135
|
:param _TotalCount: 查询总数
|
4593
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4594
5136
|
:type TotalCount: int
|
4595
5137
|
:param _MQTTProductSkuList: mqtt商品配置信息
|
4596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4597
5138
|
:type MQTTProductSkuList: list of ProductSkuItem
|
4598
5139
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4599
5140
|
:type RequestId: str
|
@@ -4605,7 +5146,6 @@ class DescribeProductSKUListResponse(AbstractModel):
|
|
4605
5146
|
@property
|
4606
5147
|
def TotalCount(self):
|
4607
5148
|
"""查询总数
|
4608
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4609
5149
|
:rtype: int
|
4610
5150
|
"""
|
4611
5151
|
return self._TotalCount
|
@@ -4617,7 +5157,6 @@ class DescribeProductSKUListResponse(AbstractModel):
|
|
4617
5157
|
@property
|
4618
5158
|
def MQTTProductSkuList(self):
|
4619
5159
|
"""mqtt商品配置信息
|
4620
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4621
5160
|
:rtype: list of ProductSkuItem
|
4622
5161
|
"""
|
4623
5162
|
return self._MQTTProductSkuList
|
@@ -4649,6 +5188,100 @@ class DescribeProductSKUListResponse(AbstractModel):
|
|
4649
5188
|
self._RequestId = params.get("RequestId")
|
4650
5189
|
|
4651
5190
|
|
5191
|
+
class DescribeSharedSubscriptionLagRequest(AbstractModel):
|
5192
|
+
"""DescribeSharedSubscriptionLag请求参数结构体
|
5193
|
+
|
5194
|
+
"""
|
5195
|
+
|
5196
|
+
def __init__(self):
|
5197
|
+
r"""
|
5198
|
+
:param _InstanceId: 集群id
|
5199
|
+
:type InstanceId: str
|
5200
|
+
:param _SharedSubscription: 共享订阅表达式
|
5201
|
+
:type SharedSubscription: str
|
5202
|
+
"""
|
5203
|
+
self._InstanceId = None
|
5204
|
+
self._SharedSubscription = None
|
5205
|
+
|
5206
|
+
@property
|
5207
|
+
def InstanceId(self):
|
5208
|
+
"""集群id
|
5209
|
+
:rtype: str
|
5210
|
+
"""
|
5211
|
+
return self._InstanceId
|
5212
|
+
|
5213
|
+
@InstanceId.setter
|
5214
|
+
def InstanceId(self, InstanceId):
|
5215
|
+
self._InstanceId = InstanceId
|
5216
|
+
|
5217
|
+
@property
|
5218
|
+
def SharedSubscription(self):
|
5219
|
+
"""共享订阅表达式
|
5220
|
+
:rtype: str
|
5221
|
+
"""
|
5222
|
+
return self._SharedSubscription
|
5223
|
+
|
5224
|
+
@SharedSubscription.setter
|
5225
|
+
def SharedSubscription(self, SharedSubscription):
|
5226
|
+
self._SharedSubscription = SharedSubscription
|
5227
|
+
|
5228
|
+
|
5229
|
+
def _deserialize(self, params):
|
5230
|
+
self._InstanceId = params.get("InstanceId")
|
5231
|
+
self._SharedSubscription = params.get("SharedSubscription")
|
5232
|
+
memeber_set = set(params.keys())
|
5233
|
+
for name, value in vars(self).items():
|
5234
|
+
property_name = name[1:]
|
5235
|
+
if property_name in memeber_set:
|
5236
|
+
memeber_set.remove(property_name)
|
5237
|
+
if len(memeber_set) > 0:
|
5238
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5239
|
+
|
5240
|
+
|
5241
|
+
|
5242
|
+
class DescribeSharedSubscriptionLagResponse(AbstractModel):
|
5243
|
+
"""DescribeSharedSubscriptionLag返回参数结构体
|
5244
|
+
|
5245
|
+
"""
|
5246
|
+
|
5247
|
+
def __init__(self):
|
5248
|
+
r"""
|
5249
|
+
:param _Lag: 堆积值
|
5250
|
+
:type Lag: int
|
5251
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5252
|
+
:type RequestId: str
|
5253
|
+
"""
|
5254
|
+
self._Lag = None
|
5255
|
+
self._RequestId = None
|
5256
|
+
|
5257
|
+
@property
|
5258
|
+
def Lag(self):
|
5259
|
+
"""堆积值
|
5260
|
+
:rtype: int
|
5261
|
+
"""
|
5262
|
+
return self._Lag
|
5263
|
+
|
5264
|
+
@Lag.setter
|
5265
|
+
def Lag(self, Lag):
|
5266
|
+
self._Lag = Lag
|
5267
|
+
|
5268
|
+
@property
|
5269
|
+
def RequestId(self):
|
5270
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5271
|
+
:rtype: str
|
5272
|
+
"""
|
5273
|
+
return self._RequestId
|
5274
|
+
|
5275
|
+
@RequestId.setter
|
5276
|
+
def RequestId(self, RequestId):
|
5277
|
+
self._RequestId = RequestId
|
5278
|
+
|
5279
|
+
|
5280
|
+
def _deserialize(self, params):
|
5281
|
+
self._Lag = params.get("Lag")
|
5282
|
+
self._RequestId = params.get("RequestId")
|
5283
|
+
|
5284
|
+
|
4652
5285
|
class DescribeTopicListRequest(AbstractModel):
|
4653
5286
|
"""DescribeTopicList请求参数结构体
|
4654
5287
|
|
@@ -4745,7 +5378,6 @@ class DescribeTopicListResponse(AbstractModel):
|
|
4745
5378
|
def __init__(self):
|
4746
5379
|
r"""
|
4747
5380
|
:param _TotalCount: 查询总数
|
4748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4749
5381
|
:type TotalCount: int
|
4750
5382
|
:param _Data: 主题列表
|
4751
5383
|
:type Data: list of MQTTTopicItem
|
@@ -4759,7 +5391,6 @@ class DescribeTopicListResponse(AbstractModel):
|
|
4759
5391
|
@property
|
4760
5392
|
def TotalCount(self):
|
4761
5393
|
"""查询总数
|
4762
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4763
5394
|
:rtype: int
|
4764
5395
|
"""
|
4765
5396
|
return self._TotalCount
|
@@ -5037,7 +5668,6 @@ class DescribeUserListResponse(AbstractModel):
|
|
5037
5668
|
def __init__(self):
|
5038
5669
|
r"""
|
5039
5670
|
:param _TotalCount: 查询总数
|
5040
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5041
5671
|
:type TotalCount: int
|
5042
5672
|
:param _Data: 角色信息列表
|
5043
5673
|
:type Data: list of MQTTUserItem
|
@@ -5051,7 +5681,6 @@ class DescribeUserListResponse(AbstractModel):
|
|
5051
5681
|
@property
|
5052
5682
|
def TotalCount(self):
|
5053
5683
|
"""查询总数
|
5054
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5055
5684
|
:rtype: int
|
5056
5685
|
"""
|
5057
5686
|
return self._TotalCount
|
@@ -5102,7 +5731,6 @@ class DeviceCertificateItem(AbstractModel):
|
|
5102
5731
|
def __init__(self):
|
5103
5732
|
r"""
|
5104
5733
|
:param _ClientId: 客户端id
|
5105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5106
5734
|
:type ClientId: str
|
5107
5735
|
:param _DeviceCertificate: 设备证书
|
5108
5736
|
:type DeviceCertificate: str
|
@@ -5120,27 +5748,23 @@ class DeviceCertificateItem(AbstractModel):
|
|
5120
5748
|
REVOKED,//吊销
|
5121
5749
|
PENDING_ACTIVATION,//注册待激活
|
5122
5750
|
:type Status: str
|
5751
|
+
:param _OrganizationalUnit: 组织单位
|
5752
|
+
:type OrganizationalUnit: str
|
5123
5753
|
:param _LastActivationTime: 上次激活时间
|
5124
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5125
5754
|
:type LastActivationTime: int
|
5126
5755
|
:param _LastInactivationTime: 上次取消激活时间
|
5127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5128
5756
|
:type LastInactivationTime: int
|
5129
5757
|
:param _CreatedTime: 创建时间
|
5130
5758
|
:type CreatedTime: int
|
5131
5759
|
:param _UpdateTime: 预销毁时间
|
5132
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5133
5760
|
:type UpdateTime: int
|
5134
5761
|
:param _CertificateSource: 证书来源:
|
5135
5762
|
API, 手动注册
|
5136
5763
|
JITP 自动注册
|
5137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5138
5764
|
:type CertificateSource: str
|
5139
5765
|
:param _NotAfterTime: 证书失效日期
|
5140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5141
5766
|
:type NotAfterTime: int
|
5142
5767
|
:param _NotBeforeTime: 证书生效开始日期
|
5143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5144
5768
|
:type NotBeforeTime: int
|
5145
5769
|
"""
|
5146
5770
|
self._ClientId = None
|
@@ -5150,6 +5774,7 @@ JITP 自动注册
|
|
5150
5774
|
self._CaSn = None
|
5151
5775
|
self._Format = None
|
5152
5776
|
self._Status = None
|
5777
|
+
self._OrganizationalUnit = None
|
5153
5778
|
self._LastActivationTime = None
|
5154
5779
|
self._LastInactivationTime = None
|
5155
5780
|
self._CreatedTime = None
|
@@ -5161,7 +5786,6 @@ JITP 自动注册
|
|
5161
5786
|
@property
|
5162
5787
|
def ClientId(self):
|
5163
5788
|
"""客户端id
|
5164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5165
5789
|
:rtype: str
|
5166
5790
|
"""
|
5167
5791
|
return self._ClientId
|
@@ -5240,10 +5864,20 @@ JITP 自动注册
|
|
5240
5864
|
def Status(self, Status):
|
5241
5865
|
self._Status = Status
|
5242
5866
|
|
5867
|
+
@property
|
5868
|
+
def OrganizationalUnit(self):
|
5869
|
+
"""组织单位
|
5870
|
+
:rtype: str
|
5871
|
+
"""
|
5872
|
+
return self._OrganizationalUnit
|
5873
|
+
|
5874
|
+
@OrganizationalUnit.setter
|
5875
|
+
def OrganizationalUnit(self, OrganizationalUnit):
|
5876
|
+
self._OrganizationalUnit = OrganizationalUnit
|
5877
|
+
|
5243
5878
|
@property
|
5244
5879
|
def LastActivationTime(self):
|
5245
5880
|
"""上次激活时间
|
5246
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5247
5881
|
:rtype: int
|
5248
5882
|
"""
|
5249
5883
|
return self._LastActivationTime
|
@@ -5255,7 +5889,6 @@ JITP 自动注册
|
|
5255
5889
|
@property
|
5256
5890
|
def LastInactivationTime(self):
|
5257
5891
|
"""上次取消激活时间
|
5258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5259
5892
|
:rtype: int
|
5260
5893
|
"""
|
5261
5894
|
return self._LastInactivationTime
|
@@ -5278,7 +5911,6 @@ JITP 自动注册
|
|
5278
5911
|
@property
|
5279
5912
|
def UpdateTime(self):
|
5280
5913
|
"""预销毁时间
|
5281
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5282
5914
|
:rtype: int
|
5283
5915
|
"""
|
5284
5916
|
return self._UpdateTime
|
@@ -5292,7 +5924,6 @@ JITP 自动注册
|
|
5292
5924
|
"""证书来源:
|
5293
5925
|
API, 手动注册
|
5294
5926
|
JITP 自动注册
|
5295
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5296
5927
|
:rtype: str
|
5297
5928
|
"""
|
5298
5929
|
return self._CertificateSource
|
@@ -5304,7 +5935,6 @@ JITP 自动注册
|
|
5304
5935
|
@property
|
5305
5936
|
def NotAfterTime(self):
|
5306
5937
|
"""证书失效日期
|
5307
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5308
5938
|
:rtype: int
|
5309
5939
|
"""
|
5310
5940
|
return self._NotAfterTime
|
@@ -5316,7 +5946,6 @@ JITP 自动注册
|
|
5316
5946
|
@property
|
5317
5947
|
def NotBeforeTime(self):
|
5318
5948
|
"""证书生效开始日期
|
5319
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5320
5949
|
:rtype: int
|
5321
5950
|
"""
|
5322
5951
|
return self._NotBeforeTime
|
@@ -5334,6 +5963,7 @@ JITP 自动注册
|
|
5334
5963
|
self._CaSn = params.get("CaSn")
|
5335
5964
|
self._Format = params.get("Format")
|
5336
5965
|
self._Status = params.get("Status")
|
5966
|
+
self._OrganizationalUnit = params.get("OrganizationalUnit")
|
5337
5967
|
self._LastActivationTime = params.get("LastActivationTime")
|
5338
5968
|
self._LastInactivationTime = params.get("LastInactivationTime")
|
5339
5969
|
self._CreatedTime = params.get("CreatedTime")
|
@@ -5402,6 +6032,57 @@ class Filter(AbstractModel):
|
|
5402
6032
|
|
5403
6033
|
|
5404
6034
|
|
6035
|
+
class HeaderItem(AbstractModel):
|
6036
|
+
"""HTTP 认证器header
|
6037
|
+
|
6038
|
+
"""
|
6039
|
+
|
6040
|
+
def __init__(self):
|
6041
|
+
r"""
|
6042
|
+
:param _Key: header key
|
6043
|
+
:type Key: str
|
6044
|
+
:param _Value: header value
|
6045
|
+
:type Value: str
|
6046
|
+
"""
|
6047
|
+
self._Key = None
|
6048
|
+
self._Value = None
|
6049
|
+
|
6050
|
+
@property
|
6051
|
+
def Key(self):
|
6052
|
+
"""header key
|
6053
|
+
:rtype: str
|
6054
|
+
"""
|
6055
|
+
return self._Key
|
6056
|
+
|
6057
|
+
@Key.setter
|
6058
|
+
def Key(self, Key):
|
6059
|
+
self._Key = Key
|
6060
|
+
|
6061
|
+
@property
|
6062
|
+
def Value(self):
|
6063
|
+
"""header value
|
6064
|
+
:rtype: str
|
6065
|
+
"""
|
6066
|
+
return self._Value
|
6067
|
+
|
6068
|
+
@Value.setter
|
6069
|
+
def Value(self, Value):
|
6070
|
+
self._Value = Value
|
6071
|
+
|
6072
|
+
|
6073
|
+
def _deserialize(self, params):
|
6074
|
+
self._Key = params.get("Key")
|
6075
|
+
self._Value = params.get("Value")
|
6076
|
+
memeber_set = set(params.keys())
|
6077
|
+
for name, value in vars(self).items():
|
6078
|
+
property_name = name[1:]
|
6079
|
+
if property_name in memeber_set:
|
6080
|
+
memeber_set.remove(property_name)
|
6081
|
+
if len(memeber_set) > 0:
|
6082
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6083
|
+
|
6084
|
+
|
6085
|
+
|
5405
6086
|
class IpRule(AbstractModel):
|
5406
6087
|
"""IP规则
|
5407
6088
|
|
@@ -5414,7 +6095,6 @@ class IpRule(AbstractModel):
|
|
5414
6095
|
:param _Allow: 是否允许放行
|
5415
6096
|
:type Allow: bool
|
5416
6097
|
:param _Remark: 备注信息
|
5417
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5418
6098
|
:type Remark: str
|
5419
6099
|
"""
|
5420
6100
|
self._Ip = None
|
@@ -5446,7 +6126,6 @@ class IpRule(AbstractModel):
|
|
5446
6126
|
@property
|
5447
6127
|
def Remark(self):
|
5448
6128
|
"""备注信息
|
5449
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5450
6129
|
:rtype: str
|
5451
6130
|
"""
|
5452
6131
|
return self._Remark
|
@@ -5478,19 +6157,14 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
5478
6157
|
def __init__(self):
|
5479
6158
|
r"""
|
5480
6159
|
:param _Type: 认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 BYOC:一端一证认证器
|
5481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5482
6160
|
:type Type: str
|
5483
6161
|
:param _Config: 认证器配置
|
5484
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5485
6162
|
:type Config: str
|
5486
6163
|
:param _Status: 认证器状态
|
5487
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5488
6164
|
:type Status: str
|
5489
6165
|
:param _CreateTime: 创建时间
|
5490
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5491
6166
|
:type CreateTime: int
|
5492
6167
|
:param _Remark: 说明
|
5493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5494
6168
|
:type Remark: str
|
5495
6169
|
"""
|
5496
6170
|
self._Type = None
|
@@ -5502,70 +6176,307 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
5502
6176
|
@property
|
5503
6177
|
def Type(self):
|
5504
6178
|
"""认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 BYOC:一端一证认证器
|
5505
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5506
6179
|
:rtype: str
|
5507
6180
|
"""
|
5508
6181
|
return self._Type
|
5509
6182
|
|
5510
|
-
@Type.setter
|
5511
|
-
def Type(self, Type):
|
5512
|
-
self._Type = Type
|
6183
|
+
@Type.setter
|
6184
|
+
def Type(self, Type):
|
6185
|
+
self._Type = Type
|
6186
|
+
|
6187
|
+
@property
|
6188
|
+
def Config(self):
|
6189
|
+
"""认证器配置
|
6190
|
+
:rtype: str
|
6191
|
+
"""
|
6192
|
+
return self._Config
|
6193
|
+
|
6194
|
+
@Config.setter
|
6195
|
+
def Config(self, Config):
|
6196
|
+
self._Config = Config
|
6197
|
+
|
6198
|
+
@property
|
6199
|
+
def Status(self):
|
6200
|
+
"""认证器状态
|
6201
|
+
:rtype: str
|
6202
|
+
"""
|
6203
|
+
return self._Status
|
6204
|
+
|
6205
|
+
@Status.setter
|
6206
|
+
def Status(self, Status):
|
6207
|
+
self._Status = Status
|
6208
|
+
|
6209
|
+
@property
|
6210
|
+
def CreateTime(self):
|
6211
|
+
"""创建时间
|
6212
|
+
:rtype: int
|
6213
|
+
"""
|
6214
|
+
return self._CreateTime
|
6215
|
+
|
6216
|
+
@CreateTime.setter
|
6217
|
+
def CreateTime(self, CreateTime):
|
6218
|
+
self._CreateTime = CreateTime
|
6219
|
+
|
6220
|
+
@property
|
6221
|
+
def Remark(self):
|
6222
|
+
"""说明
|
6223
|
+
:rtype: str
|
6224
|
+
"""
|
6225
|
+
return self._Remark
|
6226
|
+
|
6227
|
+
@Remark.setter
|
6228
|
+
def Remark(self, Remark):
|
6229
|
+
self._Remark = Remark
|
6230
|
+
|
6231
|
+
|
6232
|
+
def _deserialize(self, params):
|
6233
|
+
self._Type = params.get("Type")
|
6234
|
+
self._Config = params.get("Config")
|
6235
|
+
self._Status = params.get("Status")
|
6236
|
+
self._CreateTime = params.get("CreateTime")
|
6237
|
+
self._Remark = params.get("Remark")
|
6238
|
+
memeber_set = set(params.keys())
|
6239
|
+
for name, value in vars(self).items():
|
6240
|
+
property_name = name[1:]
|
6241
|
+
if property_name in memeber_set:
|
6242
|
+
memeber_set.remove(property_name)
|
6243
|
+
if len(memeber_set) > 0:
|
6244
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6245
|
+
|
6246
|
+
|
6247
|
+
|
6248
|
+
class MQTTClientInfo(AbstractModel):
|
6249
|
+
"""MQTT客户端信息
|
6250
|
+
|
6251
|
+
"""
|
6252
|
+
|
6253
|
+
def __init__(self):
|
6254
|
+
r"""
|
6255
|
+
:param _ClientId: 客户端唯一标识
|
6256
|
+
:type ClientId: str
|
6257
|
+
:param _ClientAddress: 客户端网络地址
|
6258
|
+
:type ClientAddress: str
|
6259
|
+
:param _ProtocolVersion: MQTT 协议版本,4 表示 MQTT 3.1.1
|
6260
|
+
:type ProtocolVersion: int
|
6261
|
+
:param _Keepalive: 保持连接时间,单位:秒
|
6262
|
+
:type Keepalive: int
|
6263
|
+
:param _ConnectionStatus: 连接状态,CONNECTED 已连接,DISCONNECTED 未连接
|
6264
|
+
:type ConnectionStatus: str
|
6265
|
+
:param _CreateTime: 客户端创建时间
|
6266
|
+
:type CreateTime: int
|
6267
|
+
:param _ConnectTime: 上次建立连接时间
|
6268
|
+
:type ConnectTime: int
|
6269
|
+
:param _DisconnectTime: 上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义
|
6270
|
+
:type DisconnectTime: int
|
6271
|
+
:param _MQTTClientSubscriptions: 客户端的订阅列表
|
6272
|
+
:type MQTTClientSubscriptions: list of MQTTClientSubscription
|
6273
|
+
"""
|
6274
|
+
self._ClientId = None
|
6275
|
+
self._ClientAddress = None
|
6276
|
+
self._ProtocolVersion = None
|
6277
|
+
self._Keepalive = None
|
6278
|
+
self._ConnectionStatus = None
|
6279
|
+
self._CreateTime = None
|
6280
|
+
self._ConnectTime = None
|
6281
|
+
self._DisconnectTime = None
|
6282
|
+
self._MQTTClientSubscriptions = None
|
6283
|
+
|
6284
|
+
@property
|
6285
|
+
def ClientId(self):
|
6286
|
+
"""客户端唯一标识
|
6287
|
+
:rtype: str
|
6288
|
+
"""
|
6289
|
+
return self._ClientId
|
6290
|
+
|
6291
|
+
@ClientId.setter
|
6292
|
+
def ClientId(self, ClientId):
|
6293
|
+
self._ClientId = ClientId
|
6294
|
+
|
6295
|
+
@property
|
6296
|
+
def ClientAddress(self):
|
6297
|
+
"""客户端网络地址
|
6298
|
+
:rtype: str
|
6299
|
+
"""
|
6300
|
+
return self._ClientAddress
|
6301
|
+
|
6302
|
+
@ClientAddress.setter
|
6303
|
+
def ClientAddress(self, ClientAddress):
|
6304
|
+
self._ClientAddress = ClientAddress
|
6305
|
+
|
6306
|
+
@property
|
6307
|
+
def ProtocolVersion(self):
|
6308
|
+
"""MQTT 协议版本,4 表示 MQTT 3.1.1
|
6309
|
+
:rtype: int
|
6310
|
+
"""
|
6311
|
+
return self._ProtocolVersion
|
6312
|
+
|
6313
|
+
@ProtocolVersion.setter
|
6314
|
+
def ProtocolVersion(self, ProtocolVersion):
|
6315
|
+
self._ProtocolVersion = ProtocolVersion
|
6316
|
+
|
6317
|
+
@property
|
6318
|
+
def Keepalive(self):
|
6319
|
+
"""保持连接时间,单位:秒
|
6320
|
+
:rtype: int
|
6321
|
+
"""
|
6322
|
+
return self._Keepalive
|
6323
|
+
|
6324
|
+
@Keepalive.setter
|
6325
|
+
def Keepalive(self, Keepalive):
|
6326
|
+
self._Keepalive = Keepalive
|
6327
|
+
|
6328
|
+
@property
|
6329
|
+
def ConnectionStatus(self):
|
6330
|
+
"""连接状态,CONNECTED 已连接,DISCONNECTED 未连接
|
6331
|
+
:rtype: str
|
6332
|
+
"""
|
6333
|
+
return self._ConnectionStatus
|
6334
|
+
|
6335
|
+
@ConnectionStatus.setter
|
6336
|
+
def ConnectionStatus(self, ConnectionStatus):
|
6337
|
+
self._ConnectionStatus = ConnectionStatus
|
6338
|
+
|
6339
|
+
@property
|
6340
|
+
def CreateTime(self):
|
6341
|
+
"""客户端创建时间
|
6342
|
+
:rtype: int
|
6343
|
+
"""
|
6344
|
+
return self._CreateTime
|
6345
|
+
|
6346
|
+
@CreateTime.setter
|
6347
|
+
def CreateTime(self, CreateTime):
|
6348
|
+
self._CreateTime = CreateTime
|
6349
|
+
|
6350
|
+
@property
|
6351
|
+
def ConnectTime(self):
|
6352
|
+
"""上次建立连接时间
|
6353
|
+
:rtype: int
|
6354
|
+
"""
|
6355
|
+
return self._ConnectTime
|
6356
|
+
|
6357
|
+
@ConnectTime.setter
|
6358
|
+
def ConnectTime(self, ConnectTime):
|
6359
|
+
self._ConnectTime = ConnectTime
|
6360
|
+
|
6361
|
+
@property
|
6362
|
+
def DisconnectTime(self):
|
6363
|
+
"""上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义
|
6364
|
+
:rtype: int
|
6365
|
+
"""
|
6366
|
+
return self._DisconnectTime
|
6367
|
+
|
6368
|
+
@DisconnectTime.setter
|
6369
|
+
def DisconnectTime(self, DisconnectTime):
|
6370
|
+
self._DisconnectTime = DisconnectTime
|
6371
|
+
|
6372
|
+
@property
|
6373
|
+
def MQTTClientSubscriptions(self):
|
6374
|
+
"""客户端的订阅列表
|
6375
|
+
:rtype: list of MQTTClientSubscription
|
6376
|
+
"""
|
6377
|
+
return self._MQTTClientSubscriptions
|
6378
|
+
|
6379
|
+
@MQTTClientSubscriptions.setter
|
6380
|
+
def MQTTClientSubscriptions(self, MQTTClientSubscriptions):
|
6381
|
+
self._MQTTClientSubscriptions = MQTTClientSubscriptions
|
6382
|
+
|
6383
|
+
|
6384
|
+
def _deserialize(self, params):
|
6385
|
+
self._ClientId = params.get("ClientId")
|
6386
|
+
self._ClientAddress = params.get("ClientAddress")
|
6387
|
+
self._ProtocolVersion = params.get("ProtocolVersion")
|
6388
|
+
self._Keepalive = params.get("Keepalive")
|
6389
|
+
self._ConnectionStatus = params.get("ConnectionStatus")
|
6390
|
+
self._CreateTime = params.get("CreateTime")
|
6391
|
+
self._ConnectTime = params.get("ConnectTime")
|
6392
|
+
self._DisconnectTime = params.get("DisconnectTime")
|
6393
|
+
if params.get("MQTTClientSubscriptions") is not None:
|
6394
|
+
self._MQTTClientSubscriptions = []
|
6395
|
+
for item in params.get("MQTTClientSubscriptions"):
|
6396
|
+
obj = MQTTClientSubscription()
|
6397
|
+
obj._deserialize(item)
|
6398
|
+
self._MQTTClientSubscriptions.append(obj)
|
6399
|
+
memeber_set = set(params.keys())
|
6400
|
+
for name, value in vars(self).items():
|
6401
|
+
property_name = name[1:]
|
6402
|
+
if property_name in memeber_set:
|
6403
|
+
memeber_set.remove(property_name)
|
6404
|
+
if len(memeber_set) > 0:
|
6405
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6406
|
+
|
6407
|
+
|
6408
|
+
|
6409
|
+
class MQTTClientSubscription(AbstractModel):
|
6410
|
+
"""MQTT 订阅关系
|
6411
|
+
|
6412
|
+
"""
|
6413
|
+
|
6414
|
+
def __init__(self):
|
6415
|
+
r"""
|
6416
|
+
:param _TopicFilter: topic 订阅
|
6417
|
+
:type TopicFilter: str
|
6418
|
+
:param _Qos: 服务质量等级
|
6419
|
+
:type Qos: int
|
6420
|
+
:param _Lag: 堆积数量
|
6421
|
+
:type Lag: int
|
6422
|
+
:param _Inflight: 投递未确认数量
|
6423
|
+
:type Inflight: int
|
6424
|
+
"""
|
6425
|
+
self._TopicFilter = None
|
6426
|
+
self._Qos = None
|
6427
|
+
self._Lag = None
|
6428
|
+
self._Inflight = None
|
5513
6429
|
|
5514
6430
|
@property
|
5515
|
-
def
|
5516
|
-
"""
|
5517
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6431
|
+
def TopicFilter(self):
|
6432
|
+
"""topic 订阅
|
5518
6433
|
:rtype: str
|
5519
6434
|
"""
|
5520
|
-
return self.
|
6435
|
+
return self._TopicFilter
|
5521
6436
|
|
5522
|
-
@
|
5523
|
-
def
|
5524
|
-
self.
|
6437
|
+
@TopicFilter.setter
|
6438
|
+
def TopicFilter(self, TopicFilter):
|
6439
|
+
self._TopicFilter = TopicFilter
|
5525
6440
|
|
5526
6441
|
@property
|
5527
|
-
def
|
5528
|
-
"""
|
5529
|
-
|
5530
|
-
:rtype: str
|
6442
|
+
def Qos(self):
|
6443
|
+
"""服务质量等级
|
6444
|
+
:rtype: int
|
5531
6445
|
"""
|
5532
|
-
return self.
|
6446
|
+
return self._Qos
|
5533
6447
|
|
5534
|
-
@
|
5535
|
-
def
|
5536
|
-
self.
|
6448
|
+
@Qos.setter
|
6449
|
+
def Qos(self, Qos):
|
6450
|
+
self._Qos = Qos
|
5537
6451
|
|
5538
6452
|
@property
|
5539
|
-
def
|
5540
|
-
"""
|
5541
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6453
|
+
def Lag(self):
|
6454
|
+
"""堆积数量
|
5542
6455
|
:rtype: int
|
5543
6456
|
"""
|
5544
|
-
return self.
|
6457
|
+
return self._Lag
|
5545
6458
|
|
5546
|
-
@
|
5547
|
-
def
|
5548
|
-
self.
|
6459
|
+
@Lag.setter
|
6460
|
+
def Lag(self, Lag):
|
6461
|
+
self._Lag = Lag
|
5549
6462
|
|
5550
6463
|
@property
|
5551
|
-
def
|
5552
|
-
"""
|
5553
|
-
|
5554
|
-
:rtype: str
|
6464
|
+
def Inflight(self):
|
6465
|
+
"""投递未确认数量
|
6466
|
+
:rtype: int
|
5555
6467
|
"""
|
5556
|
-
return self.
|
6468
|
+
return self._Inflight
|
5557
6469
|
|
5558
|
-
@
|
5559
|
-
def
|
5560
|
-
self.
|
6470
|
+
@Inflight.setter
|
6471
|
+
def Inflight(self, Inflight):
|
6472
|
+
self._Inflight = Inflight
|
5561
6473
|
|
5562
6474
|
|
5563
6475
|
def _deserialize(self, params):
|
5564
|
-
self.
|
5565
|
-
self.
|
5566
|
-
self.
|
5567
|
-
self.
|
5568
|
-
self._Remark = params.get("Remark")
|
6476
|
+
self._TopicFilter = params.get("TopicFilter")
|
6477
|
+
self._Qos = params.get("Qos")
|
6478
|
+
self._Lag = params.get("Lag")
|
6479
|
+
self._Inflight = params.get("Inflight")
|
5569
6480
|
memeber_set = set(params.keys())
|
5570
6481
|
for name, value in vars(self).items():
|
5571
6482
|
property_name = name[1:]
|
@@ -5584,25 +6495,18 @@ class MQTTEndpointItem(AbstractModel):
|
|
5584
6495
|
def __init__(self):
|
5585
6496
|
r"""
|
5586
6497
|
:param _Type: 类型
|
5587
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5588
6498
|
:type Type: str
|
5589
6499
|
:param _Url: 接入点
|
5590
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5591
6500
|
:type Url: str
|
5592
6501
|
:param _VpcId: vpc信息
|
5593
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5594
6502
|
:type VpcId: str
|
5595
6503
|
:param _SubnetId: 子网信息
|
5596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5597
6504
|
:type SubnetId: str
|
5598
6505
|
:param _Host: 主机
|
5599
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5600
6506
|
:type Host: str
|
5601
6507
|
:param _Port: 端口
|
5602
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5603
6508
|
:type Port: int
|
5604
6509
|
:param _Ip: 接入点ip
|
5605
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5606
6510
|
:type Ip: str
|
5607
6511
|
"""
|
5608
6512
|
self._Type = None
|
@@ -5616,7 +6520,6 @@ class MQTTEndpointItem(AbstractModel):
|
|
5616
6520
|
@property
|
5617
6521
|
def Type(self):
|
5618
6522
|
"""类型
|
5619
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5620
6523
|
:rtype: str
|
5621
6524
|
"""
|
5622
6525
|
return self._Type
|
@@ -5628,7 +6531,6 @@ class MQTTEndpointItem(AbstractModel):
|
|
5628
6531
|
@property
|
5629
6532
|
def Url(self):
|
5630
6533
|
"""接入点
|
5631
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5632
6534
|
:rtype: str
|
5633
6535
|
"""
|
5634
6536
|
return self._Url
|
@@ -5640,7 +6542,6 @@ class MQTTEndpointItem(AbstractModel):
|
|
5640
6542
|
@property
|
5641
6543
|
def VpcId(self):
|
5642
6544
|
"""vpc信息
|
5643
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5644
6545
|
:rtype: str
|
5645
6546
|
"""
|
5646
6547
|
return self._VpcId
|
@@ -5652,7 +6553,6 @@ class MQTTEndpointItem(AbstractModel):
|
|
5652
6553
|
@property
|
5653
6554
|
def SubnetId(self):
|
5654
6555
|
"""子网信息
|
5655
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5656
6556
|
:rtype: str
|
5657
6557
|
"""
|
5658
6558
|
return self._SubnetId
|
@@ -5664,7 +6564,6 @@ class MQTTEndpointItem(AbstractModel):
|
|
5664
6564
|
@property
|
5665
6565
|
def Host(self):
|
5666
6566
|
"""主机
|
5667
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5668
6567
|
:rtype: str
|
5669
6568
|
"""
|
5670
6569
|
return self._Host
|
@@ -5676,7 +6575,6 @@ class MQTTEndpointItem(AbstractModel):
|
|
5676
6575
|
@property
|
5677
6576
|
def Port(self):
|
5678
6577
|
"""端口
|
5679
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5680
6578
|
:rtype: int
|
5681
6579
|
"""
|
5682
6580
|
return self._Port
|
@@ -5688,7 +6586,6 @@ class MQTTEndpointItem(AbstractModel):
|
|
5688
6586
|
@property
|
5689
6587
|
def Ip(self):
|
5690
6588
|
"""接入点ip
|
5691
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5692
6589
|
:rtype: str
|
5693
6590
|
"""
|
5694
6591
|
return self._Ip
|
@@ -5750,44 +6647,32 @@ DELETING,删除中
|
|
5750
6647
|
:param _TopicNumLimit: 实例主题数上限
|
5751
6648
|
:type TopicNumLimit: int
|
5752
6649
|
:param _Remark: 备注信息
|
5753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5754
6650
|
:type Remark: str
|
5755
6651
|
:param _TopicNum: 主题数量
|
5756
6652
|
:type TopicNum: int
|
5757
6653
|
:param _SkuCode: 商品规格
|
5758
6654
|
:type SkuCode: str
|
5759
6655
|
:param _TpsLimit: 弹性TPS限流值
|
5760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5761
6656
|
:type TpsLimit: int
|
5762
6657
|
:param _CreateTime: 创建时间
|
5763
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5764
6658
|
:type CreateTime: int
|
5765
6659
|
:param _MaxSubscriptionPerClient: 单客户端最大订阅数量
|
5766
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5767
6660
|
:type MaxSubscriptionPerClient: int
|
5768
6661
|
:param _ClientNumLimit: 客户端连接数上线
|
5769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5770
6662
|
:type ClientNumLimit: int
|
5771
6663
|
:param _RenewFlag: 是否自动续费
|
5772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5773
6664
|
:type RenewFlag: int
|
5774
6665
|
:param _PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
|
5775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5776
6666
|
:type PayMode: str
|
5777
6667
|
:param _ExpiryTime: 到期时间,秒为单位
|
5778
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5779
6668
|
:type ExpiryTime: int
|
5780
6669
|
:param _DestroyTime: 预销毁时间
|
5781
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5782
6670
|
:type DestroyTime: int
|
5783
6671
|
:param _AuthorizationPolicyLimit: 授权规则条数限制
|
5784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5785
6672
|
:type AuthorizationPolicyLimit: int
|
5786
6673
|
:param _MaxCaNum: 最大ca配额
|
5787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5788
6674
|
:type MaxCaNum: int
|
5789
6675
|
:param _MaxSubscription: 最大订阅数
|
5790
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5791
6676
|
:type MaxSubscription: int
|
5792
6677
|
"""
|
5793
6678
|
self._InstanceId = None
|
@@ -5894,7 +6779,6 @@ DELETING,删除中
|
|
5894
6779
|
@property
|
5895
6780
|
def Remark(self):
|
5896
6781
|
"""备注信息
|
5897
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5898
6782
|
:rtype: str
|
5899
6783
|
"""
|
5900
6784
|
return self._Remark
|
@@ -5928,7 +6812,6 @@ DELETING,删除中
|
|
5928
6812
|
@property
|
5929
6813
|
def TpsLimit(self):
|
5930
6814
|
"""弹性TPS限流值
|
5931
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5932
6815
|
:rtype: int
|
5933
6816
|
"""
|
5934
6817
|
return self._TpsLimit
|
@@ -5940,7 +6823,6 @@ DELETING,删除中
|
|
5940
6823
|
@property
|
5941
6824
|
def CreateTime(self):
|
5942
6825
|
"""创建时间
|
5943
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5944
6826
|
:rtype: int
|
5945
6827
|
"""
|
5946
6828
|
return self._CreateTime
|
@@ -5952,7 +6834,6 @@ DELETING,删除中
|
|
5952
6834
|
@property
|
5953
6835
|
def MaxSubscriptionPerClient(self):
|
5954
6836
|
"""单客户端最大订阅数量
|
5955
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5956
6837
|
:rtype: int
|
5957
6838
|
"""
|
5958
6839
|
return self._MaxSubscriptionPerClient
|
@@ -5964,7 +6845,6 @@ DELETING,删除中
|
|
5964
6845
|
@property
|
5965
6846
|
def ClientNumLimit(self):
|
5966
6847
|
"""客户端连接数上线
|
5967
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5968
6848
|
:rtype: int
|
5969
6849
|
"""
|
5970
6850
|
return self._ClientNumLimit
|
@@ -5976,7 +6856,6 @@ DELETING,删除中
|
|
5976
6856
|
@property
|
5977
6857
|
def RenewFlag(self):
|
5978
6858
|
"""是否自动续费
|
5979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5980
6859
|
:rtype: int
|
5981
6860
|
"""
|
5982
6861
|
return self._RenewFlag
|
@@ -5988,7 +6867,6 @@ DELETING,删除中
|
|
5988
6867
|
@property
|
5989
6868
|
def PayMode(self):
|
5990
6869
|
"""计费模式, POSTPAID,按量计费 PREPAID,包年包月
|
5991
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5992
6870
|
:rtype: str
|
5993
6871
|
"""
|
5994
6872
|
return self._PayMode
|
@@ -6000,7 +6878,6 @@ DELETING,删除中
|
|
6000
6878
|
@property
|
6001
6879
|
def ExpiryTime(self):
|
6002
6880
|
"""到期时间,秒为单位
|
6003
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6004
6881
|
:rtype: int
|
6005
6882
|
"""
|
6006
6883
|
return self._ExpiryTime
|
@@ -6012,7 +6889,6 @@ DELETING,删除中
|
|
6012
6889
|
@property
|
6013
6890
|
def DestroyTime(self):
|
6014
6891
|
"""预销毁时间
|
6015
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6016
6892
|
:rtype: int
|
6017
6893
|
"""
|
6018
6894
|
return self._DestroyTime
|
@@ -6024,7 +6900,6 @@ DELETING,删除中
|
|
6024
6900
|
@property
|
6025
6901
|
def AuthorizationPolicyLimit(self):
|
6026
6902
|
"""授权规则条数限制
|
6027
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6028
6903
|
:rtype: int
|
6029
6904
|
"""
|
6030
6905
|
return self._AuthorizationPolicyLimit
|
@@ -6036,7 +6911,6 @@ DELETING,删除中
|
|
6036
6911
|
@property
|
6037
6912
|
def MaxCaNum(self):
|
6038
6913
|
"""最大ca配额
|
6039
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6040
6914
|
:rtype: int
|
6041
6915
|
"""
|
6042
6916
|
return self._MaxCaNum
|
@@ -6048,7 +6922,6 @@ DELETING,删除中
|
|
6048
6922
|
@property
|
6049
6923
|
def MaxSubscription(self):
|
6050
6924
|
"""最大订阅数
|
6051
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6052
6925
|
:rtype: int
|
6053
6926
|
"""
|
6054
6927
|
return self._MaxSubscription
|
@@ -6089,6 +6962,162 @@ DELETING,删除中
|
|
6089
6962
|
|
6090
6963
|
|
6091
6964
|
|
6965
|
+
class MQTTMessageItem(AbstractModel):
|
6966
|
+
"""消息记录
|
6967
|
+
|
6968
|
+
"""
|
6969
|
+
|
6970
|
+
def __init__(self):
|
6971
|
+
r"""
|
6972
|
+
:param _MsgId: 消息ID
|
6973
|
+
:type MsgId: str
|
6974
|
+
:param _Tags: 消息tag
|
6975
|
+
:type Tags: str
|
6976
|
+
:param _Keys: 消息key
|
6977
|
+
:type Keys: str
|
6978
|
+
:param _ProducerAddr: 客户端地址
|
6979
|
+
:type ProducerAddr: str
|
6980
|
+
:param _ProduceTime: 消息发送时间
|
6981
|
+
:type ProduceTime: str
|
6982
|
+
:param _DeadLetterResendTimes: 死信重发次数
|
6983
|
+
:type DeadLetterResendTimes: int
|
6984
|
+
:param _DeadLetterResendSuccessTimes: 死信重发成功次数
|
6985
|
+
:type DeadLetterResendSuccessTimes: int
|
6986
|
+
:param _SubTopic: 子topic
|
6987
|
+
:type SubTopic: str
|
6988
|
+
:param _Qos: 消息质量等级
|
6989
|
+
:type Qos: str
|
6990
|
+
"""
|
6991
|
+
self._MsgId = None
|
6992
|
+
self._Tags = None
|
6993
|
+
self._Keys = None
|
6994
|
+
self._ProducerAddr = None
|
6995
|
+
self._ProduceTime = None
|
6996
|
+
self._DeadLetterResendTimes = None
|
6997
|
+
self._DeadLetterResendSuccessTimes = None
|
6998
|
+
self._SubTopic = None
|
6999
|
+
self._Qos = None
|
7000
|
+
|
7001
|
+
@property
|
7002
|
+
def MsgId(self):
|
7003
|
+
"""消息ID
|
7004
|
+
:rtype: str
|
7005
|
+
"""
|
7006
|
+
return self._MsgId
|
7007
|
+
|
7008
|
+
@MsgId.setter
|
7009
|
+
def MsgId(self, MsgId):
|
7010
|
+
self._MsgId = MsgId
|
7011
|
+
|
7012
|
+
@property
|
7013
|
+
def Tags(self):
|
7014
|
+
"""消息tag
|
7015
|
+
:rtype: str
|
7016
|
+
"""
|
7017
|
+
return self._Tags
|
7018
|
+
|
7019
|
+
@Tags.setter
|
7020
|
+
def Tags(self, Tags):
|
7021
|
+
self._Tags = Tags
|
7022
|
+
|
7023
|
+
@property
|
7024
|
+
def Keys(self):
|
7025
|
+
"""消息key
|
7026
|
+
:rtype: str
|
7027
|
+
"""
|
7028
|
+
return self._Keys
|
7029
|
+
|
7030
|
+
@Keys.setter
|
7031
|
+
def Keys(self, Keys):
|
7032
|
+
self._Keys = Keys
|
7033
|
+
|
7034
|
+
@property
|
7035
|
+
def ProducerAddr(self):
|
7036
|
+
"""客户端地址
|
7037
|
+
:rtype: str
|
7038
|
+
"""
|
7039
|
+
return self._ProducerAddr
|
7040
|
+
|
7041
|
+
@ProducerAddr.setter
|
7042
|
+
def ProducerAddr(self, ProducerAddr):
|
7043
|
+
self._ProducerAddr = ProducerAddr
|
7044
|
+
|
7045
|
+
@property
|
7046
|
+
def ProduceTime(self):
|
7047
|
+
"""消息发送时间
|
7048
|
+
:rtype: str
|
7049
|
+
"""
|
7050
|
+
return self._ProduceTime
|
7051
|
+
|
7052
|
+
@ProduceTime.setter
|
7053
|
+
def ProduceTime(self, ProduceTime):
|
7054
|
+
self._ProduceTime = ProduceTime
|
7055
|
+
|
7056
|
+
@property
|
7057
|
+
def DeadLetterResendTimes(self):
|
7058
|
+
"""死信重发次数
|
7059
|
+
:rtype: int
|
7060
|
+
"""
|
7061
|
+
return self._DeadLetterResendTimes
|
7062
|
+
|
7063
|
+
@DeadLetterResendTimes.setter
|
7064
|
+
def DeadLetterResendTimes(self, DeadLetterResendTimes):
|
7065
|
+
self._DeadLetterResendTimes = DeadLetterResendTimes
|
7066
|
+
|
7067
|
+
@property
|
7068
|
+
def DeadLetterResendSuccessTimes(self):
|
7069
|
+
"""死信重发成功次数
|
7070
|
+
:rtype: int
|
7071
|
+
"""
|
7072
|
+
return self._DeadLetterResendSuccessTimes
|
7073
|
+
|
7074
|
+
@DeadLetterResendSuccessTimes.setter
|
7075
|
+
def DeadLetterResendSuccessTimes(self, DeadLetterResendSuccessTimes):
|
7076
|
+
self._DeadLetterResendSuccessTimes = DeadLetterResendSuccessTimes
|
7077
|
+
|
7078
|
+
@property
|
7079
|
+
def SubTopic(self):
|
7080
|
+
"""子topic
|
7081
|
+
:rtype: str
|
7082
|
+
"""
|
7083
|
+
return self._SubTopic
|
7084
|
+
|
7085
|
+
@SubTopic.setter
|
7086
|
+
def SubTopic(self, SubTopic):
|
7087
|
+
self._SubTopic = SubTopic
|
7088
|
+
|
7089
|
+
@property
|
7090
|
+
def Qos(self):
|
7091
|
+
"""消息质量等级
|
7092
|
+
:rtype: str
|
7093
|
+
"""
|
7094
|
+
return self._Qos
|
7095
|
+
|
7096
|
+
@Qos.setter
|
7097
|
+
def Qos(self, Qos):
|
7098
|
+
self._Qos = Qos
|
7099
|
+
|
7100
|
+
|
7101
|
+
def _deserialize(self, params):
|
7102
|
+
self._MsgId = params.get("MsgId")
|
7103
|
+
self._Tags = params.get("Tags")
|
7104
|
+
self._Keys = params.get("Keys")
|
7105
|
+
self._ProducerAddr = params.get("ProducerAddr")
|
7106
|
+
self._ProduceTime = params.get("ProduceTime")
|
7107
|
+
self._DeadLetterResendTimes = params.get("DeadLetterResendTimes")
|
7108
|
+
self._DeadLetterResendSuccessTimes = params.get("DeadLetterResendSuccessTimes")
|
7109
|
+
self._SubTopic = params.get("SubTopic")
|
7110
|
+
self._Qos = params.get("Qos")
|
7111
|
+
memeber_set = set(params.keys())
|
7112
|
+
for name, value in vars(self).items():
|
7113
|
+
property_name = name[1:]
|
7114
|
+
if property_name in memeber_set:
|
7115
|
+
memeber_set.remove(property_name)
|
7116
|
+
if len(memeber_set) > 0:
|
7117
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7118
|
+
|
7119
|
+
|
7120
|
+
|
6092
7121
|
class MQTTTopicItem(AbstractModel):
|
6093
7122
|
"""MQTT 主题详情
|
6094
7123
|
|
@@ -6101,7 +7130,6 @@ class MQTTTopicItem(AbstractModel):
|
|
6101
7130
|
:param _Topic: 主题名称
|
6102
7131
|
:type Topic: str
|
6103
7132
|
:param _Remark: 主题描述
|
6104
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6105
7133
|
:type Remark: str
|
6106
7134
|
"""
|
6107
7135
|
self._InstanceId = None
|
@@ -6133,7 +7161,6 @@ class MQTTTopicItem(AbstractModel):
|
|
6133
7161
|
@property
|
6134
7162
|
def Remark(self):
|
6135
7163
|
"""主题描述
|
6136
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6137
7164
|
:rtype: str
|
6138
7165
|
"""
|
6139
7166
|
return self._Remark
|
@@ -6512,6 +7539,215 @@ class ModifyAuthorizationPolicyResponse(AbstractModel):
|
|
6512
7539
|
self._RequestId = params.get("RequestId")
|
6513
7540
|
|
6514
7541
|
|
7542
|
+
class ModifyHttpAuthenticatorRequest(AbstractModel):
|
7543
|
+
"""ModifyHttpAuthenticator请求参数结构体
|
7544
|
+
|
7545
|
+
"""
|
7546
|
+
|
7547
|
+
def __init__(self):
|
7548
|
+
r"""
|
7549
|
+
:param _InstanceId: 实例ID
|
7550
|
+
:type InstanceId: str
|
7551
|
+
:param _Endpoint: 端点
|
7552
|
+
:type Endpoint: str
|
7553
|
+
:param _Status: 认证器状态:open-启用;close-关闭
|
7554
|
+
:type Status: str
|
7555
|
+
:param _Concurrency: 最大并发连接数,默认8,范围:1-20
|
7556
|
+
:type Concurrency: int
|
7557
|
+
:param _ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
|
7558
|
+
:type ConnectTimeout: int
|
7559
|
+
:param _ReadTimeout: 请求超时时间,单位:秒,范围:1-30
|
7560
|
+
:type ReadTimeout: int
|
7561
|
+
:param _Remark: 说明
|
7562
|
+
:type Remark: str
|
7563
|
+
:param _Method: 请求方法,GET 或者 POST
|
7564
|
+
:type Method: str
|
7565
|
+
:param _Header: 请求header
|
7566
|
+
:type Header: list of HeaderItem
|
7567
|
+
:param _Body: 请求body
|
7568
|
+
:type Body: list of BodyItem
|
7569
|
+
"""
|
7570
|
+
self._InstanceId = None
|
7571
|
+
self._Endpoint = None
|
7572
|
+
self._Status = None
|
7573
|
+
self._Concurrency = None
|
7574
|
+
self._ConnectTimeout = None
|
7575
|
+
self._ReadTimeout = None
|
7576
|
+
self._Remark = None
|
7577
|
+
self._Method = None
|
7578
|
+
self._Header = None
|
7579
|
+
self._Body = None
|
7580
|
+
|
7581
|
+
@property
|
7582
|
+
def InstanceId(self):
|
7583
|
+
"""实例ID
|
7584
|
+
:rtype: str
|
7585
|
+
"""
|
7586
|
+
return self._InstanceId
|
7587
|
+
|
7588
|
+
@InstanceId.setter
|
7589
|
+
def InstanceId(self, InstanceId):
|
7590
|
+
self._InstanceId = InstanceId
|
7591
|
+
|
7592
|
+
@property
|
7593
|
+
def Endpoint(self):
|
7594
|
+
"""端点
|
7595
|
+
:rtype: str
|
7596
|
+
"""
|
7597
|
+
return self._Endpoint
|
7598
|
+
|
7599
|
+
@Endpoint.setter
|
7600
|
+
def Endpoint(self, Endpoint):
|
7601
|
+
self._Endpoint = Endpoint
|
7602
|
+
|
7603
|
+
@property
|
7604
|
+
def Status(self):
|
7605
|
+
"""认证器状态:open-启用;close-关闭
|
7606
|
+
:rtype: str
|
7607
|
+
"""
|
7608
|
+
return self._Status
|
7609
|
+
|
7610
|
+
@Status.setter
|
7611
|
+
def Status(self, Status):
|
7612
|
+
self._Status = Status
|
7613
|
+
|
7614
|
+
@property
|
7615
|
+
def Concurrency(self):
|
7616
|
+
"""最大并发连接数,默认8,范围:1-20
|
7617
|
+
:rtype: int
|
7618
|
+
"""
|
7619
|
+
return self._Concurrency
|
7620
|
+
|
7621
|
+
@Concurrency.setter
|
7622
|
+
def Concurrency(self, Concurrency):
|
7623
|
+
self._Concurrency = Concurrency
|
7624
|
+
|
7625
|
+
@property
|
7626
|
+
def ConnectTimeout(self):
|
7627
|
+
"""连接超时时间,单位:秒,范围:1-30
|
7628
|
+
:rtype: int
|
7629
|
+
"""
|
7630
|
+
return self._ConnectTimeout
|
7631
|
+
|
7632
|
+
@ConnectTimeout.setter
|
7633
|
+
def ConnectTimeout(self, ConnectTimeout):
|
7634
|
+
self._ConnectTimeout = ConnectTimeout
|
7635
|
+
|
7636
|
+
@property
|
7637
|
+
def ReadTimeout(self):
|
7638
|
+
"""请求超时时间,单位:秒,范围:1-30
|
7639
|
+
:rtype: int
|
7640
|
+
"""
|
7641
|
+
return self._ReadTimeout
|
7642
|
+
|
7643
|
+
@ReadTimeout.setter
|
7644
|
+
def ReadTimeout(self, ReadTimeout):
|
7645
|
+
self._ReadTimeout = ReadTimeout
|
7646
|
+
|
7647
|
+
@property
|
7648
|
+
def Remark(self):
|
7649
|
+
"""说明
|
7650
|
+
:rtype: str
|
7651
|
+
"""
|
7652
|
+
return self._Remark
|
7653
|
+
|
7654
|
+
@Remark.setter
|
7655
|
+
def Remark(self, Remark):
|
7656
|
+
self._Remark = Remark
|
7657
|
+
|
7658
|
+
@property
|
7659
|
+
def Method(self):
|
7660
|
+
"""请求方法,GET 或者 POST
|
7661
|
+
:rtype: str
|
7662
|
+
"""
|
7663
|
+
return self._Method
|
7664
|
+
|
7665
|
+
@Method.setter
|
7666
|
+
def Method(self, Method):
|
7667
|
+
self._Method = Method
|
7668
|
+
|
7669
|
+
@property
|
7670
|
+
def Header(self):
|
7671
|
+
"""请求header
|
7672
|
+
:rtype: list of HeaderItem
|
7673
|
+
"""
|
7674
|
+
return self._Header
|
7675
|
+
|
7676
|
+
@Header.setter
|
7677
|
+
def Header(self, Header):
|
7678
|
+
self._Header = Header
|
7679
|
+
|
7680
|
+
@property
|
7681
|
+
def Body(self):
|
7682
|
+
"""请求body
|
7683
|
+
:rtype: list of BodyItem
|
7684
|
+
"""
|
7685
|
+
return self._Body
|
7686
|
+
|
7687
|
+
@Body.setter
|
7688
|
+
def Body(self, Body):
|
7689
|
+
self._Body = Body
|
7690
|
+
|
7691
|
+
|
7692
|
+
def _deserialize(self, params):
|
7693
|
+
self._InstanceId = params.get("InstanceId")
|
7694
|
+
self._Endpoint = params.get("Endpoint")
|
7695
|
+
self._Status = params.get("Status")
|
7696
|
+
self._Concurrency = params.get("Concurrency")
|
7697
|
+
self._ConnectTimeout = params.get("ConnectTimeout")
|
7698
|
+
self._ReadTimeout = params.get("ReadTimeout")
|
7699
|
+
self._Remark = params.get("Remark")
|
7700
|
+
self._Method = params.get("Method")
|
7701
|
+
if params.get("Header") is not None:
|
7702
|
+
self._Header = []
|
7703
|
+
for item in params.get("Header"):
|
7704
|
+
obj = HeaderItem()
|
7705
|
+
obj._deserialize(item)
|
7706
|
+
self._Header.append(obj)
|
7707
|
+
if params.get("Body") is not None:
|
7708
|
+
self._Body = []
|
7709
|
+
for item in params.get("Body"):
|
7710
|
+
obj = BodyItem()
|
7711
|
+
obj._deserialize(item)
|
7712
|
+
self._Body.append(obj)
|
7713
|
+
memeber_set = set(params.keys())
|
7714
|
+
for name, value in vars(self).items():
|
7715
|
+
property_name = name[1:]
|
7716
|
+
if property_name in memeber_set:
|
7717
|
+
memeber_set.remove(property_name)
|
7718
|
+
if len(memeber_set) > 0:
|
7719
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7720
|
+
|
7721
|
+
|
7722
|
+
|
7723
|
+
class ModifyHttpAuthenticatorResponse(AbstractModel):
|
7724
|
+
"""ModifyHttpAuthenticator返回参数结构体
|
7725
|
+
|
7726
|
+
"""
|
7727
|
+
|
7728
|
+
def __init__(self):
|
7729
|
+
r"""
|
7730
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7731
|
+
:type RequestId: str
|
7732
|
+
"""
|
7733
|
+
self._RequestId = None
|
7734
|
+
|
7735
|
+
@property
|
7736
|
+
def RequestId(self):
|
7737
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7738
|
+
:rtype: str
|
7739
|
+
"""
|
7740
|
+
return self._RequestId
|
7741
|
+
|
7742
|
+
@RequestId.setter
|
7743
|
+
def RequestId(self, RequestId):
|
7744
|
+
self._RequestId = RequestId
|
7745
|
+
|
7746
|
+
|
7747
|
+
def _deserialize(self, params):
|
7748
|
+
self._RequestId = params.get("RequestId")
|
7749
|
+
|
7750
|
+
|
6515
7751
|
class ModifyInsPublicEndpointRequest(AbstractModel):
|
6516
7752
|
"""ModifyInsPublicEndpoint请求参数结构体
|
6517
7753
|
|
@@ -7417,7 +8653,6 @@ class PriceTag(AbstractModel):
|
|
7417
8653
|
:param _Code: 计费项标签
|
7418
8654
|
:type Code: str
|
7419
8655
|
:param _Step: 步长
|
7420
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7421
8656
|
:type Step: int
|
7422
8657
|
"""
|
7423
8658
|
self._Name = None
|
@@ -7461,7 +8696,6 @@ class PriceTag(AbstractModel):
|
|
7461
8696
|
@property
|
7462
8697
|
def Step(self):
|
7463
8698
|
"""步长
|
7464
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7465
8699
|
:rtype: int
|
7466
8700
|
"""
|
7467
8701
|
return self._Step
|
@@ -7496,31 +8730,22 @@ class ProductSkuItem(AbstractModel):
|
|
7496
8730
|
:param _InstanceType: 规格类型
|
7497
8731
|
BASIC:基础版
|
7498
8732
|
PRO :专业版
|
7499
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7500
8733
|
:type InstanceType: str
|
7501
8734
|
:param _SkuCode: 规格代码
|
7502
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7503
8735
|
:type SkuCode: str
|
7504
8736
|
:param _OnSale: 是否售卖
|
7505
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7506
8737
|
:type OnSale: bool
|
7507
8738
|
:param _TopicNumLimit: topic num限制
|
7508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7509
8739
|
:type TopicNumLimit: int
|
7510
8740
|
:param _TpsLimit: tps
|
7511
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7512
8741
|
:type TpsLimit: int
|
7513
8742
|
:param _ClientNumLimit: 客户端连接数
|
7514
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7515
8743
|
:type ClientNumLimit: int
|
7516
8744
|
:param _MaxSubscriptionPerClient: 单客户端最大订阅数
|
7517
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7518
8745
|
:type MaxSubscriptionPerClient: int
|
7519
8746
|
:param _AuthorizationPolicyLimit: 授权规则条数
|
7520
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7521
8747
|
:type AuthorizationPolicyLimit: int
|
7522
8748
|
:param _PriceTags: 计费项信息
|
7523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7524
8749
|
:type PriceTags: list of PriceTag
|
7525
8750
|
"""
|
7526
8751
|
self._InstanceType = None
|
@@ -7538,7 +8763,6 @@ PRO :专业版
|
|
7538
8763
|
"""规格类型
|
7539
8764
|
BASIC:基础版
|
7540
8765
|
PRO :专业版
|
7541
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7542
8766
|
:rtype: str
|
7543
8767
|
"""
|
7544
8768
|
return self._InstanceType
|
@@ -7550,7 +8774,6 @@ PRO :专业版
|
|
7550
8774
|
@property
|
7551
8775
|
def SkuCode(self):
|
7552
8776
|
"""规格代码
|
7553
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7554
8777
|
:rtype: str
|
7555
8778
|
"""
|
7556
8779
|
return self._SkuCode
|
@@ -7562,7 +8785,6 @@ PRO :专业版
|
|
7562
8785
|
@property
|
7563
8786
|
def OnSale(self):
|
7564
8787
|
"""是否售卖
|
7565
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7566
8788
|
:rtype: bool
|
7567
8789
|
"""
|
7568
8790
|
return self._OnSale
|
@@ -7574,7 +8796,6 @@ PRO :专业版
|
|
7574
8796
|
@property
|
7575
8797
|
def TopicNumLimit(self):
|
7576
8798
|
"""topic num限制
|
7577
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7578
8799
|
:rtype: int
|
7579
8800
|
"""
|
7580
8801
|
return self._TopicNumLimit
|
@@ -7586,7 +8807,6 @@ PRO :专业版
|
|
7586
8807
|
@property
|
7587
8808
|
def TpsLimit(self):
|
7588
8809
|
"""tps
|
7589
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7590
8810
|
:rtype: int
|
7591
8811
|
"""
|
7592
8812
|
return self._TpsLimit
|
@@ -7598,7 +8818,6 @@ PRO :专业版
|
|
7598
8818
|
@property
|
7599
8819
|
def ClientNumLimit(self):
|
7600
8820
|
"""客户端连接数
|
7601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7602
8821
|
:rtype: int
|
7603
8822
|
"""
|
7604
8823
|
return self._ClientNumLimit
|
@@ -7610,7 +8829,6 @@ PRO :专业版
|
|
7610
8829
|
@property
|
7611
8830
|
def MaxSubscriptionPerClient(self):
|
7612
8831
|
"""单客户端最大订阅数
|
7613
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7614
8832
|
:rtype: int
|
7615
8833
|
"""
|
7616
8834
|
return self._MaxSubscriptionPerClient
|
@@ -7622,7 +8840,6 @@ PRO :专业版
|
|
7622
8840
|
@property
|
7623
8841
|
def AuthorizationPolicyLimit(self):
|
7624
8842
|
"""授权规则条数
|
7625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7626
8843
|
:rtype: int
|
7627
8844
|
"""
|
7628
8845
|
return self._AuthorizationPolicyLimit
|
@@ -7634,7 +8851,6 @@ PRO :专业版
|
|
7634
8851
|
@property
|
7635
8852
|
def PriceTags(self):
|
7636
8853
|
"""计费项信息
|
7637
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7638
8854
|
:rtype: list of PriceTag
|
7639
8855
|
"""
|
7640
8856
|
return self._PriceTags
|
@@ -7677,13 +8893,10 @@ class PublicAccessRule(AbstractModel):
|
|
7677
8893
|
def __init__(self):
|
7678
8894
|
r"""
|
7679
8895
|
:param _IpRule: ip网段信息
|
7680
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7681
8896
|
:type IpRule: str
|
7682
8897
|
:param _Allow: 允许或者拒绝
|
7683
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7684
8898
|
:type Allow: bool
|
7685
8899
|
:param _Remark: 备注信息
|
7686
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7687
8900
|
:type Remark: str
|
7688
8901
|
"""
|
7689
8902
|
self._IpRule = None
|
@@ -7693,7 +8906,6 @@ class PublicAccessRule(AbstractModel):
|
|
7693
8906
|
@property
|
7694
8907
|
def IpRule(self):
|
7695
8908
|
"""ip网段信息
|
7696
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7697
8909
|
:rtype: str
|
7698
8910
|
"""
|
7699
8911
|
return self._IpRule
|
@@ -7705,7 +8917,6 @@ class PublicAccessRule(AbstractModel):
|
|
7705
8917
|
@property
|
7706
8918
|
def Allow(self):
|
7707
8919
|
"""允许或者拒绝
|
7708
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7709
8920
|
:rtype: bool
|
7710
8921
|
"""
|
7711
8922
|
return self._Allow
|
@@ -7717,7 +8928,6 @@ class PublicAccessRule(AbstractModel):
|
|
7717
8928
|
@property
|
7718
8929
|
def Remark(self):
|
7719
8930
|
"""备注信息
|
7720
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7721
8931
|
:rtype: str
|
7722
8932
|
"""
|
7723
8933
|
return self._Remark
|
@@ -8253,10 +9463,8 @@ class Tag(AbstractModel):
|
|
8253
9463
|
def __init__(self):
|
8254
9464
|
r"""
|
8255
9465
|
:param _TagKey: 标签名称
|
8256
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8257
9466
|
:type TagKey: str
|
8258
9467
|
:param _TagValue: 标签值
|
8259
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8260
9468
|
:type TagValue: str
|
8261
9469
|
"""
|
8262
9470
|
self._TagKey = None
|
@@ -8265,7 +9473,6 @@ class Tag(AbstractModel):
|
|
8265
9473
|
@property
|
8266
9474
|
def TagKey(self):
|
8267
9475
|
"""标签名称
|
8268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8269
9476
|
:rtype: str
|
8270
9477
|
"""
|
8271
9478
|
return self._TagKey
|
@@ -8277,7 +9484,6 @@ class Tag(AbstractModel):
|
|
8277
9484
|
@property
|
8278
9485
|
def TagValue(self):
|
8279
9486
|
"""标签值
|
8280
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8281
9487
|
:rtype: str
|
8282
9488
|
"""
|
8283
9489
|
return self._TagValue
|