最近更新时间:2024.04.22 16:36:16
首次发布时间:2023.03.17 21:09:36
调用ModifyVpcEndpointServiceAttributes接口,修改指定终端节点服务的信息。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ModifyVpcEndpointServiceAttributes | 要执行的操作,取值为ModifyVpcEndpointServiceAttributes。 |
Version | String | 是 | 2020-04-01 | API版本信息,当前版本为2020-04-01。 |
ServiceId | String | 是 | epsvc-2fe630gurkl37k5gfuy33**** | 终端节点服务的ID。您可以调用DescribeVpcEndpointServices接口获取终端节点服务的ID。 |
AutoAcceptEnabled | Boolean | 否 | false | 是否自动接受终端节点连接。
|
PrivateDNSEnabled | Boolean | 否 | false | 是否为终端节点服务启用私有DNS名称。
说明 私网连接自定义域名功能正在邀测中,如需使用,请联系客户经理。 |
PrivateDNSName | String | 否 | www.example.com | 终端节点的私有DNS名称,即公网域名。
|
Description | String | 否 | endpoint service | 终端节点服务的描述信息。
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 0ED8D006-F706-4D23-88ED-E11ED28D**** | 请求ID。 |
GET /?Action=ModifyVpcEndpointServiceAttributes&Version=2020-04-01&ServiceId=epsvc-2fe630gurkl37k5gfuy33**** HTTP/1.1 Host: open.volcengineapi.com Service: privatelink Region: cn-guangzhou
{ "ResponseMetadata": { "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****", "Action": "ModifyVpcEndpointServiceAttributes", "Version": "2020-04-01", "Service": "privatelink", "Region": "cn-guangzhou" }, "Result": { "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****" } }
此处仅展示当前API的错误码,更多错误码请参见公共错误码。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
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 | InvalidDescription.Malformed | The specified Description is malformed. | 指定的Description参数格式不合法。 |
400 | InvalidEndpointService.InvalidStatus | The specified EndpointService is not in the correct status for the request. | 指定的终端节点服务所处的状态无法响应该请求。 |
400 | ErrInterfaceNotSupportedResourceType | The Interface does not support the resource type. | 终端节点服务接口不支持操作该服务资源类型。 |
400 | InvalidPrivateDNSEnable.InUse | The specified PrivateDNS is being occupied by Endpoint of the EndpointService. | 指定的私有 DNS 正在被终端节点服务下的终端节点占用。 |
400 | InvalidPrivateDNSEnabled.PrivateDNSNameMismatch | The specified PrivateDNSEnabled and PrivateDNSName are mismatched. | 指定的参数 PrivateDNSEnabled 与 PrivateDNSName 无法匹配。 |
400 | InvalidPrivateDNSName.Malformed | The specified PrivateDNSName is malformed. | 指定的 PrivateDNSName 参数格式不合法。 |
400 | InvalidEndpointService.InvalidLock | The operation is refused by the endpoint service. | 终端节点服务无法支持该操作。 |
403 | Forbidden | You are not authorized to perform operations on the specified service. | 无权限对指定服务进行操作。 |
404 | InvalidEndpointService.NotFound | The specified EndpointService does not exist. | 指定的终端节点服务不存在。 |
409 | InvalidPrivateDNSName.Conflict | The specified private dns name repeated. | 指定的私网 DNS 名称重复。 |