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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.1047",
3
+ "version": "4.0.1048",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.1047"
1
+ export const sdkVersion = "4.0.1048"
@@ -3528,7 +3528,7 @@ export interface CreateCCPrecisionPolicyRequest {
3528
3528
  */
3529
3529
  Domain: string
3530
3530
  /**
3531
- * 策略方式,可取值alg表示验证码,drop表示丢弃
3531
+ * 策略方式,可取值alg表示验证码,drop表示丢弃,trans表示放行
3532
3532
  */
3533
3533
  PolicyAction: string
3534
3534
  /**
@@ -146,7 +146,7 @@ export interface DescribeInstanceNodesRequest {
146
146
  */
147
147
  InstanceId: string
148
148
  /**
149
- * 集群角色类型,默认为 "data"数据节点
149
+ * 集群角色类型,“DATA” 为数据节点、“COMMON” 为 ZooKeeper 节点,默认为 "DATA" 数据节点。
150
150
  */
151
151
  NodeRole?: string
152
152
  /**
@@ -1292,12 +1292,12 @@ export interface DescribeInstanceNodesResponse {
1292
1292
  /**
1293
1293
  * 总数
1294
1294
  */
1295
- TotalCount: number
1295
+ TotalCount?: number
1296
1296
  /**
1297
1297
  * 实例节点总数
1298
1298
  注意:此字段可能返回 null,表示取不到有效值。
1299
1299
  */
1300
- InstanceNodesList: Array<InstanceNode>
1300
+ InstanceNodesList?: Array<InstanceNode>
1301
1301
  /**
1302
1302
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1303
1303
  */
@@ -89,32 +89,26 @@ export interface DescribeFileSystemResponse {
89
89
  FileSystem?: FileSystem
90
90
  /**
91
91
  * 文件系统已使用容量(byte)
92
- 注意:此字段可能返回 null,表示取不到有效值。
93
92
  */
94
93
  CapacityUsed?: number
95
94
  /**
96
95
  * 已使用COS归档存储容量(byte)
97
- 注意:此字段可能返回 null,表示取不到有效值。
98
96
  */
99
97
  ArchiveCapacityUsed?: number
100
98
  /**
101
99
  * 已使用COS标准存储容量(byte)
102
- 注意:此字段可能返回 null,表示取不到有效值。
103
100
  */
104
101
  StandardCapacityUsed?: number
105
102
  /**
106
103
  * 已使用COS低频存储容量(byte)
107
- 注意:此字段可能返回 null,表示取不到有效值。
108
104
  */
109
105
  DegradeCapacityUsed?: number
110
106
  /**
111
107
  * 已使用COS深度归档存储容量(byte)
112
- 注意:此字段可能返回 null,表示取不到有效值。
113
108
  */
114
109
  DeepArchiveCapacityUsed?: number
115
110
  /**
116
111
  * 已使用COS智能分层存储容量(byte)
117
- 注意:此字段可能返回 null,表示取不到有效值。
118
112
  */
119
113
  IntelligentCapacityUsed?: number
120
114
  /**
@@ -624,7 +624,7 @@ export class Client extends AbstractClient {
624
624
  }
625
625
 
626
626
  /**
627
- * 本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。
627
+ * 本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。
628
628
  */
629
629
  async EnableTransparentDataEncryption(
630
630
  req: EnableTransparentDataEncryptionRequest,
@@ -19,7 +19,7 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  UpdateAuthorizationPolicyPriorityResponse,
22
- DescribeDeviceCertificatesResponse,
22
+ MQTTClientSubscription,
23
23
  DeleteUserRequest,
24
24
  ModifyJWTAuthenticatorResponse,
25
25
  CaCertificateItem,
@@ -50,10 +50,12 @@ import {
50
50
  DescribeClientListResponse,
51
51
  Tag,
52
52
  DescribeMessageListResponse,
53
+ HeaderItem,
53
54
  MQTTInstanceItem,
54
55
  DescribeInstanceListResponse,
55
56
  ApplyRegistrationCodeResponse,
56
57
  ModifyInstanceResponse,
58
+ CreateHttpAuthenticatorResponse,
57
59
  ModifyInsPublicEndpointResponse,
58
60
  MQTTMessageItem,
59
61
  ModifyJWKSAuthenticatorResponse,
@@ -74,6 +76,7 @@ import {
74
76
  CreateJWKSAuthenticatorRequest,
75
77
  DescribeTopicResponse,
76
78
  CreateJWKSAuthenticatorResponse,
79
+ ModifyHttpAuthenticatorResponse,
77
80
  DescribeAuthorizationPoliciesResponse,
78
81
  CreateTopicRequest,
79
82
  DeleteCaCertificateResponse,
@@ -83,16 +86,17 @@ import {
83
86
  DeactivateDeviceCertificateResponse,
84
87
  MQTTUserItem,
85
88
  ActivateCaCertificateRequest,
89
+ BodyItem,
86
90
  ActivateDeviceCertificateResponse,
87
91
  DescribeTopicRequest,
88
92
  PublishMessageRequest,
89
- CreateTopicResponse,
93
+ AuthorizationPolicyItem,
90
94
  DescribeClientListRequest,
91
95
  DeleteInsPublicEndpointResponse,
92
96
  MQTTEndpointItem,
93
97
  DescribeInsVPCEndpointsRequest,
94
98
  DescribeTopicListRequest,
95
- AuthorizationPolicyItem,
99
+ CreateTopicResponse,
96
100
  RevokedDeviceCertificateRequest,
97
101
  CreateAuthorizationPolicyResponse,
98
102
  DescribeAuthenticatorRequest,
@@ -102,7 +106,7 @@ import {
102
106
  RegisterDeviceCertificateRequest,
103
107
  Filter,
104
108
  DeactivateDeviceCertificateRequest,
105
- MQTTClientSubscription,
109
+ DescribeDeviceCertificatesResponse,
106
110
  ModifyTopicRequest,
107
111
  CreateUserRequest,
108
112
  DescribeInstanceResponse,
@@ -118,6 +122,7 @@ import {
118
122
  DeleteAuthorizationPolicyRequest,
119
123
  DescribeAuthorizationPoliciesRequest,
120
124
  RevokedDeviceCertificateResponse,
125
+ CreateHttpAuthenticatorRequest,
121
126
  DescribeProductSKUListRequest,
122
127
  DescribeTopicListResponse,
123
128
  DescribeDeviceCertificateResponse,
@@ -133,6 +138,7 @@ import {
133
138
  DescribeSharedSubscriptionLagRequest,
134
139
  DeleteTopicResponse,
135
140
  ModifyInstanceCertBindingRequest,
141
+ ModifyHttpAuthenticatorRequest,
136
142
  DescribeInstanceRequest,
137
143
  DescribeCaCertificatesResponse,
138
144
  ModifyUserRequest,
@@ -560,6 +566,16 @@ export class Client extends AbstractClient {
560
566
  return this.request("DeleteAuthorizationPolicy", req, cb)
561
567
  }
562
568
 
569
+ /**
570
+ * 修改MQTT HTTP 认证器
571
+ */
572
+ async ModifyHttpAuthenticator(
573
+ req: ModifyHttpAuthenticatorRequest,
574
+ cb?: (error: string, rep: ModifyHttpAuthenticatorResponse) => void
575
+ ): Promise<ModifyHttpAuthenticatorResponse> {
576
+ return this.request("ModifyHttpAuthenticator", req, cb)
577
+ }
578
+
563
579
  /**
564
580
  * 根据认证器类型删除一个MQTT认证器
565
581
  */
@@ -659,4 +675,14 @@ export class Client extends AbstractClient {
659
675
  ): Promise<ModifyInstanceResponse> {
660
676
  return this.request("ModifyInstance", req, cb)
661
677
  }
678
+
679
+ /**
680
+ * 创建一个HTTP的认证器
681
+ */
682
+ async CreateHttpAuthenticator(
683
+ req: CreateHttpAuthenticatorRequest,
684
+ cb?: (error: string, rep: CreateHttpAuthenticatorResponse) => void
685
+ ): Promise<CreateHttpAuthenticatorResponse> {
686
+ return this.request("CreateHttpAuthenticator", req, cb)
687
+ }
662
688
  }