tencentcloud-sdk-nodejs-mqtt 4.1.92 → 4.1.103

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.
@@ -3,6 +3,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
3
3
  constructor(clientConfig) {
4
4
  super("mqtt.tencentcloudapi.com", "2024-05-16", clientConfig);
5
5
  }
6
+ async CreateDeviceIdentity(req, cb) {
7
+ return this.request("CreateDeviceIdentity", req, cb);
8
+ }
6
9
  async PublishMessage(req, cb) {
7
10
  return this.request("PublishMessage", req, cb);
8
11
  }
@@ -78,6 +81,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
78
81
  async UpdateAuthorizationPolicyPriority(req, cb) {
79
82
  return this.request("UpdateAuthorizationPolicyPriority", req, cb);
80
83
  }
84
+ async DeleteDeviceIdentity(req, cb) {
85
+ return this.request("DeleteDeviceIdentity", req, cb);
86
+ }
81
87
  async CreateTopic(req, cb) {
82
88
  return this.request("CreateTopic", req, cb);
83
89
  }
@@ -108,6 +114,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
108
114
  async DescribeMessageDetails(req, cb) {
109
115
  return this.request("DescribeMessageDetails", req, cb);
110
116
  }
117
+ async DescribeDeviceIdentity(req, cb) {
118
+ return this.request("DescribeDeviceIdentity", req, cb);
119
+ }
111
120
  async DeleteTopic(req, cb) {
112
121
  return this.request("DeleteTopic", req, cb);
113
122
  }
@@ -141,6 +150,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
141
150
  async DescribeAuthenticator(req, cb) {
142
151
  return this.request("DescribeAuthenticator", req, cb);
143
152
  }
153
+ async ModifyDeviceIdentity(req, cb) {
154
+ return this.request("ModifyDeviceIdentity", req, cb);
155
+ }
144
156
  async ActivateCaCertificate(req, cb) {
145
157
  return this.request("ActivateCaCertificate", req, cb);
146
158
  }
@@ -165,4 +177,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
165
177
  async CreateHttpAuthenticator(req, cb) {
166
178
  return this.request("CreateHttpAuthenticator", req, cb);
167
179
  }
