@alicloud/rdsai20250507 3.0.1 → 3.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 +32 -2
- package/dist/client.js +94 -2
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeModelOperatorResponseBody.d.ts +1 -0
- package/dist/models/DescribeModelOperatorResponseBody.js +2 -0
- package/dist/models/DescribeModelOperatorResponseBody.js.map +1 -1
- package/dist/models/DisableAgentRuntimeRequest.d.ts +31 -0
- package/dist/models/DisableAgentRuntimeRequest.js +62 -0
- package/dist/models/DisableAgentRuntimeRequest.js.map +1 -0
- package/dist/models/DisableAgentRuntimeResponse.d.ts +19 -0
- package/dist/models/DisableAgentRuntimeResponse.js +69 -0
- package/dist/models/DisableAgentRuntimeResponse.js.map +1 -0
- package/dist/models/DisableAgentRuntimeResponseBody.d.ts +26 -0
- package/dist/models/DisableAgentRuntimeResponseBody.js +60 -0
- package/dist/models/DisableAgentRuntimeResponseBody.js.map +1 -0
- package/dist/models/GetModelOperatorOrderResponseBody.d.ts +32 -0
- package/dist/models/GetModelOperatorOrderResponseBody.js.map +1 -1
- package/dist/models/ListApiKeysResponseBody.d.ts +2 -0
- package/dist/models/ListApiKeysResponseBody.js +4 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -1
- package/dist/models/UpdateMoquotaAlertThresholdRequest.d.ts +47 -0
- package/dist/models/UpdateMoquotaAlertThresholdRequest.js +84 -0
- package/dist/models/UpdateMoquotaAlertThresholdRequest.js.map +1 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponse.d.ts +19 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponse.js +69 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponse.js.map +1 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponseBody.d.ts +63 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponseBody.js +92 -0
- package/dist/models/UpdateMoquotaAlertThresholdResponseBody.js.map +1 -0
- package/dist/models/UpdateMoquotaAlertThresholdShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateMoquotaAlertThresholdShrinkRequest.js +60 -0
- package/dist/models/UpdateMoquotaAlertThresholdShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +23 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +104 -2
- package/src/models/DescribeModelOperatorResponseBody.ts +3 -0
- package/src/models/DisableAgentRuntimeRequest.ts +48 -0
- package/src/models/DisableAgentRuntimeResponse.ts +40 -0
- package/src/models/DisableAgentRuntimeResponseBody.ts +41 -0
- package/src/models/GetModelOperatorOrderResponseBody.ts +32 -0
- package/src/models/ListApiKeysResponseBody.ts +6 -0
- package/src/models/UpdateMoquotaAlertThresholdRequest.ts +77 -0
- package/src/models/UpdateMoquotaAlertThresholdResponse.ts +40 -0
- package/src/models/UpdateMoquotaAlertThresholdResponseBody.ts +101 -0
- package/src/models/UpdateMoquotaAlertThresholdShrinkRequest.ts +41 -0
- package/src/models/model.ts +9 -0
|
@@ -179,6 +179,7 @@ export class DescribeModelOperatorResponseBodyData extends $dara.Model {
|
|
|
179
179
|
*/
|
|
180
180
|
instanceId?: string;
|
|
181
181
|
keyUsageList?: DescribeModelOperatorResponseBodyDataKeyUsageList[];
|
|
182
|
+
prefixCacheEnabled?: boolean;
|
|
182
183
|
/**
|
|
183
184
|
* @example
|
|
184
185
|
* 1772439028000
|
|
@@ -210,6 +211,7 @@ export class DescribeModelOperatorResponseBodyData extends $dara.Model {
|
|
|
210
211
|
instanceClass: 'InstanceClass',
|
|
211
212
|
instanceId: 'InstanceId',
|
|
212
213
|
keyUsageList: 'KeyUsageList',
|
|
214
|
+
prefixCacheEnabled: 'PrefixCacheEnabled',
|
|
213
215
|
startTime: 'StartTime',
|
|
214
216
|
status: 'Status',
|
|
215
217
|
totalQuota: 'TotalQuota',
|
|
@@ -228,6 +230,7 @@ export class DescribeModelOperatorResponseBodyData extends $dara.Model {
|
|
|
228
230
|
instanceClass: 'string',
|
|
229
231
|
instanceId: 'string',
|
|
230
232
|
keyUsageList: { 'type': 'array', 'itemType': DescribeModelOperatorResponseBodyDataKeyUsageList },
|
|
233
|
+
prefixCacheEnabled: 'boolean',
|
|
231
234
|
startTime: 'number',
|
|
232
235
|
status: 'string',
|
|
233
236
|
totalQuota: 'number',
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DisableAgentRuntimeRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0c593ea1-3bea-11e9-b96b-88**********
|
|
9
|
+
*/
|
|
10
|
+
clientToken?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ra-supabase-8moov5lxba****
|
|
17
|
+
*/
|
|
18
|
+
instanceName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cn-beijing
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
clientToken: 'ClientToken',
|
|
27
|
+
instanceName: 'InstanceName',
|
|
28
|
+
regionId: 'RegionId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
clientToken: 'string',
|
|
35
|
+
instanceName: 'string',
|
|
36
|
+
regionId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DisableAgentRuntimeResponseBody } from "./DisableAgentRuntimeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DisableAgentRuntimeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DisableAgentRuntimeResponseBody;
|
|
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: DisableAgentRuntimeResponseBody,
|
|
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,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DisableAgentRuntimeResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ra-supabase-8moov5lxba****
|
|
9
|
+
*/
|
|
10
|
+
instanceName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Id of the request
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* D984FD38-6C2D-55DF-B0D7-8BCAC2E1F8C2
|
|
17
|
+
*/
|
|
18
|
+
requestId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
instanceName: 'InstanceName',
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
instanceName: 'string',
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -4,26 +4,41 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetModelOperatorOrderResponseBodyDataInstanceList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The instance end time (format: Timestamp).
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1775145600000
|
|
9
12
|
*/
|
|
10
13
|
endTime?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* instance type
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* xlarge
|
|
14
20
|
*/
|
|
15
21
|
instanceClass?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The instance name.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* rds_copilot***_public_cn-*********6
|
|
19
28
|
*/
|
|
20
29
|
instanceId?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The instance start time (format: Timestamp).
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* 1772439028000
|
|
24
36
|
*/
|
|
25
37
|
startTime?: number;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The instance status.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* active/creating
|
|
29
44
|
*/
|
|
@@ -59,10 +74,17 @@ export class GetModelOperatorOrderResponseBodyDataInstanceList extends $dara.Mod
|
|
|
59
74
|
|
|
60
75
|
export class GetModelOperatorOrderResponseBodyData extends $dara.Model {
|
|
61
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* Indicates whether a valid order exists.
|
|
79
|
+
*
|
|
62
80
|
* @example
|
|
63
81
|
* true
|
|
64
82
|
*/
|
|
65
83
|
hasValidOrder?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The instance list.
|
|
87
|
+
*/
|
|
66
88
|
instanceList?: GetModelOperatorOrderResponseBodyDataInstanceList[];
|
|
67
89
|
static names(): { [key: string]: string } {
|
|
68
90
|
return {
|
|
@@ -91,8 +113,15 @@ export class GetModelOperatorOrderResponseBodyData extends $dara.Model {
|
|
|
91
113
|
}
|
|
92
114
|
|
|
93
115
|
export class GetModelOperatorOrderResponseBody extends $dara.Model {
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The query result.
|
|
119
|
+
*/
|
|
94
120
|
data?: GetModelOperatorOrderResponseBodyData;
|
|
95
121
|
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The returned message.
|
|
124
|
+
*
|
|
96
125
|
* @example
|
|
97
126
|
* success
|
|
98
127
|
*/
|
|
@@ -106,6 +135,9 @@ export class GetModelOperatorOrderResponseBody extends $dara.Model {
|
|
|
106
135
|
*/
|
|
107
136
|
requestId?: string;
|
|
108
137
|
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* Request result.
|
|
140
|
+
*
|
|
109
141
|
* @example
|
|
110
142
|
* true
|
|
111
143
|
*/
|
|
@@ -27,6 +27,7 @@ export class ListApiKeysResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
27
27
|
* fixed
|
|
28
28
|
*/
|
|
29
29
|
limitType?: string;
|
|
30
|
+
thresholdPercent?: number;
|
|
30
31
|
/**
|
|
31
32
|
* @example
|
|
32
33
|
* 10000
|
|
@@ -39,6 +40,7 @@ export class ListApiKeysResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
39
40
|
keyName: 'KeyName',
|
|
40
41
|
limitRate: 'LimitRate',
|
|
41
42
|
limitType: 'LimitType',
|
|
43
|
+
thresholdPercent: 'ThresholdPercent',
|
|
42
44
|
tokenQuota: 'TokenQuota',
|
|
43
45
|
};
|
|
44
46
|
}
|
|
@@ -50,6 +52,7 @@ export class ListApiKeysResponseBodyDataCustomKeyList extends $dara.Model {
|
|
|
50
52
|
keyName: 'string',
|
|
51
53
|
limitRate: 'number',
|
|
52
54
|
limitType: 'string',
|
|
55
|
+
thresholdPercent: 'number',
|
|
53
56
|
tokenQuota: 'number',
|
|
54
57
|
};
|
|
55
58
|
}
|
|
@@ -86,6 +89,7 @@ export class ListApiKeysResponseBodyData extends $dara.Model {
|
|
|
86
89
|
* sk-rds-xxx
|
|
87
90
|
*/
|
|
88
91
|
systemApiKey?: string;
|
|
92
|
+
thresholdPercent?: number;
|
|
89
93
|
/**
|
|
90
94
|
* @example
|
|
91
95
|
* 138
|
|
@@ -99,6 +103,7 @@ export class ListApiKeysResponseBodyData extends $dara.Model {
|
|
|
99
103
|
page: 'Page',
|
|
100
104
|
pageSize: 'PageSize',
|
|
101
105
|
systemApiKey: 'SystemApiKey',
|
|
106
|
+
thresholdPercent: 'ThresholdPercent',
|
|
102
107
|
total: 'Total',
|
|
103
108
|
};
|
|
104
109
|
}
|
|
@@ -111,6 +116,7 @@ export class ListApiKeysResponseBodyData extends $dara.Model {
|
|
|
111
116
|
page: 'number',
|
|
112
117
|
pageSize: 'number',
|
|
113
118
|
systemApiKey: 'string',
|
|
119
|
+
thresholdPercent: 'number',
|
|
114
120
|
total: 'number',
|
|
115
121
|
};
|
|
116
122
|
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateMOQuotaAlertThresholdRequestApikey extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* ApiKey
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sk-rds-*****
|
|
12
|
+
*/
|
|
13
|
+
apikey?: string;
|
|
14
|
+
thresholdPercent?: number;
|
|
15
|
+
static names(): { [key: string]: string } {
|
|
16
|
+
return {
|
|
17
|
+
apikey: 'Apikey',
|
|
18
|
+
thresholdPercent: 'ThresholdPercent',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
apikey: 'string',
|
|
25
|
+
thresholdPercent: 'number',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class UpdateMOQuotaAlertThresholdRequest extends $dara.Model {
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* This parameter is required.
|
|
42
|
+
*/
|
|
43
|
+
apikey?: UpdateMOQuotaAlertThresholdRequestApikey[];
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* This parameter is required.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* rds_copilot***_public_cn-*********6
|
|
50
|
+
*/
|
|
51
|
+
instanceId?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
apikey: 'Apikey',
|
|
55
|
+
instanceId: 'InstanceId',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
apikey: { 'type': 'array', 'itemType': UpdateMOQuotaAlertThresholdRequestApikey },
|
|
62
|
+
instanceId: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
if(Array.isArray(this.apikey)) {
|
|
68
|
+
$dara.Model.validateArray(this.apikey);
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateMOQuotaAlertThresholdResponseBody } from "./UpdateMoquotaAlertThresholdResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateMOQuotaAlertThresholdResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateMOQuotaAlertThresholdResponseBody;
|
|
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: UpdateMOQuotaAlertThresholdResponseBody,
|
|
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,101 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateMOQuotaAlertThresholdResponseBodyResults extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* API Key
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sk-rds-*****
|
|
12
|
+
*/
|
|
13
|
+
apikey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* rds_copilot***_public_cn-o*****1
|
|
17
|
+
*/
|
|
18
|
+
instanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* api-*****
|
|
22
|
+
*/
|
|
23
|
+
keyName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* system / custom
|
|
27
|
+
*/
|
|
28
|
+
keyType?: string;
|
|
29
|
+
thresholdPercent?: number;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
apikey: 'Apikey',
|
|
33
|
+
instanceId: 'InstanceId',
|
|
34
|
+
keyName: 'KeyName',
|
|
35
|
+
keyType: 'KeyType',
|
|
36
|
+
thresholdPercent: 'ThresholdPercent',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
apikey: 'string',
|
|
43
|
+
instanceId: 'string',
|
|
44
|
+
keyName: 'string',
|
|
45
|
+
keyType: 'string',
|
|
46
|
+
thresholdPercent: 'number',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class UpdateMOQuotaAlertThresholdResponseBody extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Id of the request
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
66
|
+
*/
|
|
67
|
+
requestId?: string;
|
|
68
|
+
results?: UpdateMOQuotaAlertThresholdResponseBodyResults[];
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* true
|
|
72
|
+
*/
|
|
73
|
+
success?: boolean;
|
|
74
|
+
static names(): { [key: string]: string } {
|
|
75
|
+
return {
|
|
76
|
+
requestId: 'RequestId',
|
|
77
|
+
results: 'Results',
|
|
78
|
+
success: 'Success',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static types(): { [key: string]: any } {
|
|
83
|
+
return {
|
|
84
|
+
requestId: 'string',
|
|
85
|
+
results: { 'type': 'array', 'itemType': UpdateMOQuotaAlertThresholdResponseBodyResults },
|
|
86
|
+
success: 'boolean',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
validate() {
|
|
91
|
+
if(Array.isArray(this.results)) {
|
|
92
|
+
$dara.Model.validateArray(this.results);
|
|
93
|
+
}
|
|
94
|
+
super.validate();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
constructor(map?: { [key: string]: any }) {
|
|
98
|
+
super(map);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateMOQuotaAlertThresholdShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
apikeyShrink?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* rds_copilot***_public_cn-*********6
|
|
17
|
+
*/
|
|
18
|
+
instanceId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
apikeyShrink: 'Apikey',
|
|
22
|
+
instanceId: 'InstanceId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
apikeyShrink: 'string',
|
|
29
|
+
instanceId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -55,6 +55,8 @@ export { UpdateApiKeyQuotaRequestKeys } from './UpdateApiKeyQuotaRequest';
|
|
|
55
55
|
export { UpdateApiKeyQuotaResponseBodyDataCustomKeyList } from './UpdateApiKeyQuotaResponseBody';
|
|
56
56
|
export { UpdateApiKeyQuotaResponseBodyData } from './UpdateApiKeyQuotaResponseBody';
|
|
57
57
|
export { UpdateCustomAgentResponseBodySkills } from './UpdateCustomAgentResponseBody';
|
|
58
|
+
export { UpdateMOQuotaAlertThresholdRequestApikey } from './UpdateMoquotaAlertThresholdRequest';
|
|
59
|
+
export { UpdateMOQuotaAlertThresholdResponseBodyResults } from './UpdateMoquotaAlertThresholdResponseBody';
|
|
58
60
|
export { ChatMessagesRequest } from './ChatMessagesRequest';
|
|
59
61
|
export { ChatMessagesShrinkRequest } from './ChatMessagesShrinkRequest';
|
|
60
62
|
export { ChatMessagesResponseBody } from './ChatMessagesResponseBody';
|
|
@@ -141,6 +143,9 @@ export { DescribeSandboxTemplatesResponse } from './DescribeSandboxTemplatesResp
|
|
|
141
143
|
export { DescribeWhitelistIpsRequest } from './DescribeWhitelistIpsRequest';
|
|
142
144
|
export { DescribeWhitelistIpsResponseBody } from './DescribeWhitelistIpsResponseBody';
|
|
143
145
|
export { DescribeWhitelistIpsResponse } from './DescribeWhitelistIpsResponse';
|
|
146
|
+
export { DisableAgentRuntimeRequest } from './DisableAgentRuntimeRequest';
|
|
147
|
+
export { DisableAgentRuntimeResponseBody } from './DisableAgentRuntimeResponseBody';
|
|
148
|
+
export { DisableAgentRuntimeResponse } from './DisableAgentRuntimeResponse';
|
|
144
149
|
export { EnableAgentRuntimeRequest } from './EnableAgentRuntimeRequest';
|
|
145
150
|
export { EnableAgentRuntimeResponseBody } from './EnableAgentRuntimeResponseBody';
|
|
146
151
|
export { EnableAgentRuntimeResponse } from './EnableAgentRuntimeResponse';
|
|
@@ -245,6 +250,10 @@ export { UpdateCustomAgentRequest } from './UpdateCustomAgentRequest';
|
|
|
245
250
|
export { UpdateCustomAgentShrinkRequest } from './UpdateCustomAgentShrinkRequest';
|
|
246
251
|
export { UpdateCustomAgentResponseBody } from './UpdateCustomAgentResponseBody';
|
|
247
252
|
export { UpdateCustomAgentResponse } from './UpdateCustomAgentResponse';
|
|
253
|
+
export { UpdateMOQuotaAlertThresholdRequest } from './UpdateMoquotaAlertThresholdRequest';
|
|
254
|
+
export { UpdateMOQuotaAlertThresholdShrinkRequest } from './UpdateMoquotaAlertThresholdShrinkRequest';
|
|
255
|
+
export { UpdateMOQuotaAlertThresholdResponseBody } from './UpdateMoquotaAlertThresholdResponseBody';
|
|
256
|
+
export { UpdateMOQuotaAlertThresholdResponse } from './UpdateMoquotaAlertThresholdResponse';
|
|
248
257
|
export { UpdateSkillRequest } from './UpdateSkillRequest';
|
|
249
258
|
export { UpdateSkillShrinkRequest } from './UpdateSkillShrinkRequest';
|
|
250
259
|
export { UpdateSkillResponseBody } from './UpdateSkillResponseBody';
|