tencentcloud-sdk-nodejs 4.0.702 → 4.0.704

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 (149) hide show
  1. package/CHANGELOG.md +523 -0
  2. package/SERVICE_CHANGELOG.md +896 -865
  3. package/package.json +1 -1
  4. package/products.md +29 -29
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/apigateway/v20180808/apigateway_models.ts +13 -0
  8. package/src/services/ccc/v20200210/ccc_models.ts +35 -4
  9. package/src/services/cdwpg/v20201230/cdwpg_client.ts +38 -1
  10. package/src/services/cdwpg/v20201230/cdwpg_models.ts +229 -4
  11. package/src/services/cvm/v20170312/cvm_client.ts +2 -2
  12. package/src/services/cvm/v20170312/cvm_models.ts +6 -6
  13. package/src/services/cwp/v20180228/cwp_models.ts +66 -39
  14. package/src/services/dasb/v20191018/dasb_client.ts +31 -7
  15. package/src/services/dasb/v20191018/dasb_models.ts +116 -8
  16. package/src/services/dbbrain/index.ts +2 -2
  17. package/src/services/dlc/v20210125/dlc_client.ts +9 -8
  18. package/src/services/dlc/v20210125/dlc_models.ts +167 -38
  19. package/src/services/es/v20180416/es_models.ts +8 -4
  20. package/src/services/ess/v20201111/ess_client.ts +3 -1
  21. package/src/services/ess/v20201111/ess_models.ts +39 -10
  22. package/src/services/essbasic/index.ts +2 -2
  23. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -0
  24. package/src/services/essbasic/v20210526/essbasic_models.ts +213 -11
  25. package/src/services/goosefs/v20220519/goosefs_models.ts +6 -6
  26. package/src/services/iai/index.ts +2 -2
  27. package/src/services/ims/index.ts +2 -2
  28. package/src/services/iotcloud/index.ts +2 -2
  29. package/src/services/iotvideo/index.ts +2 -2
  30. package/src/services/iss/v20230517/iss_client.ts +15 -1
  31. package/src/services/iss/v20230517/iss_models.ts +69 -18
  32. package/src/services/lcic/v20220817/lcic_client.ts +16 -3
  33. package/src/services/lcic/v20220817/lcic_models.ts +135 -67
  34. package/src/services/lighthouse/v20200324/lighthouse_models.ts +11 -2
  35. package/src/services/live/v20180801/live_models.ts +1 -1
  36. package/src/services/mgobe/index.ts +2 -2
  37. package/src/services/mongodb/index.ts +2 -2
  38. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  39. package/src/services/monitor/v20180724/monitor_models.ts +25 -21
  40. package/src/services/mps/v20190612/mps_client.ts +3 -0
  41. package/src/services/mps/v20190612/mps_models.ts +62 -6
  42. package/src/services/oceanus/v20190422/oceanus_client.ts +3 -1
  43. package/src/services/oceanus/v20190422/oceanus_models.ts +108 -26
  44. package/src/services/organization/index.ts +2 -2
  45. package/src/services/sms/index.ts +2 -2
  46. package/src/services/sms/v20190711/sms_client.ts +0 -2
  47. package/src/services/sms/v20190711/sms_models.ts +2 -2
  48. package/src/services/tat/v20201028/tat_client.ts +26 -1
  49. package/src/services/tat/v20201028/tat_models.ts +69 -4
  50. package/src/services/tbp/index.ts +2 -2
  51. package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
  52. package/src/services/tem/index.ts +2 -2
  53. package/src/services/teo/v20220901/teo_models.ts +97 -67
  54. package/src/services/thpc/index.ts +2 -2
  55. package/src/services/tione/index.ts +2 -2
  56. package/src/services/tms/index.ts +2 -2
  57. package/src/services/tsf/v20180326/tsf_models.ts +2 -2
  58. package/src/services/vm/index.ts +2 -2
  59. package/src/services/vpc/v20170312/vpc_models.ts +1 -1
  60. package/src/services/waf/v20180125/waf_client.ts +28 -3
  61. package/src/services/waf/v20180125/waf_models.ts +146 -18
  62. package/tencentcloud/common/sdk_version.d.ts +1 -1
  63. package/tencentcloud/common/sdk_version.js +1 -1
  64. package/tencentcloud/services/ams/index.d.ts +4 -4
  65. package/tencentcloud/services/ams/index.js +2 -2
  66. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +13 -0
  67. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +35 -4
  68. package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +13 -1
  69. package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.js +18 -0
  70. package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +222 -4
  71. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +2 -2
  72. package/tencentcloud/services/cvm/v20170312/cvm_client.js +2 -2
  73. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -6
  74. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +66 -39
  75. package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +11 -3
  76. package/tencentcloud/services/dasb/v20191018/dasb_client.js +15 -3
  77. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +112 -8
  78. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  79. package/tencentcloud/services/dbbrain/index.js +2 -2
  80. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +7 -7
  81. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +166 -38
  82. package/tencentcloud/services/es/v20180416/es_models.d.ts +8 -4
  83. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -1
  84. package/tencentcloud/services/ess/v20201111/ess_client.js +2 -1
  85. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +38 -10
  86. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  87. package/tencentcloud/services/essbasic/index.js +2 -2
  88. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +212 -11
  89. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +6 -6
  90. package/tencentcloud/services/iai/index.d.ts +4 -4
  91. package/tencentcloud/services/iai/index.js +2 -2
  92. package/tencentcloud/services/ims/index.d.ts +4 -4
  93. package/tencentcloud/services/ims/index.js +2 -2
  94. package/tencentcloud/services/iotcloud/index.d.ts +4 -4
  95. package/tencentcloud/services/iotcloud/index.js +2 -2
  96. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  97. package/tencentcloud/services/iotvideo/index.js +2 -2
  98. package/tencentcloud/services/iss/v20230517/iss_client.d.ts +5 -1
  99. package/tencentcloud/services/iss/v20230517/iss_client.js +6 -0
  100. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +65 -18
  101. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
  102. package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
  103. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +131 -66
  104. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +11 -2
  105. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  106. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  107. package/tencentcloud/services/mgobe/index.js +2 -2
  108. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  109. package/tencentcloud/services/mongodb/index.js +2 -2
  110. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  111. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  112. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +25 -21
  113. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +59 -6
  114. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +106 -26
  115. package/tencentcloud/services/organization/index.d.ts +4 -4
  116. package/tencentcloud/services/organization/index.js +2 -2
  117. package/tencentcloud/services/sms/index.d.ts +4 -4
  118. package/tencentcloud/services/sms/index.js +2 -2
  119. package/tencentcloud/services/sms/v20190711/sms_client.d.ts +0 -2
  120. package/tencentcloud/services/sms/v20190711/sms_client.js +0 -2
  121. package/tencentcloud/services/sms/v20190711/sms_models.d.ts +2 -2
  122. package/tencentcloud/services/tat/v20201028/tat_client.d.ts +9 -1
  123. package/tencentcloud/services/tat/v20201028/tat_client.js +12 -0
  124. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +64 -4
  125. package/tencentcloud/services/tbp/index.d.ts +4 -4
  126. package/tencentcloud/services/tbp/index.js +2 -2
  127. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
  128. package/tencentcloud/services/tem/index.d.ts +4 -4
  129. package/tencentcloud/services/tem/index.js +2 -2
  130. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +97 -67
  131. package/tencentcloud/services/thpc/index.d.ts +4 -4
  132. package/tencentcloud/services/thpc/index.js +2 -2
  133. package/tencentcloud/services/tione/index.d.ts +4 -4
  134. package/tencentcloud/services/tione/index.js +2 -2
  135. package/tencentcloud/services/tms/index.d.ts +4 -4
  136. package/tencentcloud/services/tms/index.js +2 -2
  137. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +2 -2
  138. package/tencentcloud/services/vm/index.d.ts +4 -4
  139. package/tencentcloud/services/vm/index.js +2 -2
  140. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
  141. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -1
  142. package/tencentcloud/services/waf/v20180125/waf_client.js +12 -0
  143. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +141 -18
  144. package/test/cdwpg.v20201230.test.js +30 -0
  145. package/test/dasb.v20191018.test.js +22 -2
  146. package/test/iss.v20230517.test.js +10 -0
  147. package/test/lcic.v20220817.test.js +10 -0
  148. package/test/tat.v20201028.test.js +20 -0
  149. package/test/waf.v20180125.test.js +20 -0
