UNPKG

tencentcloud-sdk-nodejs

Version:
864 lines (854 loc) 30.6 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Client = void 0; /* eslint-disable @typescript-eslint/no-unused-vars */ /* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ const abstract_client_1 = require("../../../common/abstract_client"); /** * mps client * @class */ class Client extends abstract_client_1.AbstractClient { constructor(clientConfig) { super("mps.tencentcloudapi.com", "2019-06-12", clientConfig); } /** * 查询智能字幕热词库 */ async DescribeAsrHotwords(req, cb) { return this.request("DescribeAsrHotwords", req, cb); } /** * 创建用户自定义指定时间点截图模板,数量上限:16。 */ async CreateSnapshotByTimeOffsetTemplate(req, cb) { return this.request("CreateSnapshotByTimeOffsetTemplate", req, cb); } /** * 实时查询流的当前状态 */ async DescribeStreamLinkFlowRealtimeStatus(req, cb) { return this.request("DescribeStreamLinkFlowRealtimeStatus", req, cb); } /** * 创建用户自定义转动图模板,数量上限:16。 */ async CreateAnimatedGraphicsTemplate(req, cb) { return this.request("CreateAnimatedGraphicsTemplate", req, cb); } /** * 修改用户自定义智能字幕模板。 */ async ModifySmartSubtitleTemplate(req, cb) { return this.request("ModifySmartSubtitleTemplate", req, cb); } /** * 修改直播录制模板 */ async ModifyLiveRecordTemplate(req, cb) { return this.request("ModifyLiveRecordTemplate", req, cb); } /** * 对视频进行编辑,生成一个新的视频。编辑的功能包括: 一、**剪辑任务**:简单的视频剪辑,如剪辑、拼接等 1. 对一个文件进行剪辑,生成一个新的视频; 2. 对多个文件进行拼接,生成一个新的视频; 3. 对多个文件进行剪辑,然后再拼接,生成一个新的视频。 二、**合成任务**:通过接口描述信息,合成一个新的视频。 1. 多轨道(视频、音频、字幕)、多类型元素(视频、图片、音频、文字、空) 2. 图像级别:贴图、缩放、任意角度旋转、镜像等 3. 音频级别:音量控制、淡入淡出、混音等 4. 视频级别:转场、倍数播放、拼接、剪切、字幕、画中画、音画分离、出入场动效等 */ async EditMedia(req, cb) { return this.request("EditMedia", req, cb); } /** * 查询媒体传输事件的配置信息。 */ async DescribeStreamLinkEvent(req, cb) { return this.request("DescribeStreamLinkEvent", req, cb); } /** * 删除用户自定义转动图模板。 */ async DeleteAnimatedGraphicsTemplate(req, cb) { return this.request("DeleteAnimatedGraphicsTemplate", req, cb); } /** * 根据内容分析模板唯一标识,获取内容分析模板详情列表。返回结果包含符合条件的所有用户自定义内容分析模板及系统预置视频内容分析模板 */ async DescribeAIAnalysisTemplates(req, cb) { return this.request("DescribeAIAnalysisTemplates", req, cb); } /** * 删除用户自定义智能字幕模板。 */ async DeleteSmartSubtitleTemplate(req, cb) { return this.request("DeleteSmartSubtitleTemplate", req, cb); } /** * 从 CMQ 获取到消息后,从消息的 msgBody 字段中解析出 MPS 直播流处理事件通知的内容。 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 中的解析实现事件通知的解析。 */ async ParseLiveStreamProcessNotification(req, cb) { return this.request("ParseLiveStreamProcessNotification", req, cb); } /** * 删除用户自定义转码模板。 */ async DeleteTranscodeTemplate(req, cb) { return this.request("DeleteTranscodeTemplate", req, cb); } /** * 通过任务 ID 查询任务的执行状态和结果的详细信息(最多可以查询7天之内提交的任务)。 */ async DescribeTaskDetail(req, cb) { return this.request("DescribeTaskDetail", req, cb); } /** * 该接口用于根据应用场景、关键词、标签,分页查询关键词样本信息。 */ async DescribeWordSamples(req, cb) { return this.request("DescribeWordSamples", req, cb); } /** * 对 URL视频链接 或 COS 中的媒体文件发起处理任务,功能包括: 1. 视频转码(普通转码、极速高清转码、音视频增强); 2. 视频转动图; 3. 对视频按指定时间点截图; 4. 对视频采样截图; 5. 对视频截图雪碧图; 6. 对视频转自适应码流; 7. 智能内容审核(鉴黄、敏感信息检测); 8. 智能内容分析(标签、分类、封面、按帧标签、拆条、集锦、片头片尾、游戏打点); 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词、语音翻译、物体识别)。 10. 媒体质检(直播流格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分) 11. 智能字幕(语音全文、语音热词、语音翻译) */ async ProcessMedia(req, cb) { return this.request("ProcessMedia", req, cb); } /** * 修改用户自定义内容分析模板。 注意:模板 ID 10000 以下的为系统预置模板,不允许修改。 */ async ModifyAIAnalysisTemplate(req, cb) { return this.request("ModifyAIAnalysisTemplate", req, cb); } /** * 删除转自适应码流模板 */ async DeleteAdaptiveDynamicStreamingTemplate(req, cb) { return this.request("DeleteAdaptiveDynamicStreamingTemplate", req, cb); } /** * 创建转自适应码流模板,数量上限:100。 */ async CreateAdaptiveDynamicStreamingTemplate(req, cb) { return this.request("CreateAdaptiveDynamicStreamingTemplate", req, cb); } /** * 禁用工作流。 */ async DisableWorkflow(req, cb) { return this.request("DisableWorkflow", req, cb); } /** * 查询采样截图模板,支持根据条件,分页查询。 */ async DescribeSampleSnapshotTemplates(req, cb) { return this.request("DescribeSampleSnapshotTemplates", req, cb); } /** * 查询媒体传输流的媒体质量数据。 */ async DescribeStreamLinkFlowStatistics(req, cb) { return this.request("DescribeStreamLinkFlowStatistics", req, cb); } /** * 批量删除媒体传输流。 */ async BatchDeleteStreamLinkFlow(req, cb) { return this.request("BatchDeleteStreamLinkFlow", req, cb); } /** * 获取直播录制模板 */ async DescribeLiveRecordTemplates(req, cb) { return this.request("DescribeLiveRecordTemplates", req, cb); } /** * 删除智能字幕热词库 */ async DeleteAsrHotwords(req, cb) { return this.request("DeleteAsrHotwords", req, cb); } /** * 启用工作流。 */ async EnableWorkflow(req, cb) { return this.request("EnableWorkflow", req, cb); } /** * 智能媒体识别,包含表情和动作识别。仅用于智学,其他调用无效。 */ async RecognizeMediaForZhiXue(req, cb) { return this.request("RecognizeMediaForZhiXue", req, cb); } /** * 获取热词库列表 */ async DescribeAsrHotwordsList(req, cb) { return this.request("DescribeAsrHotwordsList", req, cb); } /** * 修改媒体传输的传输流配置信息。 */ async ModifyStreamLinkFlow(req, cb) { return this.request("ModifyStreamLinkFlow", req, cb); } /** * * 该接口用于查询任务列表; * 当列表数据比较多时,单次接口调用无法拉取整个列表,可通过 ScrollToken 参数,分批拉取; * 只能查询到最近七天(168小时)内的任务。 */ async DescribeTasks(req, cb) { return this.request("DescribeTasks", req, cb); } /** * 该接口用于批量创建关键词样本,样本用于通过OCR、ASR技术,进行不适宜内容识别、内容识别等视频处理。 */ async CreateWordSamples(req, cb) { return this.request("CreateWordSamples", req, cb); } /** * 创建用户自定义转码模板,数量上限:1000 */ async CreateTranscodeTemplate(req, cb) { return this.request("CreateTranscodeTemplate", req, cb); } /** * 创建媒体传输的传输流配置。 */ async CreateStreamLinkFlow(req, cb) { return this.request("CreateStreamLinkFlow", req, cb); } /** * 本接口仅用于定制开发的特殊场景,除非云媒体处理客服人员主动告知您需要使用本接口,其它情况请勿调用。 */ async ExecuteFunction(req, cb) { return this.request("ExecuteFunction", req, cb); } /** * 批量查询媒体输入流的配置信息。 */ async DescribeStreamLinkFlows(req, cb) { return this.request("DescribeStreamLinkFlows", req, cb); } /** * 修改用户自定义转动图模板。 */ async ModifyAnimatedGraphicsTemplate(req, cb) { return this.request("ModifyAnimatedGraphicsTemplate", req, cb); } /** * 删除媒体传输流的输出配置。 */ async DeleteStreamLinkOutput(req, cb) { return this.request("DeleteStreamLinkOutput", req, cb); } /** * 创建用户自定义内容审核模板,数量上限:50。 */ async CreateContentReviewTemplate(req, cb) { return this.request("CreateContentReviewTemplate", req, cb); } /** * 根据安全组反差关联的Flow信息。 */ async DescribeGroupAttachFlowsById(req, cb) { return this.request("DescribeGroupAttachFlowsById", req, cb); } /** * 创建用户自定义采样截图模板,数量上限:16。 */ async CreateSampleSnapshotTemplate(req, cb) { return this.request("CreateSampleSnapshotTemplate", req, cb); } /** * 删除用户自定义内容分析模板。 注意:模板 ID 为 10000 以下的为系统预置模板,不允许删除。 */ async DeleteAIAnalysisTemplate(req, cb) { return this.request("DeleteAIAnalysisTemplate", req, cb); } /** * 修改编排 */ async ModifySchedule(req, cb) { return this.request("ModifySchedule", req, cb); } /** * 获取媒体的元信息,包括视频画面宽、高、编码格式、时长、帧率等。 */ async DescribeMediaMetaData(req, cb) { return this.request("DescribeMediaMetaData", req, cb); } /** * 根据任务ID查询视频检索任务的状态。 */ async DescribeVideoSearchTaskDetail(req, cb) { return this.request("DescribeVideoSearchTaskDetail", req, cb); } /** * 修改用户自定义采样截图模板。 */ async ModifySampleSnapshotTemplate(req, cb) { return this.request("ModifySampleSnapshotTemplate", req, cb); } /** * 重新设置一个已经存在且处于禁用状态的工作流。 */ async ResetWorkflow(req, cb) { return this.request("ResetWorkflow", req, cb); } /** * 删除媒体质检模板 */ async DeleteQualityControlTemplate(req, cb) { return this.request("DeleteQualityControlTemplate", req, cb); } /** * 删除工作流。对于已启用的工作流,需要禁用后才能删除。 */ async DeleteWorkflow(req, cb) { return this.request("DeleteWorkflow", req, cb); } /** * 创建媒体质检模板,数量上限:50。 */ async CreateQualityControlTemplate(req, cb) { return this.request("CreateQualityControlTemplate", req, cb); } /** * 修改用户自定义雪碧图模板。 */ async ModifyImageSpriteTemplate(req, cb) { return this.request("ModifyImageSpriteTemplate", req, cb); } /** * 根据转码模板唯一标识,获取转码模板详情列表。返回结果包含符合条件的所有用户自定义模板及[系统预置转码模板](https://cloud.tencent.com/document/product/266/33476#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF)。 */ async DescribeTranscodeTemplates(req, cb) { return this.request("DescribeTranscodeTemplates", req, cb); } /** * 更新安全组。 */ async ModifyStreamLinkSecurityGroup(req, cb) { return this.request("ModifyStreamLinkSecurityGroup", req, cb); } /** * 删除媒体传输的传输流配置。 */ async DeleteStreamLinkFlow(req, cb) { return this.request("DeleteStreamLinkFlow", req, cb); } /** * 启动媒体传输流。 */ async StartStreamLinkFlow(req, cb) { return this.request("StartStreamLinkFlow", req, cb); } /** * 发起图片处理,功能包括: 1. 格式转换; 2. 图像增强; */ async ProcessImage(req, cb) { return this.request("ProcessImage", req, cb); } /** * 修改媒体传输流的输入信息。 */ async ModifyStreamLinkInput(req, cb) { return this.request("ModifyStreamLinkInput", req, cb); } /** * 创建自定义智能字幕模板 */ async CreateSmartSubtitleTemplate(req, cb) { return this.request("CreateSmartSubtitleTemplate", req, cb); } /** * 查询媒体传输所有地区。 */ async DescribeStreamLinkRegions(req, cb) { return this.request("DescribeStreamLinkRegions", req, cb); } /** * 查询编排。 */ async DescribeSchedules(req, cb) { return this.request("DescribeSchedules", req, cb); } /** * 该接口用于根据素材 ID,修改素材样本信息,包括名称、描述的修改,以及五官、标签的添加、删除、重置操作。五官删除操作需保证至少剩余 1 张图片,否则,请使用重置操作。 */ async ModifyPersonSample(req, cb) { return this.request("ModifyPersonSample", req, cb); } /** * 创建直播录制模板 */ async CreateLiveRecordTemplate(req, cb) { return this.request("CreateLiveRecordTemplate", req, cb); } /** * 批量查询安全组信息。 */ async DescribeStreamLinkSecurityGroups(req, cb) { return this.request("DescribeStreamLinkSecurityGroups", req, cb); } /** * 删除安全组。 */ async DeleteStreamLinkSecurityGroup(req, cb) { return this.request("DeleteStreamLinkSecurityGroup", req, cb); } /** * 创建用户自定义内容分析模板,数量上限:50。 */ async CreateAIAnalysisTemplate(req, cb) { return this.request("CreateAIAnalysisTemplate", req, cb); } /** * 修改媒体质检模板。 */ async ModifyQualityControlTemplate(req, cb) { return this.request("ModifyQualityControlTemplate", req, cb); } /** * 停止媒体传输流。 */ async StopStreamLinkFlow(req, cb) { return this.request("StopStreamLinkFlow", req, cb); } /** * 查询媒体传输事件关联的所有媒体输入流的配置信息。 */ async DescribeStreamLinkEventAttachedFlows(req, cb) { return this.request("DescribeStreamLinkEventAttachedFlows", req, cb); } /** * 根据智能字幕 模板唯一标识,获取智能字幕模板详情列表。返回结果包含符合条件的所有用户自定义智能字幕模板及系统预置智能字幕模板 */ async DescribeSmartSubtitleTemplates(req, cb) { return this.request("DescribeSmartSubtitleTemplates", req, cb); } /** * 修改媒体传输流的输出配置。 */ async ModifyStreamLinkOutputInfo(req, cb) { return this.request("ModifyStreamLinkOutputInfo", req, cb); } /** * 查询指定时间点截图模板,支持根据条件,分页查询。 */ async DescribeSnapshotByTimeOffsetTemplates(req, cb) { return this.request("DescribeSnapshotByTimeOffsetTemplates", req, cb); } /** * 修改用户自定义转码模板信息。 */ async ModifyTranscodeTemplate(req, cb) { return this.request("ModifyTranscodeTemplate", req, cb); } /** * 根据智能审核模板唯一标识,获取智能审核模板详情列表。返回结果包含符合条件的所有用户自定义模板及系统预置智能审核模板。 */ async DescribeContentReviewTemplates(req, cb) { return this.request("DescribeContentReviewTemplates", req, cb); } /** * 批量查询媒体传输事件的配置信息。 */ async DescribeStreamLinkEvents(req, cb) { return this.request("DescribeStreamLinkEvents", req, cb); } /** * 智能字幕更新热词库接口 */ async ModifyAsrHotwords(req, cb) { return this.request("ModifyAsrHotwords", req, cb); } /** * 查询媒体传输流的SRT质量数据。 */ async DescribeStreamLinkFlowSRTStatistics(req, cb) { return this.request("DescribeStreamLinkFlowSRTStatistics", req, cb); } /** * 创建媒体传输流的输出信息。 */ async CreateStreamLinkOutputInfo(req, cb) { return this.request("CreateStreamLinkOutputInfo", req, cb); } /** * 根据工作流 ID,获取工作流详情列表。 */ async DescribeWorkflows(req, cb) { return this.request("DescribeWorkflows", req, cb); } /** * 修改用户自定义水印模板,水印类型不允许修改。 */ async ModifyWatermarkTemplate(req, cb) { return this.request("ModifyWatermarkTemplate", req, cb); } /** * 使用检索值检索库中最接近检索值的若干视频。 */ async CreateVideoSearchTask(req, cb) { return this.request("CreateVideoSearchTask", req, cb); } /** * 查询媒体传输开通状态。 */ async DescribeStreamLinkActivateState(req, cb) { return this.request("DescribeStreamLinkActivateState", req, cb); } /** * 创建用户自定义雪碧图模板,数量上限:16。 */ async CreateImageSpriteTemplate(req, cb) { return this.request("CreateImageSpriteTemplate", req, cb); } /** * 该接口用于查询素材样本信息,支持根据素材 ID、名称、标签,分页查询。 */ async DescribePersonSamples(req, cb) { return this.request("DescribePersonSamples", req, cb); } /** * 从 CMQ 获取到消息后,从消息的 msgBody 字段中解析出 MPS 事件通知的内容。 该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 中的解析函数,实现事件通知的解析。 */ async ParseNotification(req, cb) { return this.request("ParseNotification", req, cb); } /** * 删除用户自定义内容识别模板。 */ async DeleteAIRecognitionTemplate(req, cb) { return this.request("DeleteAIRecognitionTemplate", req, cb); } /** * 查询转动图模板列表,支持根据条件,分页查询。 */ async DescribeAnimatedGraphicsTemplates(req, cb) { return this.request("DescribeAnimatedGraphicsTemplates", req, cb); } /** * 该接口用于批量删除关键词样本。 */ async DeleteWordSamples(req, cb) { return this.request("DeleteWordSamples", req, cb); } /** * 对已发起的任务进行管理。 */ async ManageTask(req, cb) { return this.request("ManageTask", req, cb); } /** * 根据任务ID查询视频入库任务的状态。 */ async DescribeVideoDatabaseEntryTaskDetail(req, cb) { return this.request("DescribeVideoDatabaseEntryTaskDetail", req, cb); } /** * 修改用户自定义指定时间点截图模板。 */ async ModifySnapshotByTimeOffsetTemplate(req, cb) { return this.request("ModifySnapshotByTimeOffsetTemplate", req, cb); } /** * 批量启动媒体传输流。 */ async BatchStartStreamLinkFlow(req, cb) { return this.request("BatchStartStreamLinkFlow", req, cb); } /** * 对 COS 中指定 Bucket 的目录下上传的媒体文件,设置处理规则,包括: 1. 视频转码(带水印); 2. 视频转动图; 3. 对视频按指定时间点截图; 4. 对视频采样截图; 5. 对视频截图雪碧图; 6. 对视频转自适应码流; 7. 智能内容审核(鉴黄、敏感信息检测); 8. 智能内容分析(标签、分类、封面、按帧标签); 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词)。 注意:创建工作流成功后是禁用状态,需要手动启用。 */ async CreateWorkflow(req, cb) { return this.request("CreateWorkflow", req, cb); } /** * 查询转自适应码流模板,支持根据条件,分页查询。 */ async DescribeAdaptiveDynamicStreamingTemplates(req, cb) { return this.request("DescribeAdaptiveDynamicStreamingTemplates", req, cb); } /** * 对 COS 中指定 Bucket 的目录下上传的媒体文件,设置处理规则,包括: 1. 视频转码(带水印); 2. 视频转动图; 3. 对视频按指定时间点截图; 4. 对视频采样截图; 5. 对视频截图雪碧图; 6. 对视频转自适应码流; 7. 智能内容审核(鉴黄、敏感信息检测); 8. 智能内容分析(标签、分类、封面、按帧标签); 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词)。 注意:创建编排成功后是禁用状态,需要手动启用。 */ async CreateSchedule(req, cb) { return this.request("CreateSchedule", req, cb); } /** * 该接口用于修改关键词的应用场景、标签,关键词本身不可修改,如需修改,可删除重建。 */ async ModifyWordSample(req, cb) { return this.request("ModifyWordSample", req, cb); } /** * 查询雪碧图模板,支持根据条件,分页查询。 */ async DescribeImageSpriteTemplates(req, cb) { return this.request("DescribeImageSpriteTemplates", req, cb); } /** * 查询用户自定义水印模板,支持根据条件,分页查询。 */ async DescribeWatermarkTemplates(req, cb) { return this.request("DescribeWatermarkTemplates", req, cb); } /** * 创建用户自定义水印模板,数量上限:1000。 */ async CreateWatermarkTemplate(req, cb) { return this.request("CreateWatermarkTemplate", req, cb); } /** * 修改媒体传输的事件配置信息。 */ async ModifyStreamLinkEvent(req, cb) { return this.request("ModifyStreamLinkEvent", req, cb); } /** * 根据内容识别模板唯一标识,获取内容识别模板详情列表。返回结果包含符合条件的所有用户自定义内容识别模板及系统预置视频内容识别模板 */ async DescribeAIRecognitionTemplates(req, cb) { return this.request("DescribeAIRecognitionTemplates", req, cb); } /** * 提取视频中的盲水印。 */ async WithdrawsWatermark(req, cb) { return this.request("WithdrawsWatermark", req, cb); } /** * 查询媒体输入流的配置信息。 */ async DescribeStreamLinkFlow(req, cb) { return this.request("DescribeStreamLinkFlow", req, cb); } /** * 删除编排 */ async DeleteSchedule(req, cb) { return this.request("DeleteSchedule", req, cb); } /** * 修改转自适应码流模板 */ async ModifyAdaptiveDynamicStreamingTemplate(req, cb) { return this.request("ModifyAdaptiveDynamicStreamingTemplate", req, cb); } /** * 删除用户自定义水印模板。 */ async DeleteWatermarkTemplate(req, cb) { return this.request("DeleteWatermarkTemplate", req, cb); } /** * 该接口用于根据素材 ID,删除素材样本。 */ async DeletePersonSample(req, cb) { return this.request("DeletePersonSample", req, cb); } /** * 删除用户自定义指定时间点截图模板。 */ async DeleteSnapshotByTimeOffsetTemplate(req, cb) { return this.request("DeleteSnapshotByTimeOffsetTemplate", req, cb); } /** * 启用自动化触发编排任务。 */ async EnableSchedule(req, cb) { return this.request("EnableSchedule", req, cb); } /** * 对URL链接或COS中的视频发起入库任务。 可选在任务完成后向回调方发送任务完成状态信息。 */ async CreateVideoDatabaseEntryTask(req, cb) { return this.request("CreateVideoDatabaseEntryTask", req, cb); } /** * 对直播流媒体发起处理任务,功能包括: * 智能内容审核(画面鉴黄、敏感信息检测、声音鉴黄); * 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词、语音实时翻译、物体识别、游戏打点)。 * 智能内容分析(新闻实时拆条)。 * 质检(直播流格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分)。 * 录制 直播流处理事件通知支持HTTP回调,也支持实时写入用户指定的消息队列 CMQ 中,用户从消息队列 CMQ 中获取事件通知结果,同时处理过程中存在输出文件的,会写入用户指定的输出文件的目标存储中。 */ async ProcessLiveStream(req, cb) { return this.request("ProcessLiveStream", req, cb); } /** * 删除直播录制模板 */ async DeleteLiveRecordTemplate(req, cb) { return this.request("DeleteLiveRecordTemplate", req, cb); } /** * 删除用户自定义内容审核模板。 */ async DeleteContentReviewTemplate(req, cb) { return this.request("DeleteContentReviewTemplate", req, cb); } /** * 删除用户自定义采样截图模板。 */ async DeleteSampleSnapshotTemplate(req, cb) { return this.request("DeleteSampleSnapshotTemplate", req, cb); } /** * 查询媒体传输流的媒体质量数据。 */ async DescribeStreamLinkFlowMediaStatistics(req, cb) { return this.request("DescribeStreamLinkFlowMediaStatistics", req, cb); } /** * 智能字幕新建热词库接口 */ async CreateAsrHotwords(req, cb) { return this.request("CreateAsrHotwords", req, cb); } /** * 创建媒体传输的事件Event。 */ async CreateStreamLinkEvent(req, cb) { return this.request("CreateStreamLinkEvent", req, cb); } /** * 该接口用于创建素材样本,用于通过五官定位等技术,进行内容识别、内容不适宜等视频处理。 */ async CreatePersonSample(req, cb) { return this.request("CreatePersonSample", req, cb); } /** * 查询用户自定义媒体质检模板,支持根据条件,分页查询。 */ async DescribeQualityControlTemplates(req, cb) { return this.request("DescribeQualityControlTemplates", req, cb); } /** * 创建安全组,数量限制5个。 */ async CreateStreamLinkSecurityGroup(req, cb) { return this.request("CreateStreamLinkSecurityGroup", req, cb); } /** * 禁用自动化触发编排任务。 */ async DisableSchedule(req, cb) { return this.request("DisableSchedule", req, cb); } /** * 创建媒体传输的输入配置。 */ async CreateStreamLinkInput(req, cb) { return this.request("CreateStreamLinkInput", req, cb); } /** * 批量解绑安全组下面关联的输入输出。 */ async DisassociateSecurityGroup(req, cb) { return this.request("DisassociateSecurityGroup", req, cb); } /** * 修改用户自定义内容审核模板。 */ async ModifyContentReviewTemplate(req, cb) { return this.request("ModifyContentReviewTemplate", req, cb); } /** * 创建用户自定义内容识别模板,数量上限:50。 */ async CreateAIRecognitionTemplate(req, cb) { return this.request("CreateAIRecognitionTemplate", req, cb); } /** * 批量停止媒体传输流。 */ async BatchStopStreamLinkFlow(req, cb) { return this.request("BatchStopStreamLinkFlow", req, cb); } /** * 修改用户自定义内容识别模板。 */ async ModifyAIRecognitionTemplate(req, cb) { return this.request("ModifyAIRecognitionTemplate", req, cb); } /** * 删除媒体传输的事件配置。 */ async DeleteStreamLinkEvent(req, cb) { return this.request("DeleteStreamLinkEvent", req, cb); } /** * 查询媒体传输流的日志信息。 */ async DescribeStreamLinkFlowLogs(req, cb) { return this.request("DescribeStreamLinkFlowLogs", req, cb); } /** * 删除雪碧图模板。 */ async DeleteImageSpriteTemplate(req, cb) { return this.request("DeleteImageSpriteTemplate", req, cb); } } exports.Client = Client;