Modifies the payer for a cross-account network instance connected to a transit router instance.
Operation description
The ModifyGrantInstanceToTransitRouter operation only supports modifying the payer for a cross-account virtual private cloud (VPC) instance, virtual border router (VBR) instance, or IPsec instance connected to a transit router instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ModifyGrantInstanceToTransitRouter |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
The Cloud Enterprise Network (CEN) instance ID. |
cen-dc4vwznpwbobrl**** |
| InstanceId |
string |
Yes |
The network instance ID. |
vpc-bp1h8vbrbcgohcju5**** |
| OrderType |
string |
Yes |
The payer of the network instance. Valid values:
|
PayByCenOwner |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can generate the value from your client. Make sure that the value is unique among different requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different. |
123e4567-e89b-12d3-a456-42665544**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The unique ID of the request. If an error occurs, you can use the ID to troubleshoot the issue. |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
Examples
Success response
JSON format
{
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationUnsupported.action | This action is not support. | The error message returned because this operation is not supported in the specified region. |
| 400 | OperationFailed.GrantCrossAccountNotExist | Cross-account authorization does not exist. | Cross-account authorization does not exist. |
| 400 | MissingParameter.CenId | The parameter CenId is mandatory. | The parameter CenId is mandatory. |
| 400 | MissingParameter.InstanceId | The parameter InstanceId is mandatory. | The parameter InstanceId is mandatory. |
| 400 | MissingParameter.OrderType | The parameter OrderType is mandatory. | The parameter OrderType is mandatory. |
| 400 | InvalidParameter.OrderType | The specified parameter OrderType is invalid. | The specified parameter OrderType is invalid. |
| 400 | Forbbiden.TransitRouterServiceNotOpen | The user has not open transit router service. | The error message returned because the transit router is disabled. Enable the transit router and try again. |
| 400 | Forbidden.TransitRouterServiceExpired | The transit router service is out of service. | The transit router service has been suspended due for payment. Please renew the service and try again. |
| 400 | Forbidden.CenOwnerTransitRouterServiceNotOpen | The cen owner user has not opened transit router service. | The transit router service for the cen owner's account is not currently opened. Please inform them to open the transit router service and then try again. |
| 400 | Forbidden.CenOwnerTransitRouterServiceExpired | The transit router service of the account to which the cen belongs has been suspended due to arrears. Please notify the other party to renew the service and try again. | The transit router service of the account to which the cen belongs has been suspended. Please notify the other party to renew the service and try again. |
| 400 | InvalidParameter.CenId | The specified parameter CenId is invalid. | The entered parameter CenId is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.