tencentcloud-sdk-nodejs 4.0.296 → 4.0.297
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 +96 -0
- package/SERVICE_CHANGELOG.md +130 -54
- package/package.json +1 -1
- package/products.md +8 -7
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_models.ts +10 -2
- package/src/services/antiddos/v20200309/antiddos_models.ts +6 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +1 -1
- package/src/services/cam/v20190116/cam_models.ts +1 -1
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +43 -7
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +109 -64
- package/src/services/cls/v20201016/cls_models.ts +6 -5
- package/src/services/ess/index.ts +5 -0
- package/src/services/ess/v20201111/ess_client.ts +148 -0
- package/src/services/ess/v20201111/ess_models.ts +857 -0
- package/src/services/ess/v20201111/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/vpc/v20170312/vpc_models.ts +3 -2
- 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 +9 -2
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +5 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +1 -1
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +15 -3
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +21 -3
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +91 -52
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -3
- package/tencentcloud/services/ess/index.d.ts +6 -0
- package/tencentcloud/services/ess/index.js +7 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +46 -0
- package/tencentcloud/services/ess/v20201111/ess_client.js +85 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +707 -0
- package/tencentcloud/services/ess/v20201111/ess_models.js +18 -0
- package/tencentcloud/services/ess/v20201111/index.d.ts +6 -0
- package/tencentcloud/services/ess/v20201111/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -0
- package/test/cloudaudit.v20190319.test.js +32 -2
- package/test/ess.v20201111.test.js +111 -0
package/src/services/index.ts
CHANGED
|
@@ -72,6 +72,7 @@ export { eiam } from "./eiam"
|
|
|
72
72
|
export { eis } from "./eis"
|
|
73
73
|
export { emr } from "./emr"
|
|
74
74
|
export { es } from "./es"
|
|
75
|
+
export { ess } from "./ess"
|
|
75
76
|
export { essbasic } from "./essbasic"
|
|
76
77
|
export { facefusion } from "./facefusion"
|
|
77
78
|
export { faceid } from "./faceid"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.297";
|
|
@@ -1176,14 +1176,21 @@ export interface SetPlaylistCommandInput {
|
|
|
1176
1176
|
* 变更类型,取值有:
|
|
1177
1177
|
<li>Add:添加</li>
|
|
1178
1178
|
<li>Delete:删除</li>
|
|
1179
|
+
<li>ClearList:清空歌曲列表</li>
|
|
1180
|
+
<li>Move:移动歌曲</li>
|
|
1179
1181
|
*/
|
|
1180
1182
|
Type: string;
|
|
1181
1183
|
/**
|
|
1182
1184
|
* 歌单索引位置,
|
|
1183
1185
|
当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;
|
|
1184
|
-
当 Type 取 Delete
|
|
1186
|
+
当 Type 取 Delete 时,表示待删除歌曲的位置;
|
|
1187
|
+
当 Type 取 Move 时,表示待调整歌曲的位置。
|
|
1185
1188
|
*/
|
|
1186
|
-
Index
|
|
1189
|
+
Index?: number;
|
|
1190
|
+
/**
|
|
1191
|
+
* 当 Type 取 Move 时,必填,表示移动歌曲的目标位置。
|
|
1192
|
+
*/
|
|
1193
|
+
ChangedIndex?: number;
|
|
1187
1194
|
/**
|
|
1188
1195
|
* 歌曲 ID 列表,当 Type 取 Add 时,必填。
|
|
1189
1196
|
*/
|
|
@@ -2504,9 +2504,13 @@ export interface AssociateDDoSEipLoadBalancerRequest {
|
|
|
2504
2504
|
*/
|
|
2505
2505
|
LoadBalancerID: string;
|
|
2506
2506
|
/**
|
|
2507
|
-
*
|
|
2507
|
+
* CLB所在地域,例如:ap-hongkong。
|
|
2508
2508
|
*/
|
|
2509
2509
|
LoadBalancerRegion: string;
|
|
2510
|
+
/**
|
|
2511
|
+
* CLB内网IP
|
|
2512
|
+
*/
|
|
2513
|
+
Vip?: string;
|
|
2510
2514
|
}
|
|
2511
2515
|
/**
|
|
2512
2516
|
* DescribeListProtectThresholdConfig返回参数结构体
|
|
@@ -1,20 +1,32 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { InquireAuditCreditResponse, StopLoggingRequest, GetAttributeKeyRequest, DescribeAuditTracksResponse, DeleteAuditResponse,
|
|
3
|
+
import { InquireAuditCreditResponse, StopLoggingRequest, GetAttributeKeyRequest, DescribeAuditTracksResponse, DeleteAuditResponse, ModifyAuditTrackResponse, InquireAuditCreditRequest, DescribeEventsResponse, ListCosEnableRegionResponse, LookUpEventsRequest, StartLoggingRequest, UpdateAuditRequest, DescribeAuditTracksRequest, CreateAuditResponse, DeleteAuditTrackRequest, StartLoggingResponse, ListCosEnableRegionRequest, ListKeyAliasByRegionResponse, CreateAuditTrackResponse, ListAuditsRequest, ModifyAuditTrackRequest, StopLoggingResponse, CreateAuditTrackRequest, ListAuditsResponse, DescribeEventsRequest, UpdateAuditResponse, DescribeAuditRequest, ListKeyAliasByRegionRequest, CreateAuditRequest, DeleteAuditRequest, ListCmqEnableRegionRequest, GetAttributeKeyResponse, ListCmqEnableRegionResponse, LookUpEventsResponse, DeleteAuditTrackResponse, DescribeAuditResponse } from "./cloudaudit_models";
|
|
4
4
|
/**
|
|
5
5
|
* cloudaudit client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 修改云审计跟踪
|
|
12
|
+
*/
|
|
13
|
+
ModifyAuditTrack(req?: ModifyAuditTrackRequest, cb?: (error: string, rep: ModifyAuditTrackResponse) => void): Promise<ModifyAuditTrackResponse>;
|
|
10
14
|
/**
|
|
11
15
|
* 开启跟踪集
|
|
12
16
|
*/
|
|
13
17
|
StartLogging(req: StartLoggingRequest, cb?: (error: string, rep: StartLoggingResponse) => void): Promise<StartLoggingResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 查询云审计支持的cos可用区
|
|
20
|
+
*/
|
|
21
|
+
ListCosEnableRegion(req: ListCosEnableRegionRequest, cb?: (error: string, rep: ListCosEnableRegionResponse) => void): Promise<ListCosEnableRegionResponse>;
|
|
14
22
|
/**
|
|
15
23
|
* 查询AttributeKey的有效取值范围
|
|
16
24
|
*/
|
|
17
25
|
GetAttributeKey(req: GetAttributeKeyRequest, cb?: (error: string, rep: GetAttributeKeyResponse) => void): Promise<GetAttributeKeyResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 创建跟踪集
|
|
28
|
+
*/
|
|
29
|
+
CreateAuditTrack(req?: CreateAuditTrackRequest, cb?: (error: string, rep: CreateAuditTrackResponse) => void): Promise<CreateAuditTrackResponse>;
|
|
18
30
|
/**
|
|
19
31
|
* 查询云审计支持的cmq的可用区
|
|
20
32
|
*/
|
|
@@ -64,9 +76,9 @@ export declare class Client extends AbstractClient {
|
|
|
64
76
|
*/
|
|
65
77
|
CreateAudit(req: CreateAuditRequest, cb?: (error: string, rep: CreateAuditResponse) => void): Promise<CreateAuditResponse>;
|
|
66
78
|
/**
|
|
67
|
-
*
|
|
79
|
+
* 删除云审计跟踪集
|
|
68
80
|
*/
|
|
69
|
-
|
|
81
|
+
DeleteAuditTrack(req?: DeleteAuditTrackRequest, cb?: (error: string, rep: DeleteAuditTrackResponse) => void): Promise<DeleteAuditTrackResponse>;
|
|
70
82
|
/**
|
|
71
83
|
* 用于对操作日志进行检索,便于用户进行查询相关的操作信息。
|
|
72
84
|
*/
|
|
@@ -27,18 +27,36 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("cloudaudit.tencentcloudapi.com", "2019-03-19", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 修改云审计跟踪
|
|
32
|
+
*/
|
|
33
|
+
async ModifyAuditTrack(req, cb) {
|
|
34
|
+
return this.request("ModifyAuditTrack", req, cb);
|
|
35
|
+
}
|
|
30
36
|
/**
|
|
31
37
|
* 开启跟踪集
|
|
32
38
|
*/
|
|
33
39
|
async StartLogging(req, cb) {
|
|
34
40
|
return this.request("StartLogging", req, cb);
|
|
35
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 查询云审计支持的cos可用区
|
|
44
|
+
*/
|
|
45
|
+
async ListCosEnableRegion(req, cb) {
|
|
46
|
+
return this.request("ListCosEnableRegion", req, cb);
|
|
47
|
+
}
|
|
36
48
|
/**
|
|
37
49
|
* 查询AttributeKey的有效取值范围
|
|
38
50
|
*/
|
|
39
51
|
async GetAttributeKey(req, cb) {
|
|
40
52
|
return this.request("GetAttributeKey", req, cb);
|
|
41
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 创建跟踪集
|
|
56
|
+
*/
|
|
57
|
+
async CreateAuditTrack(req, cb) {
|
|
58
|
+
return this.request("CreateAuditTrack", req, cb);
|
|
59
|
+
}
|
|
42
60
|
/**
|
|
43
61
|
* 查询云审计支持的cmq的可用区
|
|
44
62
|
*/
|
|
@@ -108,10 +126,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
108
126
|
return this.request("CreateAudit", req, cb);
|
|
109
127
|
}
|
|
110
128
|
/**
|
|
111
|
-
*
|
|
129
|
+
* 删除云审计跟踪集
|
|
112
130
|
*/
|
|
113
|
-
async
|
|
114
|
-
return this.request("
|
|
131
|
+
async DeleteAuditTrack(req, cb) {
|
|
132
|
+
return this.request("DeleteAuditTrack", req, cb);
|
|
115
133
|
}
|
|
116
134
|
/**
|
|
117
135
|
* 用于对操作日志进行检索,便于用户进行查询相关的操作信息。
|
|
@@ -65,61 +65,13 @@ export interface DeleteAuditResponse {
|
|
|
65
65
|
RequestId?: string;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* ModifyAuditTrack返回参数结构体
|
|
69
69
|
*/
|
|
70
|
-
export interface
|
|
71
|
-
/**
|
|
72
|
-
* 跟踪集名称
|
|
73
|
-
*/
|
|
74
|
-
AuditName: string;
|
|
75
|
-
/**
|
|
76
|
-
* 是否开启cmq消息通知。1:是,0:否。目前仅支持cmq的队列服务。如果开启cmq消息通知服务,云审计会将您的日志内容实时投递到您指定地域的指定队列中。
|
|
77
|
-
*/
|
|
78
|
-
IsEnableCmqNotify?: number;
|
|
79
|
-
/**
|
|
80
|
-
* 管理事件的读写属性。1:只读,2:只写,3:全部。
|
|
81
|
-
*/
|
|
82
|
-
ReadWriteAttribute?: number;
|
|
83
|
-
/**
|
|
84
|
-
* CMK的全局唯一标识符,如果不是新创建的kms,该值是必填值。可以通过ListKeyAliasByRegion来获取。云审计不会校验KeyId的合法性,请您谨慎填写,避免给您的数据造成损失。
|
|
85
|
-
*/
|
|
86
|
-
KeyId?: string;
|
|
87
|
-
/**
|
|
88
|
-
* cos地域。目前支持的地域可以使用ListCosEnableRegion来获取。
|
|
89
|
-
*/
|
|
90
|
-
CosRegion?: string;
|
|
91
|
-
/**
|
|
92
|
-
* 队列名称。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。如果IsEnableCmqNotify值是1的话,此值属于必填字段。如果不是新创建的队列,云审计不会去校验该队列是否真的存在,请谨慎填写,避免日志通知不成功,导致您的数据丢失。
|
|
93
|
-
*/
|
|
94
|
-
CmqQueueName?: string;
|
|
95
|
-
/**
|
|
96
|
-
* 是否创建新的cos存储桶。1:是,0:否。
|
|
97
|
-
*/
|
|
98
|
-
IsCreateNewBucket?: number;
|
|
99
|
-
/**
|
|
100
|
-
* kms地域。目前支持的地域可以使用ListKmsEnableRegion来获取。必须要和cos的地域保持一致。
|
|
101
|
-
*/
|
|
102
|
-
KmsRegion?: string;
|
|
103
|
-
/**
|
|
104
|
-
* 是否开启kms加密。1:是,0:否。如果开启KMS加密,数据在投递到cos时,会将数据加密。
|
|
105
|
-
*/
|
|
106
|
-
IsEnableKmsEncry?: number;
|
|
107
|
-
/**
|
|
108
|
-
* cos的存储桶名称。仅支持小写英文字母和数字即[a-z,0-9]、中划线“-”及其组合。用户自定义的字符串支持1 - 40个字符。存储桶命名不能以“-”开头或结尾。如果不是新创建的存储桶,云审计不会去校验该存储桶是否真的存在,请谨慎填写,避免日志投递不成功,导致您的数据丢失。
|
|
109
|
-
*/
|
|
110
|
-
CosBucketName?: string;
|
|
111
|
-
/**
|
|
112
|
-
* 队列所在的地域。可以通过ListCmqEnableRegion获取支持的cmq地域。如果IsEnableCmqNotify值是1的话,此值属于必填字段。
|
|
113
|
-
*/
|
|
114
|
-
CmqRegion?: string;
|
|
115
|
-
/**
|
|
116
|
-
* 日志文件前缀。3-40个字符,只能包含 ASCII 编码字母 a-z,A-Z,数字 0-9。
|
|
117
|
-
*/
|
|
118
|
-
LogFilePrefix?: string;
|
|
70
|
+
export interface ModifyAuditTrackResponse {
|
|
119
71
|
/**
|
|
120
|
-
*
|
|
72
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
121
73
|
*/
|
|
122
|
-
|
|
74
|
+
RequestId?: string;
|
|
123
75
|
}
|
|
124
76
|
/**
|
|
125
77
|
* InquireAuditCredit请求参数结构体
|
|
@@ -203,6 +155,63 @@ export interface StartLoggingRequest {
|
|
|
203
155
|
*/
|
|
204
156
|
AuditName: string;
|
|
205
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* UpdateAudit请求参数结构体
|
|
160
|
+
*/
|
|
161
|
+
export interface UpdateAuditRequest {
|
|
162
|
+
/**
|
|
163
|
+
* 跟踪集名称
|
|
164
|
+
*/
|
|
165
|
+
AuditName: string;
|
|
166
|
+
/**
|
|
167
|
+
* 是否开启cmq消息通知。1:是,0:否。目前仅支持cmq的队列服务。如果开启cmq消息通知服务,云审计会将您的日志内容实时投递到您指定地域的指定队列中。
|
|
168
|
+
*/
|
|
169
|
+
IsEnableCmqNotify?: number;
|
|
170
|
+
/**
|
|
171
|
+
* 管理事件的读写属性。1:只读,2:只写,3:全部。
|
|
172
|
+
*/
|
|
173
|
+
ReadWriteAttribute?: number;
|
|
174
|
+
/**
|
|
175
|
+
* CMK的全局唯一标识符,如果不是新创建的kms,该值是必填值。可以通过ListKeyAliasByRegion来获取。云审计不会校验KeyId的合法性,请您谨慎填写,避免给您的数据造成损失。
|
|
176
|
+
*/
|
|
177
|
+
KeyId?: string;
|
|
178
|
+
/**
|
|
179
|
+
* cos地域。目前支持的地域可以使用ListCosEnableRegion来获取。
|
|
180
|
+
*/
|
|
181
|
+
CosRegion?: string;
|
|
182
|
+
/**
|
|
183
|
+
* 队列名称。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。如果IsEnableCmqNotify值是1的话,此值属于必填字段。如果不是新创建的队列,云审计不会去校验该队列是否真的存在,请谨慎填写,避免日志通知不成功,导致您的数据丢失。
|
|
184
|
+
*/
|
|
185
|
+
CmqQueueName?: string;
|
|
186
|
+
/**
|
|
187
|
+
* 是否创建新的cos存储桶。1:是,0:否。
|
|
188
|
+
*/
|
|
189
|
+
IsCreateNewBucket?: number;
|
|
190
|
+
/**
|
|
191
|
+
* kms地域。目前支持的地域可以使用ListKmsEnableRegion来获取。必须要和cos的地域保持一致。
|
|
192
|
+
*/
|
|
193
|
+
KmsRegion?: string;
|
|
194
|
+
/**
|
|
195
|
+
* 是否开启kms加密。1:是,0:否。如果开启KMS加密,数据在投递到cos时,会将数据加密。
|
|
196
|
+
*/
|
|
197
|
+
IsEnableKmsEncry?: number;
|
|
198
|
+
/**
|
|
199
|
+
* cos的存储桶名称。仅支持小写英文字母和数字即[a-z,0-9]、中划线“-”及其组合。用户自定义的字符串支持1 - 40个字符。存储桶命名不能以“-”开头或结尾。如果不是新创建的存储桶,云审计不会去校验该存储桶是否真的存在,请谨慎填写,避免日志投递不成功,导致您的数据丢失。
|
|
200
|
+
*/
|
|
201
|
+
CosBucketName?: string;
|
|
202
|
+
/**
|
|
203
|
+
* 队列所在的地域。可以通过ListCmqEnableRegion获取支持的cmq地域。如果IsEnableCmqNotify值是1的话,此值属于必填字段。
|
|
204
|
+
*/
|
|
205
|
+
CmqRegion?: string;
|
|
206
|
+
/**
|
|
207
|
+
* 日志文件前缀。3-40个字符,只能包含 ASCII 编码字母 a-z,A-Z,数字 0-9。
|
|
208
|
+
*/
|
|
209
|
+
LogFilePrefix?: string;
|
|
210
|
+
/**
|
|
211
|
+
* 是否创建新的队列。1:是,0:否。如果IsEnableCmqNotify值是1的话,此值属于必填字段。
|
|
212
|
+
*/
|
|
213
|
+
IsCreateNewQueue?: number;
|
|
214
|
+
}
|
|
206
215
|
/**
|
|
207
216
|
* DescribeAuditTracks请求参数结构体
|
|
208
217
|
*/
|
|
@@ -220,6 +229,10 @@ export interface CreateAuditResponse {
|
|
|
220
229
|
*/
|
|
221
230
|
RequestId?: string;
|
|
222
231
|
}
|
|
232
|
+
/**
|
|
233
|
+
* DeleteAuditTrack请求参数结构体
|
|
234
|
+
*/
|
|
235
|
+
export declare type DeleteAuditTrackRequest = null;
|
|
223
236
|
/**
|
|
224
237
|
* StartLogging返回参数结构体
|
|
225
238
|
*/
|
|
@@ -284,6 +297,15 @@ export interface ListKeyAliasByRegionResponse {
|
|
|
284
297
|
*/
|
|
285
298
|
RequestId?: string;
|
|
286
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* CreateAuditTrack返回参数结构体
|
|
302
|
+
*/
|
|
303
|
+
export interface CreateAuditTrackResponse {
|
|
304
|
+
/**
|
|
305
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
306
|
+
*/
|
|
307
|
+
RequestId?: string;
|
|
308
|
+
}
|
|
287
309
|
/**
|
|
288
310
|
* 资源类型
|
|
289
311
|
*/
|
|
@@ -302,6 +324,10 @@ export interface Resource {
|
|
|
302
324
|
* ListAudits请求参数结构体
|
|
303
325
|
*/
|
|
304
326
|
export declare type ListAuditsRequest = null;
|
|
327
|
+
/**
|
|
328
|
+
* ModifyAuditTrack请求参数结构体
|
|
329
|
+
*/
|
|
330
|
+
export declare type ModifyAuditTrackRequest = null;
|
|
305
331
|
/**
|
|
306
332
|
* StopLogging返回参数结构体
|
|
307
333
|
*/
|
|
@@ -315,6 +341,10 @@ export interface StopLoggingResponse {
|
|
|
315
341
|
*/
|
|
316
342
|
RequestId?: string;
|
|
317
343
|
}
|
|
344
|
+
/**
|
|
345
|
+
* CreateAuditTrack请求参数结构体
|
|
346
|
+
*/
|
|
347
|
+
export declare type CreateAuditTrackRequest = null;
|
|
318
348
|
/**
|
|
319
349
|
* 检索条件
|
|
320
350
|
*/
|
|
@@ -550,6 +580,15 @@ export interface LookUpEventsResponse {
|
|
|
550
580
|
*/
|
|
551
581
|
RequestId?: string;
|
|
552
582
|
}
|
|
583
|
+
/**
|
|
584
|
+
* DeleteAuditTrack返回参数结构体
|
|
585
|
+
*/
|
|
586
|
+
export interface DeleteAuditTrackResponse {
|
|
587
|
+
/**
|
|
588
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
589
|
+
*/
|
|
590
|
+
RequestId?: string;
|
|
591
|
+
}
|
|
553
592
|
/**
|
|
554
593
|
* cos地域信息
|
|
555
594
|
*/
|
|
@@ -2815,18 +2815,19 @@ export interface SearchLogRequest {
|
|
|
2815
2815
|
To: number;
|
|
2816
2816
|
/**
|
|
2817
2817
|
* 查询语句,语句长度最大为12KB
|
|
2818
|
+
查询语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code>|</code>及SQL语句
|
|
2818
2819
|
*/
|
|
2819
2820
|
Query: string;
|
|
2820
2821
|
/**
|
|
2821
2822
|
* 仅当查询语句(Query)不包含SQL时有效
|
|
2822
|
-
表示单次查询返回的原始日志条数,最大值为1000
|
|
2823
|
+
表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数
|
|
2823
2824
|
SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
2824
2825
|
*/
|
|
2825
2826
|
Limit?: number;
|
|
2826
2827
|
/**
|
|
2827
2828
|
* 仅当查询语句(Query)不包含SQL时有效
|
|
2828
|
-
透传上次接口返回的Context
|
|
2829
|
-
SQL
|
|
2829
|
+
透传上次接口返回的Context值,可获取后续日志,总计最多可获取1万条原始日志。过期时间1小时
|
|
2830
|
+
SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
|
2830
2831
|
*/
|
|
2831
2832
|
Context?: string;
|
|
2832
2833
|
/**
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DescribeFileUrlsResponse, CreateDocumentResponse, StartFlowRequest, CancelFlowResponse, CreateDocumentRequest, CreateFlowRequest, CreateSchemeUrlRequest, DescribeThirdPartyAuthCodeRequest, CancelFlowRequest, DescribeFlowBriefsResponse, DescribeThirdPartyAuthCodeResponse, CreateFlowByFilesResponse, DescribeFlowBriefsRequest, DescribeFileUrlsRequest, StartFlowResponse, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CreateFlowResponse } from "./ess_models";
|
|
4
|
+
/**
|
|
5
|
+
* ess client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 此接口用于发起流程
|
|
12
|
+
*/
|
|
13
|
+
StartFlow(req: StartFlowRequest, cb?: (error: string, rep: StartFlowResponse) => void): Promise<StartFlowResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 用于撤销流程
|
|
16
|
+
*/
|
|
17
|
+
CancelFlow(req: CancelFlowRequest, cb?: (error: string, rep: CancelFlowResponse) => void): Promise<CancelFlowResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 创建电子文档
|
|
20
|
+
*/
|
|
21
|
+
CreateDocument(req: CreateDocumentRequest, cb?: (error: string, rep: CreateDocumentResponse) => void): Promise<CreateDocumentResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 查询文件下载URL
|
|
24
|
+
*/
|
|
25
|
+
DescribeFileUrls(req: DescribeFileUrlsRequest, cb?: (error: string, rep: DescribeFileUrlsResponse) => void): Promise<DescribeFileUrlsResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 创建签署流程
|
|
28
|
+
*/
|
|
29
|
+
CreateFlow(req: CreateFlowRequest, cb?: (error: string, rep: CreateFlowResponse) => void): Promise<CreateFlowResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 获取小程序跳转链接
|
|
32
|
+
*/
|
|
33
|
+
CreateSchemeUrl(req: CreateSchemeUrlRequest, cb?: (error: string, rep: CreateSchemeUrlResponse) => void): Promise<CreateSchemeUrlResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 通过AuthCode查询用户是否实名
|
|
36
|
+
*/
|
|
37
|
+
DescribeThirdPartyAuthCode(req: DescribeThirdPartyAuthCodeRequest, cb?: (error: string, rep: DescribeThirdPartyAuthCodeResponse) => void): Promise<DescribeThirdPartyAuthCodeResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 查询流程摘要
|
|
40
|
+
*/
|
|
41
|
+
DescribeFlowBriefs(req: DescribeFlowBriefsRequest, cb?: (error: string, rep: DescribeFlowBriefsResponse) => void): Promise<DescribeFlowBriefsResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建流程。
|
|
44
|
+
*/
|
|
45
|
+
CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* ess client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("ess.tencentcloudapi.com", "2020-11-11", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 此接口用于发起流程
|
|
32
|
+
*/
|
|
33
|
+
async StartFlow(req, cb) {
|
|
34
|
+
return this.request("StartFlow", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 用于撤销流程
|
|
38
|
+
*/
|
|
39
|
+
async CancelFlow(req, cb) {
|
|
40
|
+
return this.request("CancelFlow", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 创建电子文档
|
|
44
|
+
*/
|
|
45
|
+
async CreateDocument(req, cb) {
|
|
46
|
+
return this.request("CreateDocument", req, cb);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 查询文件下载URL
|
|
50
|
+
*/
|
|
51
|
+
async DescribeFileUrls(req, cb) {
|
|
52
|
+
return this.request("DescribeFileUrls", req, cb);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* 创建签署流程
|
|
56
|
+
*/
|
|
57
|
+
async CreateFlow(req, cb) {
|
|
58
|
+
return this.request("CreateFlow", req, cb);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 获取小程序跳转链接
|
|
62
|
+
*/
|
|
63
|
+
async CreateSchemeUrl(req, cb) {
|
|
64
|
+
return this.request("CreateSchemeUrl", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 通过AuthCode查询用户是否实名
|
|
68
|
+
*/
|
|
69
|
+
async DescribeThirdPartyAuthCode(req, cb) {
|
|
70
|
+
return this.request("DescribeThirdPartyAuthCode", req, cb);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 查询流程摘要
|
|
74
|
+
*/
|
|
75
|
+
async DescribeFlowBriefs(req, cb) {
|
|
76
|
+
return this.request("DescribeFlowBriefs", req, cb);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建流程。
|
|
80
|
+
*/
|
|
81
|
+
async CreateFlowByFiles(req, cb) {
|
|
82
|
+
return this.request("CreateFlowByFiles", req, cb);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.Client = Client;
|