@alicloud/adb20211201 5.0.3 → 5.1.1
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 +81 -6
- package/dist/client.js +192 -18
- 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 +24 -12
- package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
- package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +9 -9
- 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 +210 -18
- 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 +26 -12
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +9 -9
- 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,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetLogSyncToSLSResponseBody } from "./GetLogSyncToSlsresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetLogSyncToSLSResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetLogSyncToSLSResponseBody;
|
|
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: GetLogSyncToSLSResponseBody,
|
|
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,96 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetLogSyncToSLSResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The log synchronization status. Valid values:
|
|
9
|
+
* - on: Synchronization is enabled.
|
|
10
|
+
* - off: Synchronization is disabled.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* off
|
|
14
|
+
*/
|
|
15
|
+
status?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The Simple Log Service Logstore.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* adbmysql-audit-log
|
|
22
|
+
*/
|
|
23
|
+
targetLogStore?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The Simple Log Service project.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* log-service-****-cn-shenzhen
|
|
30
|
+
*/
|
|
31
|
+
targetProject?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
status: 'Status',
|
|
35
|
+
targetLogStore: 'TargetLogStore',
|
|
36
|
+
targetProject: 'TargetProject',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
status: 'string',
|
|
43
|
+
targetLogStore: 'string',
|
|
44
|
+
targetProject: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class GetLogSyncToSLSResponseBody extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The returned data.
|
|
61
|
+
*/
|
|
62
|
+
data?: GetLogSyncToSLSResponseBodyData;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The request ID.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
69
|
+
*/
|
|
70
|
+
requestId?: string;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
data: 'Data',
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
data: GetLogSyncToSLSResponseBodyData,
|
|
81
|
+
requestId: 'string',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
87
|
+
(this.data as any).validate();
|
|
88
|
+
}
|
|
89
|
+
super.validate();
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
constructor(map?: { [key: string]: any }) {
|
|
93
|
+
super(map);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -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';
|