检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询资源标签。 GET https://{Endpoint}/v2/{project_id}/{resource_type}/tags 响应示例 状态码: 200 ok {
描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询函数快照制作状态。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/snapshots/state
error_code String 错误码 error_msg String 错误信息 请求示例 删除租户指定函数/版本。 DELETE https://{Endpoint}/v2/{project_id}/fgs/functions/{func_urn} 响应示例 无 SDK代码示例
描述 error_code String 错误码 error_msg String 错误信息 请求示例 删除资源标签。 DELETE https://{Endpoint}/v2/{project_id}/{resource_type}/{resource_id}/tags/delete
error_code String 错误码 error_msg String 错误信息 请求示例 删除指定函数所有触发器。 DELETE https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn} 响应示例 无 SDK代码示例
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 获取指定测试事件。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events/{event_id}
描述 error_code String 错误码 error_msg String 错误信息 请求示例 当前租户依赖包列表。 GET https://{Endpoint}/v2/{project_id}/fgs/ListDependencies?marker=0&maxitems=400
error_code String 错误码 error_msg String 错误信息 请求示例 更新指定测试事件内容为{"k":"v"}。 PUT https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events/{event_id}
错误码 error_msg String 错误信息 请求示例 创建名为event-xx,内容为{"k":"v"}的测试事件。 POST https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events {
描述 error_code String 错误码 error_msg String 错误信息 请求示例 当前租户函数别名列表。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/aliases 响应示例
error_code String 错误码 error_msg String 错误信息 请求示例 查询指定函数的版本别名信息。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/aliases/{alias_name}
请求示例 创建键值对分别为"testKey1:testValue1"、"testKey2:testValue2"的资源标签。 POST https://{Endpoint}/v2/{project_id}/{resource_type}/{resource_id}/tags/create
href String 超链接地址 display_name String 云服务名称 表5 RepoInfo 参数 参数类型 描述 https_url String http地址 web_url String 存储库链接 repo_status String 存储库状态 error_msg
"6578de50-9a18-48fa-b84e-b2d36636e433", "owner" : "public", "link" : "https://{obs_endpoint}/functionstage-examples/fg_test_pandas_1.1.3.zip",
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询资源实例。 POST https://{Endpoint}/v2/{project_id}/{resource_type}/resource-instances/{action}
函数执行时的入参,支持引用constants中的常量 定义方式:参数路径 | 常量值/常量路径 参数路径指输入参数的JsonPath路径,如$.a.b[0].c 常量值可以为数字类型,字符串类型(需要用单引号括起来),布尔类型 常量路径为常量的JsonPath路径,但是根节点需要用$CONST表示,示例:$CONST
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());