@faasjs/tencentcloud
FaasJS's tencentcloud provider.
Install
npm install @faasjs/tencentcloud
Modules
Classes
Type Aliases
Functions
Type Aliases
TencentcloudConfig
Ƭ TencentcloudConfig: Object
云 API 配置项 优先读取环境变量,如果没有则读取入参
Type declaration
Name | Type |
---|---|
appId? | string |
region? | string |
secretId? | string |
secretKey? | string |
token? | string |
Functions
request
▸ request<T
>(«destructured»
): Promise
<T
>
腾讯云请求封装
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
«destructured» | TencentcloudConfig & { action : string ; payload : { [key: string] : any ; } ; service : string ; version : string } |
Returns
Promise
<T
>