tencentcloud-sdk-nodejs 4.0.222 → 4.0.223

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +274 -73
  2. package/package.json +1 -1
  3. package/products.md +15 -15
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/as/v20180419/as_client.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +5 -0
  7. package/src/services/cbs/v20170312/cbs_models.ts +35 -35
  8. package/src/services/cfw/v20190904/cfw_models.ts +1 -1
  9. package/src/services/cls/v20201016/cls_models.ts +17 -0
  10. package/src/services/cwp/v20180228/cwp_client.ts +0 -14
  11. package/src/services/cwp/v20180228/cwp_models.ts +0 -20
  12. package/src/services/cynosdb/v20190107/cynosdb_client.ts +20 -7
  13. package/src/services/cynosdb/v20190107/cynosdb_models.ts +74 -4
  14. package/src/services/ecm/v20190719/ecm_client.ts +28 -3
  15. package/src/services/ecm/v20190719/ecm_models.ts +173 -55
  16. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +24 -0
  17. package/src/services/mps/v20190612/mps_models.ts +1 -2
  18. package/src/services/rce/v20201103/rce_client.ts +1 -0
  19. package/src/services/rce/v20201103/rce_models.ts +26 -1
  20. package/src/services/sms/v20210111/sms_models.ts +2 -2
  21. package/src/services/tse/v20201207/tse_client.ts +1 -0
  22. package/src/services/tse/v20201207/tse_models.ts +21 -0
  23. package/src/services/tsf/v20180326/tsf_models.ts +1 -1
  24. package/src/services/vpc/v20170312/vpc_models.ts +5 -5
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -1
  28. package/tencentcloud/services/as/v20180419/as_client.js +1 -1
  29. package/tencentcloud/services/as/v20180419/as_models.d.ts +4 -0
  30. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +34 -34
  31. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
  32. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -0
  33. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -7
  34. package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -8
  35. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +0 -18
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -3
  37. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +9 -3
  38. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +64 -4
  39. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +9 -1
  40. package/tencentcloud/services/ecm/v20190719/ecm_client.js +12 -0
  41. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +149 -46
  42. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +20 -0
  43. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1 -2
  44. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +22 -1
  45. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +2 -2
  46. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +18 -0
  47. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
  48. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +5 -5
  49. package/test/cwp.v20180228.test.js +0 -10
  50. package/test/cynosdb.v20190107.test.js +12 -2
  51. package/test/ecm.v20190719.test.js +20 -0
@@ -457,6 +457,26 @@ export interface DescribeListenersResponse {
457
457
  */
458
458
  RequestId?: string;
459
459
  }
460
+ /**
461
+ * 目标和权重的描述信息
462
+ */
463
+ export interface TargetsWeightRule {
464
+ /**
465
+ * 负载均衡监听器 ID
466
+ 注意:此字段可能返回 null,表示取不到有效值。
467
+ */
468
+ ListenerId?: string;
469
+ /**
470
+ * 要修改权重的后端机器列表
471
+ 注意:此字段可能返回 null,表示取不到有效值。
472
+ */
473
+ Targets?: Array<Target>;
474
+ /**
475
+ * 后端服务新的转发权重,取值范围:0~100。
476
+ 注意:此字段可能返回 null,表示取不到有效值。
477
+ */
478
+ Weight?: number;
479
+ }
460
480
  /**
461
481
  * StartInstances返回参数结构体
462
482
  */
@@ -736,34 +756,17 @@ export interface ImageTask {
736
756
  CreateTime: string;
737
757
  }
738
758
  /**
739
- * ModifyListener请求参数结构体
759
+ * 云镜服务;
740
760
  */
741
- export interface ModifyListenerRequest {
742
- /**
743
- * 负载均衡实例 ID
744
- */
745
- LoadBalancerId: string;
746
- /**
747
- * 负载均衡监听器 ID
748
- */
749
- ListenerId: string;
750
- /**
751
- * 新的监听器名称
752
- */
753
- ListenerName?: string;
754
- /**
755
- * 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。
756
- */
757
- SessionExpireTime?: number;
761
+ export interface RunSecurityServiceEnabled {
758
762
  /**
759
- * 健康检查相关参数
763
+ * 是否开启。
760
764
  */
761
- HealthCheck?: HealthCheck;
765
+ Enabled?: boolean;
762
766
  /**
763
- * 监听器转发的方式。可选值:WRR、LEAST_CONN
764
- 分别表示按权重轮询、最小连接数, 默认为 WRR。
767
+ * 云镜版本:0 基础版,1 专业版。目前仅支持基础版
765
768
  */
766
- Scheduler?: string;
769
+ Version?: number;
767
770
  }
768
771
  /**
769
772
  * CreateImage请求参数结构体
@@ -1464,6 +1467,51 @@ DELETING:删除中
1464
1467
  */
1465
1468
  EcmRegion: string;
1466
1469
  }
