@alicloud/cms20240330 4.0.0 → 4.2.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 +87 -0
- package/dist/client.js +253 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +28 -0
- package/dist/models/ChangeResourceGroupRequest.js +62 -0
- package/dist/models/ChangeResourceGroupRequest.js.map +1 -0
- package/dist/models/ChangeResourceGroupResponse.d.ts +19 -0
- package/dist/models/ChangeResourceGroupResponse.js +69 -0
- package/dist/models/ChangeResourceGroupResponse.js.map +1 -0
- package/dist/models/ChangeResourceGroupResponseBody.d.ts +18 -0
- package/dist/models/ChangeResourceGroupResponseBody.js +58 -0
- package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -0
- package/dist/models/CreateIntegrationPolicyRequest.d.ts +1 -0
- package/dist/models/CreateIntegrationPolicyRequest.js +2 -0
- package/dist/models/CreateIntegrationPolicyRequest.js.map +1 -1
- package/dist/models/CreateServiceObservabilityResponse.d.ts +19 -0
- package/dist/models/CreateServiceObservabilityResponse.js +69 -0
- package/dist/models/CreateServiceObservabilityResponse.js.map +1 -0
- package/dist/models/CreateServiceObservabilityResponseBody.d.ts +21 -0
- package/dist/models/CreateServiceObservabilityResponseBody.js +58 -0
- package/dist/models/CreateServiceObservabilityResponseBody.js.map +1 -0
- package/dist/models/GetDigitalEmployeeResponseBody.d.ts +1 -0
- package/dist/models/GetDigitalEmployeeResponseBody.js +2 -0
- package/dist/models/GetDigitalEmployeeResponseBody.js.map +1 -1
- package/dist/models/ListDigitalEmployeesRequest.d.ts +1 -0
- package/dist/models/ListDigitalEmployeesRequest.js +2 -0
- package/dist/models/ListDigitalEmployeesRequest.js.map +1 -1
- package/dist/models/ListDigitalEmployeesResponseBody.d.ts +1 -0
- package/dist/models/ListDigitalEmployeesResponseBody.js +2 -0
- package/dist/models/ListDigitalEmployeesResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +34 -0
- package/dist/models/ListTagResourcesRequest.js +73 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -0
- package/dist/models/ListTagResourcesResponse.d.ts +19 -0
- package/dist/models/ListTagResourcesResponse.js +69 -0
- package/dist/models/ListTagResourcesResponse.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBody.d.ts +61 -0
- package/dist/models/ListTagResourcesResponseBody.js +92 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +33 -0
- package/dist/models/ListTagResourcesShrinkRequest.js +66 -0
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/TagResourcesRequest.d.ts +28 -0
- package/dist/models/TagResourcesRequest.js +69 -0
- package/dist/models/TagResourcesRequest.js.map +1 -0
- package/dist/models/TagResourcesResponse.d.ts +19 -0
- package/dist/models/TagResourcesResponse.js +69 -0
- package/dist/models/TagResourcesResponse.js.map +1 -0
- package/dist/models/TagResourcesResponseBody.d.ts +18 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesRequest.d.ts +32 -0
- package/dist/models/UntagResourcesRequest.js +70 -0
- package/dist/models/UntagResourcesRequest.js.map +1 -0
- package/dist/models/UntagResourcesResponse.d.ts +19 -0
- package/dist/models/UntagResourcesResponse.js +69 -0
- package/dist/models/UntagResourcesResponse.js.map +1 -0
- package/dist/models/UntagResourcesResponseBody.d.ts +18 -0
- package/dist/models/UntagResourcesResponseBody.js +58 -0
- package/dist/models/UntagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesShrinkRequest.d.ts +32 -0
- package/dist/models/UntagResourcesShrinkRequest.js +64 -0
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +43 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +283 -0
- package/src/models/ChangeResourceGroupRequest.ts +45 -0
- package/src/models/ChangeResourceGroupResponse.ts +40 -0
- package/src/models/ChangeResourceGroupResponseBody.ts +31 -0
- package/src/models/CreateIntegrationPolicyRequest.ts +3 -0
- package/src/models/CreateServiceObservabilityResponse.ts +40 -0
- package/src/models/CreateServiceObservabilityResponseBody.ts +34 -0
- package/src/models/GetDigitalEmployeeResponseBody.ts +3 -0
- package/src/models/ListDigitalEmployeesRequest.ts +3 -0
- package/src/models/ListDigitalEmployeesResponseBody.ts +3 -0
- package/src/models/ListTagResourcesRequest.ts +61 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +99 -0
- package/src/models/ListTagResourcesShrinkRequest.ts +54 -0
- package/src/models/TagResourcesRequest.ts +51 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +31 -0
- package/src/models/UntagResourcesRequest.ts +57 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +31 -0
- package/src/models/UntagResourcesShrinkRequest.ts +51 -0
- package/src/models/model.ts +17 -0
|
@@ -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 ChangeResourceGroupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* rg-ae******ey
|
|
9
|
+
*/
|
|
10
|
+
resourceGroupId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* test
|
|
14
|
+
*/
|
|
15
|
+
resourceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* Service
|
|
19
|
+
*/
|
|
20
|
+
resourceType?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
resourceGroupId: 'resourceGroupId',
|
|
24
|
+
resourceId: 'resourceId',
|
|
25
|
+
resourceType: 'resourceType',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
resourceGroupId: 'string',
|
|
32
|
+
resourceId: 'string',
|
|
33
|
+
resourceType: '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 { ChangeResourceGroupResponseBody } from "./ChangeResourceGroupResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ChangeResourceGroupResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ChangeResourceGroupResponseBody;
|
|
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: ChangeResourceGroupResponseBody,
|
|
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 ChangeResourceGroupResponseBody 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
|
+
|
|
@@ -19,6 +19,7 @@ export class CreateIntegrationPolicyRequestEntityGroup extends $dara.Model {
|
|
|
19
19
|
* na61prod3-na61cloudhdfsssd
|
|
20
20
|
*/
|
|
21
21
|
clusterId?: string;
|
|
22
|
+
clusterNamespace?: string;
|
|
22
23
|
/**
|
|
23
24
|
* @remarks
|
|
24
25
|
* Whether to disable the unique binding of the Policy. If enabled, multiple Policies can be created for a single container cluster.
|
|
@@ -55,6 +56,7 @@ export class CreateIntegrationPolicyRequestEntityGroup extends $dara.Model {
|
|
|
55
56
|
return {
|
|
56
57
|
clusterEntityType: 'clusterEntityType',
|
|
57
58
|
clusterId: 'clusterId',
|
|
59
|
+
clusterNamespace: 'clusterNamespace',
|
|
58
60
|
disablePolicyShare: 'disablePolicyShare',
|
|
59
61
|
entityGroupId: 'entityGroupId',
|
|
60
62
|
entityUserId: 'entityUserId',
|
|
@@ -66,6 +68,7 @@ export class CreateIntegrationPolicyRequestEntityGroup extends $dara.Model {
|
|
|
66
68
|
return {
|
|
67
69
|
clusterEntityType: 'string',
|
|
68
70
|
clusterId: 'string',
|
|
71
|
+
clusterNamespace: 'string',
|
|
69
72
|
disablePolicyShare: 'boolean',
|
|
70
73
|
entityGroupId: 'string',
|
|
71
74
|
entityUserId: 'string',
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateServiceObservabilityResponseBody } from "./CreateServiceObservabilityResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateServiceObservabilityResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateServiceObservabilityResponseBody;
|
|
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: CreateServiceObservabilityResponseBody,
|
|
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 CreateServiceObservabilityResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
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
|
+
|
|
@@ -100,6 +100,7 @@ export class GetDigitalEmployeeResponseBody extends $dara.Model {
|
|
|
100
100
|
* test
|
|
101
101
|
*/
|
|
102
102
|
displayName?: string;
|
|
103
|
+
employeeType?: string;
|
|
103
104
|
knowledges?: GetDigitalEmployeeResponseBodyKnowledges;
|
|
104
105
|
/**
|
|
105
106
|
* @example
|
|
@@ -135,6 +136,7 @@ export class GetDigitalEmployeeResponseBody extends $dara.Model {
|
|
|
135
136
|
defaultRule: 'defaultRule',
|
|
136
137
|
description: 'description',
|
|
137
138
|
displayName: 'displayName',
|
|
139
|
+
employeeType: 'employeeType',
|
|
138
140
|
knowledges: 'knowledges',
|
|
139
141
|
name: 'name',
|
|
140
142
|
regionId: 'regionId',
|
|
@@ -150,6 +152,7 @@ export class GetDigitalEmployeeResponseBody extends $dara.Model {
|
|
|
150
152
|
defaultRule: 'string',
|
|
151
153
|
description: 'string',
|
|
152
154
|
displayName: 'string',
|
|
155
|
+
employeeType: 'string',
|
|
153
156
|
knowledges: GetDigitalEmployeeResponseBodyKnowledges,
|
|
154
157
|
name: 'string',
|
|
155
158
|
regionId: 'string',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListDigitalEmployeesRequest extends $dara.Model {
|
|
6
|
+
employeeType?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @example
|
|
8
9
|
* 10
|
|
@@ -20,6 +21,7 @@ export class ListDigitalEmployeesRequest extends $dara.Model {
|
|
|
20
21
|
nextToken?: string;
|
|
21
22
|
static names(): { [key: string]: string } {
|
|
22
23
|
return {
|
|
24
|
+
employeeType: 'employeeType',
|
|
23
25
|
maxResults: 'maxResults',
|
|
24
26
|
name: 'name',
|
|
25
27
|
nextToken: 'nextToken',
|
|
@@ -28,6 +30,7 @@ export class ListDigitalEmployeesRequest extends $dara.Model {
|
|
|
28
30
|
|
|
29
31
|
static types(): { [key: string]: any } {
|
|
30
32
|
return {
|
|
33
|
+
employeeType: 'string',
|
|
31
34
|
maxResults: 'number',
|
|
32
35
|
name: 'string',
|
|
33
36
|
nextToken: 'string',
|
|
@@ -100,6 +100,7 @@ export class ListDigitalEmployeesResponseBodyDigitalEmployees extends $dara.Mode
|
|
|
100
100
|
* test
|
|
101
101
|
*/
|
|
102
102
|
displayName?: string;
|
|
103
|
+
employeeType?: string;
|
|
103
104
|
knowledges?: ListDigitalEmployeesResponseBodyDigitalEmployeesKnowledges;
|
|
104
105
|
/**
|
|
105
106
|
* @example
|
|
@@ -125,6 +126,7 @@ export class ListDigitalEmployeesResponseBodyDigitalEmployees extends $dara.Mode
|
|
|
125
126
|
defaultRule: 'defaultRule',
|
|
126
127
|
description: 'description',
|
|
127
128
|
displayName: 'displayName',
|
|
129
|
+
employeeType: 'employeeType',
|
|
128
130
|
knowledges: 'knowledges',
|
|
129
131
|
name: 'name',
|
|
130
132
|
roleArn: 'roleArn',
|
|
@@ -138,6 +140,7 @@ export class ListDigitalEmployeesResponseBodyDigitalEmployees extends $dara.Mode
|
|
|
138
140
|
defaultRule: 'string',
|
|
139
141
|
description: 'string',
|
|
140
142
|
displayName: 'string',
|
|
143
|
+
employeeType: 'string',
|
|
141
144
|
knowledges: ListDigitalEmployeesResponseBodyDigitalEmployeesKnowledges,
|
|
142
145
|
name: 'string',
|
|
143
146
|
roleArn: 'string',
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { Tag } from "./Tag";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTagResourcesRequest extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 20
|
|
10
|
+
*/
|
|
11
|
+
maxResults?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* xxxxxxxxxx
|
|
15
|
+
*/
|
|
16
|
+
nextToken?: string;
|
|
17
|
+
resourceId?: string[];
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* Service
|
|
24
|
+
*/
|
|
25
|
+
resourceType?: string;
|
|
26
|
+
tag?: Tag[];
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
maxResults: 'maxResults',
|
|
30
|
+
nextToken: 'nextToken',
|
|
31
|
+
resourceId: 'resourceId',
|
|
32
|
+
resourceType: 'resourceType',
|
|
33
|
+
tag: 'tag',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
maxResults: 'number',
|
|
40
|
+
nextToken: 'string',
|
|
41
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
42
|
+
resourceType: 'string',
|
|
43
|
+
tag: { 'type': 'array', 'itemType': Tag },
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
if(Array.isArray(this.resourceId)) {
|
|
49
|
+
$dara.Model.validateArray(this.resourceId);
|
|
50
|
+
}
|
|
51
|
+
if(Array.isArray(this.tag)) {
|
|
52
|
+
$dara.Model.validateArray(this.tag);
|
|
53
|
+
}
|
|
54
|
+
super.validate();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
constructor(map?: { [key: string]: any }) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTagResourcesResponseBody } from "./ListTagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTagResourcesResponseBody;
|
|
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: ListTagResourcesResponseBody,
|
|
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,99 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagResourcesResponseBodyTagResources extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* test
|
|
9
|
+
*/
|
|
10
|
+
resourceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Service
|
|
14
|
+
*/
|
|
15
|
+
resourceType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* env
|
|
19
|
+
*/
|
|
20
|
+
tagKey?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* test
|
|
24
|
+
*/
|
|
25
|
+
tagValue?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
resourceId: 'resourceId',
|
|
29
|
+
resourceType: 'resourceType',
|
|
30
|
+
tagKey: 'tagKey',
|
|
31
|
+
tagValue: 'tagValue',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
resourceId: 'string',
|
|
38
|
+
resourceType: 'string',
|
|
39
|
+
tagKey: 'string',
|
|
40
|
+
tagValue: '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 ListTagResourcesResponseBody extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* 20
|
|
57
|
+
*/
|
|
58
|
+
maxResults?: number;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* xxxxxxxxxx
|
|
62
|
+
*/
|
|
63
|
+
nextToken?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* 0CEC5375-C554-562B-A65F-***
|
|
67
|
+
*/
|
|
68
|
+
requestId?: string;
|
|
69
|
+
tagResources?: ListTagResourcesResponseBodyTagResources[];
|
|
70
|
+
static names(): { [key: string]: string } {
|
|
71
|
+
return {
|
|
72
|
+
maxResults: 'maxResults',
|
|
73
|
+
nextToken: 'nextToken',
|
|
74
|
+
requestId: 'requestId',
|
|
75
|
+
tagResources: 'tagResources',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
maxResults: 'number',
|
|
82
|
+
nextToken: 'string',
|
|
83
|
+
requestId: 'string',
|
|
84
|
+
tagResources: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResources },
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
validate() {
|
|
89
|
+
if(Array.isArray(this.tagResources)) {
|
|
90
|
+
$dara.Model.validateArray(this.tagResources);
|
|
91
|
+
}
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagResourcesShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 20
|
|
9
|
+
*/
|
|
10
|
+
maxResults?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* xxxxxxxxxx
|
|
14
|
+
*/
|
|
15
|
+
nextToken?: string;
|
|
16
|
+
resourceIdShrink?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* This parameter is required.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* Service
|
|
23
|
+
*/
|
|
24
|
+
resourceType?: string;
|
|
25
|
+
tagShrink?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
maxResults: 'maxResults',
|
|
29
|
+
nextToken: 'nextToken',
|
|
30
|
+
resourceIdShrink: 'resourceId',
|
|
31
|
+
resourceType: 'resourceType',
|
|
32
|
+
tagShrink: 'tag',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
static types(): { [key: string]: any } {
|
|
37
|
+
return {
|
|
38
|
+
maxResults: 'number',
|
|
39
|
+
nextToken: 'string',
|
|
40
|
+
resourceIdShrink: 'string',
|
|
41
|
+
resourceType: 'string',
|
|
42
|
+
tagShrink: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { Tag } from "./Tag";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class TagResourcesRequest extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*/
|
|
11
|
+
resourceId?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* This parameter is required.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* Service
|
|
18
|
+
*/
|
|
19
|
+
resourceType?: string;
|
|
20
|
+
tag?: Tag[];
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
resourceId: 'resourceId',
|
|
24
|
+
resourceType: 'resourceType',
|
|
25
|
+
tag: 'tag',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
32
|
+
resourceType: 'string',
|
|
33
|
+
tag: { 'type': 'array', 'itemType': Tag },
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
if(Array.isArray(this.resourceId)) {
|
|
39
|
+
$dara.Model.validateArray(this.resourceId);
|
|
40
|
+
}
|
|
41
|
+
if(Array.isArray(this.tag)) {
|
|
42
|
+
$dara.Model.validateArray(this.tag);
|
|
43
|
+
}
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { TagResourcesResponseBody } from "./TagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class TagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: TagResourcesResponseBody;
|
|
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: TagResourcesResponseBody,
|
|
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 TagResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 3B311FD9-A60B-55E0-A896-A0C73*********
|
|
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
|
+
|