tencentcloud-sdk-nodejs 4.0.1047 → 4.0.1048

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.
@@ -26,21 +26,25 @@ export interface UpdateAuthorizationPolicyPriorityResponse {
26
26
  }
27
27
 
28
28
  /**
29
- * DescribeDeviceCertificates返回参数结构体
29
+ * MQTT 订阅关系
30
30
  */
31
- export interface DescribeDeviceCertificatesResponse {
31
+ export interface MQTTClientSubscription {
32
32
  /**
33
- * 总数
33
+ * topic 订阅
34
34
  */
35
- TotalCount?: number
35
+ TopicFilter?: string
36
36
  /**
37
- * 设备证书
37
+ * 服务质量等级
38
38
  */
39
- Data?: Array<DeviceCertificateItem>
39
+ Qos?: number
40
40
  /**
41
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
41
+ * 堆积数量
42
42
  */
43
- RequestId?: string
43
+ Lag?: number
44
+ /**
45
+ * 投递未确认数量
46
+ */
47
+ Inflight?: number
44
48
  }
45
49
 
46
50
  /**
@@ -93,42 +97,34 @@ export interface CaCertificateItem {
93
97
  VerificationCertificate?: string
94
98
  /**
95
99
  * ca状态
96
- 注意:此字段可能返回 null,表示取不到有效值。
97
100
  */
98
101
  Status?: string
99
102
  /**
100
103
  * 上次激活时间
101
- 注意:此字段可能返回 null,表示取不到有效值。
102
104
  */
103
105
  LastActivationTime?: number
104
106
  /**
105
107
  * 创建时间
106
- 注意:此字段可能返回 null,表示取不到有效值。
107
108
  */
108
109
  CreatedTime?: number
109
110
  /**
110
111
  * 预销毁时间
111
- 注意:此字段可能返回 null,表示取不到有效值。
112
112
  */
113
113
  UpdateTime?: number
114
114
  /**
115
115
  * 上次去激活时间
116
- 注意:此字段可能返回 null,表示取不到有效值。
117
116
  */
118
117
  LastInactivationTime?: number
119
118
  /**
120
119
  * Ca证书颁发者CN
121
- 注意:此字段可能返回 null,表示取不到有效值。
122
120
  */
123
121
  CaIssuerCn?: string
124
122
  /**
125
123
  * 生效时间
126
- 注意:此字段可能返回 null,表示取不到有效值。
127
124
  */
128
125
  NotBeforeTime?: number
129
126
  /**
130
127
  * 失效时间
131
- 注意:此字段可能返回 null,表示取不到有效值。
132
128
  */
133
129
  NotAfterTime?: number
134
130
  }
@@ -257,12 +253,10 @@ password-使用密码字段传递
257
253
  export interface AuthorizationPolicyPriority {
258
254
  /**
259
255
  * 策略id
260
- 注意:此字段可能返回 null,表示取不到有效值。
261
256
  */
262
257
  Id: number
263
258
  /**
264
259
  * 优先级
265
- 注意:此字段可能返回 null,表示取不到有效值。
266
260
  */
267
261
  Priority: number
268
262
  }
@@ -386,7 +380,6 @@ export interface DescribeCaCertificateResponse {
386
380
  Format?: string
387
381
  /**
388
382
  * Ca证书颁发者CN
389
- 注意:此字段可能返回 null,表示取不到有效值。
390
383
  */
391
384
  CaIssuerCn?: string
392
385
  /**
@@ -451,17 +444,14 @@ BYOC:一端一证认证器
451
444
  export interface PublicAccessRule {
452
445
  /**
453
446
  * ip网段信息
454
- 注意:此字段可能返回 null,表示取不到有效值。
455
447
  */
456
448
  IpRule: string
457
449
  /**
458
450
  * 允许或者拒绝
459
- 注意:此字段可能返回 null,表示取不到有效值。
460
451
  */
461
452
  Allow: boolean
462
453
  /**
463
454
  * 备注信息
464
- 注意:此字段可能返回 null,表示取不到有效值。
465
455
  */
466
456
  Remark?: string
467
457
  }