1470
+ /**
1471
+ * 描述密钥对信息
1472
+ */
1473
+ export interface KeyPair {
1474
+ /**
1475
+ * 密钥对的ID,是密钥对的唯一标识。
1476
+ 注意:此字段可能返回 null,表示取不到有效值。
1477
+ */
1478
+ KeyId: string;
1479
+ /**
1480
+ * 密钥对名称。
1481
+ 注意:此字段可能返回 null,表示取不到有效值。
1482
+ */
1483
+ KeyName: string;
1484
+ /**
1485
+ * 密钥对所属的项目ID。
1486
+ 注意:此字段可能返回 null,表示取不到有效值。
1487
+ */
1488
+ ProjectId: number;
1489
+ /**
1490
+ * 密钥对描述信息。
1491
+ 注意:此字段可能返回 null,表示取不到有效值。
1492
+ */
1493
+ Description: string;
1494
+ /**
1495
+ * 密钥对的纯文本公钥。
1496
+ 注意:此字段可能返回 null,表示取不到有效值。
1497
+ */
1498
+ PublicKey: string;
1499
+ /**
1500
+ * 钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。
1501
+ 注意:此字段可能返回 null,表示取不到有效值。
1502
+ */
1503
+ PrivateKey: string;
1504
+ /**
1505
+ * 钥关联的实例ID列表。
1506
+ 注意:此字段可能返回 null,表示取不到有效值。
1507
+ */
1508
+ AssociatedInstanceIds: Array<string>;
1509
+ /**
1510
+ * 创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。
1511
+ 注意:此字段可能返回 null,表示取不到有效值。
1512
+ */
1513
+ CreatedTime: string;
1514
+ }
1467
1515
  /**
1468
1516
  * DescribeVpcs返回参数结构体
1469
1517
  */
@@ -2486,6 +2534,33 @@ export interface DescribeSecurityGroupLimitsResponse {
2486
2534
  */
2487
2535
  RequestId?: string;
2488
2536
  }
2537
+ /**
2538
+ * DisassociateInstancesKeyPairs请求参数结构体
2539
+ */
2540
+ export interface DisassociateInstancesKeyPairsRequest {
2541
+ /**
2542
+ * 可以通过以下方式获取可用的实例ID:
2543
+ 通过登录控制台查询实例ID。
2544
+ 通过调用接口 DescribeInstances ,取返回信息中的 InstanceId 获取实例ID。
2545
+ */
2546
+ InstanceIds: Array<string>;
2547
+ /**
2548
+ * 密钥对ID列表,每次请求批量密钥对的上限为100。密钥对ID形如:skey-11112222。
2549
+
2550
+ 可以通过以下方式获取可用的密钥ID:
2551
+ 通过登录控制台查询密钥ID。
2552
+ 通过调用接口 DescribeKeyPairs ,取返回信息中的 KeyId 获取密钥对ID。
2553
+ */
2554
+ KeyIds: Array<string>;
2555
+ /**
2556
+ * 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再解绑密钥。取值范围:
2557
+ TRUE:表示在正常关机失败后进行强制关机。
2558
+ FALSE:表示在正常关机失败后不进行强制关机。
2559
+
2560
+ 默认取值:FALSE。
2561
+ */
2562
+ ForceStop?: boolean;
2563
+ }
2489
2564
  /**
2490
2565
  * 路由表关联关系
2491
2566
  */
@@ -2760,6 +2835,19 @@ export interface ReplaceSecurityGroupPolicyRequest {
2760
2835
  */
2761
2836
  SecurityGroupPolicySet: SecurityGroupPolicySet;
2762
2837
  }
2838
+ /**
2839
+ * CreateKeyPair返回参数结构体
2840
+ */
2841
+ export interface CreateKeyPairResponse {
2842
+ /**
2843
+ * 密钥对信息。
2844
+ */
2845
+ KeyPair: KeyPair;
2846
+ /**
2847
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2848
+ */
2849
+ RequestId?: string;
2850
+ }
2763
2851
  /**
2764
2852
  * DeleteModule返回参数结构体
2765
2853
  */
