tencentcloud-sdk-nodejs 4.0.248 → 4.0.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1006 -75
- package/package.json +1 -1
- package/products.md +42 -41
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +5 -0
- package/src/services/antiddos/v20200309/antiddos_models.ts +6 -0
- package/src/services/apigateway/v20180808/apigateway_models.ts +20 -0
- package/src/services/apm/v20210622/apm_client.ts +12 -0
- package/src/services/apm/v20210622/apm_models.ts +46 -0
- package/src/services/asr/v20190614/asr_client.ts +2 -2
- package/src/services/asr/v20190614/asr_models.ts +4 -2
- package/src/services/captcha/v20190722/captcha_models.ts +2 -1
- package/src/services/ccc/v20200210/ccc_client.ts +31 -15
- package/src/services/ccc/v20200210/ccc_models.ts +334 -179
- package/src/services/cdb/v20170320/cdb_models.ts +11 -1
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +45 -4
- package/src/services/cii/v20210408/cii_models.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_client.ts +3 -2
- package/src/services/ckafka/v20190819/ckafka_models.ts +53 -38
- package/src/services/cls/v20201016/cls_models.ts +2 -0
- package/src/services/cme/v20191029/cme_client.ts +3 -3
- package/src/services/cme/v20191029/cme_models.ts +30 -25
- package/src/services/cpdp/v20190820/cpdp_client.ts +34 -9
- package/src/services/cpdp/v20190820/cpdp_models.ts +266 -159
- package/src/services/cr/v20180321/cr_models.ts +1 -1
- package/src/services/dcdb/v20180411/dcdb_models.ts +7 -7
- package/src/services/domain/v20180808/domain_models.ts +26 -1
- package/src/services/ecdn/v20191012/ecdn_client.ts +3 -0
- package/src/services/ecm/v20190719/ecm_models.ts +2 -2
- package/src/services/emr/v20190103/emr_models.ts +40 -4
- package/src/services/ft/v20200304/ft_models.ts +8 -2
- package/src/services/gaap/v20180529/gaap_models.ts +5 -0
- package/src/services/gs/v20191118/gs_models.ts +3 -3
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +26 -13
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +71 -21
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +11 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +31 -0
- package/src/services/monitor/v20180724/monitor_models.ts +3 -3
- package/src/services/oceanus/v20190422/oceanus_models.ts +22 -0
- package/src/services/postgres/v20170312/postgres_models.ts +23 -11
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +4 -3
- package/src/services/scf/v20180416/scf_client.ts +38 -12
- package/src/services/scf/v20180416/scf_models.ts +153 -3
- package/src/services/ssl/v20191205/ssl_models.ts +1 -1
- package/src/services/tat/v20201028/tat_models.ts +87 -11
- package/src/services/tcb/v20180608/tcb_models.ts +6 -1
- package/src/services/tcss/index.ts +5 -0
- package/src/services/tcss/v20201101/index.ts +6 -0
- package/src/services/tcss/v20201101/tcss_client.ts +2106 -0
- package/src/services/tcss/v20201101/tcss_models.ts +11427 -0
- package/src/services/tdmq/v20200217/tdmq_client.ts +15 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +556 -146
- package/src/services/tiw/v20190919/tiw_models.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +2 -2
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +26 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +4 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +5 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +16 -0
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +39 -0
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +2 -2
- package/tencentcloud/services/asr/v20190614/asr_client.js +2 -2
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -2
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +1 -0
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +9 -5
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +12 -6
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +283 -153
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +9 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +39 -4
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +46 -33
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -0
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +3 -3
- package/tencentcloud/services/cme/v20191029/cme_client.js +3 -3
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +29 -25
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +11 -3
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +15 -3
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +227 -136
- package/tencentcloud/services/cr/v20180321/cr_models.d.ts +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +7 -7
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +21 -1
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +3 -0
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +3 -0
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +2 -2
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +34 -4
- package/tencentcloud/services/ft/v20200304/ft_models.d.ts +7 -2
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +4 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +3 -3
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +9 -5
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +12 -6
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +61 -18
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +9 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +26 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +3 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +18 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +21 -11
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -2
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +13 -5
- package/tencentcloud/services/scf/v20180416/scf_client.js +18 -6
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +129 -2
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +75 -11
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +5 -1
- package/tencentcloud/services/tcss/index.d.ts +6 -0
- package/tencentcloud/services/tcss/index.js +7 -0
- package/tencentcloud/services/tcss/v20201101/index.d.ts +6 -0
- package/tencentcloud/services/tcss/v20201101/index.js +9 -0
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +674 -0
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +1027 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +9642 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.js +18 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +434 -94
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +22 -1
- package/test/apm.v20210622.test.js +10 -0
- package/test/ccc.v20200210.test.js +14 -4
- package/test/cpdp.v20190820.test.js +22 -2
- package/test/iotexplorer.v20190423.test.js +14 -4
- package/test/scf.v20180416.test.js +24 -4
- package/test/tcss.v20201101.test.js +1681 -0
- package/test/tdmq.v20200217.test.js +10 -0
|
@@ -5033,7 +5033,7 @@ export interface DescribeAddressesRequest {
|
|
|
5033
5033
|
*/
|
|
5034
5034
|
AddressIds?: Array<string>;
|
|
5035
5035
|
/**
|
|
5036
|
-
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为
|
|
5036
|
+
* 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
|
|
5037
5037
|
<li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。</li>
|
|
5038
5038
|
<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。</li>
|
|
5039
5039
|
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。</li>
|
|
@@ -5042,7 +5042,7 @@ export interface DescribeAddressesRequest {
|
|
|
5042
5042
|
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>
|
|
5043
5043
|
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>
|
|
5044
5044
|
<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
5045
|
-
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'EIP','AnycastEIP','HighQualityEIP'
|
|
5045
|
+
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP'。默认值是'EIP'。</li>
|
|
5046
5046
|
<li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>
|
|
5047
5047
|
<li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>
|
|
5048
5048
|
<li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
|
|
@@ -58,7 +58,7 @@ export declare class Client extends AbstractClient {
|
|
|
58
58
|
/**
|
|
59
59
|
* 本接口用于访问日志的快速分析
|
|
60
60
|
*/
|
|
61
|
-
DescribeAccessFastAnalysis(req
|
|
61
|
+
DescribeAccessFastAnalysis(req: DescribeAccessFastAnalysisRequest, cb?: (error: string, rep: DescribeAccessFastAnalysisResponse) => void): Promise<DescribeAccessFastAnalysisResponse>;
|
|
62
62
|
/**
|
|
63
63
|
* 本接口用于获取访问日志索引配置信息
|
|
64
64
|
*/
|
|
@@ -377,7 +377,28 @@ export interface AccessRuleInfo {
|
|
|
377
377
|
/**
|
|
378
378
|
* DescribeAccessFastAnalysis请求参数结构体
|
|
379
379
|
*/
|
|
380
|
-
export
|
|
380
|
+
export interface DescribeAccessFastAnalysisRequest {
|
|
381
|
+
/**
|
|
382
|
+
* 客户要查询的日志主题ID,每个客户都有对应的一个主题
|
|
383
|
+
*/
|
|
384
|
+
TopicId: string;
|
|
385
|
+
/**
|
|
386
|
+
* 要查询的日志的起始时间,Unix时间戳,单位ms
|
|
387
|
+
*/
|
|
388
|
+
From: number;
|
|
389
|
+
/**
|
|
390
|
+
* 要查询的日志的结束时间,Unix时间戳,单位ms
|
|
391
|
+
*/
|
|
392
|
+
To: number;
|
|
393
|
+
/**
|
|
394
|
+
* 查询语句,语句长度最大为4096,由于本接口是分析接口,如果无过滤条件,必须传 * 表示匹配所有,参考CLS的分析统计语句的文档
|
|
395
|
+
*/
|
|
396
|
+
Query: string;
|
|
397
|
+
/**
|
|
398
|
+
* 需要分析统计的字段名
|
|
399
|
+
*/
|
|
400
|
+
FieldName: string;
|
|
401
|
+
}
|
|
381
402
|
/**
|
|
382
403
|
* 用于DescribeAccessIndex接口的出参
|
|
383
404
|
*/
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.apm.v20210622.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("apm.v20210622.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("apm.v20210622.CreateApmInstance", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateApmInstance({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("apm.v20210622.DescribeApmInstances", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeApmInstances({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.ccc.v20200210.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("ccc.v20200210.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("ccc.v20200210.DescribeStaffStatusMetrics", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeStaffStatusMetrics({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("ccc.v20200210.DescribeChatMessages", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeChatMessages({})
|
|
@@ -78,9 +88,9 @@ it("ccc.v20200210.DescribeSkillGroupInfoList", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
81
|
-
it("ccc.v20200210.
|
|
91
|
+
it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
|
|
82
92
|
try {
|
|
83
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeCCCBuyInfoList({})
|
|
84
94
|
expect(data).to.be.ok
|
|
85
95
|
} catch(error) {
|
|
86
96
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +158,9 @@ it("ccc.v20200210.DescribePSTNActiveSessionList", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("ccc.v20200210.
|
|
161
|
+
it("ccc.v20200210.DescribeStaffInfoList", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeStaffInfoList({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.cpdp.v20190820.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cpdp.v20190820.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("cpdp.v20190820.QueryAssignment", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.QueryAssignment({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
21
31
|
it("cpdp.v20190820.DistributeAccreditQuery", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DistributeAccreditQuery({})
|
|
@@ -58,9 +68,9 @@ it("cpdp.v20190820.CreateBatchPayment", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
61
|
-
it("cpdp.v20190820.
|
|
71
|
+
it("cpdp.v20190820.DeduceQuota", async function () {
|
|
62
72
|
try {
|
|
63
|
-
const data = await client.
|
|
73
|
+
const data = await client.DeduceQuota({})
|
|
64
74
|
expect(data).to.be.ok
|
|
65
75
|
} catch(error) {
|
|
66
76
|
expect(error.requestId).to.be.ok
|
|
@@ -298,6 +308,16 @@ it("cpdp.v20190820.QuerySinglePaymentResult", async function () {
|
|
|
298
308
|
}
|
|
299
309
|
})
|
|
300
310
|
|
|
311
|
+
it("cpdp.v20190820.ViewMerchant", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.ViewMerchant({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
301
321
|
it("cpdp.v20190820.UploadTaxPayment", async function () {
|
|
302
322
|
try {
|
|
303
323
|
const data = await client.UploadTaxPayment({})
|
|
@@ -58,6 +58,16 @@ it("iotexplorer.v20190423.DeleteStudioProduct", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("iotexplorer.v20190423.ReleaseStudioProduct", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ReleaseStudioProduct({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("iotexplorer.v20190423.SearchPositionSpace", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.SearchPositionSpace({})
|
|
@@ -518,9 +528,9 @@ it("iotexplorer.v20190423.DescribeFenceEventList", async function () {
|
|
|
518
528
|
}
|
|
519
529
|
})
|
|
520
530
|
|
|
521
|
-
it("iotexplorer.v20190423.
|
|
531
|
+
it("iotexplorer.v20190423.GetPositionSpaceList", async function () {
|
|
522
532
|
try {
|
|
523
|
-
const data = await client.
|
|
533
|
+
const data = await client.GetPositionSpaceList({})
|
|
524
534
|
expect(data).to.be.ok
|
|
525
535
|
} catch(error) {
|
|
526
536
|
expect(error.requestId).to.be.ok
|
|
@@ -538,9 +548,9 @@ it("iotexplorer.v20190423.DescribeFirmwareTask", async function () {
|
|
|
538
548
|
}
|
|
539
549
|
})
|
|
540
550
|
|
|
541
|
-
it("iotexplorer.v20190423.
|
|
551
|
+
it("iotexplorer.v20190423.GenSingleDeviceSignatureOfPublic", async function () {
|
|
542
552
|
try {
|
|
543
|
-
const data = await client.
|
|
553
|
+
const data = await client.GenSingleDeviceSignatureOfPublic({})
|
|
544
554
|
expect(data).to.be.ok
|
|
545
555
|
} catch(error) {
|
|
546
556
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("scf.v20180416.PublishLayerVersion", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("scf.v20180416.
|
|
181
|
+
it("scf.v20180416.DeleteProvisionedConcurrencyConfig", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.DeleteProvisionedConcurrencyConfig({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -228,6 +228,16 @@ it("scf.v20180416.DeleteAlias", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
+
it("scf.v20180416.GetAsyncEventStatus", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.GetAsyncEventStatus({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
231
241
|
it("scf.v20180416.DeleteNamespace", async function () {
|
|
232
242
|
try {
|
|
233
243
|
const data = await client.DeleteNamespace({})
|
|
@@ -368,9 +378,9 @@ it("scf.v20180416.DeleteReservedConcurrencyConfig", async function () {
|
|
|
368
378
|
}
|
|
369
379
|
})
|
|
370
380
|
|
|
371
|
-
it("scf.v20180416.
|
|
381
|
+
it("scf.v20180416.Invoke", async function () {
|
|
372
382
|
try {
|
|
373
|
-
const data = await client.
|
|
383
|
+
const data = await client.Invoke({})
|
|
374
384
|
expect(data).to.be.ok
|
|
375
385
|
} catch(error) {
|
|
376
386
|
expect(error.requestId).to.be.ok
|
|
@@ -438,4 +448,14 @@ it("scf.v20180416.UpdateFunctionCode", async function () {
|
|
|
438
448
|
}
|
|
439
449
|
})
|
|
440
450
|
|
|
451
|
+
it("scf.v20180416.GetRequestStatus", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.GetRequestStatus({})
|
|
454
|
+
expect(data).to.be.ok
|
|
455
|
+
} catch(error) {
|
|
456
|
+
expect(error.requestId).to.be.ok
|
|
457
|
+
expect(error.code).to.be.ok
|
|
458
|
+
}
|
|
459
|
+
})
|
|
460
|
+
|
|
441
461
|
})
|