tencentcloud-sdk-nodejs 4.1.48 → 4.1.50

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 (37) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/cynosdb/v20190107/cynosdb_client.js +22 -4
  3. package/es/services/mqtt/v20240516/mqtt_client.js +5 -2
  4. package/es/services/ses/v20201002/ses_client.js +12 -3
  5. package/package.json +1 -1
  6. package/tencentcloud/common/sdk_version.d.ts +1 -1
  7. package/tencentcloud/common/sdk_version.js +1 -1
  8. package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -2
  9. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +5 -3
  10. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +2 -2
  11. package/tencentcloud/services/cfs/v20190719/cfs_client.js +2 -2
  12. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +38 -51
  13. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +0 -2
  14. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +1 -1
  15. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +12 -10
  16. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +29 -5
  17. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +42 -6
  18. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +449 -180
  19. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +6 -2
  20. package/tencentcloud/services/emr/v20190103/emr_client.js +6 -2
  21. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -1
  22. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +3 -1
  23. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1 -1
  24. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -0
  25. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +5 -0
  26. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +5 -0
  27. package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +10 -6
  28. package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +12 -6
  29. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +195 -101
  30. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +26 -1
  31. package/tencentcloud/services/ocr/v20181119/ocr_client.js +25 -0
  32. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +193 -90
  33. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +17 -5
  34. package/tencentcloud/services/ses/v20201002/ses_client.js +24 -6
  35. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +858 -788
  36. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +3 -3
  37. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -1
@@ -196,35 +196,40 @@ export interface DescribeMessageListRequest {
196
196
  */
197
197
  export interface ModifyJWTAuthenticatorRequest {
198
198
  /**
199
- * 实例ID
199
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
200
200
  */
201
201
  InstanceId: string;
202
202
  /**
203
- * 算法:hmac-based,public-key
203
+ * 签名方式:hmac-based,public-key
204
204
  */
205
205
  Algorithm?: string;
206
206
  /**
207
- * 设备连接时传递jwt的key;
208
- username-使用用户名字段传递;
209
- password-使用密码字段传递
207
+ * 认证字段
208
+ password:对应 MQTT CONNECT Packet 中 password 字段,
209
+ username:对应 MQTT CONNECT Packet 中 username 字段
210
210
  */
211
211
  From?: string;
212
212
  /**
213
- * 密码
213
+ * 密钥,Algorithm为hmac-based需要传递该字段。
214
214
  */
215
215
  Secret?: string;
216
216
  /**
217
- * 公钥
217
+ * 公钥,Algorithm为public-key时需要传递该字段。
218
218
  */
219
219
  PublicKey?: string;
220
220
  /**
221
- * JSKS文本
221
+ * 认证器是否开启:open-启用;close-关闭
222
222
  */
223
- Text?: string;
223
+ Status?: string;
224
224
  /**
225
- * 说明
225
+ * 说明,不能超过 128 个字符
226
226
  */
227
227
  Remark?: string;
228
+ /**
229
+ * JSKS文本
230
+ * @deprecated
231
+ */
232
+ Text?: string;
228
233
  }
229
234
  /**
230
235
  * 策略规则优先级
@@ -429,13 +434,13 @@ export interface PublicAccessRule {
429
434
  /**
430
435
  * ip网段信息
431
436
  */
432
- IpRule: string;
437
+ IpRule?: string;
433
438
  /**
434
- * 允许或者拒绝
439
+ * 当前仅支持允许,默认允许(allow)
435
440
  */
436
- Allow: boolean;
441
+ Allow?: boolean;
437
442
  /**
438
- * 备注信息
443
+ * 备注信息,最多64个字符。
439
444
  */
440
445
  Remark?: string;
441
446
  }
