@alicloud/dms-enterprise20181101 2.2.1 → 2.3.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 +15 -0
- package/dist/client.js +57 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListTagMetaAssetRequest.d.ts +60 -0
- package/dist/models/ListTagMetaAssetRequest.js +70 -0
- package/dist/models/ListTagMetaAssetRequest.js.map +1 -0
- package/dist/models/ListTagMetaAssetResponse.d.ts +19 -0
- package/dist/models/ListTagMetaAssetResponse.js +69 -0
- package/dist/models/ListTagMetaAssetResponse.js.map +1 -0
- package/dist/models/ListTagMetaAssetResponseBody.d.ts +63 -0
- package/dist/models/ListTagMetaAssetResponseBody.js +95 -0
- package/dist/models/ListTagMetaAssetResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +30 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +66 -0
- package/src/models/ListTagMetaAssetRequest.ts +85 -0
- package/src/models/ListTagMetaAssetResponse.ts +40 -0
- package/src/models/ListTagMetaAssetResponseBody.ts +102 -0
- package/src/models/model.ts +4 -0
package/src/client.ts
CHANGED
|
@@ -13911,6 +13911,72 @@ export default class Client extends OpenApi {
|
|
|
13911
13911
|
return await this.listTablesInCategoryWithOptions(request, runtime);
|
|
13912
13912
|
}
|
|
13913
13913
|
|
|
13914
|
+
/**
|
|
13915
|
+
* 查询绑定特定标签的资产列表
|
|
13916
|
+
*
|
|
13917
|
+
* @param request - ListTagMetaAssetRequest
|
|
13918
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13919
|
+
* @returns ListTagMetaAssetResponse
|
|
13920
|
+
*/
|
|
13921
|
+
async listTagMetaAssetWithOptions(request: $_model.ListTagMetaAssetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListTagMetaAssetResponse> {
|
|
13922
|
+
request.validate();
|
|
13923
|
+
let query = { };
|
|
13924
|
+
if (!$dara.isNull(request.metaParentId)) {
|
|
13925
|
+
query["MetaParentId"] = request.metaParentId;
|
|
13926
|
+
}
|
|
13927
|
+
|
|
13928
|
+
if (!$dara.isNull(request.metaType)) {
|
|
13929
|
+
query["MetaType"] = request.metaType;
|
|
13930
|
+
}
|
|
13931
|
+
|
|
13932
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
13933
|
+
query["PageNumber"] = request.pageNumber;
|
|
13934
|
+
}
|
|
13935
|
+
|
|
13936
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
13937
|
+
query["PageSize"] = request.pageSize;
|
|
13938
|
+
}
|
|
13939
|
+
|
|
13940
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
13941
|
+
query["SearchKey"] = request.searchKey;
|
|
13942
|
+
}
|
|
13943
|
+
|
|
13944
|
+
if (!$dara.isNull(request.tagName)) {
|
|
13945
|
+
query["TagName"] = request.tagName;
|
|
13946
|
+
}
|
|
13947
|
+
|
|
13948
|
+
if (!$dara.isNull(request.tid)) {
|
|
13949
|
+
query["Tid"] = request.tid;
|
|
13950
|
+
}
|
|
13951
|
+
|
|
13952
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
13953
|
+
query: OpenApiUtil.query(query),
|
|
13954
|
+
});
|
|
13955
|
+
let params = new $OpenApiUtil.Params({
|
|
13956
|
+
action: "ListTagMetaAsset",
|
|
13957
|
+
version: "2018-11-01",
|
|
13958
|
+
protocol: "HTTPS",
|
|
13959
|
+
pathname: "/",
|
|
13960
|
+
method: "POST",
|
|
13961
|
+
authType: "AK",
|
|
13962
|
+
style: "RPC",
|
|
13963
|
+
reqBodyType: "formData",
|
|
13964
|
+
bodyType: "json",
|
|
13965
|
+
});
|
|
13966
|
+
return $dara.cast<$_model.ListTagMetaAssetResponse>(await this.callApi(params, req, runtime), new $_model.ListTagMetaAssetResponse({}));
|
|
13967
|
+
}
|
|
13968
|
+
|
|
13969
|
+
/**
|
|
13970
|
+
* 查询绑定特定标签的资产列表
|
|
13971
|
+
*
|
|
13972
|
+
* @param request - ListTagMetaAssetRequest
|
|
13973
|
+
* @returns ListTagMetaAssetResponse
|
|
13974
|
+
*/
|
|
13975
|
+
async listTagMetaAsset(request: $_model.ListTagMetaAssetRequest): Promise<$_model.ListTagMetaAssetResponse> {
|
|
13976
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
13977
|
+
return await this.listTagMetaAssetWithOptions(request, runtime);
|
|
13978
|
+
}
|
|
13979
|
+
|
|
13914
13980
|
/**
|
|
13915
13981
|
* Queries a list of task flows.
|
|
13916
13982
|
*
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagMetaAssetRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 123456
|
|
9
|
+
*/
|
|
10
|
+
metaParentId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* META_DATABASE
|
|
17
|
+
*/
|
|
18
|
+
metaType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 1
|
|
25
|
+
*/
|
|
26
|
+
pageNumber?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 50
|
|
33
|
+
*/
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* test
|
|
38
|
+
*/
|
|
39
|
+
searchKey?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* This parameter is required.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* sys::DMS-DA::cn-hangzhou::space:abcde
|
|
46
|
+
*/
|
|
47
|
+
tagName?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* 3***
|
|
51
|
+
*/
|
|
52
|
+
tid?: number;
|
|
53
|
+
static names(): { [key: string]: string } {
|
|
54
|
+
return {
|
|
55
|
+
metaParentId: 'MetaParentId',
|
|
56
|
+
metaType: 'MetaType',
|
|
57
|
+
pageNumber: 'PageNumber',
|
|
58
|
+
pageSize: 'PageSize',
|
|
59
|
+
searchKey: 'SearchKey',
|
|
60
|
+
tagName: 'TagName',
|
|
61
|
+
tid: 'Tid',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
metaParentId: 'string',
|
|
68
|
+
metaType: 'string',
|
|
69
|
+
pageNumber: 'number',
|
|
70
|
+
pageSize: 'number',
|
|
71
|
+
searchKey: 'string',
|
|
72
|
+
tagName: 'string',
|
|
73
|
+
tid: 'number',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
validate() {
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTagMetaAssetResponseBody } from "./ListTagMetaAssetResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTagMetaAssetResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTagMetaAssetResponseBody;
|
|
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: ListTagMetaAssetResponseBody,
|
|
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,102 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagMetaAssetResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {"schemaName": "test"}
|
|
9
|
+
*/
|
|
10
|
+
metaEntityAttrs?: { [key: string]: any };
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* META_DATABASE
|
|
14
|
+
*/
|
|
15
|
+
metaType?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
metaEntityAttrs: 'MetaEntityAttrs',
|
|
19
|
+
metaType: 'MetaType',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
metaEntityAttrs: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
26
|
+
metaType: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
if(this.metaEntityAttrs) {
|
|
32
|
+
$dara.Model.validateMap(this.metaEntityAttrs);
|
|
33
|
+
}
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export class ListTagMetaAssetResponseBody extends $dara.Model {
|
|
43
|
+
data?: ListTagMetaAssetResponseBodyData[];
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* UnknownError
|
|
47
|
+
*/
|
|
48
|
+
errorCode?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* UnknownError
|
|
52
|
+
*/
|
|
53
|
+
errorMessage?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* 0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931
|
|
57
|
+
*/
|
|
58
|
+
requestId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* true
|
|
62
|
+
*/
|
|
63
|
+
success?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* 100
|
|
67
|
+
*/
|
|
68
|
+
totalCount?: number;
|
|
69
|
+
static names(): { [key: string]: string } {
|
|
70
|
+
return {
|
|
71
|
+
data: 'Data',
|
|
72
|
+
errorCode: 'ErrorCode',
|
|
73
|
+
errorMessage: 'ErrorMessage',
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
success: 'Success',
|
|
76
|
+
totalCount: 'TotalCount',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static types(): { [key: string]: any } {
|
|
81
|
+
return {
|
|
82
|
+
data: { 'type': 'array', 'itemType': ListTagMetaAssetResponseBodyData },
|
|
83
|
+
errorCode: 'string',
|
|
84
|
+
errorMessage: 'string',
|
|
85
|
+
requestId: 'string',
|
|
86
|
+
success: 'boolean',
|
|
87
|
+
totalCount: 'number',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
validate() {
|
|
92
|
+
if(Array.isArray(this.data)) {
|
|
93
|
+
$dara.Model.validateArray(this.data);
|
|
94
|
+
}
|
|
95
|
+
super.validate();
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
constructor(map?: { [key: string]: any }) {
|
|
99
|
+
super(map);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -305,6 +305,7 @@ export { ListTablesResponseBodyTableListTableOwnerNameList } from './ListTablesR
|
|
|
305
305
|
export { ListTablesResponseBodyTableListTable } from './ListTablesResponseBody';
|
|
306
306
|
export { ListTablesResponseBodyTableList } from './ListTablesResponseBody';
|
|
307
307
|
export { ListTablesInCategoryResponseBodyEntityList } from './ListTablesInCategoryResponseBody';
|
|
308
|
+
export { ListTagMetaAssetResponseBodyData } from './ListTagMetaAssetResponseBody';
|
|
308
309
|
export { ListTaskFlowResponseBodyTaskFlowListTaskFlow } from './ListTaskFlowResponseBody';
|
|
309
310
|
export { ListTaskFlowResponseBodyTaskFlowList } from './ListTaskFlowResponseBody';
|
|
310
311
|
export { ListTaskFlowConstantsResponseBodyDagConstantsDagConstant } from './ListTaskFlowConstantsResponseBody';
|
|
@@ -1110,6 +1111,9 @@ export { ListTablesResponse } from './ListTablesResponse';
|
|
|
1110
1111
|
export { ListTablesInCategoryRequest } from './ListTablesInCategoryRequest';
|
|
1111
1112
|
export { ListTablesInCategoryResponseBody } from './ListTablesInCategoryResponseBody';
|
|
1112
1113
|
export { ListTablesInCategoryResponse } from './ListTablesInCategoryResponse';
|
|
1114
|
+
export { ListTagMetaAssetRequest } from './ListTagMetaAssetRequest';
|
|
1115
|
+
export { ListTagMetaAssetResponseBody } from './ListTagMetaAssetResponseBody';
|
|
1116
|
+
export { ListTagMetaAssetResponse } from './ListTagMetaAssetResponse';
|
|
1113
1117
|
export { ListTaskFlowRequest } from './ListTaskFlowRequest';
|
|
1114
1118
|
export { ListTaskFlowResponseBody } from './ListTaskFlowResponseBody';
|
|
1115
1119
|
export { ListTaskFlowResponse } from './ListTaskFlowResponse';
|