tencentcloud-sdk-nodejs 4.0.988 → 4.0.990
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/CHANGELOG.md +305 -0
- package/SERVICE_CHANGELOG.md +384 -219
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +15 -2
- package/src/services/aiart/v20221229/aiart_models.ts +109 -46
- package/src/services/batch/v20170312/batch_models.ts +1 -1
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +59 -26
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +18 -18
- package/src/services/cvm/v20170312/cvm_models.ts +27 -27
- package/src/services/es/v20180416/es_models.ts +50 -7
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +7 -7
- package/src/services/mps/v20190612/mps_models.ts +5 -0
- package/src/services/mqtt/v20240516/mqtt_client.ts +151 -103
- package/src/services/mqtt/v20240516/mqtt_models.ts +202 -48
- package/src/services/mrs/v20200910/mrs_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +2 -1
- package/src/services/ocr/v20181119/ocr_models.ts +72 -0
- package/src/services/postgres/v20170312/postgres_models.ts +3 -3
- package/src/services/sts/v20180813/sts_models.ts +3 -3
- package/src/services/tcbr/v20220217/tcbr_models.ts +44 -44
- package/src/services/tdmq/v20200217/tdmq_models.ts +5 -0
- package/src/services/tione/v20211111/tione_client.ts +31 -15
- package/src/services/tione/v20211111/tione_models.ts +461 -199
- package/src/services/tse/v20201207/tse_client.ts +73 -21
- package/src/services/tse/v20201207/tse_models.ts +322 -68
- package/src/services/vclm/v20240523/vclm_models.ts +2 -1
- package/src/services/vdb/v20230616/vdb_models.ts +3 -0
- package/src/services/vod/v20180717/vod_client.ts +8 -2
- package/src/services/vpc/v20170312/vpc_models.ts +4 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +107 -46
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +57 -26
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +18 -18
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +27 -27
- package/tencentcloud/services/es/v20180416/es_models.d.ts +50 -7
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +7 -7
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +57 -41
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +84 -60
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +194 -48
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +71 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +3 -3
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +44 -44
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +9 -5
- package/tencentcloud/services/tione/v20211111/tione_client.js +12 -6
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +453 -197
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
- package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +310 -68
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +2 -1
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +3 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +8 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +8 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/test/aiart.v20221229.test.js +10 -0
- package/test/cam.v20190116.test.js +10 -0
- package/test/mqtt.v20240516.test.js +80 -40
- package/test/tione.v20211111.test.js +20 -10
- package/test/tse.v20201207.test.js +46 -6
|
@@ -3024,7 +3024,7 @@ export interface Externals {
|
|
|
3024
3024
|
*/
|
|
3025
3025
|
ReleaseAddress?: boolean;
|
|
3026
3026
|
/**
|
|
3027
|
-
* 不支持的网络类型,取值范围:<br><li>BASIC
|
|
3027
|
+
* 不支持的网络类型,取值范围:<br><li>BASIC:基础网络</li><li>VPC1.0:私有网络VPC1.0</li>
|
|
3028
3028
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3029
3029
|
*/
|
|
3030
3030
|
UnsupportNetworks?: Array<string>;
|
|
@@ -3148,7 +3148,7 @@ export interface Instance {
|
|
|
3148
3148
|
*/
|
|
3149
3149
|
Memory?: number;
|
|
3150
3150
|
/**
|
|
3151
|
-
* 实例业务状态。取值范围:<br><li>NORMAL
|
|
3151
|
+
* 实例业务状态。取值范围:<br><li>NORMAL:表示正常状态的实例</li><li>EXPIRED:表示过期的实例</li><li>PROTECTIVELY_ISOLATED:表示被安全隔离的实例。</li>
|
|
3152
3152
|
*/
|
|
3153
3153
|
RestrictState?: string;
|
|
3154
3154
|
/**
|
|
@@ -3156,7 +3156,7 @@ export interface Instance {
|
|
|
3156
3156
|
*/
|
|
3157
3157
|
InstanceName?: string;
|
|
3158
3158
|
/**
|
|
3159
|
-
* 实例计费模式。取值范围:<br><li>`PREPAID
|
|
3159
|
+
* 实例计费模式。取值范围:<br><li>`PREPAID`:表示预付费,即包年包月</li><li>`POSTPAID_BY_HOUR`:表示后付费,即按量计费</li><li>`CDHPAID`:`专用宿主机`付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。</li><li>`SPOTPAID`:表示竞价实例付费。</li>
|
|
3160
3160
|
*/
|
|
3161
3161
|
InstanceChargeType?: string;
|
|
3162
3162
|
/**
|
|
@@ -3189,8 +3189,8 @@ export interface Instance {
|
|
|
3189
3189
|
*/
|
|
3190
3190
|
ImageId?: string;
|
|
3191
3191
|
/**
|
|
3192
|
-
* 自动续费标识。取值范围:<br><li>`NOTIFY_AND_MANUAL_RENEW
|
|
3193
|
-
|
|
3192
|
+
* 自动续费标识。取值范围:<br><li>`NOTIFY_AND_MANUAL_RENEW`:表示通知即将过期,但不自动续费</li><li>`NOTIFY_AND_AUTO_RENEW`:表示通知即将过期,而且自动续费</li><li>`DISABLE_NOTIFY_AND_MANUAL_RENEW`:表示不通知即将过期,也不自动续费。
|
|
3193
|
+
</li><li>注意:后付费模式本项为null</li>
|
|
3194
3194
|
*/
|
|
3195
3195
|
RenewFlag?: string;
|
|
3196
3196
|
/**
|
|
@@ -3204,82 +3204,82 @@ export interface Instance {
|
|
|
3204
3204
|
/**
|
|
3205
3205
|
* 操作系统名称。
|
|
3206
3206
|
*/
|
|
3207
|
-
OsName
|
|
3207
|
+
OsName?: string;
|
|
3208
3208
|
/**
|
|
3209
3209
|
* 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。
|
|
3210
3210
|
*/
|
|
3211
|
-
SecurityGroupIds
|
|
3211
|
+
SecurityGroupIds?: Array<string>;
|
|
3212
3212
|
/**
|
|
3213
3213
|
* 实例登录设置。目前只返回实例所关联的密钥。
|
|
3214
3214
|
*/
|
|
3215
|
-
LoginSettings
|
|
3215
|
+
LoginSettings?: LoginSettings;
|
|
3216
3216
|
/**
|
|
3217
3217
|
* 实例状态。取值范围:<br><li>PENDING:表示创建中<br></li><li>LAUNCH_FAILED:表示创建失败<br></li><li>RUNNING:表示运行中<br></li><li>STOPPED:表示关机<br></li><li>STARTING:表示开机中<br></li><li>STOPPING:表示关机中<br></li><li>REBOOTING:表示重启中<br></li><li>SHUTDOWN:表示停止待销毁<br></li><li>TERMINATING:表示销毁中。<br></li>
|
|
3218
3218
|
*/
|
|
3219
|
-
InstanceState
|
|
3219
|
+
InstanceState?: string;
|
|
3220
3220
|
/**
|
|
3221
3221
|
* 实例关联的标签列表。
|
|
3222
3222
|
*/
|
|
3223
|
-
Tags
|
|
3223
|
+
Tags?: Array<Tag>;
|
|
3224
3224
|
/**
|
|
3225
3225
|
* 实例的关机计费模式。
|
|
3226
|
-
取值范围:<br><li>KEEP_CHARGING
|
|
3226
|
+
取值范围:<br><li>KEEP_CHARGING:关机继续收费</li><li>STOP_CHARGING:关机停止收费</li><li>NOT_APPLICABLE:实例处于非关机状态或者不适用关机停止计费的条件</li>
|
|
3227
3227
|
*/
|
|
3228
|
-
StopChargingMode
|
|
3228
|
+
StopChargingMode?: string;
|
|
3229
3229
|
/**
|
|
3230
3230
|
* 实例全局唯一ID
|
|
3231
3231
|
*/
|
|
3232
|
-
Uuid
|
|
3232
|
+
Uuid?: string;
|
|
3233
3233
|
/**
|
|
3234
3234
|
* 实例的最新操作。例:StopInstances、ResetInstance。
|
|
3235
3235
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3236
3236
|
*/
|
|
3237
|
-
LatestOperation
|
|
3237
|
+
LatestOperation?: string;
|
|
3238
3238
|
/**
|
|
3239
|
-
* 实例的最新操作状态。取值范围:<br><li>SUCCESS
|
|
3239
|
+
* 实例的最新操作状态。取值范围:<br><li>SUCCESS:表示操作成功</li><li>OPERATING:表示操作执行中</li><li>FAILED:表示操作失败</li>
|
|
3240
3240
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3241
3241
|
*/
|
|
3242
|
-
LatestOperationState
|
|
3242
|
+
LatestOperationState?: string;
|
|
3243
3243
|
/**
|
|
3244
3244
|
* 实例最新操作的唯一请求 ID。
|
|
3245
3245
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3246
3246
|
*/
|
|
3247
|
-
LatestOperationRequestId
|
|
3247
|
+
LatestOperationRequestId?: string;
|
|
3248
3248
|
/**
|
|
3249
3249
|
* 分散置放群组ID。
|
|
3250
3250
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3251
3251
|
*/
|
|
3252
|
-
DisasterRecoverGroupId
|
|
3252
|
+
DisasterRecoverGroupId?: string;
|
|
3253
3253
|
/**
|
|
3254
3254
|
* 实例的IPv6地址。
|
|
3255
3255
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3256
3256
|
*/
|
|
3257
|
-
IPv6Addresses
|
|
3257
|
+
IPv6Addresses?: Array<string>;
|
|
3258
3258
|
/**
|
|
3259
3259
|
* CAM角色名。
|
|
3260
3260
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3261
3261
|
*/
|
|
3262
|
-
CamRoleName
|
|
3262
|
+
CamRoleName?: string;
|
|
3263
3263
|
/**
|
|
3264
3264
|
* 高性能计算集群`ID`。
|
|
3265
3265
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3266
3266
|
*/
|
|
3267
|
-
HpcClusterId
|
|
3267
|
+
HpcClusterId?: string;
|
|
3268
3268
|
/**
|
|
3269
3269
|
* 高性能计算集群`IP`列表。
|
|
3270
3270
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3271
3271
|
*/
|
|
3272
|
-
RdmaIpAddresses
|
|
3272
|
+
RdmaIpAddresses?: Array<string>;
|
|
3273
3273
|
/**
|
|
3274
3274
|
* 实例所在的专用集群`ID`。
|
|
3275
3275
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3276
3276
|
*/
|
|
3277
|
-
DedicatedClusterId
|
|
3277
|
+
DedicatedClusterId?: string;
|
|
3278
3278
|
/**
|
|
3279
3279
|
* 实例隔离类型。取值范围:<br><li>ARREAR:表示欠费隔离<br></li><li>EXPIRE:表示到期隔离<br></li><li>MANMADE:表示主动退还隔离<br></li><li>NOTISOLATED:表示未隔离<br></li>
|
|
3280
3280
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3281
3281
|
*/
|
|
3282
|
-
IsolatedSource
|
|
3282
|
+
IsolatedSource?: string;
|
|
3283
3283
|
/**
|
|
3284
3284
|
* GPU信息。如果是gpu类型子机,该值会返回GPU信息,如果是其他类型子机则不返回。
|
|
3285
3285
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3290,7 +3290,7 @@ export interface Instance {
|
|
|
3290
3290
|
*/
|
|
3291
3291
|
LicenseType?: string;
|
|
3292
3292
|
/**
|
|
3293
|
-
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>
|
|
3293
|
+
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>true:表示开启实例保护,不允许通过api接口删除实例</li><li>false:表示关闭实例保护,允许通过api接口删除实例</li><br>默认取值:false。
|
|
3294
3294
|
*/
|
|
3295
3295
|
DisableApiTermination?: boolean;
|
|
3296
3296
|
/**
|
|
@@ -3361,7 +3361,7 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
3361
3361
|
*/
|
|
3362
3362
|
InstanceName?: string;
|
|
3363
3363
|
/**
|
|
3364
|
-
*
|
|
3364
|
+
* 实例登录设置。通过该参数可以设置实例的登录方式为密钥或保持镜像的原始登录设置。
|
|
3365
3365
|
*/
|
|
3366
3366
|
LoginSettings?: LoginSettings;
|
|
3367
3367
|
/**
|
|
@@ -3693,7 +3693,7 @@ export interface CreateLaunchTemplateRequest {
|
|
|
3693
3693
|
*/
|
|
3694
3694
|
InstanceName?: string;
|
|
3695
3695
|
/**
|
|
3696
|
-
*
|
|
3696
|
+
* 实例登录设置。通过该参数可以设置实例的登录方式为密钥或保持镜像的原始登录设置。
|
|
3697
3697
|
*/
|
|
3698
3698
|
LoginSettings?: LoginSettings;
|
|
3699
3699
|
/**
|
|
@@ -1203,31 +1203,35 @@ export interface Operation {
|
|
|
1203
1203
|
/**
|
|
1204
1204
|
* 操作唯一id
|
|
1205
1205
|
*/
|
|
1206
|
-
Id
|
|
1206
|
+
Id?: number;
|
|
1207
1207
|
/**
|
|
1208
1208
|
* 操作开始时间
|
|
1209
1209
|
*/
|
|
1210
|
-
StartTime
|
|
1210
|
+
StartTime?: string;
|
|
1211
1211
|
/**
|
|
1212
1212
|
* 操作类型
|
|
1213
1213
|
*/
|
|
1214
|
-
Type
|
|
1214
|
+
Type?: string;
|
|
1215
1215
|
/**
|
|
1216
1216
|
* 操作详情
|
|
1217
1217
|
*/
|
|
1218
|
-
Detail
|
|
1218
|
+
Detail?: OperationDetail;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* 操作结果
|
|
1221
1221
|
*/
|
|
1222
|
-
Result
|
|
1222
|
+
Result?: string;
|
|
1223
1223
|
/**
|
|
1224
1224
|
* 流程任务信息
|
|
1225
1225
|
*/
|
|
1226
|
-
Tasks
|
|
1226
|
+
Tasks?: Array<TaskDetail>;
|
|
1227
1227
|
/**
|
|
1228
1228
|
* 操作进度
|
|
1229
1229
|
*/
|
|
1230
|
-
Progress
|
|
1230
|
+
Progress?: number;
|
|
1231
|
+
/**
|
|
1232
|
+
* 回滚标记, 0未回滚 ,1回滚中,2已回滚
|
|
1233
|
+
*/
|
|
1234
|
+
RollbackTag?: number;
|
|
1231
1235
|
/**
|
|
1232
1236
|
* 操作者Uin
|
|
1233
1237
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3499,6 +3503,21 @@ export interface InstanceInfo {
|
|
|
3499
3503
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3500
3504
|
*/
|
|
3501
3505
|
ReadWriteMode?: number;
|
|
3506
|
+
/**
|
|
3507
|
+
* 是否有置放群组异步调度任务
|
|
3508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3509
|
+
*/
|
|
3510
|
+
EnableScheduleRecoverGroup?: boolean;
|
|
3511
|
+
/**
|
|
3512
|
+
* 异步调度任务的时间
|
|
3513
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3514
|
+
*/
|
|
3515
|
+
EnableScheduleOperationDuration?: EnableScheduleOperationDuration;
|
|
3516
|
+
/**
|
|
3517
|
+
* 开启集群保护:OPEN-开启,CLOSE-关闭
|
|
3518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3519
|
+
*/
|
|
3520
|
+
EnableDestroyProtection?: string;
|
|
3502
3521
|
}
|
|
3503
3522
|
/**
|
|
3504
3523
|
* 数据接入cvm实例信息
|
|
@@ -3670,6 +3689,26 @@ export interface EsDictionaryInfo {
|
|
|
3670
3689
|
* 更新词典类型
|
|
3671
3690
|
*/
|
|
3672
3691
|
UpdateType: string;
|
|
3692
|
+
/**
|
|
3693
|
+
* ansj启用词词典列表
|
|
3694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3695
|
+
*/
|
|
3696
|
+
AnsjMain?: Array<DictInfo>;
|
|
3697
|
+
/**
|
|
3698
|
+
* ansj停用词词典列表
|
|
3699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3700
|
+
*/
|
|
3701
|
+
AnsjStop?: Array<DictInfo>;
|
|
3702
|
+
/**
|
|
3703
|
+
* ansj歧义词库列表
|
|
3704
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3705
|
+
*/
|
|
3706
|
+
AnsjAmbiguity?: Array<DictInfo>;
|
|
3707
|
+
/**
|
|
3708
|
+
* ansj同义词词典列表
|
|
3709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3710
|
+
*/
|
|
3711
|
+
AnsjSynonyms?: Array<DictInfo>;
|
|
3673
3712
|
}
|
|
3674
3713
|
/**
|
|
3675
3714
|
* DescribeLogstashPipelines请求参数结构体
|
|
@@ -4840,6 +4879,10 @@ export interface UpdateInstanceRequest {
|
|
|
4840
4879
|
* 置放群组异步任务可维护时间段
|
|
4841
4880
|
*/
|
|
4842
4881
|
EnableScheduleOperationDuration?: EnableScheduleOperationDuration;
|
|
4882
|
+
/**
|
|
4883
|
+
* 开启集群保护:OPEN-开启,CLOSE-关闭
|
|
4884
|
+
*/
|
|
4885
|
+
EnableDestroyProtection?: string;
|
|
4843
4886
|
}
|
|
4844
4887
|
/**
|
|
4845
4888
|
* CreateServerlessInstance返回参数结构体
|
|
@@ -508,7 +508,7 @@ export declare class Client extends AbstractClient {
|
|
|
508
508
|
<li><strong>解除协议的费用问题:</strong>发起解除协议将产生费用,其扣费标准与其他企业合同相同。</li>
|
|
509
509
|
<li><strong>解除协议的发起资格:</strong>仅限原合同中的企业类型参与者发起解除协议,个人参与者无此权限。</li>
|
|
510
510
|
<li><strong>非原合同企业参与者的权限:</strong>非原合同的企业参与者发起解除协议时,必须具备相应的解除权限。</li>
|
|
511
|
-
<li><strong>自动签署:</strong
|
|
511
|
+
<li><strong>自动签署:</strong>支持本企业的自动签署,不支持其他企业的自动签署(不能不动声色的把别人参与的合同作废了)</li>
|
|
512
512
|
</ul>
|
|
513
513
|
|
|
514
514
|

|
|
@@ -596,7 +596,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
596
596
|
<li><strong>解除协议的费用问题:</strong>发起解除协议将产生费用,其扣费标准与其他企业合同相同。</li>
|
|
597
597
|
<li><strong>解除协议的发起资格:</strong>仅限原合同中的企业类型参与者发起解除协议,个人参与者无此权限。</li>
|
|
598
598
|
<li><strong>非原合同企业参与者的权限:</strong>非原合同的企业参与者发起解除协议时,必须具备相应的解除权限。</li>
|
|
599
|
-
<li><strong>自动签署:</strong
|
|
599
|
+
<li><strong>自动签署:</strong>支持本企业的自动签署,不支持其他企业的自动签署(不能不动声色的把别人参与的合同作废了)</li>
|
|
600
600
|
</ul>
|
|
601
601
|
|
|
602
602
|

|
|
@@ -7265,7 +7265,7 @@ export interface DescribeLivePackageInfoResponse {
|
|
|
7265
7265
|
* 套餐包信息。
|
|
7266
7266
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7267
7267
|
*/
|
|
7268
|
-
LivePackageInfoList
|
|
7268
|
+
LivePackageInfoList?: Array<LivePackageInfo>;
|
|
7269
7269
|
/**
|
|
7270
7270
|
* 套餐包当前计费方式:
|
|
7271
7271
|
-1: 无计费方式或获取失败
|
|
@@ -7279,27 +7279,27 @@ export interface DescribeLivePackageInfoResponse {
|
|
|
7279
7279
|
304: 日结流量。
|
|
7280
7280
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7281
7281
|
*/
|
|
7282
|
-
PackageBillMode
|
|
7282
|
+
PackageBillMode?: number;
|
|
7283
7283
|
/**
|
|
7284
7284
|
* 总页数。
|
|
7285
7285
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7286
7286
|
*/
|
|
7287
|
-
TotalPage
|
|
7287
|
+
TotalPage?: number;
|
|
7288
7288
|
/**
|
|
7289
7289
|
* 数据总条数。
|
|
7290
7290
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7291
7291
|
*/
|
|
7292
|
-
TotalNum
|
|
7292
|
+
TotalNum?: number;
|
|
7293
7293
|
/**
|
|
7294
7294
|
* 当前页数。
|
|
7295
7295
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7296
7296
|
*/
|
|
7297
|
-
PageNum
|
|
7297
|
+
PageNum?: number;
|
|
7298
7298
|
/**
|
|
7299
7299
|
* 当前每页数量。
|
|
7300
7300
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7301
7301
|
*/
|
|
7302
|
-
PageSize
|
|
7302
|
+
PageSize?: number;
|
|
7303
7303
|
/**
|
|
7304
7304
|
* 当请求参数 PackageType = 0 时生效,逗号分隔,从第一个到最后一个分别表示:
|
|
7305
7305
|
标准直播,中国大陆(境内全地区)计费方式。
|
|
@@ -7308,7 +7308,7 @@ export interface DescribeLivePackageInfoResponse {
|
|
|
7308
7308
|
快直播,国际/港澳台(境外多地区)计费方式。
|
|
7309
7309
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7310
7310
|
*/
|
|
7311
|
-
FluxPackageBillMode
|
|
7311
|
+
FluxPackageBillMode?: string;
|
|
7312
7312
|
/**
|
|
7313
7313
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7314
7314
|
*/
|
|
@@ -13254,6 +13254,11 @@ export interface AddOnSubtitle {
|
|
|
13254
13254
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13255
13255
|
*/
|
|
13256
13256
|
Subtitle?: MediaInputInfo;
|
|
13257
|
+
/**
|
|
13258
|
+
* 字幕名称
|
|
13259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13260
|
+
*/
|
|
13261
|
+
SubtitleName?: string;
|
|
13257
13262
|
}
|
|
13258
13263
|
/**
|
|
13259
13264
|
* Aws SQS 队列信息
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UpdateAuthorizationPolicyPriorityResponse, UpdateAuthorizationPolicyPriorityRequest, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, ModifyJWKSAuthenticatorResponse, RegisterDeviceCertificateResponse, ModifyJWTAuthenticatorResponse, DescribeAuthorizationPoliciesRequest, DescribeTopicListRequest, DescribeInstanceListRequest, ModifyAuthorizationPolicyResponse, CreateAuthorizationPolicyRequest, ActivateDeviceCertificateRequest, DescribeInstanceResponse, DescribeAuthenticatorResponse, CreateTopicResponse, ModifyJWTAuthenticatorRequest, CreateAuthorizationPolicyResponse, CreateJWTAuthenticatorRequest, DeleteTopicRequest, CreateJWKSAuthenticatorRequest, ModifyTopicResponse, DescribeTopicResponse, DescribeDeviceCertificatesRequest, CreateJWKSAuthenticatorResponse, DeleteAuthenticatorRequest, DescribeAuthorizationPoliciesResponse, RegisterDeviceCertificateRequest, CreateTopicRequest, DeleteAuthorizationPolicyResponse, DescribeDeviceCertificatesResponse, ModifyJWKSAuthenticatorRequest, ModifyTopicRequest, DescribeTopicListResponse, DescribeAuthenticatorRequest, DeleteTopicResponse,
|
|
3
|
+
import { UpdateAuthorizationPolicyPriorityResponse, UpdateAuthorizationPolicyPriorityRequest, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, ModifyJWKSAuthenticatorResponse, RegisterDeviceCertificateResponse, ModifyJWTAuthenticatorResponse, DescribeAuthorizationPoliciesRequest, DescribeTopicListRequest, DescribeInstanceListRequest, ModifyAuthorizationPolicyResponse, CreateAuthorizationPolicyRequest, ActivateDeviceCertificateRequest, DescribeInstanceResponse, DescribeAuthenticatorResponse, DeleteDeviceCertificateRequest, CreateTopicResponse, ModifyJWTAuthenticatorRequest, DescribeDeviceCertificateResponse, RevokedDeviceCertificateRequest, CreateAuthorizationPolicyResponse, DeleteDeviceCertificateResponse, CreateJWTAuthenticatorRequest, DeleteTopicRequest, CreateJWKSAuthenticatorRequest, ModifyTopicResponse, DescribeTopicResponse, DescribeDeviceCertificatesRequest, CreateJWKSAuthenticatorResponse, DeleteAuthenticatorRequest, DescribeAuthorizationPoliciesResponse, RegisterDeviceCertificateRequest, CreateTopicRequest, DeleteAuthorizationPolicyResponse, DescribeDeviceCertificatesResponse, ModifyJWKSAuthenticatorRequest, ModifyTopicRequest, DescribeTopicListResponse, DescribeAuthenticatorRequest, RevokedDeviceCertificateResponse, DeleteTopicResponse, DeactivateDeviceCertificateResponse, DescribeDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeInstanceRequest, DeleteAuthenticatorResponse, ModifyAuthorizationPolicyRequest, ActivateDeviceCertificateResponse, DescribeInstanceListResponse, DescribeTopicRequest } from "./mqtt_models";
|
|
4
4
|
/**
|
|
5
5
|
* mqtt client
|
|
6
6
|
* @class
|
|
@@ -8,33 +8,57 @@ import { UpdateAuthorizationPolicyPriorityResponse, UpdateAuthorizationPolicyPri
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 修改主题属性
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
ModifyTopic(req: ModifyTopicRequest, cb?: (error: string, rep: ModifyTopicResponse) => void): Promise<ModifyTopicResponse>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 失效Ca证书
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
DeactivateDeviceCertificate(req: DeactivateDeviceCertificateRequest, cb?: (error: string, rep: DeactivateDeviceCertificateResponse) => void): Promise<DeactivateDeviceCertificateResponse>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* 查询mqtt主题详情
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
DescribeTopic(req: DescribeTopicRequest, cb?: (error: string, rep: DescribeTopicResponse) => void): Promise<DescribeTopicResponse>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* 创建一个jwks的认证
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
CreateJWTAuthenticator(req: CreateJWTAuthenticatorRequest, cb?: (error: string, rep: CreateJWTAuthenticatorResponse) => void): Promise<CreateJWTAuthenticatorResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 删除设备证书
|
|
28
|
+
*/
|
|
29
|
+
DeleteDeviceCertificate(req: DeleteDeviceCertificateRequest, cb?: (error: string, rep: DeleteDeviceCertificateResponse) => void): Promise<DeleteDeviceCertificateResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 修改MQTT JWKS 认证器
|
|
32
|
+
*/
|
|
33
|
+
ModifyJWTAuthenticator(req: ModifyJWTAuthenticatorRequest, cb?: (error: string, rep: ModifyJWTAuthenticatorResponse) => void): Promise<ModifyJWTAuthenticatorResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 修改MQTT JWKS 认证器
|
|
36
|
+
*/
|
|
37
|
+
ModifyJWKSAuthenticator(req: ModifyJWKSAuthenticatorRequest, cb?: (error: string, rep: ModifyJWKSAuthenticatorResponse) => void): Promise<ModifyJWKSAuthenticatorResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 分页查询设备证书
|
|
40
|
+
*/
|
|
41
|
+
DescribeDeviceCertificates(req: DescribeDeviceCertificatesRequest, cb?: (error: string, rep: DescribeDeviceCertificatesResponse) => void): Promise<DescribeDeviceCertificatesResponse>;
|
|
26
42
|
/**
|
|
27
43
|
* 注册设备证书
|
|
28
44
|
*/
|
|
29
45
|
RegisterDeviceCertificate(req: RegisterDeviceCertificateRequest, cb?: (error: string, rep: RegisterDeviceCertificateResponse) => void): Promise<RegisterDeviceCertificateResponse>;
|
|
30
46
|
/**
|
|
31
|
-
*
|
|
47
|
+
* 创建主题
|
|
32
48
|
*/
|
|
33
|
-
|
|
49
|
+
CreateTopic(req: CreateTopicRequest, cb?: (error: string, rep: CreateTopicResponse) => void): Promise<CreateTopicResponse>;
|
|
34
50
|
/**
|
|
35
|
-
*
|
|
51
|
+
* 生效设备证书
|
|
36
52
|
*/
|
|
37
|
-
|
|
53
|
+
ActivateDeviceCertificate(req: ActivateDeviceCertificateRequest, cb?: (error: string, rep: ActivateDeviceCertificateResponse) => void): Promise<ActivateDeviceCertificateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 查询授权规则
|
|
56
|
+
*/
|
|
57
|
+
DescribeAuthorizationPolicies(req: DescribeAuthorizationPoliciesRequest, cb?: (error: string, rep: DescribeAuthorizationPoliciesResponse) => void): Promise<DescribeAuthorizationPoliciesResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* 查询设备证书详情接口
|
|
60
|
+
*/
|
|
61
|
+
DescribeDeviceCertificate(req: DescribeDeviceCertificateRequest, cb?: (error: string, rep: DescribeDeviceCertificateResponse) => void): Promise<DescribeDeviceCertificateResponse>;
|
|
38
62
|
/**
|
|
39
63
|
* 获取实例列表,Filters参数使用说明如下:
|
|
40
64
|
1. InstanceName, 名称模糊查询
|
|
@@ -44,6 +68,26 @@ export declare class Client extends AbstractClient {
|
|
|
44
68
|
当使用TagFilters查询时,Filters参数失效。
|
|
45
69
|
*/
|
|
46
70
|
DescribeInstanceList(req: DescribeInstanceListRequest, cb?: (error: string, rep: DescribeInstanceListResponse) => void): Promise<DescribeInstanceListResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* 吊销设备证书
|
|
73
|
+
*/
|
|
74
|
+
RevokedDeviceCertificate(req: RevokedDeviceCertificateRequest, cb?: (error: string, rep: RevokedDeviceCertificateResponse) => void): Promise<RevokedDeviceCertificateResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* 查询实例信息
|
|
77
|
+
*/
|
|
78
|
+
DescribeInstance(req: DescribeInstanceRequest, cb?: (error: string, rep: DescribeInstanceResponse) => void): Promise<DescribeInstanceResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* 删除MQTT主题
|
|
81
|
+
*/
|
|
82
|
+
DeleteTopic(req: DeleteTopicRequest, cb?: (error: string, rep: DeleteTopicResponse) => void): Promise<DeleteTopicResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* 创建一个jwks的认证
|
|
85
|
+
*/
|
|
86
|
+
CreateJWKSAuthenticator(req: CreateJWKSAuthenticatorRequest, cb?: (error: string, rep: CreateJWKSAuthenticatorResponse) => void): Promise<CreateJWKSAuthenticatorResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* 修改策略规则
|
|
89
|
+
*/
|
|
90
|
+
ModifyAuthorizationPolicy(req: ModifyAuthorizationPolicyRequest, cb?: (error: string, rep: ModifyAuthorizationPolicyResponse) => void): Promise<ModifyAuthorizationPolicyResponse>;
|
|
47
91
|
/**
|
|
48
92
|
* 删除策略规则
|
|
49
93
|
*/
|
|
@@ -52,26 +96,14 @@ export declare class Client extends AbstractClient {
|
|
|
52
96
|
* 根据认证器类型删除一个MQTT认证器
|
|
53
97
|
*/
|
|
54
98
|
DeleteAuthenticator(req: DeleteAuthenticatorRequest, cb?: (error: string, rep: DeleteAuthenticatorResponse) => void): Promise<DeleteAuthenticatorResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* 查询mqtt主题详情
|
|
57
|
-
*/
|
|
58
|
-
DescribeTopic(req: DescribeTopicRequest, cb?: (error: string, rep: DescribeTopicResponse) => void): Promise<DescribeTopicResponse>;
|
|
59
99
|
/**
|
|
60
100
|
* 查询MQTT认证器
|
|
61
101
|
*/
|
|
62
102
|
DescribeAuthenticator(req: DescribeAuthenticatorRequest, cb?: (error: string, rep: DescribeAuthenticatorResponse) => void): Promise<DescribeAuthenticatorResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* 创建一个jwks的认证
|
|
65
|
-
*/
|
|
66
|
-
CreateJWTAuthenticator(req: CreateJWTAuthenticatorRequest, cb?: (error: string, rep: CreateJWTAuthenticatorResponse) => void): Promise<CreateJWTAuthenticatorResponse>;
|
|
67
103
|
/**
|
|
68
104
|
* 修改策略规则优先级
|
|
69
105
|
*/
|
|
70
106
|
UpdateAuthorizationPolicyPriority(req: UpdateAuthorizationPolicyPriorityRequest, cb?: (error: string, rep: UpdateAuthorizationPolicyPriorityResponse) => void): Promise<UpdateAuthorizationPolicyPriorityResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* 修改MQTT JWKS 认证器
|
|
73
|
-
*/
|
|
74
|
-
ModifyJWTAuthenticator(req: ModifyJWTAuthenticatorRequest, cb?: (error: string, rep: ModifyJWTAuthenticatorResponse) => void): Promise<ModifyJWTAuthenticatorResponse>;
|
|
75
107
|
/**
|
|
76
108
|
* 获取主题列表,Filter参数使用说明如下:
|
|
77
109
|
|
|
@@ -79,24 +111,8 @@ export declare class Client extends AbstractClient {
|
|
|
79
111
|
2. TopicType,主题类型查询,支持多选,可选值:Normal,Order,Transaction,DelayScheduled
|
|
80
112
|
*/
|
|
81
113
|
DescribeTopicList(req: DescribeTopicListRequest, cb?: (error: string, rep: DescribeTopicListResponse) => void): Promise<DescribeTopicListResponse>;
|
|
82
|
-
/**
|
|
83
|
-
* 删除MQTT主题
|
|
84
|
-
*/
|
|
85
|
-
DeleteTopic(req: DeleteTopicRequest, cb?: (error: string, rep: DeleteTopicResponse) => void): Promise<DeleteTopicResponse>;
|
|
86
|
-
/**
|
|
87
|
-
* 分页查询设备证书
|
|
88
|
-
*/
|
|
89
|
-
DescribeDeviceCertificates(req: DescribeDeviceCertificatesRequest, cb?: (error: string, rep: DescribeDeviceCertificatesResponse) => void): Promise<DescribeDeviceCertificatesResponse>;
|
|
90
114
|
/**
|
|
91
115
|
* 创建MQTT实例的性能测试任务
|
|
92
116
|
*/
|
|
93
117
|
CreateAuthorizationPolicy(req: CreateAuthorizationPolicyRequest, cb?: (error: string, rep: CreateAuthorizationPolicyResponse) => void): Promise<CreateAuthorizationPolicyResponse>;
|
|
94
|
-
/**
|
|
95
|
-
* 修改MQTT JWKS 认证器
|
|
96
|
-
*/
|
|
97
|
-
ModifyJWKSAuthenticator(req: ModifyJWKSAuthenticatorRequest, cb?: (error: string, rep: ModifyJWKSAuthenticatorResponse) => void): Promise<ModifyJWKSAuthenticatorResponse>;
|
|
98
|
-
/**
|
|
99
|
-
* 创建一个jwks的认证
|
|
100
|
-
*/
|
|
101
|
-
CreateJWKSAuthenticator(req: CreateJWKSAuthenticatorRequest, cb?: (error: string, rep: CreateJWKSAuthenticatorResponse) => void): Promise<CreateJWKSAuthenticatorResponse>;
|
|
102
118
|
}
|