Converts a NAT bandwidth package.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes ConvertBandwidthPackage

The name of this action. Value: ConvertBandwidthPackage

BandwidthPackageId String Yes bwp-bp1xea10o8qxw4f****

The ID of the NAT bandwidth package to be converted.

RegionId String Yes cn-hangzhou

The ID of the region to which the NAT Gateway belongs. To query the region ID, call DescribeRegions.

ClientToken String No 123e4567-e89b-12d3-a456-426655440000

The client token that guarantees the idempotence of the request. The value of this parameter is generated by the client. The value is unique among different requests and is 1 to 64 ASCII characters in length.

Response parameters

Parameter Type Example value Description
ConvertInstanceId String bwp-s6lmotmkkf567b****

The ID of the NAT bandwidth package after the conversion.

RequestId String 455AC20C-7061-446A-BDBD-B3BEE0856304

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=ConvertBandwidthPackage
&BandwidthPackageId=bwp-bp1xea10o8qxw4f****
&RegionId=cn-hangzhou
&<CommonParameters>

Response example

XML format

<ConvertBandwidthPackageResponse>
	  <RequestId>0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50</RequestId>
	  <ConvertInstanceId>bwp-s6lmotmkkf567b****</ConvertInstanceId>
</ConvertBandwidthPackageResponse>

JSON format

{
	"RequestId":"0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50",
	"ConvertInstanceId":"bwp-s6lmotmkkf567b****"
}

Errors

HTTP status code Error code Error message Description
500 InternalError The request processing has failed due to some unknown error. The request failed to be processed due to unknown errors.

For a list of error codes, visit the API Error Center.