tencentcloud-sdk-nodejs 4.0.956 → 4.0.957
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 +199 -0
- package/SERVICE_CHANGELOG.md +309 -37
- package/package.json +1 -1
- package/products.md +18 -17
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +8 -1
- package/src/services/ccc/v20200210/ccc_models.ts +94 -1
- package/src/services/cls/v20201016/cls_client.ts +66 -15
- package/src/services/cls/v20201016/cls_models.ts +605 -359
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -0
- package/src/services/dc/v20180410/dc_client.ts +121 -107
- package/src/services/dc/v20180410/dc_models.ts +181 -35
- package/src/services/emr/v20190103/emr_models.ts +1 -93
- package/src/services/ess/v20201111/ess_models.ts +4 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -3
- package/src/services/faceid/v20180301/faceid_models.ts +19 -0
- package/src/services/gwlb/index.ts +5 -0
- package/src/services/gwlb/v20240906/gwlb_client.ts +267 -0
- package/src/services/gwlb/v20240906/gwlb_models.ts +954 -0
- package/src/services/gwlb/v20240906/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +4 -4
- package/src/services/privatedns/v20201028/privatedns_client.ts +18 -6
- package/src/services/privatedns/v20201028/privatedns_models.ts +48 -0
- package/src/services/teo/v20220901/teo_models.ts +8 -5
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/vclm/v20240523/vclm_models.ts +4 -0
- package/src/services/vtc/v20240223/vtc_models.ts +4 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +94 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +591 -356
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
- package/tencentcloud/services/dc/v20180410/dc_client.d.ts +44 -40
- package/tencentcloud/services/dc/v20180410/dc_client.js +63 -57
- package/tencentcloud/services/dc/v20180410/dc_models.d.ts +177 -35
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1 -93
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +19 -0
- package/tencentcloud/services/gwlb/index.d.ts +6 -0
- package/tencentcloud/services/gwlb/index.js +7 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.d.ts +90 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.js +147 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +890 -0
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.js +18 -0
- package/tencentcloud/services/gwlb/v20240906/index.d.ts +6 -0
- package/tencentcloud/services/gwlb/v20240906/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -4
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.d.ts +7 -3
- package/tencentcloud/services/privatedns/v20201028/privatedns_client.js +9 -3
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +46 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +8 -5
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +4 -0
- package/tencentcloud/services/vtc/v20240223/vtc_models.d.ts +4 -0
- package/test/cls.v20201016.test.js +42 -2
- package/test/dc.v20180410.test.js +48 -38
- package/test/gwlb.v20240906.test.js +201 -0
- package/test/privatedns.v20201028.test.js +12 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20240906 = void 0;
|
|
4
|
+
const Models = require("./gwlb_models");
|
|
5
|
+
const gwlb_client_1 = require("./gwlb_client");
|
|
6
|
+
exports.v20240906 = {
|
|
7
|
+
Client: gwlb_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -110,6 +110,7 @@ export { goosefs } from "./goosefs";
|
|
|
110
110
|
export { gpm } from "./gpm";
|
|
111
111
|
export { gs } from "./gs";
|
|
112
112
|
export { gse } from "./gse";
|
|
113
|
+
export { gwlb } from "./gwlb";
|
|
113
114
|
export { habo } from "./habo";
|
|
114
115
|
export { hai } from "./hai";
|
|
115
116
|
export { hasim } from "./hasim";
|
|
@@ -224,6 +224,8 @@ var gs_1 = require("./gs");
|
|
|
224
224
|
Object.defineProperty(exports, "gs", { enumerable: true, get: function () { return gs_1.gs; } });
|
|
225
225
|
var gse_1 = require("./gse");
|
|
226
226
|
Object.defineProperty(exports, "gse", { enumerable: true, get: function () { return gse_1.gse; } });
|
|
227
|
+
var gwlb_1 = require("./gwlb");
|
|
228
|
+
Object.defineProperty(exports, "gwlb", { enumerable: true, get: function () { return gwlb_1.gwlb; } });
|
|
227
229
|
var habo_1 = require("./habo");
|
|
228
230
|
Object.defineProperty(exports, "habo", { enumerable: true, get: function () { return habo_1.habo; } });
|
|
229
231
|
var hai_1 = require("./hai");
|
|
@@ -1698,11 +1698,11 @@ export interface DescribeSystemResourcesResponse {
|
|
|
1698
1698
|
/**
|
|
1699
1699
|
* 资源详细信息集合
|
|
1700
1700
|
*/
|
|
1701
|
-
ResourceSet
|
|
1701
|
+
ResourceSet?: Array<SystemResourceItem>;
|
|
1702
1702
|
/**
|
|
1703
1703
|
* 总数量
|
|
1704
1704
|
*/
|
|
1705
|
-
TotalCount
|
|
1705
|
+
TotalCount?: number;
|
|
1706
1706
|
/**
|
|
1707
1707
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1708
1708
|
*/
|
|
@@ -3588,11 +3588,11 @@ export interface CheckSavepointResponse {
|
|
|
3588
3588
|
/**
|
|
3589
3589
|
* 资源 id
|
|
3590
3590
|
*/
|
|
3591
|
-
SerialId
|
|
3591
|
+
SerialId?: string;
|
|
3592
3592
|
/**
|
|
3593
3593
|
* 1=可用,2=不可用
|
|
3594
3594
|
*/
|
|
3595
|
-
SavepointStatus
|
|
3595
|
+
SavepointStatus?: number;
|
|
3596
3596
|
/**
|
|
3597
3597
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3598
3598
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeQuotaUsageResponse, ModifyPrivateZoneVpcRequest, DescribeAuditLogResponse, DescribePrivateDNSAccountListResponse, DescribePrivateZoneRecordListRequest, QueryAsyncBindVpcStatusResponse, DescribePrivateZoneRecordListResponse, DescribePrivateZoneListResponse, DescribePrivateZoneRequest, ModifyRecordsStatusResponse, DeleteSpecifyPrivateZoneVpcResponse, DescribeAccountVpcListResponse, DescribePrivateZoneServiceRequest, DeleteEndPointResponse, AddSpecifyPrivateZoneVpcResponse, DeleteEndPointRequest, AddSpecifyPrivateZoneVpcRequest, DescribeRequestDataRequest, ModifyPrivateZoneRecordResponse, DescribeAccountVpcListRequest, DescribeRequestDataResponse, ModifyPrivateZoneRequest, CreatePrivateZoneRequest, ModifyPrivateZoneResponse, DeleteSpecifyPrivateZoneVpcRequest, SubscribePrivateZoneServiceRequest, DescribePrivateZoneResponse, CreatePrivateZoneResponse, DescribeDashboardResponse, CreatePrivateZoneRecordResponse, DescribePrivateZoneServiceResponse, CreatePrivateDNSAccountResponse, DescribeAuditLogRequest, DescribeDashboardRequest, DeletePrivateZoneRequest, SubscribePrivateZoneServiceResponse, DeletePrivateDNSAccountRequest, DeletePrivateZoneRecordRequest, DeletePrivateZoneResponse, ModifyRecordsStatusRequest, CreatePrivateDNSAccountRequest, QueryAsyncBindVpcStatusRequest, DescribePrivateDNSAccountListRequest, CreatePrivateZoneRecordRequest, DescribeQuotaUsageRequest, ModifyPrivateZoneRecordRequest, DescribePrivateZoneListRequest, DeletePrivateDNSAccountResponse, DeletePrivateZoneRecordResponse, ModifyPrivateZoneVpcResponse } from "./privatedns_models";
|
|
3
|
+
import { DescribeQuotaUsageResponse, ModifyPrivateZoneVpcRequest, DescribeAuditLogResponse, DescribePrivateDNSAccountListResponse, DescribePrivateZoneRecordListRequest, QueryAsyncBindVpcStatusResponse, DescribePrivateZoneRecordListResponse, DescribePrivateZoneListResponse, DescribePrivateZoneRequest, ModifyRecordsStatusResponse, DeleteSpecifyPrivateZoneVpcResponse, DescribeAccountVpcListResponse, DescribePrivateZoneServiceRequest, DeleteEndPointResponse, AddSpecifyPrivateZoneVpcResponse, DeleteEndPointRequest, AddSpecifyPrivateZoneVpcRequest, DescribeRequestDataRequest, ModifyPrivateZoneRecordResponse, DescribeAccountVpcListRequest, DescribeRequestDataResponse, ModifyPrivateZoneRequest, CreatePrivateZoneRequest, ModifyPrivateZoneResponse, DeleteSpecifyPrivateZoneVpcRequest, SubscribePrivateZoneServiceRequest, DescribePrivateZoneResponse, CreatePrivateZoneResponse, DescribeDashboardResponse, CreatePrivateZoneRecordResponse, DescribePrivateZoneServiceResponse, CreatePrivateDNSAccountResponse, DescribeAuditLogRequest, DescribeDashboardRequest, DeletePrivateZoneRequest, CreateEndPointResponse, SubscribePrivateZoneServiceResponse, DeletePrivateDNSAccountRequest, DeletePrivateZoneRecordRequest, CreateEndPointRequest, DeletePrivateZoneResponse, ModifyRecordsStatusRequest, CreatePrivateDNSAccountRequest, QueryAsyncBindVpcStatusRequest, DescribePrivateDNSAccountListRequest, CreatePrivateZoneRecordRequest, DescribeQuotaUsageRequest, ModifyPrivateZoneRecordRequest, DescribePrivateZoneListRequest, DeletePrivateDNSAccountResponse, DeletePrivateZoneRecordResponse, ModifyPrivateZoneVpcResponse } from "./privatedns_models";
|
|
4
4
|
/**
|
|
5
5
|
* privatedns client
|
|
6
6
|
* @class
|
|
@@ -40,13 +40,17 @@ export declare class Client extends AbstractClient {
|
|
|
40
40
|
*/
|
|
41
41
|
DescribePrivateZoneList(req: DescribePrivateZoneListRequest, cb?: (error: string, rep: DescribePrivateZoneListResponse) => void): Promise<DescribePrivateZoneListResponse>;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* 创建终端节点
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
CreateEndPoint(req: CreateEndPointRequest, cb?: (error: string, rep: CreateEndPointResponse) => void): Promise<CreateEndPointResponse>;
|
|
46
46
|
/**
|
|
47
47
|
* 追加与私有域关联的VPC
|
|
48
48
|
*/
|
|
49
49
|
AddSpecifyPrivateZoneVpc(req: AddSpecifyPrivateZoneVpcRequest, cb?: (error: string, rep: AddSpecifyPrivateZoneVpcResponse) => void): Promise<AddSpecifyPrivateZoneVpcResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 获取私有域记录列表
|
|
52
|
+
*/
|
|
53
|
+
DescribePrivateZoneRecordList(req: DescribePrivateZoneRecordListRequest, cb?: (error: string, rep: DescribePrivateZoneRecordListResponse) => void): Promise<DescribePrivateZoneRecordListResponse>;
|
|
50
54
|
/**
|
|
51
55
|
* 查询异步绑定vpc操作状态
|
|
52
56
|
*/
|
|
@@ -76,10 +76,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
76
76
|
return this.request("DescribePrivateZoneList", req, cb);
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* 创建终端节点
|
|
80
80
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
81
|
+
async CreateEndPoint(req, cb) {
|
|
82
|
+
return this.request("CreateEndPoint", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* 追加与私有域关联的VPC
|
|
@@ -87,6 +87,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
87
87
|
async AddSpecifyPrivateZoneVpc(req, cb) {
|
|
88
88
|
return this.request("AddSpecifyPrivateZoneVpc", req, cb);
|
|
89
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* 获取私有域记录列表
|
|
92
|
+
*/
|
|
93
|
+
async DescribePrivateZoneRecordList(req, cb) {
|
|
94
|
+
return this.request("DescribePrivateZoneRecordList", req, cb);
|
|
95
|
+
}
|
|
90
96
|
/**
|
|
91
97
|
* 查询异步绑定vpc操作状态
|
|
92
98
|
*/
|
|
@@ -779,6 +779,31 @@ export interface DeletePrivateZoneRequest {
|
|
|
779
779
|
*/
|
|
780
780
|
ZoneIdSet?: Array<string>;
|
|
781
781
|
}
|
|
782
|
+
/**
|
|
783
|
+
* CreateEndPoint返回参数结构体
|
|
784
|
+
*/
|
|
785
|
+
export interface CreateEndPointResponse {
|
|
786
|
+
/**
|
|
787
|
+
* 终端节点id
|
|
788
|
+
*/
|
|
789
|
+
EndPointId?: string;
|
|
790
|
+
/**
|
|
791
|
+
* 终端节点名称
|
|
792
|
+
*/
|
|
793
|
+
EndPointName?: string;
|
|
794
|
+
/**
|
|
795
|
+
* 终端节点服务ID
|
|
796
|
+
*/
|
|
797
|
+
EndPointServiceId?: string;
|
|
798
|
+
/**
|
|
799
|
+
* 终端节点的IP列表
|
|
800
|
+
*/
|
|
801
|
+
EndPointVipSet?: Array<string>;
|
|
802
|
+
/**
|
|
803
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
804
|
+
*/
|
|
805
|
+
RequestId?: string;
|
|
806
|
+
}
|
|
782
807
|
/**
|
|
783
808
|
* 操作日志
|
|
784
809
|
*/
|
|
@@ -852,6 +877,27 @@ export interface Filter {
|
|
|
852
877
|
*/
|
|
853
878
|
Values: Array<string>;
|
|
854
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* CreateEndPoint请求参数结构体
|
|
882
|
+
*/
|
|
883
|
+
export interface CreateEndPointRequest {
|
|
884
|
+
/**
|
|
885
|
+
* 终端节点名称
|
|
886
|
+
*/
|
|
887
|
+
EndPointName: string;
|
|
888
|
+
/**
|
|
889
|
+
* 终端节点服务ID(vpc终端节点服务ID)
|
|
890
|
+
*/
|
|
891
|
+
EndPointServiceId: string;
|
|
892
|
+
/**
|
|
893
|
+
* 终端节点地域,必须要和终端节点服务所属地域一致
|
|
894
|
+
*/
|
|
895
|
+
EndPointRegion: string;
|
|
896
|
+
/**
|
|
897
|
+
* 终端节点ip数量
|
|
898
|
+
*/
|
|
899
|
+
IpNum?: number;
|
|
900
|
+
}
|
|
855
901
|
/**
|
|
856
902
|
* DeletePrivateZone返回参数结构体
|
|
857
903
|
*/
|
|
@@ -674,7 +674,7 @@ export interface CreateRealtimeLogDeliveryTaskRequest {
|
|
|
674
674
|
*/
|
|
675
675
|
Fields: Array<string>;
|
|
676
676
|
/**
|
|
677
|
-
* 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie
|
|
677
|
+
* 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。自定义字段名称不能重复,且最多不能超过 200 个字段。单个实时日志推送任务最多添加 5 个请求正文类型的自定义字段。目前仅站点加速日志(LogType=domain)支持添加自定义字段。
|
|
678
678
|
*/
|
|
679
679
|
CustomFields?: Array<CustomField>;
|
|
680
680
|
/**
|
|
@@ -1997,15 +1997,18 @@ export interface DeleteCustomErrorPageRequest {
|
|
|
1997
1997
|
*/
|
|
1998
1998
|
export interface CustomField {
|
|
1999
1999
|
/**
|
|
2000
|
-
*
|
|
2000
|
+
* 自定义日志字段类型。从 HTTP 请求和响应中的指定位置提取数据,取值有:
|
|
2001
2001
|
<li>ReqHeader:从 HTTP 请求头中提取指定字段值;</li>
|
|
2002
2002
|
<li>RspHeader:从 HTTP 响应头中提取指定字段值;</li>
|
|
2003
|
-
<li>Cookie: 从 Cookie
|
|
2003
|
+
<li>Cookie: 从 Cookie 中提取指定字段值;</li>
|
|
2004
|
+
<li>ReqBody: 从 HTTP 请求正文中通过 Google RE2 正则表达式提取指定内容。</li>
|
|
2004
2005
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2005
2006
|
*/
|
|
2006
2007
|
Name: string;
|
|
2007
2008
|
/**
|
|
2008
|
-
*
|
|
2009
|
+
* 根据字段类型(Name)填入字段值的定义。需要区分大小写。
|
|
2010
|
+
<li>当字段类型为 ReqHeader、RspHeader、Cookie 时,填入需要提取值的参数名称,例如:Accept-Language。可输入 1-100 个字符,允许的字符开头为字母,中间为字母、数字、-,结尾为字母、数字;</li>
|
|
2011
|
+
<li>当字段类型为 ReqBody 时,填入 Google RE2 正则表达式,正则表达式长度上限为 4KB。</li>
|
|
2009
2012
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2010
2013
|
*/
|
|
2011
2014
|
Value: string;
|
|
@@ -3859,7 +3862,7 @@ export interface ModifyRealtimeLogDeliveryTaskRequest {
|
|
|
3859
3862
|
*/
|
|
3860
3863
|
Fields?: Array<string>;
|
|
3861
3864
|
/**
|
|
3862
|
-
* 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie
|
|
3865
|
+
* 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。不填保持原有配置。自定义字段名称不能重复,且最多不能超过 200 个字段。单个实时日志推送任务最多添加 5 个请求正文类型的自定义字段。目前仅站点加速日志(LogType=domain)支持添加自定义字段。
|
|
3863
3866
|
*/
|
|
3864
3867
|
CustomFields?: Array<CustomField>;
|
|
3865
3868
|
/**
|
|
@@ -525,7 +525,7 @@ export interface OpenPolicyInfo {
|
|
|
525
525
|
*/
|
|
526
526
|
Name?: string;
|
|
527
527
|
/**
|
|
528
|
-
*
|
|
528
|
+
* 策略模板类型
|
|
529
529
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
530
530
|
*/
|
|
531
531
|
Kind?: string;
|
|
@@ -10403,7 +10403,7 @@ export interface OpenPolicySwitch {
|
|
|
10403
10403
|
*/
|
|
10404
10404
|
Name: string;
|
|
10405
10405
|
/**
|
|
10406
|
-
*
|
|
10406
|
+
* 策略模板类型
|
|
10407
10407
|
*/
|
|
10408
10408
|
Kind: string;
|
|
10409
10409
|
/**
|
|
@@ -308,9 +308,9 @@ it("cls.v20201016.CreateShipper", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
-
it("cls.v20201016.
|
|
311
|
+
it("cls.v20201016.CreateNoticeContent", async function () {
|
|
312
312
|
try {
|
|
313
|
-
const data = await client.
|
|
313
|
+
const data = await client.CreateNoticeContent({})
|
|
314
314
|
expect(data).to.be.ok
|
|
315
315
|
} catch(error) {
|
|
316
316
|
expect(error.requestId).to.be.ok
|
|
@@ -588,6 +588,16 @@ it("cls.v20201016.CreateDashboardSubscribe", async function () {
|
|
|
588
588
|
}
|
|
589
589
|
})
|
|
590
590
|
|
|
591
|
+
it("cls.v20201016.ModifyNoticeContent", async function () {
|
|
592
|
+
try {
|
|
593
|
+
const data = await client.ModifyNoticeContent({})
|
|
594
|
+
expect(data).to.be.ok
|
|
595
|
+
} catch(error) {
|
|
596
|
+
expect(error.requestId).to.be.ok
|
|
597
|
+
expect(error.code).to.be.ok
|
|
598
|
+
}
|
|
599
|
+
})
|
|
600
|
+
|
|
591
601
|
it("cls.v20201016.SearchCosRechargeInfo", async function () {
|
|
592
602
|
try {
|
|
593
603
|
const data = await client.SearchCosRechargeInfo({})
|
|
@@ -648,6 +658,16 @@ it("cls.v20201016.AddMachineGroupInfo", async function () {
|
|
|
648
658
|
}
|
|
649
659
|
})
|
|
650
660
|
|
|
661
|
+
it("cls.v20201016.DeleteNoticeContent", async function () {
|
|
662
|
+
try {
|
|
663
|
+
const data = await client.DeleteNoticeContent({})
|
|
664
|
+
expect(data).to.be.ok
|
|
665
|
+
} catch(error) {
|
|
666
|
+
expect(error.requestId).to.be.ok
|
|
667
|
+
expect(error.code).to.be.ok
|
|
668
|
+
}
|
|
669
|
+
})
|
|
670
|
+
|
|
651
671
|
it("cls.v20201016.DescribeDataTransformInfo", async function () {
|
|
652
672
|
try {
|
|
653
673
|
const data = await client.DescribeDataTransformInfo({})
|
|
@@ -948,6 +968,16 @@ it("cls.v20201016.ModifyLogset", async function () {
|
|
|
948
968
|
}
|
|
949
969
|
})
|
|
950
970
|
|
|
971
|
+
it("cls.v20201016.ModifyConsumer", async function () {
|
|
972
|
+
try {
|
|
973
|
+
const data = await client.ModifyConsumer({})
|
|
974
|
+
expect(data).to.be.ok
|
|
975
|
+
} catch(error) {
|
|
976
|
+
expect(error.requestId).to.be.ok
|
|
977
|
+
expect(error.code).to.be.ok
|
|
978
|
+
}
|
|
979
|
+
})
|
|
980
|
+
|
|
951
981
|
it("cls.v20201016.ModifyDataTransform", async function () {
|
|
952
982
|
try {
|
|
953
983
|
const data = await client.ModifyDataTransform({})
|
|
@@ -988,6 +1018,16 @@ it("cls.v20201016.DescribeConsumer", async function () {
|
|
|
988
1018
|
}
|
|
989
1019
|
})
|
|
990
1020
|
|
|
1021
|
+
it("cls.v20201016.DescribeNoticeContents", async function () {
|
|
1022
|
+
try {
|
|
1023
|
+
const data = await client.DescribeNoticeContents({})
|
|
1024
|
+
expect(data).to.be.ok
|
|
1025
|
+
} catch(error) {
|
|
1026
|
+
expect(error.requestId).to.be.ok
|
|
1027
|
+
expect(error.code).to.be.ok
|
|
1028
|
+
}
|
|
1029
|
+
})
|
|
1030
|
+
|
|
991
1031
|
it("cls.v20201016.DescribeMachines", async function () {
|
|
992
1032
|
try {
|
|
993
1033
|
const data = await client.DescribeMachines({})
|
|
@@ -28,9 +28,9 @@ it("dc.v20180410.ModifyDirectConnectTunnelExtra", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("dc.v20180410.
|
|
31
|
+
it("dc.v20180410.DescribeInternetAddressStatistics", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeInternetAddressStatistics({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("dc.v20180410.DisableInternetAddress", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("dc.v20180410.
|
|
41
|
+
it("dc.v20180410.DeleteDirectConnect", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DeleteDirectConnect({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("dc.v20180410.DescribePublicDirectConnectTunnelRoutes", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("dc.v20180410.
|
|
51
|
+
it("dc.v20180410.DeleteDirectConnectTunnel", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DeleteDirectConnectTunnel({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("dc.v20180410.DescribeAccessPoints", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("dc.v20180410.
|
|
61
|
+
it("dc.v20180410.CreateDirectConnect", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.CreateDirectConnect({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,9 @@ it("dc.v20180410.ModifyDirectConnectAttribute", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("dc.v20180410.
|
|
71
|
+
it("dc.v20180410.DescribeDirectConnects", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeDirectConnects({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("dc.v20180410.CreateDirectConnectTunnel", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("dc.v20180410.
|
|
81
|
+
it("dc.v20180410.EnableInternetAddress", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.EnableInternetAddress({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +88,9 @@ it("dc.v20180410.DescribeDirectConnectTunnelExtra", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("dc.v20180410.
|
|
91
|
+
it("dc.v20180410.ModifyDirectConnectAttribute", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.ModifyDirectConnectAttribute({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("dc.v20180410.DeleteDirectConnect", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("dc.v20180410.
|
|
101
|
+
it("dc.v20180410.DescribeDirectConnectTunnelExtra", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.DescribeDirectConnectTunnelExtra({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +108,9 @@ it("dc.v20180410.AcceptDirectConnectTunnel", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
-
it("dc.v20180410.
|
|
111
|
+
it("dc.v20180410.DisableInternetAddress", async function () {
|
|
112
112
|
try {
|
|
113
|
-
const data = await client.
|
|
113
|
+
const data = await client.DisableInternetAddress({})
|
|
114
114
|
expect(data).to.be.ok
|
|
115
115
|
} catch(error) {
|
|
116
116
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +118,9 @@ it("dc.v20180410.DescribeInternetAddressStatistics", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("dc.v20180410.
|
|
121
|
+
it("dc.v20180410.DescribePublicDirectConnectTunnelRoutes", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribePublicDirectConnectTunnelRoutes({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +128,9 @@ it("dc.v20180410.DeleteDirectConnectTunnel", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("dc.v20180410.
|
|
131
|
+
it("dc.v20180410.CreateDirectConnectTunnel", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.CreateDirectConnectTunnel({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +138,9 @@ it("dc.v20180410.ApplyInternetAddress", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
-
it("dc.v20180410.
|
|
141
|
+
it("dc.v20180410.RejectDirectConnectTunnel", async function () {
|
|
142
142
|
try {
|
|
143
|
-
const data = await client.
|
|
143
|
+
const data = await client.RejectDirectConnectTunnel({})
|
|
144
144
|
expect(data).to.be.ok
|
|
145
145
|
} catch(error) {
|
|
146
146
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("dc.v20180410.EnableInternetAddress", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("dc.v20180410.
|
|
151
|
+
it("dc.v20180410.ApplyInternetAddress", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.ApplyInternetAddress({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +158,9 @@ it("dc.v20180410.DescribeInternetAddressQuota", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("dc.v20180410.
|
|
161
|
+
it("dc.v20180410.DescribeInternetAddressQuota", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeInternetAddressQuota({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("dc.v20180410.DescribeDirectConnectTunnels", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("dc.v20180410.
|
|
181
|
+
it("dc.v20180410.DescribeAccessPoints", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeAccessPoints({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +188,9 @@ it("dc.v20180410.CreateDirectConnect", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("dc.v20180410.
|
|
191
|
+
it("dc.v20180410.CreateCloudAttachService", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.CreateCloudAttachService({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +198,9 @@ it("dc.v20180410.RejectDirectConnectTunnel", async function () {
|
|
|
198
198
|
}
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
-
it("dc.v20180410.
|
|
201
|
+
it("dc.v20180410.ModifyDirectConnectTunnelAttribute", async function () {
|
|
202
202
|
try {
|
|
203
|
-
const data = await client.
|
|
203
|
+
const data = await client.ModifyDirectConnectTunnelAttribute({})
|
|
204
204
|
expect(data).to.be.ok
|
|
205
205
|
} catch(error) {
|
|
206
206
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +208,9 @@ it("dc.v20180410.DescribeDirectConnects", async function () {
|
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
210
|
|
|
211
|
-
it("dc.v20180410.
|
|
211
|
+
it("dc.v20180410.AcceptDirectConnectTunnel", async function () {
|
|
212
212
|
try {
|
|
213
|
-
const data = await client.
|
|
213
|
+
const data = await client.AcceptDirectConnectTunnel({})
|
|
214
214
|
expect(data).to.be.ok
|
|
215
215
|
} catch(error) {
|
|
216
216
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +218,19 @@ it("dc.v20180410.ReleaseInternetAddress", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("dc.v20180410.
|
|
221
|
+
it("dc.v20180410.DescribeInternetAddress", async function () {
|
|
222
222
|
try {
|
|
223
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeInternetAddress({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("dc.v20180410.ReleaseInternetAddress", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ReleaseInternetAddress({})
|
|
224
234
|
expect(data).to.be.ok
|
|
225
235
|
} catch(error) {
|
|
226
236
|
expect(error.requestId).to.be.ok
|