@@ -498,47 +488,38 @@ export interface ProductSkuItem {
498
488
  * 规格类型
499
489
  BASIC:基础版
500
490
  PRO :专业版
501
- 注意:此字段可能返回 null,表示取不到有效值。
502
491
  */
503
492
  InstanceType?: string
504
493
  /**
505
494
  * 规格代码
506
- 注意:此字段可能返回 null,表示取不到有效值。
507
495
  */
508
496
  SkuCode?: string
509
497
  /**
510
498
  * 是否售卖
511
- 注意:此字段可能返回 null,表示取不到有效值。
512
499
  */
513
500
  OnSale?: boolean
514
501
  /**
515
502
  * topic num限制
516
- 注意:此字段可能返回 null,表示取不到有效值。
517
503
  */
518
504
  TopicNumLimit?: number
519
505
  /**
520
506
  * tps
521
- 注意:此字段可能返回 null,表示取不到有效值。
522
507
  */
523
508
  TpsLimit?: number
524
509
  /**
525
510
  * 客户端连接数
526
- 注意:此字段可能返回 null,表示取不到有效值。
527
511
  */
528
512
  ClientNumLimit?: number
529
513
  /**
530
514
  * 单客户端最大订阅数
531
- 注意:此字段可能返回 null,表示取不到有效值。
532
515
  */
533
516
  MaxSubscriptionPerClient?: number
534
517
  /**
535
518
  * 授权规则条数
536
- 注意:此字段可能返回 null,表示取不到有效值。
537
519
  */
538
520
  AuthorizationPolicyLimit?: number
539
521
  /**
540
522
  * 计费项信息
541
- 注意:此字段可能返回 null,表示取不到有效值。
542
523
  */
543
524
  PriceTags?: Array<PriceTag>
544
525
  }
