Query pipelines by pipeline ID.
Operation description
You can query up to 10 pipelines in a single request.
If the return value is
"Code": "InvalidIdentity.ServiceDisabled", "Message": "The request identity was not allowed to operate.", "Recommend", verify that your MPS permissions are configured correctly (ensure the AliyunMTSDefaultRole role is granted) and confirm that your account has no overdue payments.
QPS limit
The QPS limit for this API is 100 requests per second per user. Exceeding this limit triggers rate limiting and may affect your business. Call this API only as needed. For more information, see QPS limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:QueryPipelineList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PipelineIds |
string |
Yes |
A comma-separated list of pipeline IDs to query. Find these IDs in the MPS console > Global Settings > Pipelines. Specify up to 10 IDs, separated by commas (,). |
d1ce4d3efcb549419193f50f1fcd****,72dfa5e679ab4be9a3ed9974c736**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response parameters. |
||
| RequestId |
string |
The request ID. |
1C538EAA-ACAF-5AD8-B091-A72C63007149 |
| PipelineList |
object |
||
| Pipeline |
array<object> |
The list of pipelines. |
|
|
array<object> |
Response parameters. |
||
| Speed |
string |
The pipeline type. Default value: Standard. Valid values:
|
Standard |
| State |
string |
The pipeline status.
|
Paused |
| SpeedLevel |
integer |
The pipeline level. |
2 |
| NotifyConfig |
object |
Alibaba Cloud MNS notification configuration. |
|
| MqTopic |
string |
The message queue that receives messages. |
example1,example2 |
| QueueName |
string |
The queue name created in Alibaba Cloud Simple Message Queue (formerly MNS). |
example-queue-**** |
| MqTag |
string |
The tag. |
mts-test |
| Topic |
string |
The topic name created in Alibaba Cloud Simple Message Queue (formerly MNS). |
example-topic-**** |
| Role |
string |
The role associated with the current RAM user. |
AliyunMTSDefaultRole |
| Name |
string |
The pipeline name. |
example-pipeline-**** |
| Id |
string |
The pipeline ID. |
d1ce4d3efcb549419193f50f1fcd**** |
| QuotaAllocate |
integer |
The pipeline quota allocation. |
10 |
| ExtendConfig |
object |
||
| IsBoostNew |
boolean |
||
| MaxMultiSpeed |
integer |
||
| MultiSpeedDowngradePolicy |
string |
||
| NonExistPids |
object |
||
| String |
array |
The list of non-existent pipeline IDs. |
|
|
string |
The list of non-existent pipeline IDs. This parameter is not returned if no such IDs exist. Note
If this parameter appears despite correct pipeline IDs, verify the UID in your request matches the pipeline owner's UID. |
72dfa5e679ab4be9a3ed9974c736**** |
Examples
Success response
JSON format
{
"RequestId": "1C538EAA-ACAF-5AD8-B091-A72C63007149",
"PipelineList": {
"Pipeline": [
{
"Speed": "Standard",
"State": "Paused",
"SpeedLevel": 2,
"NotifyConfig": {
"MqTopic": "example1,example2",
"QueueName": "example-queue-****",
"MqTag": "mts-test",
"Topic": "example-topic-****"
},
"Role": "AliyunMTSDefaultRole",
"Name": "example-pipeline-****",
"Id": "d1ce4d3efcb549419193f50f1fcd****",
"QuotaAllocate": 10,
"ExtendConfig": {
"IsBoostNew": false,
"MaxMultiSpeed": 0,
"MultiSpeedDowngradePolicy": ""
}
}
]
},
"NonExistPids": {
"String": [
"72dfa5e679ab4be9a3ed9974c736****"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.