You need to enable JavaScript to run this app.
Transit Router

Transit Router

Copy page
Download PDF
Traffic qos queue policy
ModifyTransitRouterTrafficQosQueuePolicyAttributes - Modifying a traffic queue policy
Copy page
Download PDF
ModifyTransitRouterTrafficQosQueuePolicyAttributes - Modifying a traffic queue policy
Call the ModifyTransitRouterTrafficQosQueuePolicyAttributes API to modify the name or description of a traffic queue policy.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters.​
Action String requiredExample: ModifyTransitRouterTrafficQosQueuePolicyAttributes​
The interface name. The current API name is ModifyTransitRouterTrafficQosQueuePolicyAttributes.​
​
Version String required Example value: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
TransitRouterTrafficQosQueuePolicyId String requiredExample value: tr-tqp-hy13n2l4c6c0v****​
ID of the traffic queue policy. You can call the DescribeTransitRouterTrafficQosQueuePolicies API to obtain the traffic queue policy ID.​
​
TransitRouterTrafficQosQueuePolicyName String optional example: tmp-02​
Name of the traffic queue policy.​
  • Must start with a letter, number, or Chinese character. May include letters, numbers, Chinese characters, and the following symbols: periods (.), underscores (_), and hyphens (-).​
  • Must be 1 to 128 characters.​
  • If you do not provide this parameter or leave it unset, it defaults to the ID of the traffic queue policy.​
​
Description String Optional Example: This traffic qos queue policy is used for test.​
Description of the traffic queue policy.​
  • Must start with a letter, number, or Chinese character. May include letters, numbers, Chinese characters, and the following symbols: commas (,), periods (.), underscores (_), spaces ( ), equal signs (=), hyphens (-), Chinese commas ( , ), and Chinese periods ( 。 ).​
  • Must be 0 to 255 characters.​
  • If you do not provide this parameter or leave it unset, it defaults to an empty string.​
​
​
Response parameters​
This API does not have specific response parameters. For more information, see Response structure.​
Request examples​
​
GET /?Action=ModifyTransitRouterTrafficQosQueuePolicyAttributes&Version=2020-04-01&TransitRouterTrafficQosQueuePolicyId=tr-tqp-hy13n2l4c6c0v**** HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250731T091117Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250731/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "2025073117112119508011019056B023",​
"Action": "ModifyTransitRouterTrafficQosQueuePolicyAttributes",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
Error codes​
The table below describes the error codes for this API that are associated with business logic. For more information, see Common error codes.​
​
Status code​
Error codes​
Error message​
Explanation​
400​
InvalidDescription.Malformed​
The specified description is malformed.​
The format of specified description is invalid. Correct the description format and retry.​
400​
InvalidDescription.TooLong​
The specified description is malformed. Ensure the maximum length of description is 255.​
The format of specified description is invalid. A description must not exceed 255 characters.​
400​
InvalidName.Malformed​
The specified name is malformed.​
The format of the specified name is invalid. Correct the name format and retry.​
400​
InvalidName.TooLong​
The specified name is malformed. Ensure the maximum length of name is 128.​
The format of the specified name is invalid. A name must not exceed 128 characters.​
400​
InvalidTransitRouter.InvalidStatus​
The specified Transit Router is not in the correct status for the request.​
The specified Transit Router (TR) is in a status that cannot respond to the request.​
400​
InvalidTransitRouterTrafficQosQueuePolicy.InvalidStatus​
The specified Transit Router traffic qos queue policy is not in the correct status for the request.​
The specified traffic queue policy cannot respond to this request due to its status.​
404​
InvalidTransitRouterTrafficQosQueuePolicy.NotFound​
The specified Transit Router traffic qos queue policy does not exist.​
The specified traffic queue policy does not exist.​
​
Last updated: 2026.01.09 16:26:47