ModifyGateway_云存储网关_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.

流控信息

当前云产品API请求速率暂未透出。

授权信息

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

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
hcs-sgw:ModifyGateway
Update
全部资源
*

请求参数

字段名称字段详情
GatewayIdstring

网关 ID。

示例值:gw-0001xv7je3580031y***参考取值来源:
    CreateGateway
    DescribeGateways
Namestring

修改后的网关名称。长度限制 1~60 个字符,可以包含大小写字母,中文,数字,“.”,“_”或“-”,同时必须以大小写字母或者中文开头。

示例值:alex***
Descriptionstring

修改后的网关描述。长度限制 0~255 个字符。

示例值:测试使用

返回参数

字段名称字段详情
Messagestring

请求结果描述。

示例值:successful
RequestIdstring

请求 ID。

示例值:220E7407-DF77-428D-8955-B02CF8F82D07
GatewayIdstring

网关 ID。

示例值:gw-0001xv7je3580031y***
Codestring

状态码。状态码为 200 表示请求成功。

示例值:200
Successboolean

请求是否成功。

示例值:true

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
EmptyGatewayId
You must enter a valid ID for the gateway.诊断
400
EmptyGatewayName
You must enter a valid name for the gateway.诊断
400
InvalidGatewayName
The specified name of the gateway is invalid. The name must be 1 to 60 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.诊断
400
DescriptionOverLimit
The length of the specified gateway description exceeds the maximum limit. The description cannot exceed 255 characters.诊断
400
GatewayNotExist
The specified gateway does not exist. You must specify a valid parameter.诊断
400
DuplicateGatewayName
The specified name of the gateway already exists. You must specify a valid name.诊断

变更历史

暂无变更历史

相关示例