@@ -2804,6 +2892,15 @@ export interface ModifyModuleNetworkResponse {
2804
2892
  * DescribeImportImageOs请求参数结构体
2805
2893
  */
2806
2894
  export declare type DescribeImportImageOsRequest = null;
2895
+ /**
2896
+ * CreateKeyPair请求参数结构体
2897
+ */
2898
+ export interface CreateKeyPairRequest {
2899
+ /**
2900
+ * 密钥对名称,可由数字,字母和下划线组成,长度不超过25个字符。
2901
+ */
2902
+ KeyName: string;
2903
+ }
2807
2904
  /**
2808
2905
  * ModifyModuleIpDirect返回参数结构体
2809
2906
  */
@@ -4983,19 +5080,6 @@ export interface PublicIPAddressInfo {
4983
5080
  */
4984
5081
  MaxBandwidthIn: number;
4985
5082
  }
4986
- /**
4987
- * 云镜服务;
4988
- */
4989
- export interface RunSecurityServiceEnabled {
4990
- /**
4991
- * 是否开启。
4992
- */
4993
- Enabled?: boolean;
4994
- /**
4995
- * 云镜版本:0 基础版,1 专业版。目前仅支持基础版
4996
- */
4997
- Version?: number;
4998
- }
4999
5083
  /**
5000
5084
  * ModifyModuleImage返回参数结构体
5001
5085
  */
@@ -5691,24 +5775,34 @@ export interface CreateNetworkInterfaceResponse {
5691
5775
  RequestId?: string;
5692
5776
  }
5693
5777
  /**
5694
- * 目标和权重的描述信息
5778
+ * ModifyListener请求参数结构体
5695
5779
  */
5696
- export interface TargetsWeightRule {
5780
+ export interface ModifyListenerRequest {
5781
+ /**
5782
+ * 负载均衡实例 ID
5783
+ */
5784
+ LoadBalancerId: string;
5697
5785
  /**
5698
5786
  * 负载均衡监听器 ID
5699
- 注意:此字段可能返回 null,表示取不到有效值。
5700
5787
  */
5701
- ListenerId?: string;
5788
+ ListenerId: string;
5702
5789
  /**
5703
- * 要修改权重的后端机器列表
5704
- 注意:此字段可能返回 null,表示取不到有效值。
5790
+ * 新的监听器名称
5705
5791
  */
5706
- Targets?: Array<Target>;
5792
+ ListenerName?: string;
5707
5793
  /**
5708
- * 后端服务新的转发权重,取值范围:0~100。
5709
- 注意:此字段可能返回 null,表示取不到有效值。
5794
+ * 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。
5710
5795
  */
5711
- Weight?: number;
5796
+ SessionExpireTime?: number;
5797
+ /**
5798
+ * 健康检查相关参数
5799
+ */
5800
+ HealthCheck?: HealthCheck;
5801
+ /**
5802
+ * 监听器转发的方式。可选值:WRR、LEAST_CONN
5803
+ 分别表示按权重轮询、最小连接数, 默认为 WRR。
5804
+ */
5805
+ Scheduler?: string;
5712
5806
  }
5713
5807
  /**
5714
5808
  * DescribeDisks返回参数结构体
@@ -6562,6 +6656,15 @@ export interface PrivateIPAddressInfo {
6562
6656
  */
6563
6657
  PrivateIPAddress: string;
6564
6658
  }
6659
+ /**
6660
+ * DisassociateInstancesKeyPairs返回参数结构体
6661
+ */
6662
+ export interface DisassociateInstancesKeyPairsResponse {
6663
+ /**
6664
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6665
+ */
6666
+ RequestId?: string;
6667
+ }
6565
6668
  /**
6566
6669
  * TerminateInstances请求参数结构体
6567
6670
  */
@@ -3202,6 +3202,26 @@ export interface DeviceInfo {
3202
3202
  注意:此字段可能返回 null,表示取不到有效值。
3203
3203
  */
3204
3204
  CreatorNickName: string;
3205
+ /**
3206
+ * 启用/禁用状态
3207
+ 注意:此字段可能返回 null,表示取不到有效值。
3208
+ */
3209
+ EnableState: number;
3210
+ /**
3211
+ * 产品ID
3212
+ 注意:此字段可能返回 null,表示取不到有效值。
3213
+ */
3214
+ ProductId: string;
3215
+ /**
3216
+ * 产品名称
3217
+ 注意:此字段可能返回 null,表示取不到有效值。
3218
+ */
3219
+ ProductName: string;
3220
+ /**
3221
+ * 设备类型(设备、子设备、网关)
3222
+ 注意:此字段可能返回 null,表示取不到有效值。
3223
+ */
3224
+ DeviceType: string;
3205
3225
  }
3206
3226
  /**
3207
3227
  * ModifyLoRaFrequency返回参数结构体
@@ -2713,7 +2713,6 @@ export interface VideoTemplateInfo {
2713
2713
  <li>libx264:H.264 编码</li>
2714
2714
  <li>libx265:H.265 编码</li>
2715
2715
  <li>av1:AOMedia Video 1 编码</li>
2716
- 目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。av1 编码容器目前只支持 mp4 。
2717
2716
  */
2718
2717
  Codec: string;
2719
2718
  /**
@@ -2722,7 +2721,7 @@ export interface VideoTemplateInfo {
2722
2721
  */
2723
2722
  Fps: number;
2724
2723
  /**
2725
- * 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。
2724
+ * 视频流的码率,取值范围:0 和 [75, 35000],单位:kbps。
2726
2725
  当取值为 0,表示视频码率和原始视频保持一致。
2727
2726
  */
2728
2727
  Bitrate: number;
@@ -48,7 +48,11 @@ export interface ManageMarketingRiskRequest {
48
48
  /**
49
49
  * 业务入参
50
50
  */
51
- BusinessSecurityData: InputManageMarketingRisk;
51
+ BusinessSecurityData?: InputManageMarketingRisk;
52
+ /**
53
+ * 业务入参
54
+ */
55
+ BusinessCryptoData?: InputCryptoManageMarketingRisk;
52
56
  }
53
57
  /**
54
58
  * 全栈式风控引擎出参
@@ -268,6 +272,23 @@ export interface DescribeRiskModelRequest {
268
272
  */
269
273
  BusinessSecurityData: InputDescribeRiskModelData;
270
274
  }
