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",
});
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")
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
})
}
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",
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args MpsEditMediaOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args MpsEditMediaOperationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MpsEditMediaOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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:
- File
Infos List<MpsEdit Media Operation File Info> - Information of input video file.
- Output
Object stringPath - The path to save the media processing output file.
- Output
Storage MpsEdit Media Operation Output Storage - The storage location of the media processing output file.
- Mps
Edit stringMedia Operation Id - ID of the resource.
- Output
Config MpsEdit Media Operation Output Config - Configuration for output files of video editing.
- Session
Context 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.
- Session
Id 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.
- Task
Notify MpsConfig Edit Media Operation Task Notify Config - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- Tasks
Priority 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.
- File
Infos []MpsEdit Media Operation File Info Args - Information of input video file.
- Output
Object stringPath - The path to save the media processing output file.
- Output
Storage MpsEdit Media Operation Output Storage Args - The storage location of the media processing output file.
- Mps
Edit stringMedia Operation Id - ID of the resource.
- Output
Config MpsEdit Media Operation Output Config Args - Configuration for output files of video editing.
- Session
Context 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.
- Session
Id 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.
- Task
Notify MpsConfig Edit Media Operation Task Notify Config Args - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- Tasks
Priority 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.
- file
Infos List<MpsEdit Media Operation File Info> - Information of input video file.
- output
Object StringPath - The path to save the media processing output file.
- output
Storage MpsEdit Media Operation Output Storage - The storage location of the media processing output file.
- mps
Edit StringMedia Operation Id - ID of the resource.
- output
Config MpsEdit Media Operation Output Config - Configuration for output files of video editing.
- session
Context 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.
- session
Id 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.
- task
Notify MpsConfig Edit Media Operation Task Notify Config - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- tasks
Priority 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.
- file
Infos MpsEdit Media Operation File Info[] - Information of input video file.
- output
Object stringPath - The path to save the media processing output file.
- output
Storage MpsEdit Media Operation Output Storage - The storage location of the media processing output file.
- mps
Edit stringMedia Operation Id - ID of the resource.
- output
Config MpsEdit Media Operation Output Config - Configuration for output files of video editing.
- session
Context 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.
- session
Id 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.
- task
Notify MpsConfig Edit Media Operation Task Notify Config - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- tasks
Priority 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[MpsEdit Media Operation File Info Args] - Information of input video file.
- output_
object_ strpath - The path to save the media processing output file.
- output_
storage MpsEdit Media Operation Output Storage Args - The storage location of the media processing output file.
- mps_
edit_ strmedia_ operation_ id - ID of the resource.
- output_
config MpsEdit Media Operation Output Config Args - 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_ Mpsconfig Edit Media Operation Task Notify Config Args - 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.
- file
Infos List<Property Map> - Information of input video file.
- output
Object StringPath - The path to save the media processing output file.
- output
Storage Property Map - The storage location of the media processing output file.
- mps
Edit StringMedia Operation Id - ID of the resource.
- output
Config Property Map - Configuration for output files of video editing.
- session
Context 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.
- session
Id 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.
- task
Notify Property MapConfig - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- tasks
Priority 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- File
Infos List<MpsEdit Media Operation File Info> - Information of input video file.
- Mps
Edit stringMedia Operation Id - ID of the resource.
- Output
Config MpsEdit Media Operation Output Config - Configuration for output files of video editing.
- Output
Object stringPath - The path to save the media processing output file.
- Output
Storage MpsEdit Media Operation Output Storage - The storage location of the media processing output file.
- Session
Context 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.
- Session
Id 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.
- Task
Notify MpsConfig Edit Media Operation Task Notify Config - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- Tasks
Priority 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.
- File
Infos []MpsEdit Media Operation File Info Args - Information of input video file.
- Mps
Edit stringMedia Operation Id - ID of the resource.
- Output
Config MpsEdit Media Operation Output Config Args - Configuration for output files of video editing.
- Output
Object stringPath - The path to save the media processing output file.
- Output
Storage MpsEdit Media Operation Output Storage Args - The storage location of the media processing output file.
- Session
Context 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.
- Session
Id 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.
- Task
Notify MpsConfig Edit Media Operation Task Notify Config Args - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- Tasks
Priority 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.
- file
Infos List<MpsEdit Media Operation File Info> - Information of input video file.
- mps
Edit StringMedia Operation Id - ID of the resource.
- output
Config MpsEdit Media Operation Output Config - Configuration for output files of video editing.
- output
Object StringPath - The path to save the media processing output file.
- output
Storage MpsEdit Media Operation Output Storage - The storage location of the media processing output file.
- session
Context 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.
- session
Id 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.
- task
Notify MpsConfig Edit Media Operation Task Notify Config - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- tasks
Priority 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.
- file
Infos MpsEdit Media Operation File Info[] - Information of input video file.
- mps
Edit stringMedia Operation Id - ID of the resource.
- output
Config MpsEdit Media Operation Output Config - Configuration for output files of video editing.
- output
Object stringPath - The path to save the media processing output file.
- output
Storage MpsEdit Media Operation Output Storage - The storage location of the media processing output file.
- session
Context 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.
- session
Id 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.
- task
Notify MpsConfig Edit Media Operation Task Notify Config - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- tasks
Priority 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[MpsEdit Media Operation File Info Args] - Information of input video file.
- mps_
edit_ strmedia_ operation_ id - ID of the resource.
- output_
config MpsEdit Media Operation Output Config Args - Configuration for output files of video editing.
- output_
object_ strpath - The path to save the media processing output file.
- output_
storage MpsEdit Media Operation Output Storage Args - 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_ Mpsconfig Edit Media Operation Task Notify Config Args - 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.
- file
Infos List<Property Map> - Information of input video file.
- mps
Edit StringMedia Operation Id - ID of the resource.
- output
Config Property Map - Configuration for output files of video editing.
- output
Object StringPath - The path to save the media processing output file.
- output
Storage Property Map - The storage location of the media processing output file.
- session
Context 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.
- session
Id 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.
- task
Notify Property MapConfig - Event notification information of task. If this parameter is left empty, no event notifications will be obtained.
- tasks
Priority 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
- Input
Info MpsEdit Media Operation File Info Input Info - Video input information.
- End
Time doubleOffset - End time offset of video clipping in seconds.
- Start
Time doubleOffset - Start time offset of video clipping in seconds.
- Input
Info MpsEdit Media Operation File Info Input Info - Video input information.
- End
Time float64Offset - End time offset of video clipping in seconds.
- Start
Time float64Offset - Start time offset of video clipping in seconds.
- input
Info MpsEdit Media Operation File Info Input Info - Video input information.
- end
Time DoubleOffset - End time offset of video clipping in seconds.
- start
Time DoubleOffset - Start time offset of video clipping in seconds.
- input
Info MpsEdit Media Operation File Info Input Info - Video input information.
- end
Time numberOffset - End time offset of video clipping in seconds.
- start
Time numberOffset - Start time offset of video clipping in seconds.
- input_
info MpsEdit Media Operation File Info Input Info - Video input information.
- end_
time_ floatoffset - End time offset of video clipping in seconds.
- start_
time_ floatoffset - Start time offset of video clipping in seconds.
- input
Info Property Map - Video input information.
- end
Time NumberOffset - End time offset of video clipping in seconds.
- start
Time NumberOffset - Start time offset of video clipping in seconds.
MpsEditMediaOperationFileInfoInputInfo, MpsEditMediaOperationFileInfoInputInfoArgs
- Type 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. - Cos
Input MpsInfo Edit Media Operation File Info Input Info Cos Input Info - The information of the COS object to process. This parameter is valid and required when
Type
isCOS
. - S3Input
Info MpsEdit Media Operation File Info Input Info S3Input Info - The information of the AWS S3 object processed. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained. - Url
Input MpsInfo Edit Media Operation File Info Input Info Url Input Info - The URL of the object to process. This parameter is valid and required when
Type
isURL
.Note: This field may return null, indicating that no valid value can be obtained.
- Type 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. - Cos
Input MpsInfo Edit Media Operation File Info Input Info Cos Input Info - The information of the COS object to process. This parameter is valid and required when
Type
isCOS
. - S3Input
Info MpsEdit Media Operation File Info Input Info S3Input Info - The information of the AWS S3 object processed. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained. - Url
Input MpsInfo Edit Media Operation File Info Input Info Url Input Info - The URL of the object to process. This parameter is valid and required when
Type
isURL
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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. - cos
Input MpsInfo Edit Media Operation File Info Input Info Cos Input Info - The information of the COS object to process. This parameter is valid and required when
Type
isCOS
. - s3Input
Info MpsEdit Media Operation File Info Input Info S3Input Info - The information of the AWS S3 object processed. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained. - url
Input MpsInfo Edit Media Operation File Info Input Info Url Input Info - The URL of the object to process. This parameter is valid and required when
Type
isURL
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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. - cos
Input MpsInfo Edit Media Operation File Info Input Info Cos Input Info - The information of the COS object to process. This parameter is valid and required when
Type
isCOS
. - s3Input
Info MpsEdit Media Operation File Info Input Info S3Input Info - The information of the AWS S3 object processed. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained. - url
Input MpsInfo Edit Media Operation File Info Input Info Url Input Info - The URL of the object to process. This parameter is valid and required when
Type
isURL
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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_ Mpsinfo Edit Media Operation File Info Input Info Cos Input Info - The information of the COS object to process. This parameter is valid and required when
Type
isCOS
. - s3_
input_ Mpsinfo Edit Media Operation File Info Input Info S3Input Info - The information of the AWS S3 object processed. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained. - url_
input_ Mpsinfo Edit Media Operation File Info Input Info Url Input Info - The URL of the object to process. This parameter is valid and required when
Type
isURL
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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. - cos
Input Property MapInfo - The information of the COS object to process. This parameter is valid and required when
Type
isCOS
. - s3Input
Info Property Map - The information of the AWS S3 object processed. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained. - url
Input Property MapInfo - The URL of the object to process. This parameter is valid and required when
Type
isURL
.Note: This field may return null, indicating that no valid value can be obtained.
MpsEditMediaOperationFileInfoInputInfoCosInputInfo, MpsEditMediaOperationFileInfoInputInfoCosInputInfoArgs
MpsEditMediaOperationFileInfoInputInfoS3InputInfo, MpsEditMediaOperationFileInfoInputInfoS3InputInfoArgs
- S3Bucket string
- The AWS S3 bucket.
- S3Object string
- The path of the AWS S3 object.
- S3Region string
- The region of the AWS S3 bucket.
- S3Secret
Id string - The key ID required to access the AWS S3 object.
- S3Secret
Key string - The key required to access the AWS S3 object.
- S3Bucket string
- The AWS S3 bucket.
- S3Object string
- The path of the AWS S3 object.
- S3Region string
- The region of the AWS S3 bucket.
- S3Secret
Id string - The key ID required to access the AWS S3 object.
- S3Secret
Key string - The key required to access the AWS S3 object.
- s3Bucket String
- The AWS S3 bucket.
- s3Object String
- The path of the AWS S3 object.
- s3Region String
- The region of the AWS S3 bucket.
- s3Secret
Id String - The key ID required to access the AWS S3 object.
- s3Secret
Key String - The key required to access the AWS S3 object.
- s3Bucket string
- The AWS S3 bucket.
- s3Object string
- The path of the AWS S3 object.
- s3Region string
- The region of the AWS S3 bucket.
- s3Secret
Id string - The key ID required to access the AWS S3 object.
- s3Secret
Key string - The key required to access the AWS S3 object.
- s3_
bucket str - The AWS S3 bucket.
- s3_
object str - The path of the AWS S3 object.
- s3_
region str - The region of the AWS S3 bucket.
- s3_
secret_ strid - The key ID required to access the AWS S3 object.
- s3_
secret_ strkey - The key required to access the AWS S3 object.
- s3Bucket String
- The AWS S3 bucket.
- s3Object String
- The path of the AWS S3 object.
- s3Region String
- The region of the AWS S3 bucket.
- s3Secret
Id String - The key ID required to access the AWS S3 object.
- s3Secret
Key String - The key required to access the AWS S3 object.
MpsEditMediaOperationFileInfoInputInfoUrlInputInfo, MpsEditMediaOperationFileInfoInputInfoUrlInputInfoArgs
- Url string
- URL of a video.
- Url string
- URL of a video.
- url String
- URL of a video.
- url string
- URL of a video.
- url str
- URL of a video.
- url String
- URL of a video.
MpsEditMediaOperationOutputConfig, MpsEditMediaOperationOutputConfigArgs
MpsEditMediaOperationOutputStorage, MpsEditMediaOperationOutputStorageArgs
- Type 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. - Cos
Output MpsStorage Edit Media Operation Output Storage Cos Output Storage - 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. - S3Output
Storage MpsEdit Media Operation Output Storage S3Output Storage - The AWS S3 bucket to save the output file. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained.
- Type 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. - Cos
Output MpsStorage Edit Media Operation Output Storage Cos Output Storage - 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. - S3Output
Storage MpsEdit Media Operation Output Storage S3Output Storage - The AWS S3 bucket to save the output file. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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. - cos
Output MpsStorage Edit Media Operation Output Storage Cos Output Storage - 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. - s3Output
Storage MpsEdit Media Operation Output Storage S3Output Storage - The AWS S3 bucket to save the output file. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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. - cos
Output MpsStorage Edit Media Operation Output Storage Cos Output Storage - 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. - s3Output
Storage MpsEdit Media Operation Output Storage S3Output Storage - The AWS S3 bucket to save the output file. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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_ Mpsstorage Edit Media Operation Output Storage Cos Output Storage - 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_ Mpsstorage Edit Media Operation Output Storage S3Output Storage - The AWS S3 bucket to save the output file. This parameter is required if
Type
isAWS-S3
.Note: This field may return null, indicating that no valid value can be obtained.
- type 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. - cos
Output Property MapStorage - 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. - s3Output
Storage Property Map - The AWS S3 bucket to save the output file. This parameter is required if
Type
isAWS-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 string
- The AWS S3 bucket.
- S3Region string
- The region of the AWS S3 bucket.
- S3Secret
Id string - The key ID required to upload files to the AWS S3 object.
- S3Secret
Key string - The key required to upload files to the AWS S3 object.
- S3Bucket string
- The AWS S3 bucket.
- S3Region string
- The region of the AWS S3 bucket.
- S3Secret
Id string - The key ID required to upload files to the AWS S3 object.
- S3Secret
Key string - The key required to upload files to the AWS S3 object.
- s3Bucket String
- The AWS S3 bucket.
- s3Region String
- The region of the AWS S3 bucket.
- s3Secret
Id String - The key ID required to upload files to the AWS S3 object.
- s3Secret
Key String - The key required to upload files to the AWS S3 object.
- s3Bucket string
- The AWS S3 bucket.
- s3Region string
- The region of the AWS S3 bucket.
- s3Secret
Id string - The key ID required to upload files to the AWS S3 object.
- s3Secret
Key string - The key required to upload files to the AWS S3 object.
- s3_
bucket str - The AWS S3 bucket.
- s3_
region str - The region of the AWS S3 bucket.
- s3_
secret_ strid - The key ID required to upload files to the AWS S3 object.
- s3_
secret_ strkey - The key required to upload files to the AWS S3 object.
- s3Bucket String
- The AWS S3 bucket.
- s3Region String
- The region of the AWS S3 bucket.
- s3Secret
Id String - The key ID required to upload files to the AWS S3 object.
- s3Secret
Key String - The key required to upload files to the AWS S3 object.
MpsEditMediaOperationTaskNotifyConfig, MpsEditMediaOperationTaskNotifyConfigArgs
- Aws
Sqs MpsEdit Media Operation Task Notify Config Aws Sqs - The AWS SQS queue. This parameter is required if
NotifyType
isAWS-SQS
.Note: This field may return null, indicating that no valid values can be obtained. - Cmq
Model string - The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
- Cmq
Region string - The CMQ or TDMQ-CMQ region, such as
sh
(Shanghai) orbj
(Beijing). - Notify
Mode string - Workflow notification method. Valid values: Finish, Change. If this parameter is left empty,
Finish
will be used. - Notify
Type string - The notification type. Valid values:
CMQ
: This value is no longer used. Please useTDMQ-CMQ
instead.TDMQ-CMQ
: Message queue.URL
: IfNotifyType
is set toURL
, HTTP callbacks are sent to the URL specified byNotifyUrl
. HTTP and JSON are used for the callbacks. The packet contains the response parameters of theParseNotification
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 string - HTTP callback URL, required if
NotifyType
is set toURL
. - Queue
Name string - The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when
CmqModel
isQueue
. - Topic
Name string - The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when
CmqModel
isTopic
.
- Aws
Sqs MpsEdit Media Operation Task Notify Config Aws Sqs - The AWS SQS queue. This parameter is required if
NotifyType
isAWS-SQS
.Note: This field may return null, indicating that no valid values can be obtained. - Cmq
Model string - The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
- Cmq
Region string - The CMQ or TDMQ-CMQ region, such as
sh
(Shanghai) orbj
(Beijing). - Notify
Mode string - Workflow notification method. Valid values: Finish, Change. If this parameter is left empty,
Finish
will be used. - Notify
Type string - The notification type. Valid values:
CMQ
: This value is no longer used. Please useTDMQ-CMQ
instead.TDMQ-CMQ
: Message queue.URL
: IfNotifyType
is set toURL
, HTTP callbacks are sent to the URL specified byNotifyUrl
. HTTP and JSON are used for the callbacks. The packet contains the response parameters of theParseNotification
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 string - HTTP callback URL, required if
NotifyType
is set toURL
. - Queue
Name string - The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when
CmqModel
isQueue
. - Topic
Name string - The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when
CmqModel
isTopic
.
- aws
Sqs MpsEdit Media Operation Task Notify Config Aws Sqs - The AWS SQS queue. This parameter is required if
NotifyType
isAWS-SQS
.Note: This field may return null, indicating that no valid values can be obtained. - cmq
Model String - The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
- cmq
Region String - The CMQ or TDMQ-CMQ region, such as
sh
(Shanghai) orbj
(Beijing). - notify
Mode String - Workflow notification method. Valid values: Finish, Change. If this parameter is left empty,
Finish
will be used. - notify
Type String - The notification type. Valid values:
CMQ
: This value is no longer used. Please useTDMQ-CMQ
instead.TDMQ-CMQ
: Message queue.URL
: IfNotifyType
is set toURL
, HTTP callbacks are sent to the URL specified byNotifyUrl
. HTTP and JSON are used for the callbacks. The packet contains the response parameters of theParseNotification
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 String - HTTP callback URL, required if
NotifyType
is set toURL
. - queue
Name String - The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when
CmqModel
isQueue
. - topic
Name String - The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when
CmqModel
isTopic
.
- aws
Sqs MpsEdit Media Operation Task Notify Config Aws Sqs - The AWS SQS queue. This parameter is required if
NotifyType
isAWS-SQS
.Note: This field may return null, indicating that no valid values can be obtained. - cmq
Model string - The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
- cmq
Region string - The CMQ or TDMQ-CMQ region, such as
sh
(Shanghai) orbj
(Beijing). - notify
Mode string - Workflow notification method. Valid values: Finish, Change. If this parameter is left empty,
Finish
will be used. - notify
Type string - The notification type. Valid values:
CMQ
: This value is no longer used. Please useTDMQ-CMQ
instead.TDMQ-CMQ
: Message queue.URL
: IfNotifyType
is set toURL
, HTTP callbacks are sent to the URL specified byNotifyUrl
. HTTP and JSON are used for the callbacks. The packet contains the response parameters of theParseNotification
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 string - HTTP callback URL, required if
NotifyType
is set toURL
. - queue
Name string - The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when
CmqModel
isQueue
. - topic
Name string - The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when
CmqModel
isTopic
.
- aws_
sqs MpsEdit Media Operation Task Notify Config Aws Sqs - The AWS SQS queue. This parameter is required if
NotifyType
isAWS-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) orbj
(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 useTDMQ-CMQ
instead.TDMQ-CMQ
: Message queue.URL
: IfNotifyType
is set toURL
, HTTP callbacks are sent to the URL specified byNotifyUrl
. HTTP and JSON are used for the callbacks. The packet contains the response parameters of theParseNotification
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 toURL
. - queue_
name str - The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when
CmqModel
isQueue
. - topic_
name str - The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when
CmqModel
isTopic
.
- aws
Sqs Property Map - The AWS SQS queue. This parameter is required if
NotifyType
isAWS-SQS
.Note: This field may return null, indicating that no valid values can be obtained. - cmq
Model String - The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.
- cmq
Region String - The CMQ or TDMQ-CMQ region, such as
sh
(Shanghai) orbj
(Beijing). - notify
Mode String - Workflow notification method. Valid values: Finish, Change. If this parameter is left empty,
Finish
will be used. - notify
Type String - The notification type. Valid values:
CMQ
: This value is no longer used. Please useTDMQ-CMQ
instead.TDMQ-CMQ
: Message queue.URL
: IfNotifyType
is set toURL
, HTTP callbacks are sent to the URL specified byNotifyUrl
. HTTP and JSON are used for the callbacks. The packet contains the response parameters of theParseNotification
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 String - HTTP callback URL, required if
NotifyType
is set toURL
. - queue
Name String - The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when
CmqModel
isQueue
. - topic
Name String - The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when
CmqModel
isTopic
.
MpsEditMediaOperationTaskNotifyConfigAwsSqs, MpsEditMediaOperationTaskNotifyConfigAwsSqsArgs
- Sqs
Queue stringName - The name of the SQS queue.
- Sqs
Region string - The region of the SQS queue.
- S3Secret
Id string - The key ID required to read from/write to the SQS queue.
- S3Secret
Key string - The key required to read from/write to the SQS queue.
- Sqs
Queue stringName - The name of the SQS queue.
- Sqs
Region string - The region of the SQS queue.
- S3Secret
Id string - The key ID required to read from/write to the SQS queue.
- S3Secret
Key string - The key required to read from/write to the SQS queue.
- sqs
Queue StringName - The name of the SQS queue.
- sqs
Region String - The region of the SQS queue.
- s3Secret
Id String - The key ID required to read from/write to the SQS queue.
- s3Secret
Key String - The key required to read from/write to the SQS queue.
- sqs
Queue stringName - The name of the SQS queue.
- sqs
Region string - The region of the SQS queue.
- s3Secret
Id string - The key ID required to read from/write to the SQS queue.
- s3Secret
Key string - The key required to read from/write to the SQS queue.
- sqs_
queue_ strname - The name of the SQS queue.
- sqs_
region str - The region of the SQS queue.
- s3_
secret_ strid - The key ID required to read from/write to the SQS queue.
- s3_
secret_ strkey - The key required to read from/write to the SQS queue.
- sqs
Queue StringName - The name of the SQS queue.
- sqs
Region String - The region of the SQS queue.
- s3Secret
Id String - The key ID required to read from/write to the SQS queue.
- s3Secret
Key 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.