tencentcloud-sdk-python 3.0.1391__py2.py3-none-any.whl → 3.0.1393__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +2 -2
  3. tencentcloud/cfs/v20190719/cfs_client.py +3 -7
  4. tencentcloud/cfs/v20190719/models.py +80 -108
  5. tencentcloud/cme/v20191029/cme_client.py +0 -1
  6. tencentcloud/cme/v20191029/models.py +16 -0
  7. tencentcloud/cynosdb/v20190107/models.py +17 -17
  8. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  9. tencentcloud/dlc/v20210125/models.py +85 -0
  10. tencentcloud/domain/v20180808/models.py +2 -2
  11. tencentcloud/emr/v20190103/errorcodes.py +9 -0
  12. tencentcloud/emr/v20190103/models.py +15 -0
  13. tencentcloud/es/v20250101/es_client.py +0 -23
  14. tencentcloud/es/v20250101/models.py +1 -352
  15. tencentcloud/ess/v20201111/models.py +24 -10
  16. tencentcloud/essbasic/v20210526/models.py +10 -6
  17. tencentcloud/gs/v20191118/gs_client.py +46 -0
  18. tencentcloud/gs/v20191118/models.py +269 -0
  19. tencentcloud/hai/v20230812/models.py +8 -14
  20. tencentcloud/iotexplorer/v20190423/models.py +2 -2
  21. tencentcloud/lke/v20231130/errorcodes.py +0 -6
  22. tencentcloud/lke/v20231130/lke_client.py +0 -26
  23. tencentcloud/lke/v20231130/models.py +0 -229
  24. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -5
  25. tencentcloud/monitor/v20180724/models.py +96 -2
  26. tencentcloud/monitor/v20180724/monitor_client.py +23 -0
  27. tencentcloud/mqtt/v20240516/errorcodes.py +24 -0
  28. tencentcloud/mqtt/v20240516/models.py +515 -201
  29. tencentcloud/mqtt/v20240516/mqtt_client.py +26 -3
  30. tencentcloud/mrs/v20200910/models.py +8 -0
  31. tencentcloud/mrs/v20200910/mrs_client.py +2 -0
  32. tencentcloud/postgres/v20170312/models.py +0 -405
  33. tencentcloud/postgres/v20170312/postgres_client.py +0 -25
  34. tencentcloud/pts/v20210728/models.py +30 -0
  35. tencentcloud/redis/v20180412/models.py +8 -8
  36. {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/METADATA +1 -1
  37. {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/RECORD +40 -40
  38. {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/LICENSE +0 -0
  39. {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/WHEEL +0 -0
  40. {tencentcloud_sdk_python-3.0.1391.dist-info → tencentcloud_sdk_python-3.0.1393.dist-info}/top_level.txt +0 -0
@@ -890,18 +890,19 @@ class CreateAuthorizationPolicyRequest(AbstractModel):
890
890
  :type PolicyName: str
891
891
  :param _PolicyVersion: 策略版本,默认为1,当前仅支持1
892
892
  :type PolicyVersion: int
893
- :param _Priority: 策略优先级,越小越优先,不能重复
893
+ :param _Priority: 策略优先级,越小越优先,不能重复,优先级ID越小表示策略越优先检查生效。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
894
894
  :type Priority: int
895
895
  :param _Effect: 决策:
896
- allow 允许
897
- deny 拒绝
896
+ allow:允许符合该策略的设备的访问请求。
897
+ deny:拒绝覆盖该策略的设备的访问请求。
898
+ 可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
898
899
  :type Effect: str
899
- :param _Actions: 操作
900
+ :param _Actions: 操作,支持多选,多个操作用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
900
901
  connect:连接
901
902
  pub:发布
902
903
  sub:订阅
903
904
  :type Actions: str
904
- :param _Retain: 条件-保留消息
905
+ :param _Retain: 条件-保留消息,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
905
906
  1,匹配保留消息;
906
907
  2,匹配非保留消息,
907
908
  3.匹配保留和非保留消息
@@ -910,14 +911,16 @@ sub:订阅
910
911
  0:最多一次
911
912
  1:最少一次
912
913
  2:精确一次
914
+ 可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
913
915
  :type Qos: str
914
- :param _Resources: 资源,需要匹配的订阅
916
+ :param _Resources: 资源,需要匹配的订阅,支持配置多条匹配规则,多个用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
917
+
915
918
  :type Resources: str
916
919
  :param _Username: 条件-用户名
917
920
  :type Username: str
918
921
  :param _ClientId: 条件:客户端ID,支持正则
919
922
  :type ClientId: str
920
- :param _Ip: 条件:客户端IP地址,支持IP或者CIDR
923
+ :param _Ip: 条件:客户端IP地址,支持IP或者CIDR,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
921
924
  :type Ip: str
922
925
  :param _Remark: 备注信息,最长 128 字符
923
926
  :type Remark: str
@@ -971,7 +974,7 @@ sub:订阅
971
974
 
972
975
  @property
973
976
  def Priority(self):
974
- """策略优先级,越小越优先,不能重复
977
+ """策略优先级,越小越优先,不能重复,优先级ID越小表示策略越优先检查生效。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
975
978
  :rtype: int
976
979
  """
977
980
  return self._Priority
@@ -983,8 +986,9 @@ sub:订阅
983
986
  @property
984
987
  def Effect(self):
985
988
  """决策:
986
- allow 允许
987
- deny 拒绝
989
+ allow:允许符合该策略的设备的访问请求。
990
+ deny:拒绝覆盖该策略的设备的访问请求。
991
+ 可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
988
992
  :rtype: str
989
993
  """
990
994
  return self._Effect
@@ -995,7 +999,7 @@ deny 拒绝
995
999
 
996
1000
  @property
997
1001
  def Actions(self):
998
- """操作
1002
+ """操作,支持多选,多个操作用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
999
1003
  connect:连接
1000
1004
  pub:发布
1001
1005
  sub:订阅
@@ -1009,7 +1013,7 @@ sub:订阅
1009
1013
 
1010
1014
  @property
1011
1015
  def Retain(self):
1012
- """条件-保留消息
1016
+ """条件-保留消息,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1013
1017
  1,匹配保留消息;
1014
1018
  2,匹配非保留消息,
1015
1019
  3.匹配保留和非保留消息
@@ -1027,6 +1031,7 @@ sub:订阅
1027
1031
  0:最多一次
1028
1032
  1:最少一次
1029
1033
  2:精确一次
1034
+ 可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1030
1035
  :rtype: str
1031
1036
  """
1032
1037
  return self._Qos
@@ -1037,7 +1042,8 @@ sub:订阅
1037
1042
 
1038
1043
  @property
1039
1044
  def Resources(self):
1040
- """资源,需要匹配的订阅
1045
+ """资源,需要匹配的订阅,支持配置多条匹配规则,多个用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1046
+
1041
1047
  :rtype: str
1042
1048
  """
1043
1049
  return self._Resources
@@ -1070,7 +1076,7 @@ sub:订阅
1070
1076
 
1071
1077
  @property
1072
1078
  def Ip(self):
1073
- """条件:客户端IP地址,支持IP或者CIDR
1079
+ """条件:客户端IP地址,支持IP或者CIDR,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1074
1080
  :rtype: str
1075
1081
  """
1076
1082
  return self._Ip
@@ -1180,17 +1186,17 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
1180
1186
 
1181
1187
  def __init__(self):
1182
1188
  r"""
1183
- :param _InstanceId: 实例ID
1189
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1184
1190
  :type InstanceId: str
1185
- :param _Endpoint: jwks端点
1191
+ :param _Endpoint: jwks服务地址
1186
1192
  :type Endpoint: str
1187
- :param _Concurrency: 最大并发连接数,默认8,范围:1-20
1193
+ :param _Concurrency: 最大并发连接数,默认8,范围:1-10
1188
1194
  :type Concurrency: int
1189
- :param _Method: 网络请求方法 GetPost,默认post
1195
+ :param _Method: 网络请求方法 GETPOST,默认POST
1190
1196
  :type Method: str
1191
- :param _Status: 认证器是否开启:open-启用;close-关闭
1197
+ :param _Status: 认证器是否开启:open-启用;close-关闭,默认open-启用
1192
1198
  :type Status: str
1193
- :param _Remark: 说明
1199
+ :param _Remark: 说明,最多支持128个字符。
1194
1200
  :type Remark: str
1195
1201
  :param _ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
1196
1202
  :type ConnectTimeout: int
@@ -1214,7 +1220,7 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
1214
1220
 
1215
1221
  @property
1216
1222
  def InstanceId(self):
1217
- """实例ID
1223
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1218
1224
  :rtype: str
1219
1225
  """
1220
1226
  return self._InstanceId
@@ -1225,7 +1231,7 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
1225
1231
 
1226
1232
  @property
1227
1233
  def Endpoint(self):
1228
- """jwks端点
1234
+ """jwks服务地址
1229
1235
  :rtype: str
1230
1236
  """
1231
1237
  return self._Endpoint
@@ -1236,7 +1242,7 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
1236
1242
 
1237
1243
  @property
1238
1244
  def Concurrency(self):
1239
- """最大并发连接数,默认8,范围:1-20
1245
+ """最大并发连接数,默认8,范围:1-10
1240
1246
  :rtype: int
1241
1247
  """
1242
1248
  return self._Concurrency
@@ -1247,7 +1253,7 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
1247
1253
 
1248
1254
  @property
1249
1255
  def Method(self):
1250
- """网络请求方法 GetPost,默认post
1256
+ """网络请求方法 GETPOST,默认POST
1251
1257
  :rtype: str
1252
1258
  """
1253
1259
  return self._Method
@@ -1258,7 +1264,7 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
1258
1264
 
1259
1265
  @property
1260
1266
  def Status(self):
1261
- """认证器是否开启:open-启用;close-关闭
1267
+ """认证器是否开启:open-启用;close-关闭,默认open-启用
1262
1268
  :rtype: str
1263
1269
  """
1264
1270
  return self._Status
@@ -1269,7 +1275,7 @@ class CreateHttpAuthenticatorRequest(AbstractModel):
1269
1275
 
1270
1276
  @property
1271
1277
  def Remark(self):
1272
- """说明
1278
+ """说明,最多支持128个字符。
1273
1279
  :rtype: str
1274
1280
  """
1275
1281
  return self._Remark
@@ -1389,7 +1395,7 @@ class CreateInsPublicEndpointRequest(AbstractModel):
1389
1395
 
1390
1396
  def __init__(self):
1391
1397
  r"""
1392
- :param _InstanceId: 实例ID
1398
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1393
1399
  :type InstanceId: str
1394
1400
  :param _Bandwidth: 带宽,单位Mbps
1395
1401
  :type Bandwidth: int
@@ -1402,7 +1408,7 @@ class CreateInsPublicEndpointRequest(AbstractModel):
1402
1408
 
1403
1409
  @property
1404
1410
  def InstanceId(self):
1405
- """实例ID
1411
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1406
1412
  :rtype: str
1407
1413
  """
1408
1414
  return self._InstanceId
@@ -1488,31 +1494,33 @@ class CreateInstanceRequest(AbstractModel):
1488
1494
 
1489
1495
  def __init__(self):
1490
1496
  r"""
1491
- :param _InstanceType: 实例类型,
1497
+ :param _InstanceType: 实例类型,需要和SkuCode保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1492
1498
  BASIC 基础版
1493
1499
  PRO 专业版
1500
+ PLATINUM 铂金版
1501
+
1494
1502
  :type InstanceType: str
1495
- :param _Name: 实例名称
1503
+ :param _Name: 集群名称不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。
1496
1504
  :type Name: str
1497
- :param _SkuCode: 商品规格,可用规格可通过接口DescribeProductSKUList查询
1505
+ :param _SkuCode: 商品规格,需要和InstanceType保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1498
1506
  :type SkuCode: str
1499
- :param _Remark: 备注信息
1507
+ :param _Remark: 备注信息,最长 128 字符
1500
1508
  :type Remark: str
1501
1509
  :param _TagList: 标签列表
1502
1510
  :type TagList: list of Tag
1503
- :param _VpcList: 实例绑定的VPC信息
1511
+ :param _VpcList: 实例绑定的VPC信息,需要传当前用户下可用的VPC和SUBNET
1504
1512
  :type VpcList: list of VpcInfo
1505
- :param _EnablePublic: 是否开启公网
1513
+ :param _EnablePublic: 是否开启公网,默认false(关闭)
1506
1514
  :type EnablePublic: bool
1507
- :param _Bandwidth: 公网带宽(单位:兆)
1515
+ :param _Bandwidth: 公网带宽(单位:Mbps),EnablePublic 为True时,该字段必须填写且大于0.
1508
1516
  :type Bandwidth: int
1509
- :param _IpRules: 公网访问白名单
1517
+ :param _IpRules: 公网访问白名单,不传表示拒绝所有IP网络访问。
1510
1518
  :type IpRules: list of IpRule
1511
- :param _RenewFlag: 是否自动续费(0: 不自动续费;1: 自动续费)
1519
+ :param _RenewFlag: 是否自动续费(0: 不自动续费;1: 自动续费),仅购买预付费集群时生效。默认1:自动续费
1512
1520
  :type RenewFlag: int
1513
- :param _TimeSpan: 购买时长(单位:月)
1521
+ :param _TimeSpan: 购买时长(单位:月),购买预付费集群时生效,默认1m(月)。可选范围:1~12、24、36、48、60;
1514
1522
  :type TimeSpan: int
1515
- :param _PayMode: 付费模式(0: 后付费;1: 预付费)
1523
+ :param _PayMode: 付费模式(0: 后付费;1: 预付费),默认0(后付费)。
1516
1524
  :type PayMode: int
1517
1525
  """
1518
1526
  self._InstanceType = None
@@ -1530,9 +1538,11 @@ PRO 专业版
1530
1538
 
1531
1539
  @property
1532
1540
  def InstanceType(self):
1533
- """实例类型,
1541
+ """实例类型,需要和SkuCode保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1534
1542
  BASIC 基础版
1535
1543
  PRO 专业版
1544
+ PLATINUM 铂金版
1545
+
1536
1546
  :rtype: str
1537
1547
  """
1538
1548
  return self._InstanceType
@@ -1543,7 +1553,7 @@ PRO 专业版
1543
1553
 
1544
1554
  @property
1545
1555
  def Name(self):
1546
- """实例名称
1556
+ """集群名称不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。
1547
1557
  :rtype: str
1548
1558
  """
1549
1559
  return self._Name
@@ -1554,7 +1564,7 @@ PRO 专业版
1554
1564
 
1555
1565
  @property
1556
1566
  def SkuCode(self):
1557
- """商品规格,可用规格可通过接口DescribeProductSKUList查询
1567
+ """商品规格,需要和InstanceType保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1558
1568
  :rtype: str
1559
1569
  """
1560
1570
  return self._SkuCode
@@ -1565,7 +1575,7 @@ PRO 专业版
1565
1575
 
1566
1576
  @property
1567
1577
  def Remark(self):
1568
- """备注信息
1578
+ """备注信息,最长 128 字符
1569
1579
  :rtype: str
1570
1580
  """
1571
1581
  return self._Remark
@@ -1587,7 +1597,7 @@ PRO 专业版
1587
1597
 
1588
1598
  @property
1589
1599
  def VpcList(self):
1590
- """实例绑定的VPC信息
1600
+ """实例绑定的VPC信息,需要传当前用户下可用的VPC和SUBNET
1591
1601
  :rtype: list of VpcInfo
1592
1602
  """
1593
1603
  return self._VpcList
@@ -1598,7 +1608,7 @@ PRO 专业版
1598
1608
 
1599
1609
  @property
1600
1610
  def EnablePublic(self):
1601
- """是否开启公网
1611
+ """是否开启公网,默认false(关闭)
1602
1612
  :rtype: bool
1603
1613
  """
1604
1614
  return self._EnablePublic
@@ -1609,7 +1619,7 @@ PRO 专业版
1609
1619
 
1610
1620
  @property
1611
1621
  def Bandwidth(self):
1612
- """公网带宽(单位:兆)
1622
+ """公网带宽(单位:Mbps),EnablePublic 为True时,该字段必须填写且大于0.
1613
1623
  :rtype: int
1614
1624
  """
1615
1625
  return self._Bandwidth
@@ -1620,7 +1630,7 @@ PRO 专业版
1620
1630
 
1621
1631
  @property
1622
1632
  def IpRules(self):
1623
- """公网访问白名单
1633
+ """公网访问白名单,不传表示拒绝所有IP网络访问。
1624
1634
  :rtype: list of IpRule
1625
1635
  """
1626
1636
  return self._IpRules
@@ -1631,7 +1641,7 @@ PRO 专业版
1631
1641
 
1632
1642
  @property
1633
1643
  def RenewFlag(self):
1634
- """是否自动续费(0: 不自动续费;1: 自动续费)
1644
+ """是否自动续费(0: 不自动续费;1: 自动续费),仅购买预付费集群时生效。默认1:自动续费
1635
1645
  :rtype: int
1636
1646
  """
1637
1647
  return self._RenewFlag
@@ -1642,7 +1652,7 @@ PRO 专业版
1642
1652
 
1643
1653
  @property
1644
1654
  def TimeSpan(self):
1645
- """购买时长(单位:月)
1655
+ """购买时长(单位:月),购买预付费集群时生效,默认1m(月)。可选范围:1~12、24、36、48、60;
1646
1656
  :rtype: int
1647
1657
  """
1648
1658
  return self._TimeSpan
@@ -1653,7 +1663,7 @@ PRO 专业版
1653
1663
 
1654
1664
  @property
1655
1665
  def PayMode(self):
1656
- """付费模式(0: 后付费;1: 预付费)
1666
+ """付费模式(0: 后付费;1: 预付费),默认0(后付费)。
1657
1667
  :rtype: int
1658
1668
  """
1659
1669
  return self._PayMode
@@ -1751,21 +1761,23 @@ class CreateJWKSAuthenticatorRequest(AbstractModel):
1751
1761
 
1752
1762
  def __init__(self):
1753
1763
  r"""
1754
- :param _InstanceId: 实例ID
1764
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1755
1765
  :type InstanceId: str
1756
- :param _Endpoint: jwks端点
1766
+ :param _Endpoint: JWKS服务地址,(Text字段和Endpoint字段必须选择一个填写)
1757
1767
  :type Endpoint: str
1758
- :param _RefreshInterval: jwks刷新间隔,单位:秒
1768
+ :param _RefreshInterval: 认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址(Endpoint)时生效。
1759
1769
  :type RefreshInterval: int
1760
- :param _Text: jwks文本
1770
+ :param _Text: jwks文本,(Text字段和Endpoint字段必须选择一个填写)
1761
1771
  :type Text: str
1762
- :param _Status: 认证器是否开启:open-启用;close-关闭
1772
+ :param _Status: 认证器是否开启:open-启用;close-关闭,默认open-启用
1763
1773
  :type Status: str
1764
- :param _Remark: 说明
1774
+ :param _Remark: 说明,不能超过 128 个字符
1765
1775
  :type Remark: str
1766
- :param _From: 设备连接时传递jwt的key;
1767
- username-使用用户名字段传递;
1768
- password-使用密码字段传递
1776
+ :param _From: 认证字段;
1777
+ username-对应 MQTT CONNECT Packet 中 username 字段,
1778
+ password-对应 MQTT CONNECT Packet 中 password 字段。
1779
+
1780
+ 默认username
1769
1781
  :type From: str
1770
1782
  """
1771
1783
  self._InstanceId = None
@@ -1778,7 +1790,7 @@ password-使用密码字段传递
1778
1790
 
1779
1791
  @property
1780
1792
  def InstanceId(self):
1781
- """实例ID
1793
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1782
1794
  :rtype: str
1783
1795
  """
1784
1796
  return self._InstanceId
@@ -1789,7 +1801,7 @@ password-使用密码字段传递
1789
1801
 
1790
1802
  @property
1791
1803
  def Endpoint(self):
1792
- """jwks端点
1804
+ """JWKS服务地址,(Text字段和Endpoint字段必须选择一个填写)
1793
1805
  :rtype: str
1794
1806
  """
1795
1807
  return self._Endpoint
@@ -1800,7 +1812,7 @@ password-使用密码字段传递
1800
1812
 
1801
1813
  @property
1802
1814
  def RefreshInterval(self):
1803
- """jwks刷新间隔,单位:秒
1815
+ """认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址(Endpoint)时生效。
1804
1816
  :rtype: int
1805
1817
  """
1806
1818
  return self._RefreshInterval
@@ -1811,7 +1823,7 @@ password-使用密码字段传递
1811
1823
 
1812
1824
  @property
1813
1825
  def Text(self):
1814
- """jwks文本
1826
+ """jwks文本,(Text字段和Endpoint字段必须选择一个填写)
1815
1827
  :rtype: str
1816
1828
  """
1817
1829
  return self._Text
@@ -1822,7 +1834,7 @@ password-使用密码字段传递
1822
1834
 
1823
1835
  @property
1824
1836
  def Status(self):
1825
- """认证器是否开启:open-启用;close-关闭
1837
+ """认证器是否开启:open-启用;close-关闭,默认open-启用
1826
1838
  :rtype: str
1827
1839
  """
1828
1840
  return self._Status
@@ -1833,7 +1845,7 @@ password-使用密码字段传递
1833
1845
 
1834
1846
  @property
1835
1847
  def Remark(self):
1836
- """说明
1848
+ """说明,不能超过 128 个字符
1837
1849
  :rtype: str
1838
1850
  """
1839
1851
  return self._Remark
@@ -1844,9 +1856,11 @@ password-使用密码字段传递
1844
1856
 
1845
1857
  @property
1846
1858
  def From(self):
1847
- """设备连接时传递jwt的key;
1848
- username-使用用户名字段传递;
1849
- password-使用密码字段传递
1859
+ """认证字段;
1860
+ username-对应 MQTT CONNECT Packet 中 username 字段,
1861
+ password-对应 MQTT CONNECT Packet 中 password 字段。
1862
+
1863
+ 默认username
1850
1864
  :rtype: str
1851
1865
  """
1852
1866
  return self._From
@@ -1909,19 +1923,23 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
1909
1923
 
1910
1924
  def __init__(self):
1911
1925
  r"""
1912
- :param _InstanceId: 实例ID
1926
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1913
1927
  :type InstanceId: str
1914
- :param _Algorithm: 算法:hmac-based,public-key
1928
+ :param _Algorithm: 签名方式:hmac-based,public-key
1915
1929
  :type Algorithm: str
1916
- :param _From: 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
1930
+ :param _From: 认证字段
1931
+ password:对应 MQTT CONNECT Packet 中 password 字段,
1932
+ username:对应 MQTT CONNECT Packet 中 username 字段
1933
+ 默认username
1934
+
1917
1935
  :type From: str
1918
- :param _Secret: 密码
1936
+ :param _Secret: 密钥,Algorithm为hmac-based需要传递该字段。
1919
1937
  :type Secret: str
1920
- :param _PublicKey: 公钥
1938
+ :param _PublicKey: 公钥,Algorithm为public-key时需要传递该字段。
1921
1939
  :type PublicKey: str
1922
- :param _Status: 认证器是否开启:open-启用;close-关闭
1940
+ :param _Status: 认证器是否开启:open-启用;close-关闭,默认:open-启用
1923
1941
  :type Status: str
1924
- :param _Remark: 说明
1942
+ :param _Remark: 说明,不能超过 128 个字符。
1925
1943
  :type Remark: str
1926
1944
  """
1927
1945
  self._InstanceId = None
@@ -1934,7 +1952,7 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
1934
1952
 
1935
1953
  @property
1936
1954
  def InstanceId(self):
1937
- """实例ID
1955
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1938
1956
  :rtype: str
1939
1957
  """
1940
1958
  return self._InstanceId
@@ -1945,7 +1963,7 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
1945
1963
 
1946
1964
  @property
1947
1965
  def Algorithm(self):
1948
- """算法:hmac-based,public-key
1966
+ """签名方式:hmac-based,public-key
1949
1967
  :rtype: str
1950
1968
  """
1951
1969
  return self._Algorithm
@@ -1956,7 +1974,11 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
1956
1974
 
1957
1975
  @property
1958
1976
  def From(self):
1959
- """设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
1977
+ """认证字段
1978
+ password:对应 MQTT CONNECT Packet 中 password 字段,
1979
+ username:对应 MQTT CONNECT Packet 中 username 字段
1980
+ 默认username
1981
+
1960
1982
  :rtype: str
1961
1983
  """
1962
1984
  return self._From
@@ -1967,7 +1989,7 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
1967
1989
 
1968
1990
  @property
1969
1991
  def Secret(self):
1970
- """密码
1992
+ """密钥,Algorithm为hmac-based需要传递该字段。
1971
1993
  :rtype: str
1972
1994
  """
1973
1995
  return self._Secret
@@ -1978,7 +2000,7 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
1978
2000
 
1979
2001
  @property
1980
2002
  def PublicKey(self):
1981
- """公钥
2003
+ """公钥,Algorithm为public-key时需要传递该字段。
1982
2004
  :rtype: str
1983
2005
  """
1984
2006
  return self._PublicKey
@@ -1989,7 +2011,7 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
1989
2011
 
1990
2012
  @property
1991
2013
  def Status(self):
1992
- """认证器是否开启:open-启用;close-关闭
2014
+ """认证器是否开启:open-启用;close-关闭,默认:open-启用
1993
2015
  :rtype: str
1994
2016
  """
1995
2017
  return self._Status
@@ -2000,7 +2022,7 @@ class CreateJWTAuthenticatorRequest(AbstractModel):
2000
2022
 
2001
2023
  @property
2002
2024
  def Remark(self):
2003
- """说明
2025
+ """说明,不能超过 128 个字符。
2004
2026
  :rtype: str
2005
2027
  """
2006
2028
  return self._Remark
@@ -4467,6 +4489,7 @@ class DescribeInstanceListRequest(AbstractModel):
4467
4489
  InstanceName:集群名模糊搜索
4468
4490
  InstanceId:集群id精确搜索
4469
4491
  InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)
4492
+ 注意:配置TagFilters时该查询条件不生效。
4470
4493
  :type Filters: list of Filter
4471
4494
  :param _Offset: 查询起始位置,默认0
4472
4495
  :type Offset: int
@@ -4486,6 +4509,7 @@ InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,M
4486
4509
  InstanceName:集群名模糊搜索
4487
4510
  InstanceId:集群id精确搜索
4488
4511
  InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)
4512
+ 注意:配置TagFilters时该查询条件不生效。
4489
4513
  :rtype: list of Filter
4490
4514
  """
4491
4515
  return self._Filters
@@ -5050,6 +5074,135 @@ API:通过API手动注册
5050
5074
  self._RequestId = params.get("RequestId")
5051
5075
 
5052
5076
 
5077
+ class DescribeMessageByTopicRequest(AbstractModel):
5078
+ """DescribeMessageByTopic请求参数结构体
5079
+
5080
+ """
5081
+
5082
+ def __init__(self):
5083
+ r"""
5084
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
5085
+ :type InstanceId: str
5086
+ :param _Topic: home/room
5087
+ :type Topic: str
5088
+ :param _StartTime: 开始时间,毫秒级时间戳 。
5089
+ :type StartTime: int
5090
+ :param _MaxNumber: 查询消息条数,最大1024,默认100.
5091
+ :type MaxNumber: int
5092
+ """
5093
+ self._InstanceId = None
5094
+ self._Topic = None
5095
+ self._StartTime = None
5096
+ self._MaxNumber = None
5097
+
5098
+ @property
5099
+ def InstanceId(self):
5100
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
5101
+ :rtype: str
5102
+ """
5103
+ return self._InstanceId
5104
+
5105
+ @InstanceId.setter
5106
+ def InstanceId(self, InstanceId):
5107
+ self._InstanceId = InstanceId
5108
+
5109
+ @property
5110
+ def Topic(self):
5111
+ """home/room
5112
+ :rtype: str
5113
+ """
5114
+ return self._Topic
5115
+
5116
+ @Topic.setter
5117
+ def Topic(self, Topic):
5118
+ self._Topic = Topic
5119
+
5120
+ @property
5121
+ def StartTime(self):
5122
+ """开始时间,毫秒级时间戳 。
5123
+ :rtype: int
5124
+ """
5125
+ return self._StartTime
5126
+
5127
+ @StartTime.setter
5128
+ def StartTime(self, StartTime):
5129
+ self._StartTime = StartTime
5130
+
5131
+ @property
5132
+ def MaxNumber(self):
5133
+ """查询消息条数,最大1024,默认100.
5134
+ :rtype: int
5135
+ """
5136
+ return self._MaxNumber
5137
+
5138
+ @MaxNumber.setter
5139
+ def MaxNumber(self, MaxNumber):
5140
+ self._MaxNumber = MaxNumber
5141
+
5142
+
5143
+ def _deserialize(self, params):
5144
+ self._InstanceId = params.get("InstanceId")
5145
+ self._Topic = params.get("Topic")
5146
+ self._StartTime = params.get("StartTime")
5147
+ self._MaxNumber = params.get("MaxNumber")
5148
+ memeber_set = set(params.keys())
5149
+ for name, value in vars(self).items():
5150
+ property_name = name[1:]
5151
+ if property_name in memeber_set:
5152
+ memeber_set.remove(property_name)
5153
+ if len(memeber_set) > 0:
5154
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5155
+
5156
+
5157
+
5158
+ class DescribeMessageByTopicResponse(AbstractModel):
5159
+ """DescribeMessageByTopic返回参数结构体
5160
+
5161
+ """
5162
+
5163
+ def __init__(self):
5164
+ r"""
5165
+ :param _Data: 消息列表
5166
+ :type Data: list of MQTTMessage
5167
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5168
+ :type RequestId: str
5169
+ """
5170
+ self._Data = None
5171
+ self._RequestId = None
5172
+
5173
+ @property
5174
+ def Data(self):
5175
+ """消息列表
5176
+ :rtype: list of MQTTMessage
5177
+ """
5178
+ return self._Data
5179
+
5180
+ @Data.setter
5181
+ def Data(self, Data):
5182
+ self._Data = Data
5183
+
5184
+ @property
5185
+ def RequestId(self):
5186
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5187
+ :rtype: str
5188
+ """
5189
+ return self._RequestId
5190
+
5191
+ @RequestId.setter
5192
+ def RequestId(self, RequestId):
5193
+ self._RequestId = RequestId
5194
+
5195
+
5196
+ def _deserialize(self, params):
5197
+ if params.get("Data") is not None:
5198
+ self._Data = []
5199
+ for item in params.get("Data"):
5200
+ obj = MQTTMessage()
5201
+ obj._deserialize(item)
5202
+ self._Data.append(obj)
5203
+ self._RequestId = params.get("RequestId")
5204
+
5205
+
5053
5206
  class DescribeMessageListRequest(AbstractModel):
5054
5207
  """DescribeMessageList请求参数结构体
5055
5208
 
@@ -6227,7 +6380,7 @@ class IpRule(AbstractModel):
6227
6380
  r"""
6228
6381
  :param _Ip: IP地址
6229
6382
  :type Ip: str
6230
- :param _Allow: 是否允许放行
6383
+ :param _Allow: 当前仅支持允许,默认允许。
6231
6384
  :type Allow: bool
6232
6385
  :param _Remark: 备注信息
6233
6386
  :type Remark: str
@@ -6249,7 +6402,7 @@ class IpRule(AbstractModel):
6249
6402
 
6250
6403
  @property
6251
6404
  def Allow(self):
6252
- """是否允许放行
6405
+ """当前仅支持允许,默认允许。
6253
6406
  :rtype: bool
6254
6407
  """
6255
6408
  return self._Allow
@@ -6851,7 +7004,6 @@ RUNNING, 运行中
6851
7004
  MAINTAINING,维护中
6852
7005
  ABNORMAL,异常
6853
7006
  OVERDUE,欠费
6854
- DESTROYED,已删除
6855
7007
  CREATING,创建中
6856
7008
  MODIFYING,变配中
6857
7009
  CREATE_FAILURE,创建失败
@@ -6966,7 +7118,6 @@ RUNNING, 运行中
6966
7118
  MAINTAINING,维护中
6967
7119
  ABNORMAL,异常
6968
7120
  OVERDUE,欠费
6969
- DESTROYED,已删除
6970
7121
  CREATING,创建中
6971
7122
  MODIFYING,变配中
6972
7123
  CREATE_FAILURE,创建失败
@@ -7179,6 +7330,102 @@ DELETING,删除中
7179
7330
 
7180
7331
 
7181
7332
 
7333
+ class MQTTMessage(AbstractModel):
7334
+ """MQTT消息
7335
+
7336
+ """
7337
+
7338
+ def __init__(self):
7339
+ r"""
7340
+ :param _MessageId: 消息id
7341
+ :type MessageId: str
7342
+ :param _ClientId: 消息发送的客户端Id
7343
+ :type ClientId: str
7344
+ :param _Qos: 消息服务质量等级
7345
+ :type Qos: str
7346
+ :param _StoreTimestamp: 消息在服务端的存储时间,毫秒级时间戳
7347
+ :type StoreTimestamp: int
7348
+ :param _OriginTopic: 源topic
7349
+ :type OriginTopic: str
7350
+ """
7351
+ self._MessageId = None
7352
+ self._ClientId = None
7353
+ self._Qos = None
7354
+ self._StoreTimestamp = None
7355
+ self._OriginTopic = None
7356
+
7357
+ @property
7358
+ def MessageId(self):
7359
+ """消息id
7360
+ :rtype: str
7361
+ """
7362
+ return self._MessageId
7363
+
7364
+ @MessageId.setter
7365
+ def MessageId(self, MessageId):
7366
+ self._MessageId = MessageId
7367
+
7368
+ @property
7369
+ def ClientId(self):
7370
+ """消息发送的客户端Id
7371
+ :rtype: str
7372
+ """
7373
+ return self._ClientId
7374
+
7375
+ @ClientId.setter
7376
+ def ClientId(self, ClientId):
7377
+ self._ClientId = ClientId
7378
+
7379
+ @property
7380
+ def Qos(self):
7381
+ """消息服务质量等级
7382
+ :rtype: str
7383
+ """
7384
+ return self._Qos
7385
+
7386
+ @Qos.setter
7387
+ def Qos(self, Qos):
7388
+ self._Qos = Qos
7389
+
7390
+ @property
7391
+ def StoreTimestamp(self):
7392
+ """消息在服务端的存储时间,毫秒级时间戳
7393
+ :rtype: int
7394
+ """
7395
+ return self._StoreTimestamp
7396
+
7397
+ @StoreTimestamp.setter
7398
+ def StoreTimestamp(self, StoreTimestamp):
7399
+ self._StoreTimestamp = StoreTimestamp
7400
+
7401
+ @property
7402
+ def OriginTopic(self):
7403
+ """源topic
7404
+ :rtype: str
7405
+ """
7406
+ return self._OriginTopic
7407
+
7408
+ @OriginTopic.setter
7409
+ def OriginTopic(self, OriginTopic):
7410
+ self._OriginTopic = OriginTopic
7411
+
7412
+
7413
+ def _deserialize(self, params):
7414
+ self._MessageId = params.get("MessageId")
7415
+ self._ClientId = params.get("ClientId")
7416
+ self._Qos = params.get("Qos")
7417
+ self._StoreTimestamp = params.get("StoreTimestamp")
7418
+ self._OriginTopic = params.get("OriginTopic")
7419
+ memeber_set = set(params.keys())
7420
+ for name, value in vars(self).items():
7421
+ property_name = name[1:]
7422
+ if property_name in memeber_set:
7423
+ memeber_set.remove(property_name)
7424
+ if len(memeber_set) > 0:
7425
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7426
+
7427
+
7428
+
7182
7429
  class MQTTMessageItem(AbstractModel):
7183
7430
  """消息记录
7184
7431
 
@@ -7275,6 +7522,8 @@ class MQTTMessageItem(AbstractModel):
7275
7522
 
7276
7523
  @property
7277
7524
  def DeadLetterResendTimes(self):
7525
+ warnings.warn("parameter `DeadLetterResendTimes` is deprecated", DeprecationWarning)
7526
+
7278
7527
  """死信重发次数
7279
7528
  :rtype: int
7280
7529
  """
@@ -7282,10 +7531,14 @@ class MQTTMessageItem(AbstractModel):
7282
7531
 
7283
7532
  @DeadLetterResendTimes.setter
7284
7533
  def DeadLetterResendTimes(self, DeadLetterResendTimes):
7534
+ warnings.warn("parameter `DeadLetterResendTimes` is deprecated", DeprecationWarning)
7535
+
7285
7536
  self._DeadLetterResendTimes = DeadLetterResendTimes
7286
7537
 
7287
7538
  @property
7288
7539
  def DeadLetterResendSuccessTimes(self):
7540
+ warnings.warn("parameter `DeadLetterResendSuccessTimes` is deprecated", DeprecationWarning)
7541
+
7289
7542
  """死信重发成功次数
7290
7543
  :rtype: int
7291
7544
  """
@@ -7293,10 +7546,14 @@ class MQTTMessageItem(AbstractModel):
7293
7546
 
7294
7547
  @DeadLetterResendSuccessTimes.setter
7295
7548
  def DeadLetterResendSuccessTimes(self, DeadLetterResendSuccessTimes):
7549
+ warnings.warn("parameter `DeadLetterResendSuccessTimes` is deprecated", DeprecationWarning)
7550
+
7296
7551
  self._DeadLetterResendSuccessTimes = DeadLetterResendSuccessTimes
7297
7552
 
7298
7553
  @property
7299
7554
  def SubTopic(self):
7555
+ warnings.warn("parameter `SubTopic` is deprecated", DeprecationWarning)
7556
+
7300
7557
  """子topic
7301
7558
  :rtype: str
7302
7559
  """
@@ -7304,6 +7561,8 @@ class MQTTMessageItem(AbstractModel):
7304
7561
 
7305
7562
  @SubTopic.setter
7306
7563
  def SubTopic(self, SubTopic):
7564
+ warnings.warn("parameter `SubTopic` is deprecated", DeprecationWarning)
7565
+
7307
7566
  self._SubTopic = SubTopic
7308
7567
 
7309
7568
  @property
@@ -7510,33 +7769,46 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7510
7769
 
7511
7770
  def __init__(self):
7512
7771
  r"""
7513
- :param _Id: 策略
7772
+ :param _Id: 授权策略ID,从 [查询授权策略](https://cloud.tencent.com/document/product/1778/111074) 接口获取
7514
7773
  :type Id: int
7515
- :param _InstanceId: 实例ID
7774
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
7775
+
7516
7776
  :type InstanceId: str
7517
- :param _PolicyName: 策略名称
7777
+ :param _PolicyName: 策略名称,不能为空,3-64个字符,支持中文、字母、数字、“-”及“_”。
7518
7778
  :type PolicyName: str
7519
- :param _PolicyVersion: 策略版本
7779
+ :param _PolicyVersion: 策略版本,默认为1,当前仅支持1
7520
7780
  :type PolicyVersion: int
7521
- :param _Priority: 策略优先级,越小越优先
7781
+ :param _Priority: 策略优先级,越小越优先,不能重复
7522
7782
  :type Priority: int
7523
- :param _Effect: allow、deny
7783
+ :param _Effect: 决策:
7784
+ allow 允许
7785
+ deny 拒绝
7524
7786
  :type Effect: str
7525
- :param _Actions: connect、pub、sub
7787
+ :param _Actions: 操作,支持多选,多个操作用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
7788
+ connect:连接
7789
+ pub:发布
7790
+ sub:订阅
7526
7791
  :type Actions: str
7527
- :param _Resources: 资源
7792
+ :param _Resources: 资源,需要匹配的订阅,支持配置多条匹配规则,多个用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
7793
+
7528
7794
  :type Resources: str
7529
- :param _Username: 用户名
7795
+ :param _Username: 条件-用户名
7530
7796
  :type Username: str
7531
- :param _Retain: 1.匹配保留消息;2.匹配非保留消息;3.匹配所有消息
7797
+ :param _Retain: 条件-保留消息
7798
+ 1,匹配保留消息;
7799
+ 2,匹配非保留消息,
7800
+ 3.匹配保留和非保留消息
7532
7801
  :type Retain: int
7533
- :param _ClientId: 客户端
7802
+ :param _ClientId: 条件:客户端ID,支持正则
7534
7803
  :type ClientId: str
7535
- :param _Ip: IP
7804
+ :param _Ip: 条件:客户端IP地址,支持IP或者CIDR
7536
7805
  :type Ip: str
7537
- :param _Qos: 0、1、2
7806
+ :param _Qos: 条件:服务质量
7807
+ 0:最多一次
7808
+ 1:最少一次
7809
+ 2:精确一次
7538
7810
  :type Qos: str
7539
- :param _Remark: 备注信息
7811
+ :param _Remark: 备注信息,最长 128 字符
7540
7812
  :type Remark: str
7541
7813
  """
7542
7814
  self._Id = None
@@ -7556,7 +7828,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7556
7828
 
7557
7829
  @property
7558
7830
  def Id(self):
7559
- """策略
7831
+ """授权策略ID,从 [查询授权策略](https://cloud.tencent.com/document/product/1778/111074) 接口获取
7560
7832
  :rtype: int
7561
7833
  """
7562
7834
  return self._Id
@@ -7567,7 +7839,8 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7567
7839
 
7568
7840
  @property
7569
7841
  def InstanceId(self):
7570
- """实例ID
7842
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
7843
+
7571
7844
  :rtype: str
7572
7845
  """
7573
7846
  return self._InstanceId
@@ -7578,7 +7851,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7578
7851
 
7579
7852
  @property
7580
7853
  def PolicyName(self):
7581
- """策略名称
7854
+ """策略名称,不能为空,3-64个字符,支持中文、字母、数字、“-”及“_”。
7582
7855
  :rtype: str
7583
7856
  """
7584
7857
  return self._PolicyName
@@ -7589,7 +7862,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7589
7862
 
7590
7863
  @property
7591
7864
  def PolicyVersion(self):
7592
- """策略版本
7865
+ """策略版本,默认为1,当前仅支持1
7593
7866
  :rtype: int
7594
7867
  """
7595
7868
  return self._PolicyVersion
@@ -7600,7 +7873,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7600
7873
 
7601
7874
  @property
7602
7875
  def Priority(self):
7603
- """策略优先级,越小越优先
7876
+ """策略优先级,越小越优先,不能重复
7604
7877
  :rtype: int
7605
7878
  """
7606
7879
  return self._Priority
@@ -7611,7 +7884,9 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7611
7884
 
7612
7885
  @property
7613
7886
  def Effect(self):
7614
- """allow、deny
7887
+ """决策:
7888
+ allow 允许
7889
+ deny 拒绝
7615
7890
  :rtype: str
7616
7891
  """
7617
7892
  return self._Effect
@@ -7622,7 +7897,10 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7622
7897
 
7623
7898
  @property
7624
7899
  def Actions(self):
7625
- """connect、pub、sub
7900
+ """操作,支持多选,多个操作用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
7901
+ connect:连接
7902
+ pub:发布
7903
+ sub:订阅
7626
7904
  :rtype: str
7627
7905
  """
7628
7906
  return self._Actions
@@ -7633,7 +7911,8 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7633
7911
 
7634
7912
  @property
7635
7913
  def Resources(self):
7636
- """资源
7914
+ """资源,需要匹配的订阅,支持配置多条匹配规则,多个用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
7915
+
7637
7916
  :rtype: str
7638
7917
  """
7639
7918
  return self._Resources
@@ -7644,7 +7923,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7644
7923
 
7645
7924
  @property
7646
7925
  def Username(self):
7647
- """用户名
7926
+ """条件-用户名
7648
7927
  :rtype: str
7649
7928
  """
7650
7929
  return self._Username
@@ -7655,7 +7934,10 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7655
7934
 
7656
7935
  @property
7657
7936
  def Retain(self):
7658
- """1.匹配保留消息;2.匹配非保留消息;3.匹配所有消息
7937
+ """条件-保留消息
7938
+ 1,匹配保留消息;
7939
+ 2,匹配非保留消息,
7940
+ 3.匹配保留和非保留消息
7659
7941
  :rtype: int
7660
7942
  """
7661
7943
  return self._Retain
@@ -7666,7 +7948,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7666
7948
 
7667
7949
  @property
7668
7950
  def ClientId(self):
7669
- """客户端
7951
+ """条件:客户端ID,支持正则
7670
7952
  :rtype: str
7671
7953
  """
7672
7954
  return self._ClientId
@@ -7677,7 +7959,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7677
7959
 
7678
7960
  @property
7679
7961
  def Ip(self):
7680
- """IP
7962
+ """条件:客户端IP地址,支持IP或者CIDR
7681
7963
  :rtype: str
7682
7964
  """
7683
7965
  return self._Ip
@@ -7688,7 +7970,10 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7688
7970
 
7689
7971
  @property
7690
7972
  def Qos(self):
7691
- """0、1、2
7973
+ """条件:服务质量
7974
+ 0:最多一次
7975
+ 1:最少一次
7976
+ 2:精确一次
7692
7977
  :rtype: str
7693
7978
  """
7694
7979
  return self._Qos
@@ -7699,7 +7984,7 @@ class ModifyAuthorizationPolicyRequest(AbstractModel):
7699
7984
 
7700
7985
  @property
7701
7986
  def Remark(self):
7702
- """备注信息
7987
+ """备注信息,最长 128 字符
7703
7988
  :rtype: str
7704
7989
  """
7705
7990
  return self._Remark
@@ -7769,19 +8054,19 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
7769
8054
 
7770
8055
  def __init__(self):
7771
8056
  r"""
7772
- :param _InstanceId: 实例ID
8057
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
7773
8058
  :type InstanceId: str
7774
- :param _Endpoint: 端点
8059
+ :param _Endpoint: 服务地址
7775
8060
  :type Endpoint: str
7776
8061
  :param _Status: 认证器状态:open-启用;close-关闭
7777
8062
  :type Status: str
7778
- :param _Concurrency: 最大并发连接数,默认8,范围:1-20
8063
+ :param _Concurrency: 最大并发连接数,默认8,范围:1-10
7779
8064
  :type Concurrency: int
7780
8065
  :param _ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
7781
8066
  :type ConnectTimeout: int
7782
8067
  :param _ReadTimeout: 请求超时时间,单位:秒,范围:1-30
7783
8068
  :type ReadTimeout: int
7784
- :param _Remark: 说明
8069
+ :param _Remark: 说明,最多支持128个字符。
7785
8070
  :type Remark: str
7786
8071
  :param _Method: 请求方法,GET 或者 POST
7787
8072
  :type Method: str
@@ -7803,7 +8088,7 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
7803
8088
 
7804
8089
  @property
7805
8090
  def InstanceId(self):
7806
- """实例ID
8091
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
7807
8092
  :rtype: str
7808
8093
  """
7809
8094
  return self._InstanceId
@@ -7814,7 +8099,7 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
7814
8099
 
7815
8100
  @property
7816
8101
  def Endpoint(self):
7817
- """端点
8102
+ """服务地址
7818
8103
  :rtype: str
7819
8104
  """
7820
8105
  return self._Endpoint
@@ -7836,7 +8121,7 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
7836
8121
 
7837
8122
  @property
7838
8123
  def Concurrency(self):
7839
- """最大并发连接数,默认8,范围:1-20
8124
+ """最大并发连接数,默认8,范围:1-10
7840
8125
  :rtype: int
7841
8126
  """
7842
8127
  return self._Concurrency
@@ -7869,7 +8154,7 @@ class ModifyHttpAuthenticatorRequest(AbstractModel):
7869
8154
 
7870
8155
  @property
7871
8156
  def Remark(self):
7872
- """说明
8157
+ """说明,最多支持128个字符。
7873
8158
  :rtype: str
7874
8159
  """
7875
8160
  return self._Remark
@@ -7978,7 +8263,7 @@ class ModifyInsPublicEndpointRequest(AbstractModel):
7978
8263
 
7979
8264
  def __init__(self):
7980
8265
  r"""
7981
- :param _InstanceId: 实例ID
8266
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
7982
8267
  :type InstanceId: str
7983
8268
  :param _Bandwidth: 带宽,单位:Mbps
7984
8269
  :type Bandwidth: int
@@ -7991,7 +8276,7 @@ class ModifyInsPublicEndpointRequest(AbstractModel):
7991
8276
 
7992
8277
  @property
7993
8278
  def InstanceId(self):
7994
- """实例ID
8279
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
7995
8280
  :rtype: str
7996
8281
  """
7997
8282
  return self._InstanceId
@@ -8077,34 +8362,35 @@ class ModifyInstanceCertBindingRequest(AbstractModel):
8077
8362
 
8078
8363
  def __init__(self):
8079
8364
  r"""
8080
- :param _InstanceId: 实例ID
8365
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
8081
8366
  :type InstanceId: str
8082
- :param _SSLServerCertId: 服务端证书id
8083
- :type SSLServerCertId: str
8084
- :param _SSLCaCertId: CA证书id
8085
- :type SSLCaCertId: str
8086
8367
  :param _X509Mode: 加密通信方式
8087
8368
  TLS:单向证书认证
8088
8369
  mTLS:双向证书认证
8089
8370
  BYOC:一设备一证书认证
8090
8371
  :type X509Mode: str
8372
+ :param _SSLServerCertId: 服务端证书id,从 [获取证书列表](https://cloud.tencent.com/document/api/400/41671) 或者腾讯云证书服务控制台获取。X509Mode为mTLS或BYOC时为必填。
8373
+ :type SSLServerCertId: str
8374
+ :param _SSLCaCertId: CA证书id,从 [获取证书列表](https://cloud.tencent.com/document/api/400/41671) 或者腾讯云证书服务控制台获取。X509Mode为mTLS时为必填
8375
+ :type SSLCaCertId: str
8091
8376
  :param _DeviceCertificateProvisionType: 设备证书注册类型:
8092
- JITP,自动注册;
8093
- MANUAL 手动注册
8377
+ JITP:自动注册;
8378
+ API:手动注册
8379
+ 默认值:API
8094
8380
  :type DeviceCertificateProvisionType: str
8095
8381
  :param _AutomaticActivation: 是否自动激活,默认为false
8096
8382
  :type AutomaticActivation: bool
8097
8383
  """
8098
8384
  self._InstanceId = None
8385
+ self._X509Mode = None
8099
8386
  self._SSLServerCertId = None
8100
8387
  self._SSLCaCertId = None
8101
- self._X509Mode = None
8102
8388
  self._DeviceCertificateProvisionType = None
8103
8389
  self._AutomaticActivation = None
8104
8390
 
8105
8391
  @property
8106
8392
  def InstanceId(self):
8107
- """实例ID
8393
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
8108
8394
  :rtype: str
8109
8395
  """
8110
8396
  return self._InstanceId
@@ -8113,9 +8399,23 @@ MANUAL 手动注册
8113
8399
  def InstanceId(self, InstanceId):
8114
8400
  self._InstanceId = InstanceId
8115
8401
 
8402
+ @property
8403
+ def X509Mode(self):
8404
+ """加密通信方式
8405
+ TLS:单向证书认证
8406
+ mTLS:双向证书认证
8407
+ BYOC:一设备一证书认证
8408
+ :rtype: str
8409
+ """
8410
+ return self._X509Mode
8411
+
8412
+ @X509Mode.setter
8413
+ def X509Mode(self, X509Mode):
8414
+ self._X509Mode = X509Mode
8415
+
8116
8416
  @property
8117
8417
  def SSLServerCertId(self):
8118
- """服务端证书id
8418
+ """服务端证书id,从 [获取证书列表](https://cloud.tencent.com/document/api/400/41671) 或者腾讯云证书服务控制台获取。X509Mode为mTLS或BYOC时为必填。
8119
8419
  :rtype: str
8120
8420
  """
8121
8421
  return self._SSLServerCertId
@@ -8126,7 +8426,7 @@ MANUAL 手动注册
8126
8426
 
8127
8427
  @property
8128
8428
  def SSLCaCertId(self):
8129
- """CA证书id
8429
+ """CA证书id,从 [获取证书列表](https://cloud.tencent.com/document/api/400/41671) 或者腾讯云证书服务控制台获取。X509Mode为mTLS时为必填
8130
8430
  :rtype: str
8131
8431
  """
8132
8432
  return self._SSLCaCertId
@@ -8135,25 +8435,12 @@ MANUAL 手动注册
8135
8435
  def SSLCaCertId(self, SSLCaCertId):
8136
8436
  self._SSLCaCertId = SSLCaCertId
8137
8437
 
8138
- @property
8139
- def X509Mode(self):
8140
- """加密通信方式
8141
- TLS:单向证书认证
8142
- mTLS:双向证书认证
8143
- BYOC:一设备一证书认证
8144
- :rtype: str
8145
- """
8146
- return self._X509Mode
8147
-
8148
- @X509Mode.setter
8149
- def X509Mode(self, X509Mode):
8150
- self._X509Mode = X509Mode
8151
-
8152
8438
  @property
8153
8439
  def DeviceCertificateProvisionType(self):
8154
8440
  """设备证书注册类型:
8155
- JITP,自动注册;
8156
- MANUAL 手动注册
8441
+ JITP:自动注册;
8442
+ API:手动注册
8443
+ 默认值:API
8157
8444
  :rtype: str
8158
8445
  """
8159
8446
  return self._DeviceCertificateProvisionType
@@ -8176,9 +8463,9 @@ MANUAL 手动注册
8176
8463
 
8177
8464
  def _deserialize(self, params):
8178
8465
  self._InstanceId = params.get("InstanceId")
8466
+ self._X509Mode = params.get("X509Mode")
8179
8467
  self._SSLServerCertId = params.get("SSLServerCertId")
8180
8468
  self._SSLCaCertId = params.get("SSLCaCertId")
8181
- self._X509Mode = params.get("X509Mode")
8182
8469
  self._DeviceCertificateProvisionType = params.get("DeviceCertificateProvisionType")
8183
8470
  self._AutomaticActivation = params.get("AutomaticActivation")
8184
8471
  memeber_set = set(params.keys())
@@ -8230,7 +8517,7 @@ class ModifyInstanceRequest(AbstractModel):
8230
8517
  :type InstanceId: str
8231
8518
  :param _Name: 要修改实例名称,不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。
8232
8519
  :type Name: str
8233
- :param _Remark: 要修改的备注信息,最多64个字符。
8520
+ :param _Remark: 要修改的备注信息,最多128个字符。
8234
8521
  :type Remark: str
8235
8522
  :param _SkuCode: 需要变更的配置规格
8236
8523
  基础版和专业版集群不能升配到铂金版规格,铂金版集群不能降配至基础版和增强版规格。
@@ -8276,7 +8563,7 @@ API:手动通过API注册
8276
8563
 
8277
8564
  @property
8278
8565
  def Remark(self):
8279
- """要修改的备注信息,最多64个字符。
8566
+ """要修改的备注信息,最多128个字符。
8280
8567
  :rtype: str
8281
8568
  """
8282
8569
  return self._Remark
@@ -8299,6 +8586,8 @@ API:手动通过API注册
8299
8586
 
8300
8587
  @property
8301
8588
  def DeviceCertificateProvisionType(self):
8589
+ warnings.warn("parameter `DeviceCertificateProvisionType` is deprecated", DeprecationWarning)
8590
+
8302
8591
  """客户端证书注册方式:
8303
8592
  JITP:自动注册
8304
8593
  API:手动通过API注册
@@ -8308,10 +8597,14 @@ API:手动通过API注册
8308
8597
 
8309
8598
  @DeviceCertificateProvisionType.setter
8310
8599
  def DeviceCertificateProvisionType(self, DeviceCertificateProvisionType):
8600
+ warnings.warn("parameter `DeviceCertificateProvisionType` is deprecated", DeprecationWarning)
8601
+
8311
8602
  self._DeviceCertificateProvisionType = DeviceCertificateProvisionType
8312
8603
 
8313
8604
  @property
8314
8605
  def AutomaticActivation(self):
8606
+ warnings.warn("parameter `AutomaticActivation` is deprecated", DeprecationWarning)
8607
+
8315
8608
  """自动注册证书是否自动激活
8316
8609
  :rtype: bool
8317
8610
  """
@@ -8319,6 +8612,8 @@ API:手动通过API注册
8319
8612
 
8320
8613
  @AutomaticActivation.setter
8321
8614
  def AutomaticActivation(self, AutomaticActivation):
8615
+ warnings.warn("parameter `AutomaticActivation` is deprecated", DeprecationWarning)
8616
+
8322
8617
  self._AutomaticActivation = AutomaticActivation
8323
8618
 
8324
8619
  @property
@@ -8386,19 +8681,21 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8386
8681
 
8387
8682
  def __init__(self):
8388
8683
  r"""
8389
- :param _InstanceId: 实例ID
8684
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
8390
8685
  :type InstanceId: str
8391
- :param _Endpoint: 端点
8686
+ :param _Endpoint: JWKS服务器地址,(Text字段和Endpoint字段必须选择一个填写)
8392
8687
  :type Endpoint: str
8393
- :param _Status: 认证器状态:open-启用;close-关闭
8688
+ :param _Status: 认证器状态:open-启用(默认);close-关闭
8394
8689
  :type Status: str
8395
- :param _RefreshInterval: 刷新时间
8690
+ :param _RefreshInterval: 认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址时生效。
8396
8691
  :type RefreshInterval: int
8397
- :param _Text: JSKS文本
8692
+ :param _Text: JWKS文本,认证服务器地址为空时生效。(Text字段和Endpoint字段必须选择一个填写)
8398
8693
  :type Text: str
8399
- :param _From: 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
8694
+ :param _From: 认证字段;
8695
+ username-对应 MQTT CONNECT Packet 中 username 字段,
8696
+ password-对应 MQTT CONNECT Packet 中 password 字段。默认username
8400
8697
  :type From: str
8401
- :param _Remark: 说明
8698
+ :param _Remark: 说明,不能超过 128 个字符
8402
8699
  :type Remark: str
8403
8700
  """
8404
8701
  self._InstanceId = None
@@ -8411,7 +8708,7 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8411
8708
 
8412
8709
  @property
8413
8710
  def InstanceId(self):
8414
- """实例ID
8711
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
8415
8712
  :rtype: str
8416
8713
  """
8417
8714
  return self._InstanceId
@@ -8422,7 +8719,7 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8422
8719
 
8423
8720
  @property
8424
8721
  def Endpoint(self):
8425
- """端点
8722
+ """JWKS服务器地址,(Text字段和Endpoint字段必须选择一个填写)
8426
8723
  :rtype: str
8427
8724
  """
8428
8725
  return self._Endpoint
@@ -8433,7 +8730,7 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8433
8730
 
8434
8731
  @property
8435
8732
  def Status(self):
8436
- """认证器状态:open-启用;close-关闭
8733
+ """认证器状态:open-启用(默认);close-关闭
8437
8734
  :rtype: str
8438
8735
  """
8439
8736
  return self._Status
@@ -8444,7 +8741,7 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8444
8741
 
8445
8742
  @property
8446
8743
  def RefreshInterval(self):
8447
- """刷新时间
8744
+ """认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址时生效。
8448
8745
  :rtype: int
8449
8746
  """
8450
8747
  return self._RefreshInterval
@@ -8455,7 +8752,7 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8455
8752
 
8456
8753
  @property
8457
8754
  def Text(self):
8458
- """JSKS文本
8755
+ """JWKS文本,认证服务器地址为空时生效。(Text字段和Endpoint字段必须选择一个填写)
8459
8756
  :rtype: str
8460
8757
  """
8461
8758
  return self._Text
@@ -8466,7 +8763,9 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8466
8763
 
8467
8764
  @property
8468
8765
  def From(self):
8469
- """设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
8766
+ """认证字段;
8767
+ username-对应 MQTT CONNECT Packet 中 username 字段,
8768
+ password-对应 MQTT CONNECT Packet 中 password 字段。默认username
8470
8769
  :rtype: str
8471
8770
  """
8472
8771
  return self._From
@@ -8477,7 +8776,7 @@ class ModifyJWKSAuthenticatorRequest(AbstractModel):
8477
8776
 
8478
8777
  @property
8479
8778
  def Remark(self):
8480
- """说明
8779
+ """说明,不能超过 128 个字符
8481
8780
  :rtype: str
8482
8781
  """
8483
8782
  return self._Remark
@@ -8540,34 +8839,37 @@ class ModifyJWTAuthenticatorRequest(AbstractModel):
8540
8839
 
8541
8840
  def __init__(self):
8542
8841
  r"""
8543
- :param _InstanceId: 实例ID
8842
+ :param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
8544
8843
  :type InstanceId: str
8545
- :param _Algorithm: 算法:hmac-based,public-key
8844
+ :param _Algorithm: 签名方式:hmac-based,public-key
8546
8845
  :type Algorithm: str
8547
- :param _From: 设备连接时传递jwt的key;
8548
- username-使用用户名字段传递;
8549
- password-使用密码字段传递
8846
+ :param _From: 认证字段
8847
+ password:对应 MQTT CONNECT Packet 中 password 字段,
8848
+ username:对应 MQTT CONNECT Packet 中 username 字段
8550
8849
  :type From: str
8551
- :param _Secret: 密码
8850
+ :param _Secret: 密钥,Algorithm为hmac-based需要传递该字段。
8552
8851
  :type Secret: str
8553
- :param _PublicKey: 公钥
8852
+ :param _PublicKey: 公钥,Algorithm为public-key时需要传递该字段。
8554
8853
  :type PublicKey: str
8854
+ :param _Status: 认证器是否开启:open-启用;close-关闭
8855
+ :type Status: str
8856
+ :param _Remark: 说明,不能超过 128 个字符
8857
+ :type Remark: str
8555
8858
  :param _Text: JSKS文本
8556
8859
  :type Text: str
8557
- :param _Remark: 说明
8558
- :type Remark: str
8559
8860
  """
8560
8861
  self._InstanceId = None
8561
8862
  self._Algorithm = None
8562
8863
  self._From = None
8563
8864
  self._Secret = None
8564
8865
  self._PublicKey = None
8565
- self._Text = None
8866
+ self._Status = None
8566
8867
  self._Remark = None
8868
+ self._Text = None
8567
8869
 
8568
8870
  @property
8569
8871
  def InstanceId(self):
8570
- """实例ID
8872
+ """腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
8571
8873
  :rtype: str
8572
8874
  """
8573
8875
  return self._InstanceId
@@ -8578,7 +8880,7 @@ password-使用密码字段传递
8578
8880
 
8579
8881
  @property
8580
8882
  def Algorithm(self):
8581
- """算法:hmac-based,public-key
8883
+ """签名方式:hmac-based,public-key
8582
8884
  :rtype: str
8583
8885
  """
8584
8886
  return self._Algorithm
@@ -8589,9 +8891,9 @@ password-使用密码字段传递
8589
8891
 
8590
8892
  @property
8591
8893
  def From(self):
8592
- """设备连接时传递jwt的key;
8593
- username-使用用户名字段传递;
8594
- password-使用密码字段传递
8894
+ """认证字段
8895
+ password:对应 MQTT CONNECT Packet 中 password 字段,
8896
+ username:对应 MQTT CONNECT Packet 中 username 字段
8595
8897
  :rtype: str
8596
8898
  """
8597
8899
  return self._From
@@ -8602,7 +8904,7 @@ password-使用密码字段传递
8602
8904
 
8603
8905
  @property
8604
8906
  def Secret(self):
8605
- """密码
8907
+ """密钥,Algorithm为hmac-based需要传递该字段。
8606
8908
  :rtype: str
8607
8909
  """
8608
8910
  return self._Secret
@@ -8613,7 +8915,7 @@ password-使用密码字段传递
8613
8915
 
8614
8916
  @property
8615
8917
  def PublicKey(self):
8616
- """公钥
8918
+ """公钥,Algorithm为public-key时需要传递该字段。
8617
8919
  :rtype: str
8618
8920
  """
8619
8921
  return self._PublicKey
@@ -8623,19 +8925,19 @@ password-使用密码字段传递
8623
8925
  self._PublicKey = PublicKey
8624
8926
 
8625
8927
  @property
8626
- def Text(self):
8627
- """JSKS文本
8928
+ def Status(self):
8929
+ """认证器是否开启:open-启用;close-关闭
8628
8930
  :rtype: str
8629
8931
  """
8630
- return self._Text
8932
+ return self._Status
8631
8933
 
8632
- @Text.setter
8633
- def Text(self, Text):
8634
- self._Text = Text
8934
+ @Status.setter
8935
+ def Status(self, Status):
8936
+ self._Status = Status
8635
8937
 
8636
8938
  @property
8637
8939
  def Remark(self):
8638
- """说明
8940
+ """说明,不能超过 128 个字符
8639
8941
  :rtype: str
8640
8942
  """
8641
8943
  return self._Remark
@@ -8644,6 +8946,21 @@ password-使用密码字段传递
8644
8946
  def Remark(self, Remark):
8645
8947
  self._Remark = Remark
8646
8948
 
8949
+ @property
8950
+ def Text(self):
8951
+ warnings.warn("parameter `Text` is deprecated", DeprecationWarning)
8952
+
8953
+ """JSKS文本
8954
+ :rtype: str
8955
+ """
8956
+ return self._Text
8957
+
8958
+ @Text.setter
8959
+ def Text(self, Text):
8960
+ warnings.warn("parameter `Text` is deprecated", DeprecationWarning)
8961
+
8962
+ self._Text = Text
8963
+
8647
8964
 
8648
8965
  def _deserialize(self, params):
8649
8966
  self._InstanceId = params.get("InstanceId")
@@ -8651,8 +8968,9 @@ password-使用密码字段传递
8651
8968
  self._From = params.get("From")
8652
8969
  self._Secret = params.get("Secret")
8653
8970
  self._PublicKey = params.get("PublicKey")
8654
- self._Text = params.get("Text")
8971
+ self._Status = params.get("Status")
8655
8972
  self._Remark = params.get("Remark")
8973
+ self._Text = params.get("Text")
8656
8974
  memeber_set = set(params.keys())
8657
8975
  for name, value in vars(self).items():
8658
8976
  property_name = name[1:]
@@ -9142,9 +9460,9 @@ class PublicAccessRule(AbstractModel):
9142
9460
  r"""
9143
9461
  :param _IpRule: ip网段信息
9144
9462
  :type IpRule: str
9145
- :param _Allow: 允许或者拒绝
9463
+ :param _Allow: 当前仅支持允许,默认允许(allow)
9146
9464
  :type Allow: bool
9147
- :param _Remark: 备注信息
9465
+ :param _Remark: 备注信息,最多64个字符。
9148
9466
  :type Remark: str
9149
9467
  """
9150
9468
  self._IpRule = None
@@ -9164,7 +9482,7 @@ class PublicAccessRule(AbstractModel):
9164
9482
 
9165
9483
  @property
9166
9484
  def Allow(self):
9167
- """允许或者拒绝
9485
+ """当前仅支持允许,默认允许(allow)
9168
9486
  :rtype: bool
9169
9487
  """
9170
9488
  return self._Allow
@@ -9175,7 +9493,7 @@ class PublicAccessRule(AbstractModel):
9175
9493
 
9176
9494
  @property
9177
9495
  def Remark(self):
9178
- """备注信息
9496
+ """备注信息,最多64个字符。
9179
9497
  :rtype: str
9180
9498
  """
9181
9499
  return self._Remark
@@ -9537,8 +9855,6 @@ class RegisterDeviceCertificateRequest(AbstractModel):
9537
9855
  :param _Status: 客户端证书状态,默认激活状态(ACTIVE)
9538
9856
  ACTIVE:激活
9539
9857
  INACTIVE:未激活
9540
- REVOKED:吊销
9541
- PENDING_ACTIVATION:注册待激活
9542
9858
  :type Status: str
9543
9859
  """
9544
9860
  self._InstanceId = None
@@ -9608,8 +9924,6 @@ PENDING_ACTIVATION:注册待激活
9608
9924
  """ 客户端证书状态,默认激活状态(ACTIVE)
9609
9925
  ACTIVE:激活
9610
9926
  INACTIVE:未激活
9611
- REVOKED:吊销
9612
- PENDING_ACTIVATION:注册待激活
9613
9927
  :rtype: str
9614
9928
  """
9615
9929
  return self._Status