@@ -645,27 +626,22 @@ export interface RegisterDeviceCertificateResponse {
645
626
  export interface MQTTAuthenticatorItem {
646
627
  /**
647
628
  * 认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 BYOC:一端一证认证器
648
- 注意:此字段可能返回 null,表示取不到有效值。
649
629
  */
650
630
  Type?: string
651
631
  /**
652
632
  * 认证器配置
653
- 注意:此字段可能返回 null,表示取不到有效值。
654
633
  */
655
634
  Config?: string
656
635
  /**
657
636
  * 认证器状态
658
- 注意:此字段可能返回 null,表示取不到有效值。
659
637
  */
660
638
  Status?: string
661
639
  /**
662
640
  * 创建时间
663
- 注意:此字段可能返回 null,表示取不到有效值。
664
641
  */
665
642
  CreateTime?: number
666
643
  /**
667
644
  * 说明
668
- 注意:此字段可能返回 null,表示取不到有效值。
669
645
  */
670
646
  Remark?: string
671
647
  }
@@ -690,12 +666,10 @@ export interface DescribeClientListResponse {
690
666
  export interface Tag {
691
667
  /**
692
668
  * 标签名称
693
- 注意:此字段可能返回 null,表示取不到有效值。
694
669
  */
695
670
  TagKey: string
696
671
  /**
697
672
  * 标签值
698
- 注意:此字段可能返回 null,表示取不到有效值。
699
673
  */
700
674
  TagValue: string
701
675
  }
@@ -706,12 +680,10 @@ export interface Tag {
706
680
  export interface DescribeMessageListResponse {
707
681
  /**
708
682
  * 查询总数
709
- 注意:此字段可能返回 null,表示取不到有效值。
710
683
  */
711
684
  TotalCount?: number
712
685
  /**
713
686
  * 消息记录列表
714
- 注意:此字段可能返回 null,表示取不到有效值。
715
687
  */
716
688
  Data?: Array<MQTTMessageItem>
717
689
  /**
@@ -724,6 +696,20 @@ export interface DescribeMessageListResponse {
724
696
  RequestId?: string
725
697
  }
726
698
 
699
+ /**
700
+ * HTTP 认证器header
701
+ */
702
+ export interface HeaderItem {
703
+ /**
704
+ * header key
705
+ */
706
+ Key: string
707
+ /**
708
+ * header value
709
+ */
710
+ Value: string
711
+ }
712
+
727
713
  /**
728
714
  * MQTT 实例信息
729
715
  */
@@ -768,7 +754,6 @@ DELETING,删除中
768
754
  TopicNumLimit?: number
769
755
  /**
770
756
  * 备注信息
771
- 注意:此字段可能返回 null,表示取不到有效值。
772
757
  */
773
758
  Remark?: string
774
759
  /**
@@ -781,57 +766,46 @@ DELETING,删除中
781
766
  SkuCode?: string
782
767
  /**
783
768
  * 弹性TPS限流值
784
- 注意:此字段可能返回 null,表示取不到有效值。
785
769
  */
786
770
  TpsLimit?: number
787
771
  /**
788
772
  * 创建时间
789
- 注意:此字段可能返回 null,表示取不到有效值。
790
773
  */
791
774
  CreateTime?: number
792
775
  /**
793
776
  * 单客户端最大订阅数量
794
- 注意:此字段可能返回 null,表示取不到有效值。
795
777
  */
796
778
  MaxSubscriptionPerClient?: number
797
779
  /**
798
780
  * 客户端连接数上线
799
- 注意:此字段可能返回 null,表示取不到有效值。
800
781
  */
801
782
  ClientNumLimit?: number
802
783
  /**
803
784
  * 是否自动续费
804
- 注意:此字段可能返回 null,表示取不到有效值。
805
785
  */
806
786
  RenewFlag?: number
807
787
  /**
808
788
  * 计费模式, POSTPAID,按量计费 PREPAID,包年包月
809
- 注意:此字段可能返回 null,表示取不到有效值。
810
789
  */
811
790
  PayMode?: string
812
791
  /**
813
792
  * 到期时间,秒为单位
814
- 注意:此字段可能返回 null,表示取不到有效值。
815
793
  */
816
794
  ExpiryTime?: number
817
795
  /**
818
796
  * 预销毁时间
819
- 注意:此字段可能返回 null,表示取不到有效值。
820
797
  */
821
798
  DestroyTime?: number
822
799
  /**
823
800
  * 授权规则条数限制
824
- 注意:此字段可能返回 null,表示取不到有效值。
825
801
  */
826
802
  AuthorizationPolicyLimit?: number
827
803
  /**
828
804
  * 最大ca配额
829
- 注意:此字段可能返回 null,表示取不到有效值。
830
805
  */
831
806
  MaxCaNum?: number
832
807
  /**
833
808
  * 最大订阅数
834
- 注意:此字段可能返回 null,表示取不到有效值。
835
809
  */
836
810
  MaxSubscription?: number
837
811
  }
@@ -842,7 +816,6 @@ DELETING,删除中
842
816
  export interface DescribeInstanceListResponse {
843
817
  /**
844
818
  * 查询总数
845
- 注意:此字段可能返回 null,表示取不到有效值。
846
819
  */
847
820
  TotalCount?: number
848
821
  /**
@@ -883,6 +856,16 @@ export interface ModifyInstanceResponse {
883
856
  RequestId?: string
884
857
  }
885
858
 
859
+ /**
860
+ * CreateHttpAuthenticator返回参数结构体
861
+ */
862
+ export interface CreateHttpAuthenticatorResponse {
863
+ /**
864
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
865
+ */
866
+ RequestId?: string
867
+ }
868
+
886
869
  /**
887
870
  * ModifyInsPublicEndpoint返回参数结构体
888
871
  */
@@ -899,47 +882,38 @@ export interface ModifyInsPublicEndpointResponse {
899
882
  export interface MQTTMessageItem {
900
883
  /**
901
884
  * 消息ID
902
- 注意:此字段可能返回 null,表示取不到有效值。
903
885
  */
904
886
  MsgId?: string
905
887
  /**
906
888
  * 消息tag
907
- 注意:此字段可能返回 null,表示取不到有效值。
908
889
  */
909
890
  Tags?: string
910
891
  /**
911
892
  * 消息key
912
- 注意:此字段可能返回 null,表示取不到有效值。
913
893
  */
914
894
  Keys?: string
915
895
  /**
916
- * 客户端地址
917
- 注意:此字段可能返回 null,表示取不到有效值。
896
+ * 客户端地址
918
897
  */
919
898
  ProducerAddr?: string
920
899
  /**
921
- * 消息发送时间
922
- 注意:此字段可能返回 null,表示取不到有效值。
900
+ * 消息发送时间
923
901
  */
924
902
  ProduceTime?: string
925
903
  /**
926
- * 死信重发次数
927
- 注意:此字段可能返回 null,表示取不到有效值。
904
+ * 死信重发次数
928
905
  */
929
906
  DeadLetterResendTimes?: number
930
907
  /**
931
908
  * 死信重发成功次数
932
- 注意:此字段可能返回 null,表示取不到有效值。
933
909
  */
934
910
  DeadLetterResendSuccessTimes?: number
935
911
  /**
936
912
  * 子topic
937
- 注意:此字段可能返回 null,表示取不到有效值。
938
913
  */
939
914
  SubTopic?: string
940
915
  /**
941
916
  * 消息质量等级
942
- 注意:此字段可能返回 null,表示取不到有效值。
943
917
  */
944
918
  Qos?: string
945
919
  }
@@ -1150,12 +1124,10 @@ export interface DeleteInstanceResponse {
1150
1124
  export interface DescribeProductSKUListResponse {
1151
1125
  /**
1152
1126
  * 查询总数
1153
- 注意:此字段可能返回 null,表示取不到有效值。
1154
1127
  */
1155
1128
  TotalCount?: number
1156
1129
  /**
1157
1130
  * mqtt商品配置信息
1158
- 注意:此字段可能返回 null,表示取不到有效值。
1159
1131
  */
1160
1132
  MQTTProductSkuList?: Array<ProductSkuItem>
1161
1133
  /**
@@ -1236,6 +1208,16 @@ export interface CreateJWKSAuthenticatorResponse {
1236
1208
  RequestId?: string
1237
1209
  }
1238
1210
 
1211
+ /**
1212
+ * ModifyHttpAuthenticator返回参数结构体
1213
+ */
1214
+ export interface ModifyHttpAuthenticatorResponse {
1215
+ /**
1216
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1217
+ */
1218
+ RequestId?: string
1219
+ }
1220
+
1239
1221
  /**
1240
1222
  * DescribeAuthorizationPolicies返回参数结构体
1241
1223
  */
@@ -1298,7 +1280,6 @@ export interface TagFilter {
1298
1280
  export interface DescribeUserListResponse {
1299
1281
  /**
1300
1282
  * 查询总数
1301
- 注意:此字段可能返回 null,表示取不到有效值。
1302
1283
  */
1303
1284
  TotalCount?: number
1304
1285
  /**
@@ -1371,6 +1352,20 @@ export interface ActivateCaCertificateRequest {
1371
1352
  CaSn: string
1372
1353
  }
1373
1354
 
1355
+ /**
1356
+ * HTTP 认证器body
1357
+ */
1358
+ export interface BodyItem {
1359
+ /**
1360
+ * body key
1361
+ */
1362
+ Key: string
1363
+ /**
1364
+ * body key
1365
+ */
1366
+ Value: string
1367
+ }
1368
+
1374
1369
  /**
1375
1370
  * ActivateDeviceCertificate返回参数结构体
1376
1371
  */
@@ -1430,21 +1425,75 @@ export interface PublishMessageRequest {
1430
1425
  }
1431
1426
 
1432
1427
  /**
1433
- * CreateTopic返回参数结构体
1428
+ * AuthorizationPolicyItem
1434
1429
  */
1435
- export interface CreateTopicResponse {
1430
+ export interface AuthorizationPolicyItem {
1436
1431
  /**
1437
- * 实例ID
1432
+ * 规则ID
1433
+ */
1434
+ Id?: number
1435
+ /**
1436
+ * 集群ID
1438
1437
  */
1439
1438
  InstanceId?: string
1440
1439
  /**
1441
- * 主题
1440
+ * 规则名
1442
1441
  */
1443
- Topic?: string
1442
+ PolicyName?: string
1444
1443
  /**
1445
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1444
+ * 规则语法版本
1446
1445
  */
1447
- RequestId?: string
1446
+ Version?: number
1447
+ /**
1448
+ * 越小越优先
1449
+ */
1450
+ Priority?: number
1451
+ /**
1452
+ * allow/deny
1453
+ */
1454
+ Effect?: string
1455
+ /**
1456
+ * connect、pub、sub
1457
+ */
1458
+ Actions?: string
1459
+ /**
1460
+ * 资源
1461
+ */
1462
+ Resources?: string
1463
+ /**
1464
+ * client
1465
+ */
1466
+ ClientId?: string
1467
+ /**
1468
+ * 用户
1469
+ */
1470
+ Username?: string
1471
+ /**
1472
+ * IP地址
1473
+ */
1474
+ Ip?: string
1475
+ /**
1476
+ * 0,1,2
1477
+ */
1478
+ Qos?: string
1479
+ /**
1480
+ * 1:表示匹配retain消息
1481
+ 2:表示匹配非retain消息
1482
+ 3:表示匹配retain和非retain消息
1483
+ */
1484
+ Retain?: number
1485
+ /**
1486
+ * 描述
1487
+ */
1488
+ Remark?: string
1489
+ /**
1490
+ * 1713164969433
1491
+ */
1492
+ CreatedTime?: number
1493
+ /**
1494
+ * 1713164969433
1495
+ */
1496
+ UpdateTime?: number
1448
1497
  }
1449
1498
 
1450
1499
  /**
@@ -1481,37 +1530,30 @@ export interface DeleteInsPublicEndpointResponse {
1481
1530
  export interface MQTTEndpointItem {
1482
1531
  /**
1483
1532
  * 类型
1484
- 注意:此字段可能返回 null,表示取不到有效值。
1485
1533
  */
1486
1534
  Type?: string
1487
1535
  /**
1488
1536
  * 接入点
1489
- 注意:此字段可能返回 null,表示取不到有效值。
1490
1537
  */
1491
1538
  Url?: string
1492
1539
  /**
1493
1540
  * vpc信息
1494
- 注意:此字段可能返回 null,表示取不到有效值。
1495
1541
  */
1496
1542
  VpcId?: string
1497
1543
  /**
1498
1544
  * 子网信息
1499
- 注意:此字段可能返回 null,表示取不到有效值。
1500
1545
  */
1501
1546
  SubnetId?: string
1502
1547
  /**
1503
1548
  * 主机
1504
- 注意:此字段可能返回 null,表示取不到有效值。
1505
1549
  */
1506
1550
  Host?: string
1507
1551
  /**
1508
1552
  * 端口
1509
- 注意:此字段可能返回 null,表示取不到有效值。
1510
1553
  */
1511
1554
  Port?: number
1512
1555
  /**
1513
1556
  * 接入点ip
1514
- 注意:此字段可能返回 null,表示取不到有效值。
1515
1557
  */
1516
1558
  Ip?: string
1517
1559
  }
@@ -1550,87 +1592,21 @@ export interface DescribeTopicListRequest {
1550
1592
  }
1551
1593
 
1552
1594
  /**
1553
- * AuthorizationPolicyItem
1595
+ * CreateTopic返回参数结构体
1554
1596
  */
1555
- export interface AuthorizationPolicyItem {
1556
- /**
1557
- * 规则ID
1558
- */
1559
- Id?: number
1597
+ export interface CreateTopicResponse {
1560
1598
  /**
1561
- * 集群ID
1599
+ * 实例ID
1562
1600
  */
1563
1601
  InstanceId?: string
1564
1602
  /**
1565
- * 规则名
1566
- 注意:此字段可能返回 null,表示取不到有效值。
1567
- */
1568
- PolicyName?: string
1569
- /**
1570
- * 规则语法版本
1571
- 注意:此字段可能返回 null,表示取不到有效值。
1572
- */
1573
- Version?: number
1574
- /**
1575
- * 越小越优先
1576
- 注意:此字段可能返回 null,表示取不到有效值。
1577
- */
1578
- Priority?: number
1579
- /**
1580
- * allow/deny
1581
- 注意:此字段可能返回 null,表示取不到有效值。
1582
- */
1583
- Effect?: string
1584
- /**
1585
- * connect、pub、sub
1586
- 注意:此字段可能返回 null,表示取不到有效值。
1587
- */
1588
- Actions?: string
1589
- /**
1590
- * 资源
1591
- 注意:此字段可能返回 null,表示取不到有效值。
1592
- */
1593
- Resources?: string
1594
- /**
1595
- * client
1596
- 注意:此字段可能返回 null,表示取不到有效值。
1597
- */
1598
- ClientId?: string
1599
- /**
1600
- * 用户
1601
- 注意:此字段可能返回 null,表示取不到有效值。
1602
- */
1603
- Username?: string
1604
- /**
1605
- * IP地址
1606
- 注意:此字段可能返回 null,表示取不到有效值。
1607
- */
1608
- Ip?: string
1609
- /**
1610
- * 0,1,2
1611
- 注意:此字段可能返回 null,表示取不到有效值。
1612
- */
1613
- Qos?: string
1614
- /**
1615
- * 1:表示匹配retain消息
1616
- 2:表示匹配非retain消息
1617
- 3:表示匹配retain和非retain消息
1618
- 注意:此字段可能返回 null,表示取不到有效值。
1619
- */
1620
- Retain?: number
1621
- /**
1622
- * 描述
1623
- 注意:此字段可能返回 null,表示取不到有效值。
1624
- */
1625
- Remark?: string
1626
- /**
1627
- * 1713164969433
1603
+ * 主题
1628
1604
  */
1629
- CreatedTime?: number
1605
+ Topic?: string
1630
1606
  /**
1631
- * 1713164969433
1607
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1632
1608
  */
1633
- UpdateTime?: number
1609
+ RequestId?: string
1634
1610
  }
1635
1611
 
1636
1612
  /**
@@ -1834,25 +1810,21 @@ export interface DeactivateDeviceCertificateRequest {
1834
1810
  }
1835
1811
 
1836
1812
  /**
1837
- * MQTT 订阅关系
1813
+ * DescribeDeviceCertificates返回参数结构体
1838
1814
  */
1839
- export interface MQTTClientSubscription {
1840
- /**
1841
- * topic 订阅
1842
- */
1843
- TopicFilter?: string
1815
+ export interface DescribeDeviceCertificatesResponse {
1844
1816
  /**
1845
- * 服务质量等级
1817
+ * 总数
1846
1818
  */
1847
- Qos?: number
1819
+ TotalCount?: number
1848
1820
  /**
1849
- * 堆积数量
1821
+ * 设备证书
1850
1822
  */
1851
- Lag?: number
1823
+ Data?: Array<DeviceCertificateItem>
1852
1824
  /**
1853
- * 投递未确认数量
1825
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1854
1826
  */
1855
- Inflight?: number
1827
+ RequestId?: string
1856
1828
  }
1857
1829
 
1858
1830
  /**
@@ -2162,6 +2134,52 @@ export interface RevokedDeviceCertificateResponse {
2162
2134
  RequestId?: string
2163
2135
  }
2164
2136
 
2137
+ /**
2138
+ * CreateHttpAuthenticator请求参数结构体
2139
+ */
2140
+ export interface CreateHttpAuthenticatorRequest {
2141
+ /**
2142
+ * 实例ID
2143
+ */
2144
+ InstanceId: string
2145
+ /**
2146
+ * jwks端点
2147
+ */
2148
+ Endpoint: string
2149
+ /**
2150
+ * 最大并发连接数,默认8,范围:1-20
2151
+ */
2152
+ Concurrency?: number
2153
+ /**
2154
+ * 网络请求方法 Get 或 Post,默认post
2155
+ */
2156
+ Method?: string
2157
+ /**
2158
+ * 认证器是否开启:open-启用;close-关闭
2159
+ */
2160
+ Status?: string
2161
+ /**
2162
+ * 说明
2163
+ */
2164
+ Remark?: string
2165
+ /**
2166
+ * 连接超时时间,单位:秒,范围:1-30
2167
+ */
2168
+ ConnectTimeout?: number
2169
+ /**
2170
+ * 请求超时时间,单位:秒,范围:1-30
2171
+ */
2172
+ ReadTimeout?: number
2173
+ /**
2174
+ * 转发请求header
2175
+ */
2176
+ Header?: Array<HeaderItem>
2177
+ /**
2178
+ * 转发请求body
2179
+ */
2180
+ Body?: Array<BodyItem>
2181
+ }
2182
+
2165
2183
  /**
2166
2184
  * DescribeProductSKUList请求参数结构体
2167
2185
  */
@@ -2173,7 +2191,6 @@ export type DescribeProductSKUListRequest = null
2173
2191
  export interface DescribeTopicListResponse {
2174
2192
  /**
2175
2193
  * 查询总数
2176
- 注意:此字段可能返回 null,表示取不到有效值。
2177
2194
  */
2178
2195
  TotalCount?: number
2179
2196
  /**
@@ -2236,7 +2253,6 @@ export interface DescribeDeviceCertificateResponse {
2236
2253
  Format?: string
2237
2254
  /**
2238
2255
  * 客户端id
2239
- 注意:此字段可能返回 null,表示取不到有效值。
2240
2256
  */
2241
2257
  ClientId?: string
2242
2258
  /**
@@ -2248,6 +2264,10 @@ export interface DescribeDeviceCertificateResponse {
2248
2264
  * 证书生效开始时间
2249
2265
  */
2250
2266
  NotBeforeTime?: number
2267
+ /**
2268
+ * 组织单位
2269
+ */
2270
+ OrganizationalUnit?: string
2251
2271
  /**
2252
2272
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2253
2273
  */
@@ -2343,7 +2363,6 @@ export interface DescribeCaCertificatesRequest {
2343
2363
  export interface DeviceCertificateItem {
2344
2364
  /**
2345
2365
  * 客户端id
2346
- 注意:此字段可能返回 null,表示取不到有效值。
2347
2366
  */
2348
2367
  ClientId?: string
2349
2368
  /**
@@ -2374,14 +2393,16 @@ export interface DeviceCertificateItem {
2374
2393
  PENDING_ACTIVATION,//注册待激活
2375
2394
  */
2376
2395
  Status?: string
2396
+ /**
2397
+ * 组织单位
2398
+ */
2399
+ OrganizationalUnit?: string
2377
2400
  /**
2378
2401
  * 上次激活时间
2379
- 注意:此字段可能返回 null,表示取不到有效值。
2380
2402
  */
2381
2403
  LastActivationTime?: number
2382
2404
  /**
2383
2405
  * 上次取消激活时间
2384
- 注意:此字段可能返回 null,表示取不到有效值。
2385
2406
  */
2386
2407
  LastInactivationTime?: number
2387
2408
  /**
@@ -2390,24 +2411,20 @@ export interface DeviceCertificateItem {
2390
2411
  CreatedTime?: number
2391
2412
  /**
2392
2413
  * 预销毁时间
2393
- 注意:此字段可能返回 null,表示取不到有效值。
2394
2414
  */
2395
2415
  UpdateTime?: number
2396
2416
  /**
2397
2417
  * 证书来源:
2398
2418
  API, 手动注册
2399
2419
  JITP 自动注册
2400
- 注意:此字段可能返回 null,表示取不到有效值。
2401
2420
  */
2402
2421
  CertificateSource?: string
2403
2422
  /**
2404
2423
  * 证书失效日期
2405
- 注意:此字段可能返回 null,表示取不到有效值。
2406
2424
  */
2407
2425
  NotAfterTime?: number
2408
2426
  /**
2409
2427
  * 证书生效开始日期
2410
- 注意:此字段可能返回 null,表示取不到有效值。
2411
2428
  */
2412
2429
  NotBeforeTime?: number
2413
2430
  }
@@ -2418,47 +2435,38 @@ JITP 自动注册
2418
2435
  export interface MQTTClientInfo {
2419
2436
  /**
2420
2437
  * 客户端唯一标识
2421
- 注意:此字段可能返回 null,表示取不到有效值。
2422
2438
  */
2423
2439
  ClientId?: string
2424
2440
  /**
2425
2441
  * 客户端网络地址
2426
- 注意:此字段可能返回 null,表示取不到有效值。
2427
2442
  */
2428
2443
  ClientAddress?: string
2429
2444
  /**
2430
2445
  * MQTT 协议版本,4 表示 MQTT 3.1.1
2431
- 注意:此字段可能返回 null,表示取不到有效值。
2432
2446
  */
2433
2447
  ProtocolVersion?: number
2434
2448
  /**
2435
2449
  * 保持连接时间,单位:秒
2436
- 注意:此字段可能返回 null,表示取不到有效值。
2437
2450
  */
2438
2451
  Keepalive?: number
2439
2452
  /**
2440
2453
  * 连接状态,CONNECTED 已连接,DISCONNECTED 未连接
2441
- 注意:此字段可能返回 null,表示取不到有效值。
2442
2454
  */
2443
2455
  ConnectionStatus?: string
2444
2456
  /**
2445
2457
  * 客户端创建时间
2446
- 注意:此字段可能返回 null,表示取不到有效值。
2447
2458
  */
2448
2459
  CreateTime?: number
2449
2460
  /**
2450
2461
  * 上次建立连接时间
2451
- 注意:此字段可能返回 null,表示取不到有效值。
2452
2462
  */
2453
2463
  ConnectTime?: number
2454
2464
  /**
2455
2465
  * 上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义
2456
- 注意:此字段可能返回 null,表示取不到有效值。
2457
2466
  */
2458
2467
  DisconnectTime?: number
2459
2468
  /**
2460
2469
  * 客户端的订阅列表
2461
- 注意:此字段可能返回 null,表示取不到有效值。
2462
2470
  */
2463
2471
  MQTTClientSubscriptions?: Array<MQTTClientSubscription>
2464
2472
  }
@@ -2477,7 +2485,6 @@ export interface MQTTTopicItem {
2477
2485
  Topic?: string
2478
2486
  /**
2479
2487
  * 主题描述
2480
- 注意:此字段可能返回 null,表示取不到有效值。
2481
2488
  */
2482
2489
  Remark?: string
2483
2490
  }
@@ -2500,7 +2507,6 @@ export interface PriceTag {
2500
2507
  Code?: string
2501
2508
  /**
2502
2509
  * 步长
2503
- 注意:此字段可能返回 null,表示取不到有效值。
2504
2510
  */
2505
2511
  Step?: number
2506
2512
  }
@@ -2626,6 +2632,52 @@ MANUAL 手动注册
2626
2632
  AutomaticActivation?: boolean
2627
2633
  }
2628
2634
 
2635
+ /**
2636
+ * ModifyHttpAuthenticator请求参数结构体
2637
+ */
2638
+ export interface ModifyHttpAuthenticatorRequest {
2639
+ /**
2640
+ * 实例ID
2641
+ */
2642
+ InstanceId: string
2643
+ /**
2644
+ * 端点
2645
+ */
2646
+ Endpoint?: string
2647
+ /**
2648
+ * 认证器状态:open-启用;close-关闭
2649
+ */
2650
+ Status?: string
2651
+ /**
2652
+ * 最大并发连接数,默认8,范围:1-20
2653
+ */
2654
+ Concurrency?: number
2655
+ /**
2656
+ * 连接超时时间,单位:秒,范围:1-30
2657
+ */
2658
+ ConnectTimeout?: number
2659
+ /**
2660
+ * 请求超时时间,单位:秒,范围:1-30
2661
+ */
2662
+ ReadTimeout?: number
2663
+ /**
2664
+ * 说明
2665
+ */
2666
+ Remark?: string
2667
+ /**
2668
+ * 请求方法,GET 或者 POST
2669
+ */
2670
+ Method?: string
2671
+ /**
2672
+ * 请求header
2673
+ */
2674
+ Header?: Array<HeaderItem>
2675
+ /**
2676
+ * 请求body
2677
+ */
2678
+ Body?: Array<BodyItem>
2679
+ }
2680
+
2629
2681
  /**
2630
2682
  * DescribeInstance请求参数结构体
2631
2683
  */
@@ -2692,7 +2744,6 @@ export interface IpRule {
2692
2744
  Allow: boolean
2693
2745
  /**
2694
2746
  * 备注信息
2695
- 注意:此字段可能返回 null,表示取不到有效值。
2696
2747
  */
2697
2748
  Remark: string
2698
2749
  }