You need to enable JavaScript to run this app.
文档中心
私网连接

私网连接

复制全文
下载 pdf
网关终端节点
ModifyVpcGatewayEndpointAttributes-修改网关终端节点配置属性
复制全文
下载 pdf
ModifyVpcGatewayEndpointAttributes-修改网关终端节点配置属性
调用ModifyVpcGatewayEndpointAttributes接口,修改指定网关终端节点的信息。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:ModifyVpcGatewayEndpointAttributes​
要执行的操作,取值:ModifyVpcGatewayEndpointAttributes。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
EndpointId String 必选 示例值:gwep-273yuq6q7bgn47fap8squ****​
网关终端节点的ID。​
您可以调用DescribeVpcGatewayEndpoints接口,获取网关终端节点的ID。​
​
EndpointName String 可选 示例值:endpoint-02​
网关终端节点的名称。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:点号(.)、下划线(_)和中划线(-)。​
  • 长度限制为1 ~ 128个字符。​
  • 不更改该参数取值时,保持原有配置不变。​
​
Description String 可选 示例值:This endpoint is for test.​
网关终端节点的描述信息。​
  • 必须以字母、数字或中文开头,可包含字母、数字、中文和以下特殊字符:英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、中划线(-)、中文逗号(,)、中文句号(。)。​
  • 长度限制为0 ~ 255个字符。​
  • 不更改该参数取值时,保持原有配置不变。​
​
VpcPolicy String 可选 示例值:{ "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*" } ] }​
网关终端节点的访问策略。​
访问策略中各字段的详细说明请参见存储桶策略参数说明。​
​
​
返回参数​
RequestId String 可选 示例值:0ED8D006-F706-4D23-88ED-E11ED28D****​
请求ID。​
​
​
请求示例​
​
GET /?Action=ModifyVpcGatewayEndpointAttributes&Version=2020-04-01&EndpointId=gwep-273yuq6q7bgn47fap8squ****&EndpointName=endpoint-02 HTTP/1.1​
Host: privatelink.cn-guangzhou.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-guangzhou/privatelink/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "ModifyVpcGatewayEndpointAttributes",​
"Version": "2020-04-01",​
"Service": "privatelink",​
"Region": "cn-guangzhou"​
},​
"Result": {​
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****"​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the 'XXX'.​
该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如XXX。​
说明​
其中,XXX表示缺少的参数名称。​
400​
InvalidGatewayEndpoint.InvalidStatus​
The specified GatewayEndpoint is not in the correct status for the request.​
指定的网关类型终端节点所处的状态无法响应该请求。​
400​
InvalidName.Malformed​
The specified Name is malformed.​
指定的Name参数格式不合法。​
400​
InvalidDescription.Malformed​
The specified Description is malformed.​
指定的Description参数格式不合法。​
400​
InvalidPolicy.Action.Malformed​
The specified Policy.Action is malformed.​
指定的 Policy.Action 参数格式不合法。​
400​
InvalidPolicy.Effect.Malformed​
The specified Policy.Effect is malformed.​
指定的 Policy.Effect 参数格式不合法。​
400​
InvalidPolicy.Principal.Malformed​
The specified Policy.Principal is malformed.​
指定的 Policy.Principal 参数格式不合法。​
400​
InvalidPolicy.Resource.Malformed​
The specified Policy.Resource is malformed.​
指定的 Policy.Resource 参数格式不合法。​
400​
InvalidPolicy.Statement.Malformed​
The specified Policy.Statement is malformed.​
指定的 Policy.Statement 参数格式不合法。​
400​
InvalidPolicy.Condition.Malformed​
The specified Policy.Condition is malformed.​
指定的 Policy.Condition 参数格式不合法。​
400​
InvalidPolicy.ConditionKey.Malformed​
The specified Policy.ConditionKey is malformed.​
指定的 Policy.ConditionKey 参数格式不合法。​
400​
InvalidPolicy.ConditionOperator.Malformed​
The specified Policy.ConditionOperator is malformed.​
指定的 Policy.ConditionOperator 参数格式不合法。​
400​
InvalidPolicy.ConditionValue.Malformed​
The specified Policy.ConditionValue is malformed.​
指定的 Policy.ConditionValue 参数格式不合法。​
404​
InvalidGatewayEp.NotFound​
The specified GatewayEndpoint does not exist.​
指定的网关终端节点不存在。​
​
最近更新时间:2025.12.09 10:33:58
这个页面对您有帮助吗?
有用
有用
无用
无用