275
+ /**
276
+ * 全栈式风控引擎入参
277
+ */
278
+ export interface InputCryptoManageMarketingRisk {
279
+ /**
280
+ * 是否授权
281
+ */
282
+ IsAuthorized?: string;
283
+ /**
284
+ * 加密类型
285
+ */
286
+ CryptoType?: string;
287
+ /**
288
+ * 加密内容
289
+ */
290
+ CryptoContent?: string;
291
+ }
271
292
  /**
272
293
  * 网赚防刷相关参数
273
294
  */
@@ -494,11 +494,11 @@ export interface SendSmsRequest {
494
494
  */
495
495
  SmsSdkAppId: string;
496
496
  /**
497
- * 模板 ID,必须填写已审核通过的模板 ID。模板 ID 可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
497
+ * 模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-template) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-template) 的正文模板管理查看,若向境外手机号发送短信,仅支持使用国际/港澳台短信模板。
498
498
  */
499
499
  TemplateId: string;
500
500
  /**
501
- * 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可登录 [短信控制台](https://console.cloud.tencent.com/smsv2) 查看。
501
+ * 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名,例如:腾讯云,签名信息可前往 [国内短信](https://console.cloud.tencent.com/smsv2/csms-sign) 或 [国际/港澳台短信](https://console.cloud.tencent.com/smsv2/isms-sign) 的签名管理查看。
502
502
  <dx-alert infotype="notice" title="注意">发送国内短信该参数必填。</dx-alert>
503
503
  */
504
504
  SignName?: string;
@@ -115,6 +115,11 @@ export interface SREInstance {
115
115
  注意:此字段可能返回 null,表示取不到有效值。
116
116
  */
117
117
  ServiceGovernanceInfos: Array<ServiceGovernanceInfo>;
118
+ /**
119
+ * 实例的标签信息
120
+ 注意:此字段可能返回 null,表示取不到有效值。
121
+ */
122
+ Tags: Array<KVPair>;
118
123
  }
119
124
  /**
120
125
  * DescribeSREInstanceAccessAddress返回参数结构体
@@ -154,6 +159,19 @@ export interface DescribeSREInstancesResponse {
154
159
  */
155
160
  RequestId?: string;
156
161
  }
162
+ /**
163
+ * 键值对
164
+ */
165
+ export interface KVPair {
166
+ /**
167
+ * 键
168
+ */
169
+ Key: string;
170
+ /**
171
+ * 值
172
+ */
173
+ Value: string;
174
+ }
157
175
  /**
158
176
  * 环境具体信息
159
177
  */
