@alicloud/cloud-siem20220616 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ English | [简体中文](README-CN.md)
2
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
3
+
4
+ # Alibaba Cloud cloud-siem SDK for NodeJS
5
+
6
+ ## Installation
7
+ If you use `npm` to manage your dependence, you can use the following command:
8
+
9
+ ```sh
10
+ npm install @alicloud/cloud-siem20220616 -S
11
+ ```
12
+
13
+ ## Issues
14
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
15
+
16
+ ## Usage
17
+ [Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
18
+
19
+ ## References
20
+ * [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
21
+
22
+ ## License
23
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
24
+
25
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -0,0 +1,276 @@
1
+ /**
2
+ *
3
+ */
4
+ import * as $Util from '@alicloud/tea-util';
5
+ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
6
+ import * as $tea from '@alicloud/tea-typescript';
7
+ export declare class BatchJobCheckRequest extends $tea.Model {
8
+ regionId?: string;
9
+ submitId?: string;
10
+ static names(): {
11
+ [key: string]: string;
12
+ };
13
+ static types(): {
14
+ [key: string]: any;
15
+ };
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
20
+ export declare class BatchJobCheckResponseBody extends $tea.Model {
21
+ code?: number;
22
+ data?: BatchJobCheckResponseBodyData;
23
+ errCode?: string;
24
+ message?: string;
25
+ requestId?: string;
26
+ success?: boolean;
27
+ static names(): {
28
+ [key: string]: string;
29
+ };
30
+ static types(): {
31
+ [key: string]: any;
32
+ };
33
+ constructor(map?: {
34
+ [key: string]: any;
35
+ });
36
+ }
37
+ export declare class BatchJobCheckResponse extends $tea.Model {
38
+ headers: {
39
+ [key: string]: string;
40
+ };
41
+ statusCode: number;
42
+ body: BatchJobCheckResponseBody;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ constructor(map?: {
50
+ [key: string]: any;
51
+ });
52
+ }
53
+ export declare class BatchJobSubmitRequest extends $tea.Model {
54
+ jsonConfig?: string;
55
+ regionId?: string;
56
+ static names(): {
57
+ [key: string]: string;
58
+ };
59
+ static types(): {
60
+ [key: string]: any;
61
+ };
62
+ constructor(map?: {
63
+ [key: string]: any;
64
+ });
65
+ }
66
+ export declare class BatchJobSubmitResponseBody extends $tea.Model {
67
+ code?: number;
68
+ data?: BatchJobSubmitResponseBodyData;
69
+ errCode?: string;
70
+ message?: string;
71
+ requestId?: string;
72
+ success?: boolean;
73
+ static names(): {
74
+ [key: string]: string;
75
+ };
76
+ static types(): {
77
+ [key: string]: any;
78
+ };
79
+ constructor(map?: {
80
+ [key: string]: any;
81
+ });
82
+ }
83
+ export declare class BatchJobSubmitResponse extends $tea.Model {
84
+ headers: {
85
+ [key: string]: string;
86
+ };
87
+ statusCode: number;
88
+ body: BatchJobSubmitResponseBody;
89
+ static names(): {
90
+ [key: string]: string;
91
+ };
92
+ static types(): {
93
+ [key: string]: any;
94
+ };
95
+ constructor(map?: {
96
+ [key: string]: any;
97
+ });
98
+ }
99
+ export declare class SendMessageRequest extends $tea.Model {
100
+ channelType?: number;
101
+ receiveUid?: number;
102
+ regionId?: string;
103
+ static names(): {
104
+ [key: string]: string;
105
+ };
106
+ static types(): {
107
+ [key: string]: any;
108
+ };
109
+ constructor(map?: {
110
+ [key: string]: any;
111
+ });
112
+ }
113
+ export declare class SendMessageResponseBody extends $tea.Model {
114
+ code?: number;
115
+ data?: boolean;
116
+ errCode?: string;
117
+ message?: string;
118
+ requestId?: string;
119
+ success?: boolean;
120
+ static names(): {
121
+ [key: string]: string;
122
+ };
123
+ static types(): {
124
+ [key: string]: any;
125
+ };
126
+ constructor(map?: {
127
+ [key: string]: any;
128
+ });
129
+ }
130
+ export declare class SendMessageResponse extends $tea.Model {
131
+ headers: {
132
+ [key: string]: string;
133
+ };
134
+ statusCode: number;
135
+ body: SendMessageResponseBody;
136
+ static names(): {
137
+ [key: string]: string;
138
+ };
139
+ static types(): {
140
+ [key: string]: any;
141
+ };
142
+ constructor(map?: {
143
+ [key: string]: any;
144
+ });
145
+ }
146
+ export declare class BatchJobCheckResponseBodyDataErrTaskListProductListLogList extends $tea.Model {
147
+ errorCode?: string;
148
+ logCode?: string;
149
+ logStoreNamePattern?: string;
150
+ productCode?: string;
151
+ projectNamePattern?: string;
152
+ regionCode?: string;
153
+ static names(): {
154
+ [key: string]: string;
155
+ };
156
+ static types(): {
157
+ [key: string]: any;
158
+ };
159
+ constructor(map?: {
160
+ [key: string]: any;
161
+ });
162
+ }
163
+ export declare class BatchJobCheckResponseBodyDataErrTaskListProductList extends $tea.Model {
164
+ logList?: BatchJobCheckResponseBodyDataErrTaskListProductListLogList[];
165
+ productCode?: string;
166
+ static names(): {
167
+ [key: string]: string;
168
+ };
169
+ static types(): {
170
+ [key: string]: any;
171
+ };
172
+ constructor(map?: {
173
+ [key: string]: any;
174
+ });
175
+ }
176
+ export declare class BatchJobCheckResponseBodyDataErrTaskList extends $tea.Model {
177
+ productList?: BatchJobCheckResponseBodyDataErrTaskListProductList[];
178
+ userId?: number;
179
+ static names(): {
180
+ [key: string]: string;
181
+ };
182
+ static types(): {
183
+ [key: string]: any;
184
+ };
185
+ constructor(map?: {
186
+ [key: string]: any;
187
+ });
188
+ }
189
+ export declare class BatchJobCheckResponseBodyData extends $tea.Model {
190
+ configId?: string;
191
+ errTaskList?: BatchJobCheckResponseBodyDataErrTaskList[];
192
+ failedCount?: number;
193
+ finishCount?: number;
194
+ folderId?: string;
195
+ taskCount?: number;
196
+ taskStatus?: string;
197
+ static names(): {
198
+ [key: string]: string;
199
+ };
200
+ static types(): {
201
+ [key: string]: any;
202
+ };
203
+ constructor(map?: {
204
+ [key: string]: any;
205
+ });
206
+ }
207
+ export declare class BatchJobSubmitResponseBodyDataConfigListProductListLogList extends $tea.Model {
208
+ errorCode?: string;
209
+ logCode?: string;
210
+ logStoreNamePattern?: string;
211
+ productCode?: string;
212
+ projectNamePattern?: string;
213
+ regionCode?: string;
214
+ static names(): {
215
+ [key: string]: string;
216
+ };
217
+ static types(): {
218
+ [key: string]: any;
219
+ };
220
+ constructor(map?: {
221
+ [key: string]: any;
222
+ });
223
+ }
224
+ export declare class BatchJobSubmitResponseBodyDataConfigListProductList extends $tea.Model {
225
+ logList?: BatchJobSubmitResponseBodyDataConfigListProductListLogList[];
226
+ productCode?: string;
227
+ static names(): {
228
+ [key: string]: string;
229
+ };
230
+ static types(): {
231
+ [key: string]: any;
232
+ };
233
+ constructor(map?: {
234
+ [key: string]: any;
235
+ });
236
+ }
237
+ export declare class BatchJobSubmitResponseBodyDataConfigList extends $tea.Model {
238
+ productList?: BatchJobSubmitResponseBodyDataConfigListProductList[];
239
+ userId?: number;
240
+ static names(): {
241
+ [key: string]: string;
242
+ };
243
+ static types(): {
244
+ [key: string]: any;
245
+ };
246
+ constructor(map?: {
247
+ [key: string]: any;
248
+ });
249
+ }
250
+ export declare class BatchJobSubmitResponseBodyData extends $tea.Model {
251
+ configId?: string;
252
+ configList?: BatchJobSubmitResponseBodyDataConfigList[];
253
+ submitId?: string;
254
+ taskCount?: number;
255
+ static names(): {
256
+ [key: string]: string;
257
+ };
258
+ static types(): {
259
+ [key: string]: any;
260
+ };
261
+ constructor(map?: {
262
+ [key: string]: any;
263
+ });
264
+ }
265
+ export default class Client extends OpenApi {
266
+ constructor(config: $OpenApi.Config);
267
+ getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
268
+ [key: string]: string;
269
+ }, endpoint: string): string;
270
+ batchJobCheckWithOptions(request: BatchJobCheckRequest, runtime: $Util.RuntimeOptions): Promise<BatchJobCheckResponse>;
271
+ batchJobCheck(request: BatchJobCheckRequest): Promise<BatchJobCheckResponse>;
272
+ batchJobSubmitWithOptions(request: BatchJobSubmitRequest, runtime: $Util.RuntimeOptions): Promise<BatchJobSubmitResponse>;
273
+ batchJobSubmit(request: BatchJobSubmitRequest): Promise<BatchJobSubmitResponse>;
274
+ sendMessageWithOptions(request: SendMessageRequest, runtime: $Util.RuntimeOptions): Promise<SendMessageResponse>;
275
+ sendMessage(request: SendMessageRequest): Promise<SendMessageResponse>;
276
+ }