OpenErService - 开通边缘函数服务

开通用户边缘函数服务。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
esa:OpenErServicenone
*全部资源
*

请求参数

名称类型必填描述示例值
当前API无需请求参数

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

5CC228B4-7A67-4016-9C9F-4A4133494A91

示例

正常返回示例

JSON格式

{
  "RequestId": "5CC228B4-7A67-4016-9C9F-4A4133494A91"
}

错误码

HTTP status code错误码错误信息描述
400ErService.HasOpenedYou have already activated Edge Routine.您已开通边缘函数服务,无需重复开通。
400InsufficientAvailableQuotaYour account balance is insufficient.您的账号已欠费,请缴清欠费后再购买。
400NoRealNameAuthenticationYou have not completed real-name authentication.您尚未进行实名认证!
400RiskControlRejectionIn order to protect the security of your account, the order was suspended, please contact customer service for details.为保护您的账户安全,下单被中止,详情请联系客服。
400RR309The system has detected that your payment method is at risk. Please complete the verification through the link in the email and the in-station letter. Please place the order again after the verification is passed.系统检测到您的支付方式存在风险,请通过邮件和站内信中的链接完成验证,验证通过后请重新下单。
400RR307Credit card verification is not complete. Please follow the guidance in the email and the internal message to complete the verification. Once verified, please place your order again.未完成信用卡验证,请通过邮件和站内信中引导自助完成验证,通过后请重新下单。

访问错误中心查看更多错误码。