tencentcloud-sdk-nodejs 4.0.622 → 4.0.624
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 +196 -0
- package/SERVICE_CHANGELOG.md +284 -198
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +1 -1
- package/src/services/bma/index.ts +2 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cdn/v20180606/cdn_client.ts +2 -1
- package/src/services/cloudstudio/index.ts +2 -0
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +0 -5
- package/src/services/cloudstudio/v20230508/cloudstudio_client.ts +145 -0
- package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +424 -0
- package/src/services/cloudstudio/v20230508/index.ts +6 -0
- package/src/services/cls/v20201016/cls_client.ts +1 -0
- package/src/services/cls/v20201016/cls_models.ts +22 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +30 -0
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +139 -11
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +943 -140
- package/src/services/dts/index.ts +2 -2
- package/src/services/eis/index.ts +2 -2
- package/src/services/emr/v20190103/emr_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +13 -1
- package/src/services/ess/v20201111/ess_models.ts +108 -15
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +17 -17
- package/src/services/facefusion/index.ts +2 -2
- package/src/services/ims/index.ts +2 -2
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/oceanus/v20190422/oceanus_client.ts +23 -8
- package/src/services/oceanus/v20190422/oceanus_models.ts +268 -21
- package/src/services/organization/index.ts +2 -2
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +11 -4
- package/src/services/sms/index.ts +2 -2
- package/src/services/tbp/index.ts +2 -2
- package/src/services/tem/index.ts +2 -2
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tione/index.ts +2 -2
- package/src/services/tke/v20180525/tke_client.ts +41 -5
- package/src/services/tke/v20180525/tke_models.ts +110 -65
- package/src/services/tms/index.ts +2 -2
- package/src/services/tsf/v20180326/tsf_client.ts +1 -1
- package/src/services/vm/index.ts +2 -2
- package/src/services/vod/v20180717/vod_client.ts +12 -0
- package/src/services/vod/v20180717/vod_models.ts +44 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +1 -1
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +2 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -1
- package/tencentcloud/services/cloudstudio/index.d.ts +4 -0
- package/tencentcloud/services/cloudstudio/index.js +2 -0
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +0 -5
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_client.d.ts +46 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_client.js +85 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +384 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.js +18 -0
- package/tencentcloud/services/cloudstudio/v20230508/index.d.ts +6 -0
- package/tencentcloud/services/cloudstudio/v20230508/index.js +9 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +21 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +30 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +41 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +60 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +880 -105
- package/tencentcloud/services/dts/index.d.ts +4 -4
- package/tencentcloud/services/dts/index.js +2 -2
- package/tencentcloud/services/eis/index.d.ts +4 -4
- package/tencentcloud/services/eis/index.js +2 -2
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +7 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +106 -15
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +17 -17
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/ims/index.d.ts +4 -4
- package/tencentcloud/services/ims/index.js +2 -2
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +7 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +9 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +263 -21
- package/tencentcloud/services/organization/index.d.ts +4 -4
- package/tencentcloud/services/organization/index.js +2 -2
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +11 -4
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tbp/index.d.ts +4 -4
- package/tencentcloud/services/tbp/index.js +2 -2
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/index.d.ts +4 -4
- package/tencentcloud/services/tione/index.js +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +104 -65
- package/tencentcloud/services/tms/index.d.ts +4 -4
- package/tencentcloud/services/tms/index.js +2 -2
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +5 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +6 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +42 -0
- package/test/cloudstudio.v20230508.test.js +111 -0
- package/test/cynosdb.v20190107.test.js +100 -0
- package/test/ess.v20201111.test.js +10 -0
- package/test/oceanus.v20190422.test.js +12 -2
- package/test/tke.v20180525.test.js +30 -0
- package/test/vod.v20180717.test.js +10 -0
|
@@ -1375,6 +1375,11 @@ export interface ModifyPrometheusTemplateRequest {
|
|
|
1375
1375
|
Template: PrometheusTemplateModify
|
|
1376
1376
|
}
|
|
1377
1377
|
|
|
1378
|
+
/**
|
|
1379
|
+
* DescribeEncryptionStatus请求参数结构体
|
|
1380
|
+
*/
|
|
1381
|
+
export type DescribeEncryptionStatusRequest = null
|
|
1382
|
+
|
|
1378
1383
|
/**
|
|
1379
1384
|
* DeleteClusterVirtualNodePool请求参数结构体
|
|
1380
1385
|
*/
|
|
@@ -4940,6 +4945,16 @@ export interface DescribeEdgeLogSwitchesRequest {
|
|
|
4940
4945
|
ClusterIds: Array<string>
|
|
4941
4946
|
}
|
|
4942
4947
|
|
|
4948
|
+
/**
|
|
4949
|
+
* EnableEncryptionProtection返回参数结构体
|
|
4950
|
+
*/
|
|
4951
|
+
export interface EnableEncryptionProtectionResponse {
|
|
4952
|
+
/**
|
|
4953
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4954
|
+
*/
|
|
4955
|
+
RequestId?: string
|
|
4956
|
+
}
|
|
4957
|
+
|
|
4943
4958
|
/**
|
|
4944
4959
|
* DeletePrometheusTemplate请求参数结构体
|
|
4945
4960
|
*/
|
|
@@ -5621,13 +5636,13 @@ export interface RemoveNodeFromNodePoolRequest {
|
|
|
5621
5636
|
}
|
|
5622
5637
|
|
|
5623
5638
|
/**
|
|
5624
|
-
*
|
|
5639
|
+
* DescribeEncryptionStatus返回参数结构体
|
|
5625
5640
|
*/
|
|
5626
|
-
export interface
|
|
5641
|
+
export interface DescribeEncryptionStatusResponse {
|
|
5627
5642
|
/**
|
|
5628
|
-
*
|
|
5643
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5629
5644
|
*/
|
|
5630
|
-
|
|
5645
|
+
RequestId?: string
|
|
5631
5646
|
}
|
|
5632
5647
|
|
|
5633
5648
|
/**
|
|
@@ -7393,13 +7408,21 @@ export interface ECMEnhancedService {
|
|
|
7393
7408
|
}
|
|
7394
7409
|
|
|
7395
7410
|
/**
|
|
7396
|
-
*
|
|
7411
|
+
* CVM实例数据盘挂载配置
|
|
7397
7412
|
*/
|
|
7398
|
-
export interface
|
|
7413
|
+
export interface InstanceDataDiskMountSetting {
|
|
7399
7414
|
/**
|
|
7400
|
-
*
|
|
7415
|
+
* CVM实例类型
|
|
7401
7416
|
*/
|
|
7402
|
-
|
|
7417
|
+
InstanceType: string
|
|
7418
|
+
/**
|
|
7419
|
+
* 数据盘挂载信息
|
|
7420
|
+
*/
|
|
7421
|
+
DataDisks: Array<DataDisk>
|
|
7422
|
+
/**
|
|
7423
|
+
* CVM实例所属可用区
|
|
7424
|
+
*/
|
|
7425
|
+
Zone: string
|
|
7403
7426
|
}
|
|
7404
7427
|
|
|
7405
7428
|
/**
|
|
@@ -7419,14 +7442,9 @@ export interface EdgeClusterPublicLB {
|
|
|
7419
7442
|
}
|
|
7420
7443
|
|
|
7421
7444
|
/**
|
|
7422
|
-
*
|
|
7445
|
+
* EnableEncryptionProtection请求参数结构体
|
|
7423
7446
|
*/
|
|
7424
|
-
export
|
|
7425
|
-
/**
|
|
7426
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7427
|
-
*/
|
|
7428
|
-
RequestId?: string
|
|
7429
|
-
}
|
|
7447
|
+
export type EnableEncryptionProtectionRequest = null
|
|
7430
7448
|
|
|
7431
7449
|
/**
|
|
7432
7450
|
* 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
|
|
@@ -9161,6 +9179,16 @@ export interface AutoUpgradeClusterLevel {
|
|
|
9161
9179
|
IsAutoUpgrade: boolean
|
|
9162
9180
|
}
|
|
9163
9181
|
|
|
9182
|
+
/**
|
|
9183
|
+
* DisableEncryptionProtection返回参数结构体
|
|
9184
|
+
*/
|
|
9185
|
+
export interface DisableEncryptionProtectionResponse {
|
|
9186
|
+
/**
|
|
9187
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9188
|
+
*/
|
|
9189
|
+
RequestId?: string
|
|
9190
|
+
}
|
|
9191
|
+
|
|
9164
9192
|
/**
|
|
9165
9193
|
* CreateEKSCluster请求参数结构体
|
|
9166
9194
|
*/
|
|
@@ -9247,6 +9275,16 @@ export interface EnableEventPersistenceRequest {
|
|
|
9247
9275
|
TopicRegion?: string
|
|
9248
9276
|
}
|
|
9249
9277
|
|
|
9278
|
+
/**
|
|
9279
|
+
* ModifyClusterAuthenticationOptions返回参数结构体
|
|
9280
|
+
*/
|
|
9281
|
+
export interface ModifyClusterAuthenticationOptionsResponse {
|
|
9282
|
+
/**
|
|
9283
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9284
|
+
*/
|
|
9285
|
+
RequestId?: string
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9250
9288
|
/**
|
|
9251
9289
|
* ModifyClusterVirtualNodePool请求参数结构体
|
|
9252
9290
|
*/
|
|
@@ -9455,44 +9493,13 @@ export interface DeleteEdgeClusterInstancesRequest {
|
|
|
9455
9493
|
}
|
|
9456
9494
|
|
|
9457
9495
|
/**
|
|
9458
|
-
*
|
|
9496
|
+
* EnableEventPersistence返回参数结构体
|
|
9459
9497
|
*/
|
|
9460
|
-
export interface
|
|
9461
|
-
/**
|
|
9462
|
-
* 规则名称
|
|
9463
|
-
*/
|
|
9464
|
-
Name: string
|
|
9465
|
-
/**
|
|
9466
|
-
* prometheus语句
|
|
9467
|
-
*/
|
|
9468
|
-
Rule: string
|
|
9469
|
-
/**
|
|
9470
|
-
* 额外标签
|
|
9471
|
-
*/
|
|
9472
|
-
Labels: Array<Label>
|
|
9473
|
-
/**
|
|
9474
|
-
* 告警发送模板
|
|
9475
|
-
*/
|
|
9476
|
-
Template: string
|
|
9477
|
-
/**
|
|
9478
|
-
* 持续时间
|
|
9479
|
-
*/
|
|
9480
|
-
For: string
|
|
9481
|
-
/**
|
|
9482
|
-
* 该条规则的描述信息
|
|
9483
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9484
|
-
*/
|
|
9485
|
-
Describe?: string
|
|
9486
|
-
/**
|
|
9487
|
-
* 参考prometheus rule中的annotations
|
|
9488
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9489
|
-
*/
|
|
9490
|
-
Annotations?: Array<Label>
|
|
9498
|
+
export interface EnableEventPersistenceResponse {
|
|
9491
9499
|
/**
|
|
9492
|
-
*
|
|
9493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
9500
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9494
9501
|
*/
|
|
9495
|
-
|
|
9502
|
+
RequestId?: string
|
|
9496
9503
|
}
|
|
9497
9504
|
|
|
9498
9505
|
/**
|
|
@@ -9603,6 +9610,16 @@ export interface DescribeImagesResponse {
|
|
|
9603
9610
|
RequestId?: string
|
|
9604
9611
|
}
|
|
9605
9612
|
|
|
9613
|
+
/**
|
|
9614
|
+
* UninstallEdgeLogAgent请求参数结构体
|
|
9615
|
+
*/
|
|
9616
|
+
export interface UninstallEdgeLogAgentRequest {
|
|
9617
|
+
/**
|
|
9618
|
+
* 集群ID
|
|
9619
|
+
*/
|
|
9620
|
+
ClusterId: string
|
|
9621
|
+
}
|
|
9622
|
+
|
|
9606
9623
|
/**
|
|
9607
9624
|
* 集群master自定义参数
|
|
9608
9625
|
*/
|
|
@@ -10613,6 +10630,47 @@ export interface InstanceExtraArgs {
|
|
|
10613
10630
|
Kubelet?: Array<string>
|
|
10614
10631
|
}
|
|
10615
10632
|
|
|
10633
|
+
/**
|
|
10634
|
+
* Prometheus告警规则
|
|
10635
|
+
*/
|
|
10636
|
+
export interface PrometheusAlertRule {
|
|
10637
|
+
/**
|
|
10638
|
+
* 规则名称
|
|
10639
|
+
*/
|
|
10640
|
+
Name: string
|
|
10641
|
+
/**
|
|
10642
|
+
* prometheus语句
|
|
10643
|
+
*/
|
|
10644
|
+
Rule: string
|
|
10645
|
+
/**
|
|
10646
|
+
* 额外标签
|
|
10647
|
+
*/
|
|
10648
|
+
Labels: Array<Label>
|
|
10649
|
+
/**
|
|
10650
|
+
* 告警发送模板
|
|
10651
|
+
*/
|
|
10652
|
+
Template: string
|
|
10653
|
+
/**
|
|
10654
|
+
* 持续时间
|
|
10655
|
+
*/
|
|
10656
|
+
For: string
|
|
10657
|
+
/**
|
|
10658
|
+
* 该条规则的描述信息
|
|
10659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10660
|
+
*/
|
|
10661
|
+
Describe?: string
|
|
10662
|
+
/**
|
|
10663
|
+
* 参考prometheus rule中的annotations
|
|
10664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10665
|
+
*/
|
|
10666
|
+
Annotations?: Array<Label>
|
|
10667
|
+
/**
|
|
10668
|
+
* 告警规则状态
|
|
10669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10670
|
+
*/
|
|
10671
|
+
RuleState?: number
|
|
10672
|
+
}
|
|
10673
|
+
|
|
10616
10674
|
/**
|
|
10617
10675
|
* AcquireClusterAdminRole请求参数结构体
|
|
10618
10676
|
*/
|
|
@@ -11640,22 +11698,9 @@ export interface RouteTableConflict {
|
|
|
11640
11698
|
}
|
|
11641
11699
|
|
|
11642
11700
|
/**
|
|
11643
|
-
*
|
|
11701
|
+
* DisableEncryptionProtection请求参数结构体
|
|
11644
11702
|
*/
|
|
11645
|
-
export
|
|
11646
|
-
/**
|
|
11647
|
-
* CVM实例类型
|
|
11648
|
-
*/
|
|
11649
|
-
InstanceType: string
|
|
11650
|
-
/**
|
|
11651
|
-
* 数据盘挂载信息
|
|
11652
|
-
*/
|
|
11653
|
-
DataDisks: Array<DataDisk>
|
|
11654
|
-
/**
|
|
11655
|
-
* CVM实例所属可用区
|
|
11656
|
-
*/
|
|
11657
|
-
Zone: string
|
|
11658
|
-
}
|
|
11703
|
+
export type DisableEncryptionProtectionRequest = null
|
|
11659
11704
|
|
|
11660
11705
|
/**
|
|
11661
11706
|
* 托管prometheus实例概览
|
package/src/services/vm/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { v20200709 } from "./v20200709"
|
|
2
1
|
import { v20201229 } from "./v20201229"
|
|
2
|
+
import { v20200709 } from "./v20200709"
|
|
3
3
|
import { v20210922 } from "./v20210922"
|
|
4
4
|
|
|
5
5
|
export const vm = {
|
|
6
|
-
v20200709: v20200709,
|
|
7
6
|
v20201229: v20201229,
|
|
7
|
+
v20200709: v20200709,
|
|
8
8
|
v20210922: v20210922,
|
|
9
9
|
}
|
|
@@ -342,6 +342,7 @@ import {
|
|
|
342
342
|
TEHDConfig,
|
|
343
343
|
ImageReviewUsageDataItem,
|
|
344
344
|
AnimatedGraphicsTemplate,
|
|
345
|
+
ExtractCopyRightWatermarkRequest,
|
|
345
346
|
DescribeEnhanceMediaTemplatesRequest,
|
|
346
347
|
DailyPlayStatInfo,
|
|
347
348
|
TerrorismOcrReviewTemplateInfoForUpdate,
|
|
@@ -396,6 +397,7 @@ import {
|
|
|
396
397
|
ReduceMediaBitrateAdaptiveDynamicStreamingResult,
|
|
397
398
|
ImageWatermarkInputForUpdate,
|
|
398
399
|
DescribeAIAnalysisTemplatesRequest,
|
|
400
|
+
ExtractCopyRightWatermarkResponse,
|
|
399
401
|
MediaTranscodeInfo,
|
|
400
402
|
ResolutionNameInfo,
|
|
401
403
|
AiRecognitionTaskOcrWordsResultItem,
|
|
@@ -1666,6 +1668,16 @@ export class Client extends AbstractClient {
|
|
|
1666
1668
|
return this.request("DescribeDailyMostPlayedStat", req, cb)
|
|
1667
1669
|
}
|
|
1668
1670
|
|
|
1671
|
+
/**
|
|
1672
|
+
* 提取版权水印信息。
|
|
1673
|
+
*/
|
|
1674
|
+
async ExtractCopyRightWatermark(
|
|
1675
|
+
req: ExtractCopyRightWatermarkRequest,
|
|
1676
|
+
cb?: (error: string, rep: ExtractCopyRightWatermarkResponse) => void
|
|
1677
|
+
): Promise<ExtractCopyRightWatermarkResponse> {
|
|
1678
|
+
return this.request("ExtractCopyRightWatermark", req, cb)
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1669
1681
|
/**
|
|
1670
1682
|
* 该接口用于:
|
|
1671
1683
|
1. 查询点播可开通的所有存储园区列表。
|
|
@@ -8481,6 +8481,36 @@ export interface AnimatedGraphicsTemplate {
|
|
|
8481
8481
|
UpdateTime: string
|
|
8482
8482
|
}
|
|
8483
8483
|
|
|
8484
|
+
/**
|
|
8485
|
+
* ExtractCopyRightWatermark请求参数结构体
|
|
8486
|
+
*/
|
|
8487
|
+
export interface ExtractCopyRightWatermarkRequest {
|
|
8488
|
+
/**
|
|
8489
|
+
* 需要提取水印的媒体 URL。
|
|
8490
|
+
*/
|
|
8491
|
+
Url: string
|
|
8492
|
+
/**
|
|
8493
|
+
* <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
8494
|
+
*/
|
|
8495
|
+
SubAppId?: number
|
|
8496
|
+
/**
|
|
8497
|
+
* 标识来源上下文,用于透传用户请求信息,在 ExtractCopyRightWatermarkComplete 回调和任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
|
8498
|
+
*/
|
|
8499
|
+
SessionContext?: string
|
|
8500
|
+
/**
|
|
8501
|
+
* 用于任务去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
|
8502
|
+
*/
|
|
8503
|
+
SessionId?: string
|
|
8504
|
+
/**
|
|
8505
|
+
* 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
|
|
8506
|
+
*/
|
|
8507
|
+
TasksPriority?: number
|
|
8508
|
+
/**
|
|
8509
|
+
* 保留字段,特殊用途时使用。
|
|
8510
|
+
*/
|
|
8511
|
+
ExtInfo?: string
|
|
8512
|
+
}
|
|
8513
|
+
|
|
8484
8514
|
/**
|
|
8485
8515
|
* DescribeEnhanceMediaTemplates请求参数结构体
|
|
8486
8516
|
*/
|
|
@@ -9837,6 +9867,20 @@ export interface DescribeAIAnalysisTemplatesRequest {
|
|
|
9837
9867
|
Limit?: number
|
|
9838
9868
|
}
|
|
9839
9869
|
|
|
9870
|
+
/**
|
|
9871
|
+
* ExtractCopyRightWatermark返回参数结构体
|
|
9872
|
+
*/
|
|
9873
|
+
export interface ExtractCopyRightWatermarkResponse {
|
|
9874
|
+
/**
|
|
9875
|
+
* 任务 ID。
|
|
9876
|
+
*/
|
|
9877
|
+
TaskId?: string
|
|
9878
|
+
/**
|
|
9879
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9880
|
+
*/
|
|
9881
|
+
RequestId?: string
|
|
9882
|
+
}
|
|
9883
|
+
|
|
9840
9884
|
/**
|
|
9841
9885
|
* 点播文件转码信息
|
|
9842
9886
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.624";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const bma: {
|
|
2
|
-
v20210624: {
|
|
3
|
-
Client: typeof import("./v20210624/bma_client").Client;
|
|
4
|
-
Models: typeof import("./v20210624/bma_models");
|
|
5
|
-
};
|
|
6
2
|
v20221115: {
|
|
7
3
|
Client: typeof import("./v20221115/bma_client").Client;
|
|
8
4
|
Models: typeof import("./v20221115/bma_models");
|
|
9
5
|
};
|
|
6
|
+
v20210624: {
|
|
7
|
+
Client: typeof import("./v20210624/bma_client").Client;
|
|
8
|
+
Models: typeof import("./v20210624/bma_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bma = void 0;
|
|
4
|
-
const v20210624_1 = require("./v20210624");
|
|
5
4
|
const v20221115_1 = require("./v20221115");
|
|
5
|
+
const v20210624_1 = require("./v20210624");
|
|
6
6
|
exports.bma = {
|
|
7
|
-
v20210624: v20210624_1.v20210624,
|
|
8
7
|
v20221115: v20221115_1.v20221115,
|
|
8
|
+
v20210624: v20210624_1.v20210624,
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const btoe: {
|
|
2
|
-
v20210303: {
|
|
3
|
-
Client: typeof import("./v20210303/btoe_client").Client;
|
|
4
|
-
Models: typeof import("./v20210303/btoe_models");
|
|
5
|
-
};
|
|
6
2
|
v20210514: {
|
|
7
3
|
Client: typeof import("./v20210514/btoe_client").Client;
|
|
8
4
|
Models: typeof import("./v20210514/btoe_models");
|
|
9
5
|
};
|
|
6
|
+
v20210303: {
|
|
7
|
+
Client: typeof import("./v20210303/btoe_client").Client;
|
|
8
|
+
Models: typeof import("./v20210303/btoe_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.btoe = void 0;
|
|
4
|
-
const v20210303_1 = require("./v20210303");
|
|
5
4
|
const v20210514_1 = require("./v20210514");
|
|
5
|
+
const v20210303_1 = require("./v20210303");
|
|
6
6
|
exports.btoe = {
|
|
7
|
-
v20210303: v20210303_1.v20210303,
|
|
8
7
|
v20210514: v20210514_1.v20210514,
|
|
8
|
+
v20210303: v20210303_1.v20210303,
|
|
9
9
|
};
|
|
@@ -2185,11 +2185,11 @@ export interface DescribeBinlogsRequest {
|
|
|
2185
2185
|
*/
|
|
2186
2186
|
Limit?: number;
|
|
2187
2187
|
/**
|
|
2188
|
-
* binlog
|
|
2188
|
+
* binlog最早开始时间,时间格式:2016-03-17 02:10:37
|
|
2189
2189
|
*/
|
|
2190
2190
|
MinStartTime?: string;
|
|
2191
2191
|
/**
|
|
2192
|
-
* binlog
|
|
2192
|
+
* binlog最晚开始时间,时间格式:2016-03-17 02:10:37
|
|
2193
2193
|
*/
|
|
2194
2194
|
MaxStartTime?: string;
|
|
2195
2195
|
}
|
|
@@ -27,7 +27,7 @@ export declare class Client extends AbstractClient {
|
|
|
27
27
|
DeleteCdnDomain(req: DeleteCdnDomainRequest, cb?: (error: string, rep: DeleteCdnDomainResponse) => void): Promise<DeleteCdnDomainResponse>;
|
|
28
28
|
/**
|
|
29
29
|
* VerifyDomainRecord 用于验证域名解析值。
|
|
30
|
-
验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118)
|
|
30
|
+
验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118) 生成校验解析值,验证通过后,24小时有效。
|
|
31
31
|
具体流程可参考:[使用API接口进行域名归属校验](https://cloud.tencent.com/document/product/228/61702#.E6.96.B9.E6.B3.95.E4.B8.89.EF.BC.9Aapi-.E6.8E.A5.E5.8F.A3.E6.93.8D.E4.BD.9C)
|
|
32
32
|
*/
|
|
33
33
|
VerifyDomainRecord(req: VerifyDomainRecordRequest, cb?: (error: string, rep: VerifyDomainRecordResponse) => void): Promise<VerifyDomainRecordResponse>;
|
|
@@ -93,6 +93,7 @@ export declare class Client extends AbstractClient {
|
|
|
93
93
|
/**
|
|
94
94
|
* CreateVerifyRecord 用于生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
|
95
95
|
生成的解析记录可通过 [VerifyDomainRecord](https://cloud.tencent.com/document/product/228/48117) 完成归属权校验。
|
|
96
|
+
注意:生成的解析记录有效期为24小时,超过24小时后,需重新生成。
|
|
96
97
|
具体流程可参考:[使用API接口进行域名归属校验](https://cloud.tencent.com/document/product/228/61702#.E6.96.B9.E6.B3.95.E4.B8.89.EF.BC.9Aapi-.E6.8E.A5.E5.8F.A3.E6.93.8D.E4.BD.9C)
|
|
97
98
|
*/
|
|
98
99
|
CreateVerifyRecord(req: CreateVerifyRecordRequest, cb?: (error: string, rep: CreateVerifyRecordResponse) => void): Promise<CreateVerifyRecordResponse>;
|
|
@@ -55,7 +55,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* VerifyDomainRecord 用于验证域名解析值。
|
|
58
|
-
验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118)
|
|
58
|
+
验证域名解析记录值前,您需要通过 [CreateVerifyRecord](https://cloud.tencent.com/document/product/228/48118) 生成校验解析值,验证通过后,24小时有效。
|
|
59
59
|
具体流程可参考:[使用API接口进行域名归属校验](https://cloud.tencent.com/document/product/228/61702#.E6.96.B9.E6.B3.95.E4.B8.89.EF.BC.9Aapi-.E6.8E.A5.E5.8F.A3.E6.93.8D.E4.BD.9C)
|
|
60
60
|
*/
|
|
61
61
|
async VerifyDomainRecord(req, cb) {
|
|
@@ -145,6 +145,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
145
145
|
/**
|
|
146
146
|
* CreateVerifyRecord 用于生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
|
147
147
|
生成的解析记录可通过 [VerifyDomainRecord](https://cloud.tencent.com/document/product/228/48117) 完成归属权校验。
|
|
148
|
+
注意:生成的解析记录有效期为24小时,超过24小时后,需重新生成。
|
|
148
149
|
具体流程可参考:[使用API接口进行域名归属校验](https://cloud.tencent.com/document/product/228/61702#.E6.96.B9.E6.B3.95.E4.B8.89.EF.BC.9Aapi-.E6.8E.A5.E5.8F.A3.E6.93.8D.E4.BD.9C)
|
|
149
150
|
*/
|
|
150
151
|
async CreateVerifyRecord(req, cb) {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export declare const cloudstudio: {
|
|
2
|
+
v20230508: {
|
|
3
|
+
Client: typeof import("./v20230508/cloudstudio_client").Client;
|
|
4
|
+
Models: typeof import("./v20230508/cloudstudio_models");
|
|
5
|
+
};
|
|
2
6
|
v20210524: {
|
|
3
7
|
Client: typeof import("./v20210524/cloudstudio_client").Client;
|
|
4
8
|
Models: typeof import("./v20210524/cloudstudio_models");
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.cloudstudio = void 0;
|
|
4
|
+
const v20230508_1 = require("./v20230508");
|
|
4
5
|
const v20210524_1 = require("./v20210524");
|
|
5
6
|
exports.cloudstudio = {
|
|
7
|
+
v20230508: v20230508_1.v20230508,
|
|
6
8
|
v20210524: v20210524_1.v20210524,
|
|
7
9
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DescribeConfigRequest, DescribeWorkspacesRequest, RunWorkspaceRequest, CreateWorkspaceTokenResponse, CreateWorkspaceTokenRequest, CreateWorkspaceRequest, RunWorkspaceResponse, StopWorkspaceResponse, RemoveWorkspaceResponse, RemoveWorkspaceRequest, StopWorkspaceRequest, ModifyWorkspaceResponse, CreateWorkspaceResponse, DescribeConfigResponse, DescribeImagesRequest, DescribeWorkspacesResponse, ModifyWorkspaceRequest, DescribeImagesResponse } from "./cloudstudio_models";
|
|
4
|
+
/**
|
|
5
|
+
* cloudstudio client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 获取用户配置
|
|
12
|
+
*/
|
|
13
|
+
DescribeConfig(req: DescribeConfigRequest, cb?: (error: string, rep: DescribeConfigResponse) => void): Promise<DescribeConfigResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 修改工作空间
|
|
16
|
+
*/
|
|
17
|
+
ModifyWorkspace(req: ModifyWorkspaceRequest, cb?: (error: string, rep: ModifyWorkspaceResponse) => void): Promise<ModifyWorkspaceResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 获取用户工作空间列表
|
|
20
|
+
*/
|
|
21
|
+
DescribeWorkspaces(req: DescribeWorkspacesRequest, cb?: (error: string, rep: DescribeWorkspacesResponse) => void): Promise<DescribeWorkspacesResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 获取基础镜像列表
|
|
24
|
+
*/
|
|
25
|
+
DescribeImages(req?: DescribeImagesRequest, cb?: (error: string, rep: DescribeImagesResponse) => void): Promise<DescribeImagesResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 创建工作空间
|
|
28
|
+
*/
|
|
29
|
+
CreateWorkspace(req: CreateWorkspaceRequest, cb?: (error: string, rep: CreateWorkspaceResponse) => void): Promise<CreateWorkspaceResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 为工作空间创建临时访问凭证,重复调用会创建新的 Token,旧的 Token 将会自动失效
|
|
32
|
+
*/
|
|
33
|
+
CreateWorkspaceToken(req: CreateWorkspaceTokenRequest, cb?: (error: string, rep: CreateWorkspaceTokenResponse) => void): Promise<CreateWorkspaceTokenResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 删除工作空间
|
|
36
|
+
*/
|
|
37
|
+
RemoveWorkspace(req: RemoveWorkspaceRequest, cb?: (error: string, rep: RemoveWorkspaceResponse) => void): Promise<RemoveWorkspaceResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 停止运行空间
|
|
40
|
+
*/
|
|
41
|
+
StopWorkspace(req: StopWorkspaceRequest, cb?: (error: string, rep: StopWorkspaceResponse) => void): Promise<StopWorkspaceResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* 运行空间
|
|
44
|
+
*/
|
|
45
|
+
RunWorkspace(req: RunWorkspaceRequest, cb?: (error: string, rep: RunWorkspaceResponse) => void): Promise<RunWorkspaceResponse>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* cloudstudio client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("cloudstudio.tencentcloudapi.com", "2023-05-08", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 获取用户配置
|
|
32
|
+
*/
|
|
33
|
+
async DescribeConfig(req, cb) {
|
|
34
|
+
return this.request("DescribeConfig", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 修改工作空间
|
|
38
|
+
*/
|
|
39
|
+
async ModifyWorkspace(req, cb) {
|
|
40
|
+
return this.request("ModifyWorkspace", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 获取用户工作空间列表
|
|
44
|
+
*/
|
|
45
|
+
async DescribeWorkspaces(req, cb) {
|
|
46
|
+
return this.request("DescribeWorkspaces", req, cb);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 获取基础镜像列表
|
|
50
|
+
*/
|
|
51
|
+
async DescribeImages(req, cb) {
|
|
52
|
+
return this.request("DescribeImages", req, cb);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* 创建工作空间
|
|
56
|
+
*/
|
|
57
|
+
async CreateWorkspace(req, cb) {
|
|
58
|
+
return this.request("CreateWorkspace", req, cb);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 为工作空间创建临时访问凭证,重复调用会创建新的 Token,旧的 Token 将会自动失效
|
|
62
|
+
*/
|
|
63
|
+
async CreateWorkspaceToken(req, cb) {
|
|
64
|
+
return this.request("CreateWorkspaceToken", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 删除工作空间
|
|
68
|
+
*/
|
|
69
|
+
async RemoveWorkspace(req, cb) {
|
|
70
|
+
return this.request("RemoveWorkspace", req, cb);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 停止运行空间
|
|
74
|
+
*/
|
|
75
|
+
async StopWorkspace(req, cb) {
|
|
76
|
+
return this.request("StopWorkspace", req, cb);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 运行空间
|
|
80
|
+
*/
|
|
81
|
+
async RunWorkspace(req, cb) {
|
|
82
|
+
return this.request("RunWorkspace", req, cb);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.Client = Client;
|