调用ModifyEnsRouteEntry接口修改自定义路由条目名称、描述。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:ModifyEnsRouteEntry |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RouteEntryId |
string |
是 |
自定义路由 ID。 |
rte-5**** |
| RouteEntryName |
string |
否 |
路由条目的名称。 名称长度为 1~128 个字符,不能以 |
test |
| Description |
string |
否 |
路由条目的描述。描述长度为 1~256 个字符,不能以 http://或 https://开头。 |
test |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
C0003E8B-B930-4F59-ADC0-0E209A9012A8 |
示例
正常返回示例
JSON格式
{
"RequestId": "C0003E8B-B930-4F59-ADC0-0E209A9012A8"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | ens.interface.error | Failed to call API. | 接口调用发生异常。 |
| 400 | InvalidRouteEntryId.NotFound | Specified RouteEntryId does not exist. | 指定的路由ID不存在。 |
| 400 | InvalidRouteEntryType.NotSupported | The specified route type does not support this operation. | 指定路由的类型不支持该操作。 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。