You need to enable JavaScript to run this app.
导航

ModifyTransitRouterForwardPolicyTableAttributes

最近更新时间2024.04.23 10:56:35

首次发布时间2024.03.26 10:24:49

调用ModifyTransitRouterForwardPolicyTableAttributes接口修改指定转发策略的名称和描述。

说明

转发策略功能正在邀测中,如需调用该接口,请联系客户经理。

请求参数

名称类型是否必选示例值描述
ActionStringModifyTransitRouterForwardPolicyTableAttributes要执行的操作,取值为ModifyTransitRouterForwardPolicyTableAttributes。
VersionString2020-04-01API版本信息,当前版本为2020-04-01。
TransitRouterForwardPolicyTableIdStringtr-fpt-hy13n2l4c6c0v****转发策略的ID。您可以调用DescribeTransitRouterForwardPolicyTables接口获取TR路由表的ID。

Description

String

This forward policy table is used for tests.

转发策略的描述信息。

  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
  • 长度限制为0 ~ 255个字符。
  • 不更改该参数取值时,保持原有配置不变。

TransitRouterForwardPolicyTableName

String

fpt-02

转发策略的名称。

  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和短横线(-)。
  • 长度限制为1 ~ 128个字符。
  • 不更改该参数取值时,保持原有配置不变。

返回参数

名称类型示例值描述
RequestIdString0ED8D006-F706-4D23-88ED-E11ED28D****请求ID。

请求示例

GET /?Action=ModifyTransitRouterForwardPolicyTableAttributes&Version=2020-04-01& HTTP/1.1
Host: open.volcengineapi.com
Service: transitrouter
Region: cn-guangzhou

返回示例

{
    "ResponseMetadata": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****",
        "Action": "ModifyTransitRouterForwardPolicyTableAttributes",
        "Version": "2020-04-01",
        "Service": "transitrouter",
        "Region": "cn-guangzhou"
    },
    "Result": {}
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

HttpCode错误码错误信息描述
400InvalidDescription.MalformedThe specified description is malformed.指定的描述格式不合法。请修复描述格式后重试。
400InvalidDescription.TooLongThe specified description is malformed. Ensure the maximum length of description is 255.指定的描述格式不合法。描述长度不能超过255个字符。
400InvalidName.MalformedThe specified name is malformed.指定的名称格式不合法。请修复名称格式后重试。
400InvalidName.TooLongThe specified name is malformed. Ensure the maximum length of name is 128.指定的名称格式不合法。名称长度不能超过128个字符。
400InvalidTransitRouter.InvalidStatusThe specified Transit Router is not in the correct status for the request.指定的中转路由器所处状态无法响应该请求。
400InvalidTransitRouterForwardPolicyTable.InvalidStatusThe specified Transit Router forward policy table is not in the correct status for the request.指定的转发策略所处状态无法响应该请求。
404InvalidTransitRouterForwardPolicyTable.NotFoundThe specified Transit Router forward policy table does not exist.指定的转发策略不存在。