tencentcloud-sdk-nodejs-mps 4.0.553 → 4.0.555
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 +395 -0
- package/SERVICE_CHANGELOG.md +487 -198
- package/package.json +1 -1
- package/products.md +57 -58
- package/src/services/mps/v20190612/mps_client.ts +22 -6
- package/src/services/mps/v20190612/mps_models.ts +324 -128
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +5 -1
- package/tencentcloud/services/mps/v20190612/mps_client.js +6 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +285 -118
|
@@ -639,6 +639,43 @@ export interface DescribeOutputRTMPPullSettings {
|
|
|
639
639
|
*/
|
|
640
640
|
ServerUrls: Array<DescribeOutputRTMPPullServerUrl>;
|
|
641
641
|
}
|
|
642
|
+
/**
|
|
643
|
+
* AWS S3 文件是上传触发器。
|
|
644
|
+
*/
|
|
645
|
+
export interface AwsS3FileUploadTrigger {
|
|
646
|
+
/**
|
|
647
|
+
* 工作流绑定的 AWS S3 存储桶。
|
|
648
|
+
*/
|
|
649
|
+
S3Bucket: string;
|
|
650
|
+
/**
|
|
651
|
+
* 工作流绑定的桶所在 AWS 区域。
|
|
652
|
+
*/
|
|
653
|
+
S3Region: string;
|
|
654
|
+
/**
|
|
655
|
+
* 工作流绑定的输入路径目录,必须为绝对路径,即以 `/` 开头和结尾。如`/movie/201907/`,不填代表根目录`/`。
|
|
656
|
+
*/
|
|
657
|
+
Dir?: string;
|
|
658
|
+
/**
|
|
659
|
+
* 工作流允许触发的文件格式列表,如 ["mp4", "flv", "mov"]。不填代表所有格式的文件都可以触发工作流。
|
|
660
|
+
*/
|
|
661
|
+
Formats?: Array<string>;
|
|
662
|
+
/**
|
|
663
|
+
* 工作流绑定的 AWS S3 存储桶的秘钥ID。
|
|
664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
665
|
+
*/
|
|
666
|
+
S3SecretId?: string;
|
|
667
|
+
/**
|
|
668
|
+
* 工作流绑定的 AWS S3 存储桶的秘钥Key。
|
|
669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
670
|
+
*/
|
|
671
|
+
S3SecretKey?: string;
|
|
672
|
+
/**
|
|
673
|
+
* 工作流绑定的 AWS S3 存储桶对应的 SQS事件队列。
|
|
674
|
+
注意:队列和桶需要在同一区域。
|
|
675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
676
|
+
*/
|
|
677
|
+
AwsSQS?: AwsSQS;
|
|
678
|
+
}
|
|
642
679
|
/**
|
|
643
680
|
* 用户自定义文本审核任务控制参数。
|
|
644
681
|
*/
|
|
@@ -830,8 +867,11 @@ export interface EnhanceConfig {
|
|
|
830
867
|
*/
|
|
831
868
|
export interface MediaInputInfo {
|
|
832
869
|
/**
|
|
833
|
-
|
|
834
|
-
|
|
870
|
+
* 输入来源对象的类型,支持:
|
|
871
|
+
<li> COS:COS源</li>
|
|
872
|
+
<li> URL:URL源</li>
|
|
873
|
+
<li> AWS-S3:AWS 源,目前只支持转码任务 </li>
|
|
874
|
+
*/
|
|
835
875
|
Type: string;
|
|
836
876
|
/**
|
|
837
877
|
* 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 对象信息。
|
|
@@ -842,6 +882,11 @@ export interface MediaInputInfo {
|
|
|
842
882
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
843
883
|
*/
|
|
844
884
|
UrlInputInfo?: UrlInputInfo;
|
|
885
|
+
/**
|
|
886
|
+
* 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 对象信息。
|
|
887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
888
|
+
*/
|
|
889
|
+
S3InputInfo?: S3InputInfo;
|
|
845
890
|
}
|
|
846
891
|
/**
|
|
847
892
|
* CreateWorkflow请求参数结构体
|
|
@@ -1429,37 +1474,21 @@ export interface DescribeStreamLinkFlowsResponse {
|
|
|
1429
1474
|
RequestId?: string;
|
|
1430
1475
|
}
|
|
1431
1476
|
/**
|
|
1432
|
-
*
|
|
1477
|
+
* 语音识别片段。
|
|
1433
1478
|
*/
|
|
1434
|
-
export interface
|
|
1435
|
-
/**
|
|
1436
|
-
* 采样截图规格 ID,参见[采样截图参数模板](https://cloud.tencent.com/document/product/266/33480#.E9.87.87.E6.A0.B7.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF)。
|
|
1437
|
-
*/
|
|
1438
|
-
Definition: number;
|
|
1439
|
-
/**
|
|
1440
|
-
* 采样方式,取值范围:
|
|
1441
|
-
<li>Percent:根据百分比间隔采样。</li>
|
|
1442
|
-
<li>Time:根据时间间隔采样。</li>
|
|
1443
|
-
*/
|
|
1444
|
-
SampleType: string;
|
|
1445
|
-
/**
|
|
1446
|
-
* 采样间隔
|
|
1447
|
-
<li>当 SampleType 为 Percent 时,该值表示多少百分比一张图。</li>
|
|
1448
|
-
<li>当 SampleType 为 Time 时,该值表示多少时间间隔一张图,单位秒, 第一张图均为视频首帧。</li>
|
|
1449
|
-
*/
|
|
1450
|
-
Interval: number;
|
|
1479
|
+
export interface AiRecognitionTaskAsrWordsSegmentItem {
|
|
1451
1480
|
/**
|
|
1452
|
-
*
|
|
1481
|
+
* 识别片段起始的偏移时间,单位:秒。
|
|
1453
1482
|
*/
|
|
1454
|
-
|
|
1483
|
+
StartTimeOffset: number;
|
|
1455
1484
|
/**
|
|
1456
|
-
*
|
|
1485
|
+
* 识别片段终止的偏移时间,单位:秒。
|
|
1457
1486
|
*/
|
|
1458
|
-
|
|
1487
|
+
EndTimeOffset: number;
|
|
1459
1488
|
/**
|
|
1460
|
-
*
|
|
1489
|
+
* 识别片段置信度。取值:0~100。
|
|
1461
1490
|
*/
|
|
1462
|
-
|
|
1491
|
+
Confidence: number;
|
|
1463
1492
|
}
|
|
1464
1493
|
/**
|
|
1465
1494
|
* 内容审核结果
|
|
@@ -2767,6 +2796,23 @@ export interface ScheduleRecognitionTaskResult {
|
|
|
2767
2796
|
*/
|
|
2768
2797
|
Output: Array<AiRecognitionResult>;
|
|
2769
2798
|
}
|
|
2799
|
+
/**
|
|
2800
|
+
* WithdrawsWatermark请求参数结构体
|
|
2801
|
+
*/
|
|
2802
|
+
export interface WithdrawsWatermarkRequest {
|
|
2803
|
+
/**
|
|
2804
|
+
* 输入媒体文件存储信息。
|
|
2805
|
+
*/
|
|
2806
|
+
InputInfo: MediaInputInfo;
|
|
2807
|
+
/**
|
|
2808
|
+
* 任务的事件通知信息,不填代表不获取事件通知。
|
|
2809
|
+
*/
|
|
2810
|
+
TaskNotifyConfig?: TaskNotifyConfig;
|
|
2811
|
+
/**
|
|
2812
|
+
* 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
|
2813
|
+
*/
|
|
2814
|
+
SessionContext?: string;
|
|
2815
|
+
}
|
|
2770
2816
|
/**
|
|
2771
2817
|
* 语音全文识别的输入。
|
|
2772
2818
|
*/
|
|
@@ -3328,6 +3374,31 @@ export interface CreateStreamLinkOutputInfoResponse {
|
|
|
3328
3374
|
*/
|
|
3329
3375
|
RequestId?: string;
|
|
3330
3376
|
}
|
|
3377
|
+
/**
|
|
3378
|
+
* AWS S3存储输入
|
|
3379
|
+
*/
|
|
3380
|
+
export interface S3InputInfo {
|
|
3381
|
+
/**
|
|
3382
|
+
* S3 bucket。
|
|
3383
|
+
*/
|
|
3384
|
+
S3Bucket: string;
|
|
3385
|
+
/**
|
|
3386
|
+
* S3 bucket 对应的区域。
|
|
3387
|
+
*/
|
|
3388
|
+
S3Region: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* S3 bucket 中的媒体资源路径。
|
|
3391
|
+
*/
|
|
3392
|
+
S3Object: string;
|
|
3393
|
+
/**
|
|
3394
|
+
* AWS 内网访问 媒体资源的秘钥id。
|
|
3395
|
+
*/
|
|
3396
|
+
S3SecretId?: string;
|
|
3397
|
+
/**
|
|
3398
|
+
* AWS 内网访问 媒体资源的秘钥key。
|
|
3399
|
+
*/
|
|
3400
|
+
S3SecretKey?: string;
|
|
3401
|
+
}
|
|
3331
3402
|
/**
|
|
3332
3403
|
* 对视频截雪碧图任务结果类型
|
|
3333
3404
|
*/
|
|
@@ -3550,6 +3621,39 @@ export interface ProhibitedConfigureInfoForUpdate {
|
|
|
3550
3621
|
*/
|
|
3551
3622
|
OcrReviewInfo?: ProhibitedOcrReviewTemplateInfoForUpdate;
|
|
3552
3623
|
}
|
|
3624
|
+
/**
|
|
3625
|
+
* 采样截图信息
|
|
3626
|
+
*/
|
|
3627
|
+
export interface MediaSampleSnapshotItem {
|
|
3628
|
+
/**
|
|
3629
|
+
* 采样截图规格 ID,参见[采样截图参数模板](https://cloud.tencent.com/document/product/266/33480#.E9.87.87.E6.A0.B7.E6.88.AA.E5.9B.BE.E6.A8.A1.E6.9D.BF)。
|
|
3630
|
+
*/
|
|
3631
|
+
Definition: number;
|
|
3632
|
+
/**
|
|
3633
|
+
* 采样方式,取值范围:
|
|
3634
|
+
<li>Percent:根据百分比间隔采样。</li>
|
|
3635
|
+
<li>Time:根据时间间隔采样。</li>
|
|
3636
|
+
*/
|
|
3637
|
+
SampleType: string;
|
|
3638
|
+
/**
|
|
3639
|
+
* 采样间隔
|
|
3640
|
+
<li>当 SampleType 为 Percent 时,该值表示多少百分比一张图。</li>
|
|
3641
|
+
<li>当 SampleType 为 Time 时,该值表示多少时间间隔一张图,单位秒, 第一张图均为视频首帧。</li>
|
|
3642
|
+
*/
|
|
3643
|
+
Interval: number;
|
|
3644
|
+
/**
|
|
3645
|
+
* 截图后文件的存储位置。
|
|
3646
|
+
*/
|
|
3647
|
+
Storage: TaskOutputStorage;
|
|
3648
|
+
/**
|
|
3649
|
+
* 生成的截图 path 列表。
|
|
3650
|
+
*/
|
|
3651
|
+
ImagePathSet: Array<string>;
|
|
3652
|
+
/**
|
|
3653
|
+
* 截图如果被打上了水印,被打水印的模板 ID 列表。
|
|
3654
|
+
*/
|
|
3655
|
+
WaterMarkDefinition: Array<number>;
|
|
3656
|
+
}
|
|
3553
3657
|
/**
|
|
3554
3658
|
* 智能标签任务控制参数
|
|
3555
3659
|
*/
|
|
@@ -3570,15 +3674,6 @@ export interface DeleteWordSamplesRequest {
|
|
|
3570
3674
|
*/
|
|
3571
3675
|
Keywords: Array<string>;
|
|
3572
3676
|
}
|
|
3573
|
-
/**
|
|
3574
|
-
* 查询输入的RTSP配置信息。
|
|
3575
|
-
*/
|
|
3576
|
-
export interface DescribeInputRTSPPullSettings {
|
|
3577
|
-
/**
|
|
3578
|
-
* RTSP源站地址信息。
|
|
3579
|
-
*/
|
|
3580
|
-
SourceAddresses: Array<DescribeRTSPPullSourceAddress>;
|
|
3581
|
-
}
|
|
3582
3677
|
/**
|
|
3583
3678
|
* 自定义转码的规格参数。
|
|
3584
3679
|
*/
|
|
@@ -3862,14 +3957,21 @@ export interface CreateOutputInfo {
|
|
|
3862
3957
|
*/
|
|
3863
3958
|
export interface TaskOutputStorage {
|
|
3864
3959
|
/**
|
|
3865
|
-
|
|
3866
|
-
|
|
3960
|
+
* 媒体处理输出对象存储位置的类型,支持:
|
|
3961
|
+
<li>COS:COS存储</li>
|
|
3962
|
+
<li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li>
|
|
3963
|
+
*/
|
|
3867
3964
|
Type: string;
|
|
3868
3965
|
/**
|
|
3869
3966
|
* 当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。
|
|
3870
3967
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3871
3968
|
*/
|
|
3872
3969
|
CosOutputStorage?: CosOutputStorage;
|
|
3970
|
+
/**
|
|
3971
|
+
* 当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。
|
|
3972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3973
|
+
*/
|
|
3974
|
+
S3OutputStorage?: S3OutputStorage;
|
|
3873
3975
|
}
|
|
3874
3976
|
/**
|
|
3875
3977
|
* 传输流日志信息。
|
|
@@ -3916,6 +4018,39 @@ export interface FlowLogInfo {
|
|
|
3916
4018
|
*/
|
|
3917
4019
|
InputOutputName: string;
|
|
3918
4020
|
}
|
|
4021
|
+
/**
|
|
4022
|
+
* ModifyAIAnalysisTemplate请求参数结构体
|
|
4023
|
+
*/
|
|
4024
|
+
export interface ModifyAIAnalysisTemplateRequest {
|
|
4025
|
+
/**
|
|
4026
|
+
* 视频内容分析模板唯一标识。
|
|
4027
|
+
*/
|
|
4028
|
+
Definition: number;
|
|
4029
|
+
/**
|
|
4030
|
+
* 视频内容分析模板名称,长度限制:64 个字符。
|
|
4031
|
+
*/
|
|
4032
|
+
Name?: string;
|
|
4033
|
+
/**
|
|
4034
|
+
* 视频内容分析模板描述信息,长度限制:256 个字符。
|
|
4035
|
+
*/
|
|
4036
|
+
Comment?: string;
|
|
4037
|
+
/**
|
|
4038
|
+
* 智能分类任务控制参数。
|
|
4039
|
+
*/
|
|
4040
|
+
ClassificationConfigure?: ClassificationConfigureInfoForUpdate;
|
|
4041
|
+
/**
|
|
4042
|
+
* 智能标签任务控制参数。
|
|
4043
|
+
*/
|
|
4044
|
+
TagConfigure?: TagConfigureInfoForUpdate;
|
|
4045
|
+
/**
|
|
4046
|
+
* 智能封面任务控制参数。
|
|
4047
|
+
*/
|
|
4048
|
+
CoverConfigure?: CoverConfigureInfoForUpdate;
|
|
4049
|
+
/**
|
|
4050
|
+
* 智能按帧标签任务控制参数。
|
|
4051
|
+
*/
|
|
4052
|
+
FrameTagConfigure?: FrameTagConfigureInfoForUpdate;
|
|
4053
|
+
}
|
|
3919
4054
|
/**
|
|
3920
4055
|
* 用户自定义审核任务控制参数
|
|
3921
4056
|
*/
|
|
@@ -5017,14 +5152,25 @@ export interface CreateOutputRTMPSettings {
|
|
|
5017
5152
|
*/
|
|
5018
5153
|
export interface WorkflowTrigger {
|
|
5019
5154
|
/**
|
|
5020
|
-
|
|
5021
|
-
|
|
5155
|
+
* 触发器的类型,可选值:
|
|
5156
|
+
<li>CosFileUpload:COS触发</li>
|
|
5157
|
+
<li>AwsS3FileUpload:AWS触发,目前只支持转码任务。只有编排支持,工作流不支持。 </li>
|
|
5158
|
+
|
|
5159
|
+
|
|
5160
|
+
*/
|
|
5022
5161
|
Type: string;
|
|
5023
5162
|
/**
|
|
5024
5163
|
* 当 Type 为 CosFileUpload 时必填且有效,为 COS 触发规则。
|
|
5025
5164
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5026
5165
|
*/
|
|
5027
5166
|
CosFileUploadTrigger?: CosFileUploadTrigger;
|
|
5167
|
+
/**
|
|
5168
|
+
* 当 Type 为 AwsS3FileUpload 时必填且有效,为 AWS S3 触发规则。
|
|
5169
|
+
|
|
5170
|
+
注意:目前AWS的S3、对应触发队列SQS、回调队列SQS的秘钥需要一致。
|
|
5171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5172
|
+
*/
|
|
5173
|
+
AwsS3FileUploadTrigger?: AwsS3FileUploadTrigger;
|
|
5028
5174
|
}
|
|
5029
5175
|
/**
|
|
5030
5176
|
* 创建的输入HLS拉流源站配置信息。
|
|
@@ -6427,6 +6573,19 @@ export interface ProhibitedAsrReviewTemplateInfo {
|
|
|
6427
6573
|
*/
|
|
6428
6574
|
ReviewConfidence?: number;
|
|
6429
6575
|
}
|
|
6576
|
+
/**
|
|
6577
|
+
* WithdrawsWatermark返回参数结构体
|
|
6578
|
+
*/
|
|
6579
|
+
export interface WithdrawsWatermarkResponse {
|
|
6580
|
+
/**
|
|
6581
|
+
* 任务 ID,可以通过该 ID 查询任务状态和结果。
|
|
6582
|
+
*/
|
|
6583
|
+
TaskId: string;
|
|
6584
|
+
/**
|
|
6585
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6586
|
+
*/
|
|
6587
|
+
RequestId?: string;
|
|
6588
|
+
}
|
|
6430
6589
|
/**
|
|
6431
6590
|
* 内容审核 Asr 文字敏感任务输入参数类型
|
|
6432
6591
|
*/
|
|
@@ -6611,21 +6770,13 @@ export interface AiReviewTaskPoliticalAsrResult {
|
|
|
6611
6770
|
Output: AiReviewPoliticalAsrTaskOutput;
|
|
6612
6771
|
}
|
|
6613
6772
|
/**
|
|
6614
|
-
*
|
|
6773
|
+
* 查询输入的RTSP配置信息。
|
|
6615
6774
|
*/
|
|
6616
|
-
export interface
|
|
6617
|
-
/**
|
|
6618
|
-
* 识别片段起始的偏移时间,单位:秒。
|
|
6619
|
-
*/
|
|
6620
|
-
StartTimeOffset: number;
|
|
6621
|
-
/**
|
|
6622
|
-
* 识别片段终止的偏移时间,单位:秒。
|
|
6623
|
-
*/
|
|
6624
|
-
EndTimeOffset: number;
|
|
6775
|
+
export interface DescribeInputRTSPPullSettings {
|
|
6625
6776
|
/**
|
|
6626
|
-
*
|
|
6777
|
+
* RTSP源站地址信息。
|
|
6627
6778
|
*/
|
|
6628
|
-
|
|
6779
|
+
SourceAddresses: Array<DescribeRTSPPullSourceAddress>;
|
|
6629
6780
|
}
|
|
6630
6781
|
/**
|
|
6631
6782
|
* 字幕流配置参数。
|
|
@@ -7274,6 +7425,27 @@ export interface UserDefineConfigureInfoForUpdate {
|
|
|
7274
7425
|
*/
|
|
7275
7426
|
OcrReviewInfo: UserDefineOcrTextReviewTemplateInfoForUpdate;
|
|
7276
7427
|
}
|
|
7428
|
+
/**
|
|
7429
|
+
* AWS S3 输出位置
|
|
7430
|
+
*/
|
|
7431
|
+
export interface S3OutputStorage {
|
|
7432
|
+
/**
|
|
7433
|
+
* S3 bucket。
|
|
7434
|
+
*/
|
|
7435
|
+
S3Bucket: string;
|
|
7436
|
+
/**
|
|
7437
|
+
* S3 bucket 对应的区域。
|
|
7438
|
+
*/
|
|
7439
|
+
S3Region: string;
|
|
7440
|
+
/**
|
|
7441
|
+
* AWS 内网上传 媒体资源的秘钥id。
|
|
7442
|
+
*/
|
|
7443
|
+
S3SecretId?: string;
|
|
7444
|
+
/**
|
|
7445
|
+
* AWS 内网上传 媒体资源的秘钥key。
|
|
7446
|
+
*/
|
|
7447
|
+
S3SecretKey?: string;
|
|
7448
|
+
}
|
|
7277
7449
|
/**
|
|
7278
7450
|
* 绑定到 COS 的输入规则。
|
|
7279
7451
|
*/
|
|
@@ -8281,6 +8453,7 @@ export interface TaskNotifyConfig {
|
|
|
8281
8453
|
<li>TDMQ-CMQ:消息队列</li>
|
|
8282
8454
|
<li>URL:指定URL时HTTP回调推送到 NotifyUrl 指定的地址,回调协议http+json,包体内容同解析事件通知接口的输出参数 </li>
|
|
8283
8455
|
<li>SCF:不推荐使用,需要在控制台额外配置SCF</li>
|
|
8456
|
+
<li>AWS-SQS:AWS 队列,只适用于 AWS 任务,且要求同区域</li>
|
|
8284
8457
|
<font color="red"> 注:不填或为空时默认 CMQ,如需采用其他类型需填写对应类型值。 </font>
|
|
8285
8458
|
*/
|
|
8286
8459
|
NotifyType?: string;
|
|
@@ -8288,6 +8461,12 @@ export interface TaskNotifyConfig {
|
|
|
8288
8461
|
* HTTP回调地址,NotifyType为URL时必填。
|
|
8289
8462
|
*/
|
|
8290
8463
|
NotifyUrl?: string;
|
|
8464
|
+
/**
|
|
8465
|
+
* AWS SQS 回调,NotifyType为 AWS-SQS 时必填。
|
|
8466
|
+
|
|
8467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8468
|
+
*/
|
|
8469
|
+
AwsSQS?: AwsSQS;
|
|
8291
8470
|
}
|
|
8292
8471
|
/**
|
|
8293
8472
|
* 人脸增强配置
|
|
@@ -8308,34 +8487,45 @@ export interface FaceEnhanceConfig {
|
|
|
8308
8487
|
Intensity?: number;
|
|
8309
8488
|
}
|
|
8310
8489
|
/**
|
|
8311
|
-
*
|
|
8490
|
+
* 直播 AI 内容审核图片鉴黄结果
|
|
8312
8491
|
*/
|
|
8313
|
-
export interface
|
|
8492
|
+
export interface LiveStreamAiReviewImagePornResult {
|
|
8314
8493
|
/**
|
|
8315
|
-
*
|
|
8494
|
+
* 嫌疑片段起始的 PTS 时间,单位:秒。
|
|
8316
8495
|
*/
|
|
8317
|
-
|
|
8496
|
+
StartPtsTime: number;
|
|
8318
8497
|
/**
|
|
8319
|
-
*
|
|
8498
|
+
* 嫌疑片段结束的 PTS 时间,单位:秒。
|
|
8320
8499
|
*/
|
|
8321
|
-
|
|
8500
|
+
EndPtsTime: number;
|
|
8322
8501
|
/**
|
|
8323
|
-
*
|
|
8502
|
+
* 嫌疑片段涉黄分数。
|
|
8324
8503
|
*/
|
|
8325
|
-
|
|
8504
|
+
Confidence: number;
|
|
8326
8505
|
/**
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8506
|
+
* 嫌疑片段鉴黄结果建议,取值范围:
|
|
8507
|
+
<li>pass</li>
|
|
8508
|
+
<li>review</li>
|
|
8509
|
+
<li>block</li>
|
|
8510
|
+
*/
|
|
8511
|
+
Suggestion: string;
|
|
8330
8512
|
/**
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8513
|
+
* 视频鉴黄结果标签,取值范围:
|
|
8514
|
+
<li>porn:色情。</li>
|
|
8515
|
+
<li>sexy:性感。</li>
|
|
8516
|
+
<li>vulgar:低俗。</li>
|
|
8517
|
+
<li>intimacy:亲密行为。</li>
|
|
8518
|
+
*/
|
|
8519
|
+
Label: string;
|
|
8334
8520
|
/**
|
|
8335
|
-
*
|
|
8336
|
-
|
|
8521
|
+
* 嫌疑图片 URL (图片不会永久存储,到达
|
|
8522
|
+
PicUrlExpireTime 时间点后图片将被删除)。
|
|
8337
8523
|
*/
|
|
8338
|
-
|
|
8524
|
+
Url: string;
|
|
8525
|
+
/**
|
|
8526
|
+
* 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
8527
|
+
*/
|
|
8528
|
+
PicUrlExpireTime: string;
|
|
8339
8529
|
}
|
|
8340
8530
|
/**
|
|
8341
8531
|
* 智能按帧标签任务输入类型
|
|
@@ -8774,45 +8964,34 @@ export interface AiReviewPoliticalTaskOutput {
|
|
|
8774
8964
|
SegmentSet: Array<MediaContentReviewPoliticalSegmentItem>;
|
|
8775
8965
|
}
|
|
8776
8966
|
/**
|
|
8777
|
-
*
|
|
8967
|
+
* 内容审核涉敏任务结果类型
|
|
8778
8968
|
*/
|
|
8779
|
-
export interface
|
|
8969
|
+
export interface AiReviewTaskPoliticalResult {
|
|
8780
8970
|
/**
|
|
8781
|
-
*
|
|
8971
|
+
* 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|
8782
8972
|
*/
|
|
8783
|
-
|
|
8973
|
+
Status: string;
|
|
8784
8974
|
/**
|
|
8785
|
-
*
|
|
8975
|
+
* 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
8786
8976
|
*/
|
|
8787
|
-
|
|
8977
|
+
ErrCodeExt: string;
|
|
8788
8978
|
/**
|
|
8789
|
-
*
|
|
8979
|
+
* 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
|
|
8790
8980
|
*/
|
|
8791
|
-
|
|
8981
|
+
ErrCode: number;
|
|
8792
8982
|
/**
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
<li>block</li>
|
|
8797
|
-
*/
|
|
8798
|
-
Suggestion: string;
|
|
8983
|
+
* 错误信息。
|
|
8984
|
+
*/
|
|
8985
|
+
Message: string;
|
|
8799
8986
|
/**
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
<li>vulgar:低俗。</li>
|
|
8804
|
-
<li>intimacy:亲密行为。</li>
|
|
8805
|
-
*/
|
|
8806
|
-
Label: string;
|
|
8987
|
+
* 内容审核涉敏任务输入。
|
|
8988
|
+
*/
|
|
8989
|
+
Input: AiReviewPoliticalTaskInput;
|
|
8807
8990
|
/**
|
|
8808
|
-
*
|
|
8809
|
-
|
|
8991
|
+
* 内容审核涉敏任务输出。
|
|
8992
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8810
8993
|
*/
|
|
8811
|
-
|
|
8812
|
-
/**
|
|
8813
|
-
* 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
|
8814
|
-
*/
|
|
8815
|
-
PicUrlExpireTime: string;
|
|
8994
|
+
Output: AiReviewPoliticalTaskOutput;
|
|
8816
8995
|
}
|
|
8817
8996
|
/**
|
|
8818
8997
|
* 翻译结果。
|
|
@@ -9548,37 +9727,25 @@ export interface DescribeWordSamplesRequest {
|
|
|
9548
9727
|
Limit?: number;
|
|
9549
9728
|
}
|
|
9550
9729
|
/**
|
|
9551
|
-
*
|
|
9730
|
+
* Aws SQS 队列信息
|
|
9552
9731
|
*/
|
|
9553
|
-
export interface
|
|
9732
|
+
export interface AwsSQS {
|
|
9554
9733
|
/**
|
|
9555
|
-
*
|
|
9556
|
-
*/
|
|
9557
|
-
Definition: number;
|
|
9558
|
-
/**
|
|
9559
|
-
* 视频内容分析模板名称,长度限制:64 个字符。
|
|
9560
|
-
*/
|
|
9561
|
-
Name?: string;
|
|
9562
|
-
/**
|
|
9563
|
-
* 视频内容分析模板描述信息,长度限制:256 个字符。
|
|
9564
|
-
*/
|
|
9565
|
-
Comment?: string;
|
|
9566
|
-
/**
|
|
9567
|
-
* 智能分类任务控制参数。
|
|
9734
|
+
* SQS 队列区域。
|
|
9568
9735
|
*/
|
|
9569
|
-
|
|
9736
|
+
SQSRegion: string;
|
|
9570
9737
|
/**
|
|
9571
|
-
*
|
|
9738
|
+
* SQS 队列名称。
|
|
9572
9739
|
*/
|
|
9573
|
-
|
|
9740
|
+
SQSQueueName: string;
|
|
9574
9741
|
/**
|
|
9575
|
-
*
|
|
9742
|
+
* 读写SQS的秘钥id。
|
|
9576
9743
|
*/
|
|
9577
|
-
|
|
9744
|
+
S3SecretId?: string;
|
|
9578
9745
|
/**
|
|
9579
|
-
*
|
|
9746
|
+
* 读写SQS的秘钥key。
|
|
9580
9747
|
*/
|
|
9581
|
-
|
|
9748
|
+
S3SecretKey?: string;
|
|
9582
9749
|
}
|
|
9583
9750
|
/**
|
|
9584
9751
|
* 查询Flow的配置信息。
|