180
+ async DescribeDeviceIdentities(req, cb) {
181
+ return this.request("DescribeDeviceIdentities", req, cb);
182
+ }
168
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-mqtt",
3
- "version": "4.1.92",
3
+ "version": "4.1.103",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,11 +1,15 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { UpdateAuthorizationPolicyPriorityResponse, DeleteUserRequest, ModifyJWTAuthenticatorResponse, ModifyAuthorizationPolicyResponse, ActivateDeviceCertificateRequest, CreateInstanceResponse, ApplyRegistrationCodeRequest, DescribeMessageListRequest, ModifyJWTAuthenticatorRequest, DescribeInsPublicEndpointsResponse, DescribeSharedSubscriptionLagResponse, DeleteTopicRequest, ModifyUserResponse, DescribeCaCertificateResponse, DescribeDeviceCertificatesRequest, DeleteAuthenticatorRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, RegisterCaCertificateResponse, DescribeMessageDetailsRequest, DeleteInstanceRequest, ModifyInstanceRequest, RegisterDeviceCertificateResponse, DescribeClientListResponse, DescribeMessageListResponse, DescribeInstanceListResponse, ApplyRegistrationCodeResponse, ModifyInstanceResponse, CreateHttpAuthenticatorResponse, ModifyJWKSAuthenticatorResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, PublishMessageResponse, DescribeAuthenticatorResponse, DeactivateCaCertificateResponse, DeleteCaCertificateRequest, DeleteDeviceCertificateRequest, DescribeMessageByTopicRequest, DescribeInsPublicEndpointsRequest, DeleteUserResponse, ActivateCaCertificateResponse, DeleteDeviceCertificateResponse, DescribeMessageByTopicResponse, DeleteInstanceResponse, DescribeProductSKUListResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, ModifyHttpAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DeleteCaCertificateResponse, DescribeMessageDetailsResponse, DescribeUserListResponse, ModifyTopicResponse, DeactivateDeviceCertificateResponse, ActivateCaCertificateRequest, ActivateDeviceCertificateResponse, DescribeTopicRequest, PublishMessageRequest, DescribeClientListRequest, DeleteInsPublicEndpointResponse, DescribeInsVPCEndpointsRequest, DescribeTopicListRequest, CreateTopicResponse, RevokedDeviceCertificateRequest, ModifyInsPublicEndpointResponse, CreateAuthorizationPolicyResponse, DescribeAuthenticatorRequest, RegisterCaCertificateRequest, CreateInstanceRequest, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, ModifyInstanceCertBindingResponse, DescribeInsVPCEndpointsResponse, DescribeDeviceCertificateRequest, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeUserListRequest, DescribeCaCertificateRequest, UpdateAuthorizationPolicyPriorityRequest, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeAuthorizationPoliciesRequest, RevokedDeviceCertificateResponse, CreateHttpAuthenticatorRequest, DescribeProductSKUListRequest, DescribeTopicListResponse, DescribeDeviceCertificateResponse, DescribeInstanceListRequest, DeactivateCaCertificateRequest, CreateJWTAuthenticatorRequest, DescribeCaCertificatesRequest, ModifyAuthorizationPolicyRequest, DescribeSharedSubscriptionLagRequest, DeleteTopicResponse, ModifyInstanceCertBindingRequest, ModifyHttpAuthenticatorRequest, DescribeInstanceRequest, DescribeCaCertificatesResponse, ModifyUserRequest, DeleteAuthenticatorResponse } from "./mqtt_models";
2
+ import { UpdateAuthorizationPolicyPriorityResponse, ModifyDeviceIdentityResponse, DeleteUserRequest, ModifyJWTAuthenticatorResponse, ModifyAuthorizationPolicyResponse, ActivateDeviceCertificateRequest, CreateInstanceResponse, ApplyRegistrationCodeRequest, DescribeMessageListRequest, DeleteDeviceIdentityRequest, ModifyJWTAuthenticatorRequest, DescribeInsPublicEndpointsResponse, DescribeSharedSubscriptionLagResponse, DeleteTopicRequest, ModifyUserResponse, DescribeCaCertificateResponse, DescribeDeviceCertificatesRequest, DeleteAuthenticatorRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, DescribeDeviceIdentitiesRequest, RegisterCaCertificateResponse, DescribeMessageDetailsRequest, DeleteInstanceRequest, ModifyInstanceRequest, CreateDeviceIdentityRequest, RegisterDeviceCertificateResponse, DescribeClientListResponse, DescribeMessageListResponse, DescribeInstanceListResponse, ApplyRegistrationCodeResponse, ModifyInstanceResponse, CreateHttpAuthenticatorResponse, ModifyJWKSAuthenticatorResponse, DeleteDeviceIdentityResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, PublishMessageResponse, DescribeAuthenticatorResponse, DeactivateCaCertificateResponse, DeleteCaCertificateRequest, DeleteDeviceCertificateRequest, DescribeMessageByTopicRequest, DescribeUserListRequest, DeleteUserResponse, ActivateCaCertificateResponse, DeleteDeviceCertificateResponse, DescribeMessageByTopicResponse, DeleteInstanceResponse, DescribeProductSKUListResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, ModifyHttpAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DeleteCaCertificateResponse, DescribeMessageDetailsResponse, DescribeUserListResponse, ModifyTopicResponse, DeactivateDeviceCertificateResponse, ActivateCaCertificateRequest, ActivateDeviceCertificateResponse, DescribeTopicRequest, PublishMessageRequest, DescribeClientListRequest, DeleteInsPublicEndpointResponse, DescribeInsVPCEndpointsRequest, DescribeTopicListRequest, CreateTopicResponse, RevokedDeviceCertificateRequest, ModifyInsPublicEndpointResponse, CreateInstanceRequest, DescribeAuthenticatorRequest, RegisterCaCertificateRequest, CreateAuthorizationPolicyResponse, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, ModifyInstanceCertBindingResponse, DescribeInsVPCEndpointsResponse, DescribeDeviceCertificateRequest, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeInsPublicEndpointsRequest, CreateDeviceIdentityResponse, DescribeDeviceIdentityResponse, DescribeCaCertificateRequest, UpdateAuthorizationPolicyPriorityRequest, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeDeviceIdentityRequest, ModifyDeviceIdentityRequest, DescribeAuthorizationPoliciesRequest, RevokedDeviceCertificateResponse, CreateHttpAuthenticatorRequest, DescribeProductSKUListRequest, DescribeSharedSubscriptionLagRequest, DescribeDeviceCertificateResponse, DescribeInstanceListRequest, DeactivateCaCertificateRequest, CreateJWTAuthenticatorRequest, DescribeCaCertificatesRequest, ModifyAuthorizationPolicyRequest, DescribeTopicListResponse, DeleteTopicResponse, ModifyInstanceCertBindingRequest, ModifyHttpAuthenticatorRequest, DescribeInstanceRequest, DescribeCaCertificatesResponse, ModifyUserRequest, DeleteAuthenticatorResponse, DescribeDeviceIdentitiesResponse } from "./mqtt_models";
3
3
  /**
4
4
  * mqtt client
5
5
  * @class
6
6
  */
