Cell API
Docs
GitHub
Preparing search index...
@celljs/cli
ScfClient
Class ScfClient
Tencent Cloud API 3.0 calls of SCF (version 2018-04-16).
Index
Constructors
constructor
Properties
credentials
io
region
HOST
VERSION
Methods
call
get
Function
Constructors
constructor
new
ScfClient
(
region
:
string
,
credentials
:
{
secretId
:
string
;
secretKey
:
string
;
token
?:
string
}
,
io
?:
CloudIo
,
)
:
ScfClient
Parameters
region
:
string
credentials
:
{
secretId
:
string
;
secretKey
:
string
;
token
?:
string
}
io
:
CloudIo
= DEFAULT_IO
Returns
ScfClient
Properties
Protected
Readonly
credentials
credentials
:
{
secretId
:
string
;
secretKey
:
string
;
token
?:
string
}
Protected
Readonly
io
io
:
CloudIo
= DEFAULT_IO
Readonly
region
region
:
string
Static
Readonly
HOST
HOST
:
"scf.tencentcloudapi.com"
= 'scf.tencentcloudapi.com'
Static
Readonly
VERSION
VERSION
:
"2018-04-16"
= '2018-04-16'
Methods
call
call
<
T
=
Record
<
string
,
any
>
>
(
action
:
string
,
params
:
Record
<
string
,
unknown
>
,
)
:
Promise
<
T
>
Type Parameters
T
=
Record
<
string
,
any
>
Parameters
action
:
string
params
:
Record
<
string
,
unknown
>
Returns
Promise
<
T
>
get
Function
getFunction
(
name
:
string
,
namespace
:
string
,
)
:
Promise
<
Record
<
string
,
any
>
|
undefined
>
Parameters
name
:
string
namespace
:
string
Returns
Promise
<
Record
<
string
,
any
>
|
undefined
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
credentials
io
region
HOST
VERSION
Methods
call
get
Function
Docs
GitHub
Cell API
Loading...
Tencent Cloud API 3.0 calls of SCF (version 2018-04-16).