@@ -693,6 +693,56 @@ export interface CreateJobResponse {
693
693
  */
694
694
  RequestId?: string;
695
695
  }
696
+ /**
697
+ * SqlGateway配置信息
698
+ */
699
+ export interface SqlGatewayItem {
700
+ /**
701
+ * 唯一标识
702
+ 注意:此字段可能返回 null,表示取不到有效值。
703
+ */
704
+ SerialId?: string;
705
+ /**
706
+ * Flink内核版本
707
+ 注意:此字段可能返回 null,表示取不到有效值。
708
+ */
709
+ FlinkVersion?: string;
710
+ /**
711
+ * 状态,1.停止 2. 开启中 3. 开启 4. 开启失败 5. 停止中
712
+ 注意:此字段可能返回 null,表示取不到有效值。
713
+ */
714
+ Status?: number;
715
+ /**
716
+ * 创建人
717
+ 注意:此字段可能返回 null,表示取不到有效值。
718
+ */
719
+ CreatorUin?: string;
720
+ /**
721
+ * 引用资源
722
+ 注意:此字段可能返回 null,表示取不到有效值。
723
+ */
724
+ ResourceRefs?: Array<GatewayRefItem>;
725
+ /**
726
+ * Cu规格
727
+ 注意:此字段可能返回 null,表示取不到有效值。
728
+ */
729
+ CuSpec?: number;
730
+ /**
731
+ * 创建时间
732
+ 注意:此字段可能返回 null,表示取不到有效值。
733
+ */
734
+ CreateTime?: string;
735
+ /**
736
+ * 更新时间
737
+ 注意:此字段可能返回 null,表示取不到有效值。
738
+ */
739
+ UpdateTime?: string;
740
+ /**
741
+ * 配置参数
742
+ 注意:此字段可能返回 null,表示取不到有效值。
743
+ */
744
+ Properties?: Array<Property>;
745
+ }
696
746
  /**
697
747
  * 作业运行图
698
748
  */
