tencentcloud-sdk-nodejs-mqtt 4.0.1027 → 4.0.1033

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.
@@ -28,10 +28,12 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  super("mqtt.tencentcloudapi.com", "2024-05-16", clientConfig);
29
29
  }
30
30
  /**
31
- * 购买新的MQTT实例
32
- */
33
- async CreateInstance(req, cb) {
34
- return this.request("CreateInstance", req, cb);
31
+ * 查询用户列表,Filter参数使用说明如下:
32
+
33
+ 1. Username,用户名称模糊搜索
34
+ */
35
+ async DescribeUserList(req, cb) {
36
+ return this.request("DescribeUserList", req, cb);
35
37
  }
36
38
  /**
37
39
  * 为MQTT实例创建公网接入点
@@ -45,6 +47,12 @@ class Client extends TencentCloudCommon.AbstractClient {
45
47
  async ModifyTopic(req, cb) {
46
48
  return this.request("ModifyTopic", req, cb);
47
49
  }
50
+ /**
51
+ * 删除Ca证书
52
+ */
53
+ async DeleteCaCertificate(req, cb) {
54
+ return this.request("DeleteCaCertificate", req, cb);
55
+ }
48
56
  /**
49
57
  * 失效Ca证书
50
58
  */
@@ -57,6 +65,12 @@ class Client extends TencentCloudCommon.AbstractClient {
57
65
  async DescribeTopic(req, cb) {
58
66
  return this.request("DescribeTopic", req, cb);
59
67
  }
68
+ /**
69
+ * 失效Ca证书
70
+ */
71
+ async DeactivateCaCertificate(req, cb) {
72
+ return this.request("DeactivateCaCertificate", req, cb);
73
+ }
60
74
  /**
61
75
  * 创建一个jwks的认证
62
76
  */
@@ -99,26 +113,43 @@ class Client extends TencentCloudCommon.AbstractClient {
99
113
  async DescribeInsPublicEndpoints(req, cb) {
100
114
  return this.request("DescribeInsPublicEndpoints", req, cb);
101
115
  }
102
- /**
103
- * 查询用户列表,Filter参数使用说明如下:
104
-
105
- 1. Username,用户名称模糊搜索
106
- */
107
- async DescribeUserList(req, cb) {
108
- return this.request("DescribeUserList", req, cb);
109
- }
110
116
  /**
111
117
  * 更新MQTT实例公网接入点
112
118
  */
113
119
  async ModifyInsPublicEndpoint(req, cb) {
114
120
  return this.request("ModifyInsPublicEndpoint", req, cb);
115
121
  }
122
+ /**
123
+ * 查询设备证书详情接口
124
+ */
125
+ async DescribeDeviceCertificate(req, cb) {
126
+ return this.request("DescribeDeviceCertificate", req, cb);
127
+ }
116
128
  /**
117
129
  * 注册设备证书
118
130
  */
119
131
  async RegisterDeviceCertificate(req, cb) {
120
132
  return this.request("RegisterDeviceCertificate", req, cb);
121
133
  }
134
+ /**
135
+ * 更新MQTT集群绑定证书
136
+ 参数传空,则为删除证书
137
+ */
138
+ async ModifyInstanceCertBinding(req, cb) {
139
+ return this.request("ModifyInstanceCertBinding", req, cb);
140
+ }
141
+ /**
142
+ * 查询集群下的ca证书信息
143
+ */
144
+ async DescribeCaCertificates(req, cb) {
145
+ return this.request("DescribeCaCertificates", req, cb);
146
+ }
147
+ /**
148
+ * 修改策略规则优先级
149
+ */
150
+ async UpdateAuthorizationPolicyPriority(req, cb) {
151
+ return this.request("UpdateAuthorizationPolicyPriority", req, cb);
152
+ }
122
153
  /**
123
154
  * 创建主题
124
155
  */
@@ -137,6 +168,15 @@ class Client extends TencentCloudCommon.AbstractClient {
137
168
  async DescribeAuthorizationPolicies(req, cb) {
138
169
  return this.request("DescribeAuthorizationPolicies", req, cb);
139
170
  }
171
+ /**
172
+ * 获取主题列表,Filter参数使用说明如下:
173
+
174
+ 1. TopicName,主题名称模糊搜索
175
+ 2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
176
+ */
177
+ async DescribeTopicList(req, cb) {
178
+ return this.request("DescribeTopicList", req, cb);
179
+ }
140
180
  /**
141
181
  * 删除MQTT实例的公网接入点
142
182
  */
@@ -144,10 +184,10 @@ class Client extends TencentCloudCommon.AbstractClient {
144
184
  return this.request("DeleteInsPublicEndpoint", req, cb);
145
185
  }
146
186
  /**
147
- * 查询设备证书详情接口
187
+ * 购买新的MQTT实例
148
188
  */
149
- async DescribeDeviceCertificate(req, cb) {
150
- return this.request("DescribeDeviceCertificate", req, cb);
189
+ async CreateInstance(req, cb) {
190
+ return this.request("CreateInstance", req, cb);
151
191
  }
152
192
  /**
153
193
  * 获取实例列表,Filters参数使用说明如下:
@@ -173,13 +213,16 @@ class Client extends TencentCloudCommon.AbstractClient {
173
213
  return this.request("DescribeInstance", req, cb);
174
214
  }
175
215
  /**
176
- * 获取主题列表,Filter参数使用说明如下:
177
-
178
- 1. TopicName,主题名称模糊搜索
179
- 2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
180
- */
181
- async DescribeTopicList(req, cb) {
182
- return this.request("DescribeTopicList", req, cb);
216
+ * 删除MQTT主题
217
+ */
218
+ async DeleteTopic(req, cb) {
219
+ return this.request("DeleteTopic", req, cb);
220
+ }
221
+ /**
222
+ * 查询Ca证书详情接口
223
+ */
224
+ async DescribeCaCertificate(req, cb) {
225
+ return this.request("DescribeCaCertificate", req, cb);
183
226
  }
184
227
  /**
185
228
  * 创建一个jwks的认证
@@ -217,6 +260,12 @@ class Client extends TencentCloudCommon.AbstractClient {
217
260
  async DeleteAuthenticator(req, cb) {
218
261
  return this.request("DeleteAuthenticator", req, cb);
219
262
  }
263
+ /**
264
+ * 注册ca证书
265
+ */
266
+ async RegisterCaCertificate(req, cb) {
267
+ return this.request("RegisterCaCertificate", req, cb);
268
+ }
220
269
  /**
221
270
  * 查询MQTT认证器
222
271
  */
@@ -224,10 +273,10 @@ class Client extends TencentCloudCommon.AbstractClient {
224
273
  return this.request("DescribeAuthenticator", req, cb);
225
274
  }
226
275
  /**
227
- * 修改策略规则优先级
276
+ * 激活Ca证书
228
277
  */
229
- async UpdateAuthorizationPolicyPriority(req, cb) {
230
- return this.request("UpdateAuthorizationPolicyPriority", req, cb);
278
+ async ActivateCaCertificate(req, cb) {
279
+ return this.request("ActivateCaCertificate", req, cb);
231
280
  }
232
281
  /**
233
282
  * 添加mqtt角色
@@ -236,10 +285,10 @@ class Client extends TencentCloudCommon.AbstractClient {
236
285
  return this.request("CreateUser", req, cb);
237
286
  }
238
287
  /**
239
- * 删除MQTT主题
288
+ * 申请ca注册码
240
289
  */
241
- async DeleteTopic(req, cb) {
242
- return this.request("DeleteTopic", req, cb);
290
+ async ApplyRegistrationCode(req, cb) {
291
+ return this.request("ApplyRegistrationCode", req, cb);
243
292
  }
244
293
  /**
245
294
  * 创建MQTT实例的性能测试任务
@@ -21,17 +21,78 @@ export interface ModifyJWTAuthenticatorResponse {
21
21
  RequestId?: string;
22
22
  }
23
23
  /**
24
- * UpdateAuthorizationPolicyPriority请求参数结构体
24
+ * CA证书信息
25
25
  */
26
- export interface UpdateAuthorizationPolicyPriorityRequest {
26
+ export interface CaCertificateItem {
27
27
  /**
28
- * 实例ID
28
+ * common name
29
29
  */
30
- InstanceId: string;
30
+ CaCn?: string;
31
31
  /**
32
- * 策略ID和优先级
32
+ * 证书内容
33
33
  */
34
- Priorities?: Array<AuthorizationPolicyPriority>;
34
+ CaCertificate?: string;
35
+ /**
36
+ * 证书序列号
37
+ */
38
+ CaSn?: string;
39
+ /**
40
+ * 证书格式
41
+ */
42
+ Format?: string;
43
+ /**
44
+ * 验证证书内容
45
+ */
46
+ VerificationCertificate?: string;
47
+ /**
48
+ * ca状态
49
+ 注意:此字段可能返回 null,表示取不到有效值。
50
+ */
51
+ Status?: string;
52
+ /**
53
+ * 上次激活时间
54
+ 注意:此字段可能返回 null,表示取不到有效值。
55
+ */
56
+ LastActivationTime?: number;
57
+ /**
58
+ * 创建时间
59
+ 注意:此字段可能返回 null,表示取不到有效值。
60
+ */
61
+ CreatedTime?: number;
62
+ /**
63
+ * 预销毁时间
64
+ 注意:此字段可能返回 null,表示取不到有效值。
65
+ */
66
+ UpdateTime?: number;
67
+ /**
68
+ * 上次去激活时间
69
+ 注意:此字段可能返回 null,表示取不到有效值。
70
+ */
71
+ LastInactivationTime?: number;
72
+ /**
73
+ * Ca证书颁发者CN
74
+ 注意:此字段可能返回 null,表示取不到有效值。
75
+ */
76
+ CaIssuerCn?: string;
77
+ /**
78
+ * 生效时间
79
+ 注意:此字段可能返回 null,表示取不到有效值。
80
+ */
81
+ NotBeforeTime?: number;
82
+ /**
83
+ * 失效时间
84
+ 注意:此字段可能返回 null,表示取不到有效值。
85
+ */
86
+ NotAfterTime?: number;
87
+ }
88
+ /**
89
+ * ModifyAuthorizationPolicy返回参数结构体
90
+ */
91
+ export interface ModifyAuthorizationPolicyResponse {
92
+ /**
93
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
94
+ */
95
+ RequestId?: string;
35
96
  }
36
97
  /**
37
98
  * ActivateDeviceCertificate请求参数结构体
@@ -60,17 +121,13 @@ export interface CreateInstanceResponse {
60
121
  RequestId?: string;
61
122
  }
62
123
  /**
63
- * DescribeAuthenticator请求参数结构体
124
+ * ApplyRegistrationCode请求参数结构体
64
125
  */
65
- export interface DescribeAuthenticatorRequest {
126
+ export interface ApplyRegistrationCodeRequest {
66
127
  /**
67
- * 实例ID
128
+ * 集群id
68
129
  */
69
130
  InstanceId: string;
70
- /**
71
- * 认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 HTTP:HTTP认证器
72
- */
73
- Type?: string;
74
131
  }
75
132
  /**
76
133
  * ModifyJWTAuthenticator请求参数结构体
@@ -175,6 +232,64 @@ export interface ModifyUserResponse {
175
232
  */
176
233
  RequestId?: string;
177
234
  }
235
+ /**
236
+ * DescribeCaCertificate返回参数结构体
237
+ */
238
+ export interface DescribeCaCertificateResponse {
239
+ /**
240
+ * 创建时间
241
+ */
242
+ CreatedTime?: number;
243
+ /**
244
+ * 上次更新时间
245
+ */
246
+ UpdateTime?: number;
247
+ /**
248
+ * 失效日期
249
+ */
250
+ NotAfterTime?: number;
251
+ /**
252
+ * 上次激活时间
253
+ */
254
+ LastActivationTime?: number;
255
+ /**
256
+ * 上次吊销时间
257
+ */
258
+ LastInactivationTime?: number;
259
+ /**
260
+ * 证书状态
261
+ */
262
+ Status?: string;
263
+ /**
264
+ * 证书序列号
265
+ */
266
+ CaSn?: string;
267
+ /**
268
+ * common name
269
+ */
270
+ CaCn?: string;
271
+ /**
272
+ * 证书内容
273
+ */
274
+ CaCertificate?: string;
275
+ /**
276
+ * 证书格式
277
+ */
278
+ Format?: string;
279
+ /**
280
+ * Ca证书颁发者CN
281
+ 注意:此字段可能返回 null,表示取不到有效值。
282
+ */
283
+ CaIssuerCn?: string;
284
+ /**
285
+ * 生效开始时间
286
+ */
287
+ NotBeforeTime?: number;
288
+ /**
289
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
290
+ */
291
+ RequestId?: string;
292
+ }
178
293
  /**
179
294
  * DescribeDeviceCertificates请求参数结构体
180
295
  */
@@ -295,9 +410,9 @@ export interface ModifyJWKSAuthenticatorRequest {
295
410
  Remark?: string;
296
411
  }
297
412
  /**
298
- * DeleteInstance返回参数结构体
413
+ * RegisterCaCertificate返回参数结构体
299
414
  */
300
- export interface DeleteInstanceResponse {
415
+ export interface RegisterCaCertificateResponse {
301
416
  /**
302
417
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
303
418
  */
@@ -499,6 +614,23 @@ export interface DescribeInstanceListResponse {
499
614
  */
500
615
  RequestId?: string;
501
616
  }
617
+ /**
618
+ * ApplyRegistrationCode返回参数结构体
619
+ */
620
+ export interface ApplyRegistrationCodeResponse {
621
+ /**
622
+ * 集群ID
623
+ */
624
+ InstanceId?: string;
625
+ /**
626
+ * 注册码
627
+ */
628
+ RegistrationCode?: string;
629
+ /**
630
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
631
+ */
632
+ RequestId?: string;
633
+ }
502
634
  /**
503
635
  * ModifyInstance返回参数结构体
504
636
  */
@@ -614,6 +746,28 @@ export interface DescribeAuthenticatorResponse {
614
746
  */
615
747
  RequestId?: string;
616
748
  }
749
+ /**
750
+ * DeactivateCaCertificate返回参数结构体
751
+ */
752
+ export interface DeactivateCaCertificateResponse {
753
+ /**
754
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
755
+ */
756
+ RequestId?: string;
757
+ }
758
+ /**
759
+ * DeleteCaCertificate请求参数结构体
760
+ */
761
+ export interface DeleteCaCertificateRequest {
762
+ /**
763
+ * 集群id
764
+ */
765
+ InstanceId: string;
766
+ /**
767
+ * 证书序列号
768
+ */
769
+ CaSn: string;
770
+ }
617
771
  /**
618
772
  * DeleteDeviceCertificate请求参数结构体
619
773
  */
@@ -645,6 +799,15 @@ export interface DeleteUserResponse {
645
799
  */
646
800
  RequestId?: string;
647
801
  }
802
+ /**
803
+ * ActivateCaCertificate返回参数结构体
804
+ */
805
+ export interface ActivateCaCertificateResponse {
806
+ /**
807
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
808
+ */
809
+ RequestId?: string;
810
+ }
648
811
  /**
649
812
  * DeleteDeviceCertificate返回参数结构体
650
813
  */
@@ -655,9 +818,9 @@ export interface DeleteDeviceCertificateResponse {
655
818
  RequestId?: string;
656
819
  }
657
820
  /**
658
- * ModifyAuthorizationPolicy返回参数结构体
821
+ * DeleteInstance返回参数结构体
659
822
  */
660
- export interface ModifyAuthorizationPolicyResponse {
823
+ export interface DeleteInstanceResponse {
661
824
  /**
662
825
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
663
826
  */
@@ -762,6 +925,15 @@ export interface CreateTopicRequest {
762
925
  */
763
926
  Remark?: string;
764
927
  }
928
+ /**
929
+ * DeleteCaCertificate返回参数结构体
930
+ */
931
+ export interface DeleteCaCertificateResponse {
932
+ /**
933
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
934
+ */
935
+ RequestId?: string;
936
+ }
765
937
  /**
766
938
  * 标签过滤器
767
939
  */
@@ -836,6 +1008,19 @@ export interface MQTTUserItem {
836
1008
  */
837
1009
  ModifiedTime?: number;
838
1010
  }
1011
+ /**
1012
+ * ActivateCaCertificate请求参数结构体
1013
+ */
1014
+ export interface ActivateCaCertificateRequest {
1015
+ /**
1016
+ * 集群id
1017
+ */
1018
+ InstanceId: string;
1019
+ /**
1020
+ * 证书序列号
1021
+ */
1022
+ CaSn: string;
1023
+ }
839
1024
  /**
840
1025
  * ActivateDeviceCertificate返回参数结构体
841
1026
  */
@@ -1060,6 +1245,48 @@ export interface CreateAuthorizationPolicyResponse {
1060
1245
  */
1061
1246
  RequestId?: string;
1062
1247
  }
1248
+ /**
1249
+ * DescribeAuthenticator请求参数结构体
1250
+ */
1251
+ export interface DescribeAuthenticatorRequest {
1252
+ /**
1253
+ * 实例ID
1254
+ */
1255
+ InstanceId: string;
1256
+ /**
1257
+ * 认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 HTTP:HTTP认证器
1258
+ */
1259
+ Type?: string;
1260
+ }
1261
+ /**
1262
+ * RegisterCaCertificate请求参数结构体
1263
+ */
1264
+ export interface RegisterCaCertificateRequest {
1265
+ /**
1266
+ * 集群id
1267
+ */
1268
+ InstanceId: string;
1269
+ /**
1270
+ * CA证书
1271
+ */
1272
+ CaCertificate: string;
1273
+ /**
1274
+ * 验证证书
1275
+ */
1276
+ VerificationCertificate: string;
1277
+ /**
1278
+ * 证书格式,不传默认PEM格式
1279
+ */
1280
+ Format?: string;
1281
+ /**
1282
+ * 证书状态,不传默认ACTIVE状态
1283
+ ACTIVE,//激活
1284
+ INACTIVE,//未激活
1285
+ REVOKED,//吊销
1286
+ PENDING_ACTIVATION,//注册待激活
1287
+ */
1288
+ Status?: string;
1289
+ }
1063
1290
  /**
1064
1291
  * CreateInstance请求参数结构体
1065
1292
  */
@@ -1347,6 +1574,15 @@ export interface DescribeInstanceResponse {
1347
1574
  */
1348
1575
  RequestId?: string;
1349
1576
  }
1577
+ /**
1578
+ * ModifyInstanceCertBinding返回参数结构体
1579
+ */
1580
+ export interface ModifyInstanceCertBindingResponse {
1581
+ /**
1582
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1583
+ */
1584
+ RequestId?: string;
1585
+ }
1350
1586
  /**
1351
1587
  * DeleteInstance请求参数结构体
1352
1588
  */
@@ -1438,6 +1674,32 @@ export interface DescribeUserListRequest {
1438
1674
  */
1439
1675
  Limit?: number;
1440
1676
  }
1677
+ /**
1678
+ * DescribeCaCertificate请求参数结构体
1679
+ */
1680
+ export interface DescribeCaCertificateRequest {
1681
+ /**
1682
+ * ca证书sn
1683
+ */
1684
+ CaSn: string;
1685
+ /**
1686
+ * 集群id
1687
+ */
1688
+ InstanceId: string;
1689
+ }
1690
+ /**
1691
+ * UpdateAuthorizationPolicyPriority请求参数结构体
1692
+ */
1693
+ export interface UpdateAuthorizationPolicyPriorityRequest {
1694
+ /**
1695
+ * 实例ID
1696
+ */
1697
+ InstanceId: string;
1698
+ /**
1699
+ * 策略ID和优先级
1700
+ */
1701
+ Priorities?: Array<AuthorizationPolicyPriority>;
1702
+ }
1441
1703
  /**
1442
1704
  * CreateJWTAuthenticator返回参数结构体
1443
1705
  */
@@ -1470,9 +1732,18 @@ export interface DescribeAuthorizationPoliciesRequest {
1470
1732
  InstanceId?: string;
1471
1733
  }
1472
1734
  /**
1473
- * RevokedDeviceCertificate返回参数结构体
1735
+ * DescribeTopicList返回参数结构体
1474
1736
  */
1475
- export interface RevokedDeviceCertificateResponse {
1737
+ export interface DescribeTopicListResponse {
1738
+ /**
1739
+ * 查询总数
1740
+ 注意:此字段可能返回 null,表示取不到有效值。
1741
+ */
1742
+ TotalCount?: number;
1743
+ /**
1744
+ * 主题列表
1745
+ */
1746
+ Data?: Array<MQTTTopicItem>;
1476
1747
  /**
1477
1748
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1478
1749
  */
@@ -1569,6 +1840,19 @@ export interface DescribeInstanceListRequest {
1569
1840
  */
1570
1841
  TagFilters?: Array<TagFilter>;
1571
1842
  }
1843
+ /**
1844
+ * DeactivateCaCertificate请求参数结构体
1845
+ */
1846
+ export interface DeactivateCaCertificateRequest {
1847
+ /**
1848
+ * 集群id
1849
+ */
1850
+ InstanceId: string;
1851
+ /**
1852
+ * 证书序列号
1853
+ */
1854
+ CaSn: string;
1855
+ }
1572
1856
  /**
1573
1857
  * CreateJWTAuthenticator请求参数结构体
1574
1858
  */
@@ -1602,6 +1886,15 @@ export interface CreateJWTAuthenticatorRequest {
1602
1886
  */
1603
1887
  Remark?: string;
1604
1888
  }
1889
+ /**
1890
+ * DescribeCaCertificates请求参数结构体
1891
+ */
1892
+ export interface DescribeCaCertificatesRequest {
1893
+ /**
1894
+ * 集群ID
1895
+ */
1896
+ InstanceId: string;
1897
+ }
1605
1898
  /**
1606
1899
  * 设备证书信息
1607
1900
  */
@@ -1756,18 +2049,9 @@ export interface ModifyAuthorizationPolicyRequest {
1756
2049
  Remark?: string;
1757
2050
  }
1758
2051
  /**
1759
- * DescribeTopicList返回参数结构体
2052
+ * RevokedDeviceCertificate返回参数结构体
1760
2053
  */
1761
- export interface DescribeTopicListResponse {
1762
- /**
1763
- * 查询总数
1764
- 注意:此字段可能返回 null,表示取不到有效值。
1765
- */
1766
- TotalCount?: number;
1767
- /**
1768
- * 主题列表
1769
- */
1770
- Data?: Array<MQTTTopicItem>;
2054
+ export interface RevokedDeviceCertificateResponse {
1771
2055
  /**
1772
2056
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1773
2057
  */
@@ -1782,6 +2066,40 @@ export interface DeleteTopicResponse {
1782
2066
  */
1783
2067
  RequestId?: string;
1784
2068
  }
2069
+ /**
2070
+ * ModifyInstanceCertBinding请求参数结构体
2071
+ */
2072
+ export interface ModifyInstanceCertBindingRequest {
2073
+ /**
2074
+ * 实例ID
2075
+ */
2076
+ InstanceId: string;
2077
+ /**
2078
+ * 服务端证书id
2079
+ */
2080
+ SSLServerCertId: string;
2081
+ /**
2082
+ * CA证书id
2083
+ */
2084
+ SSLCaCertId: string;
2085
+ /**
2086
+ * 加密通信方式
2087
+ TLS:单向证书认证
2088
+ mTLS:双向证书认证
2089
+ BYOC:一设备一证书认证
2090
+ */
2091
+ X509Mode: string;
2092
+ /**
2093
+ * 设备证书注册类型:
2094
+ JITP,自动注册;
2095
+ MANUAL 手动注册
2096
+ */
2097
+ DeviceCertificateProvisionType?: string;
2098
+ /**
2099
+ * 是否自动激活,默认为false
2100
+ */
2101
+ AutomaticActivation?: boolean;
2102
+ }
1785
2103
  /**
1786
2104
  * DescribeInstance请求参数结构体
1787
2105
  */
@@ -1791,6 +2109,19 @@ export interface DescribeInstanceRequest {
1791
2109
  */
1792
2110
  InstanceId: string;
1793
2111
  }
2112
+ /**
2113
+ * DescribeCaCertificates返回参数结构体
2114
+ */
2115
+ export interface DescribeCaCertificatesResponse {
2116
+ /**
2117
+ * ca证书列表
2118
+ */
2119
+ Data?: Array<CaCertificateItem>;
2120
+ /**
2121
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2122
+ */
2123
+ RequestId?: string;
2124
+ }
1794
2125
  /**
1795
2126
  * ModifyUser请求参数结构体
1796
2127
  */