Modifies the timeout policy for a gateway route.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayRouteTimeout |
update |
*Gateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The ID of the associated record. |
567 |
| GatewayId |
integer |
No |
The ID of the gateway. |
85 |
| TimeoutJSON |
object |
No |
The timeout period. |
|
| UnitNum |
integer |
No |
The value of the timeout period. |
1 |
| TimeUnit |
string |
No |
The time unit. A value of s indicates seconds. |
s |
| Status |
string |
No |
The status of the timeout policy. |
off |
| GatewayUniqueId |
string |
Yes |
The unique ID of the gateway. |
gw-533290d279c1405f9628c64f7c8272ee |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
5359729E-A059-5942-98AF-E981E89C99FA |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The error message. |
You are not authorized to perform this operation. |
| Code |
integer |
The response code. |
200 |
| Success |
boolean |
Indicates whether the request was successful. true: The request was successful. false: The request failed. |
true |
| Data |
integer |
The returned data. |
400 |
Examples
Success response
JSON format
{
"RequestId": "5359729E-A059-5942-98AF-E981E89C99FA",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": 400
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.