@@ -903,42 +953,29 @@ export interface DescribeWorkSpacesResponse {
903
953
  RequestId?: string;
904
954
  }
905
955
  /**
906
- * 空间和集群绑定关系
956
+ * Gateway引用资源信息
907
957
  */
908
- export interface WorkSpaceClusterItem {
909
- /**
910
- * 集群 ID
911
- */
912
- ClusterGroupId: number;
913
- /**
914
- * 集群 SerialId
915
- */
916
- ClusterGroupSerialId: string;
917
- /**
918
- * 集群名称
919
- */
920
- ClusterName: string;
921
- /**
922
- * 工作空间 SerialId
923
- */
924
- WorkSpaceId: string;
958
+ export interface GatewayRefItem {
925
959
  /**
926
- * 工作空间名称
960
+ * 空间唯一标识
961
+ 注意:此字段可能返回 null,表示取不到有效值。
927
962
  */
928
- WorkSpaceName: string;
963
+ WorkspaceId: string;
929
964
  /**
930
- * 绑定状态 2 绑定 1 解除绑定
965
+ * 资源唯一标识
966
+ 注意:此字段可能返回 null,表示取不到有效值。
931
967
  */
932
- Status: number;
968
+ ResourceId: string;
933
969
  /**
934
- * 项目ID
970
+ * 版本号
971
+ 注意:此字段可能返回 null,表示取不到有效值。
935
972
  */
936
- ProjectId: number;
973
+ Version: number;
937
974
  /**
938
- * 项目ID string类型
975
+ * 引用类型,0:用户资源
939
976
  注意:此字段可能返回 null,表示取不到有效值。
940
977
  */
941
- ProjectIdStr: string;
978
+ Type: number;
942
979
  }
943
980
  /**
944
981
  * CreateResource返回参数结构体
@@ -1141,6 +1178,44 @@ export interface ClazzLevel {
1141
1178
  */
1142
1179
  Level: string;
1143
1180
  }
