检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
quests": "1", "host": "xxx", "x-forwarded-proto": "https", "pragma": "no-cache", "cache-control": "no-cache"
无认证模式,所有用户均可访问。 None 请求协议 必选参数。 API的请求协议分为两种类型: HTTP:数据在传输过程中不被加密。 HTTPS:数据在传输过程中被加密。 HTTPS 请求方法 必选参数。 选择API的请求方法。本例使用“ANY”。 ANY 后端超时(毫秒) 必选参数。 设置API
tion:xxx:subfunction:latest' #子函数的urn,在子函数详情页拓扑图的右侧可查询 url = 'https://functiongraph.{region_id}.{external_global_domain_name}/v2/%s/fgs
描述 error_code String 错误码 error_msg String 错误信息 请求示例 删除指定测试事件。 DELETE https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events/{event_id}
描述 error_code String 错误码 error_msg String 错误信息 请求示例 删除依赖包版本。 DELETE https://{Endpoint}/v2/{project_id}/fgs/dependencies/{depend_id}/version/{version}
URI:POST /v2/{project_id}/fgs/functions API文档详情请参见:创建函数 请求示例 POST https://{Endpoint}/v2/{project_id}/fgs/functions { "code_filename": "index
描述 error_code String 错误码 error_msg String 错误信息 请求示例 删除指定版本别名。 DELETE https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/aliases/{alias_name}
s_test为例,在函数的环境变量配置中添加:“SMN_Topic”:“fss_test”。 订阅主题可选择通过邮件、短信、HTTP/HTTPS等形式推送告警消息 本案例中推送告警消息的事件是:当日志事件通过LTS触发器触发函数执行时,函数中过滤告警日志,产生的告警消息推送至SMN主题的订阅终端。
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode());
String 错误码 error_msg String 错误信息 请求示例 获取 rds 类型 bridge函数可用的版本。 GET https://{Endpoint}/v2/{project_id}/fgs/servicebridge/version?type=rds 响应示例
描述 error_code String 错误码 error_msg String 错误信息 请求示例 删除指定触发器。 DELETE https://{Endpoint}/v2/{project_id}/fgs/triggers/{function_urn}/{trigger_t
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 查询测试事件列表。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events 响应示例
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 错误信息 请求示例 查询资源标签。 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/triggers/{function_urn} 响应示例 无 SDK代码示例
参数类型 描述 error_code String 错误码 error_msg String 错误信息 请求示例 获取指定测试事件。 GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events/{event_id}
提供的示例允许您使用Express框架轻松构建无服务器Web应用程序/服务和RESTful API 。 1.0.1 request 简化http调用,支持HTTPS并默认遵循重定向 2.88.0 Python Runtime集成的非标准库 表3 Python Runtime集成的非标准库 模块 功能
错误码 error_msg String 错误信息 请求示例 创建名为event-xx,内容为{"k":"v"}的测试事件。 POST https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/events {