@alicloud/adb20211201 5.0.2 → 5.1.0
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/dist/client.d.ts +75 -0
- package/dist/client.js +186 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CloseLogSyncToSlsrequest.d.ts +46 -0
- package/dist/models/CloseLogSyncToSlsrequest.js +62 -0
- package/dist/models/CloseLogSyncToSlsrequest.js.map +1 -0
- package/dist/models/CloseLogSyncToSlsresponse.d.ts +19 -0
- package/dist/models/CloseLogSyncToSlsresponse.js +69 -0
- package/dist/models/CloseLogSyncToSlsresponse.js.map +1 -0
- package/dist/models/CloseLogSyncToSlsresponseBody.d.ts +21 -0
- package/dist/models/CloseLogSyncToSlsresponseBody.js +58 -0
- package/dist/models/CloseLogSyncToSlsresponseBody.js.map +1 -0
- package/dist/models/DescribeAuditLogRecordsRequest.d.ts +4 -0
- package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallRequest.d.ts +5 -0
- package/dist/models/GetKnowledgeRecallRequest.js +2 -0
- package/dist/models/GetKnowledgeRecallRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallResponseBody.d.ts +1 -1
- package/dist/models/GetLogSyncToSlsrequest.d.ts +46 -0
- package/dist/models/GetLogSyncToSlsrequest.js +62 -0
- package/dist/models/GetLogSyncToSlsrequest.js.map +1 -0
- package/dist/models/GetLogSyncToSlsresponse.d.ts +19 -0
- package/dist/models/GetLogSyncToSlsresponse.js +69 -0
- package/dist/models/GetLogSyncToSlsresponse.js.map +1 -0
- package/dist/models/GetLogSyncToSlsresponseBody.d.ts +64 -0
- package/dist/models/GetLogSyncToSlsresponseBody.js +86 -0
- package/dist/models/GetLogSyncToSlsresponseBody.js.map +1 -0
- package/dist/models/OpenLogSyncToSlsrequest.d.ts +66 -0
- package/dist/models/OpenLogSyncToSlsrequest.js +66 -0
- package/dist/models/OpenLogSyncToSlsrequest.js.map +1 -0
- package/dist/models/OpenLogSyncToSlsresponse.d.ts +19 -0
- package/dist/models/OpenLogSyncToSlsresponse.js +69 -0
- package/dist/models/OpenLogSyncToSlsresponse.js.map +1 -0
- package/dist/models/OpenLogSyncToSlsresponseBody.d.ts +21 -0
- package/dist/models/OpenLogSyncToSlsresponseBody.js +58 -0
- package/dist/models/OpenLogSyncToSlsresponseBody.js.map +1 -0
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +39 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +204 -12
- package/src/models/CloseLogSyncToSlsrequest.ts +63 -0
- package/src/models/CloseLogSyncToSlsresponse.ts +40 -0
- package/src/models/CloseLogSyncToSlsresponseBody.ts +34 -0
- package/src/models/DescribeAuditLogRecordsRequest.ts +4 -0
- package/src/models/GetKnowledgeRecallRequest.ts +7 -0
- package/src/models/GetKnowledgeRecallResponseBody.ts +1 -1
- package/src/models/GetLogSyncToSlsrequest.ts +63 -0
- package/src/models/GetLogSyncToSlsresponse.ts +40 -0
- package/src/models/GetLogSyncToSlsresponseBody.ts +96 -0
- package/src/models/OpenLogSyncToSlsrequest.ts +87 -0
- package/src/models/OpenLogSyncToSlsresponse.ts +40 -0
- package/src/models/OpenLogSyncToSlsresponseBody.ts +34 -0
- package/src/models/model.ts +10 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class OpenLogSyncToSLSRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The cluster ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* am-bp1ub9grke1****
|
|
14
|
+
*/
|
|
15
|
+
DBClusterId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The log type. Valid values:
|
|
19
|
+
*
|
|
20
|
+
* - **ADBMYSQL_AUDIT_LOG**
|
|
21
|
+
* - **ADBMYSQL_INSERT_LOG**
|
|
22
|
+
*
|
|
23
|
+
* Default value: `ADBMYSQL_AUDIT_LOG`.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ADBMYSQL_AUDIT_LOG
|
|
27
|
+
*/
|
|
28
|
+
logType?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The region ID.
|
|
32
|
+
*
|
|
33
|
+
* This parameter is required.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* cn-beijing
|
|
37
|
+
*/
|
|
38
|
+
regionId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The Simple Log Service LogStore.
|
|
42
|
+
*
|
|
43
|
+
* This parameter is required.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* adbmysql-audit-log
|
|
47
|
+
*/
|
|
48
|
+
targetLogStore?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The Simple Log Service project.
|
|
52
|
+
*
|
|
53
|
+
* This parameter is required.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* log-service-****-cn-shenzhen
|
|
57
|
+
*/
|
|
58
|
+
targetProject?: string;
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
DBClusterId: 'DBClusterId',
|
|
62
|
+
logType: 'LogType',
|
|
63
|
+
regionId: 'RegionId',
|
|
64
|
+
targetLogStore: 'TargetLogStore',
|
|
65
|
+
targetProject: 'TargetProject',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
static types(): { [key: string]: any } {
|
|
70
|
+
return {
|
|
71
|
+
DBClusterId: 'string',
|
|
72
|
+
logType: 'string',
|
|
73
|
+
regionId: 'string',
|
|
74
|
+
targetLogStore: 'string',
|
|
75
|
+
targetProject: 'string',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
validate() {
|
|
80
|
+
super.validate();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
constructor(map?: { [key: string]: any }) {
|
|
84
|
+
super(map);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { OpenLogSyncToSLSResponseBody } from "./OpenLogSyncToSlsresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class OpenLogSyncToSLSResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: OpenLogSyncToSLSResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: OpenLogSyncToSLSResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class OpenLogSyncToSLSResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -221,6 +221,7 @@ export { GetDatabaseObjectsResponseBodyData } from './GetDatabaseObjectsResponse
|
|
|
221
221
|
export { GetKnowledgeRecallResponseBodyData } from './GetKnowledgeRecallResponseBody';
|
|
222
222
|
export { GetLakeStorageResponseBodyDataPermissions } from './GetLakeStorageResponseBody';
|
|
223
223
|
export { GetLakeStorageResponseBodyData } from './GetLakeStorageResponseBody';
|
|
224
|
+
export { GetLogSyncToSLSResponseBodyData } from './GetLogSyncToSlsresponseBody';
|
|
224
225
|
export { GetSparkAppAttemptLogResponseBodyData } from './GetSparkAppAttemptLogResponseBody';
|
|
225
226
|
export { GetSparkAppLogResponseBodyData } from './GetSparkAppLogResponseBody';
|
|
226
227
|
export { GetSparkAppMetricsResponseBodyDataScanMetrics } from './GetSparkAppMetricsResponseBody';
|
|
@@ -352,6 +353,9 @@ export { CheckFormationSchemaExistsResponse } from './CheckFormationSchemaExists
|
|
|
352
353
|
export { CheckSampleDataSetRequest } from './CheckSampleDataSetRequest';
|
|
353
354
|
export { CheckSampleDataSetResponseBody } from './CheckSampleDataSetResponseBody';
|
|
354
355
|
export { CheckSampleDataSetResponse } from './CheckSampleDataSetResponse';
|
|
356
|
+
export { CloseLogSyncToSLSRequest } from './CloseLogSyncToSlsrequest';
|
|
357
|
+
export { CloseLogSyncToSLSResponseBody } from './CloseLogSyncToSlsresponseBody';
|
|
358
|
+
export { CloseLogSyncToSLSResponse } from './CloseLogSyncToSlsresponse';
|
|
355
359
|
export { ConfigureResultExportRequest } from './ConfigureResultExportRequest';
|
|
356
360
|
export { ConfigureResultExportShrinkRequest } from './ConfigureResultExportShrinkRequest';
|
|
357
361
|
export { ConfigureResultExportResponseBody } from './ConfigureResultExportResponseBody';
|
|
@@ -809,6 +813,9 @@ export { GetKnowledgeRecallResponse } from './GetKnowledgeRecallResponse';
|
|
|
809
813
|
export { GetLakeStorageRequest } from './GetLakeStorageRequest';
|
|
810
814
|
export { GetLakeStorageResponseBody } from './GetLakeStorageResponseBody';
|
|
811
815
|
export { GetLakeStorageResponse } from './GetLakeStorageResponse';
|
|
816
|
+
export { GetLogSyncToSLSRequest } from './GetLogSyncToSlsrequest';
|
|
817
|
+
export { GetLogSyncToSLSResponseBody } from './GetLogSyncToSlsresponseBody';
|
|
818
|
+
export { GetLogSyncToSLSResponse } from './GetLogSyncToSlsresponse';
|
|
812
819
|
export { GetSemanticViewRequest } from './GetSemanticViewRequest';
|
|
813
820
|
export { GetSemanticViewResponseBody } from './GetSemanticViewResponseBody';
|
|
814
821
|
export { GetSemanticViewResponse } from './GetSemanticViewResponse';
|
|
@@ -1010,6 +1017,9 @@ export { ModifySqlTemplatePositionResponse } from './ModifySqlTemplatePositionRe
|
|
|
1010
1017
|
export { ModifyUserEniVswitchOptionsRequest } from './ModifyUserEniVswitchOptionsRequest';
|
|
1011
1018
|
export { ModifyUserEniVswitchOptionsResponseBody } from './ModifyUserEniVswitchOptionsResponseBody';
|
|
1012
1019
|
export { ModifyUserEniVswitchOptionsResponse } from './ModifyUserEniVswitchOptionsResponse';
|
|
1020
|
+
export { OpenLogSyncToSLSRequest } from './OpenLogSyncToSlsrequest';
|
|
1021
|
+
export { OpenLogSyncToSLSResponseBody } from './OpenLogSyncToSlsresponseBody';
|
|
1022
|
+
export { OpenLogSyncToSLSResponse } from './OpenLogSyncToSlsresponse';
|
|
1013
1023
|
export { PreloadSparkAppMetricsRequest } from './PreloadSparkAppMetricsRequest';
|
|
1014
1024
|
export { PreloadSparkAppMetricsResponseBody } from './PreloadSparkAppMetricsResponseBody';
|
|
1015
1025
|
export { PreloadSparkAppMetricsResponse } from './PreloadSparkAppMetricsResponse';
|