@@ -512,31 +517,33 @@ export interface ProductSkuItem {
512
517
  */
513
518
  export interface ModifyJWKSAuthenticatorRequest {
514
519
  /**
515
- * 实例ID
520
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
516
521
  */
517
522
  InstanceId: string;
518
523
  /**
519
- * 端点
524
+ * JWKS服务器地址,(Text字段和Endpoint字段必须选择一个填写)
520
525
  */
521
526
  Endpoint?: string;
522
527
  /**
523
- * 认证器状态:open-启用;close-关闭
528
+ * 认证器状态:open-启用(默认);close-关闭
524
529
  */
525
530
  Status?: string;
526
531
  /**
527
- * 刷新时间
532
+ * 认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址时生效。
528
533
  */
529
534
  RefreshInterval?: number;
530
535
  /**
531
- * JSKS文本
536
+ * JWKS文本,认证服务器地址为空时生效。(Text字段和Endpoint字段必须选择一个填写)
532
537
  */
533
538
  Text?: string;
534
539
  /**
535
- * 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
540
+ * 认证字段;
541
+ username-对应 MQTT CONNECT Packet 中 username 字段,
542
+ password-对应 MQTT CONNECT Packet 中 password 字段。默认username
536
543
  */
537
544
  From?: string;
538
545
  /**
539
- * 说明
546
+ * 说明,不能超过 128 个字符
540
547
  */
541
548
  Remark?: string;
542
549
  }
@@ -579,7 +586,7 @@ export interface ModifyInstanceRequest {
579
586
  */
580
587
  Name?: string;
581
588
  /**
582
- * 要修改的备注信息,最多64个字符。
589
+ * 要修改的备注信息,最多128个字符。
583
590
  */
584
591
  Remark?: string;
585
592
  /**
@@ -591,10 +598,12 @@ export interface ModifyInstanceRequest {
591
598
  * 客户端证书注册方式:
592
599
  JITP:自动注册
593
600
  API:手动通过API注册
601
+ * @deprecated
594
602
  */
595
603
  DeviceCertificateProvisionType?: string;
596
604
  /**
597
605
  * 自动注册证书是否自动激活
606
+ * @deprecated
598
607
  */
599
608
  AutomaticActivation?: boolean;
600
609
  /**
@@ -771,7 +780,6 @@ export interface MQTTInstanceItem {
771
780
  MAINTAINING,维护中
772
781
  ABNORMAL,异常
773
782
  OVERDUE,欠费
774
- DESTROYED,已删除
775
783
  CREATING,创建中
776
784
  MODIFYING,变配中
777
785
  CREATE_FAILURE,创建失败
@@ -895,13 +903,29 @@ export interface CreateHttpAuthenticatorResponse {
895
903
  RequestId?: string;
896
904
  }
897
905
  /**
898
- * ModifyInsPublicEndpoint返回参数结构体
906
+ * MQTT消息
899
907
  */
900
- export interface ModifyInsPublicEndpointResponse {
908
+ export interface MQTTMessage {
901
909
  /**
902
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
910
+ * 消息id
903
911
  */
904
- RequestId?: string;
912
+ MessageId?: string;
913
+ /**
914
+ * 消息发送的客户端Id
915
+ */
916
+ ClientId?: string;
917
+ /**
918
+ * 消息服务质量等级
919
+ */
920
+ Qos?: string;
921
+ /**
922
+ * 消息在服务端的存储时间,毫秒级时间戳
923
+ */
924
+ StoreTimestamp?: number;
925
+ /**
926
+ * 源topic
927
+ */
928
+ OriginTopic?: string;
905
929
  }
906
930
  /**
907
931
  * 消息记录
@@ -929,14 +953,17 @@ export interface MQTTMessageItem {
929
953
  ProduceTime?: string;
930
954
  /**
931
955
  * 死信重发次数
956
+ * @deprecated
932
957
  */
933
958
  DeadLetterResendTimes?: number;
934
959
  /**
935
960
  * 死信重发成功次数
961
+ * @deprecated
936
962
  */
937
963
  DeadLetterResendSuccessTimes?: number;
938
964
  /**
939
965
  * 子topic
966
+ * @deprecated
940
967
  */
941
968
  SubTopic?: string;
942
969
  /**
@@ -991,24 +1018,25 @@ export interface CreateAuthorizationPolicyRequest {
991
1018
  */
992
1019
  PolicyVersion: number;
993
1020
  /**
994
- * 策略优先级,越小越优先,不能重复
1021
+ * 策略优先级,越小越优先,不能重复,优先级ID越小表示策略越优先检查生效。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
995
1022
  */
996
1023
  Priority: number;
997
1024
  /**
998
1025
  * 决策:
999
- allow 允许
1000
- deny 拒绝
1026
+ allow:允许符合该策略的设备的访问请求。
1027
+ deny:拒绝覆盖该策略的设备的访问请求。
1028
+ 可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1001
1029
  */
1002
1030
  Effect: string;
1003
1031
  /**
1004
- * 操作
1032
+ * 操作,支持多选,多个操作用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1005
1033
  connect:连接
1006
1034
  pub:发布
1007
1035
  sub:订阅
1008
1036
  */
1009
1037
  Actions: string;
1010
1038
  /**
1011
- * 条件-保留消息
1039
+ * 条件-保留消息,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1012
1040
  1,匹配保留消息;
1013
1041
  2,匹配非保留消息,
1014
1042
  3.匹配保留和非保留消息
@@ -1019,10 +1047,12 @@ export interface CreateAuthorizationPolicyRequest {
1019
1047
  0:最多一次
1020
1048
  1:最少一次
1021
1049
  2:精确一次
1050
+ 可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1022
1051
  */
1023
1052
  Qos: string;
1024
1053
  /**
1025
- * 资源,需要匹配的订阅
1054
+ * 资源,需要匹配的订阅,支持配置多条匹配规则,多个用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1055
+
1026
1056
  */
1027
1057
  Resources?: string;
1028
1058
  /**
@@ -1034,7 +1064,7 @@ export interface CreateAuthorizationPolicyRequest {
1034
1064
  */
1035
1065
  ClientId?: string;
1036
1066
  /**
1037
- * 条件:客户端IP地址,支持IP或者CIDR
1067
+ * 条件:客户端IP地址,支持IP或者CIDR,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1038
1068
  */
1039
1069
  Ip?: string;
1040
1070
  /**
@@ -1099,6 +1129,27 @@ export interface DeleteDeviceCertificateRequest {
1099
1129
  */
1100
1130
  DeviceCertificateSn: string;
1101
1131
  }
1132
+ /**
1133
+ * DescribeMessageByTopic请求参数结构体
1134
+ */
1135
+ export interface DescribeMessageByTopicRequest {
1136
+ /**
1137
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1138
+ */
1139
+ InstanceId: string;
1140
+ /**
1141
+ * home/room
1142
+ */
1143
+ Topic: string;
1144
+ /**
1145
+ * 开始时间,毫秒级时间戳 。
1146
+ */
1147
+ StartTime: number;
1148
+ /**
1149
+ * 查询消息条数,最大1024,默认100.
1150
+ */
1151
+ MaxNumber?: number;
1152
+ }
1102
1153
  /**
1103
1154
  * DescribeInsPublicEndpoints请求参数结构体
1104
1155
  */
@@ -1135,6 +1186,19 @@ export interface DeleteDeviceCertificateResponse {
1135
1186
  */
1136
1187
  RequestId?: string;
1137
1188
  }
1189
+ /**
1190
+ * DescribeMessageByTopic返回参数结构体
1191
+ */
1192
+ export interface DescribeMessageByTopicResponse {
1193
+ /**
1194
+ * 消息列表
1195
+ */
1196
+ Data?: Array<MQTTMessage>;
1197
+ /**
1198
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1199
+ */
1200
+ RequestId?: string;
1201
+ }
1138
1202
  /**
1139
1203
  * DeleteInstance返回参数结构体
1140
1204
  */
@@ -1166,33 +1230,35 @@ export interface DescribeProductSKUListResponse {
1166
1230
  */
1167
1231
  export interface CreateJWKSAuthenticatorRequest {
1168
1232
  /**
1169
- * 实例ID
1233
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1170
1234
  */
1171
1235
  InstanceId: string;
1172
1236
  /**
1173
- * jwks端点
1237
+ * JWKS服务地址,(Text字段和Endpoint字段必须选择一个填写)
1174
1238
  */
1175
1239
  Endpoint?: string;
1176
1240
  /**
1177
- * jwks刷新间隔,单位:秒
1241
+ * 认证文本刷新间隔时间,单位:秒,最小值60,默认值60,最大值1000。填写认证服务器地址(Endpoint)时生效。
1178
1242
  */
1179
1243
  RefreshInterval?: number;
1180
1244
  /**
1181
- * jwks文本
1245
+ * jwks文本,(Text字段和Endpoint字段必须选择一个填写)
1182
1246
  */
1183
1247
  Text?: string;
1184
1248
  /**
1185
- * 认证器是否开启:open-启用;close-关闭
1249
+ * 认证器是否开启:open-启用;close-关闭,默认open-启用
1186
1250
  */
1187
1251
  Status?: string;
1188
1252
  /**
1189
- * 说明
1253
+ * 说明,不能超过 128 个字符
1190
1254
  */
1191
1255
  Remark?: string;
1192
1256
  /**
1193
- * 设备连接时传递jwt的key;
1194
- username-使用用户名字段传递;
1195
- password-使用密码字段传递
1257
+ * 认证字段;
1258
+ username-对应 MQTT CONNECT Packet 中 username 字段,
1259
+ password-对应 MQTT CONNECT Packet 中 password 字段。
1260
+
1261
+ 默认username
1196
1262
  */
1197
1263
  From?: string;
1198
1264
  }
@@ -1634,6 +1700,15 @@ export interface RevokedDeviceCertificateRequest {
1634
1700
  */
1635
1701
  DeviceCertificateSn: string;
1636
1702
  }
1703
+ /**
1704
+ * ModifyInsPublicEndpoint返回参数结构体
1705
+ */
1706
+ export interface ModifyInsPublicEndpointResponse {
1707
+ /**
1708
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1709
+ */
1710
+ RequestId?: string;
1711
+ }
1637
1712
  /**
1638
1713
  * CreateAuthorizationPolicy返回参数结构体
1639
1714
  */
@@ -1699,21 +1774,23 @@ export interface RegisterCaCertificateRequest {
1699
1774
  */
1700
1775
  export interface CreateInstanceRequest {
1701
1776
  /**
1702
- * 实例类型,
1777
+ * 实例类型,需要和SkuCode保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1703
1778
  BASIC 基础版
1704
1779
  PRO 专业版
1780
+ PLATINUM 铂金版
1781
+
1705
1782
  */
1706
1783
  InstanceType: string;
1707
1784
  /**
1708
- * 实例名称
1785
+ * 集群名称不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。
1709
1786
  */
1710
1787
  Name: string;
1711
1788
  /**
1712
- * 商品规格,可用规格可通过接口DescribeProductSKUList查询
1789
+ * 商品规格,需要和InstanceType保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1713
1790
  */
1714
1791
  SkuCode: string;
1715
1792
  /**
1716
- * 备注信息
1793
+ * 备注信息,最长 128 字符
1717
1794
  */
1718
1795
  Remark?: string;
1719
1796
  /**
@@ -1721,31 +1798,31 @@ export interface CreateInstanceRequest {
1721
1798
  */
1722
1799
  TagList?: Array<Tag>;
1723
1800
  /**
1724
- * 实例绑定的VPC信息
1801
+ * 实例绑定的VPC信息,需要传当前用户下可用的VPC和SUBNET
1725
1802
  */
1726
1803
  VpcList?: Array<VpcInfo>;
1727
1804
  /**
1728
- * 是否开启公网
1805
+ * 是否开启公网,默认false(关闭)
1729
1806
  */
1730
1807
  EnablePublic?: boolean;
1731
1808
  /**
1732
- * 公网带宽(单位:兆)
1809
+ * 公网带宽(单位:Mbps),EnablePublic 为True时,该字段必须填写且大于0.
1733
1810
  */
1734
1811
  Bandwidth?: number;
1735
1812
  /**
1736
- * 公网访问白名单
1813
+ * 公网访问白名单,不传表示拒绝所有IP网络访问。
1737
1814
  */
1738
1815
  IpRules?: Array<IpRule>;
1739
1816
  /**
1740
- * 是否自动续费(0: 不自动续费;1: 自动续费)
1817
+ * 是否自动续费(0: 不自动续费;1: 自动续费),仅购买预付费集群时生效。默认1:自动续费
1741
1818
  */
1742
1819
  RenewFlag?: number;
1743
1820
  /**
1744
- * 购买时长(单位:月)
1821
+ * 购买时长(单位:月),购买预付费集群时生效,默认1m(月)。可选范围:1~12、24、36、48、60;
1745
1822
  */
1746
1823
  TimeSpan?: number;
1747
1824
  /**
1748
- * 付费模式(0: 后付费;1: 预付费)
1825
+ * 付费模式(0: 后付费;1: 预付费),默认0(后付费)。
1749
1826
  */
1750
1827
  PayMode?: number;
1751
1828
  }
@@ -1754,7 +1831,7 @@ export interface CreateInstanceRequest {
1754
1831
  */
1755
1832
  export interface CreateInsPublicEndpointRequest {
1756
1833
  /**
1757
- * 实例ID
1834
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1758
1835
  */
1759
1836
  InstanceId: string;
1760
1837
  /**
@@ -1794,8 +1871,6 @@ export interface RegisterDeviceCertificateRequest {
1794
1871
  * 客户端证书状态,默认激活状态(ACTIVE)
1795
1872
  ACTIVE:激活
1796
1873
  INACTIVE:未激活
1797
- REVOKED:吊销
1798
- PENDING_ACTIVATION:注册待激活
1799
1874
  */
1800
1875
  Status?: string;
1801
1876
  }
@@ -2030,7 +2105,7 @@ export interface DescribeDeviceCertificateRequest {
2030
2105
  */
2031
2106
  export interface ModifyInsPublicEndpointRequest {
2032
2107
  /**
2033
- * 实例ID
2108
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2034
2109
  */
2035
2110
  InstanceId: string;
2036
2111
  /**
@@ -2144,27 +2219,27 @@ export interface RevokedDeviceCertificateResponse {
2144
2219
  */
2145
2220
  export interface CreateHttpAuthenticatorRequest {
2146
2221
  /**
2147
- * 实例ID
2222
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2148
2223
  */
2149
2224
  InstanceId: string;
2150
2225
  /**
2151
- * jwks端点
2226
+ * jwks服务地址
2152
2227
  */
2153
2228
  Endpoint: string;
2154
2229
  /**
2155
- * 最大并发连接数,默认8,范围:1-20
2230
+ * 最大并发连接数,默认8,范围:1-10
2156
2231
  */
2157
2232
  Concurrency?: number;
2158
2233
  /**
2159
- * 网络请求方法 GetPost,默认post
2234
+ * 网络请求方法 GETPOST,默认POST
2160
2235
  */
2161
2236
  Method?: string;
2162
2237
  /**
2163
- * 认证器是否开启:open-启用;close-关闭
2238
+ * 认证器是否开启:open-启用;close-关闭,默认open-启用
2164
2239
  */
2165
2240
  Status?: string;
2166
2241
  /**
2167
- * 说明
2242
+ * 说明,最多支持128个字符。
2168
2243
  */
2169
2244
  Remark?: string;
2170
2245
  /**
@@ -2289,6 +2364,7 @@ export interface DescribeInstanceListRequest {
2289
2364
  InstanceName:集群名模糊搜索
2290
2365
  InstanceId:集群id精确搜索
2291
2366
  InstanceStatus:集群状态搜索(RUNNING-运行中,CREATING-创建中,MODIFYING-变配中,DELETING-删除中)
2367
+ 注意:配置TagFilters时该查询条件不生效。
2292
2368
  */
2293
2369
  Filters?: Array<Filter>;
2294
2370
  /**
@@ -2322,31 +2398,35 @@ export interface DeactivateCaCertificateRequest {
2322
2398
  */
2323
2399
  export interface CreateJWTAuthenticatorRequest {
2324
2400
  /**
2325
- * 实例ID
2401
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2326
2402
  */
2327
2403
  InstanceId: string;
2328
2404
  /**
2329
- * 算法:hmac-based,public-key
2405
+ * 签名方式:hmac-based,public-key
2330
2406
  */
2331
2407
  Algorithm: string;
2332
2408
  /**
2333
- * 设备连接时传递jwt的key;username-使用用户名字段传递;password-使用密码字段传递
2409
+ * 认证字段
2410
+ password:对应 MQTT CONNECT Packet 中 password 字段,
2411
+ username:对应 MQTT CONNECT Packet 中 username 字段
2412
+ 默认username
2413
+
2334
2414
  */
2335
2415
  From: string;
2336
2416
  /**
2337
- * 密码
2417
+ * 密钥,Algorithm为hmac-based需要传递该字段。
2338
2418
  */
2339
2419
  Secret?: string;
2340
2420
  /**
2341
- * 公钥
2421
+ * 公钥,Algorithm为public-key时需要传递该字段。
2342
2422
  */
2343
2423
  PublicKey?: string;
2344
2424
  /**
2345
- * 认证器是否开启:open-启用;close-关闭
2425
+ * 认证器是否开启:open-启用;close-关闭,默认:open-启用
2346
2426
  */
2347
2427
  Status?: string;
2348
2428
  /**
2349
- * 说明
2429
+ * 说明,不能超过 128 个字符。
2350
2430
  */
2351
2431
  Remark?: string;
2352
2432
  }
@@ -2518,59 +2598,72 @@ export interface PriceTag {
2518
2598
  */
2519
2599
  export interface ModifyAuthorizationPolicyRequest {
2520
2600
  /**
2521
- * 策略
2601
+ * 授权策略ID,从 [查询授权策略](https://cloud.tencent.com/document/product/1778/111074) 接口获取
2522
2602
  */
2523
2603
  Id: number;
2524
2604
  /**
2525
- * 实例ID
2605
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2606
+
2526
2607
  */
2527
2608
  InstanceId: string;
2528
2609
  /**
2529
- * 策略名称
2610
+ * 策略名称,不能为空,3-64个字符,支持中文、字母、数字、“-”及“_”。
2530
2611
  */
2531
2612
  PolicyName?: string;
2532
2613
  /**
2533
- * 策略版本
2614
+ * 策略版本,默认为1,当前仅支持1
2534
2615
  */
2535
2616
  PolicyVersion?: number;
2536
2617
  /**
2537
- * 策略优先级,越小越优先
2618
+ * 策略优先级,越小越优先,不能重复
2538
2619
  */
2539
2620
  Priority?: number;
2540
2621
  /**
2541
- * allow、deny
2622
+ * 决策:
2623
+ allow 允许
2624
+ deny 拒绝
2542
2625
  */
2543
2626
  Effect?: string;
2544
2627
  /**
2545
- * connect、pub、sub
2628
+ * 操作,支持多选,多个操作用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
2629
+ connect:连接
2630
+ pub:发布
2631
+ sub:订阅
2546
2632
  */
2547
2633
  Actions?: string;
2548
2634
  /**
2549
- * 资源
2635
+ * 资源,需要匹配的订阅,支持配置多条匹配规则,多个用英文逗号隔开。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
2636
+
2550
2637
  */
2551
2638
  Resources?: string;
2552
2639
  /**
2553
- * 用户名
2640
+ * 条件-用户名
2554
2641
  */
2555
2642
  Username?: string;
2556
2643
  /**
2557
- * 1.匹配保留消息;2.匹配非保留消息;3.匹配所有消息
2644
+ * 条件-保留消息
2645
+ 1,匹配保留消息;
2646
+ 2,匹配非保留消息,
2647
+ 3.匹配保留和非保留消息
2558
2648
  */
2559
2649
  Retain?: number;
2560
2650
  /**
2561
- * 客户端
2651
+ * 条件:客户端ID,支持正则
2562
2652
  */
2563
2653
  ClientId?: string;
2564
2654
  /**
2565
- * IP
2655
+ * 条件:客户端IP地址,支持IP或者CIDR
2566
2656
  */
2567
2657
  Ip?: string;
2568
2658
  /**
2569
- * 0、1、2
2659
+ * 条件:服务质量
2660
+ 0:最多一次
2661
+ 1:最少一次
2662
+ 2:精确一次
2570
2663
  */
2571
2664
  Qos?: string;
2572
2665
  /**
2573
- * 备注信息
2666
+ * 备注信息,最长 128 字符
2574
2667
  */
2575
2668
  Remark?: string;
2576
2669
  }
@@ -2601,17 +2694,9 @@ export interface DeleteTopicResponse {
2601
2694
  */
2602
2695
  export interface ModifyInstanceCertBindingRequest {
2603
2696
  /**
2604
- * 实例ID
2697
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2605
2698
  */
2606
2699
  InstanceId: string;
2607
- /**
2608
- * 服务端证书id
2609
- */
2610
- SSLServerCertId: string;
2611
- /**
2612
- * CA证书id
2613
- */
2614
- SSLCaCertId: string;
2615
2700
  /**
2616
2701
  * 加密通信方式
2617
2702
  TLS:单向证书认证
@@ -2619,10 +2704,19 @@ export interface ModifyInstanceCertBindingRequest {
2619
2704
  BYOC:一设备一证书认证
2620
2705
  */
2621
2706
  X509Mode: string;
2707
+ /**
2708
+ * 服务端证书id,从 [获取证书列表](https://cloud.tencent.com/document/api/400/41671) 或者腾讯云证书服务控制台获取。X509Mode为mTLS或BYOC时为必填。
2709
+ */
2710
+ SSLServerCertId?: string;
2711
+ /**
2712
+ * CA证书id,从 [获取证书列表](https://cloud.tencent.com/document/api/400/41671) 或者腾讯云证书服务控制台获取。X509Mode为mTLS时为必填
2713
+ */
2714
+ SSLCaCertId?: string;
2622
2715
  /**
2623
2716
  * 设备证书注册类型:
2624
- JITP,自动注册;
2625
- MANUAL 手动注册
2717
+ JITP:自动注册;
2718
+ API:手动注册
2719
+ 默认值:API
2626
2720
  */
2627
2721
  DeviceCertificateProvisionType?: string;
2628
2722
  /**
@@ -2635,11 +2729,11 @@ export interface ModifyInstanceCertBindingRequest {
2635
2729
  */
2636
2730
  export interface ModifyHttpAuthenticatorRequest {
2637
2731
  /**
2638
- * 实例ID
2732
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2639
2733
  */
2640
2734
  InstanceId: string;
2641
2735
  /**
2642
- * 端点
2736
+ * 服务地址
2643
2737
  */
2644
2738
  Endpoint?: string;
2645
2739
  /**
@@ -2647,7 +2741,7 @@ export interface ModifyHttpAuthenticatorRequest {
2647
2741
  */
2648
2742
  Status?: string;
2649
2743
  /**
2650
- * 最大并发连接数,默认8,范围:1-20
2744
+ * 最大并发连接数,默认8,范围:1-10
2651
2745
  */
2652
2746
  Concurrency?: number;
2653
2747
  /**
@@ -2659,7 +2753,7 @@ export interface ModifyHttpAuthenticatorRequest {
2659
2753
  */
2660
2754
  ReadTimeout?: number;
2661
2755
  /**
2662
- * 说明
2756
+ * 说明,最多支持128个字符。
2663
2757
  */
2664
2758
  Remark?: string;
2665
2759
  /**
@@ -2732,7 +2826,7 @@ export interface IpRule {
2732
2826
  */
2733
2827
  Ip: string;
2734
2828
  /**
2735
- * 是否允许放行
2829
+ * 当前仅支持允许,默认允许。
2736
2830
  */
2737
2831
  Allow: boolean;
2738
2832
  /**