7
7
  export declare class Client extends TencentCloudCommon.AbstractClient {
8
8
  constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
+ /**
10
+ * 创建一机一密设备签名
11
+ */
12
+ CreateDeviceIdentity(req: CreateDeviceIdentityRequest, cb?: (error: string, rep: CreateDeviceIdentityResponse) => void): Promise<CreateDeviceIdentityResponse>;
9
13
  /**
10
14
  * 发布 MQTT 消息到消息主题或客户端
11
15
  */
@@ -109,6 +113,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
109
113
  * 修改策略规则优先级
110
114
  */
111
115
  UpdateAuthorizationPolicyPriority(req: UpdateAuthorizationPolicyPriorityRequest, cb?: (error: string, rep: UpdateAuthorizationPolicyPriorityResponse) => void): Promise<UpdateAuthorizationPolicyPriorityResponse>;
116
+ /**
117
+ * 删除一机一密设备签名
118
+ */
119
+ DeleteDeviceIdentity(req: DeleteDeviceIdentityRequest, cb?: (error: string, rep: DeleteDeviceIdentityResponse) => void): Promise<DeleteDeviceIdentityResponse>;
112
120
  /**
113
121
  * 创建主题
114
122
  */
@@ -157,6 +165,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
157
165
  * 查询MQTT消息详情
158
166
  */
159
167
  DescribeMessageDetails(req: DescribeMessageDetailsRequest, cb?: (error: string, rep: DescribeMessageDetailsResponse) => void): Promise<DescribeMessageDetailsResponse>;
168
+ /**
169
+ * 查询设备一机一密标识
170
+ */
171
+ DescribeDeviceIdentity(req: DescribeDeviceIdentityRequest, cb?: (error: string, rep: DescribeDeviceIdentityResponse) => void): Promise<DescribeDeviceIdentityResponse>;
160
172
  /**
161
173
  * 删除MQTT主题
162
174
  */
@@ -201,6 +213,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
201
213
  * 查询MQTT认证器
202
214
  */
203
215
  DescribeAuthenticator(req: DescribeAuthenticatorRequest, cb?: (error: string, rep: DescribeAuthenticatorResponse) => void): Promise<DescribeAuthenticatorResponse>;
216
+ /**
217
+ * 修改一机一密设备签名
218
+ */
219
+ ModifyDeviceIdentity(req: ModifyDeviceIdentityRequest, cb?: (error: string, rep: ModifyDeviceIdentityResponse) => void): Promise<ModifyDeviceIdentityResponse>;
204
220
  /**
205
221
  * 激活Ca证书
206
222
  */
@@ -233,4 +249,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
233
249
  * 创建一个HTTP的认证器
234
250
  */
235
251
  CreateHttpAuthenticator(req: CreateHttpAuthenticatorRequest, cb?: (error: string, rep: CreateHttpAuthenticatorResponse) => void): Promise<CreateHttpAuthenticatorResponse>;
252
+ /**
253
+ * 查询集群下设备标识列表
254
+ */
255
+ DescribeDeviceIdentities(req: DescribeDeviceIdentitiesRequest, cb?: (error: string, rep: DescribeDeviceIdentitiesResponse) => void): Promise<DescribeDeviceIdentitiesResponse>;
236
256
  }
@@ -28,6 +28,12 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  constructor(clientConfig) {
29
29
  super("mqtt.tencentcloudapi.com", "2024-05-16", clientConfig);
30
30
  }
