tencentcloud-sdk-mqtt 3.0.1015 → 3.0.1016

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f2b66726638d03730c699d7b4f416bcb1490c6d
4
- data.tar.gz: 52c0e3ed8dd51db1cc052bdf73cc75352b72bbec
3
+ metadata.gz: 67bdc9437540e7aeabfbefea72f9bad4795d88f2
4
+ data.tar.gz: 7ad766f0731140cc12d953263a1a107d4b3c3871
5
5
  SHA512:
6
- metadata.gz: bc4fa4a3683d4c91aca5f3da668153d3006a28b9040d14d98bf4424834736ada5246430f4af60932b5b0f1f1af2431e5674b5d6fa2ae42615ff350f9a5bf78b1
7
- data.tar.gz: fce1e5cae2a2aeaf8be0fb37d56c72cb49ef6458b49c6f65e630386bec942afd51ad8ac96605df54ff52a9999bb11303532b8781fb084a559b4f3229584c481a
6
+ metadata.gz: 9f511fb968b496b189217796099ae7d3acb118cce8a2e28cb408ca4ca9bc3afd82784f1de0f61b087014fe208538dac906e11000c75d2e7aaad0a0989b19af55
7
+ data.tar.gz: 8bb2872a8f3b823de838761d396f78c7e65fe4c4d2ad7db1ef77479d5bf36de75cd1b744266277f2ccb5edb94814c528b199d6cb14e7530f36070c3db0789e98
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1015
1
+ 3.0.1016
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 创建一个HTTP的认证器
129
+
130
+ # @param request: Request instance for CreateHttpAuthenticator.
131
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::CreateHttpAuthenticatorRequest`
132
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::CreateHttpAuthenticatorResponse`
133
+ def CreateHttpAuthenticator(request)
134
+ body = send_request('CreateHttpAuthenticator', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = CreateHttpAuthenticatorResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
  # 为MQTT实例创建公网接入点
129
153
 
130
154
  # @param request: Request instance for CreateInsPublicEndpoint.
@@ -951,6 +975,30 @@ module TencentCloud
951
975
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
952
976
  end
953
977
 
978
+ # 修改MQTT HTTP 认证器
979
+
980
+ # @param request: Request instance for ModifyHttpAuthenticator.
981
+ # @type request: :class:`Tencentcloud::mqtt::V20240516::ModifyHttpAuthenticatorRequest`
982
+ # @rtype: :class:`Tencentcloud::mqtt::V20240516::ModifyHttpAuthenticatorResponse`
983
+ def ModifyHttpAuthenticator(request)
984
+ body = send_request('ModifyHttpAuthenticator', request.serialize)
985
+ response = JSON.parse(body)
986
+ if response['Response'].key?('Error') == false
987
+ model = ModifyHttpAuthenticatorResponse.new
988
+ model.deserialize(response['Response'])
989
+ model
990
+ else
991
+ code = response['Response']['Error']['Code']
992
+ message = response['Response']['Error']['Message']
993
+ reqid = response['Response']['RequestId']
994
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
995
+ end
996
+ rescue TencentCloud::Common::TencentCloudSDKException => e
997
+ raise e
998
+ rescue StandardError => e
999
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1000
+ end
1001
+
954
1002
  # 更新MQTT实例公网接入点
955
1003
 
956
1004
  # @param request: Request instance for ModifyInsPublicEndpoint.
@@ -136,42 +136,30 @@ module TencentCloud
136
136
  # @param InstanceId: 集群ID
137
137
  # @type InstanceId: String
138
138
  # @param PolicyName: 规则名
139
- # 注意:此字段可能返回 null,表示取不到有效值。
140
139
  # @type PolicyName: String
141
140
  # @param Version: 规则语法版本
142
- # 注意:此字段可能返回 null,表示取不到有效值。
143
141
  # @type Version: Integer
144
142
  # @param Priority: 越小越优先
145
- # 注意:此字段可能返回 null,表示取不到有效值。
146
143
  # @type Priority: Integer
147
144
  # @param Effect: allow/deny
148
- # 注意:此字段可能返回 null,表示取不到有效值。
149
145
  # @type Effect: String
150
146
  # @param Actions: connect、pub、sub
151
- # 注意:此字段可能返回 null,表示取不到有效值。
152
147
  # @type Actions: String
153
148
  # @param Resources: 资源
154
- # 注意:此字段可能返回 null,表示取不到有效值。
155
149
  # @type Resources: String
156
150
  # @param ClientId: client
157
- # 注意:此字段可能返回 null,表示取不到有效值。
158
151
  # @type ClientId: String
159
152
  # @param Username: 用户
160
- # 注意:此字段可能返回 null,表示取不到有效值。
161
153
  # @type Username: String
162
154
  # @param Ip: IP地址
163
- # 注意:此字段可能返回 null,表示取不到有效值。
164
155
  # @type Ip: String
165
156
  # @param Qos: 0,1,2
166
- # 注意:此字段可能返回 null,表示取不到有效值。
167
157
  # @type Qos: String
168
158
  # @param Retain: 1:表示匹配retain消息
169
159
  # 2:表示匹配非retain消息
170
160
  # 3:表示匹配retain和非retain消息
171
- # 注意:此字段可能返回 null,表示取不到有效值。
172
161
  # @type Retain: Integer
173
162
  # @param Remark: 描述
174
- # 注意:此字段可能返回 null,表示取不到有效值。
175
163
  # @type Remark: String
176
164
  # @param CreatedTime: 1713164969433
177
165
  # @type CreatedTime: Integer
@@ -222,10 +210,8 @@ module TencentCloud
222
210
  # 策略规则优先级
223
211
  class AuthorizationPolicyPriority < TencentCloud::Common::AbstractModel
224
212
  # @param Id: 策略id
225
- # 注意:此字段可能返回 null,表示取不到有效值。
226
213
  # @type Id: Integer
227
214
  # @param Priority: 优先级
228
- # 注意:此字段可能返回 null,表示取不到有效值。
229
215
  # @type Priority: Integer
230
216
 
231
217
  attr_accessor :Id, :Priority
@@ -241,6 +227,26 @@ module TencentCloud
241
227
  end
242
228
  end
243
229
 
230
+ # HTTP 认证器body
231
+ class BodyItem < TencentCloud::Common::AbstractModel
232
+ # @param Key: body key
233
+ # @type Key: String
234
+ # @param Value: body key
235
+ # @type Value: String
236
+
237
+ attr_accessor :Key, :Value
238
+
239
+ def initialize(key=nil, value=nil)
240
+ @Key = key
241
+ @Value = value
242
+ end
243
+
244
+ def deserialize(params)
245
+ @Key = params['Key']
246
+ @Value = params['Value']
247
+ end
248
+ end
249
+
244
250
  # CA证书信息
245
251
  class CaCertificateItem < TencentCloud::Common::AbstractModel
246
252
  # @param CaCn: common name
@@ -254,28 +260,20 @@ module TencentCloud
254
260
  # @param VerificationCertificate: 验证证书内容
255
261
  # @type VerificationCertificate: String
256
262
  # @param Status: ca状态
257
- # 注意:此字段可能返回 null,表示取不到有效值。
258
263
  # @type Status: String
259
264
  # @param LastActivationTime: 上次激活时间
260
- # 注意:此字段可能返回 null,表示取不到有效值。
261
265
  # @type LastActivationTime: Integer
262
266
  # @param CreatedTime: 创建时间
263
- # 注意:此字段可能返回 null,表示取不到有效值。
264
267
  # @type CreatedTime: Integer
265
268
  # @param UpdateTime: 预销毁时间
266
- # 注意:此字段可能返回 null,表示取不到有效值。
267
269
  # @type UpdateTime: Integer
268
270
  # @param LastInactivationTime: 上次去激活时间
269
- # 注意:此字段可能返回 null,表示取不到有效值。
270
271
  # @type LastInactivationTime: Integer
271
272
  # @param CaIssuerCn: Ca证书颁发者CN
272
- # 注意:此字段可能返回 null,表示取不到有效值。
273
273
  # @type CaIssuerCn: String
274
274
  # @param NotBeforeTime: 生效时间
275
- # 注意:此字段可能返回 null,表示取不到有效值。
276
275
  # @type NotBeforeTime: Integer
277
276
  # @param NotAfterTime: 失效时间
278
- # 注意:此字段可能返回 null,表示取不到有效值。
279
277
  # @type NotAfterTime: Integer
280
278
 
281
279
  attr_accessor :CaCn, :CaCertificate, :CaSn, :Format, :VerificationCertificate, :Status, :LastActivationTime, :CreatedTime, :UpdateTime, :LastInactivationTime, :CaIssuerCn, :NotBeforeTime, :NotAfterTime
@@ -393,6 +391,88 @@ module TencentCloud
393
391
  end
394
392
  end
395
393
 
394
+ # CreateHttpAuthenticator请求参数结构体
395
+ class CreateHttpAuthenticatorRequest < TencentCloud::Common::AbstractModel
396
+ # @param InstanceId: 实例ID
397
+ # @type InstanceId: String
398
+ # @param Endpoint: jwks端点
399
+ # @type Endpoint: String
400
+ # @param Concurrency: 最大并发连接数,默认8,范围:1-20
401
+ # @type Concurrency: Integer
402
+ # @param Method: 网络请求方法 Get 或 Post,默认post
403
+ # @type Method: String
404
+ # @param Status: 认证器是否开启:open-启用;close-关闭
405
+ # @type Status: String
406
+ # @param Remark: 说明
407
+ # @type Remark: String
408
+ # @param ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
409
+ # @type ConnectTimeout: Integer
410
+ # @param ReadTimeout: 请求超时时间,单位:秒,范围:1-30
411
+ # @type ReadTimeout: Integer
412
+ # @param Header: 转发请求header
413
+ # @type Header: Array
414
+ # @param Body: 转发请求body
415
+ # @type Body: Array
416
+
417
+ attr_accessor :InstanceId, :Endpoint, :Concurrency, :Method, :Status, :Remark, :ConnectTimeout, :ReadTimeout, :Header, :Body
418
+
419
+ def initialize(instanceid=nil, endpoint=nil, concurrency=nil, method=nil, status=nil, remark=nil, connecttimeout=nil, readtimeout=nil, header=nil, body=nil)
420
+ @InstanceId = instanceid
421
+ @Endpoint = endpoint
422
+ @Concurrency = concurrency
423
+ @Method = method
424
+ @Status = status
425
+ @Remark = remark
426
+ @ConnectTimeout = connecttimeout
427
+ @ReadTimeout = readtimeout
428
+ @Header = header
429
+ @Body = body
430
+ end
431
+
432
+ def deserialize(params)
433
+ @InstanceId = params['InstanceId']
434
+ @Endpoint = params['Endpoint']
435
+ @Concurrency = params['Concurrency']
436
+ @Method = params['Method']
437
+ @Status = params['Status']
438
+ @Remark = params['Remark']
439
+ @ConnectTimeout = params['ConnectTimeout']
440
+ @ReadTimeout = params['ReadTimeout']
441
+ unless params['Header'].nil?
442
+ @Header = []
443
+ params['Header'].each do |i|
444
+ headeritem_tmp = HeaderItem.new
445
+ headeritem_tmp.deserialize(i)
446
+ @Header << headeritem_tmp
447
+ end
448
+ end
449
+ unless params['Body'].nil?
450
+ @Body = []
451
+ params['Body'].each do |i|
452
+ bodyitem_tmp = BodyItem.new
453
+ bodyitem_tmp.deserialize(i)
454
+ @Body << bodyitem_tmp
455
+ end
456
+ end
457
+ end
458
+ end
459
+
460
+ # CreateHttpAuthenticator返回参数结构体
461
+ class CreateHttpAuthenticatorResponse < TencentCloud::Common::AbstractModel
462
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
463
+ # @type RequestId: String
464
+
465
+ attr_accessor :RequestId
466
+
467
+ def initialize(requestid=nil)
468
+ @RequestId = requestid
469
+ end
470
+
471
+ def deserialize(params)
472
+ @RequestId = params['RequestId']
473
+ end
474
+ end
475
+
396
476
  # CreateInsPublicEndpoint请求参数结构体
397
477
  class CreateInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
398
478
  # @param InstanceId: 实例ID
@@ -1237,7 +1317,6 @@ module TencentCloud
1237
1317
  # @param Format: 证书格式
1238
1318
  # @type Format: String
1239
1319
  # @param CaIssuerCn: Ca证书颁发者CN
1240
- # 注意:此字段可能返回 null,表示取不到有效值。
1241
1320
  # @type CaIssuerCn: String
1242
1321
  # @param NotBeforeTime: 生效开始时间
1243
1322
  # @type NotBeforeTime: Integer
@@ -1418,19 +1497,20 @@ module TencentCloud
1418
1497
  # @param Format: 证书格式
1419
1498
  # @type Format: String
1420
1499
  # @param ClientId: 客户端id
1421
- # 注意:此字段可能返回 null,表示取不到有效值。
1422
1500
  # @type ClientId: String
1423
1501
  # @param CertificateSource: API, 手动注册
1424
1502
  # JITP 自动注册
1425
1503
  # @type CertificateSource: String
1426
1504
  # @param NotBeforeTime: 证书生效开始时间
1427
1505
  # @type NotBeforeTime: Integer
1506
+ # @param OrganizationalUnit: 组织单位
1507
+ # @type OrganizationalUnit: String
1428
1508
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1429
1509
  # @type RequestId: String
1430
1510
 
1431
- attr_accessor :CreatedTime, :UpdateTime, :NotAfterTime, :LastActivationTime, :LastInactivationTime, :Status, :CaSn, :DeviceCertificateSn, :DeviceCertificate, :DeviceCertificateCn, :Format, :ClientId, :CertificateSource, :NotBeforeTime, :RequestId
1511
+ attr_accessor :CreatedTime, :UpdateTime, :NotAfterTime, :LastActivationTime, :LastInactivationTime, :Status, :CaSn, :DeviceCertificateSn, :DeviceCertificate, :DeviceCertificateCn, :Format, :ClientId, :CertificateSource, :NotBeforeTime, :OrganizationalUnit, :RequestId
1432
1512
 
1433
- def initialize(createdtime=nil, updatetime=nil, notaftertime=nil, lastactivationtime=nil, lastinactivationtime=nil, status=nil, casn=nil, devicecertificatesn=nil, devicecertificate=nil, devicecertificatecn=nil, format=nil, clientid=nil, certificatesource=nil, notbeforetime=nil, requestid=nil)
1513
+ def initialize(createdtime=nil, updatetime=nil, notaftertime=nil, lastactivationtime=nil, lastinactivationtime=nil, status=nil, casn=nil, devicecertificatesn=nil, devicecertificate=nil, devicecertificatecn=nil, format=nil, clientid=nil, certificatesource=nil, notbeforetime=nil, organizationalunit=nil, requestid=nil)
1434
1514
  @CreatedTime = createdtime
1435
1515
  @UpdateTime = updatetime
1436
1516
  @NotAfterTime = notaftertime
@@ -1445,6 +1525,7 @@ module TencentCloud
1445
1525
  @ClientId = clientid
1446
1526
  @CertificateSource = certificatesource
1447
1527
  @NotBeforeTime = notbeforetime
1528
+ @OrganizationalUnit = organizationalunit
1448
1529
  @RequestId = requestid
1449
1530
  end
1450
1531
 
@@ -1463,6 +1544,7 @@ module TencentCloud
1463
1544
  @ClientId = params['ClientId']
1464
1545
  @CertificateSource = params['CertificateSource']
1465
1546
  @NotBeforeTime = params['NotBeforeTime']
1547
+ @OrganizationalUnit = params['OrganizationalUnit']
1466
1548
  @RequestId = params['RequestId']
1467
1549
  end
1468
1550
  end
@@ -1702,7 +1784,6 @@ module TencentCloud
1702
1784
  # DescribeInstanceList返回参数结构体
1703
1785
  class DescribeInstanceListResponse < TencentCloud::Common::AbstractModel
1704
1786
  # @param TotalCount: 查询总数
1705
- # 注意:此字段可能返回 null,表示取不到有效值。
1706
1787
  # @type TotalCount: Integer
1707
1788
  # @param Data: 实例列表
1708
1789
  # @type Data: Array
@@ -1902,10 +1983,8 @@ module TencentCloud
1902
1983
  # DescribeMessageList返回参数结构体
1903
1984
  class DescribeMessageListResponse < TencentCloud::Common::AbstractModel
1904
1985
  # @param TotalCount: 查询总数
1905
- # 注意:此字段可能返回 null,表示取不到有效值。
1906
1986
  # @type TotalCount: Integer
1907
1987
  # @param Data: 消息记录列表
1908
- # 注意:此字段可能返回 null,表示取不到有效值。
1909
1988
  # @type Data: Array
1910
1989
  # @param TaskRequestId: 请求任务id
1911
1990
  # @type TaskRequestId: String
@@ -1950,10 +2029,8 @@ module TencentCloud
1950
2029
  # DescribeProductSKUList返回参数结构体
1951
2030
  class DescribeProductSKUListResponse < TencentCloud::Common::AbstractModel
1952
2031
  # @param TotalCount: 查询总数
1953
- # 注意:此字段可能返回 null,表示取不到有效值。
1954
2032
  # @type TotalCount: Integer
1955
2033
  # @param MQTTProductSkuList: mqtt商品配置信息
1956
- # 注意:此字段可能返回 null,表示取不到有效值。
1957
2034
  # @type MQTTProductSkuList: Array
1958
2035
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1959
2036
  # @type RequestId: String
@@ -2059,7 +2136,6 @@ module TencentCloud
2059
2136
  # DescribeTopicList返回参数结构体
2060
2137
  class DescribeTopicListResponse < TencentCloud::Common::AbstractModel
2061
2138
  # @param TotalCount: 查询总数
2062
- # 注意:此字段可能返回 null,表示取不到有效值。
2063
2139
  # @type TotalCount: Integer
2064
2140
  # @param Data: 主题列表
2065
2141
  # @type Data: Array
@@ -2179,7 +2255,6 @@ module TencentCloud
2179
2255
  # DescribeUserList返回参数结构体
2180
2256
  class DescribeUserListResponse < TencentCloud::Common::AbstractModel
2181
2257
  # @param TotalCount: 查询总数
2182
- # 注意:此字段可能返回 null,表示取不到有效值。
2183
2258
  # @type TotalCount: Integer
2184
2259
  # @param Data: 角色信息列表
2185
2260
  # @type Data: Array
@@ -2211,7 +2286,6 @@ module TencentCloud
2211
2286
  # 设备证书信息
2212
2287
  class DeviceCertificateItem < TencentCloud::Common::AbstractModel
2213
2288
  # @param ClientId: 客户端id
2214
- # 注意:此字段可能返回 null,表示取不到有效值。
2215
2289
  # @type ClientId: String
2216
2290
  # @param DeviceCertificate: 设备证书
2217
2291
  # @type DeviceCertificate: String
@@ -2229,32 +2303,28 @@ module TencentCloud
2229
2303
  # REVOKED,//吊销
2230
2304
  # PENDING_ACTIVATION,//注册待激活
2231
2305
  # @type Status: String
2306
+ # @param OrganizationalUnit: 组织单位
2307
+ # @type OrganizationalUnit: String
2232
2308
  # @param LastActivationTime: 上次激活时间
2233
- # 注意:此字段可能返回 null,表示取不到有效值。
2234
2309
  # @type LastActivationTime: Integer
2235
2310
  # @param LastInactivationTime: 上次取消激活时间
2236
- # 注意:此字段可能返回 null,表示取不到有效值。
2237
2311
  # @type LastInactivationTime: Integer
2238
2312
  # @param CreatedTime: 创建时间
2239
2313
  # @type CreatedTime: Integer
2240
2314
  # @param UpdateTime: 预销毁时间
2241
- # 注意:此字段可能返回 null,表示取不到有效值。
2242
2315
  # @type UpdateTime: Integer
2243
2316
  # @param CertificateSource: 证书来源:
2244
2317
  # API, 手动注册
2245
2318
  # JITP 自动注册
2246
- # 注意:此字段可能返回 null,表示取不到有效值。
2247
2319
  # @type CertificateSource: String
2248
2320
  # @param NotAfterTime: 证书失效日期
2249
- # 注意:此字段可能返回 null,表示取不到有效值。
2250
2321
  # @type NotAfterTime: Integer
2251
2322
  # @param NotBeforeTime: 证书生效开始日期
2252
- # 注意:此字段可能返回 null,表示取不到有效值。
2253
2323
  # @type NotBeforeTime: Integer
2254
2324
 
2255
- attr_accessor :ClientId, :DeviceCertificate, :DeviceCertificateSn, :DeviceCertificateCn, :CaSn, :Format, :Status, :LastActivationTime, :LastInactivationTime, :CreatedTime, :UpdateTime, :CertificateSource, :NotAfterTime, :NotBeforeTime
2325
+ attr_accessor :ClientId, :DeviceCertificate, :DeviceCertificateSn, :DeviceCertificateCn, :CaSn, :Format, :Status, :OrganizationalUnit, :LastActivationTime, :LastInactivationTime, :CreatedTime, :UpdateTime, :CertificateSource, :NotAfterTime, :NotBeforeTime
2256
2326
 
2257
- def initialize(clientid=nil, devicecertificate=nil, devicecertificatesn=nil, devicecertificatecn=nil, casn=nil, format=nil, status=nil, lastactivationtime=nil, lastinactivationtime=nil, createdtime=nil, updatetime=nil, certificatesource=nil, notaftertime=nil, notbeforetime=nil)
2327
+ def initialize(clientid=nil, devicecertificate=nil, devicecertificatesn=nil, devicecertificatecn=nil, casn=nil, format=nil, status=nil, organizationalunit=nil, lastactivationtime=nil, lastinactivationtime=nil, createdtime=nil, updatetime=nil, certificatesource=nil, notaftertime=nil, notbeforetime=nil)
2258
2328
  @ClientId = clientid
2259
2329
  @DeviceCertificate = devicecertificate
2260
2330
  @DeviceCertificateSn = devicecertificatesn
@@ -2262,6 +2332,7 @@ module TencentCloud
2262
2332
  @CaSn = casn
2263
2333
  @Format = format
2264
2334
  @Status = status
2335
+ @OrganizationalUnit = organizationalunit
2265
2336
  @LastActivationTime = lastactivationtime
2266
2337
  @LastInactivationTime = lastinactivationtime
2267
2338
  @CreatedTime = createdtime
@@ -2279,6 +2350,7 @@ module TencentCloud
2279
2350
  @CaSn = params['CaSn']
2280
2351
  @Format = params['Format']
2281
2352
  @Status = params['Status']
2353
+ @OrganizationalUnit = params['OrganizationalUnit']
2282
2354
  @LastActivationTime = params['LastActivationTime']
2283
2355
  @LastInactivationTime = params['LastInactivationTime']
2284
2356
  @CreatedTime = params['CreatedTime']
@@ -2309,6 +2381,26 @@ module TencentCloud
2309
2381
  end
2310
2382
  end
2311
2383
 
2384
+ # HTTP 认证器header
2385
+ class HeaderItem < TencentCloud::Common::AbstractModel
2386
+ # @param Key: header key
2387
+ # @type Key: String
2388
+ # @param Value: header value
2389
+ # @type Value: String
2390
+
2391
+ attr_accessor :Key, :Value
2392
+
2393
+ def initialize(key=nil, value=nil)
2394
+ @Key = key
2395
+ @Value = value
2396
+ end
2397
+
2398
+ def deserialize(params)
2399
+ @Key = params['Key']
2400
+ @Value = params['Value']
2401
+ end
2402
+ end
2403
+
2312
2404
  # IP规则
2313
2405
  class IpRule < TencentCloud::Common::AbstractModel
2314
2406
  # @param Ip: IP地址
@@ -2316,7 +2408,6 @@ module TencentCloud
2316
2408
  # @param Allow: 是否允许放行
2317
2409
  # @type Allow: Boolean
2318
2410
  # @param Remark: 备注信息
2319
- # 注意:此字段可能返回 null,表示取不到有效值。
2320
2411
  # @type Remark: String
2321
2412
 
2322
2413
  attr_accessor :Ip, :Allow, :Remark
@@ -2337,19 +2428,14 @@ module TencentCloud
2337
2428
  # MQTT认证器信息
2338
2429
  class MQTTAuthenticatorItem < TencentCloud::Common::AbstractModel
2339
2430
  # @param Type: 认证器类型: JWT:JWT认证器 JWKS:JWKS认证器 BYOC:一端一证认证器
2340
- # 注意:此字段可能返回 null,表示取不到有效值。
2341
2431
  # @type Type: String
2342
2432
  # @param Config: 认证器配置
2343
- # 注意:此字段可能返回 null,表示取不到有效值。
2344
2433
  # @type Config: String
2345
2434
  # @param Status: 认证器状态
2346
- # 注意:此字段可能返回 null,表示取不到有效值。
2347
2435
  # @type Status: String
2348
2436
  # @param CreateTime: 创建时间
2349
- # 注意:此字段可能返回 null,表示取不到有效值。
2350
2437
  # @type CreateTime: Integer
2351
2438
  # @param Remark: 说明
2352
- # 注意:此字段可能返回 null,表示取不到有效值。
2353
2439
  # @type Remark: String
2354
2440
 
2355
2441
  attr_accessor :Type, :Config, :Status, :CreateTime, :Remark
@@ -2374,31 +2460,22 @@ module TencentCloud
2374
2460
  # MQTT客户端信息
2375
2461
  class MQTTClientInfo < TencentCloud::Common::AbstractModel
2376
2462
  # @param ClientId: 客户端唯一标识
2377
- # 注意:此字段可能返回 null,表示取不到有效值。
2378
2463
  # @type ClientId: String
2379
2464
  # @param ClientAddress: 客户端网络地址
2380
- # 注意:此字段可能返回 null,表示取不到有效值。
2381
2465
  # @type ClientAddress: String
2382
2466
  # @param ProtocolVersion: MQTT 协议版本,4 表示 MQTT 3.1.1
2383
- # 注意:此字段可能返回 null,表示取不到有效值。
2384
2467
  # @type ProtocolVersion: Integer
2385
2468
  # @param Keepalive: 保持连接时间,单位:秒
2386
- # 注意:此字段可能返回 null,表示取不到有效值。
2387
2469
  # @type Keepalive: Integer
2388
2470
  # @param ConnectionStatus: 连接状态,CONNECTED 已连接,DISCONNECTED 未连接
2389
- # 注意:此字段可能返回 null,表示取不到有效值。
2390
2471
  # @type ConnectionStatus: String
2391
2472
  # @param CreateTime: 客户端创建时间
2392
- # 注意:此字段可能返回 null,表示取不到有效值。
2393
2473
  # @type CreateTime: Integer
2394
2474
  # @param ConnectTime: 上次建立连接时间
2395
- # 注意:此字段可能返回 null,表示取不到有效值。
2396
2475
  # @type ConnectTime: Integer
2397
2476
  # @param DisconnectTime: 上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义
2398
- # 注意:此字段可能返回 null,表示取不到有效值。
2399
2477
  # @type DisconnectTime: Integer
2400
2478
  # @param MQTTClientSubscriptions: 客户端的订阅列表
2401
- # 注意:此字段可能返回 null,表示取不到有效值。
2402
2479
  # @type MQTTClientSubscriptions: Array
2403
2480
 
2404
2481
  attr_accessor :ClientId, :ClientAddress, :ProtocolVersion, :Keepalive, :ConnectionStatus, :CreateTime, :ConnectTime, :DisconnectTime, :MQTTClientSubscriptions
@@ -2466,25 +2543,18 @@ module TencentCloud
2466
2543
  # MQTTEndpoint
2467
2544
  class MQTTEndpointItem < TencentCloud::Common::AbstractModel
2468
2545
  # @param Type: 类型
2469
- # 注意:此字段可能返回 null,表示取不到有效值。
2470
2546
  # @type Type: String
2471
2547
  # @param Url: 接入点
2472
- # 注意:此字段可能返回 null,表示取不到有效值。
2473
2548
  # @type Url: String
2474
2549
  # @param VpcId: vpc信息
2475
- # 注意:此字段可能返回 null,表示取不到有效值。
2476
2550
  # @type VpcId: String
2477
2551
  # @param SubnetId: 子网信息
2478
- # 注意:此字段可能返回 null,表示取不到有效值。
2479
2552
  # @type SubnetId: String
2480
2553
  # @param Host: 主机
2481
- # 注意:此字段可能返回 null,表示取不到有效值。
2482
2554
  # @type Host: String
2483
2555
  # @param Port: 端口
2484
- # 注意:此字段可能返回 null,表示取不到有效值。
2485
2556
  # @type Port: Integer
2486
2557
  # @param Ip: 接入点ip
2487
- # 注意:此字段可能返回 null,表示取不到有效值。
2488
2558
  # @type Ip: String
2489
2559
 
2490
2560
  attr_accessor :Type, :Url, :VpcId, :SubnetId, :Host, :Port, :Ip
@@ -2539,44 +2609,32 @@ module TencentCloud
2539
2609
  # @param TopicNumLimit: 实例主题数上限
2540
2610
  # @type TopicNumLimit: Integer
2541
2611
  # @param Remark: 备注信息
2542
- # 注意:此字段可能返回 null,表示取不到有效值。
2543
2612
  # @type Remark: String
2544
2613
  # @param TopicNum: 主题数量
2545
2614
  # @type TopicNum: Integer
2546
2615
  # @param SkuCode: 商品规格
2547
2616
  # @type SkuCode: String
2548
2617
  # @param TpsLimit: 弹性TPS限流值
2549
- # 注意:此字段可能返回 null,表示取不到有效值。
2550
2618
  # @type TpsLimit: Integer
2551
2619
  # @param CreateTime: 创建时间
2552
- # 注意:此字段可能返回 null,表示取不到有效值。
2553
2620
  # @type CreateTime: Integer
2554
2621
  # @param MaxSubscriptionPerClient: 单客户端最大订阅数量
2555
- # 注意:此字段可能返回 null,表示取不到有效值。
2556
2622
  # @type MaxSubscriptionPerClient: Integer
2557
2623
  # @param ClientNumLimit: 客户端连接数上线
2558
- # 注意:此字段可能返回 null,表示取不到有效值。
2559
2624
  # @type ClientNumLimit: Integer
2560
2625
  # @param RenewFlag: 是否自动续费
2561
- # 注意:此字段可能返回 null,表示取不到有效值。
2562
2626
  # @type RenewFlag: Integer
2563
2627
  # @param PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
2564
- # 注意:此字段可能返回 null,表示取不到有效值。
2565
2628
  # @type PayMode: String
2566
2629
  # @param ExpiryTime: 到期时间,秒为单位
2567
- # 注意:此字段可能返回 null,表示取不到有效值。
2568
2630
  # @type ExpiryTime: Integer
2569
2631
  # @param DestroyTime: 预销毁时间
2570
- # 注意:此字段可能返回 null,表示取不到有效值。
2571
2632
  # @type DestroyTime: Integer
2572
2633
  # @param AuthorizationPolicyLimit: 授权规则条数限制
2573
- # 注意:此字段可能返回 null,表示取不到有效值。
2574
2634
  # @type AuthorizationPolicyLimit: Integer
2575
2635
  # @param MaxCaNum: 最大ca配额
2576
- # 注意:此字段可能返回 null,表示取不到有效值。
2577
2636
  # @type MaxCaNum: Integer
2578
2637
  # @param MaxSubscription: 最大订阅数
2579
- # 注意:此字段可能返回 null,表示取不到有效值。
2580
2638
  # @type MaxSubscription: Integer
2581
2639
 
2582
2640
  attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :Remark, :TopicNum, :SkuCode, :TpsLimit, :CreateTime, :MaxSubscriptionPerClient, :ClientNumLimit, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :AuthorizationPolicyLimit, :MaxCaNum, :MaxSubscription
@@ -2631,31 +2689,22 @@ module TencentCloud
2631
2689
  # 消息记录
2632
2690
  class MQTTMessageItem < TencentCloud::Common::AbstractModel
2633
2691
  # @param MsgId: 消息ID
2634
- # 注意:此字段可能返回 null,表示取不到有效值。
2635
2692
  # @type MsgId: String
2636
2693
  # @param Tags: 消息tag
2637
- # 注意:此字段可能返回 null,表示取不到有效值。
2638
2694
  # @type Tags: String
2639
2695
  # @param Keys: 消息key
2640
- # 注意:此字段可能返回 null,表示取不到有效值。
2641
2696
  # @type Keys: String
2642
2697
  # @param ProducerAddr: 客户端地址
2643
- # 注意:此字段可能返回 null,表示取不到有效值。
2644
2698
  # @type ProducerAddr: String
2645
2699
  # @param ProduceTime: 消息发送时间
2646
- # 注意:此字段可能返回 null,表示取不到有效值。
2647
2700
  # @type ProduceTime: String
2648
2701
  # @param DeadLetterResendTimes: 死信重发次数
2649
- # 注意:此字段可能返回 null,表示取不到有效值。
2650
2702
  # @type DeadLetterResendTimes: Integer
2651
2703
  # @param DeadLetterResendSuccessTimes: 死信重发成功次数
2652
- # 注意:此字段可能返回 null,表示取不到有效值。
2653
2704
  # @type DeadLetterResendSuccessTimes: Integer
2654
2705
  # @param SubTopic: 子topic
2655
- # 注意:此字段可能返回 null,表示取不到有效值。
2656
2706
  # @type SubTopic: String
2657
2707
  # @param Qos: 消息质量等级
2658
- # 注意:此字段可能返回 null,表示取不到有效值。
2659
2708
  # @type Qos: String
2660
2709
 
2661
2710
  attr_accessor :MsgId, :Tags, :Keys, :ProducerAddr, :ProduceTime, :DeadLetterResendTimes, :DeadLetterResendSuccessTimes, :SubTopic, :Qos
@@ -2692,7 +2741,6 @@ module TencentCloud
2692
2741
  # @param Topic: 主题名称
2693
2742
  # @type Topic: String
2694
2743
  # @param Remark: 主题描述
2695
- # 注意:此字段可能返回 null,表示取不到有效值。
2696
2744
  # @type Remark: String
2697
2745
 
2698
2746
  attr_accessor :InstanceId, :Topic, :Remark
@@ -2826,6 +2874,88 @@ module TencentCloud
2826
2874
  end
2827
2875
  end
2828
2876
 
2877
+ # ModifyHttpAuthenticator请求参数结构体
2878
+ class ModifyHttpAuthenticatorRequest < TencentCloud::Common::AbstractModel
2879
+ # @param InstanceId: 实例ID
2880
+ # @type InstanceId: String
2881
+ # @param Endpoint: 端点
2882
+ # @type Endpoint: String
2883
+ # @param Status: 认证器状态:open-启用;close-关闭
2884
+ # @type Status: String
2885
+ # @param Concurrency: 最大并发连接数,默认8,范围:1-20
2886
+ # @type Concurrency: Integer
2887
+ # @param ConnectTimeout: 连接超时时间,单位:秒,范围:1-30
2888
+ # @type ConnectTimeout: Integer
2889
+ # @param ReadTimeout: 请求超时时间,单位:秒,范围:1-30
2890
+ # @type ReadTimeout: Integer
2891
+ # @param Remark: 说明
2892
+ # @type Remark: String
2893
+ # @param Method: 请求方法,GET 或者 POST
2894
+ # @type Method: String
2895
+ # @param Header: 请求header
2896
+ # @type Header: Array
2897
+ # @param Body: 请求body
2898
+ # @type Body: Array
2899
+
2900
+ attr_accessor :InstanceId, :Endpoint, :Status, :Concurrency, :ConnectTimeout, :ReadTimeout, :Remark, :Method, :Header, :Body
2901
+
2902
+ def initialize(instanceid=nil, endpoint=nil, status=nil, concurrency=nil, connecttimeout=nil, readtimeout=nil, remark=nil, method=nil, header=nil, body=nil)
2903
+ @InstanceId = instanceid
2904
+ @Endpoint = endpoint
2905
+ @Status = status
2906
+ @Concurrency = concurrency
2907
+ @ConnectTimeout = connecttimeout
2908
+ @ReadTimeout = readtimeout
2909
+ @Remark = remark
2910
+ @Method = method
2911
+ @Header = header
2912
+ @Body = body
2913
+ end
2914
+
2915
+ def deserialize(params)
2916
+ @InstanceId = params['InstanceId']
2917
+ @Endpoint = params['Endpoint']
2918
+ @Status = params['Status']
2919
+ @Concurrency = params['Concurrency']
2920
+ @ConnectTimeout = params['ConnectTimeout']
2921
+ @ReadTimeout = params['ReadTimeout']
2922
+ @Remark = params['Remark']
2923
+ @Method = params['Method']
2924
+ unless params['Header'].nil?
2925
+ @Header = []
2926
+ params['Header'].each do |i|
2927
+ headeritem_tmp = HeaderItem.new
2928
+ headeritem_tmp.deserialize(i)
2929
+ @Header << headeritem_tmp
2930
+ end
2931
+ end
2932
+ unless params['Body'].nil?
2933
+ @Body = []
2934
+ params['Body'].each do |i|
2935
+ bodyitem_tmp = BodyItem.new
2936
+ bodyitem_tmp.deserialize(i)
2937
+ @Body << bodyitem_tmp
2938
+ end
2939
+ end
2940
+ end
2941
+ end
2942
+
2943
+ # ModifyHttpAuthenticator返回参数结构体
2944
+ class ModifyHttpAuthenticatorResponse < TencentCloud::Common::AbstractModel
2945
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2946
+ # @type RequestId: String
2947
+
2948
+ attr_accessor :RequestId
2949
+
2950
+ def initialize(requestid=nil)
2951
+ @RequestId = requestid
2952
+ end
2953
+
2954
+ def deserialize(params)
2955
+ @RequestId = params['RequestId']
2956
+ end
2957
+ end
2958
+
2829
2959
  # ModifyInsPublicEndpoint请求参数结构体
2830
2960
  class ModifyInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
2831
2961
  # @param InstanceId: 实例ID
@@ -3187,7 +3317,6 @@ module TencentCloud
3187
3317
  # @param Code: 计费项标签
3188
3318
  # @type Code: String
3189
3319
  # @param Step: 步长
3190
- # 注意:此字段可能返回 null,表示取不到有效值。
3191
3320
  # @type Step: Integer
3192
3321
 
3193
3322
  attr_accessor :Name, :Category, :Code, :Step
@@ -3212,31 +3341,22 @@ module TencentCloud
3212
3341
  # @param InstanceType: 规格类型
3213
3342
  # BASIC:基础版
3214
3343
  # PRO :专业版
3215
- # 注意:此字段可能返回 null,表示取不到有效值。
3216
3344
  # @type InstanceType: String
3217
3345
  # @param SkuCode: 规格代码
3218
- # 注意:此字段可能返回 null,表示取不到有效值。
3219
3346
  # @type SkuCode: String
3220
3347
  # @param OnSale: 是否售卖
3221
- # 注意:此字段可能返回 null,表示取不到有效值。
3222
3348
  # @type OnSale: Boolean
3223
3349
  # @param TopicNumLimit: topic num限制
3224
- # 注意:此字段可能返回 null,表示取不到有效值。
3225
3350
  # @type TopicNumLimit: Integer
3226
3351
  # @param TpsLimit: tps
3227
- # 注意:此字段可能返回 null,表示取不到有效值。
3228
3352
  # @type TpsLimit: Integer
3229
3353
  # @param ClientNumLimit: 客户端连接数
3230
- # 注意:此字段可能返回 null,表示取不到有效值。
3231
3354
  # @type ClientNumLimit: Integer
3232
3355
  # @param MaxSubscriptionPerClient: 单客户端最大订阅数
3233
- # 注意:此字段可能返回 null,表示取不到有效值。
3234
3356
  # @type MaxSubscriptionPerClient: Integer
3235
3357
  # @param AuthorizationPolicyLimit: 授权规则条数
3236
- # 注意:此字段可能返回 null,表示取不到有效值。
3237
3358
  # @type AuthorizationPolicyLimit: Integer
3238
3359
  # @param PriceTags: 计费项信息
3239
- # 注意:此字段可能返回 null,表示取不到有效值。
3240
3360
  # @type PriceTags: Array
3241
3361
 
3242
3362
  attr_accessor :InstanceType, :SkuCode, :OnSale, :TopicNumLimit, :TpsLimit, :ClientNumLimit, :MaxSubscriptionPerClient, :AuthorizationPolicyLimit, :PriceTags
@@ -3276,13 +3396,10 @@ module TencentCloud
3276
3396
  # 公网访问安全规则
3277
3397
  class PublicAccessRule < TencentCloud::Common::AbstractModel
3278
3398
  # @param IpRule: ip网段信息
3279
- # 注意:此字段可能返回 null,表示取不到有效值。
3280
3399
  # @type IpRule: String
3281
3400
  # @param Allow: 允许或者拒绝
3282
- # 注意:此字段可能返回 null,表示取不到有效值。
3283
3401
  # @type Allow: Boolean
3284
3402
  # @param Remark: 备注信息
3285
- # 注意:此字段可能返回 null,表示取不到有效值。
3286
3403
  # @type Remark: String
3287
3404
 
3288
3405
  attr_accessor :IpRule, :Allow, :Remark
@@ -3499,10 +3616,8 @@ module TencentCloud
3499
3616
  # 标签数据
3500
3617
  class Tag < TencentCloud::Common::AbstractModel
3501
3618
  # @param TagKey: 标签名称
3502
- # 注意:此字段可能返回 null,表示取不到有效值。
3503
3619
  # @type TagKey: String
3504
3620
  # @param TagValue: 标签值
3505
- # 注意:此字段可能返回 null,表示取不到有效值。
3506
3621
  # @type TagValue: String
3507
3622
 
3508
3623
  attr_accessor :TagKey, :TagValue
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mqtt
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1015
4
+ version: 3.0.1016
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-10 00:00:00.000000000 Z
11
+ date: 2025-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common