import * as $dara from '@darabonba/typescript'; import OpenApi from '@alicloud/openapi-core'; import { $OpenApiUtil } from '@alicloud/openapi-core'; import * as $_model from './models/model'; export * from './models/model'; export default class Client extends OpenApi { constructor(config: $OpenApiUtil.Config); getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: { [key: string]: string; }, endpoint: string): string; /** * Activates a specified license using the batch ID, authorization code, and device SN. * * @remarks * ## [](#)Usage notes * Activate a specific license for Real-time Conversational AI by providing a batch ID (`LicenseItemId`), authorization code (`AuthCode`), and device ID (`DeviceId`). Upon successful activation, the API returns a response containing the request ID, an error code, the request status, the HTTP status code, and the activated license information. * **Note**: Ensure that the provided batch ID, authorization code, and device ID are correct. Incorrect information may cause the activation to fail. * * @param request - ActiveAiRtcLicenseRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ActiveAiRtcLicenseResponse */ activeAiRtcLicenseWithOptions(request: $_model.ActiveAiRtcLicenseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ActiveAiRtcLicenseResponse>; /** * Activates a specified license using the batch ID, authorization code, and device SN. * * @remarks * ## [](#)Usage notes * Activate a specific license for Real-time Conversational AI by providing a batch ID (`LicenseItemId`), authorization code (`AuthCode`), and device ID (`DeviceId`). Upon successful activation, the API returns a response containing the request ID, an error code, the request status, the HTTP status code, and the activated license information. * **Note**: Ensure that the provided batch ID, authorization code, and device ID are correct. Incorrect information may cause the activation to fail. * * @param request - ActiveAiRtcLicenseRequest * @returns ActiveAiRtcLicenseResponse */ activeAiRtcLicense(request: $_model.ActiveAiRtcLicenseRequest): Promise<$_model.ActiveAiRtcLicenseResponse>; /** * Adds an ad insertion configuration. * * @param request - AddAdInsertionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddAdInsertionResponse */ addAdInsertionWithOptions(request: $_model.AddAdInsertionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddAdInsertionResponse>; /** * Adds an ad insertion configuration. * * @param request - AddAdInsertionRequest * @returns AddAdInsertionResponse */ addAdInsertion(request: $_model.AddAdInsertionRequest): Promise<$_model.AddAdInsertionResponse>; /** * Creates a category. * * @remarks * You can create at most three levels of categories. Each category level can contain a maximum of 100 subcategories. * * @param request - AddCategoryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddCategoryResponse */ addCategoryWithOptions(request: $_model.AddCategoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddCategoryResponse>; /** * Creates a category. * * @remarks * You can create at most three levels of categories. Each category level can contain a maximum of 100 subcategories. * * @param request - AddCategoryRequest * @returns AddCategoryResponse */ addCategory(request: $_model.AddCategoryRequest): Promise<$_model.AddCategoryResponse>; /** * Adds one or more materials to an online editing project. * * @param request - AddEditingProjectMaterialsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddEditingProjectMaterialsResponse */ addEditingProjectMaterialsWithOptions(request: $_model.AddEditingProjectMaterialsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddEditingProjectMaterialsResponse>; /** * Adds one or more materials to an online editing project. * * @param request - AddEditingProjectMaterialsRequest * @returns AddEditingProjectMaterialsResponse */ addEditingProjectMaterials(request: $_model.AddEditingProjectMaterialsRequest): Promise<$_model.AddEditingProjectMaterialsResponse>; /** * Adds one or more public Media Assets to your Favorites list by their media IDs. * * @param request - AddFavoritePublicMediaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddFavoritePublicMediaResponse */ addFavoritePublicMediaWithOptions(request: $_model.AddFavoritePublicMediaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddFavoritePublicMediaResponse>; /** * Adds one or more public Media Assets to your Favorites list by their media IDs. * * @param request - AddFavoritePublicMediaRequest * @returns AddFavoritePublicMediaResponse */ addFavoritePublicMedia(request: $_model.AddFavoritePublicMediaRequest): Promise<$_model.AddFavoritePublicMediaResponse>; /** * Adds an input to a MediaConnect Flow instance. * * @remarks * - If the specified flow instance ID does not exist, the API returns an error. * - By default, a flow instance supports only one input. After you enable dual-stream disaster recovery, you can add a second input. * ### Input type descriptions * - RTMP-PUSH: Creates an RTMP listener input. You can push your stream to the URL returned by the API using the RTMP protocol. * - RTMP-PULL: Creates an RTMP origin fetch input. The flow instance pulls an RTMP live stream from your specified origin server. * - SRT-Listener: Creates an SRT listener input. You can push your stream to the URL returned by the API using the SRT protocol. * - SRT-Caller: Creates an SRT origin fetch input. The flow instance pulls an SRT live stream from your specified origin server. * - Flow: Uses the output of another upstream flow instance as the input. You must specify both the upstream flow instance ID and the output name. The output of the upstream flow instance must be of the SRT-Listener or RTMP-PULL type. When flow instances cascade, they use a leased line by default. This supports cross-region distribution across multiple flow instances. * * @param request - AddMediaConnectFlowInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddMediaConnectFlowInputResponse */ addMediaConnectFlowInputWithOptions(request: $_model.AddMediaConnectFlowInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddMediaConnectFlowInputResponse>; /** * Adds an input to a MediaConnect Flow instance. * * @remarks * - If the specified flow instance ID does not exist, the API returns an error. * - By default, a flow instance supports only one input. After you enable dual-stream disaster recovery, you can add a second input. * ### Input type descriptions * - RTMP-PUSH: Creates an RTMP listener input. You can push your stream to the URL returned by the API using the RTMP protocol. * - RTMP-PULL: Creates an RTMP origin fetch input. The flow instance pulls an RTMP live stream from your specified origin server. * - SRT-Listener: Creates an SRT listener input. You can push your stream to the URL returned by the API using the SRT protocol. * - SRT-Caller: Creates an SRT origin fetch input. The flow instance pulls an SRT live stream from your specified origin server. * - Flow: Uses the output of another upstream flow instance as the input. You must specify both the upstream flow instance ID and the output name. The output of the upstream flow instance must be of the SRT-Listener or RTMP-PULL type. When flow instances cascade, they use a leased line by default. This supports cross-region distribution across multiple flow instances. * * @param request - AddMediaConnectFlowInputRequest * @returns AddMediaConnectFlowInputResponse */ addMediaConnectFlowInput(request: $_model.AddMediaConnectFlowInputRequest): Promise<$_model.AddMediaConnectFlowInputResponse>; /** * Creates an output for a MediaConnect flow. * * @remarks * - When the specified flow ID is not available, an error code is returned. * - A flow can have a maximum of four outputs. * - The output names in the same flow cannot be duplicated. * - You can set an upper limit on the number of concurrent viewers for each output. If this limit is exceeded, any new playback requests will fail. Each output supports up to five streams. * ### [](#)Output types * - RTMP-PUSH: An output that the MediaConnect flow pushes to the server you specified over the RTMP protocol. * - RTMP-PULL: An output that you can pull using the returned streaming URL over the RTMP protocol. * - SRT-Caller: An output that the MediaConnect flow pushes to the server you specified over the SRT protocol. * - SRT-Listener: An output that you can pull using the returned streaming URL over the SRT protocol. * - Flow: An output that is pushed to the source URL of another MediaConnect flow. The source type of the destination flow must be SRT-Listener or RTMP-PUSH. By default, a dedicated line is used when flows are cascaded. This allows for cross-region distribution among multiple flows. * * @param request - AddMediaConnectFlowOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddMediaConnectFlowOutputResponse */ addMediaConnectFlowOutputWithOptions(request: $_model.AddMediaConnectFlowOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddMediaConnectFlowOutputResponse>; /** * Creates an output for a MediaConnect flow. * * @remarks * - When the specified flow ID is not available, an error code is returned. * - A flow can have a maximum of four outputs. * - The output names in the same flow cannot be duplicated. * - You can set an upper limit on the number of concurrent viewers for each output. If this limit is exceeded, any new playback requests will fail. Each output supports up to five streams. * ### [](#)Output types * - RTMP-PUSH: An output that the MediaConnect flow pushes to the server you specified over the RTMP protocol. * - RTMP-PULL: An output that you can pull using the returned streaming URL over the RTMP protocol. * - SRT-Caller: An output that the MediaConnect flow pushes to the server you specified over the SRT protocol. * - SRT-Listener: An output that you can pull using the returned streaming URL over the SRT protocol. * - Flow: An output that is pushed to the source URL of another MediaConnect flow. The source type of the destination flow must be SRT-Listener or RTMP-PUSH. By default, a dedicated line is used when flows are cascaded. This allows for cross-region distribution among multiple flows. * * @param request - AddMediaConnectFlowOutputRequest * @returns AddMediaConnectFlowOutputResponse */ addMediaConnectFlowOutput(request: $_model.AddMediaConnectFlowOutputRequest): Promise<$_model.AddMediaConnectFlowOutputResponse>; /** * Adds marks for a media asset. * * @param request - AddMediaMarksRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddMediaMarksResponse */ addMediaMarksWithOptions(request: $_model.AddMediaMarksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddMediaMarksResponse>; /** * Adds marks for a media asset. * * @param request - AddMediaMarksRequest * @returns AddMediaMarksResponse */ addMediaMarks(request: $_model.AddMediaMarksRequest): Promise<$_model.AddMediaMarksResponse>; /** * Adds tags for a specific live stream media asset. * * @remarks * Tagging media assets created for live streams. * * @param request - AddStreamTagToSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddStreamTagToSearchLibResponse */ addStreamTagToSearchLibWithOptions(request: $_model.AddStreamTagToSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddStreamTagToSearchLibResponse>; /** * Adds tags for a specific live stream media asset. * * @remarks * Tagging media assets created for live streams. * * @param request - AddStreamTagToSearchLibRequest * @returns AddStreamTagToSearchLibResponse */ addStreamTagToSearchLib(request: $_model.AddStreamTagToSearchLibRequest): Promise<$_model.AddStreamTagToSearchLibResponse>; /** * Creates a template. * * @remarks * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * - After an advanced template is created, it enters the Processing state. In this case, the template is unavailable. The template can be used only when it is in the Available state. The time required for template processing varies based on the size of the template file. Generally, it ranges from 10 seconds to 5 minutes. * * @param request - AddTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddTemplateResponse */ addTemplateWithOptions(request: $_model.AddTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddTemplateResponse>; /** * Creates a template. * * @remarks * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * - After an advanced template is created, it enters the Processing state. In this case, the template is unavailable. The template can be used only when it is in the Available state. The time required for template processing varies based on the size of the template file. Generally, it ranges from 10 seconds to 5 minutes. * * @param request - AddTemplateRequest * @returns AddTemplateResponse */ addTemplate(request: $_model.AddTemplateRequest): Promise<$_model.AddTemplateResponse>; /** * Adds credits to a user account. * * @param request - AddYikeUserCreditRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AddYikeUserCreditResponse */ addYikeUserCreditWithOptions(request: $_model.AddYikeUserCreditRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddYikeUserCreditResponse>; /** * Adds credits to a user account. * * @param request - AddYikeUserCreditRequest * @returns AddYikeUserCreditResponse */ addYikeUserCredit(request: $_model.AddYikeUserCreditRequest): Promise<$_model.AddYikeUserCreditResponse>; /** * Modifies search index information including index status and configurations. * * @param request - AlterSearchIndexRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AlterSearchIndexResponse */ alterSearchIndexWithOptions(request: $_model.AlterSearchIndexRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AlterSearchIndexResponse>; /** * Modifies search index information including index status and configurations. * * @param request - AlterSearchIndexRequest * @returns AlterSearchIndexResponse */ alterSearchIndex(request: $_model.AlterSearchIndexRequest): Promise<$_model.AlterSearchIndexResponse>; /** * Modifies a search library. * * @param request - AlterSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns AlterSearchLibResponse */ alterSearchLibWithOptions(request: $_model.AlterSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AlterSearchLibResponse>; /** * Modifies a search library. * * @param request - AlterSearchLibRequest * @returns AlterSearchLibResponse */ alterSearchLib(request: $_model.AlterSearchLibRequest): Promise<$_model.AlterSearchLibResponse>; /** * Ingests multiple assets for VOD packaging. * * @param tmpReq - BatchCreateVodPackagingAssetRequest * @param runtime - runtime options for this request RuntimeOptions * @returns BatchCreateVodPackagingAssetResponse */ batchCreateVodPackagingAssetWithOptions(tmpReq: $_model.BatchCreateVodPackagingAssetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchCreateVodPackagingAssetResponse>; /** * Ingests multiple assets for VOD packaging. * * @param request - BatchCreateVodPackagingAssetRequest * @returns BatchCreateVodPackagingAssetResponse */ batchCreateVodPackagingAsset(request: $_model.BatchCreateVodPackagingAssetRequest): Promise<$_model.BatchCreateVodPackagingAssetResponse>; /** * Retrieves information for multiple media assets in a single request by providing their `mediaId` values. * * @param request - BatchGetMediaInfosRequest * @param runtime - runtime options for this request RuntimeOptions * @returns BatchGetMediaInfosResponse */ batchGetMediaInfosWithOptions(request: $_model.BatchGetMediaInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchGetMediaInfosResponse>; /** * Retrieves information for multiple media assets in a single request by providing their `mediaId` values. * * @param request - BatchGetMediaInfosRequest * @returns BatchGetMediaInfosResponse */ batchGetMediaInfos(request: $_model.BatchGetMediaInfosRequest): Promise<$_model.BatchGetMediaInfosResponse>; /** * Retrieves a batch of Yike AI Application Generation Tasks. * * @param request - BatchGetYikeAIAppJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns BatchGetYikeAIAppJobResponse */ batchGetYikeAIAppJobWithOptions(request: $_model.BatchGetYikeAIAppJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchGetYikeAIAppJobResponse>; /** * Retrieves a batch of Yike AI Application Generation Tasks. * * @param request - BatchGetYikeAIAppJobRequest * @returns BatchGetYikeAIAppJobResponse */ batchGetYikeAIAppJob(request: $_model.BatchGetYikeAIAppJobRequest): Promise<$_model.BatchGetYikeAIAppJobResponse>; /** * Retrieves multiple media assets. * * @param request - BatchGetYikeAssetMediaInfosRequest * @param runtime - runtime options for this request RuntimeOptions * @returns BatchGetYikeAssetMediaInfosResponse */ batchGetYikeAssetMediaInfosWithOptions(request: $_model.BatchGetYikeAssetMediaInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchGetYikeAssetMediaInfosResponse>; /** * Retrieves multiple media assets. * * @param request - BatchGetYikeAssetMediaInfosRequest * @returns BatchGetYikeAssetMediaInfosResponse */ batchGetYikeAssetMediaInfos(request: $_model.BatchGetYikeAssetMediaInfosRequest): Promise<$_model.BatchGetYikeAssetMediaInfosResponse>; /** * Cancels a media fingerprint analysis job. * * @remarks * - You can cancel a media fingerprint analysis job only if the job is in the Queuing state. * - We recommend that you call the **UpdatePipeline** operation to set the status of the ApsaraVideo Media Processing (MPS) queue to Paused before you cancel a job. This suspends job scheduling in the MPS queue. After the job is canceled, you must set the status of the MPS queue back to Active so that the other jobs in the MPS queue can be scheduled. * * @param request - CancelDNAJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CancelDNAJobResponse */ cancelDNAJobWithOptions(request: $_model.CancelDNAJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelDNAJobResponse>; /** * Cancels a media fingerprint analysis job. * * @remarks * - You can cancel a media fingerprint analysis job only if the job is in the Queuing state. * - We recommend that you call the **UpdatePipeline** operation to set the status of the ApsaraVideo Media Processing (MPS) queue to Paused before you cancel a job. This suspends job scheduling in the MPS queue. After the job is canceled, you must set the status of the MPS queue back to Active so that the other jobs in the MPS queue can be scheduled. * * @param request - CancelDNAJobRequest * @returns CancelDNAJobResponse */ cancelDNAJob(request: $_model.CancelDNAJobRequest): Promise<$_model.CancelDNAJobResponse>; /** * Removes all specified media assets from favorites based on the input mediaId list. * * @param request - CancelFavoritePublicMediaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CancelFavoritePublicMediaResponse */ cancelFavoritePublicMediaWithOptions(request: $_model.CancelFavoritePublicMediaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelFavoritePublicMediaResponse>; /** * Removes all specified media assets from favorites based on the input mediaId list. * * @param request - CancelFavoritePublicMediaRequest * @returns CancelFavoritePublicMediaResponse */ cancelFavoritePublicMedia(request: $_model.CancelFavoritePublicMediaRequest): Promise<$_model.CancelFavoritePublicMediaResponse>; /** * Invoke CancelIProductionJob to cancel an Intelligent Production job. * * @param request - CancelIProductionJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CancelIProductionJobResponse */ cancelIProductionJobWithOptions(request: $_model.CancelIProductionJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CancelIProductionJobResponse>; /** * Invoke CancelIProductionJob to cancel an Intelligent Production job. * * @param request - CancelIProductionJobRequest * @returns CancelIProductionJobResponse */ cancelIProductionJob(request: $_model.CancelIProductionJobRequest): Promise<$_model.CancelIProductionJobResponse>; /** * Clears the voiceprint associated with a voiceprint ID. * * @param request - ClearAIAgentVoiceprintRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ClearAIAgentVoiceprintResponse */ clearAIAgentVoiceprintWithOptions(request: $_model.ClearAIAgentVoiceprintRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ClearAIAgentVoiceprintResponse>; /** * Clears the voiceprint associated with a voiceprint ID. * * @param request - ClearAIAgentVoiceprintRequest * @returns ClearAIAgentVoiceprintResponse */ clearAIAgentVoiceprint(request: $_model.ClearAIAgentVoiceprintRequest): Promise<$_model.ClearAIAgentVoiceprintResponse>; /** * Disables Source Failover for a MediaConnect flow. * * @remarks * - If a flow has two sources, you cannot disable Source Failover. Delete one of them before this operation. * * @param request - CloseMediaConnectFlowFailoverRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CloseMediaConnectFlowFailoverResponse */ closeMediaConnectFlowFailoverWithOptions(request: $_model.CloseMediaConnectFlowFailoverRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CloseMediaConnectFlowFailoverResponse>; /** * Disables Source Failover for a MediaConnect flow. * * @remarks * - If a flow has two sources, you cannot disable Source Failover. Delete one of them before this operation. * * @param request - CloseMediaConnectFlowFailoverRequest * @returns CloseMediaConnectFlowFailoverResponse */ closeMediaConnectFlowFailover(request: $_model.CloseMediaConnectFlowFailoverRequest): Promise<$_model.CloseMediaConnectFlowFailoverResponse>; /** * Stops the tagging and analysis process for a live stream media asset. * * @param request - CloseStreamToSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CloseStreamToSearchLibResponse */ closeStreamToSearchLibWithOptions(request: $_model.CloseStreamToSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CloseStreamToSearchLibResponse>; /** * Stops the tagging and analysis process for a live stream media asset. * * @param request - CloseStreamToSearchLibRequest * @returns CloseStreamToSearchLibResponse */ closeStreamToSearchLib(request: $_model.CloseStreamToSearchLibRequest): Promise<$_model.CloseStreamToSearchLibResponse>; /** * Submits manual review results for media assets. * * @param request - CreateAuditRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateAuditResponse */ createAuditWithOptions(request: $_model.CreateAuditRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAuditResponse>; /** * Submits manual review results for media assets. * * @param request - CreateAuditRequest * @returns CreateAuditResponse */ createAudit(request: $_model.CreateAuditRequest): Promise<$_model.CreateAuditResponse>; /** * Creates an avatar training job. You can configure the basic information of the avatar and the materials required for the training. * * @remarks * This API is only used to initialize trainingTaskrelatedInformation,And will not submit training,To officially submit training, you need toCall [SubmitAvatarTrainingJob](https://help.aliyun.com/document_detail/2526196.html) API. * * @param request - CreateAvatarTrainingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateAvatarTrainingJobResponse */ createAvatarTrainingJobWithOptions(request: $_model.CreateAvatarTrainingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAvatarTrainingJobResponse>; /** * Creates an avatar training job. You can configure the basic information of the avatar and the materials required for the training. * * @remarks * This API is only used to initialize trainingTaskrelatedInformation,And will not submit training,To officially submit training, you need toCall [SubmitAvatarTrainingJob](https://help.aliyun.com/document_detail/2526196.html) API. * * @param request - CreateAvatarTrainingJobRequest * @returns CreateAvatarTrainingJobResponse */ createAvatarTrainingJob(request: $_model.CreateAvatarTrainingJobRequest): Promise<$_model.CreateAvatarTrainingJobResponse>; /** * Creates a channel in MediaWeaver. * * @param request - CreateChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateChannelResponse */ createChannelWithOptions(request: $_model.CreateChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateChannelResponse>; /** * Creates a channel in MediaWeaver. * * @param request - CreateChannelRequest * @returns CreateChannelResponse */ createChannel(request: $_model.CreateChannelRequest): Promise<$_model.CreateChannelResponse>; /** * Creates a custom media processing template. * * @param request - CreateCustomTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateCustomTemplateResponse */ createCustomTemplateWithOptions(request: $_model.CreateCustomTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomTemplateResponse>; /** * Creates a custom media processing template. * * @param request - CreateCustomTemplateRequest * @returns CreateCustomTemplateResponse */ createCustomTemplate(request: $_model.CreateCustomTemplateRequest): Promise<$_model.CreateCustomTemplateResponse>; /** * Creates a voice cloning job and initializes its basic information. * * @remarks * * - Billing for voice cloning is based on customization and usage. For more information, see [Voice cloning billing](~~2399891#section-gy3-80e-clt~~). * - Call this operation to achieve entertainment-grade results. You need to record 20 predefined scripts. The system then extracts key voiceprint features to perform voice cloning quickly and cost-effectively. * * @param request - CreateCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateCustomizedVoiceJobResponse */ createCustomizedVoiceJobWithOptions(request: $_model.CreateCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomizedVoiceJobResponse>; /** * Creates a voice cloning job and initializes its basic information. * * @remarks * * - Billing for voice cloning is based on customization and usage. For more information, see [Voice cloning billing](~~2399891#section-gy3-80e-clt~~). * - Call this operation to achieve entertainment-grade results. You need to record 20 predefined scripts. The system then extracts key voiceprint features to perform voice cloning quickly and cost-effectively. * * @param request - CreateCustomizedVoiceJobRequest * @returns CreateCustomizedVoiceJobResponse */ createCustomizedVoiceJob(request: $_model.CreateCustomizedVoiceJobRequest): Promise<$_model.CreateCustomizedVoiceJobResponse>; /** * Use the CreateDNADB operation to create a DNA database. * * @remarks * By default, each user can create up to five DNA databases. To increase this limit, please [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.645019b6Btnu4q). You can use the DeleteDNADB operation to delete DNA databases that you no longer need. * * @param request - CreateDNADBRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateDNADBResponse */ createDNADBWithOptions(request: $_model.CreateDNADBRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDNADBResponse>; /** * Use the CreateDNADB operation to create a DNA database. * * @remarks * By default, each user can create up to five DNA databases. To increase this limit, please [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.645019b6Btnu4q). You can use the DeleteDNADB operation to delete DNA databases that you no longer need. * * @param request - CreateDNADBRequest * @returns CreateDNADBResponse */ createDNADB(request: $_model.CreateDNADBRequest): Promise<$_model.CreateDNADBResponse>; /** * Creates an online editing project. You can specify configurations such as the title, description, timeline, and thumbnail for the project. * * @remarks * - Billing is based on the duration of the edited video,For more informationPlease referSee[VideoEditing](https://help.aliyun.com/document_detail/2840899.html) and [LiveEditing](https://help.aliyun.com/document_detail/2840900.html) .If processing fails,No charge. * - After creating the editing project,You canCall[SubmitMediaProducingJob - SubmitEditingCompositing jobAPI](https://help.aliyun.com/document_detail/441147.html)Submit mediaEditingSynthesisTask.Call[SubmitLiveEditingJob - Submit liveEditingTask](https://help.aliyun.com/document_detail/441148.html)Submit liveEditingTask. * * @param request - CreateEditingProjectRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateEditingProjectResponse */ createEditingProjectWithOptions(request: $_model.CreateEditingProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateEditingProjectResponse>; /** * Creates an online editing project. You can specify configurations such as the title, description, timeline, and thumbnail for the project. * * @remarks * - Billing is based on the duration of the edited video,For more informationPlease referSee[VideoEditing](https://help.aliyun.com/document_detail/2840899.html) and [LiveEditing](https://help.aliyun.com/document_detail/2840900.html) .If processing fails,No charge. * - After creating the editing project,You canCall[SubmitMediaProducingJob - SubmitEditingCompositing jobAPI](https://help.aliyun.com/document_detail/441147.html)Submit mediaEditingSynthesisTask.Call[SubmitLiveEditingJob - Submit liveEditingTask](https://help.aliyun.com/document_detail/441148.html)Submit liveEditingTask. * * @param request - CreateEditingProjectRequest * @returns CreateEditingProjectResponse */ createEditingProject(request: $_model.CreateEditingProjectRequest): Promise<$_model.CreateEditingProjectResponse>; /** * Creates a hotword library. * * @remarks * Call CreateHotwordLibrary API to create hotword library. * * @param tmpReq - CreateHotwordLibraryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateHotwordLibraryResponse */ createHotwordLibraryWithOptions(tmpReq: $_model.CreateHotwordLibraryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateHotwordLibraryResponse>; /** * Creates a hotword library. * * @remarks * Call CreateHotwordLibrary API to create hotword library. * * @param request - CreateHotwordLibraryRequest * @returns CreateHotwordLibraryResponse */ createHotwordLibrary(request: $_model.CreateHotwordLibraryRequest): Promise<$_model.CreateHotwordLibraryResponse>; /** * Creates an IPC order with shared capacity at the account level. * * @remarks * Before you call this operation, make sure you understand the [billing and pricing for the IPC product](https://help.aliyun.com/document_detail/3004591.html). * * @param request - CreateIpcOrderRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateIpcOrderResponse */ createIpcOrderWithOptions(request: $_model.CreateIpcOrderRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateIpcOrderResponse>; /** * Creates an IPC order with shared capacity at the account level. * * @remarks * Before you call this operation, make sure you understand the [billing and pricing for the IPC product](https://help.aliyun.com/document_detail/3004591.html). * * @param request - CreateIpcOrderRequest * @returns CreateIpcOrderResponse */ createIpcOrder(request: $_model.CreateIpcOrderRequest): Promise<$_model.CreateIpcOrderResponse>; /** * Creates a live package channel. * * @remarks * ## [](#)Usage notes * After you call this operation to create a live package channel, the system will automatically generate the ingest endpoint URL, and username and password required for authentication. * ### [](#)Precautions * - Channel group names and channel names can contain only letters, digits, underscores (_), and hyphens (-). * - Only `HLS` is supported. * - The segment duration must be from 1 to 30 seconds. * - The number of M3U8 segments must be from 2 to 100. * If the request succeeds, the system will return the details of the newly created channel, including the channel name, creation time, modification time, and ingest endpoint details. * * @param request - CreateLivePackageChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateLivePackageChannelResponse */ createLivePackageChannelWithOptions(request: $_model.CreateLivePackageChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLivePackageChannelResponse>; /** * Creates a live package channel. * * @remarks * ## [](#)Usage notes * After you call this operation to create a live package channel, the system will automatically generate the ingest endpoint URL, and username and password required for authentication. * ### [](#)Precautions * - Channel group names and channel names can contain only letters, digits, underscores (_), and hyphens (-). * - Only `HLS` is supported. * - The segment duration must be from 1 to 30 seconds. * - The number of M3U8 segments must be from 2 to 100. * If the request succeeds, the system will return the details of the newly created channel, including the channel name, creation time, modification time, and ingest endpoint details. * * @param request - CreateLivePackageChannelRequest * @returns CreateLivePackageChannelResponse */ createLivePackageChannel(request: $_model.CreateLivePackageChannelRequest): Promise<$_model.CreateLivePackageChannelResponse>; /** * Creates a live package channel group with a custom name and description. * * @remarks * After you create a channel group, the assigned origin domain is returned. * * @param request - CreateLivePackageChannelGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateLivePackageChannelGroupResponse */ createLivePackageChannelGroupWithOptions(request: $_model.CreateLivePackageChannelGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLivePackageChannelGroupResponse>; /** * Creates a live package channel group with a custom name and description. * * @remarks * After you create a channel group, the assigned origin domain is returned. * * @param request - CreateLivePackageChannelGroupRequest * @returns CreateLivePackageChannelGroupResponse */ createLivePackageChannelGroup(request: $_model.CreateLivePackageChannelGroupRequest): Promise<$_model.CreateLivePackageChannelGroupResponse>; /** * [responses_200_schema_properties_LivePackageOriginEndpoint_properties_EndpointUrl_description]Endpoint playback URL * * @remarks * [responses_200_schema_properties_LivePackageOriginEndpoint_properties_EndpointUrl_title]Endpoint URL * * @param tmpReq - CreateLivePackageOriginEndpointRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateLivePackageOriginEndpointResponse */ createLivePackageOriginEndpointWithOptions(tmpReq: $_model.CreateLivePackageOriginEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLivePackageOriginEndpointResponse>; /** * [responses_200_schema_properties_LivePackageOriginEndpoint_properties_EndpointUrl_description]Endpoint playback URL * * @remarks * [responses_200_schema_properties_LivePackageOriginEndpoint_properties_EndpointUrl_title]Endpoint URL * * @param request - CreateLivePackageOriginEndpointRequest * @returns CreateLivePackageOriginEndpointResponse */ createLivePackageOriginEndpoint(request: $_model.CreateLivePackageOriginEndpointRequest): Promise<$_model.CreateLivePackageOriginEndpointResponse>; /** * Use this operation to create a Live Record Template. You can use the template to submit Live Recording Jobs. * * @remarks * Live recording requires a Live Record Template. You can use a template to configure settings such as the recording format (for example, M3U8, MP4, or FLV) and the duration of Recording Files. * * @param tmpReq - CreateLiveRecordTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateLiveRecordTemplateResponse */ createLiveRecordTemplateWithOptions(tmpReq: $_model.CreateLiveRecordTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLiveRecordTemplateResponse>; /** * Use this operation to create a Live Record Template. You can use the template to submit Live Recording Jobs. * * @remarks * Live recording requires a Live Record Template. You can use a template to configure settings such as the recording format (for example, M3U8, MP4, or FLV) and the duration of Recording Files. * * @param request - CreateLiveRecordTemplateRequest * @returns CreateLiveRecordTemplateResponse */ createLiveRecordTemplate(request: $_model.CreateLiveRecordTemplateRequest): Promise<$_model.CreateLiveRecordTemplateResponse>; /** * Create a live stream snapshot template to facilitate the creation of snapshot jobs. * * @param request - CreateLiveSnapshotTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateLiveSnapshotTemplateResponse */ createLiveSnapshotTemplateWithOptions(request: $_model.CreateLiveSnapshotTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLiveSnapshotTemplateResponse>; /** * Create a live stream snapshot template to facilitate the creation of snapshot jobs. * * @param request - CreateLiveSnapshotTemplateRequest * @returns CreateLiveSnapshotTemplateResponse */ createLiveSnapshotTemplate(request: $_model.CreateLiveSnapshotTemplateRequest): Promise<$_model.CreateLiveSnapshotTemplateResponse>; /** * Creates a live stream transcoding template, which can be referenced when submitting a transcoding job. * * @remarks * Only Shanghai region supports real-time media transcoding. * * @param tmpReq - CreateLiveTranscodeTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateLiveTranscodeTemplateResponse */ createLiveTranscodeTemplateWithOptions(tmpReq: $_model.CreateLiveTranscodeTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateLiveTranscodeTemplateResponse>; /** * Creates a live stream transcoding template, which can be referenced when submitting a transcoding job. * * @remarks * Only Shanghai region supports real-time media transcoding. * * @param request - CreateLiveTranscodeTemplateRequest * @returns CreateLiveTranscodeTemplateResponse */ createLiveTranscodeTemplate(request: $_model.CreateLiveTranscodeTemplateRequest): Promise<$_model.CreateLiveTranscodeTemplateResponse>; /** * Creates a MediaConnect flow. * * @remarks * - The flow names cannot be duplicated in the same region. * - Take note of the returned flow ID. You may reference it in other API operations. * * @param request - CreateMediaConnectFlowRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMediaConnectFlowResponse */ createMediaConnectFlowWithOptions(request: $_model.CreateMediaConnectFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMediaConnectFlowResponse>; /** * Creates a MediaConnect flow. * * @remarks * - The flow names cannot be duplicated in the same region. * - Take note of the returned flow ID. You may reference it in other API operations. * * @param request - CreateMediaConnectFlowRequest * @returns CreateMediaConnectFlowResponse */ createMediaConnectFlow(request: $_model.CreateMediaConnectFlowRequest): Promise<$_model.CreateMediaConnectFlowResponse>; /** * Creates a MediaLive channel. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param tmpReq - CreateMediaLiveChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMediaLiveChannelResponse */ createMediaLiveChannelWithOptions(tmpReq: $_model.CreateMediaLiveChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMediaLiveChannelResponse>; /** * Creates a MediaLive channel. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - CreateMediaLiveChannelRequest * @returns CreateMediaLiveChannelResponse */ createMediaLiveChannel(request: $_model.CreateMediaLiveChannelRequest): Promise<$_model.CreateMediaLiveChannelResponse>; /** * Create a live media input. * * @remarks * - Create a live media input. * ## Queries per second (QPS) limit * The queries per second (QPS) limit for this API is 50 requests per second per user. If the limit is exceeded, API calls will be subject to Rate Limiting, which may Impact your business. Please invoke the API appropriately. * * @param tmpReq - CreateMediaLiveInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMediaLiveInputResponse */ createMediaLiveInputWithOptions(tmpReq: $_model.CreateMediaLiveInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMediaLiveInputResponse>; /** * Create a live media input. * * @remarks * - Create a live media input. * ## Queries per second (QPS) limit * The queries per second (QPS) limit for this API is 50 requests per second per user. If the limit is exceeded, API calls will be subject to Rate Limiting, which may Impact your business. Please invoke the API appropriately. * * @param request - CreateMediaLiveInputRequest * @returns CreateMediaLiveInputResponse */ createMediaLiveInput(request: $_model.CreateMediaLiveInputRequest): Promise<$_model.CreateMediaLiveInputResponse>; /** * Creates a security group in MediaLive. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param tmpReq - CreateMediaLiveInputSecurityGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateMediaLiveInputSecurityGroupResponse */ createMediaLiveInputSecurityGroupWithOptions(tmpReq: $_model.CreateMediaLiveInputSecurityGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMediaLiveInputSecurityGroupResponse>; /** * Creates a security group in MediaLive. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - CreateMediaLiveInputSecurityGroupRequest * @returns CreateMediaLiveInputSecurityGroupResponse */ createMediaLiveInputSecurityGroup(request: $_model.CreateMediaLiveInputSecurityGroupRequest): Promise<$_model.CreateMediaLiveInputSecurityGroupResponse>; /** * Creates an ApsaraVideo Media Processing (MPS) queue. * * @param request - CreatePipelineRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreatePipelineResponse */ createPipelineWithOptions(request: $_model.CreatePipelineRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePipelineResponse>; /** * Creates an ApsaraVideo Media Processing (MPS) queue. * * @param request - CreatePipelineRequest * @returns CreatePipelineResponse */ createPipeline(request: $_model.CreatePipelineRequest): Promise<$_model.CreatePipelineResponse>; /** * Creates a program in a MediaWeaver channel. * * @param request - CreateProgramRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateProgramResponse */ createProgramWithOptions(request: $_model.CreateProgramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateProgramResponse>; /** * Creates a program in a MediaWeaver channel. * * @param request - CreateProgramRequest * @returns CreateProgramResponse */ createProgram(request: $_model.CreateProgramRequest): Promise<$_model.CreateProgramResponse>; /** * Creates an entity to be recognized in a custom recognition library. The entity can be a landmark, object, logo, or person. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - CreateRecognitionEntityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateRecognitionEntityResponse */ createRecognitionEntityWithOptions(request: $_model.CreateRecognitionEntityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRecognitionEntityResponse>; /** * Creates an entity to be recognized in a custom recognition library. The entity can be a landmark, object, logo, or person. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - CreateRecognitionEntityRequest * @returns CreateRecognitionEntityResponse */ createRecognitionEntity(request: $_model.CreateRecognitionEntityRequest): Promise<$_model.CreateRecognitionEntityResponse>; /** * Creates a custom library to store the entity information for recognition. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Workflow for using a custom recognition library: Create a library, create a custom object entity within the library, register sample images for the entity, create an analysis template that uses your custom library, and then submit an analysis task using the template. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - CreateRecognitionLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateRecognitionLibResponse */ createRecognitionLibWithOptions(request: $_model.CreateRecognitionLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRecognitionLibResponse>; /** * Creates a custom library to store the entity information for recognition. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Workflow for using a custom recognition library: Create a library, create a custom object entity within the library, register sample images for the entity, create an analysis template that uses your custom library, and then submit an analysis task using the template. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - CreateRecognitionLibRequest * @returns CreateRecognitionLibResponse */ createRecognitionLib(request: $_model.CreateRecognitionLibRequest): Promise<$_model.CreateRecognitionLibResponse>; /** * Adds a sample image or a text label to a specific entity within a recognition library. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - CreateRecognitionSampleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateRecognitionSampleResponse */ createRecognitionSampleWithOptions(request: $_model.CreateRecognitionSampleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateRecognitionSampleResponse>; /** * Adds a sample image or a text label to a specific entity within a recognition library. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - CreateRecognitionSampleRequest * @returns CreateRecognitionSampleResponse */ createRecognitionSample(request: $_model.CreateRecognitionSampleRequest): Promise<$_model.CreateRecognitionSampleResponse>; /** * You can create a search index under a search library. A search library can contain multiple search indexes of different types. * * @remarks * * Before using this API, ensure that you fully understand the [Intelligent Search billing](https://help.aliyun.com/document_detail/2840897.html) method and pricing. * * @param request - CreateSearchIndexRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSearchIndexResponse */ createSearchIndexWithOptions(request: $_model.CreateSearchIndexRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSearchIndexResponse>; /** * You can create a search index under a search library. A search library can contain multiple search indexes of different types. * * @remarks * * Before using this API, ensure that you fully understand the [Intelligent Search billing](https://help.aliyun.com/document_detail/2840897.html) method and pricing. * * @param request - CreateSearchIndexRequest * @returns CreateSearchIndexResponse */ createSearchIndex(request: $_model.CreateSearchIndexRequest): Promise<$_model.CreateSearchIndexResponse>; /** * Creates a search library to store media assets. * * @param request - CreateSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSearchLibResponse */ createSearchLibWithOptions(request: $_model.CreateSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSearchLibResponse>; /** * Creates a search library to store media assets. * * @param request - CreateSearchLibRequest * @returns CreateSearchLibResponse */ createSearchLib(request: $_model.CreateSearchLibRequest): Promise<$_model.CreateSearchLibResponse>; /** * Creates a source in MediaWeaver. * * @param request - CreateSourceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSourceResponse */ createSourceWithOptions(request: $_model.CreateSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSourceResponse>; /** * Creates a source in MediaWeaver. * * @param request - CreateSourceRequest * @returns CreateSourceResponse */ createSource(request: $_model.CreateSourceRequest): Promise<$_model.CreateSourceResponse>; /** * Creates a source location. * * @param request - CreateSourceLocationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateSourceLocationResponse */ createSourceLocationWithOptions(request: $_model.CreateSourceLocationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSourceLocationResponse>; /** * Creates a source location. * * @param request - CreateSourceLocationRequest * @returns CreateSourceLocationResponse */ createSourceLocation(request: $_model.CreateSourceLocationRequest): Promise<$_model.CreateSourceLocationResponse>; /** * Registers a live stream as a media asset. * * @param request - CreateStreamToSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateStreamToSearchLibResponse */ createStreamToSearchLibWithOptions(request: $_model.CreateStreamToSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateStreamToSearchLibResponse>; /** * Registers a live stream as a media asset. * * @param request - CreateStreamToSearchLibRequest * @returns CreateStreamToSearchLibResponse */ createStreamToSearchLib(request: $_model.CreateStreamToSearchLibRequest): Promise<$_model.CreateStreamToSearchLibResponse>; /** * This operation retrieves an upload address and upload credential for audio, video, image, and auxiliary media assets, and creates the corresponding media asset. * * @remarks * ### Overview * - Obtaining an upload address and upload credential is a prerequisite for all uploads in Intelligent Media Service. * - If an upload credential expires (the default validity is 3,000 seconds), call the `RefreshUploadMedia` operation to get a new one. * - After an upload is complete, you can confirm its success by either configuring a callback for event notifications or calling the `GetMediaInfo` operation to check the media asset\\"s status. * - Use the returned `MediaId` for media asset lifecycle management or media processing. * ### Limitations * - This operation supports uploads only to VOD storage, not to your own Object Storage Service (OSS) buckets. If you use your own OSS buckets, first upload the files by using the [OSS SDK](https://help.aliyun.com/document_detail/32006.html), and then call the [RegisterMediaInfo](https://help.aliyun.com/document_detail/441152.html) operation to register the OSS files in your media library. * - This operation is available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * * @param request - CreateUploadMediaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateUploadMediaResponse */ createUploadMediaWithOptions(request: $_model.CreateUploadMediaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUploadMediaResponse>; /** * This operation retrieves an upload address and upload credential for audio, video, image, and auxiliary media assets, and creates the corresponding media asset. * * @remarks * ### Overview * - Obtaining an upload address and upload credential is a prerequisite for all uploads in Intelligent Media Service. * - If an upload credential expires (the default validity is 3,000 seconds), call the `RefreshUploadMedia` operation to get a new one. * - After an upload is complete, you can confirm its success by either configuring a callback for event notifications or calling the `GetMediaInfo` operation to check the media asset\\"s status. * - Use the returned `MediaId` for media asset lifecycle management or media processing. * ### Limitations * - This operation supports uploads only to VOD storage, not to your own Object Storage Service (OSS) buckets. If you use your own OSS buckets, first upload the files by using the [OSS SDK](https://help.aliyun.com/document_detail/32006.html), and then call the [RegisterMediaInfo](https://help.aliyun.com/document_detail/441152.html) operation to register the OSS files in your media library. * - This operation is available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * * @param request - CreateUploadMediaRequest * @returns CreateUploadMediaResponse */ createUploadMedia(request: $_model.CreateUploadMediaRequest): Promise<$_model.CreateUploadMediaResponse>; /** * Obtains the upload URL and credential of a media stream. * * @remarks * - Upload only a local media stream. After the media stream is uploaded, it is associated with the specified media asset ID. * - Upload media streams only to ApsaraVideo VOD, but not to your own Object Storage Service (OSS) buckets. To upload a media stream to your own OSS bucket, you can upload the file to your OSS bucket by using [OSS SDK](https://help.aliyun.com/document_detail/32006.html), and then call the [RegisterMediaStream](https://help.aliyun.com/document_detail/440765.html) operation to associate the media stream with the specified media asset ID. * - This operation is available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * * @param request - CreateUploadStreamRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateUploadStreamResponse */ createUploadStreamWithOptions(request: $_model.CreateUploadStreamRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUploadStreamResponse>; /** * Obtains the upload URL and credential of a media stream. * * @remarks * - Upload only a local media stream. After the media stream is uploaded, it is associated with the specified media asset ID. * - Upload media streams only to ApsaraVideo VOD, but not to your own Object Storage Service (OSS) buckets. To upload a media stream to your own OSS bucket, you can upload the file to your OSS bucket by using [OSS SDK](https://help.aliyun.com/document_detail/32006.html), and then call the [RegisterMediaStream](https://help.aliyun.com/document_detail/440765.html) operation to associate the media stream with the specified media asset ID. * - This operation is available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * * @param request - CreateUploadStreamRequest * @returns CreateUploadStreamResponse */ createUploadStream(request: $_model.CreateUploadStreamRequest): Promise<$_model.CreateUploadStreamResponse>; /** * Ingests an asset for VOD packaging. * * @param tmpReq - CreateVodPackagingAssetRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateVodPackagingAssetResponse */ createVodPackagingAssetWithOptions(tmpReq: $_model.CreateVodPackagingAssetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateVodPackagingAssetResponse>; /** * Ingests an asset for VOD packaging. * * @param request - CreateVodPackagingAssetRequest * @returns CreateVodPackagingAssetResponse */ createVodPackagingAsset(request: $_model.CreateVodPackagingAssetRequest): Promise<$_model.CreateVodPackagingAssetResponse>; /** * Creates a VOD packaging configuration. * * @param tmpReq - CreateVodPackagingConfigurationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateVodPackagingConfigurationResponse */ createVodPackagingConfigurationWithOptions(tmpReq: $_model.CreateVodPackagingConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateVodPackagingConfigurationResponse>; /** * Creates a VOD packaging configuration. * * @param request - CreateVodPackagingConfigurationRequest * @returns CreateVodPackagingConfigurationResponse */ createVodPackagingConfiguration(request: $_model.CreateVodPackagingConfigurationRequest): Promise<$_model.CreateVodPackagingConfigurationResponse>; /** * Creates a VOD packaging group. * * @param request - CreateVodPackagingGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateVodPackagingGroupResponse */ createVodPackagingGroupWithOptions(request: $_model.CreateVodPackagingGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateVodPackagingGroupResponse>; /** * Creates a VOD packaging group. * * @param request - CreateVodPackagingGroupRequest * @returns CreateVodPackagingGroupResponse */ createVodPackagingGroup(request: $_model.CreateVodPackagingGroupRequest): Promise<$_model.CreateVodPackagingGroupResponse>; /** * Obtains an upload credential for a Yike media asset. * * @param request - CreateYikeAssetUploadRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateYikeAssetUploadResponse */ createYikeAssetUploadWithOptions(request: $_model.CreateYikeAssetUploadRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateYikeAssetUploadResponse>; /** * Obtains an upload credential for a Yike media asset. * * @param request - CreateYikeAssetUploadRequest * @returns CreateYikeAssetUploadResponse */ createYikeAssetUpload(request: $_model.CreateYikeAssetUploadRequest): Promise<$_model.CreateYikeAssetUploadResponse>; /** * Creates a Yike production. * * @param request - CreateYikeProductionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateYikeProductionResponse */ createYikeProductionWithOptions(request: $_model.CreateYikeProductionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateYikeProductionResponse>; /** * Creates a Yike production. * * @param request - CreateYikeProductionRequest * @returns CreateYikeProductionResponse */ createYikeProduction(request: $_model.CreateYikeProductionRequest): Promise<$_model.CreateYikeProductionResponse>; /** * Creates a Yike user. * * @param request - CreateYikeUserRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateYikeUserResponse */ createYikeUserWithOptions(request: $_model.CreateYikeUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateYikeUserResponse>; /** * Creates a Yike user. * * @param request - CreateYikeUserRequest * @returns CreateYikeUserResponse */ createYikeUser(request: $_model.CreateYikeUserRequest): Promise<$_model.CreateYikeUserResponse>; /** * Creates a workspace. * * @param request - CreateYikeWorkspaceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns CreateYikeWorkspaceResponse */ createYikeWorkspaceWithOptions(request: $_model.CreateYikeWorkspaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateYikeWorkspaceResponse>; /** * Creates a workspace. * * @param request - CreateYikeWorkspaceRequest * @returns CreateYikeWorkspaceResponse */ createYikeWorkspace(request: $_model.CreateYikeWorkspaceRequest): Promise<$_model.CreateYikeWorkspaceResponse>; /** * Decrypts the ciphertext specified by CiphertextBlob in the Key Management Service (KMS) data key. * * @param request - DecryptKMSDataKeyRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DecryptKMSDataKeyResponse */ decryptKMSDataKeyWithOptions(request: $_model.DecryptKMSDataKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DecryptKMSDataKeyResponse>; /** * Decrypts the ciphertext specified by CiphertextBlob in the Key Management Service (KMS) data key. * * @param request - DecryptKMSDataKeyRequest * @returns DecryptKMSDataKeyResponse */ decryptKMSDataKey(request: $_model.DecryptKMSDataKeyRequest): Promise<$_model.DecryptKMSDataKeyResponse>; /** * Deletes dialog records of an AI agent. * * @param request - DeleteAIAgentDialogueRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteAIAgentDialogueResponse */ deleteAIAgentDialogueWithOptions(request: $_model.DeleteAIAgentDialogueRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAIAgentDialogueResponse>; /** * Deletes dialog records of an AI agent. * * @param request - DeleteAIAgentDialogueRequest * @returns DeleteAIAgentDialogueResponse */ deleteAIAgentDialogue(request: $_model.DeleteAIAgentDialogueRequest): Promise<$_model.DeleteAIAgentDialogueResponse>; /** * Deletes an ad insertion configuration. * * @param request - DeleteAdInsertionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteAdInsertionResponse */ deleteAdInsertionWithOptions(request: $_model.DeleteAdInsertionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAdInsertionResponse>; /** * Deletes an ad insertion configuration. * * @param request - DeleteAdInsertionRequest * @returns DeleteAdInsertionResponse */ deleteAdInsertion(request: $_model.DeleteAdInsertionRequest): Promise<$_model.DeleteAdInsertionResponse>; /** * Deletes a digital human training job that is in the Init or Fail state. * * @param request - DeleteAvatarTrainingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteAvatarTrainingJobResponse */ deleteAvatarTrainingJobWithOptions(request: $_model.DeleteAvatarTrainingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAvatarTrainingJobResponse>; /** * Deletes a digital human training job that is in the Init or Fail state. * * @param request - DeleteAvatarTrainingJobRequest * @returns DeleteAvatarTrainingJobResponse */ deleteAvatarTrainingJob(request: $_model.DeleteAvatarTrainingJobRequest): Promise<$_model.DeleteAvatarTrainingJobResponse>; /** * Deletes a media asset category. * * @remarks * This operation also deletes the subcategories, including the level-2 and level-3 categories, of the category. * * @param request - DeleteCategoryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCategoryResponse */ deleteCategoryWithOptions(request: $_model.DeleteCategoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCategoryResponse>; /** * Deletes a media asset category. * * @remarks * This operation also deletes the subcategories, including the level-2 and level-3 categories, of the category. * * @param request - DeleteCategoryRequest * @returns DeleteCategoryResponse */ deleteCategory(request: $_model.DeleteCategoryRequest): Promise<$_model.DeleteCategoryResponse>; /** * Deletes a channel. * * @param request - DeleteChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteChannelResponse */ deleteChannelWithOptions(request: $_model.DeleteChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteChannelResponse>; /** * Deletes a channel. * * @param request - DeleteChannelRequest * @returns DeleteChannelResponse */ deleteChannel(request: $_model.DeleteChannelRequest): Promise<$_model.DeleteChannelResponse>; /** * Deletes a custom template. * * @param request - DeleteCustomTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCustomTemplateResponse */ deleteCustomTemplateWithOptions(request: $_model.DeleteCustomTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomTemplateResponse>; /** * Deletes a custom template. * * @param request - DeleteCustomTemplateRequest * @returns DeleteCustomTemplateResponse */ deleteCustomTemplate(request: $_model.DeleteCustomTemplateRequest): Promise<$_model.DeleteCustomTemplateResponse>; /** * Deletes a human voice cloning job that is not in the Training or Success state. * * @param request - DeleteCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteCustomizedVoiceJobResponse */ deleteCustomizedVoiceJobWithOptions(request: $_model.DeleteCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomizedVoiceJobResponse>; /** * Deletes a human voice cloning job that is not in the Training or Success state. * * @param request - DeleteCustomizedVoiceJobRequest * @returns DeleteCustomizedVoiceJobResponse */ deleteCustomizedVoiceJob(request: $_model.DeleteCustomizedVoiceJobRequest): Promise<$_model.DeleteCustomizedVoiceJobResponse>; /** * Deletes a media fingerprint library. * * @param request - DeleteDNADBRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteDNADBResponse */ deleteDNADBWithOptions(request: $_model.DeleteDNADBRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDNADBResponse>; /** * Deletes a media fingerprint library. * * @param request - DeleteDNADBRequest * @returns DeleteDNADBResponse */ deleteDNADB(request: $_model.DeleteDNADBRequest): Promise<$_model.DeleteDNADBResponse>; /** * Deletes files from a media fingerprint library. * * @param request - DeleteDNAFilesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteDNAFilesResponse */ deleteDNAFilesWithOptions(request: $_model.DeleteDNAFilesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteDNAFilesResponse>; /** * Deletes files from a media fingerprint library. * * @param request - DeleteDNAFilesRequest * @returns DeleteDNAFilesResponse */ deleteDNAFiles(request: $_model.DeleteDNAFilesRequest): Promise<$_model.DeleteDNAFilesResponse>; /** * Deletes one or more materials from an online editing project. * * @param request - DeleteEditingProjectMaterialsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteEditingProjectMaterialsResponse */ deleteEditingProjectMaterialsWithOptions(request: $_model.DeleteEditingProjectMaterialsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteEditingProjectMaterialsResponse>; /** * Deletes one or more materials from an online editing project. * * @param request - DeleteEditingProjectMaterialsRequest * @returns DeleteEditingProjectMaterialsResponse */ deleteEditingProjectMaterials(request: $_model.DeleteEditingProjectMaterialsRequest): Promise<$_model.DeleteEditingProjectMaterialsResponse>; /** * Deletes one or more online editing project. * * @param request - DeleteEditingProjectsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteEditingProjectsResponse */ deleteEditingProjectsWithOptions(request: $_model.DeleteEditingProjectsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteEditingProjectsResponse>; /** * Deletes one or more online editing project. * * @param request - DeleteEditingProjectsRequest * @returns DeleteEditingProjectsResponse */ deleteEditingProjects(request: $_model.DeleteEditingProjectsRequest): Promise<$_model.DeleteEditingProjectsResponse>; /** * Deletes a specified hotword library based on the ID. * * @remarks * ## [](#) * - Delete a specified hotword library. * - The delete operation is irreversible. * - You can create up to 100 hotword libraries in an account. * * @param request - DeleteHotwordLibraryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteHotwordLibraryResponse */ deleteHotwordLibraryWithOptions(request: $_model.DeleteHotwordLibraryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteHotwordLibraryResponse>; /** * Deletes a specified hotword library based on the ID. * * @remarks * ## [](#) * - Delete a specified hotword library. * - The delete operation is irreversible. * - You can create up to 100 hotword libraries in an account. * * @param request - DeleteHotwordLibraryRequest * @returns DeleteHotwordLibraryResponse */ deleteHotwordLibrary(request: $_model.DeleteHotwordLibraryRequest): Promise<$_model.DeleteHotwordLibraryResponse>; /** * Deletes a live package channel by GroupName and ChannelName. * * @remarks * ## [](#)Usage notes * You need to provide GroupName and ChannelName as parameters to specify exactly which channel to delete. Before you delete a channel, you must delete the origin endpoints associated with the channel. * * @param request - DeleteLivePackageChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLivePackageChannelResponse */ deleteLivePackageChannelWithOptions(request: $_model.DeleteLivePackageChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLivePackageChannelResponse>; /** * Deletes a live package channel by GroupName and ChannelName. * * @remarks * ## [](#)Usage notes * You need to provide GroupName and ChannelName as parameters to specify exactly which channel to delete. Before you delete a channel, you must delete the origin endpoints associated with the channel. * * @param request - DeleteLivePackageChannelRequest * @returns DeleteLivePackageChannelResponse */ deleteLivePackageChannel(request: $_model.DeleteLivePackageChannelRequest): Promise<$_model.DeleteLivePackageChannelResponse>; /** * Deletes a live package channel group by name. * * @remarks * ## [](#)Usage notes * Make sure that no channels are included in the channel group before you delete it. * * @param request - DeleteLivePackageChannelGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLivePackageChannelGroupResponse */ deleteLivePackageChannelGroupWithOptions(request: $_model.DeleteLivePackageChannelGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLivePackageChannelGroupResponse>; /** * Deletes a live package channel group by name. * * @remarks * ## [](#)Usage notes * Make sure that no channels are included in the channel group before you delete it. * * @param request - DeleteLivePackageChannelGroupRequest * @returns DeleteLivePackageChannelGroupResponse */ deleteLivePackageChannelGroup(request: $_model.DeleteLivePackageChannelGroupRequest): Promise<$_model.DeleteLivePackageChannelGroupResponse>; /** * Deletes an origin endpoint associated with a live package channel. * * @remarks * ## [](#)Usage notes * This API operation is used to delete an origin endpoint associated with a live package channel by specifying `GroupName`, `ChannelName`, and `EndpointName`. This operation will permanently delete the relevant configurations. Exercise caution when you perform this operation. * * @param request - DeleteLivePackageOriginEndpointRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLivePackageOriginEndpointResponse */ deleteLivePackageOriginEndpointWithOptions(request: $_model.DeleteLivePackageOriginEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLivePackageOriginEndpointResponse>; /** * Deletes an origin endpoint associated with a live package channel. * * @remarks * ## [](#)Usage notes * This API operation is used to delete an origin endpoint associated with a live package channel by specifying `GroupName`, `ChannelName`, and `EndpointName`. This operation will permanently delete the relevant configurations. Exercise caution when you perform this operation. * * @param request - DeleteLivePackageOriginEndpointRequest * @returns DeleteLivePackageOriginEndpointResponse */ deleteLivePackageOriginEndpoint(request: $_model.DeleteLivePackageOriginEndpointRequest): Promise<$_model.DeleteLivePackageOriginEndpointResponse>; /** * Deletes live stream recording files. You can choose to delete only the recording files or delete both the recording files and the original Object Storage Service (OSS) files. * * @param request - DeleteLiveRecordFilesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLiveRecordFilesResponse */ deleteLiveRecordFilesWithOptions(request: $_model.DeleteLiveRecordFilesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLiveRecordFilesResponse>; /** * Deletes live stream recording files. You can choose to delete only the recording files or delete both the recording files and the original Object Storage Service (OSS) files. * * @param request - DeleteLiveRecordFilesRequest * @returns DeleteLiveRecordFilesResponse */ deleteLiveRecordFiles(request: $_model.DeleteLiveRecordFilesRequest): Promise<$_model.DeleteLiveRecordFilesResponse>; /** * Deletes a live stream recording template without affecting existing jobs. * * @param request - DeleteLiveRecordTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLiveRecordTemplateResponse */ deleteLiveRecordTemplateWithOptions(request: $_model.DeleteLiveRecordTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLiveRecordTemplateResponse>; /** * Deletes a live stream recording template without affecting existing jobs. * * @param request - DeleteLiveRecordTemplateRequest * @returns DeleteLiveRecordTemplateResponse */ deleteLiveRecordTemplate(request: $_model.DeleteLiveRecordTemplateRequest): Promise<$_model.DeleteLiveRecordTemplateResponse>; /** * Deletes live snapshot files. You can delete only the records, or both the records and the original Object Storage Service (OSS) files. * * @param tmpReq - DeleteLiveSnapshotFilesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLiveSnapshotFilesResponse */ deleteLiveSnapshotFilesWithOptions(tmpReq: $_model.DeleteLiveSnapshotFilesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLiveSnapshotFilesResponse>; /** * Deletes live snapshot files. You can delete only the records, or both the records and the original Object Storage Service (OSS) files. * * @param request - DeleteLiveSnapshotFilesRequest * @returns DeleteLiveSnapshotFilesResponse */ deleteLiveSnapshotFiles(request: $_model.DeleteLiveSnapshotFilesRequest): Promise<$_model.DeleteLiveSnapshotFilesResponse>; /** * Deletes a live stream snapshot template. * * @param request - DeleteLiveSnapshotTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLiveSnapshotTemplateResponse */ deleteLiveSnapshotTemplateWithOptions(request: $_model.DeleteLiveSnapshotTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLiveSnapshotTemplateResponse>; /** * Deletes a live stream snapshot template. * * @param request - DeleteLiveSnapshotTemplateRequest * @returns DeleteLiveSnapshotTemplateResponse */ deleteLiveSnapshotTemplate(request: $_model.DeleteLiveSnapshotTemplateRequest): Promise<$_model.DeleteLiveSnapshotTemplateResponse>; /** * Delete the specified real-time transcoding job. * * @param request - DeleteLiveTranscodeJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLiveTranscodeJobResponse */ deleteLiveTranscodeJobWithOptions(request: $_model.DeleteLiveTranscodeJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLiveTranscodeJobResponse>; /** * Delete the specified real-time transcoding job. * * @param request - DeleteLiveTranscodeJobRequest * @returns DeleteLiveTranscodeJobResponse */ deleteLiveTranscodeJob(request: $_model.DeleteLiveTranscodeJobRequest): Promise<$_model.DeleteLiveTranscodeJobResponse>; /** * Deletes a live stream transcoding template. * * @param request - DeleteLiveTranscodeTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteLiveTranscodeTemplateResponse */ deleteLiveTranscodeTemplateWithOptions(request: $_model.DeleteLiveTranscodeTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLiveTranscodeTemplateResponse>; /** * Deletes a live stream transcoding template. * * @param request - DeleteLiveTranscodeTemplateRequest * @returns DeleteLiveTranscodeTemplateResponse */ deleteLiveTranscodeTemplate(request: $_model.DeleteLiveTranscodeTemplateRequest): Promise<$_model.DeleteLiveTranscodeTemplateResponse>; /** * Deletes a MediaConnect flow. * * @remarks * - When the specified flow ID is not available, an error code is returned. * - When a flow is deleted, its source and outputs are also deleted. * - When a flow is in the online state, it cannot be deleted. * * @param request - DeleteMediaConnectFlowRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaConnectFlowResponse */ deleteMediaConnectFlowWithOptions(request: $_model.DeleteMediaConnectFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaConnectFlowResponse>; /** * Deletes a MediaConnect flow. * * @remarks * - When the specified flow ID is not available, an error code is returned. * - When a flow is deleted, its source and outputs are also deleted. * - When a flow is in the online state, it cannot be deleted. * * @param request - DeleteMediaConnectFlowRequest * @returns DeleteMediaConnectFlowResponse */ deleteMediaConnectFlow(request: $_model.DeleteMediaConnectFlowRequest): Promise<$_model.DeleteMediaConnectFlowResponse>; /** * Delete the input of a specific MediaConnect instance * * @remarks * - If the provided Flow instance ID does not exist, the interface will return an error. * - When the Flow instance status is online, the input cannot be deleted. * - Only after all outputs under the Flow instance have been deleted can the input be deleted. * * @param request - DeleteMediaConnectFlowInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaConnectFlowInputResponse */ deleteMediaConnectFlowInputWithOptions(request: $_model.DeleteMediaConnectFlowInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaConnectFlowInputResponse>; /** * Delete the input of a specific MediaConnect instance * * @remarks * - If the provided Flow instance ID does not exist, the interface will return an error. * - When the Flow instance status is online, the input cannot be deleted. * - Only after all outputs under the Flow instance have been deleted can the input be deleted. * * @param request - DeleteMediaConnectFlowInputRequest * @returns DeleteMediaConnectFlowInputResponse */ deleteMediaConnectFlowInput(request: $_model.DeleteMediaConnectFlowInputRequest): Promise<$_model.DeleteMediaConnectFlowInputResponse>; /** * Deletes an output of a MediaConnect flow. * * @remarks * - When the specified flow ID is not available, an error code is returned. * - When a flow is in the online state, its outputs cannot be deleted. * * @param request - DeleteMediaConnectFlowOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaConnectFlowOutputResponse */ deleteMediaConnectFlowOutputWithOptions(request: $_model.DeleteMediaConnectFlowOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaConnectFlowOutputResponse>; /** * Deletes an output of a MediaConnect flow. * * @remarks * - When the specified flow ID is not available, an error code is returned. * - When a flow is in the online state, its outputs cannot be deleted. * * @param request - DeleteMediaConnectFlowOutputRequest * @returns DeleteMediaConnectFlowOutputResponse */ deleteMediaConnectFlowOutput(request: $_model.DeleteMediaConnectFlowOutputRequest): Promise<$_model.DeleteMediaConnectFlowOutputResponse>; /** * Delete the specified media asset from the search library. * * @param request - DeleteMediaFromSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaFromSearchLibResponse */ deleteMediaFromSearchLibWithOptions(request: $_model.DeleteMediaFromSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaFromSearchLibResponse>; /** * Delete the specified media asset from the search library. * * @param request - DeleteMediaFromSearchLibRequest * @returns DeleteMediaFromSearchLibResponse */ deleteMediaFromSearchLib(request: $_model.DeleteMediaFromSearchLibRequest): Promise<$_model.DeleteMediaFromSearchLibResponse>; /** * Deletes multiple media assets at a time. You can delete at most 20 media assets at a time. If MediaIds is specified, it is preferentially used. If MediaIds is empty, InputURLs must be specified. * * @param request - DeleteMediaInfosRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaInfosResponse */ deleteMediaInfosWithOptions(request: $_model.DeleteMediaInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaInfosResponse>; /** * Deletes multiple media assets at a time. You can delete at most 20 media assets at a time. If MediaIds is specified, it is preferentially used. If MediaIds is empty, InputURLs must be specified. * * @param request - DeleteMediaInfosRequest * @returns DeleteMediaInfosResponse */ deleteMediaInfos(request: $_model.DeleteMediaInfosRequest): Promise<$_model.DeleteMediaInfosResponse>; /** * Deletes a MediaLive channel. * * @remarks * - You can only delete a channel that is not running. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - DeleteMediaLiveChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaLiveChannelResponse */ deleteMediaLiveChannelWithOptions(request: $_model.DeleteMediaLiveChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaLiveChannelResponse>; /** * Deletes a MediaLive channel. * * @remarks * - You can only delete a channel that is not running. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - DeleteMediaLiveChannelRequest * @returns DeleteMediaLiveChannelResponse */ deleteMediaLiveChannel(request: $_model.DeleteMediaLiveChannelRequest): Promise<$_model.DeleteMediaLiveChannelResponse>; /** * Deletes a MediaLive input. * * @remarks * - You can delete an input only when it is not associated with a MediaLive channel. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - DeleteMediaLiveInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaLiveInputResponse */ deleteMediaLiveInputWithOptions(request: $_model.DeleteMediaLiveInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaLiveInputResponse>; /** * Deletes a MediaLive input. * * @remarks * - You can delete an input only when it is not associated with a MediaLive channel. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - DeleteMediaLiveInputRequest * @returns DeleteMediaLiveInputResponse */ deleteMediaLiveInput(request: $_model.DeleteMediaLiveInputRequest): Promise<$_model.DeleteMediaLiveInputResponse>; /** * Deletes a security group in MediaLive. * * @remarks * - You can only delete a security group not associated with an input. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - DeleteMediaLiveInputSecurityGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaLiveInputSecurityGroupResponse */ deleteMediaLiveInputSecurityGroupWithOptions(request: $_model.DeleteMediaLiveInputSecurityGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaLiveInputSecurityGroupResponse>; /** * Deletes a security group in MediaLive. * * @remarks * - You can only delete a security group not associated with an input. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - DeleteMediaLiveInputSecurityGroupRequest * @returns DeleteMediaLiveInputSecurityGroupResponse */ deleteMediaLiveInputSecurityGroup(request: $_model.DeleteMediaLiveInputSecurityGroupRequest): Promise<$_model.DeleteMediaLiveInputSecurityGroupResponse>; /** * Deletes the marks of a media asset. * * @param request - DeleteMediaMarksRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteMediaMarksResponse */ deleteMediaMarksWithOptions(request: $_model.DeleteMediaMarksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMediaMarksResponse>; /** * Deletes the marks of a media asset. * * @param request - DeleteMediaMarksRequest * @returns DeleteMediaMarksResponse */ deleteMediaMarks(request: $_model.DeleteMediaMarksRequest): Promise<$_model.DeleteMediaMarksResponse>; /** * Deletes an ApsaraVideo Media Processing (MPS) queue. * * @param request - DeletePipelineRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeletePipelineResponse */ deletePipelineWithOptions(request: $_model.DeletePipelineRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePipelineResponse>; /** * Deletes an ApsaraVideo Media Processing (MPS) queue. * * @param request - DeletePipelineRequest * @returns DeletePipelineResponse */ deletePipeline(request: $_model.DeletePipelineRequest): Promise<$_model.DeletePipelineResponse>; /** * Deletes media streams such as video streams and audio streams. * * @remarks * Delete multiple media streams at a time. * * @param request - DeletePlayInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeletePlayInfoResponse */ deletePlayInfoWithOptions(request: $_model.DeletePlayInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePlayInfoResponse>; /** * Deletes media streams such as video streams and audio streams. * * @remarks * Delete multiple media streams at a time. * * @param request - DeletePlayInfoRequest * @returns DeletePlayInfoResponse */ deletePlayInfo(request: $_model.DeletePlayInfoRequest): Promise<$_model.DeletePlayInfoResponse>; /** * Deletes a program from a channel. * * @param request - DeleteProgramRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteProgramResponse */ deleteProgramWithOptions(request: $_model.DeleteProgramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteProgramResponse>; /** * Deletes a program from a channel. * * @param request - DeleteProgramRequest * @returns DeleteProgramResponse */ deleteProgram(request: $_model.DeleteProgramRequest): Promise<$_model.DeleteProgramResponse>; /** * Deletes an entity from the specified custom recognition library. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - DeleteRecognitionEntityRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteRecognitionEntityResponse */ deleteRecognitionEntityWithOptions(request: $_model.DeleteRecognitionEntityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRecognitionEntityResponse>; /** * Deletes an entity from the specified custom recognition library. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - DeleteRecognitionEntityRequest * @returns DeleteRecognitionEntityResponse */ deleteRecognitionEntity(request: $_model.DeleteRecognitionEntityRequest): Promise<$_model.DeleteRecognitionEntityResponse>; /** * Deletes a custom recognition library, including all entities and samples within it. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - DeleteRecognitionLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteRecognitionLibResponse */ deleteRecognitionLibWithOptions(request: $_model.DeleteRecognitionLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRecognitionLibResponse>; /** * Deletes a custom recognition library, including all entities and samples within it. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - DeleteRecognitionLibRequest * @returns DeleteRecognitionLibResponse */ deleteRecognitionLib(request: $_model.DeleteRecognitionLibRequest): Promise<$_model.DeleteRecognitionLibResponse>; /** * Deletes a sample for a custom entity. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - DeleteRecognitionSampleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteRecognitionSampleResponse */ deleteRecognitionSampleWithOptions(request: $_model.DeleteRecognitionSampleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteRecognitionSampleResponse>; /** * Deletes a sample for a custom entity. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Callable up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - DeleteRecognitionSampleRequest * @returns DeleteRecognitionSampleResponse */ deleteRecognitionSample(request: $_model.DeleteRecognitionSampleRequest): Promise<$_model.DeleteRecognitionSampleResponse>; /** * Deletes intelligent jobs based on job IDs. * * @param request - DeleteSmartJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteSmartJobResponse */ deleteSmartJobWithOptions(request: $_model.DeleteSmartJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSmartJobResponse>; /** * Deletes intelligent jobs based on job IDs. * * @param request - DeleteSmartJobRequest * @returns DeleteSmartJobResponse */ deleteSmartJob(request: $_model.DeleteSmartJobRequest): Promise<$_model.DeleteSmartJobResponse>; /** * Deletes a source from MediaWeaver. * * @param request - DeleteSourceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteSourceResponse */ deleteSourceWithOptions(request: $_model.DeleteSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSourceResponse>; /** * Deletes a source from MediaWeaver. * * @param request - DeleteSourceRequest * @returns DeleteSourceResponse */ deleteSource(request: $_model.DeleteSourceRequest): Promise<$_model.DeleteSourceResponse>; /** * Deletes a source location. * * @param request - DeleteSourceLocationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteSourceLocationResponse */ deleteSourceLocationWithOptions(request: $_model.DeleteSourceLocationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSourceLocationResponse>; /** * Deletes a source location. * * @param request - DeleteSourceLocationRequest * @returns DeleteSourceLocationResponse */ deleteSourceLocation(request: $_model.DeleteSourceLocationRequest): Promise<$_model.DeleteSourceLocationResponse>; /** * Deletes templates. * * @remarks * A template is an encapsulation of the timeline of a media editing and production job. You can define a common timeline as a template. When you have the same requirements, you need to only specify key parameters and materials to produce videos. * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - DeleteTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteTemplateResponse */ deleteTemplateWithOptions(request: $_model.DeleteTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteTemplateResponse>; /** * Deletes templates. * * @remarks * A template is an encapsulation of the timeline of a media editing and production job. You can define a common timeline as a template. When you have the same requirements, you need to only specify key parameters and materials to produce videos. * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - DeleteTemplateRequest * @returns DeleteTemplateResponse */ deleteTemplate(request: $_model.DeleteTemplateRequest): Promise<$_model.DeleteTemplateResponse>; /** * Deletes a VOD packaging asset. * * @param request - DeleteVodPackagingAssetRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteVodPackagingAssetResponse */ deleteVodPackagingAssetWithOptions(request: $_model.DeleteVodPackagingAssetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteVodPackagingAssetResponse>; /** * Deletes a VOD packaging asset. * * @param request - DeleteVodPackagingAssetRequest * @returns DeleteVodPackagingAssetResponse */ deleteVodPackagingAsset(request: $_model.DeleteVodPackagingAssetRequest): Promise<$_model.DeleteVodPackagingAssetResponse>; /** * Deletes a VOD packaging configuration. * * @param request - DeleteVodPackagingConfigurationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteVodPackagingConfigurationResponse */ deleteVodPackagingConfigurationWithOptions(request: $_model.DeleteVodPackagingConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteVodPackagingConfigurationResponse>; /** * Deletes a VOD packaging configuration. * * @param request - DeleteVodPackagingConfigurationRequest * @returns DeleteVodPackagingConfigurationResponse */ deleteVodPackagingConfiguration(request: $_model.DeleteVodPackagingConfigurationRequest): Promise<$_model.DeleteVodPackagingConfigurationResponse>; /** * Deletes a VOD packaging group. * * @param request - DeleteVodPackagingGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteVodPackagingGroupResponse */ deleteVodPackagingGroupWithOptions(request: $_model.DeleteVodPackagingGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteVodPackagingGroupResponse>; /** * Deletes a VOD packaging group. * * @param request - DeleteVodPackagingGroupRequest * @returns DeleteVodPackagingGroupResponse */ deleteVodPackagingGroup(request: $_model.DeleteVodPackagingGroupRequest): Promise<$_model.DeleteVodPackagingGroupResponse>; /** * Deletes one or more media assets. * * @param request - DeleteYikeAssetMediaInfosRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DeleteYikeAssetMediaInfosResponse */ deleteYikeAssetMediaInfosWithOptions(request: $_model.DeleteYikeAssetMediaInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteYikeAssetMediaInfosResponse>; /** * Deletes one or more media assets. * * @param request - DeleteYikeAssetMediaInfosRequest * @returns DeleteYikeAssetMediaInfosResponse */ deleteYikeAssetMediaInfos(request: $_model.DeleteYikeAssetMediaInfosRequest): Promise<$_model.DeleteYikeAssetMediaInfosResponse>; /** * Retrieves information about a specified AI agent instance. * * @remarks * - **Description**: Retrieves detailed information for a specific AI agent instance. * - **Use cases**: Use this operation to monitor or analyze the performance of an AI agent during a call, or to debug its configuration. * * @param request - DescribeAIAgentInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeAIAgentInstanceResponse */ describeAIAgentInstanceWithOptions(request: $_model.DescribeAIAgentInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAIAgentInstanceResponse>; /** * Retrieves information about a specified AI agent instance. * * @remarks * - **Description**: Retrieves detailed information for a specific AI agent instance. * - **Use cases**: Use this operation to monitor or analyze the performance of an AI agent during a call, or to debug its configuration. * * @param request - DescribeAIAgentInstanceRequest * @returns DescribeAIAgentInstanceResponse */ describeAIAgentInstance(request: $_model.DescribeAIAgentInstanceRequest): Promise<$_model.DescribeAIAgentInstanceResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on video-on-demand (VOD) editing. The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsEditUsageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMeterImsEditUsageResponse */ describeMeterImsEditUsageWithOptions(request: $_model.DescribeMeterImsEditUsageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMeterImsEditUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on video-on-demand (VOD) editing. The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsEditUsageRequest * @returns DescribeMeterImsEditUsageResponse */ describeMeterImsEditUsage(request: $_model.DescribeMeterImsEditUsageRequest): Promise<$_model.DescribeMeterImsEditUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on ultra high definition (UHD) transcoding of ApsaraVideo Media Processing (MPS). The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsMediaConvertUHDUsageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMeterImsMediaConvertUHDUsageResponse */ describeMeterImsMediaConvertUHDUsageWithOptions(request: $_model.DescribeMeterImsMediaConvertUHDUsageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMeterImsMediaConvertUHDUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on ultra high definition (UHD) transcoding of ApsaraVideo Media Processing (MPS). The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsMediaConvertUHDUsageRequest * @returns DescribeMeterImsMediaConvertUHDUsageResponse */ describeMeterImsMediaConvertUHDUsage(request: $_model.DescribeMeterImsMediaConvertUHDUsageRequest): Promise<$_model.DescribeMeterImsMediaConvertUHDUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on video-on-demand (VOD) transcoding. The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsMediaConvertUsageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMeterImsMediaConvertUsageResponse */ describeMeterImsMediaConvertUsageWithOptions(request: $_model.DescribeMeterImsMediaConvertUsageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMeterImsMediaConvertUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on video-on-demand (VOD) transcoding. The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsMediaConvertUsageRequest * @returns DescribeMeterImsMediaConvertUsageResponse */ describeMeterImsMediaConvertUsage(request: $_model.DescribeMeterImsMediaConvertUsageRequest): Promise<$_model.DescribeMeterImsMediaConvertUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on AI processing of ApsaraVideo Media Processing (MPS). The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsMpsAiUsageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMeterImsMpsAiUsageResponse */ describeMeterImsMpsAiUsageWithOptions(request: $_model.DescribeMeterImsMpsAiUsageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMeterImsMpsAiUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS) on AI processing of ApsaraVideo Media Processing (MPS). The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsMpsAiUsageRequest * @returns DescribeMeterImsMpsAiUsageResponse */ describeMeterImsMpsAiUsage(request: $_model.DescribeMeterImsMpsAiUsageRequest): Promise<$_model.DescribeMeterImsMpsAiUsageResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS). The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsSummaryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeMeterImsSummaryResponse */ describeMeterImsSummaryWithOptions(request: $_model.DescribeMeterImsSummaryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMeterImsSummaryResponse>; /** * Queries the usage statistics of Intelligent Media Services (IMS). The maximum query range is 31 days. You can query data within the last 90 days. * * @param request - DescribeMeterImsSummaryRequest * @returns DescribeMeterImsSummaryResponse */ describeMeterImsSummary(request: $_model.DescribeMeterImsSummaryRequest): Promise<$_model.DescribeMeterImsSummaryResponse>; /** * Retrieves the event callback configuration for a specified AIAgent. * * @remarks * Retrieves the event callback configuration for a specified AIAgent. * * @param request - DescribeNotifyConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeNotifyConfigResponse */ describeNotifyConfigWithOptions(request: $_model.DescribeNotifyConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeNotifyConfigResponse>; /** * Retrieves the event callback configuration for a specified AIAgent. * * @remarks * Retrieves the event callback configuration for a specified AIAgent. * * @param request - DescribeNotifyConfigRequest * @returns DescribeNotifyConfigResponse */ describeNotifyConfig(request: $_model.DescribeNotifyConfigRequest): Promise<$_model.DescribeNotifyConfigResponse>; /** * Retrieves playback records based on the player\\"s TraceId. This API supports pagination. * * @param request - DescribePlayListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribePlayListResponse */ describePlayListWithOptions(request: $_model.DescribePlayListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePlayListResponse>; /** * Retrieves playback records based on the player\\"s TraceId. This API supports pagination. * * @param request - DescribePlayListRequest * @returns DescribePlayListResponse */ describePlayList(request: $_model.DescribePlayListRequest): Promise<$_model.DescribePlayListResponse>; /** * Retrieves information about an RTC Robot Instance. * * @param request - DescribeRtcRobotInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DescribeRtcRobotInstanceResponse */ describeRtcRobotInstanceWithOptions(request: $_model.DescribeRtcRobotInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRtcRobotInstanceResponse>; /** * Retrieves information about an RTC Robot Instance. * * @param request - DescribeRtcRobotInstanceRequest * @returns DescribeRtcRobotInstanceResponse */ describeRtcRobotInstance(request: $_model.DescribeRtcRobotInstanceRequest): Promise<$_model.DescribeRtcRobotInstanceResponse>; /** * Checks whether the reading of users has issues, such as noticeable pronunciation errors or background noise. After the audio is checked on the cloud, the qualified audio is temporarily stored on the cloud for subsequent training. Do not skip this step. * * @param request - DetectAudioForCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DetectAudioForCustomizedVoiceJobResponse */ detectAudioForCustomizedVoiceJobWithOptions(request: $_model.DetectAudioForCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DetectAudioForCustomizedVoiceJobResponse>; /** * Checks whether the reading of users has issues, such as noticeable pronunciation errors or background noise. After the audio is checked on the cloud, the qualified audio is temporarily stored on the cloud for subsequent training. Do not skip this step. * * @param request - DetectAudioForCustomizedVoiceJobRequest * @returns DetectAudioForCustomizedVoiceJobResponse */ detectAudioForCustomizedVoiceJob(request: $_model.DetectAudioForCustomizedVoiceJobRequest): Promise<$_model.DetectAudioForCustomizedVoiceJobResponse>; /** * Deletes a search index. After you delete a search index, the existing index data is cleared and index-based analysis, storage, and query are not supported for subsequent media assets. * * @param request - DropSearchIndexRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DropSearchIndexResponse */ dropSearchIndexWithOptions(request: $_model.DropSearchIndexRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DropSearchIndexResponse>; /** * Deletes a search index. After you delete a search index, the existing index data is cleared and index-based analysis, storage, and query are not supported for subsequent media assets. * * @param request - DropSearchIndexRequest * @returns DropSearchIndexResponse */ dropSearchIndex(request: $_model.DropSearchIndexRequest): Promise<$_model.DropSearchIndexResponse>; /** * Deletes a search library and all media assets in the library. * * @param request - DropSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns DropSearchLibResponse */ dropSearchLibWithOptions(request: $_model.DropSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DropSearchLibResponse>; /** * Deletes a search library and all media assets in the library. * * @param request - DropSearchLibRequest * @returns DropSearchLibResponse */ dropSearchLib(request: $_model.DropSearchLibRequest): Promise<$_model.DropSearchLibResponse>; /** * Disables an output of a MediaConnect flow. When disabled, the output retains its configuration, but no live stream is delivered to the destination. * * @param request - ForbidMediaConnectFlowOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ForbidMediaConnectFlowOutputResponse */ forbidMediaConnectFlowOutputWithOptions(request: $_model.ForbidMediaConnectFlowOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ForbidMediaConnectFlowOutputResponse>; /** * Disables an output of a MediaConnect flow. When disabled, the output retains its configuration, but no live stream is delivered to the destination. * * @param request - ForbidMediaConnectFlowOutputRequest * @returns ForbidMediaConnectFlowOutputResponse */ forbidMediaConnectFlowOutput(request: $_model.ForbidMediaConnectFlowOutputRequest): Promise<$_model.ForbidMediaConnectFlowOutputResponse>; /** * Transfer the call to the target phone number. * * @param request - ForwardAIAgentCallRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ForwardAIAgentCallResponse */ forwardAIAgentCallWithOptions(request: $_model.ForwardAIAgentCallRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ForwardAIAgentCallResponse>; /** * Transfer the call to the target phone number. * * @param request - ForwardAIAgentCallRequest * @returns ForwardAIAgentCallResponse */ forwardAIAgentCall(request: $_model.ForwardAIAgentCallRequest): Promise<$_model.ForwardAIAgentCallResponse>; /** * Creates an agent instance and returns the channel, username, and token to join the channel. * * @remarks * This API creates an agent instance using the specified AI agent ID (AIAgentId). You can use the information in the response to join the corresponding channel and start a session with the agent. * >Notice: * Ensure that the specified AI agent ID is valid and configure optional parameters as needed. * * @param tmpReq - GenerateAIAgentCallRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GenerateAIAgentCallResponse */ generateAIAgentCallWithOptions(tmpReq: $_model.GenerateAIAgentCallRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateAIAgentCallResponse>; /** * Creates an agent instance and returns the channel, username, and token to join the channel. * * @remarks * This API creates an agent instance using the specified AI agent ID (AIAgentId). You can use the information in the response to join the corresponding channel and start a session with the agent. * >Notice: * Ensure that the specified AI agent ID is valid and configure optional parameters as needed. * * @param request - GenerateAIAgentCallRequest * @returns GenerateAIAgentCallResponse */ generateAIAgentCall(request: $_model.GenerateAIAgentCallRequest): Promise<$_model.GenerateAIAgentCallResponse>; /** * Generates a random Key Management Service (KMS) data key used for HTTP Live Streaming (HLS) encryption and transcoding of videos. * * @remarks * ## Prerequisites * You must [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c63.p38356.0.0.583760760aj80E) to create a custom KMS key before you can call this operation. * * @param runtime - runtime options for this request RuntimeOptions * @returns GenerateKMSDataKeyResponse */ generateKMSDataKeyWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GenerateKMSDataKeyResponse>; /** * Generates a random Key Management Service (KMS) data key used for HTTP Live Streaming (HLS) encryption and transcoding of videos. * * @remarks * ## Prerequisites * You must [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c63.p38356.0.0.583760760aj80E) to create a custom KMS key before you can call this operation. * @returns GenerateKMSDataKeyResponse */ generateKMSDataKey(): Promise<$_model.GenerateKMSDataKeyResponse>; /** * Generates the token required for interactive messaging. * * @param request - GenerateMessageChatTokenRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GenerateMessageChatTokenResponse */ generateMessageChatTokenWithOptions(request: $_model.GenerateMessageChatTokenRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateMessageChatTokenResponse>; /** * Generates the token required for interactive messaging. * * @param request - GenerateMessageChatTokenRequest * @returns GenerateMessageChatTokenResponse */ generateMessageChatToken(request: $_model.GenerateMessageChatTokenRequest): Promise<$_model.GenerateMessageChatTokenResponse>; /** * Retrieves the current number of active concurrent calls for a specified AI agent. This is a lightweight query operation that returns only the number of currently active instances. It does not return instance details or historical peak values. * * @param request - GetAIAgentConcurrencyRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAIAgentConcurrencyResponse */ getAIAgentConcurrencyWithOptions(request: $_model.GetAIAgentConcurrencyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAIAgentConcurrencyResponse>; /** * Retrieves the current number of active concurrent calls for a specified AI agent. This is a lightweight query operation that returns only the number of currently active instances. It does not return instance details or historical peak values. * * @param request - GetAIAgentConcurrencyRequest * @returns GetAIAgentConcurrencyResponse */ getAIAgentConcurrency(request: $_model.GetAIAgentConcurrencyRequest): Promise<$_model.GetAIAgentConcurrencyResponse>; /** * Retrieves the details of a workflow task. * * @param request - GetAIWorkflowTaskRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAIWorkflowTaskResponse */ getAIWorkflowTaskWithOptions(request: $_model.GetAIWorkflowTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAIWorkflowTaskResponse>; /** * Retrieves the details of a workflow task. * * @param request - GetAIWorkflowTaskRequest * @returns GetAIWorkflowTaskResponse */ getAIWorkflowTask(request: $_model.GetAIWorkflowTaskRequest): Promise<$_model.GetAIWorkflowTaskResponse>; /** * Obtains details of an ad insertion configuration. * * @param request - GetAdInsertionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAdInsertionResponse */ getAdInsertionWithOptions(request: $_model.GetAdInsertionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAdInsertionResponse>; /** * Obtains details of an ad insertion configuration. * * @param request - GetAdInsertionRequest * @returns GetAdInsertionResponse */ getAdInsertion(request: $_model.GetAdInsertionRequest): Promise<$_model.GetAdInsertionResponse>; /** * Retrieves a list of Real-time Conversational AI authentication codes and their status for a specified batch. * * @remarks * ## [](#)Usage notes * - This API retrieves a list of authorization codes for a specific batch ID. You can filter the results by status and type. * - Pagination is supported via the `PageNo` and `PageSize` parameters. * - By default, the `NeedTotalCount` parameter is set to `true`, indicating that the response includes the total count of matching records. * - `LicenseItemId` is a required parameter that specifies the batch to query. * * @param request - GetAiRtcAuthCodeListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAiRtcAuthCodeListResponse */ getAiRtcAuthCodeListWithOptions(request: $_model.GetAiRtcAuthCodeListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAiRtcAuthCodeListResponse>; /** * Retrieves a list of Real-time Conversational AI authentication codes and their status for a specified batch. * * @remarks * ## [](#)Usage notes * - This API retrieves a list of authorization codes for a specific batch ID. You can filter the results by status and type. * - Pagination is supported via the `PageNo` and `PageSize` parameters. * - By default, the `NeedTotalCount` parameter is set to `true`, indicating that the response includes the total count of matching records. * - `LicenseItemId` is a required parameter that specifies the batch to query. * * @param request - GetAiRtcAuthCodeListRequest * @returns GetAiRtcAuthCodeListResponse */ getAiRtcAuthCodeList(request: $_model.GetAiRtcAuthCodeListRequest): Promise<$_model.GetAiRtcAuthCodeListResponse>; /** * Retrieves details for AI Real-Time Communication license batches that match specified filter criteria. * * @remarks * ## Description * - Retrieve AI Real-Time Communication license batches based on filter criteria such as License Item ID, Status, and Type. * - The `NeedTotalCount` parameter defaults to `true`. When set to true, the response includes the total count of matching entries. To exclude the total count, set this parameter to `false`. * - If you do not specify any filter criteria, the operation returns the details for all license batches by default. * * @param request - GetAiRtcLicenseInfoListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAiRtcLicenseInfoListResponse */ getAiRtcLicenseInfoListWithOptions(request: $_model.GetAiRtcLicenseInfoListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAiRtcLicenseInfoListResponse>; /** * Retrieves details for AI Real-Time Communication license batches that match specified filter criteria. * * @remarks * ## Description * - Retrieve AI Real-Time Communication license batches based on filter criteria such as License Item ID, Status, and Type. * - The `NeedTotalCount` parameter defaults to `true`. When set to true, the response includes the total count of matching entries. To exclude the total count, set this parameter to `false`. * - If you do not specify any filter criteria, the operation returns the details for all license batches by default. * * @param request - GetAiRtcLicenseInfoListRequest * @returns GetAiRtcLicenseInfoListResponse */ getAiRtcLicenseInfoList(request: $_model.GetAiRtcLicenseInfoListRequest): Promise<$_model.GetAiRtcLicenseInfoListResponse>; /** * Queries the information about a trained digital human. * * @param request - GetAvatarRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAvatarResponse */ getAvatarWithOptions(request: $_model.GetAvatarRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAvatarResponse>; /** * Queries the information about a trained digital human. * * @param request - GetAvatarRequest * @returns GetAvatarResponse */ getAvatar(request: $_model.GetAvatarRequest): Promise<$_model.GetAvatarResponse>; /** * Queries the information about a digital human training job. * * @param request - GetAvatarTrainingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetAvatarTrainingJobResponse */ getAvatarTrainingJobWithOptions(request: $_model.GetAvatarTrainingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAvatarTrainingJobResponse>; /** * Queries the information about a digital human training job. * * @param request - GetAvatarTrainingJobRequest * @returns GetAvatarTrainingJobResponse */ getAvatarTrainingJob(request: $_model.GetAvatarTrainingJobRequest): Promise<$_model.GetAvatarTrainingJobResponse>; /** * Obtain detailed information about batch Intelligent One-Click Video Editing jobs, including the input parameters, job status, and the IDs and URLs of the generated media assets. This API supports querying job data from the past year only. * * @param request - GetBatchMediaProducingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetBatchMediaProducingJobResponse */ getBatchMediaProducingJobWithOptions(request: $_model.GetBatchMediaProducingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetBatchMediaProducingJobResponse>; /** * Obtain detailed information about batch Intelligent One-Click Video Editing jobs, including the input parameters, job status, and the IDs and URLs of the generated media assets. This API supports querying job data from the past year only. * * @param request - GetBatchMediaProducingJobRequest * @returns GetBatchMediaProducingJobResponse */ getBatchMediaProducingJob(request: $_model.GetBatchMediaProducingJobRequest): Promise<$_model.GetBatchMediaProducingJobResponse>; /** * Queries the information about a category and its subcategories. * * @remarks * Query the information about a category and its subcategories based on the category ID and category type. * * @param request - GetCategoriesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetCategoriesResponse */ getCategoriesWithOptions(request: $_model.GetCategoriesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCategoriesResponse>; /** * Queries the information about a category and its subcategories. * * @remarks * Query the information about a category and its subcategories based on the category ID and category type. * * @param request - GetCategoriesRequest * @returns GetCategoriesResponse */ getCategories(request: $_model.GetCategoriesRequest): Promise<$_model.GetCategoriesResponse>; /** * Gets information about a channel in MediaWeaver. * * @param request - GetChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetChannelResponse */ getChannelWithOptions(request: $_model.GetChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetChannelResponse>; /** * Gets information about a channel in MediaWeaver. * * @param request - GetChannelRequest * @returns GetChannelResponse */ getChannel(request: $_model.GetChannelRequest): Promise<$_model.GetChannelResponse>; /** * Retrieves the configuration for Intelligent Content Analysis. * * @param runtime - runtime options for this request RuntimeOptions * @returns GetContentAnalyzeConfigResponse */ getContentAnalyzeConfigWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetContentAnalyzeConfigResponse>; /** * Retrieves the configuration for Intelligent Content Analysis. * @returns GetContentAnalyzeConfigResponse */ getContentAnalyzeConfig(): Promise<$_model.GetContentAnalyzeConfigResponse>; /** * Gets details of a custom media processing template. * * @remarks * This operation gets the details of a custom template by its ID or the details of a default template. If you provide a `TemplateId`, the operation ignores other parameters and returns the details for that template. If you omit `TemplateId`, you must specify the `Type` parameter to get the corresponding default template. * Template type (`Type`): * 1. 1: transcoding template * 2. 2: snapshot template * 3. 3: Animated GIF template * 4. 4: Image watermark template * 5. 5: Text watermark template * 6. 6: Subtitle template * 7. 7: AI content moderation template * 8. 8: AI smart cover template * 9. 9: AI smart erase template * Transcoding template subtype (`Subtype`): * 1. 1: Normal (Normal) * 2. 2: Audio transcoding (AudioTranscode) * 3. 3: remuxing (Remux) * 4. 4: Narrowband HD 1.0 (NarrowBandV1) * 5. 5: Narrowband HD 2.0 (NarrowBandV2) * Snapshot template subtype (`Subtype`): * 1. 1: Static screenshot (Normal) * 2. 2: sprite (Sprite) * 3. 3: WebVTT screenshot (WebVtt) * AI content moderation template subtype (`Subtype`): * 1. 1: Video moderation (Video) * 2. 2: Audio moderation (Audio) * 3. 3: Image moderation (Image) * AI smart erase template subtype (`Subtype`): * 1. 1: Logo removal (VideoDelogo) * 2. 2: Subtitle removal (VideoDetext) * * @param request - GetCustomTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetCustomTemplateResponse */ getCustomTemplateWithOptions(request: $_model.GetCustomTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomTemplateResponse>; /** * Gets details of a custom media processing template. * * @remarks * This operation gets the details of a custom template by its ID or the details of a default template. If you provide a `TemplateId`, the operation ignores other parameters and returns the details for that template. If you omit `TemplateId`, you must specify the `Type` parameter to get the corresponding default template. * Template type (`Type`): * 1. 1: transcoding template * 2. 2: snapshot template * 3. 3: Animated GIF template * 4. 4: Image watermark template * 5. 5: Text watermark template * 6. 6: Subtitle template * 7. 7: AI content moderation template * 8. 8: AI smart cover template * 9. 9: AI smart erase template * Transcoding template subtype (`Subtype`): * 1. 1: Normal (Normal) * 2. 2: Audio transcoding (AudioTranscode) * 3. 3: remuxing (Remux) * 4. 4: Narrowband HD 1.0 (NarrowBandV1) * 5. 5: Narrowband HD 2.0 (NarrowBandV2) * Snapshot template subtype (`Subtype`): * 1. 1: Static screenshot (Normal) * 2. 2: sprite (Sprite) * 3. 3: WebVTT screenshot (WebVtt) * AI content moderation template subtype (`Subtype`): * 1. 1: Video moderation (Video) * 2. 2: Audio moderation (Audio) * 3. 3: Image moderation (Image) * AI smart erase template subtype (`Subtype`): * 1. 1: Logo removal (VideoDelogo) * 2. 2: Subtitle removal (VideoDetext) * * @param request - GetCustomTemplateRequest * @returns GetCustomTemplateResponse */ getCustomTemplate(request: $_model.GetCustomTemplateRequest): Promise<$_model.GetCustomTemplateResponse>; /** * Queries the information about a personalized human voice. * * @param request - GetCustomizedVoiceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetCustomizedVoiceResponse */ getCustomizedVoiceWithOptions(request: $_model.GetCustomizedVoiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomizedVoiceResponse>; /** * Queries the information about a personalized human voice. * * @param request - GetCustomizedVoiceRequest * @returns GetCustomizedVoiceResponse */ getCustomizedVoice(request: $_model.GetCustomizedVoiceRequest): Promise<$_model.GetCustomizedVoiceResponse>; /** * Queries the information about a human voice cloning job. * * @param request - GetCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetCustomizedVoiceJobResponse */ getCustomizedVoiceJobWithOptions(request: $_model.GetCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCustomizedVoiceJobResponse>; /** * Queries the information about a human voice cloning job. * * @param request - GetCustomizedVoiceJobRequest * @returns GetCustomizedVoiceJobResponse */ getCustomizedVoiceJob(request: $_model.GetCustomizedVoiceJobRequest): Promise<$_model.GetCustomizedVoiceJobResponse>; /** * This topic describes the API request parameters and sample for obtaining the default storage configuration. * * @param runtime - runtime options for this request RuntimeOptions * @returns GetDefaultStorageLocationResponse */ getDefaultStorageLocationWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetDefaultStorageLocationResponse>; /** * This topic describes the API request parameters and sample for obtaining the default storage configuration. * @returns GetDefaultStorageLocationResponse */ getDefaultStorageLocation(): Promise<$_model.GetDefaultStorageLocationResponse>; /** * Queries the text to be read and sample audio for training a personalized human voice. * * @param request - GetDemonstrationForCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetDemonstrationForCustomizedVoiceJobResponse */ getDemonstrationForCustomizedVoiceJobWithOptions(request: $_model.GetDemonstrationForCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDemonstrationForCustomizedVoiceJobResponse>; /** * Queries the text to be read and sample audio for training a personalized human voice. * * @param request - GetDemonstrationForCustomizedVoiceJobRequest * @returns GetDemonstrationForCustomizedVoiceJobResponse */ getDemonstrationForCustomizedVoiceJob(request: $_model.GetDemonstrationForCustomizedVoiceJobRequest): Promise<$_model.GetDemonstrationForCustomizedVoiceJobResponse>; /** * Queries the information about an image animation job. * * @param request - GetDynamicImageJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetDynamicImageJobResponse */ getDynamicImageJobWithOptions(request: $_model.GetDynamicImageJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDynamicImageJobResponse>; /** * Queries the information about an image animation job. * * @param request - GetDynamicImageJobRequest * @returns GetDynamicImageJobResponse */ getDynamicImageJob(request: $_model.GetDynamicImageJobRequest): Promise<$_model.GetDynamicImageJobResponse>; /** * Queries the information about an online editing project. * * @param request - GetEditingProjectRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetEditingProjectResponse */ getEditingProjectWithOptions(request: $_model.GetEditingProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetEditingProjectResponse>; /** * Queries the information about an online editing project. * * @param request - GetEditingProjectRequest * @returns GetEditingProjectResponse */ getEditingProject(request: $_model.GetEditingProjectRequest): Promise<$_model.GetEditingProjectResponse>; /** * Retrieve all media assets bound to the current editing project. * * @param request - GetEditingProjectMaterialsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetEditingProjectMaterialsResponse */ getEditingProjectMaterialsWithOptions(request: $_model.GetEditingProjectMaterialsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetEditingProjectMaterialsResponse>; /** * Retrieve all media assets bound to the current editing project. * * @param request - GetEditingProjectMaterialsRequest * @returns GetEditingProjectMaterialsResponse */ getEditingProjectMaterials(request: $_model.GetEditingProjectMaterialsRequest): Promise<$_model.GetEditingProjectMaterialsResponse>; /** * Queries event callback configurations. * * @param runtime - runtime options for this request RuntimeOptions * @returns GetEventCallbackResponse */ getEventCallbackWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetEventCallbackResponse>; /** * Queries event callback configurations. * @returns GetEventCallbackResponse */ getEventCallback(): Promise<$_model.GetEventCallbackResponse>; /** * Queries the information about a specified hotword library based on the ID. * * @remarks * ## * Retrieve details of a specified hotword library based on the ID, including the library name, description, and content and attributes of all hotwords in it. * * @param request - GetHotwordLibraryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetHotwordLibraryResponse */ getHotwordLibraryWithOptions(request: $_model.GetHotwordLibraryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetHotwordLibraryResponse>; /** * Queries the information about a specified hotword library based on the ID. * * @remarks * ## * Retrieve details of a specified hotword library based on the ID, including the library name, description, and content and attributes of all hotwords in it. * * @param request - GetHotwordLibraryRequest * @returns GetHotwordLibraryResponse */ getHotwordLibrary(request: $_model.GetHotwordLibraryRequest): Promise<$_model.GetHotwordLibraryResponse>; /** * Obtain IPC device information. * * @param request - GetIpcDeviceInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetIpcDeviceInfoResponse */ getIpcDeviceInfoWithOptions(request: $_model.GetIpcDeviceInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetIpcDeviceInfoResponse>; /** * Obtain IPC device information. * * @param request - GetIpcDeviceInfoRequest * @returns GetIpcDeviceInfoResponse */ getIpcDeviceInfo(request: $_model.GetIpcDeviceInfoRequest): Promise<$_model.GetIpcDeviceInfoResponse>; /** * Queries the index file of a live stream. The index file is used to preview an editing project in the console. * * @param request - GetLiveEditingIndexFileRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveEditingIndexFileResponse */ getLiveEditingIndexFileWithOptions(request: $_model.GetLiveEditingIndexFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveEditingIndexFileResponse>; /** * Queries the index file of a live stream. The index file is used to preview an editing project in the console. * * @param request - GetLiveEditingIndexFileRequest * @returns GetLiveEditingIndexFileResponse */ getLiveEditingIndexFile(request: $_model.GetLiveEditingIndexFileRequest): Promise<$_model.GetLiveEditingIndexFileResponse>; /** * Queries the information about a live editing job. The requested information includes the state, timeline, and template of the job, the ID and URL of the output file, and the configurations of the job. Query only live editing jobs created within the past year. * * @param request - GetLiveEditingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveEditingJobResponse */ getLiveEditingJobWithOptions(request: $_model.GetLiveEditingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveEditingJobResponse>; /** * Queries the information about a live editing job. The requested information includes the state, timeline, and template of the job, the ID and URL of the output file, and the configurations of the job. Query only live editing jobs created within the past year. * * @param request - GetLiveEditingJobRequest * @returns GetLiveEditingJobResponse */ getLiveEditingJob(request: $_model.GetLiveEditingJobRequest): Promise<$_model.GetLiveEditingJobResponse>; /** * Gets details about a live package channel. * * @remarks * ## [](#)Usage notes * This API operation allows you to query the details of a live package channel, including the creation time, description, ingest endpoint, protocol, number of segments, and segment duration. * * @param request - GetLivePackageChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLivePackageChannelResponse */ getLivePackageChannelWithOptions(request: $_model.GetLivePackageChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLivePackageChannelResponse>; /** * Gets details about a live package channel. * * @remarks * ## [](#)Usage notes * This API operation allows you to query the details of a live package channel, including the creation time, description, ingest endpoint, protocol, number of segments, and segment duration. * * @param request - GetLivePackageChannelRequest * @returns GetLivePackageChannelResponse */ getLivePackageChannel(request: $_model.GetLivePackageChannelRequest): Promise<$_model.GetLivePackageChannelResponse>; /** * Gets details about a live package channel group by name. * * @remarks * ## [](#)Usage notes * Gets details about a specific channel group, including its name, description, origin domain, and creation and last modification timestamps. * * @param request - GetLivePackageChannelGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLivePackageChannelGroupResponse */ getLivePackageChannelGroupWithOptions(request: $_model.GetLivePackageChannelGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLivePackageChannelGroupResponse>; /** * Gets details about a live package channel group by name. * * @remarks * ## [](#)Usage notes * Gets details about a specific channel group, including its name, description, origin domain, and creation and last modification timestamps. * * @param request - GetLivePackageChannelGroupRequest * @returns GetLivePackageChannelGroupResponse */ getLivePackageChannelGroup(request: $_model.GetLivePackageChannelGroupRequest): Promise<$_model.GetLivePackageChannelGroupResponse>; /** * Query the real-time stream packaging origin configuration details of a specified channel. * * @remarks * ## Request Description * * @param request - GetLivePackageOriginEndpointRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLivePackageOriginEndpointResponse */ getLivePackageOriginEndpointWithOptions(request: $_model.GetLivePackageOriginEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLivePackageOriginEndpointResponse>; /** * Query the real-time stream packaging origin configuration details of a specified channel. * * @remarks * ## Request Description * * @param request - GetLivePackageOriginEndpointRequest * @returns GetLivePackageOriginEndpointResponse */ getLivePackageOriginEndpoint(request: $_model.GetLivePackageOriginEndpointRequest): Promise<$_model.GetLivePackageOriginEndpointResponse>; /** * Queries the information about a live stream recording job. * * @param request - GetLiveRecordJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveRecordJobResponse */ getLiveRecordJobWithOptions(request: $_model.GetLiveRecordJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveRecordJobResponse>; /** * Queries the information about a live stream recording job. * * @param request - GetLiveRecordJobRequest * @returns GetLiveRecordJobResponse */ getLiveRecordJob(request: $_model.GetLiveRecordJobRequest): Promise<$_model.GetLiveRecordJobResponse>; /** * Queries the information about a live stream recording template or a snapshot of the template. * * @param request - GetLiveRecordTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveRecordTemplateResponse */ getLiveRecordTemplateWithOptions(request: $_model.GetLiveRecordTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveRecordTemplateResponse>; /** * Queries the information about a live stream recording template or a snapshot of the template. * * @param request - GetLiveRecordTemplateRequest * @returns GetLiveRecordTemplateResponse */ getLiveRecordTemplate(request: $_model.GetLiveRecordTemplateRequest): Promise<$_model.GetLiveRecordTemplateResponse>; /** * Queries the information a live stream snapshot job. * * @param request - GetLiveSnapshotJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveSnapshotJobResponse */ getLiveSnapshotJobWithOptions(request: $_model.GetLiveSnapshotJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveSnapshotJobResponse>; /** * Queries the information a live stream snapshot job. * * @param request - GetLiveSnapshotJobRequest * @returns GetLiveSnapshotJobResponse */ getLiveSnapshotJob(request: $_model.GetLiveSnapshotJobRequest): Promise<$_model.GetLiveSnapshotJobResponse>; /** * Queries the information about a live stream snapshot template. * * @param request - GetLiveSnapshotTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveSnapshotTemplateResponse */ getLiveSnapshotTemplateWithOptions(request: $_model.GetLiveSnapshotTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveSnapshotTemplateResponse>; /** * Queries the information about a live stream snapshot template. * * @param request - GetLiveSnapshotTemplateRequest * @returns GetLiveSnapshotTemplateResponse */ getLiveSnapshotTemplate(request: $_model.GetLiveSnapshotTemplateRequest): Promise<$_model.GetLiveSnapshotTemplateResponse>; /** * Queries the information about a live stream transcoding job. * * @param request - GetLiveTranscodeJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveTranscodeJobResponse */ getLiveTranscodeJobWithOptions(request: $_model.GetLiveTranscodeJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveTranscodeJobResponse>; /** * Queries the information about a live stream transcoding job. * * @param request - GetLiveTranscodeJobRequest * @returns GetLiveTranscodeJobResponse */ getLiveTranscodeJob(request: $_model.GetLiveTranscodeJobRequest): Promise<$_model.GetLiveTranscodeJobResponse>; /** * Queries the information a live stream transcoding template. * * @param request - GetLiveTranscodeTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetLiveTranscodeTemplateResponse */ getLiveTranscodeTemplateWithOptions(request: $_model.GetLiveTranscodeTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetLiveTranscodeTemplateResponse>; /** * Queries the information a live stream transcoding template. * * @param request - GetLiveTranscodeTemplateRequest * @returns GetLiveTranscodeTemplateResponse */ getLiveTranscodeTemplate(request: $_model.GetLiveTranscodeTemplateRequest): Promise<$_model.GetLiveTranscodeTemplateResponse>; /** * Retrieves all regions where MediaConnect is available. * * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaConnectAvailableRegionResponse */ getMediaConnectAvailableRegionWithOptions(runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaConnectAvailableRegionResponse>; /** * Retrieves all regions where MediaConnect is available. * @returns GetMediaConnectAvailableRegionResponse */ getMediaConnectAvailableRegion(): Promise<$_model.GetMediaConnectAvailableRegionResponse>; /** * Retrieves the details of a MediaConnect Flow instance. * * @remarks * - This operation returns an error if the specified `FlowId` does not exist. * - The `StartTime` in the response is valid only when the flow status is `online`. * * @param request - GetMediaConnectFlowRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaConnectFlowResponse */ getMediaConnectFlowWithOptions(request: $_model.GetMediaConnectFlowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaConnectFlowResponse>; /** * Retrieves the details of a MediaConnect Flow instance. * * @remarks * - This operation returns an error if the specified `FlowId` does not exist. * - The `StartTime` in the response is valid only when the flow status is `online`. * * @param request - GetMediaConnectFlowRequest * @returns GetMediaConnectFlowResponse */ getMediaConnectFlow(request: $_model.GetMediaConnectFlowRequest): Promise<$_model.GetMediaConnectFlowResponse>; /** * Retrieves the names of all outputs for a MediaConnect flow. * * @param request - GetMediaConnectFlowAllOutputNameRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaConnectFlowAllOutputNameResponse */ getMediaConnectFlowAllOutputNameWithOptions(request: $_model.GetMediaConnectFlowAllOutputNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaConnectFlowAllOutputNameResponse>; /** * Retrieves the names of all outputs for a MediaConnect flow. * * @param request - GetMediaConnectFlowAllOutputNameRequest * @returns GetMediaConnectFlowAllOutputNameResponse */ getMediaConnectFlowAllOutputName(request: $_model.GetMediaConnectFlowAllOutputNameRequest): Promise<$_model.GetMediaConnectFlowAllOutputNameResponse>; /** * Retrieves the input information of a MediaConnect instance. * * @remarks * - If the specified Flow instance ID does not exist, the API returns an error. * * @param request - GetMediaConnectFlowInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaConnectFlowInputResponse */ getMediaConnectFlowInputWithOptions(request: $_model.GetMediaConnectFlowInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaConnectFlowInputResponse>; /** * Retrieves the input information of a MediaConnect instance. * * @remarks * - If the specified Flow instance ID does not exist, the API returns an error. * * @param request - GetMediaConnectFlowInputRequest * @returns GetMediaConnectFlowInputResponse */ getMediaConnectFlowInput(request: $_model.GetMediaConnectFlowInputRequest): Promise<$_model.GetMediaConnectFlowInputResponse>; /** * Retrieve detailed information of a specific output based on outputName * * @remarks * - When the provided Flow instance ID does not exist, the interface will return an error. * * @param request - GetMediaConnectFlowOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaConnectFlowOutputResponse */ getMediaConnectFlowOutputWithOptions(request: $_model.GetMediaConnectFlowOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaConnectFlowOutputResponse>; /** * Retrieve detailed information of a specific output based on outputName * * @remarks * - When the provided Flow instance ID does not exist, the interface will return an error. * * @param request - GetMediaConnectFlowOutputRequest * @returns GetMediaConnectFlowOutputResponse */ getMediaConnectFlowOutput(request: $_model.GetMediaConnectFlowOutputRequest): Promise<$_model.GetMediaConnectFlowOutputResponse>; /** * MediaConvert task details * * @param request - GetMediaConvertJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaConvertJobResponse */ getMediaConvertJobWithOptions(request: $_model.GetMediaConvertJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaConvertJobResponse>; /** * MediaConvert task details * * @param request - GetMediaConvertJobRequest * @returns GetMediaConvertJobResponse */ getMediaConvertJob(request: $_model.GetMediaConvertJobRequest): Promise<$_model.GetMediaConvertJobResponse>; /** * Retrieves media asset information using an Intelligent Media Services (IMS) `mediaId` or an `InputURL`. * * @remarks * `MediaId` takes precedence. If `MediaId` is empty, `InputURL` must not be null. * * @param request - GetMediaInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaInfoResponse */ getMediaInfoWithOptions(request: $_model.GetMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaInfoResponse>; /** * Retrieves media asset information using an Intelligent Media Services (IMS) `mediaId` or an `InputURL`. * * @remarks * `MediaId` takes precedence. If `MediaId` is empty, `InputURL` must not be null. * * @param request - GetMediaInfoRequest * @returns GetMediaInfoResponse */ getMediaInfo(request: $_model.GetMediaInfoRequest): Promise<$_model.GetMediaInfoResponse>; /** * Queries the information about a media information analysis job. * * @param request - GetMediaInfoJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaInfoJobResponse */ getMediaInfoJobWithOptions(request: $_model.GetMediaInfoJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaInfoJobResponse>; /** * Queries the information about a media information analysis job. * * @param request - GetMediaInfoJobRequest * @returns GetMediaInfoJobResponse */ getMediaInfoJob(request: $_model.GetMediaInfoJobRequest): Promise<$_model.GetMediaInfoJobResponse>; /** * Queries a MediaLive channel. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - GetMediaLiveChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaLiveChannelResponse */ getMediaLiveChannelWithOptions(request: $_model.GetMediaLiveChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaLiveChannelResponse>; /** * Queries a MediaLive channel. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - GetMediaLiveChannelRequest * @returns GetMediaLiveChannelResponse */ getMediaLiveChannel(request: $_model.GetMediaLiveChannelRequest): Promise<$_model.GetMediaLiveChannelResponse>; /** * Query the details of a media live input. * * @remarks * - Query the details of a media live input. * ## Queries per second (QPS) limit * The queries per second (QPS) limit for this API is 50 requests per second per user. If this limit is exceeded, API calls will be subject to rate limiting, which may impact your business. Please invoke the API appropriately. * * @param request - GetMediaLiveInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaLiveInputResponse */ getMediaLiveInputWithOptions(request: $_model.GetMediaLiveInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaLiveInputResponse>; /** * Query the details of a media live input. * * @remarks * - Query the details of a media live input. * ## Queries per second (QPS) limit * The queries per second (QPS) limit for this API is 50 requests per second per user. If this limit is exceeded, API calls will be subject to rate limiting, which may impact your business. Please invoke the API appropriately. * * @param request - GetMediaLiveInputRequest * @returns GetMediaLiveInputResponse */ getMediaLiveInput(request: $_model.GetMediaLiveInputRequest): Promise<$_model.GetMediaLiveInputResponse>; /** * Gets details about a security group in MediaLive. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - GetMediaLiveInputSecurityGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaLiveInputSecurityGroupResponse */ getMediaLiveInputSecurityGroupWithOptions(request: $_model.GetMediaLiveInputSecurityGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaLiveInputSecurityGroupResponse>; /** * Gets details about a security group in MediaLive. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - GetMediaLiveInputSecurityGroupRequest * @returns GetMediaLiveInputSecurityGroupResponse */ getMediaLiveInputSecurityGroup(request: $_model.GetMediaLiveInputSecurityGroupRequest): Promise<$_model.GetMediaLiveInputSecurityGroupResponse>; /** * Queries the information about marks based on mark IDs. * * @param request - GetMediaMarksRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaMarksResponse */ getMediaMarksWithOptions(request: $_model.GetMediaMarksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaMarksResponse>; /** * Queries the information about marks based on mark IDs. * * @param request - GetMediaMarksRequest * @returns GetMediaMarksResponse */ getMediaMarks(request: $_model.GetMediaMarksRequest): Promise<$_model.GetMediaMarksResponse>; /** * Retrieves details for an editing and composition job, such as its task status, timeline, template, and data. * * @remarks * ### Limitations * This API can only retrieve editing job data from the past year. * * @param request - GetMediaProducingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetMediaProducingJobResponse */ getMediaProducingJobWithOptions(request: $_model.GetMediaProducingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMediaProducingJobResponse>; /** * Retrieves details for an editing and composition job, such as its task status, timeline, template, and data. * * @remarks * ### Limitations * This API can only retrieve editing job data from the past year. * * @param request - GetMediaProducingJobRequest * @returns GetMediaProducingJobResponse */ getMediaProducingJob(request: $_model.GetMediaProducingJobRequest): Promise<$_model.GetMediaProducingJobResponse>; /** * Queries the information about a packaging job. * * @param request - GetPackageJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetPackageJobResponse */ getPackageJobWithOptions(request: $_model.GetPackageJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPackageJobResponse>; /** * Queries the information about a packaging job. * * @param request - GetPackageJobRequest * @returns GetPackageJobResponse */ getPackageJob(request: $_model.GetPackageJobRequest): Promise<$_model.GetPackageJobResponse>; /** * Queries the information about an ApsaraVideo Media Processing (MPS) queue. * * @param request - GetPipelineRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetPipelineResponse */ getPipelineWithOptions(request: $_model.GetPipelineRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPipelineResponse>; /** * Queries the information about an ApsaraVideo Media Processing (MPS) queue. * * @param request - GetPipelineRequest * @returns GetPipelineResponse */ getPipeline(request: $_model.GetPipelineRequest): Promise<$_model.GetPipelineResponse>; /** * This API retrieves the playback URL for a media file (video or audio) using a given audio/video ID. Use this URL for audio/video playback after integrating the Alibaba Cloud Player SDK (for URL-based playback) or a third-party player. * * @param request - GetPlayInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetPlayInfoResponse */ getPlayInfoWithOptions(request: $_model.GetPlayInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPlayInfoResponse>; /** * This API retrieves the playback URL for a media file (video or audio) using a given audio/video ID. Use this URL for audio/video playback after integrating the Alibaba Cloud Player SDK (for URL-based playback) or a third-party player. * * @param request - GetPlayInfoRequest * @returns GetPlayInfoResponse */ getPlayInfo(request: $_model.GetPlayInfoRequest): Promise<$_model.GetPlayInfoResponse>; /** * Queries a program. * * @param request - GetProgramRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetProgramResponse */ getProgramWithOptions(request: $_model.GetProgramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetProgramResponse>; /** * Queries a program. * * @param request - GetProgramRequest * @returns GetProgramResponse */ getProgram(request: $_model.GetProgramRequest): Promise<$_model.GetProgramResponse>; /** * Queries the information about a project export task. * * @param request - GetProjectExportJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetProjectExportJobResponse */ getProjectExportJobWithOptions(request: $_model.GetProjectExportJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetProjectExportJobResponse>; /** * Queries the information about a project export task. * * @param request - GetProjectExportJobRequest * @returns GetProjectExportJobResponse */ getProjectExportJob(request: $_model.GetProjectExportJobRequest): Promise<$_model.GetProjectExportJobResponse>; /** * Obtain and return media asset information based on the mediaId of an ICE public copyright media asset. The URL returned by the API is a preview or audition address for the copyright media asset. The official material will be used during synthesis. * * @param request - GetPublicMediaInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetPublicMediaInfoResponse */ getPublicMediaInfoWithOptions(request: $_model.GetPublicMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetPublicMediaInfoResponse>; /** * Obtain and return media asset information based on the mediaId of an ICE public copyright media asset. The URL returned by the API is a preview or audition address for the copyright media asset. The official material will be used during synthesis. * * @param request - GetPublicMediaInfoRequest * @returns GetPublicMediaInfoResponse */ getPublicMediaInfo(request: $_model.GetPublicMediaInfoRequest): Promise<$_model.GetPublicMediaInfoResponse>; /** * Retrieves the information and execution result for a smart task by task ID. This API only supports querying editing tasks from the past year. * * @param request - GetSmartHandleJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetSmartHandleJobResponse */ getSmartHandleJobWithOptions(request: $_model.GetSmartHandleJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSmartHandleJobResponse>; /** * Retrieves the information and execution result for a smart task by task ID. This API only supports querying editing tasks from the past year. * * @param request - GetSmartHandleJobRequest * @returns GetSmartHandleJobResponse */ getSmartHandleJob(request: $_model.GetSmartHandleJobRequest): Promise<$_model.GetSmartHandleJobResponse>; /** * Queries the information about a snapshot job. * * @param request - GetSnapshotJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetSnapshotJobResponse */ getSnapshotJobWithOptions(request: $_model.GetSnapshotJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSnapshotJobResponse>; /** * Queries the information about a snapshot job. * * @param request - GetSnapshotJobRequest * @returns GetSnapshotJobResponse */ getSnapshotJob(request: $_model.GetSnapshotJobRequest): Promise<$_model.GetSnapshotJobResponse>; /** * Queries the accessible URLs of the output images of a snapshot job. * * @param request - GetSnapshotUrlsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetSnapshotUrlsResponse */ getSnapshotUrlsWithOptions(request: $_model.GetSnapshotUrlsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSnapshotUrlsResponse>; /** * Queries the accessible URLs of the output images of a snapshot job. * * @param request - GetSnapshotUrlsRequest * @returns GetSnapshotUrlsResponse */ getSnapshotUrls(request: $_model.GetSnapshotUrlsRequest): Promise<$_model.GetSnapshotUrlsResponse>; /** * Queries a source. * * @param request - GetSourceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetSourceResponse */ getSourceWithOptions(request: $_model.GetSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSourceResponse>; /** * Queries a source. * * @param request - GetSourceRequest * @returns GetSourceResponse */ getSource(request: $_model.GetSourceRequest): Promise<$_model.GetSourceResponse>; /** * Queries a source location. * * @param request - GetSourceLocationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetSourceLocationResponse */ getSourceLocationWithOptions(request: $_model.GetSourceLocationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSourceLocationResponse>; /** * Queries a source location. * * @param request - GetSourceLocationRequest * @returns GetSourceLocationResponse */ getSourceLocation(request: $_model.GetSourceLocationRequest): Promise<$_model.GetSourceLocationResponse>; /** * Obtains storage configurations. * * @param request - GetStorageListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetStorageListResponse */ getStorageListWithOptions(request: $_model.GetStorageListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetStorageListResponse>; /** * Obtains storage configurations. * * @param request - GetStorageListRequest * @returns GetStorageListResponse */ getStorageList(request: $_model.GetStorageListRequest): Promise<$_model.GetStorageListResponse>; /** * Retrieves tags of a live stream media asset. * * @param request - GetStreamTagListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetStreamTagListResponse */ getStreamTagListWithOptions(request: $_model.GetStreamTagListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetStreamTagListResponse>; /** * Retrieves tags of a live stream media asset. * * @param request - GetStreamTagListRequest * @returns GetStreamTagListResponse */ getStreamTagList(request: $_model.GetStreamTagListRequest): Promise<$_model.GetStreamTagListResponse>; /** * Queries the information about a system template. * * @param request - GetSystemTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetSystemTemplateResponse */ getSystemTemplateWithOptions(request: $_model.GetSystemTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSystemTemplateResponse>; /** * Queries the information about a system template. * * @param request - GetSystemTemplateRequest * @returns GetSystemTemplateResponse */ getSystemTemplate(request: $_model.GetSystemTemplateRequest): Promise<$_model.GetSystemTemplateResponse>; /** * Queries the information about a template based on the template ID. Query the information about an advanced template if the template is in the Available state. * * @remarks * A template is an encapsulation of the timeline of a media editing and production job. You can define a common timeline as a template. When you have the same requirements, you need to only specify key parameters and materials to produce videos. * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - GetTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetTemplateResponse */ getTemplateWithOptions(request: $_model.GetTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetTemplateResponse>; /** * Queries the information about a template based on the template ID. Query the information about an advanced template if the template is in the Available state. * * @remarks * A template is an encapsulation of the timeline of a media editing and production job. You can define a common timeline as a template. When you have the same requirements, you need to only specify key parameters and materials to produce videos. * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - GetTemplateRequest * @returns GetTemplateResponse */ getTemplate(request: $_model.GetTemplateRequest): Promise<$_model.GetTemplateResponse>; /** * Queries the URLs of materials associated with an advanced template for use by the advanced template editor. The URLs expire in 30 minutes. FileList is an array of materials that you want to query. If you do not specify this parameter, the URLs of all materials are returned. A maximum of 400 URLs can be returned. * * @param request - GetTemplateMaterialsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetTemplateMaterialsResponse */ getTemplateMaterialsWithOptions(request: $_model.GetTemplateMaterialsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetTemplateMaterialsResponse>; /** * Queries the URLs of materials associated with an advanced template for use by the advanced template editor. The URLs expire in 30 minutes. FileList is an array of materials that you want to query. If you do not specify this parameter, the URLs of all materials are returned. A maximum of 400 URLs can be returned. * * @param request - GetTemplateMaterialsRequest * @returns GetTemplateMaterialsResponse */ getTemplateMaterials(request: $_model.GetTemplateMaterialsRequest): Promise<$_model.GetTemplateMaterialsResponse>; /** * Obtain the replaceable material parameter information of a template, including the parameter name, default material value, and material thumbnail. Currently, only advanced templates are supported. * * @param request - GetTemplateParamsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetTemplateParamsResponse */ getTemplateParamsWithOptions(request: $_model.GetTemplateParamsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetTemplateParamsResponse>; /** * Obtain the replaceable material parameter information of a template, including the parameter name, default material value, and material thumbnail. Currently, only advanced templates are supported. * * @param request - GetTemplateParamsRequest * @returns GetTemplateParamsResponse */ getTemplateParams(request: $_model.GetTemplateParamsRequest): Promise<$_model.GetTemplateParamsResponse>; /** * Queries the details of a single transcoding job. * * @remarks * * This API is deprecated. Call [GetMediaConvertJob – Query media transcoding jobs](https://help.aliyun.com/document_detail/2867675.html) instead. * * @param request - GetTranscodeJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetTranscodeJobResponse */ getTranscodeJobWithOptions(request: $_model.GetTranscodeJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetTranscodeJobResponse>; /** * Queries the details of a single transcoding job. * * @remarks * * This API is deprecated. Call [GetMediaConvertJob – Query media transcoding jobs](https://help.aliyun.com/document_detail/2867675.html) instead. * * @param request - GetTranscodeJobRequest * @returns GetTranscodeJobResponse */ getTranscodeJob(request: $_model.GetTranscodeJobRequest): Promise<$_model.GetTranscodeJobResponse>; /** * Queries the information about URL-based upload jobs. * * @remarks * Query the information, including the upload status, user data, creation time, and completion time, about URL-based upload jobs based on the returned job IDs or the URLs used during the upload. * If an upload job fails, you can view the error code and error message. If an upload job is successful, you can obtain the video ID. * * @param request - GetUrlUploadInfosRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetUrlUploadInfosResponse */ getUrlUploadInfosWithOptions(request: $_model.GetUrlUploadInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetUrlUploadInfosResponse>; /** * Queries the information about URL-based upload jobs. * * @remarks * Query the information, including the upload status, user data, creation time, and completion time, about URL-based upload jobs based on the returned job IDs or the URLs used during the upload. * If an upload job fails, you can view the error code and error message. If an upload job is successful, you can obtain the video ID. * * @param request - GetUrlUploadInfosRequest * @returns GetUrlUploadInfosResponse */ getUrlUploadInfos(request: $_model.GetUrlUploadInfosRequest): Promise<$_model.GetUrlUploadInfosResponse>; /** * Gets information about video and audio files. * * @remarks * Get information about up to the first 5,000 audio and video files based on the filter condition, such as the status or category ID of the file. We recommend that you set the StartTime and EndTime parameters to narrow down the time range and perform multiple queries to obtain data. * * @param request - GetVideoListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetVideoListResponse */ getVideoListWithOptions(request: $_model.GetVideoListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetVideoListResponse>; /** * Gets information about video and audio files. * * @remarks * Get information about up to the first 5,000 audio and video files based on the filter condition, such as the status or category ID of the file. We recommend that you set the StartTime and EndTime parameters to narrow down the time range and perform multiple queries to obtain data. * * @param request - GetVideoListRequest * @returns GetVideoListResponse */ getVideoList(request: $_model.GetVideoListRequest): Promise<$_model.GetVideoListResponse>; /** * Queries a VOD packaging asset. * * @param request - GetVodPackagingAssetRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetVodPackagingAssetResponse */ getVodPackagingAssetWithOptions(request: $_model.GetVodPackagingAssetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetVodPackagingAssetResponse>; /** * Queries a VOD packaging asset. * * @param request - GetVodPackagingAssetRequest * @returns GetVodPackagingAssetResponse */ getVodPackagingAsset(request: $_model.GetVodPackagingAssetRequest): Promise<$_model.GetVodPackagingAssetResponse>; /** * Queries a packaging configuration. * * @param request - GetVodPackagingConfigurationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetVodPackagingConfigurationResponse */ getVodPackagingConfigurationWithOptions(request: $_model.GetVodPackagingConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetVodPackagingConfigurationResponse>; /** * Queries a packaging configuration. * * @param request - GetVodPackagingConfigurationRequest * @returns GetVodPackagingConfigurationResponse */ getVodPackagingConfiguration(request: $_model.GetVodPackagingConfigurationRequest): Promise<$_model.GetVodPackagingConfigurationResponse>; /** * Queries a VOD packaging group. * * @param request - GetVodPackagingGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetVodPackagingGroupResponse */ getVodPackagingGroupWithOptions(request: $_model.GetVodPackagingGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetVodPackagingGroupResponse>; /** * Queries a VOD packaging group. * * @param request - GetVodPackagingGroupRequest * @returns GetVodPackagingGroupResponse */ getVodPackagingGroup(request: $_model.GetVodPackagingGroupRequest): Promise<$_model.GetVodPackagingGroupResponse>; /** * Queries the information about a workflow task by task ID, including the workflow ID and the status and result of the task. You can query only the workflow task data of the last year. * * @param request - GetWorkflowTaskRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetWorkflowTaskResponse */ getWorkflowTaskWithOptions(request: $_model.GetWorkflowTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkflowTaskResponse>; /** * Queries the information about a workflow task by task ID, including the workflow ID and the status and result of the task. You can query only the workflow task data of the last year. * * @param request - GetWorkflowTaskRequest * @returns GetWorkflowTaskResponse */ getWorkflowTask(request: $_model.GetWorkflowTaskRequest): Promise<$_model.GetWorkflowTaskResponse>; /** * Retrieves the details of a Yike AI App job. * * @param request - GetYikeAIAppJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetYikeAIAppJobResponse */ getYikeAIAppJobWithOptions(request: $_model.GetYikeAIAppJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetYikeAIAppJobResponse>; /** * Retrieves the details of a Yike AI App job. * * @param request - GetYikeAIAppJobRequest * @returns GetYikeAIAppJobResponse */ getYikeAIAppJob(request: $_model.GetYikeAIAppJobRequest): Promise<$_model.GetYikeAIAppJobResponse>; /** * Gets media asset information. * * @param request - GetYikeAssetMediaInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetYikeAssetMediaInfoResponse */ getYikeAssetMediaInfoWithOptions(request: $_model.GetYikeAssetMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetYikeAssetMediaInfoResponse>; /** * Gets media asset information. * * @param request - GetYikeAssetMediaInfoRequest * @returns GetYikeAssetMediaInfoResponse */ getYikeAssetMediaInfo(request: $_model.GetYikeAssetMediaInfoRequest): Promise<$_model.GetYikeAssetMediaInfoResponse>; /** * Retrieves the details of a Yike storyboard job. * * @param request - GetYikeStoryboardJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetYikeStoryboardJobResponse */ getYikeStoryboardJobWithOptions(request: $_model.GetYikeStoryboardJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetYikeStoryboardJobResponse>; /** * Retrieves the details of a Yike storyboard job. * * @param request - GetYikeStoryboardJobRequest * @returns GetYikeStoryboardJobResponse */ getYikeStoryboardJob(request: $_model.GetYikeStoryboardJobRequest): Promise<$_model.GetYikeStoryboardJobResponse>; /** * Gets information about a Yike sub-account. * * @param request - GetYikeUserRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetYikeUserResponse */ getYikeUserWithOptions(request: $_model.GetYikeUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetYikeUserResponse>; /** * Gets information about a Yike sub-account. * * @param request - GetYikeUserRequest * @returns GetYikeUserResponse */ getYikeUser(request: $_model.GetYikeUserRequest): Promise<$_model.GetYikeUserResponse>; /** * Retrieves the credit balance for a Yike user. * * @param request - GetYikeUserCreditRequest * @param runtime - runtime options for this request RuntimeOptions * @returns GetYikeUserCreditResponse */ getYikeUserCreditWithOptions(request: $_model.GetYikeUserCreditRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetYikeUserCreditResponse>; /** * Retrieves the credit balance for a Yike user. * * @param request - GetYikeUserCreditRequest * @returns GetYikeUserCreditResponse */ getYikeUserCredit(request: $_model.GetYikeUserCreditRequest): Promise<$_model.GetYikeUserCreditResponse>; /** * Insert a media asset into the search library. * * @remarks * ### Prerequisites * Before inserting a media asset into the search library, you must call the [CreateSearchLib](https://help.aliyun.com/document_detail/2584454.html) API to create the search library. * * @param request - InsertMediaToSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns InsertMediaToSearchLibResponse */ insertMediaToSearchLibWithOptions(request: $_model.InsertMediaToSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InsertMediaToSearchLibResponse>; /** * Insert a media asset into the search library. * * @remarks * ### Prerequisites * Before inserting a media asset into the search library, you must call the [CreateSearchLib](https://help.aliyun.com/document_detail/2584454.html) API to create the search library. * * @param request - InsertMediaToSearchLibRequest * @returns InsertMediaToSearchLibResponse */ insertMediaToSearchLib(request: $_model.InsertMediaToSearchLibRequest): Promise<$_model.InsertMediaToSearchLibResponse>; /** * Returns the session history. * * @param request - ListAIAgentDialoguesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAIAgentDialoguesResponse */ listAIAgentDialoguesWithOptions(request: $_model.ListAIAgentDialoguesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAIAgentDialoguesResponse>; /** * Returns the session history. * * @param request - ListAIAgentDialoguesRequest * @returns ListAIAgentDialoguesResponse */ listAIAgentDialogues(request: $_model.ListAIAgentDialoguesRequest): Promise<$_model.ListAIAgentDialoguesResponse>; /** * List AI agent instances. You can retrieve all instances or filter them by specified conditions. * * @remarks * This operation lists AI agent instances. Filter results by agent ID (`AIAgentId`). Optionally, specify a time range (`StartTime` and `EndTime`), the number of results per page (`PageSize`), and the page number (`PageNumber`). The response includes each instance’s status, runtime configuration, template configuration, user-defined data, and a download link for the conversation call log. * >Notice: * Default pagination values: PageSize is 10. PageNumber is 1. * * @param request - ListAIAgentInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAIAgentInstanceResponse */ listAIAgentInstanceWithOptions(request: $_model.ListAIAgentInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAIAgentInstanceResponse>; /** * List AI agent instances. You can retrieve all instances or filter them by specified conditions. * * @remarks * This operation lists AI agent instances. Filter results by agent ID (`AIAgentId`). Optionally, specify a time range (`StartTime` and `EndTime`), the number of results per page (`PageSize`), and the page number (`PageNumber`). The response includes each instance’s status, runtime configuration, template configuration, user-defined data, and a download link for the conversation call log. * >Notice: * Default pagination values: PageSize is 10. PageNumber is 1. * * @param request - ListAIAgentInstanceRequest * @returns ListAIAgentInstanceResponse */ listAIAgentInstance(request: $_model.ListAIAgentInstanceRequest): Promise<$_model.ListAIAgentInstanceResponse>; /** * List user phone resources API. * * @remarks * This API allows a User to query phone resources based on the number of records per page (`PageSize`) and the current page number (`PageNumber`). The Return Result includes phone numbers and their corresponding status. * * @param request - ListAIAgentPhoneNumberRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAIAgentPhoneNumberResponse */ listAIAgentPhoneNumberWithOptions(request: $_model.ListAIAgentPhoneNumberRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAIAgentPhoneNumberResponse>; /** * List user phone resources API. * * @remarks * This API allows a User to query phone resources based on the number of records per page (`PageSize`) and the current page number (`PageNumber`). The Return Result includes phone numbers and their corresponding status. * * @param request - ListAIAgentPhoneNumberRequest * @returns ListAIAgentPhoneNumberResponse */ listAIAgentPhoneNumber(request: $_model.ListAIAgentPhoneNumberRequest): Promise<$_model.ListAIAgentPhoneNumberResponse>; /** * Retrieves a list of AI agent voiceprints. * * @param request - ListAIAgentVoiceprintsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAIAgentVoiceprintsResponse */ listAIAgentVoiceprintsWithOptions(request: $_model.ListAIAgentVoiceprintsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAIAgentVoiceprintsResponse>; /** * Retrieves a list of AI agent voiceprints. * * @param request - ListAIAgentVoiceprintsRequest * @returns ListAIAgentVoiceprintsResponse */ listAIAgentVoiceprints(request: $_model.ListAIAgentVoiceprintsRequest): Promise<$_model.ListAIAgentVoiceprintsResponse>; /** * Obtains ad insertion configurations. * * @param request - ListAdInsertionsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAdInsertionsResponse */ listAdInsertionsWithOptions(request: $_model.ListAdInsertionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAdInsertionsResponse>; /** * Obtains ad insertion configurations. * * @param request - ListAdInsertionsRequest * @returns ListAdInsertionsResponse */ listAdInsertions(request: $_model.ListAdInsertionsRequest): Promise<$_model.ListAdInsertionsResponse>; /** * Lists alerts received in MediaWeaver. * * @param request - ListAlertsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAlertsResponse */ listAlertsWithOptions(request: $_model.ListAlertsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAlertsResponse>; /** * Lists alerts received in MediaWeaver. * * @param request - ListAlertsRequest * @returns ListAlertsResponse */ listAlerts(request: $_model.ListAlertsRequest): Promise<$_model.ListAlertsResponse>; /** * Queries a list of tags of media assets in the public media library. * * @param request - ListAllPublicMediaTagsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAllPublicMediaTagsResponse */ listAllPublicMediaTagsWithOptions(request: $_model.ListAllPublicMediaTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAllPublicMediaTagsResponse>; /** * Queries a list of tags of media assets in the public media library. * * @param request - ListAllPublicMediaTagsRequest * @returns ListAllPublicMediaTagsResponse */ listAllPublicMediaTags(request: $_model.ListAllPublicMediaTagsRequest): Promise<$_model.ListAllPublicMediaTagsResponse>; /** * Queries a list of digital human training jobs. * * @param request - ListAvatarTrainingJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAvatarTrainingJobsResponse */ listAvatarTrainingJobsWithOptions(request: $_model.ListAvatarTrainingJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAvatarTrainingJobsResponse>; /** * Queries a list of digital human training jobs. * * @param request - ListAvatarTrainingJobsRequest * @returns ListAvatarTrainingJobsResponse */ listAvatarTrainingJobs(request: $_model.ListAvatarTrainingJobsRequest): Promise<$_model.ListAvatarTrainingJobsResponse>; /** * Queries a list of trained digital humans. * * @param request - ListAvatarsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListAvatarsResponse */ listAvatarsWithOptions(request: $_model.ListAvatarsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAvatarsResponse>; /** * Queries a list of trained digital humans. * * @param request - ListAvatarsRequest * @returns ListAvatarsResponse */ listAvatars(request: $_model.ListAvatarsRequest): Promise<$_model.ListAvatarsResponse>; /** * Queries a list of quick video production jobs based on conditions such as the job type and state. * * @param request - ListBatchMediaProducingJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListBatchMediaProducingJobsResponse */ listBatchMediaProducingJobsWithOptions(request: $_model.ListBatchMediaProducingJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListBatchMediaProducingJobsResponse>; /** * Queries a list of quick video production jobs based on conditions such as the job type and state. * * @param request - ListBatchMediaProducingJobsRequest * @returns ListBatchMediaProducingJobsResponse */ listBatchMediaProducingJobs(request: $_model.ListBatchMediaProducingJobsRequest): Promise<$_model.ListBatchMediaProducingJobsResponse>; /** * Lists alerts for resources in a MediaWeaver channel. * * @param request - ListChannelAlertsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListChannelAlertsResponse */ listChannelAlertsWithOptions(request: $_model.ListChannelAlertsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListChannelAlertsResponse>; /** * Lists alerts for resources in a MediaWeaver channel. * * @param request - ListChannelAlertsRequest * @returns ListChannelAlertsResponse */ listChannelAlerts(request: $_model.ListChannelAlertsRequest): Promise<$_model.ListChannelAlertsResponse>; /** * Lists MediaWeaver channels. * * @param request - ListChannelsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListChannelsResponse */ listChannelsWithOptions(request: $_model.ListChannelsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListChannelsResponse>; /** * Lists MediaWeaver channels. * * @param request - ListChannelsRequest * @returns ListChannelsResponse */ listChannels(request: $_model.ListChannelsRequest): Promise<$_model.ListChannelsResponse>; /** * Retrieves a list of user-defined Video on Demand (VOD) media processing templates. * * @param request - ListCustomTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListCustomTemplatesResponse */ listCustomTemplatesWithOptions(request: $_model.ListCustomTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomTemplatesResponse>; /** * Retrieves a list of user-defined Video on Demand (VOD) media processing templates. * * @param request - ListCustomTemplatesRequest * @returns ListCustomTemplatesResponse */ listCustomTemplates(request: $_model.ListCustomTemplatesRequest): Promise<$_model.ListCustomTemplatesResponse>; /** * Queries a list of human voice cloning jobs. * * @param request - ListCustomizedVoiceJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListCustomizedVoiceJobsResponse */ listCustomizedVoiceJobsWithOptions(request: $_model.ListCustomizedVoiceJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomizedVoiceJobsResponse>; /** * Queries a list of human voice cloning jobs. * * @param request - ListCustomizedVoiceJobsRequest * @returns ListCustomizedVoiceJobsResponse */ listCustomizedVoiceJobs(request: $_model.ListCustomizedVoiceJobsRequest): Promise<$_model.ListCustomizedVoiceJobsResponse>; /** * Queries a list of personalized human voices. * * @param request - ListCustomizedVoicesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListCustomizedVoicesResponse */ listCustomizedVoicesWithOptions(request: $_model.ListCustomizedVoicesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomizedVoicesResponse>; /** * Queries a list of personalized human voices. * * @param request - ListCustomizedVoicesRequest * @returns ListCustomizedVoicesResponse */ listCustomizedVoices(request: $_model.ListCustomizedVoicesRequest): Promise<$_model.ListCustomizedVoicesResponse>; /** * Queries a list of media fingerprint libraries. * * @param request - ListDNADBRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListDNADBResponse */ listDNADBWithOptions(request: $_model.ListDNADBRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDNADBResponse>; /** * Queries a list of media fingerprint libraries. * * @param request - ListDNADBRequest * @returns ListDNADBResponse */ listDNADB(request: $_model.ListDNADBRequest): Promise<$_model.ListDNADBResponse>; /** * Lists files in a media fingerprint library. * * @remarks * Queries files in a media fingerprint library based on the library ID. The queried results can be paginated. * * @param request - ListDNAFilesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListDNAFilesResponse */ listDNAFilesWithOptions(request: $_model.ListDNAFilesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDNAFilesResponse>; /** * Lists files in a media fingerprint library. * * @remarks * Queries files in a media fingerprint library based on the library ID. The queried results can be paginated. * * @param request - ListDNAFilesRequest * @returns ListDNAFilesResponse */ listDNAFiles(request: $_model.ListDNAFilesRequest): Promise<$_model.ListDNAFilesResponse>; /** * Queries a list of image animation jobs. * * @param request - ListDynamicImageJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListDynamicImageJobsResponse */ listDynamicImageJobsWithOptions(request: $_model.ListDynamicImageJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDynamicImageJobsResponse>; /** * Queries a list of image animation jobs. * * @param request - ListDynamicImageJobsRequest * @returns ListDynamicImageJobsResponse */ listDynamicImageJobs(request: $_model.ListDynamicImageJobsRequest): Promise<$_model.ListDynamicImageJobsResponse>; /** * Queries a list of projects that meet the specified conditions. You can filter projects by project creation time. * * @param request - ListEditingProjectsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListEditingProjectsResponse */ listEditingProjectsWithOptions(request: $_model.ListEditingProjectsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListEditingProjectsResponse>; /** * Queries a list of projects that meet the specified conditions. You can filter projects by project creation time. * * @param request - ListEditingProjectsRequest * @returns ListEditingProjectsResponse */ listEditingProjects(request: $_model.ListEditingProjectsRequest): Promise<$_model.ListEditingProjectsResponse>; /** * Queries hotword libraries that meet specific search conditions. * * @remarks * ## [](#) * - Get information about all hotword libraries that you created. * - The API supports fuzzy search by `Name`, filtering by creation time range, and pagination. * - By default, the results are sorted by creation time in descending order. You can set `SortBy` to change the sorting order. * - The maximum number of entries returned for each request is 100. Default value: 10. * - Use `NextToken` for pagination. * * @param request - ListHotwordLibrariesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListHotwordLibrariesResponse */ listHotwordLibrariesWithOptions(request: $_model.ListHotwordLibrariesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListHotwordLibrariesResponse>; /** * Queries hotword libraries that meet specific search conditions. * * @remarks * ## [](#) * - Get information about all hotword libraries that you created. * - The API supports fuzzy search by `Name`, filtering by creation time range, and pagination. * - By default, the results are sorted by creation time in descending order. You can set `SortBy` to change the sorting order. * - The maximum number of entries returned for each request is 100. Default value: 10. * - Use `NextToken` for pagination. * * @param request - ListHotwordLibrariesRequest * @returns ListHotwordLibrariesResponse */ listHotwordLibraries(request: $_model.ListHotwordLibrariesRequest): Promise<$_model.ListHotwordLibrariesResponse>; /** * Queries live package channel groups by page. Fuzzy search by name or description and sorting are supported. * * @remarks * ## [](#)Usage notes * * @param request - ListLivePackageChannelGroupsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLivePackageChannelGroupsResponse */ listLivePackageChannelGroupsWithOptions(request: $_model.ListLivePackageChannelGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLivePackageChannelGroupsResponse>; /** * Queries live package channel groups by page. Fuzzy search by name or description and sorting are supported. * * @remarks * ## [](#)Usage notes * * @param request - ListLivePackageChannelGroupsRequest * @returns ListLivePackageChannelGroupsResponse */ listLivePackageChannelGroups(request: $_model.ListLivePackageChannelGroupsRequest): Promise<$_model.ListLivePackageChannelGroupsResponse>; /** * Queries live package channels by channel group and keyword. Paging and sorting are supported. * * @remarks * ## [](#)Usage notes * This API operation allows you to query live package channels by **GroupName** and **Keyword**. Keyword is optional. You can sort the channels by creation time in ascending or descending order and paginate the results. This facilitates the management of channels and retrieval of channel information. * - **GroupName** is required to specify the channel group to which the channel belongs. * - **Keyword** supports fuzzy match of channel names or descriptions, which helps quickly filter desired channels. * - **PageNo** and **PageSize** can help control the paging of returned results to facilitate batch processing of data. * - **SortBy** allows you to customize how the results are sorted. By default, the results are sorted in descending order. * **RequestId** in the response is used for subsequent troubleshooting. **TotalCount** indicates the total number of channels that meet the conditions. * * @param request - ListLivePackageChannelsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLivePackageChannelsResponse */ listLivePackageChannelsWithOptions(request: $_model.ListLivePackageChannelsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLivePackageChannelsResponse>; /** * Queries live package channels by channel group and keyword. Paging and sorting are supported. * * @remarks * ## [](#)Usage notes * This API operation allows you to query live package channels by **GroupName** and **Keyword**. Keyword is optional. You can sort the channels by creation time in ascending or descending order and paginate the results. This facilitates the management of channels and retrieval of channel information. * - **GroupName** is required to specify the channel group to which the channel belongs. * - **Keyword** supports fuzzy match of channel names or descriptions, which helps quickly filter desired channels. * - **PageNo** and **PageSize** can help control the paging of returned results to facilitate batch processing of data. * - **SortBy** allows you to customize how the results are sorted. By default, the results are sorted in descending order. * **RequestId** in the response is used for subsequent troubleshooting. **TotalCount** indicates the total number of channels that meet the conditions. * * @param request - ListLivePackageChannelsRequest * @returns ListLivePackageChannelsResponse */ listLivePackageChannels(request: $_model.ListLivePackageChannelsRequest): Promise<$_model.ListLivePackageChannelsResponse>; /** * Queries origin endpoints by channel group and channel name. Paging and sorting are supported. * * @remarks * ## [](#)Usage notes * This API operation allows you to query origin endpoints associated with a live package channel. The results include detailed configurations about the origin endpoints, such as access URL, protocol, and security policies. Paging and sorting by creation time are supported. * * @param request - ListLivePackageOriginEndpointsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLivePackageOriginEndpointsResponse */ listLivePackageOriginEndpointsWithOptions(request: $_model.ListLivePackageOriginEndpointsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLivePackageOriginEndpointsResponse>; /** * Queries origin endpoints by channel group and channel name. Paging and sorting are supported. * * @remarks * ## [](#)Usage notes * This API operation allows you to query origin endpoints associated with a live package channel. The results include detailed configurations about the origin endpoints, such as access URL, protocol, and security policies. Paging and sorting by creation time are supported. * * @param request - ListLivePackageOriginEndpointsRequest * @returns ListLivePackageOriginEndpointsResponse */ listLivePackageOriginEndpoints(request: $_model.ListLivePackageOriginEndpointsRequest): Promise<$_model.ListLivePackageOriginEndpointsResponse>; /** * Queries all recording index files in the specified period of time. * * @param request - ListLiveRecordFilesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveRecordFilesResponse */ listLiveRecordFilesWithOptions(request: $_model.ListLiveRecordFilesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveRecordFilesResponse>; /** * Queries all recording index files in the specified period of time. * * @param request - ListLiveRecordFilesRequest * @returns ListLiveRecordFilesResponse */ listLiveRecordFiles(request: $_model.ListLiveRecordFilesRequest): Promise<$_model.ListLiveRecordFilesResponse>; /** * Queries a list of live stream recording jobs by page. * * @param request - ListLiveRecordJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveRecordJobsResponse */ listLiveRecordJobsWithOptions(request: $_model.ListLiveRecordJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveRecordJobsResponse>; /** * Queries a list of live stream recording jobs by page. * * @param request - ListLiveRecordJobsRequest * @returns ListLiveRecordJobsResponse */ listLiveRecordJobs(request: $_model.ListLiveRecordJobsRequest): Promise<$_model.ListLiveRecordJobsResponse>; /** * Call `ListLiveRecordTemplates` to retrieve a list of your real-time recording templates. * * @param request - ListLiveRecordTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveRecordTemplatesResponse */ listLiveRecordTemplatesWithOptions(request: $_model.ListLiveRecordTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveRecordTemplatesResponse>; /** * Call `ListLiveRecordTemplates` to retrieve a list of your real-time recording templates. * * @param request - ListLiveRecordTemplatesRequest * @returns ListLiveRecordTemplatesResponse */ listLiveRecordTemplates(request: $_model.ListLiveRecordTemplatesRequest): Promise<$_model.ListLiveRecordTemplatesResponse>; /** * Queries a list of live stream snapshot files by page. * * @param request - ListLiveSnapshotFilesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveSnapshotFilesResponse */ listLiveSnapshotFilesWithOptions(request: $_model.ListLiveSnapshotFilesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveSnapshotFilesResponse>; /** * Queries a list of live stream snapshot files by page. * * @param request - ListLiveSnapshotFilesRequest * @returns ListLiveSnapshotFilesResponse */ listLiveSnapshotFiles(request: $_model.ListLiveSnapshotFilesRequest): Promise<$_model.ListLiveSnapshotFilesResponse>; /** * Retrieves a paginated list of live snapshot jobs. * * @param request - ListLiveSnapshotJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveSnapshotJobsResponse */ listLiveSnapshotJobsWithOptions(request: $_model.ListLiveSnapshotJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveSnapshotJobsResponse>; /** * Retrieves a paginated list of live snapshot jobs. * * @param request - ListLiveSnapshotJobsRequest * @returns ListLiveSnapshotJobsResponse */ listLiveSnapshotJobs(request: $_model.ListLiveSnapshotJobsRequest): Promise<$_model.ListLiveSnapshotJobsResponse>; /** * Returns a paginated list of Live Snapshot templates. * * @param request - ListLiveSnapshotTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveSnapshotTemplatesResponse */ listLiveSnapshotTemplatesWithOptions(request: $_model.ListLiveSnapshotTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveSnapshotTemplatesResponse>; /** * Returns a paginated list of Live Snapshot templates. * * @param request - ListLiveSnapshotTemplatesRequest * @returns ListLiveSnapshotTemplatesResponse */ listLiveSnapshotTemplates(request: $_model.ListLiveSnapshotTemplatesRequest): Promise<$_model.ListLiveSnapshotTemplatesResponse>; /** * Queries a list of live stream transcoding jobs. * * @param request - ListLiveTranscodeJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveTranscodeJobsResponse */ listLiveTranscodeJobsWithOptions(request: $_model.ListLiveTranscodeJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveTranscodeJobsResponse>; /** * Queries a list of live stream transcoding jobs. * * @param request - ListLiveTranscodeJobsRequest * @returns ListLiveTranscodeJobsResponse */ listLiveTranscodeJobs(request: $_model.ListLiveTranscodeJobsRequest): Promise<$_model.ListLiveTranscodeJobsResponse>; /** * Queries a list of live stream transcoding templates. * * @param request - ListLiveTranscodeTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListLiveTranscodeTemplatesResponse */ listLiveTranscodeTemplatesWithOptions(request: $_model.ListLiveTranscodeTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLiveTranscodeTemplatesResponse>; /** * Queries a list of live stream transcoding templates. * * @param request - ListLiveTranscodeTemplatesRequest * @returns ListLiveTranscodeTemplatesResponse */ listLiveTranscodeTemplates(request: $_model.ListLiveTranscodeTemplatesRequest): Promise<$_model.ListLiveTranscodeTemplatesResponse>; /** * Returns basic information about media assets that match the specified parameters. * * @remarks * - If the `includeFileBasicInfo` field is set to true, the response also includes basic source file information, such as its duration and file size. * - Returns a maximum of 100 matching media assets. * - The query returns only media assets that exactly match all specified non-empty fields. The fields that support exact matching are media type, source, business type, category, and resource status. * - If the result set is too large for a single response, use the returned `nextToken` to retrieve the next page of results. * * @param request - ListMediaBasicInfosRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaBasicInfosResponse */ listMediaBasicInfosWithOptions(request: $_model.ListMediaBasicInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaBasicInfosResponse>; /** * Returns basic information about media assets that match the specified parameters. * * @remarks * - If the `includeFileBasicInfo` field is set to true, the response also includes basic source file information, such as its duration and file size. * - Returns a maximum of 100 matching media assets. * - The query returns only media assets that exactly match all specified non-empty fields. The fields that support exact matching are media type, source, business type, category, and resource status. * - If the result set is too large for a single response, use the returned `nextToken` to retrieve the next page of results. * * @param request - ListMediaBasicInfosRequest * @returns ListMediaBasicInfosResponse */ listMediaBasicInfos(request: $_model.ListMediaBasicInfosRequest): Promise<$_model.ListMediaBasicInfosResponse>; /** * This operation lists media convert jobs. * * @param request - ListMediaConvertJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaConvertJobsResponse */ listMediaConvertJobsWithOptions(request: $_model.ListMediaConvertJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaConvertJobsResponse>; /** * This operation lists media convert jobs. * * @param request - ListMediaConvertJobsRequest * @returns ListMediaConvertJobsResponse */ listMediaConvertJobs(request: $_model.ListMediaConvertJobsRequest): Promise<$_model.ListMediaConvertJobsResponse>; /** * Queries a list of media information analysis jobs. * * @param request - ListMediaInfoJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaInfoJobsResponse */ listMediaInfoJobsWithOptions(request: $_model.ListMediaInfoJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaInfoJobsResponse>; /** * Queries a list of media information analysis jobs. * * @param request - ListMediaInfoJobsRequest * @returns ListMediaInfoJobsResponse */ listMediaInfoJobs(request: $_model.ListMediaInfoJobsRequest): Promise<$_model.ListMediaInfoJobsResponse>; /** * Queries MediaLive channels. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - ListMediaLiveChannelsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaLiveChannelsResponse */ listMediaLiveChannelsWithOptions(request: $_model.ListMediaLiveChannelsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaLiveChannelsResponse>; /** * Queries MediaLive channels. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - ListMediaLiveChannelsRequest * @returns ListMediaLiveChannelsResponse */ listMediaLiveChannels(request: $_model.ListMediaLiveChannelsRequest): Promise<$_model.ListMediaLiveChannelsResponse>; /** * Queries the security groups in MediaLive. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - ListMediaLiveInputSecurityGroupsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaLiveInputSecurityGroupsResponse */ listMediaLiveInputSecurityGroupsWithOptions(request: $_model.ListMediaLiveInputSecurityGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaLiveInputSecurityGroupsResponse>; /** * Queries the security groups in MediaLive. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - ListMediaLiveInputSecurityGroupsRequest * @returns ListMediaLiveInputSecurityGroupsResponse */ listMediaLiveInputSecurityGroups(request: $_model.ListMediaLiveInputSecurityGroupsRequest): Promise<$_model.ListMediaLiveInputSecurityGroupsResponse>; /** * Query the list of media live inputs. * * @remarks * - You can invoke this API to query the list of media live inputs. * ## QPS Limit * The queries per second (QPS) limit for this API is 50 requests per second per user. If the limit is exceeded, API calls will be subject to rate limiting, which may impact your business. Please invoke the API appropriately. * * @param request - ListMediaLiveInputsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaLiveInputsResponse */ listMediaLiveInputsWithOptions(request: $_model.ListMediaLiveInputsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaLiveInputsResponse>; /** * Query the list of media live inputs. * * @remarks * - You can invoke this API to query the list of media live inputs. * ## QPS Limit * The queries per second (QPS) limit for this API is 50 requests per second per user. If the limit is exceeded, API calls will be subject to rate limiting, which may impact your business. Please invoke the API appropriately. * * @param request - ListMediaLiveInputsRequest * @returns ListMediaLiveInputsResponse */ listMediaLiveInputs(request: $_model.ListMediaLiveInputsRequest): Promise<$_model.ListMediaLiveInputsResponse>; /** * Queries a list of marks of a media asset. * * @param request - ListMediaMarksRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaMarksResponse */ listMediaMarksWithOptions(request: $_model.ListMediaMarksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaMarksResponse>; /** * Queries a list of marks of a media asset. * * @param request - ListMediaMarksRequest * @returns ListMediaMarksResponse */ listMediaMarks(request: $_model.ListMediaMarksRequest): Promise<$_model.ListMediaMarksResponse>; /** * Queries a list of media editing and production jobs that meet the specified conditions. You can query the jobs based on the job state and type. * * @param request - ListMediaProducingJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListMediaProducingJobsResponse */ listMediaProducingJobsWithOptions(request: $_model.ListMediaProducingJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMediaProducingJobsResponse>; /** * Queries a list of media editing and production jobs that meet the specified conditions. You can query the jobs based on the job state and type. * * @param request - ListMediaProducingJobsRequest * @returns ListMediaProducingJobsResponse */ listMediaProducingJobs(request: $_model.ListMediaProducingJobsRequest): Promise<$_model.ListMediaProducingJobsResponse>; /** * Queries packaging jobs. * * @param request - ListPackageJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListPackageJobsResponse */ listPackageJobsWithOptions(request: $_model.ListPackageJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPackageJobsResponse>; /** * Queries packaging jobs. * * @param request - ListPackageJobsRequest * @returns ListPackageJobsResponse */ listPackageJobs(request: $_model.ListPackageJobsRequest): Promise<$_model.ListPackageJobsResponse>; /** * Queries a list of ApsaraVideo Media Processing (MPS) queues. * * @param request - ListPipelinesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListPipelinesResponse */ listPipelinesWithOptions(request: $_model.ListPipelinesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelinesResponse>; /** * Queries a list of ApsaraVideo Media Processing (MPS) queues. * * @param request - ListPipelinesRequest * @returns ListPipelinesResponse */ listPipelines(request: $_model.ListPipelinesRequest): Promise<$_model.ListPipelinesResponse>; /** * Lists programs. * * @param request - ListProgramsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListProgramsResponse */ listProgramsWithOptions(request: $_model.ListProgramsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListProgramsResponse>; /** * Lists programs. * * @param request - ListProgramsRequest * @returns ListProgramsResponse */ listPrograms(request: $_model.ListProgramsRequest): Promise<$_model.ListProgramsResponse>; /** * Queries a list of media assets in the public media library that meet the specified conditions. A maximum of 100 media assets can be returned. * * @param request - ListPublicMediaBasicInfosRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListPublicMediaBasicInfosResponse */ listPublicMediaBasicInfosWithOptions(request: $_model.ListPublicMediaBasicInfosRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPublicMediaBasicInfosResponse>; /** * Queries a list of media assets in the public media library that meet the specified conditions. A maximum of 100 media assets can be returned. * * @param request - ListPublicMediaBasicInfosRequest * @returns ListPublicMediaBasicInfosResponse */ listPublicMediaBasicInfos(request: $_model.ListPublicMediaBasicInfosRequest): Promise<$_model.ListPublicMediaBasicInfosResponse>; /** * Lists entities in a specified recognition library. Pagination is supported. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Supports up to 50 calls per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - ListRecognitionEntitiesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListRecognitionEntitiesResponse */ listRecognitionEntitiesWithOptions(request: $_model.ListRecognitionEntitiesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListRecognitionEntitiesResponse>; /** * Lists entities in a specified recognition library. Pagination is supported. * * @remarks * - This operation is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - Supports up to 50 calls per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. For more information, see [QPS limits](https://help.aliyun.com/zh/mps/developer-reference/qps-limits?spm=a2c4g.11186623.0.0.647e1081YGcerb). * * @param request - ListRecognitionEntitiesRequest * @returns ListRecognitionEntitiesResponse */ listRecognitionEntities(request: $_model.ListRecognitionEntitiesRequest): Promise<$_model.ListRecognitionEntitiesResponse>; /** * Perform a paged query to retrieve information about all Custom detection libraries under the current User. * * @remarks * - This API currently supports the following Regions: China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen). Other Regions are not supported at this time. * - The queries per second (QPS) limit for this API is 50 per User. If this limit is exceeded, API calls will be subject to Rate Limiting, which may Impact your business. Please invoke the API appropriately. For more information, see [QPS limits](https://help.aliyun.com/document_detail/342832.html). * * @param request - ListRecognitionLibsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListRecognitionLibsResponse */ listRecognitionLibsWithOptions(request: $_model.ListRecognitionLibsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListRecognitionLibsResponse>; /** * Perform a paged query to retrieve information about all Custom detection libraries under the current User. * * @remarks * - This API currently supports the following Regions: China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen). Other Regions are not supported at this time. * - The queries per second (QPS) limit for this API is 50 per User. If this limit is exceeded, API calls will be subject to Rate Limiting, which may Impact your business. Please invoke the API appropriately. For more information, see [QPS limits](https://help.aliyun.com/document_detail/342832.html). * * @param request - ListRecognitionLibsRequest * @returns ListRecognitionLibsResponse */ listRecognitionLibs(request: $_model.ListRecognitionLibsRequest): Promise<$_model.ListRecognitionLibsResponse>; /** * Retrieves all samples of a custom entity. Pagination is supported. * * @remarks * - This API is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - You can call this operation up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. * * @param request - ListRecognitionSamplesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListRecognitionSamplesResponse */ listRecognitionSamplesWithOptions(request: $_model.ListRecognitionSamplesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListRecognitionSamplesResponse>; /** * Retrieves all samples of a custom entity. Pagination is supported. * * @remarks * - This API is supported only in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions. * - You can call this operation up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions. * * @param request - ListRecognitionSamplesRequest * @returns ListRecognitionSamplesResponse */ listRecognitionSamples(request: $_model.ListRecognitionSamplesRequest): Promise<$_model.ListRecognitionSamplesResponse>; /** * Lists the program schedule of a MediaWeaver channel. * * @param request - ListSchedulesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSchedulesResponse */ listSchedulesWithOptions(request: $_model.ListSchedulesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSchedulesResponse>; /** * Lists the program schedule of a MediaWeaver channel. * * @param request - ListSchedulesRequest * @returns ListSchedulesResponse */ listSchedules(request: $_model.ListSchedulesRequest): Promise<$_model.ListSchedulesResponse>; /** * Retrieves a list of search libraries. * * @param request - ListSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSearchLibResponse */ listSearchLibWithOptions(request: $_model.ListSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSearchLibResponse>; /** * Retrieves a list of search libraries. * * @param request - ListSearchLibRequest * @returns ListSearchLibResponse */ listSearchLib(request: $_model.ListSearchLibRequest): Promise<$_model.ListSearchLibResponse>; /** * Queries a list of intelligent jobs based on specified parameters. * * @param request - ListSmartJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSmartJobsResponse */ listSmartJobsWithOptions(request: $_model.ListSmartJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSmartJobsResponse>; /** * Queries a list of intelligent jobs based on specified parameters. * * @param request - ListSmartJobsRequest * @returns ListSmartJobsResponse */ listSmartJobs(request: $_model.ListSmartJobsRequest): Promise<$_model.ListSmartJobsResponse>; /** * Retrieves a paginated list of system digital avatars. * * @param request - ListSmartSysAvatarModelsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSmartSysAvatarModelsResponse */ listSmartSysAvatarModelsWithOptions(request: $_model.ListSmartSysAvatarModelsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSmartSysAvatarModelsResponse>; /** * Retrieves a paginated list of system digital avatars. * * @param request - ListSmartSysAvatarModelsRequest * @returns ListSmartSysAvatarModelsResponse */ listSmartSysAvatarModels(request: $_model.ListSmartSysAvatarModelsRequest): Promise<$_model.ListSmartSysAvatarModelsResponse>; /** * Retrieves a list of available smart voices, including their names, genders, and sample audio. The voices are grouped by scenario. * * @param request - ListSmartVoiceGroupsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSmartVoiceGroupsResponse */ listSmartVoiceGroupsWithOptions(request: $_model.ListSmartVoiceGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSmartVoiceGroupsResponse>; /** * Retrieves a list of available smart voices, including their names, genders, and sample audio. The voices are grouped by scenario. * * @param request - ListSmartVoiceGroupsRequest * @returns ListSmartVoiceGroupsResponse */ listSmartVoiceGroups(request: $_model.ListSmartVoiceGroupsRequest): Promise<$_model.ListSmartVoiceGroupsResponse>; /** * Queries a list of snapshot jobs. * * @param request - ListSnapshotJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSnapshotJobsResponse */ listSnapshotJobsWithOptions(request: $_model.ListSnapshotJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSnapshotJobsResponse>; /** * Queries a list of snapshot jobs. * * @param request - ListSnapshotJobsRequest * @returns ListSnapshotJobsResponse */ listSnapshotJobs(request: $_model.ListSnapshotJobsRequest): Promise<$_model.ListSnapshotJobsResponse>; /** * Lists source locations. * * @param request - ListSourceLocationsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSourceLocationsResponse */ listSourceLocationsWithOptions(request: $_model.ListSourceLocationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSourceLocationsResponse>; /** * Lists source locations. * * @param request - ListSourceLocationsRequest * @returns ListSourceLocationsResponse */ listSourceLocations(request: $_model.ListSourceLocationsRequest): Promise<$_model.ListSourceLocationsResponse>; /** * Lists sources in MediaWeaver. * * @param request - ListSourcesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSourcesResponse */ listSourcesWithOptions(request: $_model.ListSourcesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSourcesResponse>; /** * Lists sources in MediaWeaver. * * @param request - ListSourcesRequest * @returns ListSourcesResponse */ listSources(request: $_model.ListSourcesRequest): Promise<$_model.ListSourcesResponse>; /** * Queries a list of system templates. * * @remarks * Template types: * 1. 1: transcoding template. * 2. 2: snapshot template. * 3. 3: animated image template. * 4. 4\\. image watermark template. * 5. 5: text watermark template. * 6. 6: subtitle template. * 7. 7: AI-assisted content moderation template. * 8. 8: AI-assisted intelligent thumbnail template. * 9. 9: AI-assisted intelligent erasure template. * Subtypes of transcoding templates: * 1. 1 (Normal): regular template. * 2. 2 (AudioTranscode): audio transcoding template. * 3. 3 (Remux): container format conversion template. * 4. 4 (NarrowBandV1): Narrowband HD 1.0 template. * 5. 5 (NarrowBandV2): Narrowband HD 2.0 template. * Subtypes of snapshot templates: * 1. 1 (Normal): regular template. * 2. 2 (Sprite): sprite template. * 3. 3 (WebVtt): WebVTT template. * Subtypes of AI-assisted content moderation templates: * 1. 1 (Video): video moderation template. * 2. 2 (Audio): audio moderation template. * 3. 3 (Image): image moderation template. * Subtypes of AI-assisted intelligent erasure templates: * 1. 1 (VideoDelogo): logo erasure template. * 2. 2 (VideoDetext): subtitle erasure template. * * @param request - ListSystemTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListSystemTemplatesResponse */ listSystemTemplatesWithOptions(request: $_model.ListSystemTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSystemTemplatesResponse>; /** * Queries a list of system templates. * * @remarks * Template types: * 1. 1: transcoding template. * 2. 2: snapshot template. * 3. 3: animated image template. * 4. 4\\. image watermark template. * 5. 5: text watermark template. * 6. 6: subtitle template. * 7. 7: AI-assisted content moderation template. * 8. 8: AI-assisted intelligent thumbnail template. * 9. 9: AI-assisted intelligent erasure template. * Subtypes of transcoding templates: * 1. 1 (Normal): regular template. * 2. 2 (AudioTranscode): audio transcoding template. * 3. 3 (Remux): container format conversion template. * 4. 4 (NarrowBandV1): Narrowband HD 1.0 template. * 5. 5 (NarrowBandV2): Narrowband HD 2.0 template. * Subtypes of snapshot templates: * 1. 1 (Normal): regular template. * 2. 2 (Sprite): sprite template. * 3. 3 (WebVtt): WebVTT template. * Subtypes of AI-assisted content moderation templates: * 1. 1 (Video): video moderation template. * 2. 2 (Audio): audio moderation template. * 3. 3 (Image): image moderation template. * Subtypes of AI-assisted intelligent erasure templates: * 1. 1 (VideoDelogo): logo erasure template. * 2. 2 (VideoDetext): subtitle erasure template. * * @param request - ListSystemTemplatesRequest * @returns ListSystemTemplatesResponse */ listSystemTemplates(request: $_model.ListSystemTemplatesRequest): Promise<$_model.ListSystemTemplatesResponse>; /** * Queries a list of templates that meet the specified conditions. You can query templates based on information such as the template status and creation source. * * @remarks * A template is an encapsulation of the timeline of a media editing and production job. You can define a common timeline as a template. When you have the same requirements, you need to only specify key parameters and materials to produce videos. * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - ListTemplatesRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListTemplatesResponse */ listTemplatesWithOptions(request: $_model.ListTemplatesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTemplatesResponse>; /** * Queries a list of templates that meet the specified conditions. You can query templates based on information such as the template status and creation source. * * @remarks * A template is an encapsulation of the timeline of a media editing and production job. You can define a common timeline as a template. When you have the same requirements, you need to only specify key parameters and materials to produce videos. * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - ListTemplatesRequest * @returns ListTemplatesResponse */ listTemplates(request: $_model.ListTemplatesRequest): Promise<$_model.ListTemplatesResponse>; /** * Lists the transcoding jobs for a media file. * * @param request - ListTranscodeJobsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListTranscodeJobsResponse */ listTranscodeJobsWithOptions(request: $_model.ListTranscodeJobsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTranscodeJobsResponse>; /** * Lists the transcoding jobs for a media file. * * @param request - ListTranscodeJobsRequest * @returns ListTranscodeJobsResponse */ listTranscodeJobs(request: $_model.ListTranscodeJobsRequest): Promise<$_model.ListTranscodeJobsResponse>; /** * Lists VOD packaging assets. * * @param request - ListVodPackagingAssetsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListVodPackagingAssetsResponse */ listVodPackagingAssetsWithOptions(request: $_model.ListVodPackagingAssetsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListVodPackagingAssetsResponse>; /** * Lists VOD packaging assets. * * @param request - ListVodPackagingAssetsRequest * @returns ListVodPackagingAssetsResponse */ listVodPackagingAssets(request: $_model.ListVodPackagingAssetsRequest): Promise<$_model.ListVodPackagingAssetsResponse>; /** * Lists VOD packaging configurations. * * @param request - ListVodPackagingConfigurationsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListVodPackagingConfigurationsResponse */ listVodPackagingConfigurationsWithOptions(request: $_model.ListVodPackagingConfigurationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListVodPackagingConfigurationsResponse>; /** * Lists VOD packaging configurations. * * @param request - ListVodPackagingConfigurationsRequest * @returns ListVodPackagingConfigurationsResponse */ listVodPackagingConfigurations(request: $_model.ListVodPackagingConfigurationsRequest): Promise<$_model.ListVodPackagingConfigurationsResponse>; /** * Lists VOD packaging groups. * * @param request - ListVodPackagingGroupsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListVodPackagingGroupsResponse */ listVodPackagingGroupsWithOptions(request: $_model.ListVodPackagingGroupsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListVodPackagingGroupsResponse>; /** * Lists VOD packaging groups. * * @param request - ListVodPackagingGroupsRequest * @returns ListVodPackagingGroupsResponse */ listVodPackagingGroups(request: $_model.ListVodPackagingGroupsRequest): Promise<$_model.ListVodPackagingGroupsResponse>; /** * Retrieves workflow tasks. * * @remarks * This API only returns data from the last 90 days. * * @param request - ListWorkflowTasksRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListWorkflowTasksResponse */ listWorkflowTasksWithOptions(request: $_model.ListWorkflowTasksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListWorkflowTasksResponse>; /** * Retrieves workflow tasks. * * @remarks * This API only returns data from the last 90 days. * * @param request - ListWorkflowTasksRequest * @returns ListWorkflowTasksResponse */ listWorkflowTasks(request: $_model.ListWorkflowTasksRequest): Promise<$_model.ListWorkflowTasksResponse>; /** * Retrieves a list of Yike folders. * * @param request - ListYikeAssetFoldersRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListYikeAssetFoldersResponse */ listYikeAssetFoldersWithOptions(request: $_model.ListYikeAssetFoldersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListYikeAssetFoldersResponse>; /** * Retrieves a list of Yike folders. * * @param request - ListYikeAssetFoldersRequest * @returns ListYikeAssetFoldersResponse */ listYikeAssetFolders(request: $_model.ListYikeAssetFoldersRequest): Promise<$_model.ListYikeAssetFoldersResponse>; /** * Queries the list of Yike projects. * * @param request - ListYikeProductionsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ListYikeProductionsResponse */ listYikeProductionsWithOptions(request: $_model.ListYikeProductionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListYikeProductionsResponse>; /** * Queries the list of Yike projects. * * @param request - ListYikeProductionsRequest * @returns ListYikeProductionsResponse */ listYikeProductions(request: $_model.ListYikeProductionsRequest): Promise<$_model.ListYikeProductionsResponse>; /** * Enables Source Failover for a MediaConnect flow. * * @remarks * - Before this operation, you must add a source to the flow. * - After Source Failover is enabled, you can add an additional source. The input type of the two sources must be identical. * * @param request - OpenMediaConnectFlowFailoverRequest * @param runtime - runtime options for this request RuntimeOptions * @returns OpenMediaConnectFlowFailoverResponse */ openMediaConnectFlowFailoverWithOptions(request: $_model.OpenMediaConnectFlowFailoverRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OpenMediaConnectFlowFailoverResponse>; /** * Enables Source Failover for a MediaConnect flow. * * @remarks * - Before this operation, you must add a source to the flow. * - After Source Failover is enabled, you can add an additional source. The input type of the two sources must be identical. * * @param request - OpenMediaConnectFlowFailoverRequest * @returns OpenMediaConnectFlowFailoverResponse */ openMediaConnectFlowFailover(request: $_model.OpenMediaConnectFlowFailoverRequest): Promise<$_model.OpenMediaConnectFlowFailoverResponse>; /** * Validates the parameters of an application. * * @param request - PrecheckYikeAIAppJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns PrecheckYikeAIAppJobResponse */ precheckYikeAIAppJobWithOptions(request: $_model.PrecheckYikeAIAppJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.PrecheckYikeAIAppJobResponse>; /** * Validates the parameters of an application. * * @param request - PrecheckYikeAIAppJobRequest * @returns PrecheckYikeAIAppJobResponse */ precheckYikeAIAppJob(request: $_model.PrecheckYikeAIAppJobRequest): Promise<$_model.PrecheckYikeAIAppJobResponse>; /** * Queries a job for extracting a copyright watermark. * * @param request - QueryCopyrightExtractJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryCopyrightExtractJobResponse */ queryCopyrightExtractJobWithOptions(request: $_model.QueryCopyrightExtractJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryCopyrightExtractJobResponse>; /** * Queries a job for extracting a copyright watermark. * * @param request - QueryCopyrightExtractJobRequest * @returns QueryCopyrightExtractJobResponse */ queryCopyrightExtractJob(request: $_model.QueryCopyrightExtractJobRequest): Promise<$_model.QueryCopyrightExtractJobResponse>; /** * Queries copyright watermarking jobs. * * @remarks * - This operation is supported only in the China (Shanghai) and China (Beijing) regions. * * @param request - QueryCopyrightJobListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryCopyrightJobListResponse */ queryCopyrightJobListWithOptions(request: $_model.QueryCopyrightJobListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryCopyrightJobListResponse>; /** * Queries copyright watermarking jobs. * * @remarks * - This operation is supported only in the China (Shanghai) and China (Beijing) regions. * * @param request - QueryCopyrightJobListRequest * @returns QueryCopyrightJobListResponse */ queryCopyrightJobList(request: $_model.QueryCopyrightJobListRequest): Promise<$_model.QueryCopyrightJobListResponse>; /** * Queries a list of media fingerprint analysis jobs. * * @param request - QueryDNAJobListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryDNAJobListResponse */ queryDNAJobListWithOptions(request: $_model.QueryDNAJobListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryDNAJobListResponse>; /** * Queries a list of media fingerprint analysis jobs. * * @param request - QueryDNAJobListRequest * @returns QueryDNAJobListResponse */ queryDNAJobList(request: $_model.QueryDNAJobListRequest): Promise<$_model.QueryDNAJobListResponse>; /** * Call `QueryIProductionJob` to get the status and result of an intelligent production job. * * @param request - QueryIProductionJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryIProductionJobResponse */ queryIProductionJobWithOptions(request: $_model.QueryIProductionJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryIProductionJobResponse>; /** * Call `QueryIProductionJob` to get the status and result of an intelligent production job. * * @param request - QueryIProductionJobRequest * @returns QueryIProductionJobResponse */ queryIProductionJob(request: $_model.QueryIProductionJobRequest): Promise<$_model.QueryIProductionJobResponse>; /** * Query IPC usage. * * @param request - QueryIpcQuotaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryIpcQuotaResponse */ queryIpcQuotaWithOptions(request: $_model.QueryIpcQuotaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryIpcQuotaResponse>; /** * Query IPC usage. * * @param request - QueryIpcQuotaRequest * @returns QueryIpcQuotaResponse */ queryIpcQuota(request: $_model.QueryIpcQuotaRequest): Promise<$_model.QueryIpcQuotaResponse>; /** * Queries the information about a content moderation job. * * @remarks * In the content moderation results, the moderation results of the video are sorted in ascending order by time into a timeline. If the video is long, the content moderation results are paginated, and the first page is returned. Call this operation again to query the remaining moderation results of the video. * * @param request - QueryMediaCensorJobDetailRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryMediaCensorJobDetailResponse */ queryMediaCensorJobDetailWithOptions(request: $_model.QueryMediaCensorJobDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryMediaCensorJobDetailResponse>; /** * Queries the information about a content moderation job. * * @remarks * In the content moderation results, the moderation results of the video are sorted in ascending order by time into a timeline. If the video is long, the content moderation results are paginated, and the first page is returned. Call this operation again to query the remaining moderation results of the video. * * @param request - QueryMediaCensorJobDetailRequest * @returns QueryMediaCensorJobDetailResponse */ queryMediaCensorJobDetail(request: $_model.QueryMediaCensorJobDetailRequest): Promise<$_model.QueryMediaCensorJobDetailResponse>; /** * Queries a list of content moderation jobs. * * @remarks * Query only the content moderation jobs within the most recent three months. * * @param request - QueryMediaCensorJobListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryMediaCensorJobListResponse */ queryMediaCensorJobListWithOptions(request: $_model.QueryMediaCensorJobListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryMediaCensorJobListResponse>; /** * Queries a list of content moderation jobs. * * @remarks * Query only the content moderation jobs within the most recent three months. * * @param request - QueryMediaCensorJobListRequest * @returns QueryMediaCensorJobListResponse */ queryMediaCensorJobList(request: $_model.QueryMediaCensorJobListRequest): Promise<$_model.QueryMediaCensorJobListResponse>; /** * Queries the indexing jobs enabled for a media asset. * * @param request - QueryMediaIndexJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryMediaIndexJobResponse */ queryMediaIndexJobWithOptions(request: $_model.QueryMediaIndexJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryMediaIndexJobResponse>; /** * Queries the indexing jobs enabled for a media asset. * * @param request - QueryMediaIndexJobRequest * @returns QueryMediaIndexJobResponse */ queryMediaIndexJob(request: $_model.QueryMediaIndexJobRequest): Promise<$_model.QueryMediaIndexJobResponse>; /** * Gets details about a search index. * * @param request - QuerySearchIndexRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySearchIndexResponse */ querySearchIndexWithOptions(request: $_model.QuerySearchIndexRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySearchIndexResponse>; /** * Gets details about a search index. * * @param request - QuerySearchIndexRequest * @returns QuerySearchIndexResponse */ querySearchIndex(request: $_model.QuerySearchIndexRequest): Promise<$_model.QuerySearchIndexResponse>; /** * Gets information about a search library. * * @param request - QuerySearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySearchLibResponse */ querySearchLibWithOptions(request: $_model.QuerySearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySearchLibResponse>; /** * Gets information about a search library. * * @param request - QuerySearchLibRequest * @returns QuerySearchLibResponse */ querySearchLib(request: $_model.QuerySearchLibRequest): Promise<$_model.QuerySearchLibResponse>; /** * Querying a smart tag task. * * @param request - QuerySmarttagJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QuerySmarttagJobResponse */ querySmarttagJobWithOptions(request: $_model.QuerySmarttagJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySmarttagJobResponse>; /** * Querying a smart tag task. * * @param request - QuerySmarttagJobRequest * @returns QuerySmarttagJobResponse */ querySmarttagJob(request: $_model.QuerySmarttagJobRequest): Promise<$_model.QuerySmarttagJobResponse>; /** * Queries A/B watermarking jobs. * * @remarks * - This operation is supported only in the China (Shanghai) and China (Beijing) regions. * * @param request - QueryTraceAbJobListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryTraceAbJobListResponse */ queryTraceAbJobListWithOptions(request: $_model.QueryTraceAbJobListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryTraceAbJobListResponse>; /** * Queries A/B watermarking jobs. * * @remarks * - This operation is supported only in the China (Shanghai) and China (Beijing) regions. * * @param request - QueryTraceAbJobListRequest * @returns QueryTraceAbJobListResponse */ queryTraceAbJobList(request: $_model.QueryTraceAbJobListRequest): Promise<$_model.QueryTraceAbJobListResponse>; /** * Queries a job for extracting a trace watermark. * * @remarks * This operation is supported only in the China (Shanghai) and China (Beijing) regions. * * @param request - QueryTraceExtractJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryTraceExtractJobResponse */ queryTraceExtractJobWithOptions(request: $_model.QueryTraceExtractJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryTraceExtractJobResponse>; /** * Queries a job for extracting a trace watermark. * * @remarks * This operation is supported only in the China (Shanghai) and China (Beijing) regions. * * @param request - QueryTraceExtractJobRequest * @returns QueryTraceExtractJobResponse */ queryTraceExtractJob(request: $_model.QueryTraceExtractJobRequest): Promise<$_model.QueryTraceExtractJobResponse>; /** * Queries jobs for generating M3U8 files containing specific trace watermark information. * * @remarks * - This operation is supported only in the China (Shanghai) and China (Beijing) regions. * - The M3U8 file with absolute paths generated by the SubmitTraceM3u8Job API has a signed URL with an authentication validity period of 24 hours, starting from the moment the job is completed. After the signature expires, the M3U8 file will become inaccessible. You must submit a new M3U8 generation job. * * @param request - QueryTraceM3u8JobListRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryTraceM3u8JobListResponse */ queryTraceM3u8JobListWithOptions(request: $_model.QueryTraceM3u8JobListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryTraceM3u8JobListResponse>; /** * Queries jobs for generating M3U8 files containing specific trace watermark information. * * @remarks * - This operation is supported only in the China (Shanghai) and China (Beijing) regions. * - The M3U8 file with absolute paths generated by the SubmitTraceM3u8Job API has a signed URL with an authentication validity period of 24 hours, starting from the moment the job is completed. After the signature expires, the M3U8 file will become inaccessible. You must submit a new M3U8 generation job. * * @param request - QueryTraceM3u8JobListRequest * @returns QueryTraceM3u8JobListResponse */ queryTraceM3u8JobList(request: $_model.QueryTraceM3u8JobListRequest): Promise<$_model.QueryTraceM3u8JobListResponse>; /** * Querying video understanding task results * * @param tmpReq - QueryVideoCognitionJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns QueryVideoCognitionJobResponse */ queryVideoCognitionJobWithOptions(tmpReq: $_model.QueryVideoCognitionJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryVideoCognitionJobResponse>; /** * Querying video understanding task results * * @param request - QueryVideoCognitionJobRequest * @returns QueryVideoCognitionJobResponse */ queryVideoCognitionJob(request: $_model.QueryVideoCognitionJobRequest): Promise<$_model.QueryVideoCognitionJobResponse>; /** * Obtain a new upload credential for a media asset after its upload credential expires. * * @param request - RefreshUploadMediaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RefreshUploadMediaResponse */ refreshUploadMediaWithOptions(request: $_model.RefreshUploadMediaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RefreshUploadMediaResponse>; /** * Obtain a new upload credential for a media asset after its upload credential expires. * * @param request - RefreshUploadMediaRequest * @returns RefreshUploadMediaResponse */ refreshUploadMedia(request: $_model.RefreshUploadMediaRequest): Promise<$_model.RefreshUploadMediaResponse>; /** * Registers a media asset with Intelligent Media Services (IMS). IMS assigns an ID to the media asset. This operation asynchronously accesses the media asset service in which the media asset is stored to obtain the file information of the media asset based on the input URL. You can also specify basic information, such as the title, tags, and description, for the media asset. This operation returns the ID of the media asset. You can call the GetMediaInfo operation based on the ID to query the details of the media asset. You can set InputURL only to the URL of an Object Storage Service (OSS) file or an ApsaraVideo VOD media asset. * * @remarks * Registering a media asset is an asynchronous job that takes 2 to 3 seconds. When the operation returns the ID of the media asset, the registration may have not be completed. If you call the [GetMediaInfo](https://help.aliyun.com/document_detail/441155.html) operation at this time, you may fail to obtain the information about the media asset. * * @param request - RegisterMediaInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RegisterMediaInfoResponse */ registerMediaInfoWithOptions(request: $_model.RegisterMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RegisterMediaInfoResponse>; /** * Registers a media asset with Intelligent Media Services (IMS). IMS assigns an ID to the media asset. This operation asynchronously accesses the media asset service in which the media asset is stored to obtain the file information of the media asset based on the input URL. You can also specify basic information, such as the title, tags, and description, for the media asset. This operation returns the ID of the media asset. You can call the GetMediaInfo operation based on the ID to query the details of the media asset. You can set InputURL only to the URL of an Object Storage Service (OSS) file or an ApsaraVideo VOD media asset. * * @remarks * Registering a media asset is an asynchronous job that takes 2 to 3 seconds. When the operation returns the ID of the media asset, the registration may have not be completed. If you call the [GetMediaInfo](https://help.aliyun.com/document_detail/441155.html) operation at this time, you may fail to obtain the information about the media asset. * * @param request - RegisterMediaInfoRequest * @returns RegisterMediaInfoResponse */ registerMediaInfo(request: $_model.RegisterMediaInfoRequest): Promise<$_model.RegisterMediaInfoResponse>; /** * Registers a media stream file stored in OSS with the media service and attaches the media stream to a specified MediaId. * * @param request - RegisterMediaStreamRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RegisterMediaStreamResponse */ registerMediaStreamWithOptions(request: $_model.RegisterMediaStreamRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RegisterMediaStreamResponse>; /** * Registers a media stream file stored in OSS with the media service and attaches the media stream to a specified MediaId. * * @param request - RegisterMediaStreamRequest * @returns RegisterMediaStreamResponse */ registerMediaStream(request: $_model.RegisterMediaStreamRequest): Promise<$_model.RegisterMediaStreamResponse>; /** * Registers a media asset in the asset library. * * @param request - RegisterYikeAssetMediaInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns RegisterYikeAssetMediaInfoResponse */ registerYikeAssetMediaInfoWithOptions(request: $_model.RegisterYikeAssetMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RegisterYikeAssetMediaInfoResponse>; /** * Registers a media asset in the asset library. * * @param request - RegisterYikeAssetMediaInfoRequest * @returns RegisterYikeAssetMediaInfoResponse */ registerYikeAssetMediaInfo(request: $_model.RegisterYikeAssetMediaInfoRequest): Promise<$_model.RegisterYikeAssetMediaInfoResponse>; /** * Resumes an output of a MediaConnect flow. When resumed, the output can deliver the live stream to the destination. * * @param request - ResumeMediaConnectFlowOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ResumeMediaConnectFlowOutputResponse */ resumeMediaConnectFlowOutputWithOptions(request: $_model.ResumeMediaConnectFlowOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeMediaConnectFlowOutputResponse>; /** * Resumes an output of a MediaConnect flow. When resumed, the output can deliver the live stream to the destination. * * @param request - ResumeMediaConnectFlowOutputRequest * @returns ResumeMediaConnectFlowOutputResponse */ resumeMediaConnectFlowOutput(request: $_model.ResumeMediaConnectFlowOutputRequest): Promise<$_model.ResumeMediaConnectFlowOutputResponse>; /** * Resumes a storyboard job. * * @param request - ResumeYikeStoryboardJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns ResumeYikeStoryboardJobResponse */ resumeYikeStoryboardJobWithOptions(request: $_model.ResumeYikeStoryboardJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResumeYikeStoryboardJobResponse>; /** * Resumes a storyboard job. * * @param request - ResumeYikeStoryboardJobRequest * @returns ResumeYikeStoryboardJobResponse */ resumeYikeStoryboardJob(request: $_model.ResumeYikeStoryboardJobRequest): Promise<$_model.ResumeYikeStoryboardJobResponse>; /** * Queries online editing projects by creation time and status. * * @param request - SearchEditingProjectRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchEditingProjectResponse */ searchEditingProjectWithOptions(request: $_model.SearchEditingProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchEditingProjectResponse>; /** * Queries online editing projects by creation time and status. * * @param request - SearchEditingProjectRequest * @returns SearchEditingProjectResponse */ searchEditingProject(request: $_model.SearchEditingProjectRequest): Promise<$_model.SearchEditingProjectResponse>; /** * Rerun the search index jobs for the specified media assets in batch. You can rerun index jobs for up to 20 media assets per request. * * @param request - SearchIndexJobRerunRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchIndexJobRerunResponse */ searchIndexJobRerunWithOptions(request: $_model.SearchIndexJobRerunRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchIndexJobRerunResponse>; /** * Rerun the search index jobs for the specified media assets in batch. You can rerun index jobs for up to 20 media assets per request. * * @param request - SearchIndexJobRerunRequest * @returns SearchIndexJobRerunResponse */ searchIndexJobRerun(request: $_model.SearchIndexJobRerunRequest): Promise<$_model.SearchIndexJobRerunResponse>; /** * Returns media assets that match the specified conditions. * * @remarks * If you have any questions about the multi-modal search feature, join our DingTalk group (ID: 30415005038) for assistance. * * @param request - SearchMediaRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchMediaResponse */ searchMediaWithOptions(request: $_model.SearchMediaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMediaResponse>; /** * Returns media assets that match the specified conditions. * * @remarks * If you have any questions about the multi-modal search feature, join our DingTalk group (ID: 30415005038) for assistance. * * @param request - SearchMediaRequest * @returns SearchMediaResponse */ searchMedia(request: $_model.SearchMediaRequest): Promise<$_model.SearchMediaResponse>; /** * You can perform multimodal search based on person names, captions, and AI categorization. * * @remarks * You can perform multimodal search based on person names, captions, and AI categorization. Coarse search supports returning results at the media asset granularity, while fine search supports returning hit segment information within media assets. * * @param request - SearchMediaByAILabelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchMediaByAILabelResponse */ searchMediaByAILabelWithOptions(request: $_model.SearchMediaByAILabelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMediaByAILabelResponse>; /** * You can perform multimodal search based on person names, captions, and AI categorization. * * @remarks * You can perform multimodal search based on person names, captions, and AI categorization. Coarse search supports returning results at the media asset granularity, while fine search supports returning hit segment information within media assets. * * @param request - SearchMediaByAILabelRequest * @returns SearchMediaByAILabelResponse */ searchMediaByAILabel(request: $_model.SearchMediaByAILabelRequest): Promise<$_model.SearchMediaByAILabelResponse>; /** * Search media assets by face image (coarse search). Input a face image to retrieve information about media assets containing the person in the image. * * @remarks * For questions about using or troubleshooting the Intelligent Media Asset Search feature of Alibaba Cloud Intelligent Media Services, search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer Support DingTalk group to contact us. * * @param request - SearchMediaByFaceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchMediaByFaceResponse */ searchMediaByFaceWithOptions(request: $_model.SearchMediaByFaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMediaByFaceResponse>; /** * Search media assets by face image (coarse search). Input a face image to retrieve information about media assets containing the person in the image. * * @remarks * For questions about using or troubleshooting the Intelligent Media Asset Search feature of Alibaba Cloud Intelligent Media Services, search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer Support DingTalk group to contact us. * * @param request - SearchMediaByFaceRequest * @returns SearchMediaByFaceResponse */ searchMediaByFace(request: $_model.SearchMediaByFaceRequest): Promise<$_model.SearchMediaByFaceResponse>; /** * Hybrid media asset search. Combines the text search capability of DataQ - Smart Tag Service and the LLM-based search capability to perform multi-channel recall, allowing users to search using natural language descriptions. * * @remarks * For questions about or assistance with the Intelligent Media Services intelligent media asset search feature on Alibaba Cloud, please search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer support DingTalk group to contact us. * * @param request - SearchMediaByHybridRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchMediaByHybridResponse */ searchMediaByHybridWithOptions(request: $_model.SearchMediaByHybridRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMediaByHybridResponse>; /** * Hybrid media asset search. Combines the text search capability of DataQ - Smart Tag Service and the LLM-based search capability to perform multi-channel recall, allowing users to search using natural language descriptions. * * @remarks * For questions about or assistance with the Intelligent Media Services intelligent media asset search feature on Alibaba Cloud, please search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer support DingTalk group to contact us. * * @param request - SearchMediaByHybridRequest * @returns SearchMediaByHybridResponse */ searchMediaByHybrid(request: $_model.SearchMediaByHybridRequest): Promise<$_model.SearchMediaByHybridResponse>; /** * LLM search. You can use natural language descriptions to perform searches. * * @remarks * For questions about the Intelligent Media Services intelligent media asset search feature or related issues, search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer support DingTalk group to contact us. * * @param request - SearchMediaByMultimodalRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchMediaByMultimodalResponse */ searchMediaByMultimodalWithOptions(request: $_model.SearchMediaByMultimodalRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMediaByMultimodalResponse>; /** * LLM search. You can use natural language descriptions to perform searches. * * @remarks * For questions about the Intelligent Media Services intelligent media asset search feature or related issues, search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer support DingTalk group to contact us. * * @param request - SearchMediaByMultimodalRequest * @returns SearchMediaByMultimodalResponse */ searchMediaByMultimodal(request: $_model.SearchMediaByMultimodalRequest): Promise<$_model.SearchMediaByMultimodalResponse>; /** * The API for searching media asset segments by face image (fine search) returns information about relevant character segments in the media asset where the face appears, based on coarse search results. * * @remarks * For questions about using or troubleshooting the Intelligent Media Search feature of Alibaba Cloud Intelligent Media Services, please search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer Support DingTalk group to contact us. * * @param request - SearchMediaClipByFaceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchMediaClipByFaceResponse */ searchMediaClipByFaceWithOptions(request: $_model.SearchMediaClipByFaceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMediaClipByFaceResponse>; /** * The API for searching media asset segments by face image (fine search) returns information about relevant character segments in the media asset where the face appears, based on coarse search results. * * @remarks * For questions about using or troubleshooting the Intelligent Media Search feature of Alibaba Cloud Intelligent Media Services, please search for the DingTalk group (30415005038) and join the Intelligent Media Services multimodal search Customer Support DingTalk group to contact us. * * @param request - SearchMediaClipByFaceRequest * @returns SearchMediaClipByFaceResponse */ searchMediaClipByFace(request: $_model.SearchMediaClipByFaceRequest): Promise<$_model.SearchMediaClipByFaceResponse>; /** * Search for media assets that meet the conditions based on the parameters provided by the User. * * @param request - SearchPublicMediaInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SearchPublicMediaInfoResponse */ searchPublicMediaInfoWithOptions(request: $_model.SearchPublicMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchPublicMediaInfoResponse>; /** * Search for media assets that meet the conditions based on the parameters provided by the User. * * @param request - SearchPublicMediaInfoRequest * @returns SearchPublicMediaInfoResponse */ searchPublicMediaInfo(request: $_model.SearchPublicMediaInfoRequest): Promise<$_model.SearchPublicMediaInfoResponse>; /** * Sends a DataChannel message to an AI agent. * * @param request - SendAIAgentDataChannelMessageRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SendAIAgentDataChannelMessageResponse */ sendAIAgentDataChannelMessageWithOptions(request: $_model.SendAIAgentDataChannelMessageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendAIAgentDataChannelMessageResponse>; /** * Sends a DataChannel message to an AI agent. * * @param request - SendAIAgentDataChannelMessageRequest * @returns SendAIAgentDataChannelMessageResponse */ sendAIAgentDataChannelMessage(request: $_model.SendAIAgentDataChannelMessageRequest): Promise<$_model.SendAIAgentDataChannelMessageResponse>; /** * Instructs a specified agent instance to immediately play back a text message, with support for interrupt settings. * * @remarks * You can use this API to immediately instruct an AI agent instance to perform voice playback by passing in the specified text content. You can optionally allow this playback to interrupt any currently playing audio. By default, interruption is allowed. * **Note:** * - The `InstanceId` must be valid and correspond to an existing agent instance. * - The `Text` content must comply with specifications and must not contain sensitive or inappropriate information. * - If you do not want the new playback to interrupt the current audio, you must explicitly set `EnableInterrupt` to `false`. * * @param request - SendAIAgentSpeechRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SendAIAgentSpeechResponse */ sendAIAgentSpeechWithOptions(request: $_model.SendAIAgentSpeechRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendAIAgentSpeechResponse>; /** * Instructs a specified agent instance to immediately play back a text message, with support for interrupt settings. * * @remarks * You can use this API to immediately instruct an AI agent instance to perform voice playback by passing in the specified text content. You can optionally allow this playback to interrupt any currently playing audio. By default, interruption is allowed. * **Note:** * - The `InstanceId` must be valid and correspond to an existing agent instance. * - The `Text` content must comply with specifications and must not contain sensitive or inappropriate information. * - If you do not want the new playback to interrupt the current audio, you must explicitly set `EnableInterrupt` to `false`. * * @param request - SendAIAgentSpeechRequest * @returns SendAIAgentSpeechResponse */ sendAIAgentSpeech(request: $_model.SendAIAgentSpeechRequest): Promise<$_model.SendAIAgentSpeechResponse>; /** * Sends a message as input to the large language model (LLM). * * @param request - SendAIAgentTextRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SendAIAgentTextResponse */ sendAIAgentTextWithOptions(request: $_model.SendAIAgentTextRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendAIAgentTextResponse>; /** * Sends a message as input to the large language model (LLM). * * @param request - SendAIAgentTextRequest * @returns SendAIAgentTextResponse */ sendAIAgentText(request: $_model.SendAIAgentTextRequest): Promise<$_model.SendAIAgentTextResponse>; /** * Sends a command to process a live stream snapshot job. * * @param request - SendLiveSnapshotJobCommandRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SendLiveSnapshotJobCommandResponse */ sendLiveSnapshotJobCommandWithOptions(request: $_model.SendLiveSnapshotJobCommandRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendLiveSnapshotJobCommandResponse>; /** * Sends a command to process a live stream snapshot job. * * @param request - SendLiveSnapshotJobCommandRequest * @returns SendLiveSnapshotJobCommandResponse */ sendLiveSnapshotJobCommand(request: $_model.SendLiveSnapshotJobCommandRequest): Promise<$_model.SendLiveSnapshotJobCommandResponse>; /** * Sends a command to process a live stream transcoding job. * * @param request - SendLiveTranscodeJobCommandRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SendLiveTranscodeJobCommandResponse */ sendLiveTranscodeJobCommandWithOptions(request: $_model.SendLiveTranscodeJobCommandRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendLiveTranscodeJobCommandResponse>; /** * Sends a command to process a live stream transcoding job. * * @param request - SendLiveTranscodeJobCommandRequest * @returns SendLiveTranscodeJobCommandResponse */ sendLiveTranscodeJobCommand(request: $_model.SendLiveTranscodeJobCommandRequest): Promise<$_model.SendLiveTranscodeJobCommandResponse>; /** * Sends a message to the client. * * @param request - SendMessageChatTextRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SendMessageChatTextResponse */ sendMessageChatTextWithOptions(request: $_model.SendMessageChatTextRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SendMessageChatTextResponse>; /** * Sends a message to the client. * * @param request - SendMessageChatTextRequest * @returns SendMessageChatTextResponse */ sendMessageChatText(request: $_model.SendMessageChatTextRequest): Promise<$_model.SendMessageChatTextResponse>; /** * Registers a voiceprint. * * @param tmpReq - SetAIAgentVoiceprintRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetAIAgentVoiceprintResponse */ setAIAgentVoiceprintWithOptions(tmpReq: $_model.SetAIAgentVoiceprintRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetAIAgentVoiceprintResponse>; /** * Registers a voiceprint. * * @param request - SetAIAgentVoiceprintRequest * @returns SetAIAgentVoiceprintResponse */ setAIAgentVoiceprint(request: $_model.SetAIAgentVoiceprintRequest): Promise<$_model.SetAIAgentVoiceprintResponse>; /** * Configures settings for Intelligent Content Analysis. * * @param request - SetContentAnalyzeConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetContentAnalyzeConfigResponse */ setContentAnalyzeConfigWithOptions(request: $_model.SetContentAnalyzeConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetContentAnalyzeConfigResponse>; /** * Configures settings for Intelligent Content Analysis. * * @param request - SetContentAnalyzeConfigRequest * @returns SetContentAnalyzeConfigResponse */ setContentAnalyzeConfig(request: $_model.SetContentAnalyzeConfigRequest): Promise<$_model.SetContentAnalyzeConfigResponse>; /** * Sets a custom template as the default template. * * @param request - SetDefaultCustomTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetDefaultCustomTemplateResponse */ setDefaultCustomTemplateWithOptions(request: $_model.SetDefaultCustomTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetDefaultCustomTemplateResponse>; /** * Sets a custom template as the default template. * * @param request - SetDefaultCustomTemplateRequest * @returns SetDefaultCustomTemplateResponse */ setDefaultCustomTemplate(request: $_model.SetDefaultCustomTemplateRequest): Promise<$_model.SetDefaultCustomTemplateResponse>; /** * Set the default storage path for temporary files. The default storage address is used by the ICE online editor and the integrated web SDK to store temporary files generated during video editing, such as audio files generated by Intelligent configurations. Setting a default storage address avoids inconveniencing users who would otherwise need to specify storage paths for various temporary resources during editing. If you integrate ICE editing capabilities through an API, you can flexibly specify the path in the API request, and this default path will not take effect. * * @remarks * - Intelligent Media Services supports storage in either Object Storage Service or ApsaraVideo VOD. Activate the corresponding service based on your required storage type. The differences between the two are as follows: * - **ApsaraVideo VOD storage**: ApsaraVideo VOD provides an all-in-one audio and video solution, including video storage, media asset management, and CDN-based playback. When storing media assets in ApsaraVideo VOD, Intelligent Media Services enhances VOD capabilities, enabling rapid development and publishing of video applications using VOD-provided APIs. * - **Object Storage**: Object Storage Service (OSS) is Alibaba Cloud’s secure, low-cost, highly durable, and scalable cloud storage service. You can leverage the combined capabilities of Intelligent Media Services and OSS to develop audio and video applications for diverse scenarios. * - You can also configure the storage address in the console. For details, see [Configure Storage Address](https://help.aliyun.com/document_detail/609918.html). * - Storage fees are billed through OSS or ApsaraVideo VOD based on your configured storage address. For details, see [Media Asset Storage Billing](https://help.aliyun.com/document_detail/440701.html). * * @param request - SetDefaultStorageLocationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetDefaultStorageLocationResponse */ setDefaultStorageLocationWithOptions(request: $_model.SetDefaultStorageLocationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetDefaultStorageLocationResponse>; /** * Set the default storage path for temporary files. The default storage address is used by the ICE online editor and the integrated web SDK to store temporary files generated during video editing, such as audio files generated by Intelligent configurations. Setting a default storage address avoids inconveniencing users who would otherwise need to specify storage paths for various temporary resources during editing. If you integrate ICE editing capabilities through an API, you can flexibly specify the path in the API request, and this default path will not take effect. * * @remarks * - Intelligent Media Services supports storage in either Object Storage Service or ApsaraVideo VOD. Activate the corresponding service based on your required storage type. The differences between the two are as follows: * - **ApsaraVideo VOD storage**: ApsaraVideo VOD provides an all-in-one audio and video solution, including video storage, media asset management, and CDN-based playback. When storing media assets in ApsaraVideo VOD, Intelligent Media Services enhances VOD capabilities, enabling rapid development and publishing of video applications using VOD-provided APIs. * - **Object Storage**: Object Storage Service (OSS) is Alibaba Cloud’s secure, low-cost, highly durable, and scalable cloud storage service. You can leverage the combined capabilities of Intelligent Media Services and OSS to develop audio and video applications for diverse scenarios. * - You can also configure the storage address in the console. For details, see [Configure Storage Address](https://help.aliyun.com/document_detail/609918.html). * - Storage fees are billed through OSS or ApsaraVideo VOD based on your configured storage address. For details, see [Media Asset Storage Billing](https://help.aliyun.com/document_detail/440701.html). * * @param request - SetDefaultStorageLocationRequest * @returns SetDefaultStorageLocationResponse */ setDefaultStorageLocation(request: $_model.SetDefaultStorageLocationRequest): Promise<$_model.SetDefaultStorageLocationResponse>; /** * Configures a callback method for one or more events. * * @param request - SetEventCallbackRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetEventCallbackResponse */ setEventCallbackWithOptions(request: $_model.SetEventCallbackRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetEventCallbackResponse>; /** * Configures a callback method for one or more events. * * @param request - SetEventCallbackRequest * @returns SetEventCallbackResponse */ setEventCallback(request: $_model.SetEventCallbackRequest): Promise<$_model.SetEventCallbackResponse>; /** * Enables or disables event notifications for an AI Agent and sets the Callback URL and the Event Types to subscribe to. * * @remarks * ## Description * This operation configures event notification settings for an AI Agent instance. You can enable or disable event notifications, specify the Callback URL, and define the Event Types to subscribe to. You can also provide an Authentication Token for enhanced security. A successful request returns a unique Request ID for tracking and troubleshooting. * * @param request - SetNotifyConfigRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetNotifyConfigResponse */ setNotifyConfigWithOptions(request: $_model.SetNotifyConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetNotifyConfigResponse>; /** * Enables or disables event notifications for an AI Agent and sets the Callback URL and the Event Types to subscribe to. * * @remarks * ## Description * This operation configures event notification settings for an AI Agent instance. You can enable or disable event notifications, specify the Callback URL, and define the Event Types to subscribe to. You can also provide an Authentication Token for enhanced security. A successful request returns a unique Request ID for tracking and troubleshooting. * * @param request - SetNotifyConfigRequest * @returns SetNotifyConfigResponse */ setNotifyConfig(request: $_model.SetNotifyConfigRequest): Promise<$_model.SetNotifyConfigResponse>; /** * Sets a user role. * * @param request - SetYikeUserRoleRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SetYikeUserRoleResponse */ setYikeUserRoleWithOptions(request: $_model.SetYikeUserRoleRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SetYikeUserRoleResponse>; /** * Sets a user role. * * @param request - SetYikeUserRoleRequest * @returns SetYikeUserRoleResponse */ setYikeUserRole(request: $_model.SetYikeUserRoleRequest): Promise<$_model.SetYikeUserRoleResponse>; /** * Start an AI agent instance configured in IMS. * * @remarks * You can use this API to start a configured AI agent instance and join it to a chat. Specify the agent ID (`AIAgentId`), runtime configuration (`RuntimeConfig`), and optionally a template configuration (`TemplateConfig`) and user-defined data (`UserData`). After the agent instance starts successfully, the API returns a unique `InstanceId` for tracking or further operations. * * @param tmpReq - StartAIAgentInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartAIAgentInstanceResponse */ startAIAgentInstanceWithOptions(tmpReq: $_model.StartAIAgentInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartAIAgentInstanceResponse>; /** * Start an AI agent instance configured in IMS. * * @remarks * You can use this API to start a configured AI agent instance and join it to a chat. Specify the agent ID (`AIAgentId`), runtime configuration (`RuntimeConfig`), and optionally a template configuration (`TemplateConfig`) and user-defined data (`UserData`). After the agent instance starts successfully, the API returns a unique `InstanceId` for tracking or further operations. * * @param request - StartAIAgentInstanceRequest * @returns StartAIAgentInstanceResponse */ startAIAgentInstance(request: $_model.StartAIAgentInstanceRequest): Promise<$_model.StartAIAgentInstanceResponse>; /** * Initiates an AI agent outbound call from a specific caller number to a called number and returns the call\\"s InstanceId. * * @remarks * Use this API to start a configured AI agent instance and place an outbound call to a specified called number. Upon successful startup, the API returns a unique `InstanceId` for tracking or subsequent operations. Each caller number supports **up to 15 concurrent calls**. * * @param tmpReq - StartAIAgentOutboundCallRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartAIAgentOutboundCallResponse */ startAIAgentOutboundCallWithOptions(tmpReq: $_model.StartAIAgentOutboundCallRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartAIAgentOutboundCallResponse>; /** * Initiates an AI agent outbound call from a specific caller number to a called number and returns the call\\"s InstanceId. * * @remarks * Use this API to start a configured AI agent instance and place an outbound call to a specified called number. Upon successful startup, the API returns a unique `InstanceId` for tracking or subsequent operations. Each caller number supports **up to 15 concurrent calls**. * * @param request - StartAIAgentOutboundCallRequest * @returns StartAIAgentOutboundCallResponse */ startAIAgentOutboundCall(request: $_model.StartAIAgentOutboundCallRequest): Promise<$_model.StartAIAgentOutboundCallResponse>; /** * Initiates a workflow task for automated media processing based on a workflow template. * * @remarks * - You must specify a workflow template. To create one, go to the [Intelligent Media Services (IMS)](https://ims.console.aliyun.com/ai-workflow/template) console. * * @param request - StartAIWorkflowRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartAIWorkflowResponse */ startAIWorkflowWithOptions(request: $_model.StartAIWorkflowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartAIWorkflowResponse>; /** * Initiates a workflow task for automated media processing based on a workflow template. * * @remarks * - You must specify a workflow template. To create one, go to the [Intelligent Media Services (IMS)](https://ims.console.aliyun.com/ai-workflow/template) console. * * @param request - StartAIWorkflowRequest * @returns StartAIWorkflowResponse */ startAIWorkflow(request: $_model.StartAIWorkflowRequest): Promise<$_model.StartAIWorkflowResponse>; /** * Starts a channel. * * @param request - StartChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartChannelResponse */ startChannelWithOptions(request: $_model.StartChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartChannelResponse>; /** * Starts a channel. * * @param request - StartChannelRequest * @returns StartChannelResponse */ startChannel(request: $_model.StartChannelRequest): Promise<$_model.StartChannelResponse>; /** * Starts a MediaLive channel. * * @remarks * - Starts a channel only when the channel is idle. You cannot start a channel repeatedly. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - StartMediaLiveChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartMediaLiveChannelResponse */ startMediaLiveChannelWithOptions(request: $_model.StartMediaLiveChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartMediaLiveChannelResponse>; /** * Starts a MediaLive channel. * * @remarks * - Starts a channel only when the channel is idle. You cannot start a channel repeatedly. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - StartMediaLiveChannelRequest * @returns StartMediaLiveChannelResponse */ startMediaLiveChannel(request: $_model.StartMediaLiveChannelRequest): Promise<$_model.StartMediaLiveChannelResponse>; /** * Starts an RTC interactive AI agent instance and joins an RTC call. * * @param tmpReq - StartRtcRobotInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartRtcRobotInstanceResponse */ startRtcRobotInstanceWithOptions(tmpReq: $_model.StartRtcRobotInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartRtcRobotInstanceResponse>; /** * Starts an RTC interactive AI agent instance and joins an RTC call. * * @param request - StartRtcRobotInstanceRequest * @returns StartRtcRobotInstanceResponse */ startRtcRobotInstance(request: $_model.StartRtcRobotInstanceRequest): Promise<$_model.StartRtcRobotInstanceResponse>; /** * By invoking the StartWorkflow API, you can submit a media workflow template task to implement an automated media processing flow based on the workflow template. * * @remarks * - Currently, only media assets from Intelligent Media Services or ApsaraVideo VOD are supported as workflow inputs. * - When submitting a flow task, you must specify a workflow template. You can create a workflow template in the [Intelligent Media Services console](https://ims.console.aliyun.com/settings/workflow/list) or use a system preset workflow template. * * @param request - StartWorkflowRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StartWorkflowResponse */ startWorkflowWithOptions(request: $_model.StartWorkflowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartWorkflowResponse>; /** * By invoking the StartWorkflow API, you can submit a media workflow template task to implement an automated media processing flow based on the workflow template. * * @remarks * - Currently, only media assets from Intelligent Media Services or ApsaraVideo VOD are supported as workflow inputs. * - When submitting a flow task, you must specify a workflow template. You can create a workflow template in the [Intelligent Media Services console](https://ims.console.aliyun.com/settings/workflow/list) or use a system preset workflow template. * * @param request - StartWorkflowRequest * @returns StartWorkflowResponse */ startWorkflow(request: $_model.StartWorkflowRequest): Promise<$_model.StartWorkflowResponse>; /** * Stop an agent instance. * * @remarks * - **Feature description**: Stops and terminates a running agent instance and release the associated resources. * - **Parameter notes**: You must provide the unique ID (InstanceId) of the instance to be stopped as a query parameter. * - **Common scenarios**: When an agent is no longer needed for a call or job, you can invoke this API to end its execution. * * @param request - StopAIAgentInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StopAIAgentInstanceResponse */ stopAIAgentInstanceWithOptions(request: $_model.StopAIAgentInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopAIAgentInstanceResponse>; /** * Stop an agent instance. * * @remarks * - **Feature description**: Stops and terminates a running agent instance and release the associated resources. * - **Parameter notes**: You must provide the unique ID (InstanceId) of the instance to be stopped as a query parameter. * - **Common scenarios**: When an agent is no longer needed for a call or job, you can invoke this API to end its execution. * * @param request - StopAIAgentInstanceRequest * @returns StopAIAgentInstanceResponse */ stopAIAgentInstance(request: $_model.StopAIAgentInstanceRequest): Promise<$_model.StopAIAgentInstanceResponse>; /** * Manually stops a workflow task. * * @remarks * This operation is only used to stop workflow tasks in real-time scenarios such as live streaming and RTC. It cannot be used to stop tasks in offline scenarios. * * @param request - StopAIWorkflowTaskRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StopAIWorkflowTaskResponse */ stopAIWorkflowTaskWithOptions(request: $_model.StopAIWorkflowTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopAIWorkflowTaskResponse>; /** * Manually stops a workflow task. * * @remarks * This operation is only used to stop workflow tasks in real-time scenarios such as live streaming and RTC. It cannot be used to stop tasks in offline scenarios. * * @param request - StopAIWorkflowTaskRequest * @returns StopAIWorkflowTaskResponse */ stopAIWorkflowTask(request: $_model.StopAIWorkflowTaskRequest): Promise<$_model.StopAIWorkflowTaskResponse>; /** * Stops a MediaWeaver channel. * * @param request - StopChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StopChannelResponse */ stopChannelWithOptions(request: $_model.StopChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopChannelResponse>; /** * Stops a MediaWeaver channel. * * @param request - StopChannelRequest * @returns StopChannelResponse */ stopChannel(request: $_model.StopChannelRequest): Promise<$_model.StopChannelResponse>; /** * Stops a MediaLive channel. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - StopMediaLiveChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StopMediaLiveChannelResponse */ stopMediaLiveChannelWithOptions(request: $_model.StopMediaLiveChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopMediaLiveChannelResponse>; /** * Stops a MediaLive channel. * * @remarks * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - StopMediaLiveChannelRequest * @returns StopMediaLiveChannelResponse */ stopMediaLiveChannel(request: $_model.StopMediaLiveChannelRequest): Promise<$_model.StopMediaLiveChannelResponse>; /** * Stop an RTC interactive AI agent instance. * * @param request - StopRtcRobotInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns StopRtcRobotInstanceResponse */ stopRtcRobotInstanceWithOptions(request: $_model.StopRtcRobotInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopRtcRobotInstanceResponse>; /** * Stop an RTC interactive AI agent instance. * * @param request - StopRtcRobotInstanceRequest * @returns StopRtcRobotInstanceResponse */ stopRtcRobotInstance(request: $_model.StopRtcRobotInstanceRequest): Promise<$_model.StopRtcRobotInstanceResponse>; /** * Deducts credits from a sub-account. * * @param request - SubYikeUserCreditRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubYikeUserCreditResponse */ subYikeUserCreditWithOptions(request: $_model.SubYikeUserCreditRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubYikeUserCreditResponse>; /** * Deducts credits from a sub-account. * * @param request - SubYikeUserCreditRequest * @returns SubYikeUserCreditResponse */ subYikeUserCredit(request: $_model.SubYikeUserCreditRequest): Promise<$_model.SubYikeUserCreditResponse>; /** * Submits a video to a specified AI agent for content moderation. This operation supports video input from OSS and delivers the results asynchronously via callbacks. You can define custom frame-capturing policies and moderation prompts. * * @remarks * Call SubmitAIAgentVideoAuditTask to submit a video moderation task with configurations such as a video URL, frame-capturing policies, and review interval. The system returns a unique JobId for tracking. When the task is complete, the service will push the results, including the moderation status and AI-generated analysis, to the configured callback URL. Only OSS URLs are supported as input. The underlying multi-modal large language model (MLLM) only supports interaction via the non-streaming OpenAI protocol. * * @param tmpReq - SubmitAIAgentVideoAuditTaskRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitAIAgentVideoAuditTaskResponse */ submitAIAgentVideoAuditTaskWithOptions(tmpReq: $_model.SubmitAIAgentVideoAuditTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitAIAgentVideoAuditTaskResponse>; /** * Submits a video to a specified AI agent for content moderation. This operation supports video input from OSS and delivers the results asynchronously via callbacks. You can define custom frame-capturing policies and moderation prompts. * * @remarks * Call SubmitAIAgentVideoAuditTask to submit a video moderation task with configurations such as a video URL, frame-capturing policies, and review interval. The system returns a unique JobId for tracking. When the task is complete, the service will push the results, including the moderation status and AI-generated analysis, to the configured callback URL. Only OSS URLs are supported as input. The underlying multi-modal large language model (MLLM) only supports interaction via the non-streaming OpenAI protocol. * * @param request - SubmitAIAgentVideoAuditTaskRequest * @returns SubmitAIAgentVideoAuditTaskResponse */ submitAIAgentVideoAuditTask(request: $_model.SubmitAIAgentVideoAuditTaskRequest): Promise<$_model.SubmitAIAgentVideoAuditTaskResponse>; /** * Transcribes speech from a media file and returns the text with corresponding start and end timestamps. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the API returns a job ID and processes the job in the background. The results are sent through a callback notification, or you can query the job status by calling the [GetSmartTaskResult](https://help.aliyun.com/document_detail/441172.html) operation. * * @param request - SubmitASRJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitASRJobResponse */ submitASRJobWithOptions(request: $_model.SubmitASRJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitASRJobResponse>; /** * Transcribes speech from a media file and returns the text with corresponding start and end timestamps. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the API returns a job ID and processes the job in the background. The results are sent through a callback notification, or you can query the job status by calling the [GetSmartTaskResult](https://help.aliyun.com/document_detail/441172.html) operation. * * @param request - SubmitASRJobRequest * @returns SubmitASRJobResponse */ submitASRJob(request: $_model.SubmitASRJobRequest): Promise<$_model.SubmitASRJobResponse>; /** * This API converts text into a high-quality audio file of speech. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, you receive a job ID, and the job is processed in the background. You can get the result through a callback notification or by querying the job status with the [GetSmartJobResult API](https://help.aliyun.com/document_detail/441172.html). * * @param request - SubmitAudioProduceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitAudioProduceJobResponse */ submitAudioProduceJobWithOptions(request: $_model.SubmitAudioProduceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitAudioProduceJobResponse>; /** * This API converts text into a high-quality audio file of speech. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, you receive a job ID, and the job is processed in the background. You can get the result through a callback notification or by querying the job status with the [GetSmartJobResult API](https://help.aliyun.com/document_detail/441172.html). * * @param request - SubmitAudioProduceJobRequest * @returns SubmitAudioProduceJobResponse */ submitAudioProduceJob(request: $_model.SubmitAudioProduceJobRequest): Promise<$_model.SubmitAudioProduceJobResponse>; /** * Use this operation to submit a new avatar training job or to resubmit a failed job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you call this operation, it returns a JobId and queues the training job for background processing. The initial response confirms the job submission, not its completion. The final result is sent via a callback notification, or you can check the job\\"s status by [querying the details of an avatar training job](https://help.aliyun.com/document_detail/2526661.html). * * @param request - SubmitAvatarTrainingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitAvatarTrainingJobResponse */ submitAvatarTrainingJobWithOptions(request: $_model.SubmitAvatarTrainingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitAvatarTrainingJobResponse>; /** * Use this operation to submit a new avatar training job or to resubmit a failed job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you call this operation, it returns a JobId and queues the training job for background processing. The initial response confirms the job submission, not its completion. The final result is sent via a callback notification, or you can check the job\\"s status by [querying the details of an avatar training job](https://help.aliyun.com/document_detail/2526661.html). * * @param request - SubmitAvatarTrainingJobRequest * @returns SubmitAvatarTrainingJobResponse */ submitAvatarTrainingJob(request: $_model.SubmitAvatarTrainingJobRequest): Promise<$_model.SubmitAvatarTrainingJobResponse>; /** * Renders an avatar video from text or an audio file. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the API returns a job ID and queues the job for background processing. The service delivers the final result through a [callback notification](https://help.aliyun.com/document_detail/3027141.html). You can also query the job status by calling the [GetSmartJobResult](https://help.aliyun.com/document_detail/441172.html) operation. * - The input can be text or an audio file in MP3 or WAV format. * - The output supports both MP4 and WebM formats. When the output format is MP4, the job produces a video of the avatar against a green screen and a separate [alpha mask video]() for post-production. We recommend this option. When the output format is WebM, the job produces a single video with a transparent [alpha channel](), which is suitable for front-end display. Rendering in WebM format is slower due to encoding complexity. * - The output includes [sentence-level timestamps]() for the generated speech, useful for subsequent video editing. * * @param request - SubmitAvatarVideoJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitAvatarVideoJobResponse */ submitAvatarVideoJobWithOptions(request: $_model.SubmitAvatarVideoJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitAvatarVideoJobResponse>; /** * Renders an avatar video from text or an audio file. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the API returns a job ID and queues the job for background processing. The service delivers the final result through a [callback notification](https://help.aliyun.com/document_detail/3027141.html). You can also query the job status by calling the [GetSmartJobResult](https://help.aliyun.com/document_detail/441172.html) operation. * - The input can be text or an audio file in MP3 or WAV format. * - The output supports both MP4 and WebM formats. When the output format is MP4, the job produces a video of the avatar against a green screen and a separate [alpha mask video]() for post-production. We recommend this option. When the output format is WebM, the job produces a single video with a transparent [alpha channel](), which is suitable for front-end display. Rendering in WebM format is slower due to encoding complexity. * - The output includes [sentence-level timestamps]() for the generated speech, useful for subsequent video editing. * * @param request - SubmitAvatarVideoJobRequest * @returns SubmitAvatarVideoJobResponse */ submitAvatarVideoJob(request: $_model.SubmitAvatarVideoJobRequest): Promise<$_model.SubmitAvatarVideoJobResponse>; /** * Intelligently edits and combines multiple video, audio, and image media assets to create videos in batches with a single API call. * * @remarks * * - To use the one-click smart video creation feature, you must first subscribe to the IMS Subscription Service. For more information, see [Subscription Billing](~~439260#3285adfad70dw~~). * * - For more information about billing for one-click smart video creation, see [One-click Video Creation](https://help.aliyun.com/document_detail/2840901.html). * - The one-click smart video creation feature is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the system returns a job ID and queues the job for asynchronous processing. The system delivers the final result through a callback. You can also query the job status by calling the [Get Batch Media Production Job Information](https://help.aliyun.com/document_detail/2693269.html) operation. * - The one-click smart video creation feature offers multiple solutions, including Script-based Automated Video Creation, AI-powered Image-Text Matching Video Creation (General), AI-powered Image-Text Matching Video Creation (Highlights), Sports Highlight Video Creation, and High-Energy Montage Video Creation. For more information about these features, see [One-click Video Creation](https://help.aliyun.com/document_detail/2689046.html). * - Script-based Automated Video Creation and AI-powered Image-Text Matching Video Creation share the same API for submitting jobs. To learn how to differentiate between them using parameters, see [Parameter Differences for One-click Video Creation](https://help.aliyun.com/document_detail/2846101.html). * - After you submit a batch job for one-click smart video creation, you can call [ListBatchMediaProducingJob](https://help.aliyun.com/document_detail/2803751.html) to retrieve a list of all matching jobs. Call [GetBatchMediaProducingJob](https://help.aliyun.com/document_detail/2693269.html) to get detailed information about a job, including its status, the generated media asset ID, and the media asset URL. * * @param request - SubmitBatchMediaProducingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitBatchMediaProducingJobResponse */ submitBatchMediaProducingJobWithOptions(request: $_model.SubmitBatchMediaProducingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitBatchMediaProducingJobResponse>; /** * Intelligently edits and combines multiple video, audio, and image media assets to create videos in batches with a single API call. * * @remarks * * - To use the one-click smart video creation feature, you must first subscribe to the IMS Subscription Service. For more information, see [Subscription Billing](~~439260#3285adfad70dw~~). * * - For more information about billing for one-click smart video creation, see [One-click Video Creation](https://help.aliyun.com/document_detail/2840901.html). * - The one-click smart video creation feature is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the system returns a job ID and queues the job for asynchronous processing. The system delivers the final result through a callback. You can also query the job status by calling the [Get Batch Media Production Job Information](https://help.aliyun.com/document_detail/2693269.html) operation. * - The one-click smart video creation feature offers multiple solutions, including Script-based Automated Video Creation, AI-powered Image-Text Matching Video Creation (General), AI-powered Image-Text Matching Video Creation (Highlights), Sports Highlight Video Creation, and High-Energy Montage Video Creation. For more information about these features, see [One-click Video Creation](https://help.aliyun.com/document_detail/2689046.html). * - Script-based Automated Video Creation and AI-powered Image-Text Matching Video Creation share the same API for submitting jobs. To learn how to differentiate between them using parameters, see [Parameter Differences for One-click Video Creation](https://help.aliyun.com/document_detail/2846101.html). * - After you submit a batch job for one-click smart video creation, you can call [ListBatchMediaProducingJob](https://help.aliyun.com/document_detail/2803751.html) to retrieve a list of all matching jobs. Call [GetBatchMediaProducingJob](https://help.aliyun.com/document_detail/2693269.html) to get detailed information about a job, including its status, the generated media asset ID, and the media asset URL. * * @param request - SubmitBatchMediaProducingJobRequest * @returns SubmitBatchMediaProducingJobResponse */ submitBatchMediaProducingJob(request: $_model.SubmitBatchMediaProducingJobRequest): Promise<$_model.SubmitBatchMediaProducingJobResponse>; /** * Submits a copyright watermark extraction job. * * @remarks * - The digital watermark APIs are available only in the China (Shanghai) and China (Beijing) regions. * - This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the service returns a job ID. The service then queues the job for asynchronous processing. You can get the final results through a [callback notification](https://help.aliyun.com/document_detail/3027141.html) or query the job status by calling the [QueryCopyrightExtractJob](https://help.aliyun.com/document_detail/2862132.html) operation. * * @param tmpReq - SubmitCopyrightExtractJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitCopyrightExtractJobResponse */ submitCopyrightExtractJobWithOptions(tmpReq: $_model.SubmitCopyrightExtractJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitCopyrightExtractJobResponse>; /** * Submits a copyright watermark extraction job. * * @remarks * - The digital watermark APIs are available only in the China (Shanghai) and China (Beijing) regions. * - This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the service returns a job ID. The service then queues the job for asynchronous processing. You can get the final results through a [callback notification](https://help.aliyun.com/document_detail/3027141.html) or query the job status by calling the [QueryCopyrightExtractJob](https://help.aliyun.com/document_detail/2862132.html) operation. * * @param request - SubmitCopyrightExtractJobRequest * @returns SubmitCopyrightExtractJobResponse */ submitCopyrightExtractJob(request: $_model.SubmitCopyrightExtractJobRequest): Promise<$_model.SubmitCopyrightExtractJobResponse>; /** * Submits a video copyright watermark job. * * @remarks * - By default, this operation supports only videos 3 minutes or longer. Submitting a job for a shorter video may fail or produce no output. To watermark shorter videos, use the `Params` parameter. * - You can submit a watermark job for only one video per API call. * - Currently, digital watermark-related APIs are available only in the China (Shanghai) and China (Beijing) regions. * - This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and queues the job for background processing. Results are delivered via callback notification. Alternatively, you can call the [Query Video Copyright Job List](https://help.aliyun.com/document_detail/2862135.html) operation to check the job status. * * @param tmpReq - SubmitCopyrightJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitCopyrightJobResponse */ submitCopyrightJobWithOptions(tmpReq: $_model.SubmitCopyrightJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitCopyrightJobResponse>; /** * Submits a video copyright watermark job. * * @remarks * - By default, this operation supports only videos 3 minutes or longer. Submitting a job for a shorter video may fail or produce no output. To watermark shorter videos, use the `Params` parameter. * - You can submit a watermark job for only one video per API call. * - Currently, digital watermark-related APIs are available only in the China (Shanghai) and China (Beijing) regions. * - This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and queues the job for background processing. Results are delivered via callback notification. Alternatively, you can call the [Query Video Copyright Job List](https://help.aliyun.com/document_detail/2862135.html) operation to check the job status. * * @param request - SubmitCopyrightJobRequest * @returns SubmitCopyrightJobResponse */ submitCopyrightJob(request: $_model.SubmitCopyrightJobRequest): Promise<$_model.SubmitCopyrightJobResponse>; /** * Submits a CosyVoice voice cloning training task. * * @remarks * - During training, you can call the [GetCustomizedVoiceJob](https://help.aliyun.com/document_detail/2384473.html) operation to check whether the current task is complete and to obtain the training status. * - This is an [asynchronous operation](https://help.aliyun.com/document_detail/3027141.html). After you submit the task, a task ID is returned. The task is not yet complete at this point and enters a background queue for asynchronous execution. The final result is sent through a callback notification. You can also call the [GetCustomizedVoiceJob](https://help.aliyun.com/document_detail/2384473.html) operation to query the task status. * * @param request - SubmitCosyVoiceCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitCosyVoiceCustomizedVoiceJobResponse */ submitCosyVoiceCustomizedVoiceJobWithOptions(request: $_model.SubmitCosyVoiceCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitCosyVoiceCustomizedVoiceJobResponse>; /** * Submits a CosyVoice voice cloning training task. * * @remarks * - During training, you can call the [GetCustomizedVoiceJob](https://help.aliyun.com/document_detail/2384473.html) operation to check whether the current task is complete and to obtain the training status. * - This is an [asynchronous operation](https://help.aliyun.com/document_detail/3027141.html). After you submit the task, a task ID is returned. The task is not yet complete at this point and enters a background queue for asynchronous execution. The final result is sent through a callback notification. You can also call the [GetCustomizedVoiceJob](https://help.aliyun.com/document_detail/2384473.html) operation to query the task status. * * @param request - SubmitCosyVoiceCustomizedVoiceJobRequest * @returns SubmitCosyVoiceCustomizedVoiceJobResponse */ submitCosyVoiceCustomizedVoiceJob(request: $_model.SubmitCosyVoiceCustomizedVoiceJobRequest): Promise<$_model.SubmitCosyVoiceCustomizedVoiceJobResponse>; /** * Submits a basic voice cloning job. * * @remarks * * - Billing for voice cloning is based on customization and usage. For more information, see [voice cloning pricing](~~2399891#section-gy3-80e-clt~~). * - When you submit a voice cloning job, the `VoiceId` must match the one provided during audio detection. The service uses this parameter to locate the staged audio for training. * - While the job is training, you can call the [GetCustomizedVoiceJob - Query a voice clone job](https://help.aliyun.com/document_detail/2384473.html) operation to query the job status. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After a job is submitted, the API immediately returns a `JobId` and queues the job for background processing. The result is delivered via a callback. Alternatively, you can poll for the job status by using the [Query a voice clone job](https://help.aliyun.com/document_detail/2384473.html) operation. * * @param request - SubmitCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitCustomizedVoiceJobResponse */ submitCustomizedVoiceJobWithOptions(request: $_model.SubmitCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitCustomizedVoiceJobResponse>; /** * Submits a basic voice cloning job. * * @remarks * * - Billing for voice cloning is based on customization and usage. For more information, see [voice cloning pricing](~~2399891#section-gy3-80e-clt~~). * - When you submit a voice cloning job, the `VoiceId` must match the one provided during audio detection. The service uses this parameter to locate the staged audio for training. * - While the job is training, you can call the [GetCustomizedVoiceJob - Query a voice clone job](https://help.aliyun.com/document_detail/2384473.html) operation to query the job status. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After a job is submitted, the API immediately returns a `JobId` and queues the job for background processing. The result is delivered via a callback. Alternatively, you can poll for the job status by using the [Query a voice clone job](https://help.aliyun.com/document_detail/2384473.html) operation. * * @param request - SubmitCustomizedVoiceJobRequest * @returns SubmitCustomizedVoiceJobResponse */ submitCustomizedVoiceJob(request: $_model.SubmitCustomizedVoiceJobRequest): Promise<$_model.SubmitCustomizedVoiceJobResponse>; /** * Submits a DNA job. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and queues the job for asynchronous execution in the background. You receive the final result in a [callback notification](https://help.aliyun.com/document_detail/3027141.html). You can also call the [ListDNAJobs](https://help.aliyun.com/document_detail/479279.html) operation to query the job status. * - This operation is available in the following regions: China (Beijing), China (Hangzhou), and China (Shanghai). * - Text-based DNA jobs are currently supported only in the China (Shanghai) region. * * @param tmpReq - SubmitDNAJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitDNAJobResponse */ submitDNAJobWithOptions(tmpReq: $_model.SubmitDNAJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitDNAJobResponse>; /** * Submits a DNA job. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and queues the job for asynchronous execution in the background. You receive the final result in a [callback notification](https://help.aliyun.com/document_detail/3027141.html). You can also call the [ListDNAJobs](https://help.aliyun.com/document_detail/479279.html) operation to query the job status. * - This operation is available in the following regions: China (Beijing), China (Hangzhou), and China (Shanghai). * - Text-based DNA jobs are currently supported only in the China (Shanghai) region. * * @param request - SubmitDNAJobRequest * @returns SubmitDNAJobResponse */ submitDNAJob(request: $_model.SubmitDNAJobRequest): Promise<$_model.SubmitDNAJobResponse>; /** * Submits a job to generate a dynamic chart video, such as a Line Chart, Pie Chart, or Bar Chart, from Excel data. You can customize chart elements like line colors and fonts. * * @remarks * This operation generates a dynamic chart video from Excel data. This feature is available only in the Shanghai Region. * - Customize text elements including the Chart Title, Subtitle, Data Source, and Unit. You can also specify the Font and Font Size. For supported fonts, see the [Font List](https://help.aliyun.com/document_detail/449567.html). * - Supports five built-in styles: Normal, Mystery, Lively, Business, and Green. * - Set a custom Background Color or Background Image. * - Configure output video properties such as Video Duration, Dimensions, and Bitrate. * Examples: * - Line Chart: [Excel Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/line.xlsx), [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/line.mp4). * - Bar Chart: [Excel Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/histgram.xlsx), [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/histgram.mp4). * - Pie Chart: [Excel Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/pie.xlsx), [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/pie.mp4). * - Normal style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Normal.mp4). * - Mystery style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Mystery.mp4). * - Lively style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Lively.mp4). * - Business style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Business.mp4). * - Green style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Green.mp4). * * @param request - SubmitDynamicChartJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitDynamicChartJobResponse */ submitDynamicChartJobWithOptions(request: $_model.SubmitDynamicChartJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitDynamicChartJobResponse>; /** * Submits a job to generate a dynamic chart video, such as a Line Chart, Pie Chart, or Bar Chart, from Excel data. You can customize chart elements like line colors and fonts. * * @remarks * This operation generates a dynamic chart video from Excel data. This feature is available only in the Shanghai Region. * - Customize text elements including the Chart Title, Subtitle, Data Source, and Unit. You can also specify the Font and Font Size. For supported fonts, see the [Font List](https://help.aliyun.com/document_detail/449567.html). * - Supports five built-in styles: Normal, Mystery, Lively, Business, and Green. * - Set a custom Background Color or Background Image. * - Configure output video properties such as Video Duration, Dimensions, and Bitrate. * Examples: * - Line Chart: [Excel Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/line.xlsx), [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/line.mp4). * - Bar Chart: [Excel Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/histgram.xlsx), [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/histgram.mp4). * - Pie Chart: [Excel Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/pie.xlsx), [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/pie.mp4). * - Normal style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Normal.mp4). * - Mystery style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Mystery.mp4). * - Lively style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Lively.mp4). * - Business style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Business.mp4). * - Green style: [Result Sample](https://ice-public-media.oss-cn-shanghai.aliyuncs.com/smart/dynamicChart/Green.mp4). * * @param request - SubmitDynamicChartJobRequest * @returns SubmitDynamicChartJobResponse */ submitDynamicChartJob(request: $_model.SubmitDynamicChartJobRequest): Promise<$_model.SubmitDynamicChartJobResponse>; /** * Use this API to submit a task to generate a dynamic image. * * @remarks * This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). When you submit a task, you will immediately receive a task ID while the task is queued for asynchronous execution in the background. The final result is sent via a callback notification, or you can poll the task status by [querying the dynamic image task details](https://help.aliyun.com/document_detail/441199.html). * * @param tmpReq - SubmitDynamicImageJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitDynamicImageJobResponse */ submitDynamicImageJobWithOptions(tmpReq: $_model.SubmitDynamicImageJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitDynamicImageJobResponse>; /** * Use this API to submit a task to generate a dynamic image. * * @remarks * This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). When you submit a task, you will immediately receive a task ID while the task is queued for asynchronous execution in the background. The final result is sent via a callback notification, or you can poll the task status by [querying the dynamic image task details](https://help.aliyun.com/document_detail/441199.html). * * @param request - SubmitDynamicImageJobRequest * @returns SubmitDynamicImageJobResponse */ submitDynamicImageJob(request: $_model.SubmitDynamicImageJobRequest): Promise<$_model.SubmitDynamicImageJobResponse>; /** * Submits a highlight extraction job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the API returns a job ID. The system then queues the job for background processing and sends the final result via a callback notification. You can also query the job status by calling the [Get Smart Task Result](https://help.aliyun.com/document_detail/441172.html) operation. * * @param request - SubmitHighlightExtractionJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitHighlightExtractionJobResponse */ submitHighlightExtractionJobWithOptions(request: $_model.SubmitHighlightExtractionJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitHighlightExtractionJobResponse>; /** * Submits a highlight extraction job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the API returns a job ID. The system then queues the job for background processing and sends the final result via a callback notification. You can also query the job status by calling the [Get Smart Task Result](https://help.aliyun.com/document_detail/441172.html) operation. * * @param request - SubmitHighlightExtractionJobRequest * @returns SubmitHighlightExtractionJobResponse */ submitHighlightExtractionJob(request: $_model.SubmitHighlightExtractionJobRequest): Promise<$_model.SubmitHighlightExtractionJobResponse>; /** * Use the `SubmitIProductionJob` operation to submit an intelligent production job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a task, the API returns a task ID and queues the task for asynchronous processing. The final result is delivered via a callback. You can also query the task status by calling [QuerySmartProductionTask](https://help.aliyun.com/document_detail/441215.html). * * @param tmpReq - SubmitIProductionJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitIProductionJobResponse */ submitIProductionJobWithOptions(tmpReq: $_model.SubmitIProductionJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitIProductionJobResponse>; /** * Use the `SubmitIProductionJob` operation to submit an intelligent production job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a task, the API returns a task ID and queues the task for asynchronous processing. The final result is delivered via a callback. You can also query the task status by calling [QuerySmartProductionTask](https://help.aliyun.com/document_detail/441215.html). * * @param request - SubmitIProductionJobRequest * @returns SubmitIProductionJobResponse */ submitIProductionJob(request: $_model.SubmitIProductionJobRequest): Promise<$_model.SubmitIProductionJobResponse>; /** * Live editing creates an output file by combining one or more segments from live streams. After you submit a live editing job, it is processed asynchronously. You can then call the GetLiveEditingJob operation with the returned JobId to query the job status, or call the GetMediaInfo operation with the MediaId to get details of the generated media asset. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the system returns a JobId before the job is complete. The job is then queued for asynchronous processing. You will receive a [callback notification](https://help.aliyun.com/document_detail/441150.html) when the job completes. Alternatively, you can query the job status by calling the [GetLiveEditingJob](https://help.aliyun.com/document_detail/441150.html) operation. * - You can edit live streams that are recorded to either OSS or VOD. When editing multiple live streams together, all streams must be recorded to the same service, either all to OSS or all to VOD. * * @param request - SubmitLiveEditingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitLiveEditingJobResponse */ submitLiveEditingJobWithOptions(request: $_model.SubmitLiveEditingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitLiveEditingJobResponse>; /** * Live editing creates an output file by combining one or more segments from live streams. After you submit a live editing job, it is processed asynchronously. You can then call the GetLiveEditingJob operation with the returned JobId to query the job status, or call the GetMediaInfo operation with the MediaId to get details of the generated media asset. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the system returns a JobId before the job is complete. The job is then queued for asynchronous processing. You will receive a [callback notification](https://help.aliyun.com/document_detail/441150.html) when the job completes. Alternatively, you can query the job status by calling the [GetLiveEditingJob](https://help.aliyun.com/document_detail/441150.html) operation. * - You can edit live streams that are recorded to either OSS or VOD. When editing multiple live streams together, all streams must be recorded to the same service, either all to OSS or all to VOD. * * @param request - SubmitLiveEditingJobRequest * @returns SubmitLiveEditingJobResponse */ submitLiveEditingJob(request: $_model.SubmitLiveEditingJobRequest): Promise<$_model.SubmitLiveEditingJobResponse>; /** * Submits a live stream recording job. * * @remarks * Record live streams of ApsaraVideo Live or third-party Real-Time Messaging Protocol (RTMP) live streams. We recommend that you ingest a stream before you call this operation to submit a recording job. If no stream is pulled from the streaming URL, the job attempts to pull a stream for 3 minutes. If the attempt times out, the recording service stops. * Before you submit a recording job, you must prepare an Object Storage Service (OSS) or ApsaraVideo VOD bucket. We recommend that you use a storage address configured in Intelligent Media Services (IMS) to facilitate the management and processing of generated recording files. * If the preset recording template does not meet your requirements, you can create a custom recording template. * * @param tmpReq - SubmitLiveRecordJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitLiveRecordJobResponse */ submitLiveRecordJobWithOptions(tmpReq: $_model.SubmitLiveRecordJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitLiveRecordJobResponse>; /** * Submits a live stream recording job. * * @remarks * Record live streams of ApsaraVideo Live or third-party Real-Time Messaging Protocol (RTMP) live streams. We recommend that you ingest a stream before you call this operation to submit a recording job. If no stream is pulled from the streaming URL, the job attempts to pull a stream for 3 minutes. If the attempt times out, the recording service stops. * Before you submit a recording job, you must prepare an Object Storage Service (OSS) or ApsaraVideo VOD bucket. We recommend that you use a storage address configured in Intelligent Media Services (IMS) to facilitate the management and processing of generated recording files. * If the preset recording template does not meet your requirements, you can create a custom recording template. * * @param request - SubmitLiveRecordJobRequest * @returns SubmitLiveRecordJobResponse */ submitLiveRecordJob(request: $_model.SubmitLiveRecordJobRequest): Promise<$_model.SubmitLiveRecordJobResponse>; /** * Submits a live stream snapshot job. If the job is submitted during stream ingest, it automatically starts in asynchronous mode. Otherwise, it does not start. * * @param tmpReq - SubmitLiveSnapshotJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitLiveSnapshotJobResponse */ submitLiveSnapshotJobWithOptions(tmpReq: $_model.SubmitLiveSnapshotJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitLiveSnapshotJobResponse>; /** * Submits a live stream snapshot job. If the job is submitted during stream ingest, it automatically starts in asynchronous mode. Otherwise, it does not start. * * @param request - SubmitLiveSnapshotJobRequest * @returns SubmitLiveSnapshotJobResponse */ submitLiveSnapshotJob(request: $_model.SubmitLiveSnapshotJobRequest): Promise<$_model.SubmitLiveSnapshotJobResponse>; /** * Submits a live stream transcoding job. * * @remarks * - When you submit a transcoding job that immediately takes effect, make sure that the input stream can be streamed. * - When you submit a timed transcoding job, make sure that the input stream can be streamed before the specified time. * * @param tmpReq - SubmitLiveTranscodeJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitLiveTranscodeJobResponse */ submitLiveTranscodeJobWithOptions(tmpReq: $_model.SubmitLiveTranscodeJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitLiveTranscodeJobResponse>; /** * Submits a live stream transcoding job. * * @remarks * - When you submit a transcoding job that immediately takes effect, make sure that the input stream can be streamed. * - When you submit a timed transcoding job, make sure that the input stream can be streamed before the specified time. * * @param request - SubmitLiveTranscodeJobRequest * @returns SubmitLiveTranscodeJobResponse */ submitLiveTranscodeJob(request: $_model.SubmitLiveTranscodeJobRequest): Promise<$_model.SubmitLiveTranscodeJobResponse>; /** * Perform structured analysis on media assets to enable speaker analysis, video translation, paragraph summarization, and other analyses on videos. * * @param request - SubmitMediaAiAnalysisJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitMediaAiAnalysisJobResponse */ submitMediaAiAnalysisJobWithOptions(request: $_model.SubmitMediaAiAnalysisJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitMediaAiAnalysisJobResponse>; /** * Perform structured analysis on media assets to enable speaker analysis, video translation, paragraph summarization, and other analyses on videos. * * @param request - SubmitMediaAiAnalysisJobRequest * @returns SubmitMediaAiAnalysisJobResponse */ submitMediaAiAnalysisJob(request: $_model.SubmitMediaAiAnalysisJobRequest): Promise<$_model.SubmitMediaAiAnalysisJobResponse>; /** * Submits a media file to Intelligent Media Services for a censor job. This API automates the scanning of video, audio, or image content to detect potentially non-compliant, sensitive, or inappropriate material. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the service returns a job ID and processes the job in the background. You receive the final result through a callback notification. You can also check the job status by calling the [QueryMediaCensorJob](https://help.aliyun.com/document_detail/444847.html) API. * * @param tmpReq - SubmitMediaCensorJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitMediaCensorJobResponse */ submitMediaCensorJobWithOptions(tmpReq: $_model.SubmitMediaCensorJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitMediaCensorJobResponse>; /** * Submits a media file to Intelligent Media Services for a censor job. This API automates the scanning of video, audio, or image content to detect potentially non-compliant, sensitive, or inappropriate material. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the service returns a job ID and processes the job in the background. You receive the final result through a callback notification. You can also check the job status by calling the [QueryMediaCensorJob](https://help.aliyun.com/document_detail/444847.html) API. * * @param request - SubmitMediaCensorJobRequest * @returns SubmitMediaCensorJobResponse */ submitMediaCensorJob(request: $_model.SubmitMediaCensorJobRequest): Promise<$_model.SubmitMediaCensorJobResponse>; /** * Submit a media processing job * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a task, the API returns a task ID and queues the task for asynchronous processing. You will receive the final result via a callback notification, or you can poll for the task status by calling the [Query Media Transcoding Task](https://help.aliyun.com/document_detail/2867675.html) operation. * * @param request - SubmitMediaConvertJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitMediaConvertJobResponse */ submitMediaConvertJobWithOptions(request: $_model.SubmitMediaConvertJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitMediaConvertJobResponse>; /** * Submit a media processing job * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a task, the API returns a task ID and queues the task for asynchronous processing. You will receive the final result via a callback notification, or you can poll for the task status by calling the [Query Media Transcoding Task](https://help.aliyun.com/document_detail/2867675.html) operation. * * @param request - SubmitMediaConvertJobRequest * @returns SubmitMediaConvertJobResponse */ submitMediaConvertJob(request: $_model.SubmitMediaConvertJobRequest): Promise<$_model.SubmitMediaConvertJobResponse>; /** * Creates an asynchronous job to retrieve media information. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a task, the API returns a task ID and queues the task for background processing. You can retrieve the final result via a callback or by [querying media information tasks](https://help.aliyun.com/document_detail/441200.html). * - Use this API to perform media analysis on input files. It is ideal for use cases that are not time-sensitive or that require high concurrency. * * @param tmpReq - SubmitMediaInfoJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitMediaInfoJobResponse */ submitMediaInfoJobWithOptions(tmpReq: $_model.SubmitMediaInfoJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitMediaInfoJobResponse>; /** * Creates an asynchronous job to retrieve media information. * * @remarks * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). When you submit a task, the API returns a task ID and queues the task for background processing. You can retrieve the final result via a callback or by [querying media information tasks](https://help.aliyun.com/document_detail/441200.html). * - Use this API to perform media analysis on input files. It is ideal for use cases that are not time-sensitive or that require high concurrency. * * @param request - SubmitMediaInfoJobRequest * @returns SubmitMediaInfoJobResponse */ submitMediaInfoJob(request: $_model.SubmitMediaInfoJobRequest): Promise<$_model.SubmitMediaInfoJobResponse>; /** * The `SubmitMediaProducingJob` API submits a media production job. This job provides automated processing for post-production tasks, such as editing and composing video and audio assets. * * @remarks * - **Billing: Video editing is charged based on the duration of the output video. For more information, see [video editing](https://help.aliyun.com/document_detail/2840899.html). Failed jobs incur no charges.** * - Flexible editing capabilities: Use this operation to arrange and design assets. It supports complex video editing through flexible [timeline](https://help.aliyun.com/document_detail/198823.html) configurations. * - Asset reference rules: Assets referenced in the timeline can be media assets from your asset library or OSS objects. External URLs and CDN URLs are not supported. If an asset is an OSS object, MediaUrl must be an OSS URL, for example: https\\://your-bucket.oss-region-name.aliyuncs.com/your-object.ext. * - Asynchronous job execution: This operation creates an [asynchronous task](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the operation returns a task ID and queues the job for background processing. The job is not yet complete at this stage. The system delivers the final result via a callback notification. You can also query the job status by [querying the editing and compositing job](https://help.aliyun.com/document_detail/441149.html). * - Job status query: * 1. Call [Query an editing and compositing job](https://help.aliyun.com/document_detail/441149.html) and pass the JobId to query the job status and result. * 2. When you submit an editing and compositing job, you can include a callback URL in the **UserData** parameter of your request. When the job completes or fails, the system sends a notification to this callback URL. You can use the callback data to retrieve the job status. * - Media asset registration and analysis: After video compositing completes, the system automatically registers a new media asset, which is initially in an analyzing state. After the analysis is complete, you can use the MediaId to retrieve the duration and resolution of the output video. * ## Limitations * - The throttling limit for this operation is 30 QPS. Submitted jobs are queued and processed asynchronously. * > If you exceed this limit, you may encounter a "Throttling.User" error. For more information, see ["Throttling.User" error when submitting editing jobs](https://help.aliyun.com/document_detail/453484.html). * - When you submit a large number of jobs (for example, 1,000 or 10,000), the system scales out automatically, but you may experience queueing delays. * - The maximum number of tracks is 100 for each type: video, image, and subtitle. * - While there is no limit on the number of assets, their total size must not exceed 1 TB. * - The region of the input or output OSS bucket must match the IMS region. * - When the output is a video, the following resolution limits apply: * - Both the width and height must be at least 128 px. * - Neither the width nor the height can exceed 4096 px. * - The shorter side cannot exceed 2160 px. * * @param request - SubmitMediaProducingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitMediaProducingJobResponse */ submitMediaProducingJobWithOptions(request: $_model.SubmitMediaProducingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitMediaProducingJobResponse>; /** * The `SubmitMediaProducingJob` API submits a media production job. This job provides automated processing for post-production tasks, such as editing and composing video and audio assets. * * @remarks * - **Billing: Video editing is charged based on the duration of the output video. For more information, see [video editing](https://help.aliyun.com/document_detail/2840899.html). Failed jobs incur no charges.** * - Flexible editing capabilities: Use this operation to arrange and design assets. It supports complex video editing through flexible [timeline](https://help.aliyun.com/document_detail/198823.html) configurations. * - Asset reference rules: Assets referenced in the timeline can be media assets from your asset library or OSS objects. External URLs and CDN URLs are not supported. If an asset is an OSS object, MediaUrl must be an OSS URL, for example: https\\://your-bucket.oss-region-name.aliyuncs.com/your-object.ext. * - Asynchronous job execution: This operation creates an [asynchronous task](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the operation returns a task ID and queues the job for background processing. The job is not yet complete at this stage. The system delivers the final result via a callback notification. You can also query the job status by [querying the editing and compositing job](https://help.aliyun.com/document_detail/441149.html). * - Job status query: * 1. Call [Query an editing and compositing job](https://help.aliyun.com/document_detail/441149.html) and pass the JobId to query the job status and result. * 2. When you submit an editing and compositing job, you can include a callback URL in the **UserData** parameter of your request. When the job completes or fails, the system sends a notification to this callback URL. You can use the callback data to retrieve the job status. * - Media asset registration and analysis: After video compositing completes, the system automatically registers a new media asset, which is initially in an analyzing state. After the analysis is complete, you can use the MediaId to retrieve the duration and resolution of the output video. * ## Limitations * - The throttling limit for this operation is 30 QPS. Submitted jobs are queued and processed asynchronously. * > If you exceed this limit, you may encounter a "Throttling.User" error. For more information, see ["Throttling.User" error when submitting editing jobs](https://help.aliyun.com/document_detail/453484.html). * - When you submit a large number of jobs (for example, 1,000 or 10,000), the system scales out automatically, but you may experience queueing delays. * - The maximum number of tracks is 100 for each type: video, image, and subtitle. * - While there is no limit on the number of assets, their total size must not exceed 1 TB. * - The region of the input or output OSS bucket must match the IMS region. * - When the output is a video, the following resolution limits apply: * - Both the width and height must be at least 128 px. * - Neither the width nor the height can exceed 4096 px. * - The shorter side cannot exceed 2160 px. * * @param request - SubmitMediaProducingJobRequest * @returns SubmitMediaProducingJobResponse */ submitMediaProducingJob(request: $_model.SubmitMediaProducingJobRequest): Promise<$_model.SubmitMediaProducingJobResponse>; /** * Submits a packaging job. * * @param tmpReq - SubmitPackageJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitPackageJobResponse */ submitPackageJobWithOptions(tmpReq: $_model.SubmitPackageJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitPackageJobResponse>; /** * Submits a packaging job. * * @param request - SubmitPackageJobRequest * @returns SubmitPackageJobResponse */ submitPackageJob(request: $_model.SubmitPackageJobRequest): Promise<$_model.SubmitPackageJobResponse>; /** * Submits a project export task. * * @param request - SubmitProjectExportJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitProjectExportJobResponse */ submitProjectExportJobWithOptions(request: $_model.SubmitProjectExportJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitProjectExportJobResponse>; /** * Submits a project export task. * * @param request - SubmitProjectExportJobRequest * @returns SubmitProjectExportJobResponse */ submitProjectExportJob(request: $_model.SubmitProjectExportJobRequest): Promise<$_model.SubmitProjectExportJobResponse>; /** * Submits a batch job to render multiple videos by providing a list of editing project IDs. * * @remarks * - After submitting a job, you can call ListBatchMediaProducingJob to retrieve all matching jobs. To get detailed information for a specific job, including its status, output media asset IDs, and URLs, call GetBatchMediaProducingJob. * * @param request - SubmitSceneBatchEditingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSceneBatchEditingJobResponse */ submitSceneBatchEditingJobWithOptions(request: $_model.SubmitSceneBatchEditingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSceneBatchEditingJobResponse>; /** * Submits a batch job to render multiple videos by providing a list of editing project IDs. * * @remarks * - After submitting a job, you can call ListBatchMediaProducingJob to retrieve all matching jobs. To get detailed information for a specific job, including its status, output media asset IDs, and URLs, call GetBatchMediaProducingJob. * * @param request - SubmitSceneBatchEditingJobRequest * @returns SubmitSceneBatchEditingJobResponse */ submitSceneBatchEditingJob(request: $_model.SubmitSceneBatchEditingJobRequest): Promise<$_model.SubmitSceneBatchEditingJobResponse>; /** * Selects suitable clips based on the submitted videos, images, and voiceovers, and returns the selection results. Two scenarios are supported: image-text matching and highlight mashup. * * @remarks * - After a job is submitted, you can call [ListBatchMediaProducingJob](https://help.aliyun.com/document_detail/2803751.html) to query submitted jobs, or [GetBatchMediaProducingJob](https://help.aliyun.com/document_detail/2693269.html) to query the job status and results. * * The feature is in public preview and charges no fees. * * @param request - SubmitSceneMediaSelectionJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSceneMediaSelectionJobResponse */ submitSceneMediaSelectionJobWithOptions(request: $_model.SubmitSceneMediaSelectionJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSceneMediaSelectionJobResponse>; /** * Selects suitable clips based on the submitted videos, images, and voiceovers, and returns the selection results. Two scenarios are supported: image-text matching and highlight mashup. * * @remarks * - After a job is submitted, you can call [ListBatchMediaProducingJob](https://help.aliyun.com/document_detail/2803751.html) to query submitted jobs, or [GetBatchMediaProducingJob](https://help.aliyun.com/document_detail/2693269.html) to query the job status and results. * * The feature is in public preview and charges no fees. * * @param request - SubmitSceneMediaSelectionJobRequest * @returns SubmitSceneMediaSelectionJobResponse */ submitSceneMediaSelectionJob(request: $_model.SubmitSceneMediaSelectionJobRequest): Promise<$_model.SubmitSceneMediaSelectionJobResponse>; /** * Arranges media assets, including videos, images, background music, and voiceovers, into a complete timeline based on media selection results, and creates an editing project for preview. Two scenarios are supported: image-text matching and highlight mashup. * * @remarks * - After submitting a job, you can call [ListBatchMediaProducingJob](https://help.aliyun.com/document_detail/2803751.html) to retrieve matching jobs. To get detailed information for a specific job, including its status, output media asset IDs, and URLs, call [GetBatchMediaProducingJob](https://help.aliyun.com/document_detail/2693269.html). * * The feature is in public preview and does not charge fees. * * @param request - SubmitSceneTimelineOrganizationJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSceneTimelineOrganizationJobResponse */ submitSceneTimelineOrganizationJobWithOptions(request: $_model.SubmitSceneTimelineOrganizationJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSceneTimelineOrganizationJobResponse>; /** * Arranges media assets, including videos, images, background music, and voiceovers, into a complete timeline based on media selection results, and creates an editing project for preview. Two scenarios are supported: image-text matching and highlight mashup. * * @remarks * - After submitting a job, you can call [ListBatchMediaProducingJob](https://help.aliyun.com/document_detail/2803751.html) to retrieve matching jobs. To get detailed information for a specific job, including its status, output media asset IDs, and URLs, call [GetBatchMediaProducingJob](https://help.aliyun.com/document_detail/2693269.html). * * The feature is in public preview and does not charge fees. * * @param request - SubmitSceneTimelineOrganizationJobRequest * @returns SubmitSceneTimelineOrganizationJobResponse */ submitSceneTimelineOrganizationJob(request: $_model.SubmitSceneTimelineOrganizationJobRequest): Promise<$_model.SubmitSceneTimelineOrganizationJobResponse>; /** * Analyzes media assets, such as short-form dramas, to automatically identify highlight clips and generate a highlight compilation. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and queues the job for asynchronous processing. Once the job is complete, the system sends the final result through a callback notification. * * @param request - SubmitScreenMediaHighlightsJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitScreenMediaHighlightsJobResponse */ submitScreenMediaHighlightsJobWithOptions(request: $_model.SubmitScreenMediaHighlightsJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitScreenMediaHighlightsJobResponse>; /** * Analyzes media assets, such as short-form dramas, to automatically identify highlight clips and generate a highlight compilation. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and queues the job for asynchronous processing. Once the job is complete, the system sends the final result through a callback notification. * * @param request - SubmitScreenMediaHighlightsJobRequest * @returns SubmitScreenMediaHighlightsJobResponse */ submitScreenMediaHighlightsJob(request: $_model.SubmitScreenMediaHighlightsJobRequest): Promise<$_model.SubmitScreenMediaHighlightsJobResponse>; /** * Submits a job to segment a long video into multiple video segments. The output can be multiple video files or a new media asset. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and processes the job in the background. You can get the results through a [callback notification](https://help.aliyun.com/document_detail/3027141.html) or by calling the [Get smart task results](https://help.aliyun.com/document_detail/441172.html) operation. * * @param request - SubmitSegmentationJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSegmentationJobResponse */ submitSegmentationJobWithOptions(request: $_model.SubmitSegmentationJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSegmentationJobResponse>; /** * Submits a job to segment a long video into multiple video segments. The output can be multiple video files or a new media asset. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and processes the job in the background. You can get the results through a [callback notification](https://help.aliyun.com/document_detail/3027141.html) or by calling the [Get smart task results](https://help.aliyun.com/document_detail/441172.html) operation. * * @param request - SubmitSegmentationJobRequest * @returns SubmitSegmentationJobResponse */ submitSegmentationJob(request: $_model.SubmitSegmentationJobRequest): Promise<$_model.SubmitSegmentationJobResponse>; /** * Submits a smart tagging job. * * @remarks * ### Prerequisites * Before submitting a smart tagging job, you must configure the analysis types in a template. For more information, see [CreateCustomTemplate](https://help.aliyun.com/document_detail/441184.html). * ### Limitations * - The smart tagging feature is available only in the China (Beijing), China (Shanghai), and China (Hangzhou) regions. * - The default concurrency for the smart tagging pipeline is 2. To request a higher concurrency limit, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.645019b6Btnu4q). * - Smart tagging jobs and their results are retained for 180 days, after which they are automatically deleted. * * @param tmpReq - SubmitSmarttagJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSmarttagJobResponse */ submitSmarttagJobWithOptions(tmpReq: $_model.SubmitSmarttagJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSmarttagJobResponse>; /** * Submits a smart tagging job. * * @remarks * ### Prerequisites * Before submitting a smart tagging job, you must configure the analysis types in a template. For more information, see [CreateCustomTemplate](https://help.aliyun.com/document_detail/441184.html). * ### Limitations * - The smart tagging feature is available only in the China (Beijing), China (Shanghai), and China (Hangzhou) regions. * - The default concurrency for the smart tagging pipeline is 2. To request a higher concurrency limit, [submit a ticket](https://smartservice.console.aliyun.com/service/create-ticket?spm=a2c4g.11186623.0.0.645019b6Btnu4q). * - Smart tagging jobs and their results are retained for 180 days, after which they are automatically deleted. * * @param request - SubmitSmarttagJobRequest * @returns SubmitSmarttagJobResponse */ submitSmarttagJob(request: $_model.SubmitSmarttagJobRequest): Promise<$_model.SubmitSmarttagJobResponse>; /** * This API submits a snapshot job. Specify a media file by its ID or URL, a time point, and the desired format. The API then generates the snapshot and saves it to the specified location. * * @remarks * This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). Submitting a task returns a task ID and queues it for asynchronous processing. A callback delivers the final result. Alternatively, you can check the task status by [querying screenshot task details](https://help.aliyun.com/document_detail/441203.html). * * @param tmpReq - SubmitSnapshotJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSnapshotJobResponse */ submitSnapshotJobWithOptions(tmpReq: $_model.SubmitSnapshotJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSnapshotJobResponse>; /** * This API submits a snapshot job. Specify a media file by its ID or URL, a time point, and the desired format. The API then generates the snapshot and saves it to the specified location. * * @remarks * This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). Submitting a task returns a task ID and queues it for asynchronous processing. A callback delivers the final result. Alternatively, you can check the task status by [querying screenshot task details](https://help.aliyun.com/document_detail/441203.html). * * @param request - SubmitSnapshotJobRequest * @returns SubmitSnapshotJobResponse */ submitSnapshotJob(request: $_model.SubmitSnapshotJobRequest): Promise<$_model.SubmitSnapshotJobResponse>; /** * Starts a job to generate a highlight video from sports footage with commentary. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the API immediately returns a job ID. The job is then queued for asynchronous processing. A callback delivers the final result. * * @param request - SubmitSportsHighlightsJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSportsHighlightsJobResponse */ submitSportsHighlightsJobWithOptions(request: $_model.SubmitSportsHighlightsJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSportsHighlightsJobResponse>; /** * Starts a job to generate a highlight video from sports footage with commentary. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the API immediately returns a job ID. The job is then queued for asynchronous processing. A callback delivers the final result. * * @param request - SubmitSportsHighlightsJobRequest * @returns SubmitSportsHighlightsJobResponse */ submitSportsHighlightsJob(request: $_model.SubmitSportsHighlightsJobRequest): Promise<$_model.SubmitSportsHighlightsJobResponse>; /** * Submits a standard human voice cloning job. After you call this operation, the JobId is returned. The training process is asynchronous. During training, you can call the GetCustomizedVoiceJob operation to query information such as the job state. * * @param request - SubmitStandardCustomizedVoiceJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitStandardCustomizedVoiceJobResponse */ submitStandardCustomizedVoiceJobWithOptions(request: $_model.SubmitStandardCustomizedVoiceJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitStandardCustomizedVoiceJobResponse>; /** * Submits a standard human voice cloning job. After you call this operation, the JobId is returned. The training process is asynchronous. During training, you can call the GetCustomizedVoiceJob operation to query information such as the job state. * * @param request - SubmitStandardCustomizedVoiceJobRequest * @returns SubmitStandardCustomizedVoiceJobResponse */ submitStandardCustomizedVoiceJob(request: $_model.SubmitStandardCustomizedVoiceJobRequest): Promise<$_model.SubmitStandardCustomizedVoiceJobResponse>; /** * Submits a media file in synchronous mode for media information analysis. * * @remarks * Analyze an input media file in synchronous mode. This operation is suitable for scenarios that require high real-time performance and low concurrency. If it takes an extended period of time to obtain the media information about the input media file, the request may time out or the obtained information may be inaccurate. We recommend that you call the [SubmitMediaInfoJob](https://help.aliyun.com/document_detail/441222.html) operation to obtain media information. * * @param tmpReq - SubmitSyncMediaInfoJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitSyncMediaInfoJobResponse */ submitSyncMediaInfoJobWithOptions(tmpReq: $_model.SubmitSyncMediaInfoJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitSyncMediaInfoJobResponse>; /** * Submits a media file in synchronous mode for media information analysis. * * @remarks * Analyze an input media file in synchronous mode. This operation is suitable for scenarios that require high real-time performance and low concurrency. If it takes an extended period of time to obtain the media information about the input media file, the request may time out or the obtained information may be inaccurate. We recommend that you call the [SubmitMediaInfoJob](https://help.aliyun.com/document_detail/441222.html) operation to obtain media information. * * @param request - SubmitSyncMediaInfoJobRequest * @returns SubmitSyncMediaInfoJobResponse */ submitSyncMediaInfoJob(request: $_model.SubmitSyncMediaInfoJobRequest): Promise<$_model.SubmitSyncMediaInfoJobResponse>; /** * Generates marketing copy based on the provided keywords, text length, and number of copy variations. Due to the complexities of the Chinese language, the length of the output text may differ from the requested length. After submitting the job, call the `GetSmartHandleJob` operation with the returned job ID to query the job status and retrieve the results. * * @remarks * - Before you call this operation, you must purchase the enterprise subscription service to obtain the required permissions. For more information, see [subscription billing](~~439260#3285adfad70dw~~). * - This operation is billed based on the number of tokens in the generated content. The number of tokens is positively correlated with the number of characters in the generated text. For more information, see [smart video creation](https://help.aliyun.com/document_detail/2840901.html). No charges are incurred for failed jobs. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the operation returns a job ID. The job is then queued for background processing. The service delivers results via a callback. You can also call [GetSmartHandleJob](https://help.aliyun.com/document_detail/441172.html) to actively poll for the job status. * * @param request - SubmitTextGenerateJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitTextGenerateJobResponse */ submitTextGenerateJobWithOptions(request: $_model.SubmitTextGenerateJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitTextGenerateJobResponse>; /** * Generates marketing copy based on the provided keywords, text length, and number of copy variations. Due to the complexities of the Chinese language, the length of the output text may differ from the requested length. After submitting the job, call the `GetSmartHandleJob` operation with the returned job ID to query the job status and retrieve the results. * * @remarks * - Before you call this operation, you must purchase the enterprise subscription service to obtain the required permissions. For more information, see [subscription billing](~~439260#3285adfad70dw~~). * - This operation is billed based on the number of tokens in the generated content. The number of tokens is positively correlated with the number of characters in the generated text. For more information, see [smart video creation](https://help.aliyun.com/document_detail/2840901.html). No charges are incurred for failed jobs. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the operation returns a job ID. The job is then queued for background processing. The service delivers results via a callback. You can also call [GetSmartHandleJob](https://help.aliyun.com/document_detail/441172.html) to actively poll for the job status. * * @param request - SubmitTextGenerateJobRequest * @returns SubmitTextGenerateJobResponse */ submitTextGenerateJob(request: $_model.SubmitTextGenerateJobRequest): Promise<$_model.SubmitTextGenerateJobResponse>; /** * Submits a job to generate A/B stream variants of a video for forensic watermarking. * * @remarks * - This operation supports only videos that are three minutes or longer. Submitting a job for a shorter video may cause the API call to fail or produce no output. * - This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and processes the job asynchronously. You can obtain the processing result through a callback or by [querying the list of A/B stream forensic watermarking jobs](https://help.aliyun.com/document_detail/2862133.html). * * @param tmpReq - SubmitTraceAbJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitTraceAbJobResponse */ submitTraceAbJobWithOptions(tmpReq: $_model.SubmitTraceAbJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitTraceAbJobResponse>; /** * Submits a job to generate A/B stream variants of a video for forensic watermarking. * * @remarks * - This operation supports only videos that are three minutes or longer. Submitting a job for a shorter video may cause the API call to fail or produce no output. * - This is an [asynchronous interface](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID and processes the job asynchronously. You can obtain the processing result through a callback or by [querying the list of A/B stream forensic watermarking jobs](https://help.aliyun.com/document_detail/2862133.html). * * @param request - SubmitTraceAbJobRequest * @returns SubmitTraceAbJobResponse */ submitTraceAbJob(request: $_model.SubmitTraceAbJobRequest): Promise<$_model.SubmitTraceAbJobResponse>; /** * Submits a trace watermark extraction job. * * @remarks * - The digital watermarking APIs are available only in the China (Shanghai) and China (Beijing) regions. * - Trace watermark extraction is supported only for videos that are 3 minutes or longer. Jobs for shorter videos will fail. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, a job ID is returned. The job is not immediately complete and is queued for asynchronous processing. You can get the final result through a callback notification or check the job status by calling the [GetTraceExtractJob](https://help.aliyun.com/document_detail/2862130.html) operation. * * @param tmpReq - SubmitTraceExtractJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitTraceExtractJobResponse */ submitTraceExtractJobWithOptions(tmpReq: $_model.SubmitTraceExtractJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitTraceExtractJobResponse>; /** * Submits a trace watermark extraction job. * * @remarks * - The digital watermarking APIs are available only in the China (Shanghai) and China (Beijing) regions. * - Trace watermark extraction is supported only for videos that are 3 minutes or longer. Jobs for shorter videos will fail. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, a job ID is returned. The job is not immediately complete and is queued for asynchronous processing. You can get the final result through a callback notification or check the job status by calling the [GetTraceExtractJob](https://help.aliyun.com/document_detail/2862130.html) operation. * * @param request - SubmitTraceExtractJobRequest * @returns SubmitTraceExtractJobResponse */ submitTraceExtractJob(request: $_model.SubmitTraceExtractJobRequest): Promise<$_model.SubmitTraceExtractJobResponse>; /** * Submits a job to process an M3U8 file for video watermarking for tracing. * * @remarks * - You must first obtain a media ID by submitting a job for an A/B stream with video watermarking for tracing. This operation uses the returned media ID for processing. * - Currently, digital watermarking-related operations are supported only in the China (Shanghai) and China (Beijing) regions. * - This is an [asynchronous call](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the system returns a task ID and processes the job in the background. The initial response does not mean the job is complete. You can get the final result through a [callback notification](https://help.aliyun.com/document_detail/2862136.html) or by calling the [QueryTraceM3u8JobList](https://help.aliyun.com/document_detail/2862136.html) operation to check the job\\"s status. * - The signature for an M3U8 file generated by a video watermarking for tracing job is valid for 24 hours after job completion. You must query and use the watermarking information within this period. If the signature expires, you can no longer retrieve the watermarking information. To regain access, you must submit a new job. * * @param tmpReq - SubmitTraceM3u8JobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitTraceM3u8JobResponse */ submitTraceM3u8JobWithOptions(tmpReq: $_model.SubmitTraceM3u8JobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitTraceM3u8JobResponse>; /** * Submits a job to process an M3U8 file for video watermarking for tracing. * * @remarks * - You must first obtain a media ID by submitting a job for an A/B stream with video watermarking for tracing. This operation uses the returned media ID for processing. * - Currently, digital watermarking-related operations are supported only in the China (Shanghai) and China (Beijing) regions. * - This is an [asynchronous call](https://help.aliyun.com/document_detail/3027141.html). When you submit a job, the system returns a task ID and processes the job in the background. The initial response does not mean the job is complete. You can get the final result through a [callback notification](https://help.aliyun.com/document_detail/2862136.html) or by calling the [QueryTraceM3u8JobList](https://help.aliyun.com/document_detail/2862136.html) operation to check the job\\"s status. * - The signature for an M3U8 file generated by a video watermarking for tracing job is valid for 24 hours after job completion. You must query and use the watermarking information within this period. If the signature expires, you can no longer retrieve the watermarking information. To regain access, you must submit a new job. * * @param request - SubmitTraceM3u8JobRequest * @returns SubmitTraceM3u8JobResponse */ submitTraceM3u8Job(request: $_model.SubmitTraceM3u8JobRequest): Promise<$_model.SubmitTraceM3u8JobResponse>; /** * Call the SubmitTranscodeJob operation to submit a video or audio transcoding job to Intelligent Media Services. In the request, you must specify the source file to transcode, the output format, and related parameters. * * @remarks * - This operation will be discontinued on December 31, 2025. Use [SubmitMediaConvertJob](https://help.aliyun.com/document_detail/2867673.html) instead. * - This is an [asynchronous operation](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID. The job is not completed immediately but is queued for asynchronous execution in the background. You will receive the final result through a callback notification. You can also call [QueryTranscodeJob](https://help.aliyun.com/document_detail/441206.html) to query the job status. * * @param tmpReq - SubmitTranscodeJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitTranscodeJobResponse */ submitTranscodeJobWithOptions(tmpReq: $_model.SubmitTranscodeJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitTranscodeJobResponse>; /** * Call the SubmitTranscodeJob operation to submit a video or audio transcoding job to Intelligent Media Services. In the request, you must specify the source file to transcode, the output format, and related parameters. * * @remarks * - This operation will be discontinued on December 31, 2025. Use [SubmitMediaConvertJob](https://help.aliyun.com/document_detail/2867673.html) instead. * - This is an [asynchronous operation](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the system returns a job ID. The job is not completed immediately but is queued for asynchronous execution in the background. You will receive the final result through a callback notification. You can also call [QueryTranscodeJob](https://help.aliyun.com/document_detail/441206.html) to query the job status. * * @param request - SubmitTranscodeJobRequest * @returns SubmitTranscodeJobResponse */ submitTranscodeJob(request: $_model.SubmitTranscodeJobRequest): Promise<$_model.SubmitTranscodeJobResponse>; /** * Submits a video cognition job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the service returns a job ID and queues it for processing. The final results are delivered via a callback notification. You can also check the job status by calling the [QueryIntelligentContentUnderstandingTask](https://help.aliyun.com/document_detail/2975154.html) operation. * * @param tmpReq - SubmitVideoCognitionJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitVideoCognitionJobResponse */ submitVideoCognitionJobWithOptions(tmpReq: $_model.SubmitVideoCognitionJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitVideoCognitionJobResponse>; /** * Submits a video cognition job. * * @remarks * This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the service returns a job ID and queues it for processing. The final results are delivered via a callback notification. You can also check the job status by calling the [QueryIntelligentContentUnderstandingTask](https://help.aliyun.com/document_detail/2975154.html) operation. * * @param request - SubmitVideoCognitionJobRequest * @returns SubmitVideoCognitionJobResponse */ submitVideoCognitionJob(request: $_model.SubmitVideoCognitionJobRequest): Promise<$_model.SubmitVideoCognitionJobResponse>; /** * Call this operation to submit a video translation job. This service can translate subtitles and spoken content, and generate lip-sync for the translated audio. * * @remarks * - The region in each media asset\\"s OSS URL must match the region of the API endpoint you call. * - This operation supports up to 30 requests per second (QPS). If you submit a large number of jobs, they are automatically queued and processed with dynamic scaling. Job concurrency is unlimited. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the operation returns a job ID and queues the job for background processing. The final result is delivered through a callback. You can also poll for the job status by calling the [GetAIJobResult](https://help.aliyun.com/document_detail/441172.html) operation. * >Notice: * For detailed parameter descriptions and examples, see * * [Introduction and Examples of Video Translation Parameters](https://help.aliyun.com/zh/ims/use-cases/introduction-and-examples-of-video-translation-parameters) * * [Introduction and Examples of Video Translation Parameters](https://help.aliyun.com/document_detail/2852702.html) * * @param request - SubmitVideoTranslationJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitVideoTranslationJobResponse */ submitVideoTranslationJobWithOptions(request: $_model.SubmitVideoTranslationJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitVideoTranslationJobResponse>; /** * Call this operation to submit a video translation job. This service can translate subtitles and spoken content, and generate lip-sync for the translated audio. * * @remarks * - The region in each media asset\\"s OSS URL must match the region of the API endpoint you call. * - This operation supports up to 30 requests per second (QPS). If you submit a large number of jobs, they are automatically queued and processed with dynamic scaling. Job concurrency is unlimited. * - This is an [asynchronous API](https://help.aliyun.com/document_detail/3027141.html). After you submit a job, the operation returns a job ID and queues the job for background processing. The final result is delivered through a callback. You can also poll for the job status by calling the [GetAIJobResult](https://help.aliyun.com/document_detail/441172.html) operation. * >Notice: * For detailed parameter descriptions and examples, see * * [Introduction and Examples of Video Translation Parameters](https://help.aliyun.com/zh/ims/use-cases/introduction-and-examples-of-video-translation-parameters) * * [Introduction and Examples of Video Translation Parameters](https://help.aliyun.com/document_detail/2852702.html) * * @param request - SubmitVideoTranslationJobRequest * @returns SubmitVideoTranslationJobResponse */ submitVideoTranslationJob(request: $_model.SubmitVideoTranslationJobRequest): Promise<$_model.SubmitVideoTranslationJobResponse>; /** * Submits a Yike AI application job. * * @param request - SubmitYikeAIAppJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitYikeAIAppJobResponse */ submitYikeAIAppJobWithOptions(request: $_model.SubmitYikeAIAppJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitYikeAIAppJobResponse>; /** * Submits a Yike AI application job. * * @param request - SubmitYikeAIAppJobRequest * @returns SubmitYikeAIAppJobResponse */ submitYikeAIAppJob(request: $_model.SubmitYikeAIAppJobRequest): Promise<$_model.SubmitYikeAIAppJobResponse>; /** * Submits a Yike AI application job. * * @param request - SubmitYikeStoryboardJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns SubmitYikeStoryboardJobResponse */ submitYikeStoryboardJobWithOptions(request: $_model.SubmitYikeStoryboardJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitYikeStoryboardJobResponse>; /** * Submits a Yike AI application job. * * @param request - SubmitYikeStoryboardJobRequest * @returns SubmitYikeStoryboardJobResponse */ submitYikeStoryboardJob(request: $_model.SubmitYikeStoryboardJobRequest): Promise<$_model.SubmitYikeStoryboardJobResponse>; /** * Hands off a conversation to a human agent. * * @param request - TakeoverAIAgentCallRequest * @param runtime - runtime options for this request RuntimeOptions * @returns TakeoverAIAgentCallResponse */ takeoverAIAgentCallWithOptions(request: $_model.TakeoverAIAgentCallRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TakeoverAIAgentCallResponse>; /** * Hands off a conversation to a human agent. * * @param request - TakeoverAIAgentCallRequest * @returns TakeoverAIAgentCallResponse */ takeoverAIAgentCall(request: $_model.TakeoverAIAgentCallRequest): Promise<$_model.TakeoverAIAgentCallResponse>; /** * Modifies the configuration of a specified AI agent instance. * * @remarks * This operation updates the configuration of an AI agent instance, such as its voice. * * @param tmpReq - UpdateAIAgentInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateAIAgentInstanceResponse */ updateAIAgentInstanceWithOptions(tmpReq: $_model.UpdateAIAgentInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAIAgentInstanceResponse>; /** * Modifies the configuration of a specified AI agent instance. * * @remarks * This operation updates the configuration of an AI agent instance, such as its voice. * * @param request - UpdateAIAgentInstanceRequest * @returns UpdateAIAgentInstanceResponse */ updateAIAgentInstance(request: $_model.UpdateAIAgentInstanceRequest): Promise<$_model.UpdateAIAgentInstanceResponse>; /** * Modifies an ad insertion configuration. * * @param request - UpdateAdInsertionRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateAdInsertionResponse */ updateAdInsertionWithOptions(request: $_model.UpdateAdInsertionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAdInsertionResponse>; /** * Modifies an ad insertion configuration. * * @param request - UpdateAdInsertionRequest * @returns UpdateAdInsertionResponse */ updateAdInsertion(request: $_model.UpdateAdInsertionRequest): Promise<$_model.UpdateAdInsertionResponse>; /** * Modifies a digital human training job. You can modify the basic information or update parameters such as Video and Transparent for retraining if the training failed. * * @param request - UpdateAvatarTrainingJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateAvatarTrainingJobResponse */ updateAvatarTrainingJobWithOptions(request: $_model.UpdateAvatarTrainingJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAvatarTrainingJobResponse>; /** * Modifies a digital human training job. You can modify the basic information or update parameters such as Video and Transparent for retraining if the training failed. * * @param request - UpdateAvatarTrainingJobRequest * @returns UpdateAvatarTrainingJobResponse */ updateAvatarTrainingJob(request: $_model.UpdateAvatarTrainingJobRequest): Promise<$_model.UpdateAvatarTrainingJobResponse>; /** * Updates a category. * * @remarks * After you create a media asset category, you can call this operation to find the category based on the category ID and change the name of the category. * * @param request - UpdateCategoryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateCategoryResponse */ updateCategoryWithOptions(request: $_model.UpdateCategoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCategoryResponse>; /** * Updates a category. * * @remarks * After you create a media asset category, you can call this operation to find the category based on the category ID and change the name of the category. * * @param request - UpdateCategoryRequest * @returns UpdateCategoryResponse */ updateCategory(request: $_model.UpdateCategoryRequest): Promise<$_model.UpdateCategoryResponse>; /** * Modifies a MediaWeaver channel. * * @param request - UpdateChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateChannelResponse */ updateChannelWithOptions(request: $_model.UpdateChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateChannelResponse>; /** * Modifies a MediaWeaver channel. * * @param request - UpdateChannelRequest * @returns UpdateChannelResponse */ updateChannel(request: $_model.UpdateChannelRequest): Promise<$_model.UpdateChannelResponse>; /** * Updates a custom template. * * @param request - UpdateCustomTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateCustomTemplateResponse */ updateCustomTemplateWithOptions(request: $_model.UpdateCustomTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCustomTemplateResponse>; /** * Updates a custom template. * * @param request - UpdateCustomTemplateRequest * @returns UpdateCustomTemplateResponse */ updateCustomTemplate(request: $_model.UpdateCustomTemplateRequest): Promise<$_model.UpdateCustomTemplateResponse>; /** * Updates a personalized human voice. Only the media asset ID of the sample audio file can be modified. * * @param request - UpdateCustomizedVoiceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateCustomizedVoiceResponse */ updateCustomizedVoiceWithOptions(request: $_model.UpdateCustomizedVoiceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateCustomizedVoiceResponse>; /** * Updates a personalized human voice. Only the media asset ID of the sample audio file can be modified. * * @param request - UpdateCustomizedVoiceRequest * @returns UpdateCustomizedVoiceResponse */ updateCustomizedVoice(request: $_model.UpdateCustomizedVoiceRequest): Promise<$_model.UpdateCustomizedVoiceResponse>; /** * Updates the title, timeline, cover, and other properties of a cloud editing project. * * @param request - UpdateEditingProjectRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateEditingProjectResponse */ updateEditingProjectWithOptions(request: $_model.UpdateEditingProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateEditingProjectResponse>; /** * Updates the title, timeline, cover, and other properties of a cloud editing project. * * @param request - UpdateEditingProjectRequest * @returns UpdateEditingProjectResponse */ updateEditingProject(request: $_model.UpdateEditingProjectRequest): Promise<$_model.UpdateEditingProjectResponse>; /** * Modifies a specified hotword library, including its name, description, and hotword list. * * @remarks * ## [](#) * - Modify a specified hotword library. * - The hotword library ID (`HotwordLibraryId`) is required to identify the library that requires modification. * - You can modify its name (`Name` ), description (`Description` ), and hotword list (`HotWords`). * - Each hotword in the list can also be modified, including its content (`Text`), weight (`Weight`), language (`Language`), and translation results (`TranspositionResultList`). * - A single account supports up to 100 hotword libraries, each containing a maximum of 300 hotword entries. In a library, the combination of `language` and `text` of an entry must be unique. The combination of `TranslatedText` and `TargetLanguage` in `TranspositionResultList` must also be unique. * * @param tmpReq - UpdateHotwordLibraryRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateHotwordLibraryResponse */ updateHotwordLibraryWithOptions(tmpReq: $_model.UpdateHotwordLibraryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateHotwordLibraryResponse>; /** * Modifies a specified hotword library, including its name, description, and hotword list. * * @remarks * ## [](#) * - Modify a specified hotword library. * - The hotword library ID (`HotwordLibraryId`) is required to identify the library that requires modification. * - You can modify its name (`Name` ), description (`Description` ), and hotword list (`HotWords`). * - Each hotword in the list can also be modified, including its content (`Text`), weight (`Weight`), language (`Language`), and translation results (`TranspositionResultList`). * - A single account supports up to 100 hotword libraries, each containing a maximum of 300 hotword entries. In a library, the combination of `language` and `text` of an entry must be unique. The combination of `TranslatedText` and `TargetLanguage` in `TranspositionResultList` must also be unique. * * @param request - UpdateHotwordLibraryRequest * @returns UpdateHotwordLibraryResponse */ updateHotwordLibrary(request: $_model.UpdateHotwordLibraryRequest): Promise<$_model.UpdateHotwordLibraryResponse>; /** * Updates the configuration of a live package channel, including the protocol, segment duration, and number of segments. * * @remarks * ## [](#)Usage notes * You need to provide the name of the channel group to which the channel belongs, channel name, protocol, segment duration, and number of segments to update. In addition, you can choose to add or modify the description of the channel. Make sure that the provided channel group name and channel name conform to the naming conventions. * * @param request - UpdateLivePackageChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLivePackageChannelResponse */ updateLivePackageChannelWithOptions(request: $_model.UpdateLivePackageChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLivePackageChannelResponse>; /** * Updates the configuration of a live package channel, including the protocol, segment duration, and number of segments. * * @remarks * ## [](#)Usage notes * You need to provide the name of the channel group to which the channel belongs, channel name, protocol, segment duration, and number of segments to update. In addition, you can choose to add or modify the description of the channel. Make sure that the provided channel group name and channel name conform to the naming conventions. * * @param request - UpdateLivePackageChannelRequest * @returns UpdateLivePackageChannelResponse */ updateLivePackageChannel(request: $_model.UpdateLivePackageChannelRequest): Promise<$_model.UpdateLivePackageChannelResponse>; /** * Updates the credentials of ingest endpoints associated with a live package channel. * * @remarks * ## [](#)Usage notes * You can choose to update the primary endpoint, secondary endpoint, or both. The response includes the updated ingest endpoint URL, username, and password for the ingest device to reconfigure. * * @param request - UpdateLivePackageChannelCredentialsRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLivePackageChannelCredentialsResponse */ updateLivePackageChannelCredentialsWithOptions(request: $_model.UpdateLivePackageChannelCredentialsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLivePackageChannelCredentialsResponse>; /** * Updates the credentials of ingest endpoints associated with a live package channel. * * @remarks * ## [](#)Usage notes * You can choose to update the primary endpoint, secondary endpoint, or both. The response includes the updated ingest endpoint URL, username, and password for the ingest device to reconfigure. * * @param request - UpdateLivePackageChannelCredentialsRequest * @returns UpdateLivePackageChannelCredentialsResponse */ updateLivePackageChannelCredentials(request: $_model.UpdateLivePackageChannelCredentialsRequest): Promise<$_model.UpdateLivePackageChannelCredentialsResponse>; /** * Updates the information about a live package channel group including its description. * * @remarks * ## [](#)Usage notes * This API operation allows you to modify the name and description of a live package channel group. The channel group name must conform to the naming conventions and can be up to 1,000 characters. The API response includes the updated channel group details and unique identifier of the request. * * @param request - UpdateLivePackageChannelGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLivePackageChannelGroupResponse */ updateLivePackageChannelGroupWithOptions(request: $_model.UpdateLivePackageChannelGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLivePackageChannelGroupResponse>; /** * Updates the information about a live package channel group including its description. * * @remarks * ## [](#)Usage notes * This API operation allows you to modify the name and description of a live package channel group. The channel group name must conform to the naming conventions and can be up to 1,000 characters. The API response includes the updated channel group details and unique identifier of the request. * * @param request - UpdateLivePackageChannelGroupRequest * @returns UpdateLivePackageChannelGroupResponse */ updateLivePackageChannelGroup(request: $_model.UpdateLivePackageChannelGroupRequest): Promise<$_model.UpdateLivePackageChannelGroupResponse>; /** * Update the real-time packaging origin endpoint configuration of a channel group, supporting protocol, time-shift settings, and access control. * * @remarks * ## Request Description * Modify the origin endpoint configuration for the real-time packaging service under a specified channel group. You can use this API to adjust the origin protocol policy, set the time-shift duration in days, define the playlist name, and configure IP blacklists and whitelists to achieve fine-grained management of real-time streaming media delivery. Note that some parameters are required, and you must provide either an IP whitelist or an origin request header (at least one of them). * * @param tmpReq - UpdateLivePackageOriginEndpointRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLivePackageOriginEndpointResponse */ updateLivePackageOriginEndpointWithOptions(tmpReq: $_model.UpdateLivePackageOriginEndpointRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLivePackageOriginEndpointResponse>; /** * Update the real-time packaging origin endpoint configuration of a channel group, supporting protocol, time-shift settings, and access control. * * @remarks * ## Request Description * Modify the origin endpoint configuration for the real-time packaging service under a specified channel group. You can use this API to adjust the origin protocol policy, set the time-shift duration in days, define the playlist name, and configure IP blacklists and whitelists to achieve fine-grained management of real-time streaming media delivery. Note that some parameters are required, and you must provide either an IP whitelist or an origin request header (at least one of them). * * @param request - UpdateLivePackageOriginEndpointRequest * @returns UpdateLivePackageOriginEndpointResponse */ updateLivePackageOriginEndpoint(request: $_model.UpdateLivePackageOriginEndpointRequest): Promise<$_model.UpdateLivePackageOriginEndpointResponse>; /** * Updates the information about a live stream recording template. * * @remarks * Only user-created templates can be updated. The preset template cannot be updated. * * @param tmpReq - UpdateLiveRecordTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLiveRecordTemplateResponse */ updateLiveRecordTemplateWithOptions(tmpReq: $_model.UpdateLiveRecordTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLiveRecordTemplateResponse>; /** * Updates the information about a live stream recording template. * * @remarks * Only user-created templates can be updated. The preset template cannot be updated. * * @param request - UpdateLiveRecordTemplateRequest * @returns UpdateLiveRecordTemplateResponse */ updateLiveRecordTemplate(request: $_model.UpdateLiveRecordTemplateRequest): Promise<$_model.UpdateLiveRecordTemplateResponse>; /** * Updates the information about a live stream snapshot template. * * @param request - UpdateLiveSnapshotTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLiveSnapshotTemplateResponse */ updateLiveSnapshotTemplateWithOptions(request: $_model.UpdateLiveSnapshotTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLiveSnapshotTemplateResponse>; /** * Updates the information about a live stream snapshot template. * * @param request - UpdateLiveSnapshotTemplateRequest * @returns UpdateLiveSnapshotTemplateResponse */ updateLiveSnapshotTemplate(request: $_model.UpdateLiveSnapshotTemplateRequest): Promise<$_model.UpdateLiveSnapshotTemplateResponse>; /** * Updates the information about a live stream transcoding job. * * @remarks * - For a non-timed transcoding job, you can modify the Name parameter of the job, regardless of the job state. * - For a timed job, you can modify the Name, StreamInput, TranscodeOutput, and TimedConfig parameters. However, the StreamInput, TranscodeOutput, and TimedConfig parameters can be modified only when the job is not started. * * @param tmpReq - UpdateLiveTranscodeJobRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLiveTranscodeJobResponse */ updateLiveTranscodeJobWithOptions(tmpReq: $_model.UpdateLiveTranscodeJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLiveTranscodeJobResponse>; /** * Updates the information about a live stream transcoding job. * * @remarks * - For a non-timed transcoding job, you can modify the Name parameter of the job, regardless of the job state. * - For a timed job, you can modify the Name, StreamInput, TranscodeOutput, and TimedConfig parameters. However, the StreamInput, TranscodeOutput, and TimedConfig parameters can be modified only when the job is not started. * * @param request - UpdateLiveTranscodeJobRequest * @returns UpdateLiveTranscodeJobResponse */ updateLiveTranscodeJob(request: $_model.UpdateLiveTranscodeJobRequest): Promise<$_model.UpdateLiveTranscodeJobResponse>; /** * Updates the information about a live stream transcoding template. * * @param tmpReq - UpdateLiveTranscodeTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateLiveTranscodeTemplateResponse */ updateLiveTranscodeTemplateWithOptions(tmpReq: $_model.UpdateLiveTranscodeTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLiveTranscodeTemplateResponse>; /** * Updates the information about a live stream transcoding template. * * @param request - UpdateLiveTranscodeTemplateRequest * @returns UpdateLiveTranscodeTemplateResponse */ updateLiveTranscodeTemplate(request: $_model.UpdateLiveTranscodeTemplateRequest): Promise<$_model.UpdateLiveTranscodeTemplateResponse>; /** * Modify the input information of a specific MediaConnect flow * * @remarks * - The input can only be modified when the Flow instance status is offline. * - The input type cannot be modified. * * @param request - UpdateMediaConnectFlowInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaConnectFlowInputResponse */ updateMediaConnectFlowInputWithOptions(request: $_model.UpdateMediaConnectFlowInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaConnectFlowInputResponse>; /** * Modify the input information of a specific MediaConnect flow * * @remarks * - The input can only be modified when the Flow instance status is offline. * - The input type cannot be modified. * * @param request - UpdateMediaConnectFlowInputRequest * @returns UpdateMediaConnectFlowInputResponse */ updateMediaConnectFlowInput(request: $_model.UpdateMediaConnectFlowInputRequest): Promise<$_model.UpdateMediaConnectFlowInputResponse>; /** * Modifies an output of a MediaConnect flow. * * @remarks * - You can modify an output only when the flow is in the offline state. * - The output type cannot be modified. * * @param request - UpdateMediaConnectFlowOutputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaConnectFlowOutputResponse */ updateMediaConnectFlowOutputWithOptions(request: $_model.UpdateMediaConnectFlowOutputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaConnectFlowOutputResponse>; /** * Modifies an output of a MediaConnect flow. * * @remarks * - You can modify an output only when the flow is in the offline state. * - The output type cannot be modified. * * @param request - UpdateMediaConnectFlowOutputRequest * @returns UpdateMediaConnectFlowOutputResponse */ updateMediaConnectFlowOutput(request: $_model.UpdateMediaConnectFlowOutputRequest): Promise<$_model.UpdateMediaConnectFlowOutputResponse>; /** * Modifies the state of a MediaConnect flow. * * @param request - UpdateMediaConnectFlowStatusRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaConnectFlowStatusResponse */ updateMediaConnectFlowStatusWithOptions(request: $_model.UpdateMediaConnectFlowStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaConnectFlowStatusResponse>; /** * Modifies the state of a MediaConnect flow. * * @param request - UpdateMediaConnectFlowStatusRequest * @returns UpdateMediaConnectFlowStatusResponse */ updateMediaConnectFlowStatus(request: $_model.UpdateMediaConnectFlowStatusRequest): Promise<$_model.UpdateMediaConnectFlowStatusResponse>; /** * Updates information about a media asset based on the ID of the media asset in Intelligent Media Services (IMS) or the input URL of the media asset. * * @remarks * If the MediaId parameter is specified, the MediaId parameter is preferentially used for the query. If the MediaId parameter is left empty, the InputURL parameter must be specified. The request ID and media asset ID are returned. You cannot modify the input URL of a media asset by specifying the ID of the media asset. * * @param request - UpdateMediaInfoRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaInfoResponse */ updateMediaInfoWithOptions(request: $_model.UpdateMediaInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaInfoResponse>; /** * Updates information about a media asset based on the ID of the media asset in Intelligent Media Services (IMS) or the input URL of the media asset. * * @remarks * If the MediaId parameter is specified, the MediaId parameter is preferentially used for the query. If the MediaId parameter is left empty, the InputURL parameter must be specified. The request ID and media asset ID are returned. You cannot modify the input URL of a media asset by specifying the ID of the media asset. * * @param request - UpdateMediaInfoRequest * @returns UpdateMediaInfoResponse */ updateMediaInfo(request: $_model.UpdateMediaInfoRequest): Promise<$_model.UpdateMediaInfoResponse>; /** * Modifies a MediaLive channel. * * @remarks * - You can modify a MediaLive channel only when it is not running. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param tmpReq - UpdateMediaLiveChannelRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaLiveChannelResponse */ updateMediaLiveChannelWithOptions(tmpReq: $_model.UpdateMediaLiveChannelRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaLiveChannelResponse>; /** * Modifies a MediaLive channel. * * @remarks * - You can modify a MediaLive channel only when it is not running. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - UpdateMediaLiveChannelRequest * @returns UpdateMediaLiveChannelResponse */ updateMediaLiveChannel(request: $_model.UpdateMediaLiveChannelRequest): Promise<$_model.UpdateMediaLiveChannelResponse>; /** * Update a media live input. * * @remarks * - Invoke this API to update a media live input. * - You can update an input only when it is not attached to any media live channel. Inputs that are already attached to a channel cannot be updated. * ## Queries per second (QPS) limit * The QPS limit for this API is 50 queries per second per user. If the limit is exceeded, Rate Limiting will be applied to your API calls, which may impact your business. Make sure to call this API appropriately. * * @param tmpReq - UpdateMediaLiveInputRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaLiveInputResponse */ updateMediaLiveInputWithOptions(tmpReq: $_model.UpdateMediaLiveInputRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaLiveInputResponse>; /** * Update a media live input. * * @remarks * - Invoke this API to update a media live input. * - You can update an input only when it is not attached to any media live channel. Inputs that are already attached to a channel cannot be updated. * ## Queries per second (QPS) limit * The QPS limit for this API is 50 queries per second per user. If the limit is exceeded, Rate Limiting will be applied to your API calls, which may impact your business. Make sure to call this API appropriately. * * @param request - UpdateMediaLiveInputRequest * @returns UpdateMediaLiveInputResponse */ updateMediaLiveInput(request: $_model.UpdateMediaLiveInputRequest): Promise<$_model.UpdateMediaLiveInputResponse>; /** * Modifies a security group created in MediaLive. * * @remarks * - You can modify a security group only when it is not associated with a MediaLive input. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param tmpReq - UpdateMediaLiveInputSecurityGroupRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaLiveInputSecurityGroupResponse */ updateMediaLiveInputSecurityGroupWithOptions(tmpReq: $_model.UpdateMediaLiveInputSecurityGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaLiveInputSecurityGroupResponse>; /** * Modifies a security group created in MediaLive. * * @remarks * - You can modify a security group only when it is not associated with a MediaLive input. * ## QPS limit * This operation can be called up to 50 times per second for each Alibaba Cloud account. Requests that exceed this limit are dropped and you may experience service interruptions. We recommend that you take note of this limit when you call this operation. * * @param request - UpdateMediaLiveInputSecurityGroupRequest * @returns UpdateMediaLiveInputSecurityGroupResponse */ updateMediaLiveInputSecurityGroup(request: $_model.UpdateMediaLiveInputSecurityGroupRequest): Promise<$_model.UpdateMediaLiveInputSecurityGroupResponse>; /** * Modifies the marks of a media asset. * * @param request - UpdateMediaMarksRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaMarksResponse */ updateMediaMarksWithOptions(request: $_model.UpdateMediaMarksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaMarksResponse>; /** * Modifies the marks of a media asset. * * @param request - UpdateMediaMarksRequest * @returns UpdateMediaMarksResponse */ updateMediaMarks(request: $_model.UpdateMediaMarksRequest): Promise<$_model.UpdateMediaMarksResponse>; /** * Update media asset information in the search library. * * @param request - UpdateMediaToSearchLibRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateMediaToSearchLibResponse */ updateMediaToSearchLibWithOptions(request: $_model.UpdateMediaToSearchLibRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMediaToSearchLibResponse>; /** * Update media asset information in the search library. * * @param request - UpdateMediaToSearchLibRequest * @returns UpdateMediaToSearchLibResponse */ updateMediaToSearchLib(request: $_model.UpdateMediaToSearchLibRequest): Promise<$_model.UpdateMediaToSearchLibResponse>; /** * Updates the information about an ApsaraVideo Media Processing (MPS) queue. * * @param request - UpdatePipelineRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdatePipelineResponse */ updatePipelineWithOptions(request: $_model.UpdatePipelineRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePipelineResponse>; /** * Updates the information about an ApsaraVideo Media Processing (MPS) queue. * * @param request - UpdatePipelineRequest * @returns UpdatePipelineResponse */ updatePipeline(request: $_model.UpdatePipelineRequest): Promise<$_model.UpdatePipelineResponse>; /** * Modifies a program in a MediaWeaver channel. * * @param request - UpdateProgramRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateProgramResponse */ updateProgramWithOptions(request: $_model.UpdateProgramRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateProgramResponse>; /** * Modifies a program in a MediaWeaver channel. * * @param request - UpdateProgramRequest * @returns UpdateProgramResponse */ updateProgram(request: $_model.UpdateProgramRequest): Promise<$_model.UpdateProgramResponse>; /** * Updates the configuration of an RTC AI Agent instance, such as its voice and greeting. * * @param tmpReq - UpdateRtcRobotInstanceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateRtcRobotInstanceResponse */ updateRtcRobotInstanceWithOptions(tmpReq: $_model.UpdateRtcRobotInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateRtcRobotInstanceResponse>; /** * Updates the configuration of an RTC AI Agent instance, such as its voice and greeting. * * @param request - UpdateRtcRobotInstanceRequest * @returns UpdateRtcRobotInstanceResponse */ updateRtcRobotInstance(request: $_model.UpdateRtcRobotInstanceRequest): Promise<$_model.UpdateRtcRobotInstanceResponse>; /** * Modifies a source. * * @param request - UpdateSourceRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateSourceResponse */ updateSourceWithOptions(request: $_model.UpdateSourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateSourceResponse>; /** * Modifies a source. * * @param request - UpdateSourceRequest * @returns UpdateSourceResponse */ updateSource(request: $_model.UpdateSourceRequest): Promise<$_model.UpdateSourceResponse>; /** * Modifies a source location. * * @param request - UpdateSourceLocationRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateSourceLocationResponse */ updateSourceLocationWithOptions(request: $_model.UpdateSourceLocationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateSourceLocationResponse>; /** * Modifies a source location. * * @param request - UpdateSourceLocationRequest * @returns UpdateSourceLocationResponse */ updateSourceLocation(request: $_model.UpdateSourceLocationRequest): Promise<$_model.UpdateSourceLocationResponse>; /** * Modifies an online editing template. You can modify the template title and template configurations. * * @remarks * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - UpdateTemplateRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UpdateTemplateResponse */ updateTemplateWithOptions(request: $_model.UpdateTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateTemplateResponse>; /** * Modifies an online editing template. You can modify the template title and template configurations. * * @remarks * - For more information about how to use a regular template, see [Create and use a regular template](https://help.aliyun.com/document_detail/445399.html). * - For more information about how to use an advanced template, see [Create and use advanced templates](https://help.aliyun.com/document_detail/445389.html). * * @param request - UpdateTemplateRequest * @returns UpdateTemplateResponse */ updateTemplate(request: $_model.UpdateTemplateRequest): Promise<$_model.UpdateTemplateResponse>; /** * The UploadMediaByURL API uploads audio or video files from source URLs. It supports batch uploads and is ideal for uploading files from a public URL instead of a local server or device. * * @remarks * ### Description * - If a callback is configured, the service sends an event notification when the URL upload is complete. You can query the upload status by calling the API to retrieve URL upload information. * - After you successfully submit an upload job, the system creates an asynchronous task in the cloud and queues it for execution. After the upload is complete, you can use the URL and media ID from the event notification (message callback) to update your records. * ### Limitations * - This API supports uploading files to VOD storage only and does not support uploading to your own Object Storage Service (OSS) buckets. To use your own OSS storage, you must first pull the files to a local device, upload them to OSS by using the [OSS SDK](https://help.aliyun.com/document_detail/32006.html), and then call the [RegisterMediaInfo](https://help.aliyun.com/document_detail/441152.html) API to register the OSS object with the media asset library. * - This API is currently available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * - This API supports uploading audio and video files only. * * @param request - UploadMediaByURLRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UploadMediaByURLResponse */ uploadMediaByURLWithOptions(request: $_model.UploadMediaByURLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UploadMediaByURLResponse>; /** * The UploadMediaByURL API uploads audio or video files from source URLs. It supports batch uploads and is ideal for uploading files from a public URL instead of a local server or device. * * @remarks * ### Description * - If a callback is configured, the service sends an event notification when the URL upload is complete. You can query the upload status by calling the API to retrieve URL upload information. * - After you successfully submit an upload job, the system creates an asynchronous task in the cloud and queues it for execution. After the upload is complete, you can use the URL and media ID from the event notification (message callback) to update your records. * ### Limitations * - This API supports uploading files to VOD storage only and does not support uploading to your own Object Storage Service (OSS) buckets. To use your own OSS storage, you must first pull the files to a local device, upload them to OSS by using the [OSS SDK](https://help.aliyun.com/document_detail/32006.html), and then call the [RegisterMediaInfo](https://help.aliyun.com/document_detail/441152.html) API to register the OSS object with the media asset library. * - This API is currently available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * - This API supports uploading audio and video files only. * * @param request - UploadMediaByURLRequest * @returns UploadMediaByURLResponse */ uploadMediaByURL(request: $_model.UploadMediaByURLRequest): Promise<$_model.UploadMediaByURLResponse>; /** * Uploads a media stream file based on the URL of the source file. * * @remarks * - Pull a media stream file based on a URL and upload the file. After the media stream file is uploaded, the media stream is associated with the specified media asset ID. * - Upload media stream files only to ApsaraVideo VOD, but not to your own Object Storage Service (OSS) buckets. To upload a media stream file to an OSS bucket, pull the file to a local directory, use [OSS SDK](https://help.aliyun.com/document_detail/32006.html) to upload the file to an OSS bucket, and then call the [RegisterMediaStream](https://help.aliyun.com/document_detail/440765.html) operation to associate the media stream with the specified media asset ID. * - This operation is available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * * @param request - UploadStreamByURLRequest * @param runtime - runtime options for this request RuntimeOptions * @returns UploadStreamByURLResponse */ uploadStreamByURLWithOptions(request: $_model.UploadStreamByURLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UploadStreamByURLResponse>; /** * Uploads a media stream file based on the URL of the source file. * * @remarks * - Pull a media stream file based on a URL and upload the file. After the media stream file is uploaded, the media stream is associated with the specified media asset ID. * - Upload media stream files only to ApsaraVideo VOD, but not to your own Object Storage Service (OSS) buckets. To upload a media stream file to an OSS bucket, pull the file to a local directory, use [OSS SDK](https://help.aliyun.com/document_detail/32006.html) to upload the file to an OSS bucket, and then call the [RegisterMediaStream](https://help.aliyun.com/document_detail/440765.html) operation to associate the media stream with the specified media asset ID. * - This operation is available only in the China (Shanghai), China (Beijing), and China (Shenzhen) regions. * * @param request - UploadStreamByURLRequest * @returns UploadStreamByURLResponse */ uploadStreamByURL(request: $_model.UploadStreamByURLRequest): Promise<$_model.UploadStreamByURLResponse>; }