tencentcloud-sdk-nodejs 4.0.300 → 4.0.303
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 +269 -0
- package/SERVICE_CHANGELOG.md +286 -333
- package/package.json +1 -1
- package/products.md +16 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/casb/index.ts +5 -0
- package/src/services/casb/v20200507/casb_client.ts +51 -0
- package/src/services/casb/v20200507/casb_models.ts +76 -0
- package/src/services/casb/v20200507/index.ts +6 -0
- package/src/services/ccc/v20200210/ccc_models.ts +12 -0
- package/src/services/cdn/v20180606/cdn_models.ts +18 -18
- package/src/services/ckafka/v20190819/ckafka_client.ts +44 -8
- package/src/services/ckafka/v20190819/ckafka_models.ts +123 -20
- package/src/services/cls/v20201016/cls_client.ts +2 -2
- package/src/services/cls/v20201016/cls_models.ts +36 -47
- package/src/services/cpdp/v20190820/cpdp_client.ts +123 -15
- package/src/services/cpdp/v20190820/cpdp_models.ts +1449 -493
- package/src/services/index.ts +1 -0
- package/src/services/ivld/v20210903/ivld_client.ts +2 -0
- package/src/services/ivld/v20210903/ivld_models.ts +48 -0
- package/src/services/organization/v20210331/organization_models.ts +6 -0
- package/src/services/ses/v20201002/ses_client.ts +15 -2
- package/src/services/ses/v20201002/ses_models.ts +51 -10
- package/src/services/tcss/v20201101/tcss_models.ts +5 -0
- package/src/services/tke/v20180525/tke_client.ts +25 -13
- package/src/services/tke/v20180525/tke_models.ts +39 -4
- package/src/services/tse/v20201207/tse_models.ts +15 -0
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/casb/index.d.ts +6 -0
- package/tencentcloud/services/casb/index.js +7 -0
- package/tencentcloud/services/casb/v20200507/casb_client.d.ts +21 -0
- package/tencentcloud/services/casb/v20200507/casb_client.js +44 -0
- package/tencentcloud/services/casb/v20200507/casb_models.d.ts +51 -0
- package/tencentcloud/services/casb/v20200507/casb_models.js +18 -0
- package/tencentcloud/services/casb/v20200507/index.d.ts +6 -0
- package/tencentcloud/services/casb/v20200507/index.js +9 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +10 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +18 -18
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +15 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +21 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +108 -19
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +2 -2
- package/tencentcloud/services/cls/v20201016/cls_client.js +2 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +36 -47
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +36 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +52 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1294 -470
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +41 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +5 -0
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +5 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +6 -0
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +46 -10
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +4 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +9 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +12 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -4
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +12 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/test/casb.v20200507.test.js +31 -0
- package/test/ckafka.v20190819.test.js +32 -2
- package/test/cpdp.v20190820.test.js +82 -2
- package/test/ses.v20201002.test.js +10 -0
- package/test/tke.v20180525.test.js +14 -4
package/src/services/index.ts
CHANGED
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
DescribeTasksRequest,
|
|
44
44
|
DescribeTaskDetailResponse,
|
|
45
45
|
PersonImageInfo,
|
|
46
|
+
ClassifiedPersonInfo,
|
|
46
47
|
CreateCustomGroupRequest,
|
|
47
48
|
DescribeCustomPersonsResponse,
|
|
48
49
|
AddCustomPersonImageResponse,
|
|
@@ -61,6 +62,7 @@ import {
|
|
|
61
62
|
ModifyCallbackResponse,
|
|
62
63
|
DescribeCustomPersonsRequest,
|
|
63
64
|
DescribeTasksResponse,
|
|
65
|
+
PersonInfo,
|
|
64
66
|
TextInfo,
|
|
65
67
|
AudioInfo,
|
|
66
68
|
CustomPersonFilter,
|
|
@@ -138,6 +138,12 @@ export interface ShowInfo {
|
|
|
138
138
|
*/
|
|
139
139
|
TextInfoSet: Array<TextInfo>
|
|
140
140
|
|
|
141
|
+
/**
|
|
142
|
+
* 已分类人物信息列表
|
|
143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
144
|
+
*/
|
|
145
|
+
ClassifiedPersonInfoSet: Array<ClassifiedPersonInfo>
|
|
146
|
+
|
|
141
147
|
/**
|
|
142
148
|
* 文本标签列表,包含标签内容和出现信息
|
|
143
149
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -568,6 +574,23 @@ export interface PersonImageInfo {
|
|
|
568
574
|
ErrorMsg: string
|
|
569
575
|
}
|
|
570
576
|
|
|
577
|
+
/**
|
|
578
|
+
* 已分类的人物信息
|
|
579
|
+
*/
|
|
580
|
+
export interface ClassifiedPersonInfo {
|
|
581
|
+
/**
|
|
582
|
+
* 人物分类名称
|
|
583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
584
|
+
*/
|
|
585
|
+
ClassifyName: string
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* 符合特定分类的人物信息数组
|
|
589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
590
|
+
*/
|
|
591
|
+
PersonInfoSet: Array<PersonInfo>
|
|
592
|
+
}
|
|
593
|
+
|
|
571
594
|
/**
|
|
572
595
|
* CreateCustomGroup请求参数结构体
|
|
573
596
|
*/
|
|
@@ -898,6 +921,31 @@ export interface DescribeTasksResponse {
|
|
|
898
921
|
RequestId?: string
|
|
899
922
|
}
|
|
900
923
|
|
|
924
|
+
/**
|
|
925
|
+
* 人物信息
|
|
926
|
+
*/
|
|
927
|
+
export interface PersonInfo {
|
|
928
|
+
/**
|
|
929
|
+
* 公众人物姓名
|
|
930
|
+
*/
|
|
931
|
+
Name: string
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* 公众人物职务
|
|
935
|
+
*/
|
|
936
|
+
Job: string
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* 首次出现模态,可选值为[1,3],详细参见AppearIndex定义
|
|
940
|
+
*/
|
|
941
|
+
FirstAppear: number
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* 人物出现信息
|
|
945
|
+
*/
|
|
946
|
+
AppearInfo: AppearInfo
|
|
947
|
+
}
|
|
948
|
+
|
|
901
949
|
/**
|
|
902
950
|
* 可视文本识别结果信息(OCR)
|
|
903
951
|
*/
|
|
@@ -339,6 +339,12 @@ export interface OrgMember {
|
|
|
339
339
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
340
340
|
*/
|
|
341
341
|
OrgIdentity: Array<MemberIdentity>
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* 安全信息绑定状态 未绑定:Unbound,待激活:Valid,绑定成功:Success,绑定失败:Failed
|
|
345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
346
|
+
*/
|
|
347
|
+
BindStatus: string
|
|
342
348
|
}
|
|
343
349
|
|
|
344
350
|
/**
|
|
@@ -33,6 +33,7 @@ import {
|
|
|
33
33
|
ListSendTasksRequest,
|
|
34
34
|
GetSendEmailStatusResponse,
|
|
35
35
|
SendEmailRequest,
|
|
36
|
+
DeleteBlackListRequest,
|
|
36
37
|
EmailSender,
|
|
37
38
|
BatchSendEmailResponse,
|
|
38
39
|
DeleteEmailIdentityRequest,
|
|
@@ -40,7 +41,7 @@ import {
|
|
|
40
41
|
GetEmailIdentityRequest,
|
|
41
42
|
DeleteEmailIdentityResponse,
|
|
42
43
|
GetStatisticsReportRequest,
|
|
43
|
-
|
|
44
|
+
CreateReceiverRequest,
|
|
44
45
|
SendTaskData,
|
|
45
46
|
DeleteEmailTemplateResponse,
|
|
46
47
|
Volume,
|
|
@@ -52,7 +53,8 @@ import {
|
|
|
52
53
|
UpdateEmailTemplateRequest,
|
|
53
54
|
SendEmailStatus,
|
|
54
55
|
ListEmailTemplatesRequest,
|
|
55
|
-
|
|
56
|
+
CreateReceiverDetailWithDataResponse,
|
|
57
|
+
ReceiverInputData,
|
|
56
58
|
CreateReceiverDetailResponse,
|
|
57
59
|
ListEmailTemplatesResponse,
|
|
58
60
|
SendEmailResponse,
|
|
@@ -75,6 +77,7 @@ import {
|
|
|
75
77
|
ListReceiversResponse,
|
|
76
78
|
CreateEmailAddressResponse,
|
|
77
79
|
UpdateEmailTemplateResponse,
|
|
80
|
+
CreateReceiverDetailWithDataRequest,
|
|
78
81
|
TimedEmailParam,
|
|
79
82
|
DNSAttributes,
|
|
80
83
|
GetEmailTemplateResponse,
|
|
@@ -110,6 +113,16 @@ export class Client extends AbstractClient {
|
|
|
110
113
|
return this.request("CreateEmailAddress", req, cb)
|
|
111
114
|
}
|
|
112
115
|
|
|
116
|
+
/**
|
|
117
|
+
* 添加收件人地址附带模板参数
|
|
118
|
+
*/
|
|
119
|
+
async CreateReceiverDetailWithData(
|
|
120
|
+
req: CreateReceiverDetailWithDataRequest,
|
|
121
|
+
cb?: (error: string, rep: CreateReceiverDetailWithDataResponse) => void
|
|
122
|
+
): Promise<CreateReceiverDetailWithDataResponse> {
|
|
123
|
+
return this.request("CreateReceiverDetailWithData", req, cb)
|
|
124
|
+
}
|
|
125
|
+
|
|
113
126
|
/**
|
|
114
127
|
* 获取邮件发送状态。仅支持查询30天之内的数据
|
|
115
128
|
*/
|
|
@@ -381,6 +381,16 @@ export interface SendEmailRequest {
|
|
|
381
381
|
Unsubscribe?: string
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
+
/**
|
|
385
|
+
* DeleteBlackList请求参数结构体
|
|
386
|
+
*/
|
|
387
|
+
export interface DeleteBlackListRequest {
|
|
388
|
+
/**
|
|
389
|
+
* 需要清除的黑名单邮箱列表,数组长度至少为1
|
|
390
|
+
*/
|
|
391
|
+
EmailAddressList: Array<string>
|
|
392
|
+
}
|
|
393
|
+
|
|
384
394
|
/**
|
|
385
395
|
* 用于描述发件人相关信息
|
|
386
396
|
*/
|
|
@@ -484,13 +494,18 @@ export interface GetStatisticsReportRequest {
|
|
|
484
494
|
}
|
|
485
495
|
|
|
486
496
|
/**
|
|
487
|
-
*
|
|
497
|
+
* CreateReceiver请求参数结构体
|
|
488
498
|
*/
|
|
489
|
-
export interface
|
|
499
|
+
export interface CreateReceiverRequest {
|
|
490
500
|
/**
|
|
491
|
-
*
|
|
501
|
+
* 收件人列表名称
|
|
492
502
|
*/
|
|
493
|
-
|
|
503
|
+
ReceiversName: string
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* 收件人列表描述
|
|
507
|
+
*/
|
|
508
|
+
Desc?: string
|
|
494
509
|
}
|
|
495
510
|
|
|
496
511
|
/**
|
|
@@ -859,18 +874,29 @@ export interface ListEmailTemplatesRequest {
|
|
|
859
874
|
}
|
|
860
875
|
|
|
861
876
|
/**
|
|
862
|
-
*
|
|
877
|
+
* CreateReceiverDetailWithData返回参数结构体
|
|
863
878
|
*/
|
|
864
|
-
export interface
|
|
879
|
+
export interface CreateReceiverDetailWithDataResponse {
|
|
865
880
|
/**
|
|
866
|
-
*
|
|
881
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
867
882
|
*/
|
|
868
|
-
|
|
883
|
+
RequestId?: string
|
|
884
|
+
}
|
|
869
885
|
|
|
886
|
+
/**
|
|
887
|
+
* 收件人明细输入参数,包含收件人邮箱,以及模板参数
|
|
888
|
+
*/
|
|
889
|
+
export interface ReceiverInputData {
|
|
870
890
|
/**
|
|
871
|
-
*
|
|
891
|
+
* 收件人邮箱
|
|
872
892
|
*/
|
|
873
|
-
|
|
893
|
+
Email: string
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* 模板中的变量参数,请使用json.dump将json对象格式化为string类型。该对象是一组键值对,每个Key代表模板中的一个变量,模板中的变量使用{{键}}表示,相应的值在发送时会被替换为{{值}}。
|
|
897
|
+
注意:参数值不能是html等复杂类型的数据。
|
|
898
|
+
*/
|
|
899
|
+
TemplateData: string
|
|
874
900
|
}
|
|
875
901
|
|
|
876
902
|
/**
|
|
@@ -1224,6 +1250,21 @@ export interface UpdateEmailTemplateResponse {
|
|
|
1224
1250
|
RequestId?: string
|
|
1225
1251
|
}
|
|
1226
1252
|
|
|
1253
|
+
/**
|
|
1254
|
+
* CreateReceiverDetailWithData请求参数结构体
|
|
1255
|
+
*/
|
|
1256
|
+
export interface CreateReceiverDetailWithDataRequest {
|
|
1257
|
+
/**
|
|
1258
|
+
* 收件人列表ID
|
|
1259
|
+
*/
|
|
1260
|
+
ReceiverId: number
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* 收信人邮箱以及模板参数,数组形式
|
|
1264
|
+
*/
|
|
1265
|
+
Datas: Array<ReceiverInputData>
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1227
1268
|
/**
|
|
1228
1269
|
* 创建定时发送邮件任务时,设置的定时参数,比如开始时间之类
|
|
1229
1270
|
*/
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
UpdateEKSClusterRequest,
|
|
42
42
|
CreateClusterRouteTableResponse,
|
|
43
43
|
DescribeClusterCommonNamesRequest,
|
|
44
|
-
|
|
44
|
+
DescribeTKEEdgeScriptResponse,
|
|
45
45
|
NfsVolume,
|
|
46
46
|
DeleteClusterEndpointResponse,
|
|
47
47
|
PrometheusTemplateModify,
|
|
@@ -257,6 +257,7 @@ import {
|
|
|
257
257
|
DescribePrometheusInstanceResponse,
|
|
258
258
|
Capabilities,
|
|
259
259
|
AddExistedInstancesRequest,
|
|
260
|
+
DescribeTKEEdgeScriptRequest,
|
|
260
261
|
ClusterAsGroupOption,
|
|
261
262
|
AddVpcCniSubnetsResponse,
|
|
262
263
|
ModifyNodePoolDesiredCapacityAboutAsgRequest,
|
|
@@ -294,6 +295,7 @@ import {
|
|
|
294
295
|
DescribeClusterAsGroupOptionResponse,
|
|
295
296
|
ClusterAsGroupAttribute,
|
|
296
297
|
DeleteClusterNodePoolResponse,
|
|
298
|
+
RunAutomationServiceEnabled,
|
|
297
299
|
PrometheusTemplate,
|
|
298
300
|
RunMonitorServiceEnabled,
|
|
299
301
|
UpdateClusterVersionResponse,
|
|
@@ -478,13 +480,13 @@ export class Client extends AbstractClient {
|
|
|
478
480
|
}
|
|
479
481
|
|
|
480
482
|
/**
|
|
481
|
-
*
|
|
483
|
+
* 编辑节点池
|
|
482
484
|
*/
|
|
483
|
-
async
|
|
484
|
-
req:
|
|
485
|
-
cb?: (error: string, rep:
|
|
486
|
-
): Promise<
|
|
487
|
-
return this.request("
|
|
485
|
+
async ModifyClusterNodePool(
|
|
486
|
+
req: ModifyClusterNodePoolRequest,
|
|
487
|
+
cb?: (error: string, rep: ModifyClusterNodePoolResponse) => void
|
|
488
|
+
): Promise<ModifyClusterNodePoolResponse> {
|
|
489
|
+
return this.request("ModifyClusterNodePool", req, cb)
|
|
488
490
|
}
|
|
489
491
|
|
|
490
492
|
/**
|
|
@@ -688,13 +690,13 @@ export class Client extends AbstractClient {
|
|
|
688
690
|
}
|
|
689
691
|
|
|
690
692
|
/**
|
|
691
|
-
*
|
|
693
|
+
* 查询集群访问端口状态(独立集群开启内网/外网访问,托管集群支持开启内网访问)
|
|
692
694
|
*/
|
|
693
|
-
async
|
|
694
|
-
req:
|
|
695
|
-
cb?: (error: string, rep:
|
|
696
|
-
): Promise<
|
|
697
|
-
return this.request("
|
|
695
|
+
async DescribeClusterEndpointStatus(
|
|
696
|
+
req: DescribeClusterEndpointStatusRequest,
|
|
697
|
+
cb?: (error: string, rep: DescribeClusterEndpointStatusResponse) => void
|
|
698
|
+
): Promise<DescribeClusterEndpointStatusResponse> {
|
|
699
|
+
return this.request("DescribeClusterEndpointStatus", req, cb)
|
|
698
700
|
}
|
|
699
701
|
|
|
700
702
|
/**
|
|
@@ -817,6 +819,16 @@ export class Client extends AbstractClient {
|
|
|
817
819
|
return this.request("RestartEKSContainerInstances", req, cb)
|
|
818
820
|
}
|
|
819
821
|
|
|
822
|
+
/**
|
|
823
|
+
* 获取边缘脚本链接
|
|
824
|
+
*/
|
|
825
|
+
async DescribeTKEEdgeScript(
|
|
826
|
+
req: DescribeTKEEdgeScriptRequest,
|
|
827
|
+
cb?: (error: string, rep: DescribeTKEEdgeScriptResponse) => void
|
|
828
|
+
): Promise<DescribeTKEEdgeScriptResponse> {
|
|
829
|
+
return this.request("DescribeTKEEdgeScript", req, cb)
|
|
830
|
+
}
|
|
831
|
+
|
|
820
832
|
/**
|
|
821
833
|
* 修改节点池关联伸缩组的期望实例数
|
|
822
834
|
*/
|
|
@@ -516,13 +516,13 @@ export interface DescribeClusterCommonNamesRequest {
|
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
/**
|
|
519
|
-
*
|
|
519
|
+
* DescribeTKEEdgeScript返回参数结构体
|
|
520
520
|
*/
|
|
521
|
-
export interface
|
|
521
|
+
export interface DescribeTKEEdgeScriptResponse {
|
|
522
522
|
/**
|
|
523
|
-
*
|
|
523
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
524
524
|
*/
|
|
525
|
-
|
|
525
|
+
RequestId?: string
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
/**
|
|
@@ -5855,6 +5855,31 @@ export interface AddExistedInstancesRequest {
|
|
|
5855
5855
|
InstanceAdvancedSettingsOverrides?: Array<InstanceAdvancedSettings>
|
|
5856
5856
|
}
|
|
5857
5857
|
|
|
5858
|
+
/**
|
|
5859
|
+
* DescribeTKEEdgeScript请求参数结构体
|
|
5860
|
+
*/
|
|
5861
|
+
export interface DescribeTKEEdgeScriptRequest {
|
|
5862
|
+
/**
|
|
5863
|
+
* 集群id
|
|
5864
|
+
*/
|
|
5865
|
+
ClusterId: string
|
|
5866
|
+
|
|
5867
|
+
/**
|
|
5868
|
+
* 网卡名
|
|
5869
|
+
*/
|
|
5870
|
+
Interface: string
|
|
5871
|
+
|
|
5872
|
+
/**
|
|
5873
|
+
* 节点名字
|
|
5874
|
+
*/
|
|
5875
|
+
NodeName?: string
|
|
5876
|
+
|
|
5877
|
+
/**
|
|
5878
|
+
* json格式的节点配置
|
|
5879
|
+
*/
|
|
5880
|
+
Config?: string
|
|
5881
|
+
}
|
|
5882
|
+
|
|
5858
5883
|
/**
|
|
5859
5884
|
* 集群弹性伸缩配置
|
|
5860
5885
|
*/
|
|
@@ -6634,6 +6659,16 @@ export interface DeleteClusterNodePoolResponse {
|
|
|
6634
6659
|
RequestId?: string
|
|
6635
6660
|
}
|
|
6636
6661
|
|
|
6662
|
+
/**
|
|
6663
|
+
* 描述了 “云自动化助手” 服务相关的信息
|
|
6664
|
+
*/
|
|
6665
|
+
export interface RunAutomationServiceEnabled {
|
|
6666
|
+
/**
|
|
6667
|
+
* 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:FALSE。
|
|
6668
|
+
*/
|
|
6669
|
+
Enabled?: boolean
|
|
6670
|
+
}
|
|
6671
|
+
|
|
6637
6672
|
/**
|
|
6638
6673
|
* 模板实例
|
|
6639
6674
|
*/
|
|
@@ -295,6 +295,21 @@ export interface EnvInfo {
|
|
|
295
295
|
* config-server公网访问地址
|
|
296
296
|
*/
|
|
297
297
|
ConfigInternetServiceIp?: string
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* 规格ID
|
|
301
|
+
*/
|
|
302
|
+
SpecId?: string
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* 环境的节点数
|
|
306
|
+
*/
|
|
307
|
+
EnvReplica?: number
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* 环境运行的节点数
|
|
311
|
+
*/
|
|
312
|
+
RunningCount?: number
|
|
298
313
|
}
|
|
299
314
|
|
|
300
315
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.303";
|
|
@@ -386,7 +386,7 @@ export interface CreateRecTaskRequest {
|
|
|
386
386
|
*/
|
|
387
387
|
EngineModelType: string;
|
|
388
388
|
/**
|
|
389
|
-
* 识别声道数。1
|
|
389
|
+
* 识别声道数。1:单声道(非电话场景,直接选择单声道即可,忽略音频声道数);2:双声道(仅支持8k_zh电话场景,双声道应分别对应通话双方)。注意:双声道的电话音频已物理分离说话人,无需再开启说话人分离功能。
|
|
390
390
|
*/
|
|
391
391
|
ChannelNum: number;
|
|
392
392
|
/**
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { CopyCryptoColumnPolicyRequest, CopyCryptoColumnPolicyResponse } from "./casb_models";
|
|
4
|
+
/**
|
|
5
|
+
* casb client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 同region下 根据用户输入的CasbId,MetaDataId 复制策略到DstCasbId,MetaDataId中。
|
|
12
|
+
场景1:
|
|
13
|
+
相同CasbId,不同MetadataId 下策略复制
|
|
14
|
+
场景2:
|
|
15
|
+
不同Casbid,不同MetaDataId 下策略复制
|
|
16
|
+
场景3:
|
|
17
|
+
相同CasbId,相同MetaDataId 且 DatabaseName不同 策略复制
|
|
18
|
+
|
|
19
|
+
*/
|
|
20
|
+
CopyCryptoColumnPolicy(req: CopyCryptoColumnPolicyRequest, cb?: (error: string, rep: CopyCryptoColumnPolicyResponse) => void): Promise<CopyCryptoColumnPolicyResponse>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* casb client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("casb.tencentcloudapi.com", "2020-05-07", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 同region下 根据用户输入的CasbId,MetaDataId 复制策略到DstCasbId,MetaDataId中。
|
|
32
|
+
场景1:
|
|
33
|
+
相同CasbId,不同MetadataId 下策略复制
|
|
34
|
+
场景2:
|
|
35
|
+
不同Casbid,不同MetaDataId 下策略复制
|
|
36
|
+
场景3:
|
|
37
|
+
相同CasbId,相同MetaDataId 且 DatabaseName不同 策略复制
|
|
38
|
+
|
|
39
|
+
*/
|
|
40
|
+
async CopyCryptoColumnPolicy(req, cb) {
|
|
41
|
+
return this.request("CopyCryptoColumnPolicy", req, cb);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CopyCryptoColumnPolicy请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface CopyCryptoColumnPolicyRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 实例Id
|
|
7
|
+
*/
|
|
8
|
+
CasbId: string;
|
|
9
|
+
/**
|
|
10
|
+
* 元数据id
|
|
11
|
+
*/
|
|
12
|
+
MetaDataId: string;
|
|
13
|
+
/**
|
|
14
|
+
* 目标实例Id 如果和实例Id相同则为同CasbId下的策略复制
|
|
15
|
+
*/
|
|
16
|
+
DstCasbId: string;
|
|
17
|
+
/**
|
|
18
|
+
* 目标实例Id 如果和[元数据id]相同则为同元数据下的策略复制
|
|
19
|
+
*/
|
|
20
|
+
DstMetaDataId: string;
|
|
21
|
+
/**
|
|
22
|
+
* 筛选来源数据库的表
|
|
23
|
+
*/
|
|
24
|
+
SrcTableFilter?: Array<CryptoCopyColumnPolicyTableFilter>;
|
|
25
|
+
/**
|
|
26
|
+
* 复制同元数据下的策略,需要填写目标数据库名
|
|
27
|
+
*/
|
|
28
|
+
DstDatabaseName?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 策略迁移表信息筛选
|
|
32
|
+
*/
|
|
33
|
+
export interface CryptoCopyColumnPolicyTableFilter {
|
|
34
|
+
/**
|
|
35
|
+
* 数据库名称
|
|
36
|
+
*/
|
|
37
|
+
DatabaseName: string;
|
|
38
|
+
/**
|
|
39
|
+
* 表名称
|
|
40
|
+
*/
|
|
41
|
+
TableNameSet?: Array<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* CopyCryptoColumnPolicy返回参数结构体
|
|
45
|
+
*/
|
|
46
|
+
export interface CopyCryptoColumnPolicyResponse {
|
|
47
|
+
/**
|
|
48
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
49
|
+
*/
|
|
50
|
+
RequestId?: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20200507 = void 0;
|
|
4
|
+
const Models = require("./casb_models");
|
|
5
|
+
const casb_client_1 = require("./casb_client");
|
|
6
|
+
exports.v20200507 = {
|
|
7
|
+
Client: casb_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -378,6 +378,11 @@ notInService 不在服务区
|
|
|
378
378
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
379
379
|
*/
|
|
380
380
|
AsrUrl: string;
|
|
381
|
+
/**
|
|
382
|
+
* 录音转存第三方COS地址
|
|
383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
384
|
+
*/
|
|
385
|
+
CustomRecordURL: string;
|
|
381
386
|
}
|
|
382
387
|
/**
|
|
383
388
|
* CreateUserSig请求参数结构体
|
|
@@ -1293,6 +1298,11 @@ export interface ServeParticipant {
|
|
|
1293
1298
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1294
1299
|
*/
|
|
1295
1300
|
SkillGroupName: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* 录音转存第三方COS地址
|
|
1303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1304
|
+
*/
|
|
1305
|
+
CustomRecordURL: string;
|
|
1296
1306
|
}
|
|
1297
1307
|
/**
|
|
1298
1308
|
* DescribeTelCdr返回参数结构体
|