tencentcloud-sdk-nodejs-mqtt 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 +1 -1
- package/src/services/mqtt/v20240516/mqtt_client.ts +30 -4
- package/src/services/mqtt/v20240516/mqtt_models.ts +239 -188
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +9 -1
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +12 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +230 -185
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
20
|
UpdateAuthorizationPolicyPriorityResponse,
|
|
21
|
-
|
|
21
|
+
MQTTClientSubscription,
|
|
22
22
|
DeleteUserRequest,
|
|
23
23
|
ModifyJWTAuthenticatorResponse,
|
|
24
24
|
CaCertificateItem,
|
|
@@ -49,10 +49,12 @@ import {
|
|
|
49
49
|
DescribeClientListResponse,
|
|
50
50
|
Tag,
|
|
51
51
|
DescribeMessageListResponse,
|
|
52
|
+
HeaderItem,
|
|
52
53
|
MQTTInstanceItem,
|
|
53
54
|
DescribeInstanceListResponse,
|
|
54
55
|
ApplyRegistrationCodeResponse,
|
|
55
56
|
ModifyInstanceResponse,
|
|
57
|
+
CreateHttpAuthenticatorResponse,
|
|
56
58
|
ModifyInsPublicEndpointResponse,
|
|
57
59
|
MQTTMessageItem,
|
|
58
60
|
ModifyJWKSAuthenticatorResponse,
|
|
@@ -73,6 +75,7 @@ import {
|
|
|
73
75
|
CreateJWKSAuthenticatorRequest,
|
|
74
76
|
DescribeTopicResponse,
|
|
75
77
|
CreateJWKSAuthenticatorResponse,
|
|
78
|
+
ModifyHttpAuthenticatorResponse,
|
|
76
79
|
DescribeAuthorizationPoliciesResponse,
|
|
77
80
|
CreateTopicRequest,
|
|
78
81
|
DeleteCaCertificateResponse,
|
|
@@ -82,16 +85,17 @@ import {
|
|
|
82
85
|
DeactivateDeviceCertificateResponse,
|
|
83
86
|
MQTTUserItem,
|
|
84
87
|
ActivateCaCertificateRequest,
|
|
88
|
+
BodyItem,
|
|
85
89
|
ActivateDeviceCertificateResponse,
|
|
86
90
|
DescribeTopicRequest,
|
|
87
91
|
PublishMessageRequest,
|
|
88
|
-
|
|
92
|
+
AuthorizationPolicyItem,
|
|
89
93
|
DescribeClientListRequest,
|
|
90
94
|
DeleteInsPublicEndpointResponse,
|
|
91
95
|
MQTTEndpointItem,
|
|
92
96
|
DescribeInsVPCEndpointsRequest,
|
|
93
97
|
DescribeTopicListRequest,
|
|
94
|
-
|
|
98
|
+
CreateTopicResponse,
|
|
95
99
|
RevokedDeviceCertificateRequest,
|
|
96
100
|
CreateAuthorizationPolicyResponse,
|
|
97
101
|
DescribeAuthenticatorRequest,
|
|
@@ -101,7 +105,7 @@ import {
|
|
|
101
105
|
RegisterDeviceCertificateRequest,
|
|
102
106
|
Filter,
|
|
103
107
|
DeactivateDeviceCertificateRequest,
|
|
104
|
-
|
|
108
|
+
DescribeDeviceCertificatesResponse,
|
|
105
109
|
ModifyTopicRequest,
|
|
106
110
|
CreateUserRequest,
|
|
107
111
|
DescribeInstanceResponse,
|
|
@@ -117,6 +121,7 @@ import {
|
|
|
117
121
|
DeleteAuthorizationPolicyRequest,
|
|
118
122
|
DescribeAuthorizationPoliciesRequest,
|
|
119
123
|
RevokedDeviceCertificateResponse,
|
|
124
|
+
CreateHttpAuthenticatorRequest,
|
|
120
125
|
DescribeProductSKUListRequest,
|
|
121
126
|
DescribeTopicListResponse,
|
|
122
127
|
DescribeDeviceCertificateResponse,
|
|
@@ -132,6 +137,7 @@ import {
|
|
|
132
137
|
DescribeSharedSubscriptionLagRequest,
|
|
133
138
|
DeleteTopicResponse,
|
|
134
139
|
ModifyInstanceCertBindingRequest,
|
|
140
|
+
ModifyHttpAuthenticatorRequest,
|
|
135
141
|
DescribeInstanceRequest,
|
|
136
142
|
DescribeCaCertificatesResponse,
|
|
137
143
|
ModifyUserRequest,
|
|
@@ -559,6 +565,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
559
565
|
return this.request("DeleteAuthorizationPolicy", req, cb)
|
|
560
566
|
}
|
|
561
567
|
|
|
568
|
+
/**
|
|
569
|
+
* 修改MQTT HTTP 认证器
|
|
570
|
+
*/
|
|
571
|
+
async ModifyHttpAuthenticator(
|
|
572
|
+
req: ModifyHttpAuthenticatorRequest,
|
|
573
|
+
cb?: (error: string, rep: ModifyHttpAuthenticatorResponse) => void
|
|
574
|
+
): Promise<ModifyHttpAuthenticatorResponse> {
|
|
575
|
+
return this.request("ModifyHttpAuthenticator", req, cb)
|
|
576
|
+
}
|
|
577
|
+
|
|
562
578
|
/**
|
|
563
579
|
* 根据认证器类型删除一个MQTT认证器
|
|
564
580
|
*/
|
|
@@ -658,4 +674,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
658
674
|
): Promise<ModifyInstanceResponse> {
|
|
659
675
|
return this.request("ModifyInstance", req, cb)
|
|
660
676
|
}
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* 创建一个HTTP的认证器
|
|
680
|
+
*/
|
|
681
|
+
async CreateHttpAuthenticator(
|
|
682
|
+
req: CreateHttpAuthenticatorRequest,
|
|
683
|
+
cb?: (error: string, rep: CreateHttpAuthenticatorResponse) => void
|
|
684
|
+
): Promise<CreateHttpAuthenticatorResponse> {
|
|
685
|
+
return this.request("CreateHttpAuthenticator", req, cb)
|
|
686
|
+
}
|
|
661
687
|
}
|