Deletes a queue from a quality of service (QoS) policy.
Usage notes
- You cannot delete the default queue.
- DeleteCenInterRegionTrafficQosQueue is an asynchronous operation. After you send a request, the system returns the request ID but the operation is still being performed in the system background. You can call ListCenInterRegionTrafficQosPolicies to query the status of a queue. If a queue cannot be found, the queue is deleted.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DeleteCenInterRegionTrafficQosQueue |
The operation that you want to perform. Set the value to DeleteCenInterRegionTrafficQosQueue. |
| ClientToken | String | No | 123e4567-e89b-12d3-a456-426**** |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. ClientToken can contain only ASCII characters. Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
|
| DryRun | Boolean | No | false |
Specifies whether only to check the request. Valid values:
|
| QosQueueId | String | Yes | qos-queue-nv2vfzqkewhk4t**** |
The ID of the queue. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 6DF9A765-BCD2-5C7E-8C32-C35C8A361A39 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteCenInterRegionTrafficQosQueue
&ClientToken=123e4567-e89b-12d3-a456-426****
&DryRun=false
&QosQueueId=qos-queue-nv2vfzqkewhk4t****
&Common request parameters
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteCenInterRegionTrafficQosQueueResponse>
<RequestId>6DF9A765-BCD2-5C7E-8C32-C35C8A361A39</RequestId>
</DeleteCenInterRegionTrafficQosQueueResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "6DF9A765-BCD2-5C7E-8C32-C35C8A361A39"
}
Error codes
For a list of error codes, visit the API Error Center.