1181
+ /**
1182
+ * 空间和集群绑定关系
1183
+ */
1184
+ export interface WorkSpaceClusterItem {
1185
+ /**
1186
+ * 集群 ID
1187
+ */
1188
+ ClusterGroupId: number;
1189
+ /**
1190
+ * 集群 SerialId
1191
+ */
1192
+ ClusterGroupSerialId: string;
1193
+ /**
1194
+ * 集群名称
1195
+ */
1196
+ ClusterName: string;
1197
+ /**
1198
+ * 工作空间 SerialId
1199
+ */
1200
+ WorkSpaceId: string;
1201
+ /**
1202
+ * 工作空间名称
1203
+ */
1204
+ WorkSpaceName: string;
1205
+ /**
1206
+ * 绑定状态 2 绑定 1 解除绑定
1207
+ */
1208
+ Status: number;
1209
+ /**
1210
+ * 项目ID
1211
+ */
1212
+ ProjectId: number;
1213
+ /**
1214
+ * 项目ID string类型
1215
+ 注意:此字段可能返回 null,表示取不到有效值。
1216
+ */
1217
+ ProjectIdStr: string;
1218
+ }
1144
1219
  /**
1145
1220
  * CheckSavepoint请求参数结构体
1146
1221
  */
@@ -1952,6 +2027,11 @@ export interface Cluster {
1952
2027
  注意:此字段可能返回 null,表示取不到有效值。
1953
2028
  */
1954
2029
  Orders?: Array<Order>;
2030
+ /**
2031
+ * Gateway信息
2032
+ 注意:此字段可能返回 null,表示取不到有效值。
2033
+ */
2034
+ SqlGateways?: Array<SqlGatewayItem>;
1955
2035
  }
1956
2036
  /**
1957
2037
  * DescribeJobSubmissionLog请求参数结构体
@@ -1,10 +1,10 @@
1
1
  export declare const organization: {
2
- v20181225: {
3
- Client: typeof import("./v20181225/organization_client").Client;
4
- Models: typeof import("./v20181225/organization_models");
5
- };
6
2
  v20210331: {
7
3
  Client: typeof import("./v20210331/organization_client").Client;
8
4
  Models: typeof import("./v20210331/organization_models");
9
5
  };
6
+ v20181225: {
7
+ Client: typeof import("./v20181225/organization_client").Client;
8
+ Models: typeof import("./v20181225/organization_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.organization = void 0;
4
- const v20181225_1 = require("./v20181225");
5
4
  const v20210331_1 = require("./v20210331");
5
+ const v20181225_1 = require("./v20181225");
6
6
  exports.organization = {
7
- v20181225: v20181225_1.v20181225,
8
7
  v20210331: v20210331_1.v20210331,
8
+ v20181225: v20181225_1.v20181225,
9
9
  };
@@ -1,10 +1,10 @@
1
1
  export declare const sms: {
2
- v20190711: {
3
- Client: typeof import("./v20190711/sms_client").Client;
4
- Models: typeof import("./v20190711/sms_models");
5
- };
6
2
  v20210111: {
7
3
  Client: typeof import("./v20210111/sms_client").Client;
8
4
  Models: typeof import("./v20210111/sms_models");
9
5
  };
6
+ v20190711: {
7
+ Client: typeof import("./v20190711/sms_client").Client;
8
+ Models: typeof import("./v20190711/sms_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sms = void 0;
4
- const v20190711_1 = require("./v20190711");
5
4
  const v20210111_1 = require("./v20210111");
5
+ const v20190711_1 = require("./v20190711");
6
6
  exports.sms = {
7
- v20190711: v20190711_1.v20190711,
8
7
  v20210111: v20210111_1.v20210111,
8
+ v20190711: v20190711_1.v20190711,
9
9
  };
@@ -28,7 +28,6 @@ export declare class Client extends AbstractClient {
28
28
  >- 注:此接口需要联系 [sms helper](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
29
29
  >- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
30
30
  >- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
31
-
32
31
  */