31
+ /**
32
+ * 创建一机一密设备签名
33
+ */
34
+ async CreateDeviceIdentity(req, cb) {
35
+ return this.request("CreateDeviceIdentity", req, cb);
36
+ }
31
37
  /**
32
38
  * 发布 MQTT 消息到消息主题或客户端
33
39
  */
@@ -181,6 +187,12 @@ class Client extends TencentCloudCommon.AbstractClient {
181
187
  async UpdateAuthorizationPolicyPriority(req, cb) {
182
188
  return this.request("UpdateAuthorizationPolicyPriority", req, cb);
183
189
  }
190
+ /**
191
+ * 删除一机一密设备签名
192
+ */
193
+ async DeleteDeviceIdentity(req, cb) {
194
+ return this.request("DeleteDeviceIdentity", req, cb);
195
+ }
184
196
  /**
185
197
  * 创建主题
186
198
  */
@@ -249,6 +261,12 @@ class Client extends TencentCloudCommon.AbstractClient {
249
261
  async DescribeMessageDetails(req, cb) {
250
262
  return this.request("DescribeMessageDetails", req, cb);
251
263
  }
264
+ /**
265
+ * 查询设备一机一密标识
266
+ */
267
+ async DescribeDeviceIdentity(req, cb) {
268
+ return this.request("DescribeDeviceIdentity", req, cb);
269
+ }
252
270
  /**
253
271
  * 删除MQTT主题
254
272
  */
@@ -315,6 +333,12 @@ class Client extends TencentCloudCommon.AbstractClient {
315
333
  async DescribeAuthenticator(req, cb) {
316
334
  return this.request("DescribeAuthenticator", req, cb);
317
335
  }
336
+ /**
337
+ * 修改一机一密设备签名
338
+ */
339
+ async ModifyDeviceIdentity(req, cb) {
340
+ return this.request("ModifyDeviceIdentity", req, cb);
341
+ }
318
342
  /**
319
343
  * 激活Ca证书
320
344
  */
@@ -363,5 +387,11 @@ class Client extends TencentCloudCommon.AbstractClient {
363
387
  async CreateHttpAuthenticator(req, cb) {
364
388
  return this.request("CreateHttpAuthenticator", req, cb);
365
389
  }
390
+ /**
391
+ * 查询集群下设备标识列表
392
+ */
393
+ async DescribeDeviceIdentities(req, cb) {
394
+ return this.request("DescribeDeviceIdentities", req, cb);
395
+ }
366
396
  }
367
397
  exports.Client = Client;
@@ -35,6 +35,15 @@ export interface MQTTClientSubscription {
35
35
  */
36
36
  UserProperties?: Array<SubscriptionUserProperty>;
37
37
  }
38
+ /**
39
+ * ModifyDeviceIdentity返回参数结构体
40
+ */
41
+ export interface ModifyDeviceIdentityResponse {
42
+ /**
43
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
44
+ */
45
+ RequestId?: string;
46
+ }
38
47
  /**
39
48
  * DeleteUser请求参数结构体
40
49
  */
@@ -195,6 +204,19 @@ export interface DescribeMessageListRequest {
195
204
  */
196
205
  Limit?: number;
197
206
  }
207
+ /**
208
+ * DeleteDeviceIdentity请求参数结构体
209
+ */
210
+ export interface DeleteDeviceIdentityRequest {
211
+ /**
212
+ * 集群id
213
+ */
214
+ InstanceId: string;
215
+ /**
216
+ * 设备id
217
+ */
218
+ DeviceId: string;
219
+ }
198
220
  /**
199
221
  * ModifyJWTAuthenticator请求参数结构体
200
222
  */
@@ -551,6 +573,23 @@ export interface ModifyJWKSAuthenticatorRequest {
551
573
  */
552
574
  Remark?: string;
553
575
  }
576
+ /**
577
+ * DescribeDeviceIdentities请求参数结构体
578
+ */
579
+ export interface DescribeDeviceIdentitiesRequest {
580
+ /**
581
+ * 集群id
582
+ */
583
+ InstanceId: string;
584
+ /**
585
+ * 查询起始位置
586
+ */
587
+ Offset?: number;
588
+ /**
589
+ * 查询结果限制数量
590
+ */
591
+ Limit?: number;
592
+ }
554
593
  /**
555
594
  * RegisterCaCertificate返回参数结构体
556
595
  */
@@ -655,6 +694,36 @@ export interface ModifyInstanceRequest {
655
694
  */
656
695
  X509Mode?: string;
657
696
  }
697
+ /**
698
+ * CreateDeviceIdentity请求参数结构体
699
+ */
700
+ export interface CreateDeviceIdentityRequest {
701
+ /**
702
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
703
+ */
704
+ InstanceId: string;
705
+ /**
706
+ * 设备id
707
+ */
708
+ DeviceId: string;
709
+ /**
710
+ * 1:ENABLED-可用(默认)
711
+ 2:DISABLE-不可用
712
+ */
713
+ Status?: string;
714
+ /**
715
+ * 主要签名key,不传则由系统自动生成,需要base64编码。
716
+ */
717
+ PrimaryKey?: string;
718
+ /**
719
+ * 次要签名key,不传则油系统自动生成,需要base64编码。
720
+ */
721
+ SecondaryKey?: string;
722
+ /**
723
+ * 该设备id的传播属性设置
724
+ */
725
+ PropagatingProperties?: Array<PropagatingProperty>;
726
+ }
658
727
  /**
659
728
  * RegisterDeviceCertificate返回参数结构体
660
729
  */
@@ -1043,6 +1112,15 @@ export interface ModifyJWKSAuthenticatorResponse {
1043
1112
  */
1044
1113
  RequestId?: string;
1045
1114
  }
1115
+ /**
1116
+ * DeleteDeviceIdentity返回参数结构体
1117
+ */
1118
+ export interface DeleteDeviceIdentityResponse {
1119
+ /**
1120
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1121
+ */
1122
+ RequestId?: string;
1123
+ }
1046
1124
  /**
1047
1125
  * CreateInsPublicEndpoint返回参数结构体
1048
1126
  */
@@ -1211,13 +1289,26 @@ export interface DescribeMessageByTopicRequest {
1211
1289
  MaxNumber?: number;
1212
1290
  }
1213
1291
  /**
1214
- * DescribeInsPublicEndpoints请求参数结构体
1292
+ * DescribeUserList请求参数结构体
1215
1293
  */
1216
- export interface DescribeInsPublicEndpointsRequest {
1294
+ export interface DescribeUserListRequest {
1217
1295
  /**
1218
- * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1296
+ * 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1219
1297
  */
1220
1298
  InstanceId: string;
1299
+ /**
1300
+ * 查询条件列表支持字段
1301
+ Username:按照【用户名】进行过滤,支持模糊过滤,类型:String
1302
+ */
1303
+ Filters?: Array<Filter>;
1304
+ /**
1305
+ * 查询起始位置,默认值0
1306
+ */
1307
+ Offset?: number;
1308
+ /**
1309
+ * 查询结果限制数量,默认值20,最大值100
1310
+ */
1311
+ Limit?: number;
1221
1312
  }
1222
1313
  /**
1223
1314
  * DeleteUser返回参数结构体
@@ -1736,6 +1827,39 @@ export interface MQTTEndpointItem {
1736
1827
  */
1737
1828
  Ip?: string;
1738
1829
  }
1830
+ /**
1831
+ * 设备标识列表
1832
+ */
1833
+ export interface DeviceIdentityItem {
1834
+ /**
1835
+ * 集群id
1836
+ */
1837
+ InstanceId?: string;
1838
+ /**
1839
+ * 设备id
1840
+ */
1841
+ DeviceId?: string;
1842
+ /**
1843
+ * 1:ENABLED-可用2:DISABLE-不可用
1844
+ */
1845
+ Status?: number;
1846
+ /**
1847
+ * 主要签名key,不传则由系统自动生成
1848
+ */
1849
+ PrimaryKey?: string;
1850
+ /**
1851
+ * 次要签名key,不传则由系统自动生成
1852
+ */
1853
+ SecondaryKey?: string;
1854
+ /**
1855
+ * 创建时间
1856
+ */
1857
+ CreatedTime?: number;
1858
+ /**
1859
+ * 传播属性列表
1860
+ */
1861
+ PropagatingProperties?: Array<PropagatingProperty>;
1862
+ }
1739
1863
  /**
1740
1864
  * DescribeInsVPCEndpoints请求参数结构体
1741
1865
  */
@@ -1807,21 +1931,61 @@ export interface ModifyInsPublicEndpointResponse {
1807
1931
  RequestId?: string;
1808
1932
  }
1809
1933
  /**
1810
- * CreateAuthorizationPolicy返回参数结构体
1934
+ * CreateInstance请求参数结构体
1811
1935
  */
1812
- export interface CreateAuthorizationPolicyResponse {
1936
+ export interface CreateInstanceRequest {
1813
1937
  /**
1814
- * 集群Id
1938
+ * 实例类型,需要和SkuCode保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1939
+ BASIC 基础版
1940
+ PRO 专业版
1941
+ PLATINUM 铂金版
1942
+
1815
1943
  */
1816
- InstanceId?: string;
1944
+ InstanceType: string;
1817
1945
  /**
1818
- * 策略id
1946
+ * 集群名称不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。
1819
1947
  */
1820
- Id?: number;
1948
+ Name: string;
1821
1949
  /**
1822
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1950
+ * 商品规格,需要和InstanceType保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1823
1951
  */
1824
- RequestId?: string;
1952
+ SkuCode: string;
1953
+ /**
1954
+ * 备注信息,最长 128 字符
1955
+ */
1956
+ Remark?: string;
1957
+ /**
1958
+ * 标签列表
1959
+ */
1960
+ TagList?: Array<Tag>;
1961
+ /**
1962
+ * 实例绑定的VPC信息,需要传当前用户下可用的VPC和SUBNET
1963
+ */
1964
+ VpcList?: Array<VpcInfo>;
1965
+ /**
1966
+ * 是否开启公网,默认false(关闭)
1967
+ */
1968
+ EnablePublic?: boolean;
1969
+ /**
1970
+ * 公网带宽(单位:Mbps),EnablePublic 为True时,该字段必须填写且大于0.
1971
+ */
1972
+ Bandwidth?: number;
1973
+ /**
1974
+ * 公网访问白名单,不传表示拒绝所有IP网络访问。
1975
+ */
1976
+ IpRules?: Array<IpRule>;
1977
+ /**
1978
+ * 是否自动续费(0: 不自动续费;1: 自动续费),仅购买预付费集群时生效。默认1:自动续费
1979
+ */
1980
+ RenewFlag?: number;
1981
+ /**
1982
+ * 购买时长(单位:月),购买预付费集群时生效,默认1m(月)。可选范围:1~12、24、36、48、60;
1983
+ */
1984
+ TimeSpan?: number;
1985
+ /**
1986
+ * 付费模式(0: 后付费;1: 预付费),默认0(后付费)。
1987
+ */
1988
+ PayMode?: number;
1825
1989
  }
1826
1990
  /**
1827
1991
  * DescribeAuthenticator请求参数结构体
@@ -1867,61 +2031,21 @@ export interface RegisterCaCertificateRequest {
1867
2031
  Status?: string;
1868
2032
  }
1869
2033
  /**
1870
- * CreateInstance请求参数结构体
2034
+ * CreateAuthorizationPolicy返回参数结构体
1871
2035
  */
1872
- export interface CreateInstanceRequest {
1873
- /**
1874
- * 实例类型,需要和SkuCode保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1875
- BASIC 基础版
1876
- PRO 专业版
1877
- PLATINUM 铂金版
1878
-
1879
- */
1880
- InstanceType: string;
1881
- /**
1882
- * 集群名称不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。
1883
- */
1884
- Name: string;
1885
- /**
1886
- * 商品规格,需要和InstanceType保持对应关系,可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/api/1778/116232) 接口获取。
1887
- */
1888
- SkuCode: string;
1889
- /**
1890
- * 备注信息,最长 128 字符
1891
- */
1892
- Remark?: string;
1893
- /**
1894
- * 标签列表
1895
- */
1896
- TagList?: Array<Tag>;
1897
- /**
1898
- * 实例绑定的VPC信息,需要传当前用户下可用的VPC和SUBNET
1899
- */
1900
- VpcList?: Array<VpcInfo>;
1901
- /**
1902
- * 是否开启公网,默认false(关闭)
1903
- */
1904
- EnablePublic?: boolean;
1905
- /**
1906
- * 公网带宽(单位:Mbps),EnablePublic 为True时,该字段必须填写且大于0.
1907
- */
1908
- Bandwidth?: number;
1909
- /**
1910
- * 公网访问白名单,不传表示拒绝所有IP网络访问。
1911
- */
1912
- IpRules?: Array<IpRule>;
2036
+ export interface CreateAuthorizationPolicyResponse {
1913
2037
  /**
1914
- * 是否自动续费(0: 不自动续费;1: 自动续费),仅购买预付费集群时生效。默认1:自动续费
2038
+ * 集群Id
1915
2039
  */
1916
- RenewFlag?: number;
2040
+ InstanceId?: string;
1917
2041
  /**
1918
- * 购买时长(单位:月),购买预付费集群时生效,默认1m(月)。可选范围:1~12、24、36、48、60;
2042
+ * 策略id
1919
2043
  */
1920
- TimeSpan?: number;
2044
+ Id?: number;
1921
2045
  /**
1922
- * 付费模式(0: 后付费;1: 预付费),默认0(后付费)。
2046
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1923
2047
  */
1924
- PayMode?: number;
2048
+ RequestId?: string;
1925
2049
  }
1926
2050
  /**
1927
2051
  * CreateInsPublicEndpoint请求参数结构体
@@ -2252,26 +2376,60 @@ export interface DeleteInsPublicEndpointRequest {
2252
2376
  InstanceId: string;
2253
2377
  }
2254
2378
  /**
2255
- * DescribeUserList请求参数结构体
2379
+ * DescribeInsPublicEndpoints请求参数结构体
2256
2380
  */
2257
- export interface DescribeUserListRequest {
2381
+ export interface DescribeInsPublicEndpointsRequest {
2258
2382
  /**
2259
- * 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2383
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2260
2384
  */
2261
2385
  InstanceId: string;
2386
+ }
2387
+ /**
2388
+ * CreateDeviceIdentity返回参数结构体
2389
+ */
2390
+ export interface CreateDeviceIdentityResponse {
2262
2391
  /**
2263
- * 查询条件列表支持字段
2264
- Username:按照【用户名】进行过滤,支持模糊过滤,类型:String
2392
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2265
2393
  */
2266
- Filters?: Array<Filter>;
2394
+ RequestId?: string;
2395
+ }
2396
+ /**
2397
+ * DescribeDeviceIdentity返回参数结构体
2398
+ */
2399
+ export interface DescribeDeviceIdentityResponse {
2267
2400
  /**
2268
- * 查询起始位置,默认值0
2401
+ * 集群id
2269
2402
  */
2270
- Offset?: number;
2403
+ InstanceId?: string;
2271
2404
  /**
2272
- * 查询结果限制数量,默认值20,最大值100
2405
+ * 设备id
2273
2406
  */
2274
- Limit?: number;
2407
+ DeviceId?: string;
2408
+ /**
2409
+ * 1:ENABLED-可用
2410
+ 2:DISABLE-不可用
2411
+ */
2412
+ Status?: number;
2413
+ /**
2414
+ * 主要签名key
2415
+ */
2416
+ PrimaryKey?: string;
2417
+ /**
2418
+ * 次要签名key
2419
+ */
2420
+ SecondaryKey?: string;
2421
+ /**
2422
+ * 创建时间
2423
+ */
2424
+ CreatedTime?: number;
2425
+ /**
2426
+ * 该设备id的传播属性
2427
+ */
2428
+ PropagatingProperties?: Array<PropagatingProperty>;
2429
+ /**
2430
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2431
+ */
2432
+ RequestId?: string;
2275
2433
  }
2276
2434
  /**
2277
2435
  * DescribeCaCertificate请求参数结构体
@@ -2321,6 +2479,49 @@ export interface DeleteAuthorizationPolicyRequest {
2321
2479
  */
2322
2480
  Id: number;
2323
2481
  }
2482
+ /**
2483
+ * DescribeDeviceIdentity请求参数结构体
2484
+ */
2485
+ export interface DescribeDeviceIdentityRequest {
2486
+ /**
2487
+ * 集群id
2488
+ */
2489
+ InstanceId: string;
2490
+ /**
2491
+ * 设备id
2492
+ */
2493
+ DeviceId: string;
2494
+ }
2495
+ /**
2496
+ * ModifyDeviceIdentity请求参数结构体
2497
+ */
2498
+ export interface ModifyDeviceIdentityRequest {
2499
+ /**
2500
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2501
+ */
2502
+ InstanceId: string;
2503
+ /**
2504
+ * 设备id
2505
+ */
2506
+ DeviceId: string;
2507
+ /**
2508
+ * 1:ENABLED-可用
2509
+ 2:DISABLE-不可用
2510
+ */
2511
+ Status?: string;
2512
+ /**
2513
+ * 主要签名key,需要Base64编码。
2514
+ */
2515
+ PrimaryKey?: string;
2516
+ /**
2517
+ * 次要签名key,需要Base64编码。
2518
+ */
2519
+ SecondaryKey?: string;
2520
+ /**
2521
+ * 该设备id的传播属性设置
2522
+ */
2523
+ PropagatingProperties?: Array<PropagatingProperty>;
2524
+ }
2324
2525
  /**
2325
2526
  * DescribeAuthorizationPolicies请求参数结构体
2326
2527
  */
@@ -2339,6 +2540,19 @@ export interface RevokedDeviceCertificateResponse {
2339
2540
  */
2340
2541
  RequestId?: string;
2341
2542
  }
2543
+ /**
2544
+ * 传播属性结构
2545
+ */
2546
+ export interface PropagatingProperty {
2547
+ /**
2548
+ * 传播属性key
2549
+ */
2550
+ Key: string;
2551
+ /**
2552
+ * 传播属性value
2553
+ */
2554
+ Value: string;
2555
+ }
2342
2556
  /**
2343
2557
  * CreateHttpAuthenticator请求参数结构体
2344
2558
  */
@@ -2389,21 +2603,17 @@ export interface CreateHttpAuthenticatorRequest {
2389
2603
  */
2390
2604
  export declare type DescribeProductSKUListRequest = null;
2391
2605
  /**
2392
- * DescribeTopicList返回参数结构体
2606
+ * DescribeSharedSubscriptionLag请求参数结构体
2393
2607
  */
2394
- export interface DescribeTopicListResponse {
2395
- /**
2396
- * 查询总数
2397
- */
2398
- TotalCount?: number;
2608
+ export interface DescribeSharedSubscriptionLagRequest {
2399
2609
  /**
2400
- * 主题列表
2610
+ * 集群id
2401
2611
  */
2402
- Data?: Array<MQTTTopicItem>;
2612
+ InstanceId: string;
2403
2613
  /**
2404
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2614
+ * 共享订阅表达式
2405
2615
  */
2406
- RequestId?: string;
2616
+ SharedSubscription: string;
2407
2617
  }
2408
2618
  /**
2409
2619
  * DescribeDeviceCertificate返回参数结构体
@@ -2806,17 +3016,21 @@ export interface ModifyAuthorizationPolicyRequest {
2806
3016
  Remark?: string;
2807
3017
  }
2808
3018
  /**
2809
- * DescribeSharedSubscriptionLag请求参数结构体
3019
+ * DescribeTopicList返回参数结构体
2810
3020
  */
2811
- export interface DescribeSharedSubscriptionLagRequest {
3021
+ export interface DescribeTopicListResponse {
2812
3022
  /**
2813
- * 集群id
3023
+ * 查询总数
2814
3024
  */
2815
- InstanceId: string;
3025
+ TotalCount?: number;
2816
3026
  /**
2817
- * 共享订阅表达式
3027
+ * 主题列表
2818
3028
  */
2819
- SharedSubscription: string;
3029
+ Data?: Array<MQTTTopicItem>;
3030
+ /**
3031
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3032
+ */
3033
+ RequestId?: string;
2820
3034
  }
2821
3035
  /**
2822
3036
  * DeleteTopic返回参数结构体
@@ -2955,6 +3169,19 @@ export interface DeleteAuthenticatorResponse {
2955
3169
  */
2956
3170
  RequestId?: string;
2957
3171
  }
3172
+ /**
3173
+ * DescribeDeviceIdentities返回参数结构体
3174
+ */
3175
+ export interface DescribeDeviceIdentitiesResponse {
3176
+ /**
3177
+ * 返回的设备标识列表
3178
+ */
3179
+ Data?: Array<DeviceIdentityItem>;
3180
+ /**
3181
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3182
+ */
3183
+ RequestId?: string;
3184
+ }
2958
3185
  /**
2959
3186
  * IP规则
2960
3187
  */