UpdateVpcGatewayEndpointAttribute_专有网络_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

  • UpdateVpcGatewayEndpointAttribute 接口属于异步接口,即系统会先返回一个 RequestId,但该网关终端节点的配置信息并未修改完成,系统后台的修改任务仍在进行。您可以调用 GetVpcGatewayEndpointAttribute 查询网关终端节点的状态。

    • 当网关终端节点处于 Updating 状态时,表示正在修改中。

    • 当网关终端节点处于 Created 状态时,表示修改完成。

  • UpdateVpcGatewayEndpointAttribute 接口不支持并发修改同一个网关终端节点。

流控信息

请求速率为600/60(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:UpdateVpcGatewayEndpointAttribute
Update
GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

请求参数

字段名称字段详情
EndpointIdstring

需要修改信息的网关终端节点的实例 ID。

示例值:vpce-bp1w1dmdqjpwul0v3****参考取值来源:
    ListVpcGatewayEndpoints
    CreateVpcGatewayEndpoint
EndpointNamestring

网关终端节点需要被修改的名称。展开详情

示例值:update参考取值来源:
    ListVpcGatewayEndpoints
    CreateVpcGatewayEndpoint
    GetVpcGatewayEndpointAttribute
EndpointDescriptionstring

网关终端节点需要被修改的描述信息。展开详情

示例值:updateendpoint
PolicyDocumentstring

云服务的访问策略。展开详情

示例值:{ "Version" : "1", "Statement" : [ { "Effect" : "Allow", "Resource" : [ "*" ], "Action" : [ "*" ], "Principal" : [ "*" ] } ] }
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:0c593ea1-3bea-11e9-b96b-88e9fe637760
DryRunboolean

是否只预检此次请求,取值:展开详情

示例值:false
RegionIdstring

需要修改信息的网关终端节点所在的地域 ID。展开详情

示例值:cn-hangzhou参考取值来源:
    DescribeRegions

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:E9654534-5A38-5545-813F-0403D49042FB

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
OperationFailed.ConcurrentOperation
The operation is failed because of concurrent operation.诊断
400
IdempotentParameterMismatch
The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.诊断
400
ResourceNotFound.GatewayEndpoint
The specified resource gateway endpoint is not found.诊断
400
IllegalParam.PolicyDocument
The param of PolicyDocument is illegal.诊断
400
IllegalParam.GatewayEndpointName
The param of GatewayEndpointName is illegal.诊断
400
IllegalParam.GatewayEndpointDescription
The param of GatewayEndpointDescription is illegal.诊断
400
SystemBusy
System is busy, please try again later.诊断
400
Forbbiden
User not authorized to operate on the specified resource.诊断
400
InvalidRegionId.NotFound
The regionId provided does not exist in our records.诊断
400
OperationDenied.PolicyDocument
The gatewayEndpoint does not support policy.诊断
400
IncorrectStatus.GatewayEndpoint
The status of GatewayEndpoint [%s] is incorrect.诊断
400
InvalidPolicy.WrongFormat
Invalid input policy format.诊断

变更历史

变更时间变更内容概要操作
2023-05-29
变更错误码400

相关示例

创建路由表 --> 创建网关终端节点 --> 修改终端节点的policy --> 绑定终端节点和两个路由表 --> 查询绑定关系为Associated
2021-12-17