@alicloud/cms20240330 6.3.0 → 6.4.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 +117 -0
- package/dist/client.js +282 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDatasetRequest.d.ts +34 -0
- package/dist/models/CreateDatasetRequest.js +66 -0
- package/dist/models/CreateDatasetRequest.js.map +1 -0
- package/dist/models/CreateDatasetResponse.d.ts +19 -0
- package/dist/models/CreateDatasetResponse.js +69 -0
- package/dist/models/CreateDatasetResponse.js.map +1 -0
- package/dist/models/CreateDatasetResponseBody.d.ts +18 -0
- package/dist/models/CreateDatasetResponseBody.js +58 -0
- package/dist/models/CreateDatasetResponseBody.js.map +1 -0
- package/dist/models/DeleteDatasetResponse.d.ts +19 -0
- package/dist/models/DeleteDatasetResponse.js +69 -0
- package/dist/models/DeleteDatasetResponse.js.map +1 -0
- package/dist/models/DeleteDatasetResponseBody.d.ts +18 -0
- package/dist/models/DeleteDatasetResponseBody.js +58 -0
- package/dist/models/DeleteDatasetResponseBody.js.map +1 -0
- package/dist/models/DeletePrometheusVirtualInstanceResponse.d.ts +19 -0
- package/dist/models/DeletePrometheusVirtualInstanceResponse.js +69 -0
- package/dist/models/DeletePrometheusVirtualInstanceResponse.js.map +1 -0
- package/dist/models/DeletePrometheusVirtualInstanceResponseBody.d.ts +18 -0
- package/dist/models/DeletePrometheusVirtualInstanceResponseBody.js +58 -0
- package/dist/models/DeletePrometheusVirtualInstanceResponseBody.js.map +1 -0
- package/dist/models/ExecuteQueryRequest.d.ts +29 -0
- package/dist/models/ExecuteQueryRequest.js +60 -0
- package/dist/models/ExecuteQueryRequest.js.map +1 -0
- package/dist/models/ExecuteQueryResponse.d.ts +19 -0
- package/dist/models/ExecuteQueryResponse.js +69 -0
- package/dist/models/ExecuteQueryResponse.js.map +1 -0
- package/dist/models/ExecuteQueryResponseBody.d.ts +54 -0
- package/dist/models/ExecuteQueryResponseBody.js +93 -0
- package/dist/models/ExecuteQueryResponseBody.js.map +1 -0
- package/dist/models/GetDatasetResponse.d.ts +19 -0
- package/dist/models/GetDatasetResponse.js +69 -0
- package/dist/models/GetDatasetResponse.js.map +1 -0
- package/dist/models/GetDatasetResponseBody.d.ts +58 -0
- package/dist/models/GetDatasetResponseBody.js +76 -0
- package/dist/models/GetDatasetResponseBody.js.map +1 -0
- package/dist/models/ListDatasetsRequest.d.ts +28 -0
- package/dist/models/ListDatasetsRequest.js +62 -0
- package/dist/models/ListDatasetsRequest.js.map +1 -0
- package/dist/models/ListDatasetsResponse.d.ts +19 -0
- package/dist/models/ListDatasetsResponse.js +69 -0
- package/dist/models/ListDatasetsResponse.js.map +1 -0
- package/dist/models/ListDatasetsResponseBody.d.ts +82 -0
- package/dist/models/ListDatasetsResponseBody.js +98 -0
- package/dist/models/ListDatasetsResponseBody.js.map +1 -0
- package/dist/models/UpdateDatasetRequest.d.ts +18 -0
- package/dist/models/UpdateDatasetRequest.js +58 -0
- package/dist/models/UpdateDatasetRequest.js.map +1 -0
- package/dist/models/UpdateDatasetResponse.d.ts +19 -0
- package/dist/models/UpdateDatasetResponse.js +69 -0
- package/dist/models/UpdateDatasetResponse.js.map +1 -0
- package/dist/models/UpdateDatasetResponseBody.d.ts +18 -0
- package/dist/models/UpdateDatasetResponseBody.js +58 -0
- package/dist/models/UpdateDatasetResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +20 -0
- package/dist/models/model.js +53 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +305 -0
- package/src/models/CreateDatasetRequest.ts +52 -0
- package/src/models/CreateDatasetResponse.ts +40 -0
- package/src/models/CreateDatasetResponseBody.ts +31 -0
- package/src/models/DeleteDatasetResponse.ts +40 -0
- package/src/models/DeleteDatasetResponseBody.ts +31 -0
- package/src/models/DeletePrometheusVirtualInstanceResponse.ts +40 -0
- package/src/models/DeletePrometheusVirtualInstanceResponseBody.ts +31 -0
- package/src/models/ExecuteQueryRequest.ts +44 -0
- package/src/models/ExecuteQueryResponse.ts +40 -0
- package/src/models/ExecuteQueryResponseBody.ts +91 -0
- package/src/models/GetDatasetResponse.ts +40 -0
- package/src/models/GetDatasetResponseBody.ts +86 -0
- package/src/models/ListDatasetsRequest.ts +45 -0
- package/src/models/ListDatasetsResponse.ts +40 -0
- package/src/models/ListDatasetsResponseBody.ts +126 -0
- package/src/models/UpdateDatasetRequest.ts +31 -0
- package/src/models/UpdateDatasetResponse.ts +40 -0
- package/src/models/UpdateDatasetResponseBody.ts +31 -0
- package/src/models/model.ts +20 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ExecuteQueryResponseBody } from "./ExecuteQueryResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ExecuteQueryResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ExecuteQueryResponseBody;
|
|
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: ExecuteQueryResponseBody,
|
|
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,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ExecuteQueryResponseBodyMeta extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
affectedRows?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
count?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1231243
|
|
19
|
+
*/
|
|
20
|
+
elapsedMillisecond?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* Complete
|
|
24
|
+
*/
|
|
25
|
+
progress?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
affectedRows: 'affectedRows',
|
|
29
|
+
count: 'count',
|
|
30
|
+
elapsedMillisecond: 'elapsedMillisecond',
|
|
31
|
+
progress: 'progress',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
affectedRows: 'number',
|
|
38
|
+
count: 'number',
|
|
39
|
+
elapsedMillisecond: 'number',
|
|
40
|
+
progress: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class ExecuteQueryResponseBody extends $dara.Model {
|
|
54
|
+
data?: { [key: string]: string }[];
|
|
55
|
+
meta?: ExecuteQueryResponseBodyMeta;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 3B311FD9-A60B-55E0-A896-A0C73*********
|
|
59
|
+
*/
|
|
60
|
+
requestId?: string;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
data: 'data',
|
|
64
|
+
meta: 'meta',
|
|
65
|
+
requestId: 'requestId',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
static types(): { [key: string]: any } {
|
|
70
|
+
return {
|
|
71
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
72
|
+
meta: ExecuteQueryResponseBodyMeta,
|
|
73
|
+
requestId: 'string',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
validate() {
|
|
78
|
+
if(Array.isArray(this.data)) {
|
|
79
|
+
$dara.Model.validateArray(this.data);
|
|
80
|
+
}
|
|
81
|
+
if(this.meta && typeof (this.meta as any).validate === 'function') {
|
|
82
|
+
(this.meta as any).validate();
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetDatasetResponseBody } from "./GetDatasetResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetDatasetResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetDatasetResponseBody;
|
|
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: GetDatasetResponseBody,
|
|
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,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { IndexKey } from "./IndexKey";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetDatasetResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 1695090077
|
|
13
|
+
*/
|
|
14
|
+
createTime?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* test_dataset
|
|
18
|
+
*/
|
|
19
|
+
datasetName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @example
|
|
22
|
+
* test
|
|
23
|
+
*/
|
|
24
|
+
description?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @example
|
|
27
|
+
* cn-heyuan
|
|
28
|
+
*/
|
|
29
|
+
regionId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
33
|
+
*/
|
|
34
|
+
requestId?: string;
|
|
35
|
+
schema?: { [key: string]: IndexKey };
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 1695090077
|
|
42
|
+
*/
|
|
43
|
+
updateTime?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* workspace-test
|
|
47
|
+
*/
|
|
48
|
+
workspace?: string;
|
|
49
|
+
static names(): { [key: string]: string } {
|
|
50
|
+
return {
|
|
51
|
+
createTime: 'createTime',
|
|
52
|
+
datasetName: 'datasetName',
|
|
53
|
+
description: 'description',
|
|
54
|
+
regionId: 'regionId',
|
|
55
|
+
requestId: 'requestId',
|
|
56
|
+
schema: 'schema',
|
|
57
|
+
updateTime: 'updateTime',
|
|
58
|
+
workspace: 'workspace',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
createTime: 'string',
|
|
65
|
+
datasetName: 'string',
|
|
66
|
+
description: 'string',
|
|
67
|
+
regionId: 'string',
|
|
68
|
+
requestId: 'string',
|
|
69
|
+
schema: { 'type': 'map', 'keyType': 'string', 'valueType': IndexKey },
|
|
70
|
+
updateTime: 'string',
|
|
71
|
+
workspace: 'string',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
validate() {
|
|
76
|
+
if(this.schema) {
|
|
77
|
+
$dara.Model.validateMap(this.schema);
|
|
78
|
+
}
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListDatasetsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* test_dataset
|
|
9
|
+
*/
|
|
10
|
+
datasetName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 100
|
|
14
|
+
*/
|
|
15
|
+
maxResults?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* d9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba****************
|
|
19
|
+
*/
|
|
20
|
+
nextToken?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
datasetName: 'datasetName',
|
|
24
|
+
maxResults: 'maxResults',
|
|
25
|
+
nextToken: 'nextToken',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
datasetName: 'string',
|
|
32
|
+
maxResults: 'number',
|
|
33
|
+
nextToken: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListDatasetsResponseBody } from "./ListDatasetsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListDatasetsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListDatasetsResponseBody;
|
|
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: ListDatasetsResponseBody,
|
|
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,126 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListDatasetsResponseBodyDatasets extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1695090077
|
|
12
|
+
*/
|
|
13
|
+
createTime?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* test_dataset
|
|
17
|
+
*/
|
|
18
|
+
datasetName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* test dataset
|
|
22
|
+
*/
|
|
23
|
+
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* cn-hangzhou
|
|
27
|
+
*/
|
|
28
|
+
regionId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* 1695090077
|
|
35
|
+
*/
|
|
36
|
+
updateTime?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* workspace-test
|
|
40
|
+
*/
|
|
41
|
+
workspace?: string;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
createTime: 'createTime',
|
|
45
|
+
datasetName: 'datasetName',
|
|
46
|
+
description: 'description',
|
|
47
|
+
regionId: 'regionId',
|
|
48
|
+
updateTime: 'updateTime',
|
|
49
|
+
workspace: 'workspace',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
createTime: 'string',
|
|
56
|
+
datasetName: 'string',
|
|
57
|
+
description: 'string',
|
|
58
|
+
regionId: 'string',
|
|
59
|
+
updateTime: 'string',
|
|
60
|
+
workspace: 'string',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export class ListDatasetsResponseBody extends $dara.Model {
|
|
74
|
+
datasets?: ListDatasetsResponseBodyDatasets[];
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* 100
|
|
78
|
+
*/
|
|
79
|
+
maxResults?: number;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* d9a48d977f45aa6fcf6981ed13b885b3fab0b124c12dcbbe70edce5d81ba****************
|
|
83
|
+
*/
|
|
84
|
+
nextToken?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
88
|
+
*/
|
|
89
|
+
requestId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* 96
|
|
93
|
+
*/
|
|
94
|
+
total?: number;
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
datasets: 'datasets',
|
|
98
|
+
maxResults: 'maxResults',
|
|
99
|
+
nextToken: 'nextToken',
|
|
100
|
+
requestId: 'requestId',
|
|
101
|
+
total: 'total',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
static types(): { [key: string]: any } {
|
|
106
|
+
return {
|
|
107
|
+
datasets: { 'type': 'array', 'itemType': ListDatasetsResponseBodyDatasets },
|
|
108
|
+
maxResults: 'number',
|
|
109
|
+
nextToken: 'string',
|
|
110
|
+
requestId: 'string',
|
|
111
|
+
total: 'number',
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
validate() {
|
|
116
|
+
if(Array.isArray(this.datasets)) {
|
|
117
|
+
$dara.Model.validateArray(this.datasets);
|
|
118
|
+
}
|
|
119
|
+
super.validate();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
constructor(map?: { [key: string]: any }) {
|
|
123
|
+
super(map);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateDatasetRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* test dataset
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
description: 'description',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
description: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateDatasetResponseBody } from "./UpdateDatasetResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateDatasetResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateDatasetResponseBody;
|
|
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: UpdateDatasetResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateDatasetResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'requestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -81,6 +81,7 @@ export { CreatePrometheusVirtualInstanceResponseBodyInstance } from './CreatePro
|
|
|
81
81
|
export { CreateServiceRequestTags } from './CreateServiceRequest';
|
|
82
82
|
export { CreateThreadRequestVariables } from './CreateThreadRequest';
|
|
83
83
|
export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBody';
|
|
84
|
+
export { ExecuteQueryResponseBodyMeta } from './ExecuteQueryResponseBody';
|
|
84
85
|
export { GetAddonResponseBodyDataDashboards } from './GetAddonResponseBody';
|
|
85
86
|
export { GetAddonResponseBodyDataEnvironmentsCommonSchemaRefs } from './GetAddonResponseBody';
|
|
86
87
|
export { GetAddonResponseBodyDataEnvironmentsDependencies } from './GetAddonResponseBody';
|
|
@@ -162,6 +163,7 @@ export { ListAlertActionsResponseBodyAlertActionsSlsParam } from './ListAlertAct
|
|
|
162
163
|
export { ListAlertActionsResponseBodyAlertActionsWebhookParam } from './ListAlertActionsResponseBody';
|
|
163
164
|
export { ListAlertActionsResponseBodyAlertActions } from './ListAlertActionsResponseBody';
|
|
164
165
|
export { ListAlertWebhooksResponseBodyWebhooks } from './ListAlertWebhooksResponseBody';
|
|
166
|
+
export { ListDatasetsResponseBodyDatasets } from './ListDatasetsResponseBody';
|
|
165
167
|
export { ListDeliveryTasksRequestTag } from './ListDeliveryTasksRequest';
|
|
166
168
|
export { ListDeliveryTasksResponseBodyDeliveryTasksExtraInfo } from './ListDeliveryTasksResponseBody';
|
|
167
169
|
export { ListDeliveryTasksResponseBodyDeliveryTasksSinkList } from './ListDeliveryTasksResponseBody';
|
|
@@ -330,6 +332,9 @@ export { CreateChatResponseBody } from './CreateChatResponseBody';
|
|
|
330
332
|
export { CreateChatResponse } from './CreateChatResponse';
|
|
331
333
|
export { CreateCloudResourceResponseBody } from './CreateCloudResourceResponseBody';
|
|
332
334
|
export { CreateCloudResourceResponse } from './CreateCloudResourceResponse';
|
|
335
|
+
export { CreateDatasetRequest } from './CreateDatasetRequest';
|
|
336
|
+
export { CreateDatasetResponseBody } from './CreateDatasetResponseBody';
|
|
337
|
+
export { CreateDatasetResponse } from './CreateDatasetResponse';
|
|
333
338
|
export { CreateDeliveryTaskRequest } from './CreateDeliveryTaskRequest';
|
|
334
339
|
export { CreateDeliveryTaskResponseBody } from './CreateDeliveryTaskResponseBody';
|
|
335
340
|
export { CreateDeliveryTaskResponse } from './CreateDeliveryTaskResponse';
|
|
@@ -383,6 +388,8 @@ export { DeleteBizTraceResponseBody } from './DeleteBizTraceResponseBody';
|
|
|
383
388
|
export { DeleteBizTraceResponse } from './DeleteBizTraceResponse';
|
|
384
389
|
export { DeleteCloudResourceResponseBody } from './DeleteCloudResourceResponseBody';
|
|
385
390
|
export { DeleteCloudResourceResponse } from './DeleteCloudResourceResponse';
|
|
391
|
+
export { DeleteDatasetResponseBody } from './DeleteDatasetResponseBody';
|
|
392
|
+
export { DeleteDatasetResponse } from './DeleteDatasetResponse';
|
|
386
393
|
export { DeleteDeliveryTaskResponseBody } from './DeleteDeliveryTaskResponseBody';
|
|
387
394
|
export { DeleteDeliveryTaskResponse } from './DeleteDeliveryTaskResponse';
|
|
388
395
|
export { DeleteDigitalEmployeeResponseBody } from './DeleteDigitalEmployeeResponseBody';
|
|
@@ -405,6 +412,8 @@ export { DeletePrometheusInstanceResponseBody } from './DeletePrometheusInstance
|
|
|
405
412
|
export { DeletePrometheusInstanceResponse } from './DeletePrometheusInstanceResponse';
|
|
406
413
|
export { DeletePrometheusViewResponseBody } from './DeletePrometheusViewResponseBody';
|
|
407
414
|
export { DeletePrometheusViewResponse } from './DeletePrometheusViewResponse';
|
|
415
|
+
export { DeletePrometheusVirtualInstanceResponseBody } from './DeletePrometheusVirtualInstanceResponseBody';
|
|
416
|
+
export { DeletePrometheusVirtualInstanceResponse } from './DeletePrometheusVirtualInstanceResponse';
|
|
408
417
|
export { DeleteServiceResponseBody } from './DeleteServiceResponseBody';
|
|
409
418
|
export { DeleteServiceResponse } from './DeleteServiceResponse';
|
|
410
419
|
export { DeleteThreadResponseBody } from './DeleteThreadResponseBody';
|
|
@@ -422,6 +431,9 @@ export { DeleteWorkspaceResponse } from './DeleteWorkspaceResponse';
|
|
|
422
431
|
export { DescribeRegionsRequest } from './DescribeRegionsRequest';
|
|
423
432
|
export { DescribeRegionsResponseBody } from './DescribeRegionsResponseBody';
|
|
424
433
|
export { DescribeRegionsResponse } from './DescribeRegionsResponse';
|
|
434
|
+
export { ExecuteQueryRequest } from './ExecuteQueryRequest';
|
|
435
|
+
export { ExecuteQueryResponseBody } from './ExecuteQueryResponseBody';
|
|
436
|
+
export { ExecuteQueryResponse } from './ExecuteQueryResponse';
|
|
425
437
|
export { GetAddonRequest } from './GetAddonRequest';
|
|
426
438
|
export { GetAddonResponseBody } from './GetAddonResponseBody';
|
|
427
439
|
export { GetAddonResponse } from './GetAddonResponse';
|
|
@@ -445,6 +457,8 @@ export { GetCloudResourceDataResponse } from './GetCloudResourceDataResponse';
|
|
|
445
457
|
export { GetCmsServiceRequest } from './GetCmsServiceRequest';
|
|
446
458
|
export { GetCmsServiceResponseBody } from './GetCmsServiceResponseBody';
|
|
447
459
|
export { GetCmsServiceResponse } from './GetCmsServiceResponse';
|
|
460
|
+
export { GetDatasetResponseBody } from './GetDatasetResponseBody';
|
|
461
|
+
export { GetDatasetResponse } from './GetDatasetResponse';
|
|
448
462
|
export { GetDeliveryTaskResponseBody } from './GetDeliveryTaskResponseBody';
|
|
449
463
|
export { GetDeliveryTaskResponse } from './GetDeliveryTaskResponse';
|
|
450
464
|
export { GetDigitalEmployeeResponseBody } from './GetDigitalEmployeeResponseBody';
|
|
@@ -520,6 +534,9 @@ export { ListAlertWebhooksResponse } from './ListAlertWebhooksResponse';
|
|
|
520
534
|
export { ListBizTracesRequest } from './ListBizTracesRequest';
|
|
521
535
|
export { ListBizTracesResponseBody } from './ListBizTracesResponseBody';
|
|
522
536
|
export { ListBizTracesResponse } from './ListBizTracesResponse';
|
|
537
|
+
export { ListDatasetsRequest } from './ListDatasetsRequest';
|
|
538
|
+
export { ListDatasetsResponseBody } from './ListDatasetsResponseBody';
|
|
539
|
+
export { ListDatasetsResponse } from './ListDatasetsResponse';
|
|
523
540
|
export { ListDeliveryTasksRequest } from './ListDeliveryTasksRequest';
|
|
524
541
|
export { ListDeliveryTasksShrinkRequest } from './ListDeliveryTasksShrinkRequest';
|
|
525
542
|
export { ListDeliveryTasksResponseBody } from './ListDeliveryTasksResponseBody';
|
|
@@ -618,6 +635,9 @@ export { UpdateAlertWebhookResponse } from './UpdateAlertWebhookResponse';
|
|
|
618
635
|
export { UpdateBizTraceRequest } from './UpdateBizTraceRequest';
|
|
619
636
|
export { UpdateBizTraceResponseBody } from './UpdateBizTraceResponseBody';
|
|
620
637
|
export { UpdateBizTraceResponse } from './UpdateBizTraceResponse';
|
|
638
|
+
export { UpdateDatasetRequest } from './UpdateDatasetRequest';
|
|
639
|
+
export { UpdateDatasetResponseBody } from './UpdateDatasetResponseBody';
|
|
640
|
+
export { UpdateDatasetResponse } from './UpdateDatasetResponse';
|
|
621
641
|
export { UpdateDeliveryTaskRequest } from './UpdateDeliveryTaskRequest';
|
|
622
642
|
export { UpdateDeliveryTaskResponseBody } from './UpdateDeliveryTaskResponseBody';
|
|
623
643
|
export { UpdateDeliveryTaskResponse } from './UpdateDeliveryTaskResponse';
|