1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. MpsEditMediaOperation
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.MpsEditMediaOperation

Explore with Pulumi AI

Provides a resource to create a mps edit_media_operation

Example Usage

Operation through COS

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const output = new tencentcloud.CosBucket("output", {bucket: `tf-bucket-mps-output-${local.app_id}`});
const object = tencentcloud.getCosBucketObject({
    bucket: `keep-bucket-${local.app_id}`,
    key: "/mps-test/test.mov",
});
const operation = new tencentcloud.MpsEditMediaOperation("operation", {
    fileInfos: [{
        inputInfo: {
            type: "COS",
            cosInputInfo: {
                bucket: object.then(object => object.bucket),
                region: "%s",
                object: object.then(object => object.key),
            },
        },
        startTimeOffset: 60,
        endTimeOffset: 120,
    }],
    outputStorage: {
        type: "COS",
        cosOutputStorage: {
            bucket: output.bucket,
            region: "%s",
        },
    },
    outputObjectPath: "/output",
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

output = tencentcloud.CosBucket("output", bucket=f"tf-bucket-mps-output-{local['app_id']}")
object = tencentcloud.get_cos_bucket_object(bucket=f"keep-bucket-{local['app_id']}",
    key="/mps-test/test.mov")
operation = tencentcloud.MpsEditMediaOperation("operation",
    file_infos=[{
        "input_info": {
            "type": "COS",
            "cos_input_info": {
                "bucket": object.bucket,
                "region": "%s",
                "object": object.key,
            },
        },
        "start_time_offset": 60,
        "end_time_offset": 120,
    }],
    output_storage={
        "type": "COS",
        "cos_output_storage": {
            "bucket": output.bucket,
            "region": "%s",
        },
    },
    output_object_path="/output")
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		output, err := tencentcloud.NewCosBucket(ctx, "output", &tencentcloud.CosBucketArgs{
			Bucket: pulumi.Sprintf("tf-bucket-mps-output-%v", local.App_id),
		})
		if err != nil {
			return err
		}
		object, err := tencentcloud.LookupCosBucketObject(ctx, &tencentcloud.LookupCosBucketObjectArgs{
			Bucket: fmt.Sprintf("keep-bucket-%v", local.App_id),
			Key:    "/mps-test/test.mov",
		}, nil)
		if err != nil {
			return err
		}
		_, err = tencentcloud.NewMpsEditMediaOperation(ctx, "operation", &tencentcloud.MpsEditMediaOperationArgs{
			FileInfos: tencentcloud.MpsEditMediaOperationFileInfoArray{
				&tencentcloud.MpsEditMediaOperationFileInfoArgs{
					InputInfo: &tencentcloud.MpsEditMediaOperationFileInfoInputInfoArgs{
						Type: pulumi.String("COS"),
						CosInputInfo: &tencentcloud.MpsEditMediaOperationFileInfoInputInfoCosInputInfoArgs{
							Bucket: pulumi.String(object.Bucket),
							Region: pulumi.String("%s"),
							Object: pulumi.String(object.Key),
						},
					},
					StartTimeOffset: pulumi.Float64(60),
					EndTimeOffset:   pulumi.Float64(120),
				},
			},
			OutputStorage: &tencentcloud.MpsEditMediaOperationOutputStorageArgs{
				Type: pulumi.String("COS"),
				CosOutputStorage: &tencentcloud.MpsEditMediaOperationOutputStorageCosOutputStorageArgs{
					Bucket: output.Bucket,
					Region: pulumi.String("%s"),
				},
			},
			OutputObjectPath: pulumi.String("/output"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var output = new Tencentcloud.CosBucket("output", new()
    {
        Bucket = $"tf-bucket-mps-output-{local.App_id}",
    });

    var @object = Tencentcloud.GetCosBucketObject.Invoke(new()
    {
        Bucket = $"keep-bucket-{local.App_id}",
        Key = "/mps-test/test.mov",
    });

    var operation = new Tencentcloud.MpsEditMediaOperation("operation", new()
    {
        FileInfos = new[]
        {
            new Tencentcloud.Inputs.MpsEditMediaOperationFileInfoArgs
            {
                InputInfo = new Tencentcloud.Inputs.MpsEditMediaOperationFileInfoInputInfoArgs
                {
                    Type = "COS",
                    CosInputInfo = new Tencentcloud.Inputs.MpsEditMediaOperationFileInfoInputInfoCosInputInfoArgs
                    {
                        Bucket = @object.Apply(@object => @object.Apply(getCosBucketObjectResult => getCosBucketObjectResult.Bucket)),
                        Region = "%s",
                        Object = @object.Apply(@object => @object.Apply(getCosBucketObjectResult => getCosBucketObjectResult.Key)),
                    },
                },
                StartTimeOffset = 60,
                EndTimeOffset = 120,
            },
        },
        OutputStorage = new Tencentcloud.Inputs.MpsEditMediaOperationOutputStorageArgs
        {
            Type = "COS",
            CosOutputStorage = new Tencentcloud.Inputs.MpsEditMediaOperationOutputStorageCosOutputStorageArgs
            {
                Bucket = output.Bucket,
                Region = "%s",
            },
        },
        OutputObjectPath = "/output",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CosBucket;
import com.pulumi.tencentcloud.CosBucketArgs;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCosBucketObjectArgs;
import com.pulumi.tencentcloud.MpsEditMediaOperation;
import com.pulumi.tencentcloud.MpsEditMediaOperationArgs;
import com.pulumi.tencentcloud.inputs.MpsEditMediaOperationFileInfoArgs;
import com.pulumi.tencentcloud.inputs.MpsEditMediaOperationFileInfoInputInfoArgs;
import com.pulumi.tencentcloud.inputs.MpsEditMediaOperationFileInfoInputInfoCosInputInfoArgs;
import com.pulumi.tencentcloud.inputs.MpsEditMediaOperationOutputStorageArgs;
import com.pulumi.tencentcloud.inputs.MpsEditMediaOperationOutputStorageCosOutputStorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var output = new CosBucket("output", CosBucketArgs.builder()
            .bucket(String.format("tf-bucket-mps-output-%s", local.app_id()))
            .build());

        final var object = TencentcloudFunctions.getCosBucketObject(GetCosBucketObjectArgs.builder()
            .bucket(String.format("keep-bucket-%s", local.app_id()))
            .key("/mps-test/test.mov")
            .build());

        var operation = new MpsEditMediaOperation("operation", MpsEditMediaOperationArgs.builder()
            .fileInfos(MpsEditMediaOperationFileInfoArgs.builder()
                .inputInfo(MpsEditMediaOperationFileInfoInputInfoArgs.builder()
                    .type("COS")
                    .cosInputInfo(MpsEditMediaOperationFileInfoInputInfoCosInputInfoArgs.builder()
                        .bucket(object.applyValue(getCosBucketObjectResult -> getCosBucketObjectResult.bucket()))
                        .region("%s")
                        .object(object.applyValue(getCosBucketObjectResult -> getCosBucketObjectResult.key()))
                        .build())
                    .build())
                .startTimeOffset(60)
                .endTimeOffset(120)
                .build())
            .outputStorage(MpsEditMediaOperationOutputStorageArgs.builder()
                .type("COS")
                .cosOutputStorage(MpsEditMediaOperationOutputStorageCosOutputStorageArgs.builder()
                    .bucket(output.bucket())
                    .region("%s")
                    .build())
                .build())
            .outputObjectPath("/output")
            .build());

    }
}
Copy
resources:
  output:
    type: tencentcloud:CosBucket
    properties:
      bucket: tf-bucket-mps-output-${local.app_id}
  operation:
    type: tencentcloud:MpsEditMediaOperation
    properties:
      fileInfos:
        - inputInfo:
            type: COS
            cosInputInfo:
              bucket: ${object.bucket}
              region: '%s'
              object: ${object.key}
          startTimeOffset: 60
          endTimeOffset: 120
      outputStorage:
        type: COS
        cosOutputStorage:
          bucket: ${output.bucket}
          region: '%s'
      outputObjectPath: /output
variables:
  object:
    fn::invoke:
      function: tencentcloud:getCosBucketObject
      arguments:
        bucket: keep-bucket-${local.app_id}
        key: /mps-test/test.mov
Copy

Create MpsEditMediaOperation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MpsEditMediaOperation(name: string, args: MpsEditMediaOperationArgs, opts?: CustomResourceOptions);
@overload
def MpsEditMediaOperation(resource_name: str,
                          args: MpsEditMediaOperationArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def MpsEditMediaOperation(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          file_infos: Optional[Sequence[MpsEditMediaOperationFileInfoArgs]] = None,
                          output_object_path: Optional[str] = None,
                          output_storage: Optional[MpsEditMediaOperationOutputStorageArgs] = None,
                          mps_edit_media_operation_id: Optional[str] = None,
                          output_config: Optional[MpsEditMediaOperationOutputConfigArgs] = None,
                          session_context: Optional[str] = None,
                          session_id: Optional[str] = None,
                          task_notify_config: Optional[MpsEditMediaOperationTaskNotifyConfigArgs] = None,
                          tasks_priority: Optional[float] = None)
func NewMpsEditMediaOperation(ctx *Context, name string, args MpsEditMediaOperationArgs, opts ...ResourceOption) (*MpsEditMediaOperation, error)
public MpsEditMediaOperation(string name, MpsEditMediaOperationArgs args, CustomResourceOptions? opts = null)
public MpsEditMediaOperation(String name, MpsEditMediaOperationArgs args)
public MpsEditMediaOperation(String name, MpsEditMediaOperationArgs args, CustomResourceOptions options)
type: tencentcloud:MpsEditMediaOperation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MpsEditMediaOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MpsEditMediaOperationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MpsEditMediaOperationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MpsEditMediaOperationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MpsEditMediaOperationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

MpsEditMediaOperation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The MpsEditMediaOperation resource accepts the following input properties:

FileInfos This property is required. List<MpsEditMediaOperationFileInfo>
Information of input video file.
OutputObjectPath This property is required. string
The path to save the media processing output file.
OutputStorage This property is required. MpsEditMediaOperationOutputStorage
The storage location of the media processing output file.
MpsEditMediaOperationId string
ID of the resource.
OutputConfig MpsEditMediaOperationOutputConfig
Configuration for output files of video editing.
SessionContext string
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
SessionId string
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
TaskNotifyConfig MpsEditMediaOperationTaskNotifyConfig
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
TasksPriority double
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
FileInfos This property is required. []MpsEditMediaOperationFileInfoArgs
Information of input video file.
OutputObjectPath This property is required. string
The path to save the media processing output file.
OutputStorage This property is required. MpsEditMediaOperationOutputStorageArgs
The storage location of the media processing output file.
MpsEditMediaOperationId string
ID of the resource.
OutputConfig MpsEditMediaOperationOutputConfigArgs
Configuration for output files of video editing.
SessionContext string
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
SessionId string
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
TaskNotifyConfig MpsEditMediaOperationTaskNotifyConfigArgs
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
TasksPriority float64
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
fileInfos This property is required. List<MpsEditMediaOperationFileInfo>
Information of input video file.
outputObjectPath This property is required. String
The path to save the media processing output file.
outputStorage This property is required. MpsEditMediaOperationOutputStorage
The storage location of the media processing output file.
mpsEditMediaOperationId String
ID of the resource.
outputConfig MpsEditMediaOperationOutputConfig
Configuration for output files of video editing.
sessionContext String
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
sessionId String
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
taskNotifyConfig MpsEditMediaOperationTaskNotifyConfig
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasksPriority Double
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
fileInfos This property is required. MpsEditMediaOperationFileInfo[]
Information of input video file.
outputObjectPath This property is required. string
The path to save the media processing output file.
outputStorage This property is required. MpsEditMediaOperationOutputStorage
The storage location of the media processing output file.
mpsEditMediaOperationId string
ID of the resource.
outputConfig MpsEditMediaOperationOutputConfig
Configuration for output files of video editing.
sessionContext string
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
sessionId string
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
taskNotifyConfig MpsEditMediaOperationTaskNotifyConfig
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasksPriority number
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
file_infos This property is required. Sequence[MpsEditMediaOperationFileInfoArgs]
Information of input video file.
output_object_path This property is required. str
The path to save the media processing output file.
output_storage This property is required. MpsEditMediaOperationOutputStorageArgs
The storage location of the media processing output file.
mps_edit_media_operation_id str
ID of the resource.
output_config MpsEditMediaOperationOutputConfigArgs
Configuration for output files of video editing.
session_context str
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
session_id str
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
task_notify_config MpsEditMediaOperationTaskNotifyConfigArgs
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasks_priority float
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
fileInfos This property is required. List<Property Map>
Information of input video file.
outputObjectPath This property is required. String
The path to save the media processing output file.
outputStorage This property is required. Property Map
The storage location of the media processing output file.
mpsEditMediaOperationId String
ID of the resource.
outputConfig Property Map
Configuration for output files of video editing.
sessionContext String
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
sessionId String
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
taskNotifyConfig Property Map
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasksPriority Number
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.

Outputs

All input properties are implicitly available as output properties. Additionally, the MpsEditMediaOperation resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing MpsEditMediaOperation Resource

Get an existing MpsEditMediaOperation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: MpsEditMediaOperationState, opts?: CustomResourceOptions): MpsEditMediaOperation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        file_infos: Optional[Sequence[MpsEditMediaOperationFileInfoArgs]] = None,
        mps_edit_media_operation_id: Optional[str] = None,
        output_config: Optional[MpsEditMediaOperationOutputConfigArgs] = None,
        output_object_path: Optional[str] = None,
        output_storage: Optional[MpsEditMediaOperationOutputStorageArgs] = None,
        session_context: Optional[str] = None,
        session_id: Optional[str] = None,
        task_notify_config: Optional[MpsEditMediaOperationTaskNotifyConfigArgs] = None,
        tasks_priority: Optional[float] = None) -> MpsEditMediaOperation
func GetMpsEditMediaOperation(ctx *Context, name string, id IDInput, state *MpsEditMediaOperationState, opts ...ResourceOption) (*MpsEditMediaOperation, error)
public static MpsEditMediaOperation Get(string name, Input<string> id, MpsEditMediaOperationState? state, CustomResourceOptions? opts = null)
public static MpsEditMediaOperation get(String name, Output<String> id, MpsEditMediaOperationState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:MpsEditMediaOperation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
FileInfos List<MpsEditMediaOperationFileInfo>
Information of input video file.
MpsEditMediaOperationId string
ID of the resource.
OutputConfig MpsEditMediaOperationOutputConfig
Configuration for output files of video editing.
OutputObjectPath string
The path to save the media processing output file.
OutputStorage MpsEditMediaOperationOutputStorage
The storage location of the media processing output file.
SessionContext string
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
SessionId string
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
TaskNotifyConfig MpsEditMediaOperationTaskNotifyConfig
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
TasksPriority double
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
FileInfos []MpsEditMediaOperationFileInfoArgs
Information of input video file.
MpsEditMediaOperationId string
ID of the resource.
OutputConfig MpsEditMediaOperationOutputConfigArgs
Configuration for output files of video editing.
OutputObjectPath string
The path to save the media processing output file.
OutputStorage MpsEditMediaOperationOutputStorageArgs
The storage location of the media processing output file.
SessionContext string
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
SessionId string
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
TaskNotifyConfig MpsEditMediaOperationTaskNotifyConfigArgs
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
TasksPriority float64
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
fileInfos List<MpsEditMediaOperationFileInfo>
Information of input video file.
mpsEditMediaOperationId String
ID of the resource.
outputConfig MpsEditMediaOperationOutputConfig
Configuration for output files of video editing.
outputObjectPath String
The path to save the media processing output file.
outputStorage MpsEditMediaOperationOutputStorage
The storage location of the media processing output file.
sessionContext String
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
sessionId String
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
taskNotifyConfig MpsEditMediaOperationTaskNotifyConfig
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasksPriority Double
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
fileInfos MpsEditMediaOperationFileInfo[]
Information of input video file.
mpsEditMediaOperationId string
ID of the resource.
outputConfig MpsEditMediaOperationOutputConfig
Configuration for output files of video editing.
outputObjectPath string
The path to save the media processing output file.
outputStorage MpsEditMediaOperationOutputStorage
The storage location of the media processing output file.
sessionContext string
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
sessionId string
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
taskNotifyConfig MpsEditMediaOperationTaskNotifyConfig
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasksPriority number
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
file_infos Sequence[MpsEditMediaOperationFileInfoArgs]
Information of input video file.
mps_edit_media_operation_id str
ID of the resource.
output_config MpsEditMediaOperationOutputConfigArgs
Configuration for output files of video editing.
output_object_path str
The path to save the media processing output file.
output_storage MpsEditMediaOperationOutputStorageArgs
The storage location of the media processing output file.
session_context str
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
session_id str
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
task_notify_config MpsEditMediaOperationTaskNotifyConfigArgs
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasks_priority float
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.
fileInfos List<Property Map>
Information of input video file.
mpsEditMediaOperationId String
ID of the resource.
outputConfig Property Map
Configuration for output files of video editing.
outputObjectPath String
The path to save the media processing output file.
outputStorage Property Map
The storage location of the media processing output file.
sessionContext String
The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
sessionId String
The ID used for deduplication. If there was a request with the same ID in the last three days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.
taskNotifyConfig Property Map
Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
tasksPriority Number
Task priority. The higher the value, the higher the priority. Value range: [-10,10]. If this parameter is left empty, 0 will be used.

Supporting Types

MpsEditMediaOperationFileInfo
, MpsEditMediaOperationFileInfoArgs

InputInfo This property is required. MpsEditMediaOperationFileInfoInputInfo
Video input information.
EndTimeOffset double
End time offset of video clipping in seconds.
StartTimeOffset double
Start time offset of video clipping in seconds.
InputInfo This property is required. MpsEditMediaOperationFileInfoInputInfo
Video input information.
EndTimeOffset float64
End time offset of video clipping in seconds.
StartTimeOffset float64
Start time offset of video clipping in seconds.
inputInfo This property is required. MpsEditMediaOperationFileInfoInputInfo
Video input information.
endTimeOffset Double
End time offset of video clipping in seconds.
startTimeOffset Double
Start time offset of video clipping in seconds.
inputInfo This property is required. MpsEditMediaOperationFileInfoInputInfo
Video input information.
endTimeOffset number
End time offset of video clipping in seconds.
startTimeOffset number
Start time offset of video clipping in seconds.
input_info This property is required. MpsEditMediaOperationFileInfoInputInfo
Video input information.
end_time_offset float
End time offset of video clipping in seconds.
start_time_offset float
Start time offset of video clipping in seconds.
inputInfo This property is required. Property Map
Video input information.
endTimeOffset Number
End time offset of video clipping in seconds.
startTimeOffset Number
Start time offset of video clipping in seconds.

MpsEditMediaOperationFileInfoInputInfo
, MpsEditMediaOperationFileInfoInputInfoArgs

Type This property is required. string
The input type. Valid values: COS: A COS bucket address. URL: A URL. AWS-S3: An AWS S3 bucket address. Currently, this type is only supported for transcoding tasks.
CosInputInfo MpsEditMediaOperationFileInfoInputInfoCosInputInfo
The information of the COS object to process. This parameter is valid and required when Type is COS.
S3InputInfo MpsEditMediaOperationFileInfoInputInfoS3InputInfo
The information of the AWS S3 object processed. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
UrlInputInfo MpsEditMediaOperationFileInfoInputInfoUrlInputInfo
The URL of the object to process. This parameter is valid and required when Type is URL.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The input type. Valid values: COS: A COS bucket address. URL: A URL. AWS-S3: An AWS S3 bucket address. Currently, this type is only supported for transcoding tasks.
CosInputInfo MpsEditMediaOperationFileInfoInputInfoCosInputInfo
The information of the COS object to process. This parameter is valid and required when Type is COS.
S3InputInfo MpsEditMediaOperationFileInfoInputInfoS3InputInfo
The information of the AWS S3 object processed. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
UrlInputInfo MpsEditMediaOperationFileInfoInputInfoUrlInputInfo
The URL of the object to process. This parameter is valid and required when Type is URL.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The input type. Valid values: COS: A COS bucket address. URL: A URL. AWS-S3: An AWS S3 bucket address. Currently, this type is only supported for transcoding tasks.
cosInputInfo MpsEditMediaOperationFileInfoInputInfoCosInputInfo
The information of the COS object to process. This parameter is valid and required when Type is COS.
s3InputInfo MpsEditMediaOperationFileInfoInputInfoS3InputInfo
The information of the AWS S3 object processed. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
urlInputInfo MpsEditMediaOperationFileInfoInputInfoUrlInputInfo
The URL of the object to process. This parameter is valid and required when Type is URL.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The input type. Valid values: COS: A COS bucket address. URL: A URL. AWS-S3: An AWS S3 bucket address. Currently, this type is only supported for transcoding tasks.
cosInputInfo MpsEditMediaOperationFileInfoInputInfoCosInputInfo
The information of the COS object to process. This parameter is valid and required when Type is COS.
s3InputInfo MpsEditMediaOperationFileInfoInputInfoS3InputInfo
The information of the AWS S3 object processed. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
urlInputInfo MpsEditMediaOperationFileInfoInputInfoUrlInputInfo
The URL of the object to process. This parameter is valid and required when Type is URL.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The input type. Valid values: COS: A COS bucket address. URL: A URL. AWS-S3: An AWS S3 bucket address. Currently, this type is only supported for transcoding tasks.
cos_input_info MpsEditMediaOperationFileInfoInputInfoCosInputInfo
The information of the COS object to process. This parameter is valid and required when Type is COS.
s3_input_info MpsEditMediaOperationFileInfoInputInfoS3InputInfo
The information of the AWS S3 object processed. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
url_input_info MpsEditMediaOperationFileInfoInputInfoUrlInputInfo
The URL of the object to process. This parameter is valid and required when Type is URL.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The input type. Valid values: COS: A COS bucket address. URL: A URL. AWS-S3: An AWS S3 bucket address. Currently, this type is only supported for transcoding tasks.
cosInputInfo Property Map
The information of the COS object to process. This parameter is valid and required when Type is COS.
s3InputInfo Property Map
The information of the AWS S3 object processed. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
urlInputInfo Property Map
The URL of the object to process. This parameter is valid and required when Type is URL.Note: This field may return null, indicating that no valid value can be obtained.

MpsEditMediaOperationFileInfoInputInfoCosInputInfo
, MpsEditMediaOperationFileInfoInputInfoCosInputInfoArgs

Bucket This property is required. string
The COS bucket of the object to process, such as TopRankVideo-125xxx88.
Object This property is required. string
The path of the object to process, such as /movie/201907/WildAnimal.mov.
Region This property is required. string
The region of the COS bucket, such as ap-chongqing.
Bucket This property is required. string
The COS bucket of the object to process, such as TopRankVideo-125xxx88.
Object This property is required. string
The path of the object to process, such as /movie/201907/WildAnimal.mov.
Region This property is required. string
The region of the COS bucket, such as ap-chongqing.
bucket This property is required. String
The COS bucket of the object to process, such as TopRankVideo-125xxx88.
object This property is required. String
The path of the object to process, such as /movie/201907/WildAnimal.mov.
region This property is required. String
The region of the COS bucket, such as ap-chongqing.
bucket This property is required. string
The COS bucket of the object to process, such as TopRankVideo-125xxx88.
object This property is required. string
The path of the object to process, such as /movie/201907/WildAnimal.mov.
region This property is required. string
The region of the COS bucket, such as ap-chongqing.
bucket This property is required. str
The COS bucket of the object to process, such as TopRankVideo-125xxx88.
object This property is required. str
The path of the object to process, such as /movie/201907/WildAnimal.mov.
region This property is required. str
The region of the COS bucket, such as ap-chongqing.
bucket This property is required. String
The COS bucket of the object to process, such as TopRankVideo-125xxx88.
object This property is required. String
The path of the object to process, such as /movie/201907/WildAnimal.mov.
region This property is required. String
The region of the COS bucket, such as ap-chongqing.

MpsEditMediaOperationFileInfoInputInfoS3InputInfo
, MpsEditMediaOperationFileInfoInputInfoS3InputInfoArgs

S3Bucket This property is required. string
The AWS S3 bucket.
S3Object This property is required. string
The path of the AWS S3 object.
S3Region This property is required. string
The region of the AWS S3 bucket.
S3SecretId string
The key ID required to access the AWS S3 object.
S3SecretKey string
The key required to access the AWS S3 object.
S3Bucket This property is required. string
The AWS S3 bucket.
S3Object This property is required. string
The path of the AWS S3 object.
S3Region This property is required. string
The region of the AWS S3 bucket.
S3SecretId string
The key ID required to access the AWS S3 object.
S3SecretKey string
The key required to access the AWS S3 object.
s3Bucket This property is required. String
The AWS S3 bucket.
s3Object This property is required. String
The path of the AWS S3 object.
s3Region This property is required. String
The region of the AWS S3 bucket.
s3SecretId String
The key ID required to access the AWS S3 object.
s3SecretKey String
The key required to access the AWS S3 object.
s3Bucket This property is required. string
The AWS S3 bucket.
s3Object This property is required. string
The path of the AWS S3 object.
s3Region This property is required. string
The region of the AWS S3 bucket.
s3SecretId string
The key ID required to access the AWS S3 object.
s3SecretKey string
The key required to access the AWS S3 object.
s3_bucket This property is required. str
The AWS S3 bucket.
s3_object This property is required. str
The path of the AWS S3 object.
s3_region This property is required. str
The region of the AWS S3 bucket.
s3_secret_id str
The key ID required to access the AWS S3 object.
s3_secret_key str
The key required to access the AWS S3 object.
s3Bucket This property is required. String
The AWS S3 bucket.
s3Object This property is required. String
The path of the AWS S3 object.
s3Region This property is required. String
The region of the AWS S3 bucket.
s3SecretId String
The key ID required to access the AWS S3 object.
s3SecretKey String
The key required to access the AWS S3 object.

MpsEditMediaOperationFileInfoInputInfoUrlInputInfo
, MpsEditMediaOperationFileInfoInputInfoUrlInputInfoArgs

Url This property is required. string
URL of a video.
Url This property is required. string
URL of a video.
url This property is required. String
URL of a video.
url This property is required. string
URL of a video.
url This property is required. str
URL of a video.
url This property is required. String
URL of a video.

MpsEditMediaOperationOutputConfig
, MpsEditMediaOperationOutputConfigArgs

Container string
Format. Valid values: mp4 (default), hls, mov, flv, avi.
Type string
The editing mode. Valid values are normal and fast. The default is normal, which indicates precise editing.
Container string
Format. Valid values: mp4 (default), hls, mov, flv, avi.
Type string
The editing mode. Valid values are normal and fast. The default is normal, which indicates precise editing.
container String
Format. Valid values: mp4 (default), hls, mov, flv, avi.
type String
The editing mode. Valid values are normal and fast. The default is normal, which indicates precise editing.
container string
Format. Valid values: mp4 (default), hls, mov, flv, avi.
type string
The editing mode. Valid values are normal and fast. The default is normal, which indicates precise editing.
container str
Format. Valid values: mp4 (default), hls, mov, flv, avi.
type str
The editing mode. Valid values are normal and fast. The default is normal, which indicates precise editing.
container String
Format. Valid values: mp4 (default), hls, mov, flv, avi.
type String
The editing mode. Valid values are normal and fast. The default is normal, which indicates precise editing.

MpsEditMediaOperationOutputStorage
, MpsEditMediaOperationOutputStorageArgs

Type This property is required. string
The storage type for a media processing output file. Valid values: COS: Tencent Cloud COS. AWS-S3: AWS S3. This type is only supported for AWS tasks, and the output bucket must be in the same region as the bucket of the source file.
CosOutputStorage MpsEditMediaOperationOutputStorageCosOutputStorage
The location to save the output object in COS. This parameter is valid and required when Type is COS.Note: This field may return null, indicating that no valid value can be obtained.
S3OutputStorage MpsEditMediaOperationOutputStorageS3OutputStorage
The AWS S3 bucket to save the output file. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
Type This property is required. string
The storage type for a media processing output file. Valid values: COS: Tencent Cloud COS. AWS-S3: AWS S3. This type is only supported for AWS tasks, and the output bucket must be in the same region as the bucket of the source file.
CosOutputStorage MpsEditMediaOperationOutputStorageCosOutputStorage
The location to save the output object in COS. This parameter is valid and required when Type is COS.Note: This field may return null, indicating that no valid value can be obtained.
S3OutputStorage MpsEditMediaOperationOutputStorageS3OutputStorage
The AWS S3 bucket to save the output file. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The storage type for a media processing output file. Valid values: COS: Tencent Cloud COS. AWS-S3: AWS S3. This type is only supported for AWS tasks, and the output bucket must be in the same region as the bucket of the source file.
cosOutputStorage MpsEditMediaOperationOutputStorageCosOutputStorage
The location to save the output object in COS. This parameter is valid and required when Type is COS.Note: This field may return null, indicating that no valid value can be obtained.
s3OutputStorage MpsEditMediaOperationOutputStorageS3OutputStorage
The AWS S3 bucket to save the output file. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. string
The storage type for a media processing output file. Valid values: COS: Tencent Cloud COS. AWS-S3: AWS S3. This type is only supported for AWS tasks, and the output bucket must be in the same region as the bucket of the source file.
cosOutputStorage MpsEditMediaOperationOutputStorageCosOutputStorage
The location to save the output object in COS. This parameter is valid and required when Type is COS.Note: This field may return null, indicating that no valid value can be obtained.
s3OutputStorage MpsEditMediaOperationOutputStorageS3OutputStorage
The AWS S3 bucket to save the output file. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. str
The storage type for a media processing output file. Valid values: COS: Tencent Cloud COS. AWS-S3: AWS S3. This type is only supported for AWS tasks, and the output bucket must be in the same region as the bucket of the source file.
cos_output_storage MpsEditMediaOperationOutputStorageCosOutputStorage
The location to save the output object in COS. This parameter is valid and required when Type is COS.Note: This field may return null, indicating that no valid value can be obtained.
s3_output_storage MpsEditMediaOperationOutputStorageS3OutputStorage
The AWS S3 bucket to save the output file. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.
type This property is required. String
The storage type for a media processing output file. Valid values: COS: Tencent Cloud COS. AWS-S3: AWS S3. This type is only supported for AWS tasks, and the output bucket must be in the same region as the bucket of the source file.
cosOutputStorage Property Map
The location to save the output object in COS. This parameter is valid and required when Type is COS.Note: This field may return null, indicating that no valid value can be obtained.
s3OutputStorage Property Map
The AWS S3 bucket to save the output file. This parameter is required if Type is AWS-S3.Note: This field may return null, indicating that no valid value can be obtained.

MpsEditMediaOperationOutputStorageCosOutputStorage
, MpsEditMediaOperationOutputStorageCosOutputStorageArgs

Bucket string
The bucket to which the output file of media processing is saved, such as TopRankVideo-125xxx88. If this parameter is left empty, the value of the upper layer will be inherited.
Region string
The region of the output bucket, such as ap-chongqing. If this parameter is left empty, the value of the upper layer will be inherited.
Bucket string
The bucket to which the output file of media processing is saved, such as TopRankVideo-125xxx88. If this parameter is left empty, the value of the upper layer will be inherited.
Region string
The region of the output bucket, such as ap-chongqing. If this parameter is left empty, the value of the upper layer will be inherited.
bucket String
The bucket to which the output file of media processing is saved, such as TopRankVideo-125xxx88. If this parameter is left empty, the value of the upper layer will be inherited.
region String
The region of the output bucket, such as ap-chongqing. If this parameter is left empty, the value of the upper layer will be inherited.
bucket string
The bucket to which the output file of media processing is saved, such as TopRankVideo-125xxx88. If this parameter is left empty, the value of the upper layer will be inherited.
region string
The region of the output bucket, such as ap-chongqing. If this parameter is left empty, the value of the upper layer will be inherited.
bucket str
The bucket to which the output file of media processing is saved, such as TopRankVideo-125xxx88. If this parameter is left empty, the value of the upper layer will be inherited.
region str
The region of the output bucket, such as ap-chongqing. If this parameter is left empty, the value of the upper layer will be inherited.
bucket String
The bucket to which the output file of media processing is saved, such as TopRankVideo-125xxx88. If this parameter is left empty, the value of the upper layer will be inherited.
region String
The region of the output bucket, such as ap-chongqing. If this parameter is left empty, the value of the upper layer will be inherited.

MpsEditMediaOperationOutputStorageS3OutputStorage
, MpsEditMediaOperationOutputStorageS3OutputStorageArgs

S3Bucket This property is required. string
The AWS S3 bucket.
S3Region This property is required. string
The region of the AWS S3 bucket.
S3SecretId string
The key ID required to upload files to the AWS S3 object.
S3SecretKey string
The key required to upload files to the AWS S3 object.
S3Bucket This property is required. string
The AWS S3 bucket.
S3Region This property is required. string
The region of the AWS S3 bucket.
S3SecretId string
The key ID required to upload files to the AWS S3 object.
S3SecretKey string
The key required to upload files to the AWS S3 object.
s3Bucket This property is required. String
The AWS S3 bucket.
s3Region This property is required. String
The region of the AWS S3 bucket.
s3SecretId String
The key ID required to upload files to the AWS S3 object.
s3SecretKey String
The key required to upload files to the AWS S3 object.
s3Bucket This property is required. string
The AWS S3 bucket.
s3Region This property is required. string
The region of the AWS S3 bucket.
s3SecretId string
The key ID required to upload files to the AWS S3 object.
s3SecretKey string
The key required to upload files to the AWS S3 object.
s3_bucket This property is required. str
The AWS S3 bucket.
s3_region This property is required. str
The region of the AWS S3 bucket.
s3_secret_id str
The key ID required to upload files to the AWS S3 object.
s3_secret_key str
The key required to upload files to the AWS S3 object.
s3Bucket This property is required. String
The AWS S3 bucket.
s3Region This property is required. String
The region of the AWS S3 bucket.
s3SecretId String
The key ID required to upload files to the AWS S3 object.
s3SecretKey String
The key required to upload files to the AWS S3 object.

MpsEditMediaOperationTaskNotifyConfig
, MpsEditMediaOperationTaskNotifyConfigArgs

AwsSqs MpsEditMediaOperationTaskNotifyConfigAwsSqs
The AWS SQS queue. This parameter is required if NotifyType is AWS-SQS.Note: This field may return null, indicating that no valid values can be obtained.
CmqModel string
The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
CmqRegion string
The CMQ or TDMQ-CMQ region, such as sh (Shanghai) or bj (Beijing).
NotifyMode string
Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, Finish will be used.
NotifyType string
The notification type. Valid values: CMQ: This value is no longer used. Please use TDMQ-CMQ instead. TDMQ-CMQ: Message queue. URL: If NotifyType is set to URL, HTTP callbacks are sent to the URL specified by NotifyUrl. HTTP and JSON are used for the callbacks. The packet contains the response parameters of the ParseNotification API. SCF: This notification type is not recommended. You need to configure it in the SCF console. AWS-SQS: AWS queue. This type is only supported for AWS tasks, and the queue must be in the same region as the AWS bucket. If you do not pass this parameter or pass in an empty string, CMQ will be used. To use a different notification type, specify this parameter accordingly.
NotifyUrl string
HTTP callback URL, required if NotifyType is set to URL.
QueueName string
The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when CmqModel is Queue.
TopicName string
The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when CmqModel is Topic.
AwsSqs MpsEditMediaOperationTaskNotifyConfigAwsSqs
The AWS SQS queue. This parameter is required if NotifyType is AWS-SQS.Note: This field may return null, indicating that no valid values can be obtained.
CmqModel string
The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
CmqRegion string
The CMQ or TDMQ-CMQ region, such as sh (Shanghai) or bj (Beijing).
NotifyMode string
Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, Finish will be used.
NotifyType string
The notification type. Valid values: CMQ: This value is no longer used. Please use TDMQ-CMQ instead. TDMQ-CMQ: Message queue. URL: If NotifyType is set to URL, HTTP callbacks are sent to the URL specified by NotifyUrl. HTTP and JSON are used for the callbacks. The packet contains the response parameters of the ParseNotification API. SCF: This notification type is not recommended. You need to configure it in the SCF console. AWS-SQS: AWS queue. This type is only supported for AWS tasks, and the queue must be in the same region as the AWS bucket. If you do not pass this parameter or pass in an empty string, CMQ will be used. To use a different notification type, specify this parameter accordingly.
NotifyUrl string
HTTP callback URL, required if NotifyType is set to URL.
QueueName string
The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when CmqModel is Queue.
TopicName string
The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when CmqModel is Topic.
awsSqs MpsEditMediaOperationTaskNotifyConfigAwsSqs
The AWS SQS queue. This parameter is required if NotifyType is AWS-SQS.Note: This field may return null, indicating that no valid values can be obtained.
cmqModel String
The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
cmqRegion String
The CMQ or TDMQ-CMQ region, such as sh (Shanghai) or bj (Beijing).
notifyMode String
Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, Finish will be used.
notifyType String
The notification type. Valid values: CMQ: This value is no longer used. Please use TDMQ-CMQ instead. TDMQ-CMQ: Message queue. URL: If NotifyType is set to URL, HTTP callbacks are sent to the URL specified by NotifyUrl. HTTP and JSON are used for the callbacks. The packet contains the response parameters of the ParseNotification API. SCF: This notification type is not recommended. You need to configure it in the SCF console. AWS-SQS: AWS queue. This type is only supported for AWS tasks, and the queue must be in the same region as the AWS bucket. If you do not pass this parameter or pass in an empty string, CMQ will be used. To use a different notification type, specify this parameter accordingly.
notifyUrl String
HTTP callback URL, required if NotifyType is set to URL.
queueName String
The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when CmqModel is Queue.
topicName String
The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when CmqModel is Topic.
awsSqs MpsEditMediaOperationTaskNotifyConfigAwsSqs
The AWS SQS queue. This parameter is required if NotifyType is AWS-SQS.Note: This field may return null, indicating that no valid values can be obtained.
cmqModel string
The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
cmqRegion string
The CMQ or TDMQ-CMQ region, such as sh (Shanghai) or bj (Beijing).
notifyMode string
Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, Finish will be used.
notifyType string
The notification type. Valid values: CMQ: This value is no longer used. Please use TDMQ-CMQ instead. TDMQ-CMQ: Message queue. URL: If NotifyType is set to URL, HTTP callbacks are sent to the URL specified by NotifyUrl. HTTP and JSON are used for the callbacks. The packet contains the response parameters of the ParseNotification API. SCF: This notification type is not recommended. You need to configure it in the SCF console. AWS-SQS: AWS queue. This type is only supported for AWS tasks, and the queue must be in the same region as the AWS bucket. If you do not pass this parameter or pass in an empty string, CMQ will be used. To use a different notification type, specify this parameter accordingly.
notifyUrl string
HTTP callback URL, required if NotifyType is set to URL.
queueName string
The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when CmqModel is Queue.
topicName string
The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when CmqModel is Topic.
aws_sqs MpsEditMediaOperationTaskNotifyConfigAwsSqs
The AWS SQS queue. This parameter is required if NotifyType is AWS-SQS.Note: This field may return null, indicating that no valid values can be obtained.
cmq_model str
The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
cmq_region str
The CMQ or TDMQ-CMQ region, such as sh (Shanghai) or bj (Beijing).
notify_mode str
Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, Finish will be used.
notify_type str
The notification type. Valid values: CMQ: This value is no longer used. Please use TDMQ-CMQ instead. TDMQ-CMQ: Message queue. URL: If NotifyType is set to URL, HTTP callbacks are sent to the URL specified by NotifyUrl. HTTP and JSON are used for the callbacks. The packet contains the response parameters of the ParseNotification API. SCF: This notification type is not recommended. You need to configure it in the SCF console. AWS-SQS: AWS queue. This type is only supported for AWS tasks, and the queue must be in the same region as the AWS bucket. If you do not pass this parameter or pass in an empty string, CMQ will be used. To use a different notification type, specify this parameter accordingly.
notify_url str
HTTP callback URL, required if NotifyType is set to URL.
queue_name str
The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when CmqModel is Queue.
topic_name str
The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when CmqModel is Topic.
awsSqs Property Map
The AWS SQS queue. This parameter is required if NotifyType is AWS-SQS.Note: This field may return null, indicating that no valid values can be obtained.
cmqModel String
The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
cmqRegion String
The CMQ or TDMQ-CMQ region, such as sh (Shanghai) or bj (Beijing).
notifyMode String
Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, Finish will be used.
notifyType String
The notification type. Valid values: CMQ: This value is no longer used. Please use TDMQ-CMQ instead. TDMQ-CMQ: Message queue. URL: If NotifyType is set to URL, HTTP callbacks are sent to the URL specified by NotifyUrl. HTTP and JSON are used for the callbacks. The packet contains the response parameters of the ParseNotification API. SCF: This notification type is not recommended. You need to configure it in the SCF console. AWS-SQS: AWS queue. This type is only supported for AWS tasks, and the queue must be in the same region as the AWS bucket. If you do not pass this parameter or pass in an empty string, CMQ will be used. To use a different notification type, specify this parameter accordingly.
notifyUrl String
HTTP callback URL, required if NotifyType is set to URL.
queueName String
The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when CmqModel is Queue.
topicName String
The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when CmqModel is Topic.

MpsEditMediaOperationTaskNotifyConfigAwsSqs
, MpsEditMediaOperationTaskNotifyConfigAwsSqsArgs

SqsQueueName This property is required. string
The name of the SQS queue.
SqsRegion This property is required. string
The region of the SQS queue.
S3SecretId string
The key ID required to read from/write to the SQS queue.
S3SecretKey string
The key required to read from/write to the SQS queue.
SqsQueueName This property is required. string
The name of the SQS queue.
SqsRegion This property is required. string
The region of the SQS queue.
S3SecretId string
The key ID required to read from/write to the SQS queue.
S3SecretKey string
The key required to read from/write to the SQS queue.
sqsQueueName This property is required. String
The name of the SQS queue.
sqsRegion This property is required. String
The region of the SQS queue.
s3SecretId String
The key ID required to read from/write to the SQS queue.
s3SecretKey String
The key required to read from/write to the SQS queue.
sqsQueueName This property is required. string
The name of the SQS queue.
sqsRegion This property is required. string
The region of the SQS queue.
s3SecretId string
The key ID required to read from/write to the SQS queue.
s3SecretKey string
The key required to read from/write to the SQS queue.
sqs_queue_name This property is required. str
The name of the SQS queue.
sqs_region This property is required. str
The region of the SQS queue.
s3_secret_id str
The key ID required to read from/write to the SQS queue.
s3_secret_key str
The key required to read from/write to the SQS queue.
sqsQueueName This property is required. String
The name of the SQS queue.
sqsRegion This property is required. String
The region of the SQS queue.
s3SecretId String
The key ID required to read from/write to the SQS queue.
s3SecretKey String
The key required to read from/write to the SQS queue.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.