Modifies the name and description of an Internet Shared Bandwidth instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyCommonBandwidthPackageAttribute |
update |
*BandwidthPackage
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region where the Internet Shared Bandwidth instance resides. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
| BandwidthPackageId |
string |
Yes |
The ID of the Internet Shared Bandwidth instance. |
cbwp-2ze2ic1xd2qeqk145**** |
| Name |
string |
No |
The name of the Internet Shared Bandwidth instance.
The name must be 0 to 128 characters in length and cannot start with |
test123 |
| Description |
string |
No |
The description of the Internet Shared Bandwidth instance. |
Description |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B450CAD8-50BC-4506-ADA7-35C6CE63E96B |
Examples
Success response
JSON format
{
"RequestId": "B450CAD8-50BC-4506-ADA7-35C6CE63E96B"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.Name.Malformed | The specified Name is not valid. | |
| 400 | InvalidParameter.Description.Malformed | The specified Description is not valid. | |
| 400 | InvalidBandwidthPackageId.NotFound | The specified BandwidthPackageId not exist. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | |
| 404 | InvalidBandwidthPackageId.NotFound | The specified bandwidthPackageId does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.