Adds an ApsaraVideo Media Processing (MPS) queue.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:AddPipeline |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the MPS queue. The name can be up to 128 bytes in size. |
test-pipeline |
| Speed |
string |
No |
The type of the MPS queue. Valid values:
Default value: Standard. |
Standard |
| SpeedLevel |
integer |
No |
The level of the MPS queue. Valid values: 1 to 3. |
1 |
| NotifyConfig |
string |
No |
The Message Service (MNS) configuration. |
{"Topic":"mts-topic-1"} |
| Role |
string |
No |
The role. |
AliyunMTSDefaultRole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
CFEA608A-5A1C-4C83-A54B-6197BC250D23 |
| Pipeline |
object |
The MPS queue. |
|
| Speed |
string |
The type of the MPS queue. |
Standard |
| State |
string |
The state of the MPS queue.
|
Active |
| SpeedLevel |
integer |
The level of the MPS queue. |
1 |
| NotifyConfig |
object |
The MNS configuration. |
|
| MqTopic |
string |
The queue of messages that are received. |
example1 |
| QueueName |
string |
The name of the queue. |
mts-queue-1 |
| MqTag |
string |
The tag string. |
mts-test |
| Topic |
string |
The name of the topic. |
mts-topic-1 |
| Role |
string |
The role. |
AliyunMTSDefaultRole |
| Name |
string |
The name of the MPS queue. |
Video DNA |
| Id |
string |
The ID of the MPS queue. |
ed450ea0bfbd41e29f80a401fb4d**** |
| QuotaAllocate |
integer |
The quota that is allocated to the MPS queue. |
10 |
Examples
Success response
JSON format
{
"RequestId": "CFEA608A-5A1C-4C83-A54B-6197BC250D23",
"Pipeline": {
"Speed": "Standard",
"State": "Active",
"SpeedLevel": 1,
"NotifyConfig": {
"MqTopic": "example1",
"QueueName": "mts-queue-1",
"MqTag": "mts-test",
"Topic": "mts-topic-1"
},
"Role": "AliyunMTSDefaultRole",
"Name": "Video DNA",
"Id": "ed450ea0bfbd41e29f80a401fb4d****",
"QuotaAllocate": 10
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.