33
32
  PullSmsSendStatus(req: PullSmsSendStatusRequest, cb?: (error: string, rep: PullSmsSendStatusResponse) => void): Promise<PullSmsSendStatusResponse>;
34
33
  /**
@@ -86,7 +85,6 @@ export declare class Client extends AbstractClient {
86
85
  目前也支持 [配置回调](https://cloud.tencent.com/document/product/382/37809#.E8.AE.BE.E7.BD.AE.E4.BA.8B.E4.BB.B6.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE) 的方式来获取下发状态。
87
86
  >- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
88
87
  >- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
89
-
90
88
  */
91
89
  PullSmsSendStatusByPhoneNumber(req: PullSmsSendStatusByPhoneNumberRequest, cb?: (error: string, rep: PullSmsSendStatusByPhoneNumberResponse) => void): Promise<PullSmsSendStatusByPhoneNumberResponse>;
92
90
  /**
@@ -52,7 +52,6 @@ class Client extends abstract_client_1.AbstractClient {
52
52
  >- 注:此接口需要联系 [sms helper](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
53
53
  >- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
54
54
  >- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
55
-
56
55
  */
57
56
  async PullSmsSendStatus(req, cb) {
58
57
  return this.request("PullSmsSendStatus", req, cb);
@@ -128,7 +127,6 @@ class Client extends abstract_client_1.AbstractClient {
128
127
  目前也支持 [配置回调](https://cloud.tencent.com/document/product/382/37809#.E8.AE.BE.E7.BD.AE.E4.BA.8B.E4.BB.B6.E5.9B.9E.E8.B0.83.E9.85.8D.E7.BD.AE) 的方式来获取下发状态。
129
128
  >- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
130
129
  >- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
131
-
132
130
  */
133
131
  async PullSmsSendStatusByPhoneNumber(req, cb) {
134
132
  return this.request("PullSmsSendStatusByPhoneNumber", req, cb);
@@ -385,7 +385,7 @@ export interface PullSmsSendStatusByPhoneNumberResponse {
385
385
  /**
386
386
  * 下发状态响应集合。
387
387
  */
388
- PullSmsSendStatusSet: Array<PullSmsSendStatus>;
388
+ PullSmsSendStatusSet?: Array<PullSmsSendStatus>;
389
389
  /**
390
390
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
391
391
  */
@@ -934,7 +934,7 @@ export interface PullSmsSendStatusResponse {
934
934
  /**
935
935
  * 下发状态响应集合。
936
936
  */
937
- PullSmsSendStatusSet: Array<PullSmsSendStatus>;
937
+ PullSmsSendStatusSet?: Array<PullSmsSendStatus>;
938
938
  /**
939
939
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
940
940
  */
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { CreateRegisterCodeResponse, PreviewReplacedCommandContentResponse, CreateCommandResponse, DisableInvokerRequest, DisableRegisterCodesRequest, DescribeRegisterInstancesRequest, DeleteRegisterCodesRequest, RunCommandRequest, InvokeCommandRequest, DescribeInvocationTasksRequest, DeleteRegisterInstanceResponse, DescribeRegionsRequest, DescribeInvokerRecordsResponse, ModifyInvokerRequest, EnableInvokerResponse, EnableInvokerRequest, DescribeRegisterInstancesResponse, ModifyCommandResponse, DescribeInvokersResponse, CancelInvocationResponse, DeleteRegisterInstanceRequest, DeleteCommandResponse, DisableInvokerResponse, DescribeCommandsResponse, CreateRegisterCodeRequest, CreateInvokerRequest, DescribeAutomationAgentStatusRequest, InvokeCommandResponse, ModifyCommandRequest, DescribeInvokersRequest, DescribeCommandsRequest, DeleteInvokerResponse, DescribeInvocationsRequest, DescribeInvocationsResponse, DescribeInvocationTasksResponse, PreviewReplacedCommandContentRequest, ModifyInvokerResponse, ModifyRegisterInstanceResponse, DescribeRegisterCodesResponse, DescribeAutomationAgentStatusResponse, CreateInvokerResponse, CancelInvocationRequest, DescribeRegisterCodesRequest, DeleteCommandRequest, DeleteInvokerRequest, DeleteRegisterCodesResponse, DescribeInvokerRecordsRequest, ModifyRegisterInstanceRequest, RunCommandResponse, DisableRegisterCodesResponse, DescribeRegionsResponse, CreateCommandRequest } from "./tat_models";
3
+ import { CreateRegisterCodeResponse, PreviewReplacedCommandContentResponse, CreateCommandResponse, DisableInvokerRequest, DisableRegisterCodesRequest, DescribeRegisterInstancesRequest, DeleteRegisterCodesRequest, RunCommandRequest, InvokeCommandRequest, DescribeInvocationTasksRequest, DeleteRegisterInstanceResponse, DescribeRegionsRequest, DescribeInvokerRecordsResponse, ModifyInvokerRequest, DeleteCommandsRequest, EnableInvokerResponse, DescribeQuotasRequest, EnableInvokerRequest, DescribeRegisterInstancesResponse, ModifyCommandResponse, DescribeInvokersResponse, CancelInvocationResponse, DeleteRegisterInstanceRequest, DeleteCommandResponse, DisableInvokerResponse, DescribeCommandsResponse, CreateRegisterCodeRequest, CreateInvokerRequest, DescribeAutomationAgentStatusRequest, InvokeCommandResponse, ModifyCommandRequest, DescribeInvokersRequest, DescribeCommandsRequest, DeleteInvokerResponse, DescribeInvocationsRequest, DescribeInvocationsResponse, DescribeInvocationTasksResponse, PreviewReplacedCommandContentRequest, ModifyInvokerResponse, ModifyRegisterInstanceResponse, DescribeRegisterCodesResponse, DescribeAutomationAgentStatusResponse, CreateInvokerResponse, CancelInvocationRequest, DescribeRegisterCodesRequest, DeleteCommandRequest, DeleteCommandsResponse, DeleteRegisterCodesResponse, DescribeInvokerRecordsRequest, DeleteInvokerRequest, ModifyRegisterInstanceRequest, RunCommandResponse, DisableRegisterCodesResponse, DescribeQuotasResponse, DescribeRegionsResponse, CreateCommandRequest } from "./tat_models";
4
4
  /**
5
5
  * tat client
6
6
  * @class
@@ -77,6 +77,10 @@ export declare class Client extends AbstractClient {
77
77
  * 不可同时指定 CVM 和 Lighthouse
78
78
  */
79
79
  InvokeCommand(req: InvokeCommandRequest, cb?: (error: string, rep: InvokeCommandResponse) => void): Promise<InvokeCommandResponse>;
80
+ /**
81
+ * 批量删除命令接口
82
+ */
83
+ DeleteCommands(req: DeleteCommandsRequest, cb?: (error: string, rep: DeleteCommandsResponse) => void): Promise<DeleteCommandsResponse>;
80
84
  /**
81
85
  * 接口用于查询被托管的实例信息。
82
86
  */
@@ -102,6 +106,10 @@ RegionState 为 AVAILABLE,代表该地域的 TAT 后台服务已经可用;
102
106
  * 此接口用于查询自动化助手客户端的状态。
103
107
  */
104
108
  DescribeAutomationAgentStatus(req: DescribeAutomationAgentStatusRequest, cb?: (error: string, rep: DescribeAutomationAgentStatusResponse) => void): Promise<DescribeAutomationAgentStatusResponse>;
109
+ /**
110
+ * 此接口用于获取配额信息
111
+ */
112
+ DescribeQuotas(req: DescribeQuotasRequest, cb?: (error: string, rep: DescribeQuotasResponse) => void): Promise<DescribeQuotasResponse>;
105
113
  /**
106
114
  * 此接口用于批量禁用注册码。
107
115
  */
@@ -127,6 +127,12 @@ class Client extends abstract_client_1.AbstractClient {
127
127
  async InvokeCommand(req, cb) {
128
128
  return this.request("InvokeCommand", req, cb);
129
129
  }
130
+ /**
131
+ * 批量删除命令接口
132
+ */
133
+ async DeleteCommands(req, cb) {
134
+ return this.request("DeleteCommands", req, cb);
135
+ }
130
136
  /**
131
137
  * 接口用于查询被托管的实例信息。
132
138
  */
@@ -164,6 +170,12 @@ RegionState 为 AVAILABLE,代表该地域的 TAT 后台服务已经可用;
164
170
  async DescribeAutomationAgentStatus(req, cb) {
165
171
  return this.request("DescribeAutomationAgentStatus", req, cb);
166
172
  }
173
+ /**
174
+ * 此接口用于获取配额信息
175
+ */
176
+ async DescribeQuotas(req, cb) {
177
+ return this.request("DescribeQuotas", req, cb);
178
+ }
167
179
  /**
168
180
  * 此接口用于批量禁用注册码。
169
181
  */
@@ -310,6 +310,26 @@ export interface Invocation {
310
310
  */
311
311
  OutputCOSKeyPrefix: string;
312
312
  }
313
+ /**
314
+ * GeneralResourceQuotaSet数据结构
315
+ */
316
+ export interface GeneralResourceQuotaSet {
317
+ /**
318
+ * 资源名称
319
+ 注意:此字段可能返回 null,表示取不到有效值。
320
+ */
321
+ ResourceName?: string;
322
+ /**
323
+ * 已使用额度
324
+ 注意:此字段可能返回 null,表示取不到有效值。
325
+ */
326
+ ResourceQuotaUsed?: number;
327
+ /**
328
+ * 总额度
329
+ 注意:此字段可能返回 null,表示取不到有效值。
330
+ */
331
+ ResourceQuotaTotal?: number;
332
+ }
313
333
  /**
314
334
  * RunCommand请求参数结构体
315
335
  */
@@ -636,6 +656,15 @@ export interface InvocationTaskBasicInfo {
636
656
  */
637
657
  InstanceId: string;
638
658
  }
659
+ /**
660
+ * DeleteCommands请求参数结构体
661
+ */
662
+ export interface DeleteCommandsRequest {
663
+ /**
664
+ * 待删除命令id
665
+ */
666
+ CommandIds: Array<string>;
667
+ }
639
668
  /**
640
669
  * EnableInvoker返回参数结构体
641
670
  */
@@ -645,6 +674,15 @@ export interface EnableInvokerResponse {
645
674
  */
646
675
  RequestId?: string;
647
676
  }
677
+ /**
678
+ * DescribeQuotas请求参数结构体
679
+ */
680
+ export interface DescribeQuotasRequest {
681
+ /**
682
+ * 资源名称,目前有"COMMAND","REGISTER_CODE" 这两个指标
683
+ */
684
+ ResourceNames: Array<string>;
685
+ }
648
686
  /**
649
687
  * EnableInvoker请求参数结构体
650
688
  */
@@ -1396,13 +1434,13 @@ export interface DeleteCommandRequest {
1396
1434
  CommandId: string;
1397
1435
  }
1398
1436
  /**
1399
- * DeleteInvoker请求参数结构体
1437
+ * DeleteCommands返回参数结构体
1400
1438
  */
1401
- export interface DeleteInvokerRequest {
1439
+ export interface DeleteCommandsResponse {
1402
1440
  /**
1403
- * 待删除的执行器ID。
1441
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
1404
1442
  */
1405
- InvokerId: string;
1443
+ RequestId?: string;
1406
1444
  }
1407
1445
  /**
1408
1446
  * DeleteRegisterCodes返回参数结构体
@@ -1430,6 +1468,15 @@ export interface DescribeInvokerRecordsRequest {
1430
1468
  */
1431
1469
  Offset?: number;
1432
1470
  }
1471
+ /**
1472
+ * DeleteInvoker请求参数结构体
1473
+ */
1474
+ export interface DeleteInvokerRequest {
1475
+ /**
1476
+ * 待删除的执行器ID。
1477
+ */
1478
+ InvokerId: string;
1479
+ }
1433
1480
  /**
1434
1481
  * ModifyRegisterInstance请求参数结构体
1435
1482
  */
@@ -1482,6 +1529,19 @@ export interface DisableRegisterCodesResponse {
1482
1529
  */
1483
1530
  RequestId?: string;
1484
1531
  }
1532
+ /**
1533
+ * DescribeQuotas返回参数结构体
1534
+ */
1535
+ export interface DescribeQuotasResponse {
1536
+ /**
1537
+ * 资源额度列表
1538
+ */
1539
+ GeneralResourceQuotaSet?: Array<GeneralResourceQuotaSet>;
1540
+ /**
1541
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1542
+ */
1543
+ RequestId?: string;
1544
+ }
1485
1545
  /**
1486
1546
  * 注册码信息。
1487
1547
  */
@@ -1,10 +1,10 @@
1
1
  export declare const tbp: {
2
- v20190311: {
3
- Client: typeof import("./v20190311/tbp_client").Client;
4
- Models: typeof import("./v20190311/tbp_models");
5
- };
6
2
  v20190627: {
7
3
  Client: typeof import("./v20190627/tbp_client").Client;
8
4
  Models: typeof import("./v20190627/tbp_models");
9
5
  };
6
+ v20190311: {
7
+ Client: typeof import("./v20190311/tbp_client").Client;
8
+ Models: typeof import("./v20190311/tbp_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tbp = void 0;
4
- const v20190311_1 = require("./v20190311");
5
4
  const v20190627_1 = require("./v20190627");
5
+ const v20190311_1 = require("./v20190311");
6
6
  exports.tbp = {
7
- v20190311: v20190311_1.v20190311,
8
7
  v20190627: v20190627_1.v20190627,
8
+ v20190311: v20190311_1.v20190311,
9
9
  };
@@ -2981,7 +2981,7 @@ export interface CreateTopicRequest {
2981
2981
  */
2982
2982
  TopicName: string;
2983
2983
  /**
2984
- * 入参为1,即是创建非分区topic,无分区;入参大于1,表示分区topic的分区数,最大不允许超过128
2984
+ * 入参为1,即是创建非分区topic,无分区;入参大于1,表示分区topic的分区数,最大不允许超过32
2985
2985
  */
2986
2986
  Partitions: number;
2987
2987
  /**
@@ -1,10 +1,10 @@
1
1
  export declare const tem: {
2
- v20201221: {
3
- Client: typeof import("./v20201221/tem_client").Client;
4
- Models: typeof import("./v20201221/tem_models");
5
- };
6
2
  v20210701: {
7
3
  Client: typeof import("./v20210701/tem_client").Client;
8
4
  Models: typeof import("./v20210701/tem_models");
9
5
  };
6
+ v20201221: {
7
+ Client: typeof import("./v20201221/tem_client").Client;
8
+ Models: typeof import("./v20201221/tem_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tem = void 0;
4
- const v20201221_1 = require("./v20201221");
5
4
  const v20210701_1 = require("./v20210701");
5
+ const v20201221_1 = require("./v20201221");
6
6
  exports.tem = {
7
- v20201221: v20201221_1.v20201221,
8
7
  v20210701: v20210701_1.v20210701,
8
+ v20201221: v20201221_1.v20201221,
9
9
  };