Modify shared bandwidth Packet bandwidth
Describe
To modify the bandwidth of a specified shared bandwidth packet
Request parameters
name |
type |
must |
describe |
action |
|
system parameters, values: Modifybandwidthpackagespec |
regionid |
string |
|
|
bandwidthpackageid |
string |
|
|
tr>
bandwidth |
string |
is the |
bandwidth packetBandwidth value (the value of n is currently only 1) Value range: 5-5000 |
clienttoken |
string |
no |
See appendix for details |
return parameters
All public return parameters, as detailed in the public return parameters
Error code
error code |
Description |
Http status code |
semantics |
invalidregionid.notfound |
specified value of "RegionID" is not supported. |
404 |
|
invalidbandwidthpackageid.notfound |
|
404 |
|
tr>
invalidbandwidth.valuenotsupported |
|
400 |
Bandwidth value illegal |
"/table>
Example
Request sample
https://ecs.aliyuncs.com/? signatureversion=1.0&bandwidthpackageid=bwp-11odxu2k7&format=json×tamp=2016-05-23t04%3a03% 3a08z®ionid=cn-shanghai&bandwidth=200&accesskeyid=jzgi0oyrq6ihgkp9&signaturemethod= hmac-sha1&version=2014-05-26&signature=tozpphadtyvhoi%2bw%2fjjw7wapn70%3d&action= Modifybandwidthpackagespec&signaturenonce=42429561-209b-11e6-b869-2cf0ee28adf2
Return sample
JSON format
{"RequestID": "079874cd-aec1-43e6-ac03-add96b6e4907"}
XML format
temporary;