@@ -1918,7 +1918,7 @@ export interface CreateLaneResponse {
1918
1918
  */
1919
1919
  export interface TcrRepoInfo {
1920
1920
  /**
1921
- * 地域
1921
+ * 地域(填数字)
1922
1922
  注意:此字段可能返回 null,表示取不到有效值。
1923
1923
  */
1924
1924
  Region?: string;
@@ -9269,11 +9269,11 @@ export interface CreateLocalGatewayResponse {
9269
9269
  */
9270
9270
  export interface ServicesInfo {
9271
9271
  /**
9272
- * 协议端口
9272
+ * 协议端口。
9273
9273
  */
9274
9274
  Service: string;
9275
9275
  /**
9276
- * 备注
9276
+ * 备注。
9277
9277
  注意:此字段可能返回 null,表示取不到有效值。
9278
9278
  */
9279
9279
  Description?: string;
@@ -10060,7 +10060,7 @@ export interface DisassociateAddressResponse {
10060
10060
  /**
10061
10061
  * 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
10062
10062
  */
10063
- TaskId?: string;
10063
+ TaskId: string;
10064
10064
  /**
10065
10065
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10066
10066
  */
@@ -11179,11 +11179,11 @@ export interface AcceptAttachCcnInstancesResponse {
11179
11179
  */
11180
11180
  export interface AddressInfo {
11181
11181
  /**
11182
- * ip地址
11182
+ * ip地址。
11183
11183
  */
11184
11184
  Address: string;
11185
11185
  /**
11186
- * 备注
11186
+ * 备注。
11187
11187
  注意:此字段可能返回 null,表示取不到有效值。
11188
11188
  */
11189
11189
  Description?: string;
@@ -748,16 +748,6 @@ it("cwp.v20180228.ExportPrivilegeEvents", async function () {
748
748
  }
749
749
  })
750
750
 
751
- it("cwp.v20180228.RescanImpactedHost", async function () {
752
- try {
753
- const data = await client.RescanImpactedHost({})
754
- expect(data).to.be.ok
755
- } catch(error) {
756
- expect(error.requestId).to.be.ok
757
- expect(error.code).to.be.ok
758
- }
759
- })
760
-
761
751
  it("cwp.v20180228.ExportProtectDirList", async function () {
762
752
  try {
763
753
  const data = await client.ExportProtectDirList({})
@@ -158,6 +158,16 @@ it("cynosdb.v20190107.DescribeProjectSecurityGroups", async function () {
158
158
  }
159
159
  })
160
160
 
161
+ it("cynosdb.v20190107.SetRenewFlag", async function () {
162
+ try {
163
+ const data = await client.SetRenewFlag({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
161
171
  it("cynosdb.v20190107.DescribeClusterDetail", async function () {
162
172
  try {
163
173
  const data = await client.DescribeClusterDetail({})
@@ -218,9 +228,9 @@ it("cynosdb.v20190107.DescribeResourcesByDealName", async function () {
218
228
  }
219
229
  })
220
230
 
221
- it("cynosdb.v20190107.SetRenewFlag", async function () {
231
+ it("cynosdb.v20190107.ModifyClusterParam", async function () {
222
232
  try {
223
- const data = await client.SetRenewFlag({})
233
+ const data = await client.ModifyClusterParam({})
224
234
  expect(data).to.be.ok
225
235
  } catch(error) {
226
236
  expect(error.requestId).to.be.ok
@@ -418,6 +418,16 @@ it("ecm.v20190719.ModifyListener", async function () {
418
418
  }
419
419
  })
420
420
 
421
+ it("ecm.v20190719.DisassociateInstancesKeyPairs", async function () {
422
+ try {
423
+ const data = await client.DisassociateInstancesKeyPairs({})
424
+ expect(data).to.be.ok
425
+ } catch(error) {
426
+ expect(error.requestId).to.be.ok
427
+ expect(error.code).to.be.ok
428
+ }
429
+ })
430
+
421
431
  it("ecm.v20190719.AssociateAddress", async function () {
422
432
  try {
423
433
  const data = await client.AssociateAddress({})
@@ -658,6 +668,16 @@ it("ecm.v20190719.DeleteSecurityGroupPolicies", async function () {
658
668
  }
659
669
  })
660
670
 
671
+ it("ecm.v20190719.CreateKeyPair", async function () {
672
+ try {
673
+ const data = await client.CreateKeyPair({})
674
+ expect(data).to.be.ok
675
+ } catch(error) {
676
+ expect(error.requestId).to.be.ok
677
+ expect(error.code).to.be.ok
678
+ }
679
+ })
680
+
661
681
  it("ecm.v20190719.ModifyModuleConfig", async function () {
662
682
  try {
663
683
  const data = await client.ModifyModuleConfig({})