@alicloud/ess20220222 1.9.0 → 1.10.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 +66 -0
- package/dist/client.js +333 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.d.ts +45 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js +70 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsRequest.js.map +1 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.d.ts +19 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js +69 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponse.js.map +1 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.d.ts +69 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js +112 -0
- package/dist/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.js.map +1 -0
- package/dist/models/DescribeScalingActivityStatisticsRequest.d.ts +50 -0
- package/dist/models/DescribeScalingActivityStatisticsRequest.js +72 -0
- package/dist/models/DescribeScalingActivityStatisticsRequest.js.map +1 -0
- package/dist/models/DescribeScalingActivityStatisticsResponse.d.ts +19 -0
- package/dist/models/DescribeScalingActivityStatisticsResponse.js +69 -0
- package/dist/models/DescribeScalingActivityStatisticsResponse.js.map +1 -0
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.d.ts +105 -0
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.js +160 -0
- package/dist/models/DescribeScalingActivityStatisticsResponseBody.js.map +1 -0
- package/dist/models/QueryHistoricalMetricRequest.d.ts +56 -0
- package/dist/models/QueryHistoricalMetricRequest.js +72 -0
- package/dist/models/QueryHistoricalMetricRequest.js.map +1 -0
- package/dist/models/QueryHistoricalMetricResponse.d.ts +19 -0
- package/dist/models/QueryHistoricalMetricResponse.js +69 -0
- package/dist/models/QueryHistoricalMetricResponse.js.map +1 -0
- package/dist/models/QueryHistoricalMetricResponseBody.d.ts +54 -0
- package/dist/models/QueryHistoricalMetricResponseBody.js +106 -0
- package/dist/models/QueryHistoricalMetricResponseBody.js.map +1 -0
- package/dist/models/QueryPredictiveMetricRequest.d.ts +56 -0
- package/dist/models/QueryPredictiveMetricRequest.js +72 -0
- package/dist/models/QueryPredictiveMetricRequest.js.map +1 -0
- package/dist/models/QueryPredictiveMetricResponse.d.ts +19 -0
- package/dist/models/QueryPredictiveMetricResponse.js +69 -0
- package/dist/models/QueryPredictiveMetricResponse.js.map +1 -0
- package/dist/models/QueryPredictiveMetricResponseBody.d.ts +54 -0
- package/dist/models/QueryPredictiveMetricResponseBody.js +106 -0
- package/dist/models/QueryPredictiveMetricResponseBody.js.map +1 -0
- package/dist/models/QueryPredictiveTaskInfoRequest.d.ts +48 -0
- package/dist/models/QueryPredictiveTaskInfoRequest.js +70 -0
- package/dist/models/QueryPredictiveTaskInfoRequest.js.map +1 -0
- package/dist/models/QueryPredictiveTaskInfoResponse.d.ts +19 -0
- package/dist/models/QueryPredictiveTaskInfoResponse.js +69 -0
- package/dist/models/QueryPredictiveTaskInfoResponse.js.map +1 -0
- package/dist/models/QueryPredictiveTaskInfoResponseBody.d.ts +59 -0
- package/dist/models/QueryPredictiveTaskInfoResponseBody.js +108 -0
- package/dist/models/QueryPredictiveTaskInfoResponseBody.js.map +1 -0
- package/dist/models/QueryPredictiveValueRequest.d.ts +64 -0
- package/dist/models/QueryPredictiveValueRequest.js +74 -0
- package/dist/models/QueryPredictiveValueRequest.js.map +1 -0
- package/dist/models/QueryPredictiveValueResponse.d.ts +19 -0
- package/dist/models/QueryPredictiveValueResponse.js +69 -0
- package/dist/models/QueryPredictiveValueResponse.js.map +1 -0
- package/dist/models/QueryPredictiveValueResponseBody.d.ts +54 -0
- package/dist/models/QueryPredictiveValueResponseBody.js +106 -0
- package/dist/models/QueryPredictiveValueResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +32 -0
- package/dist/models/model.js +74 -10
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +392 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsRequest.ts +70 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponse.ts +40 -0
- package/src/models/DescribeInstanceCreateAndDeleteStatisticsResponseBody.ts +118 -0
- package/src/models/DescribeScalingActivityStatisticsRequest.ts +77 -0
- package/src/models/DescribeScalingActivityStatisticsResponse.ts +40 -0
- package/src/models/DescribeScalingActivityStatisticsResponseBody.ts +184 -0
- package/src/models/QueryHistoricalMetricRequest.ts +83 -0
- package/src/models/QueryHistoricalMetricResponse.ts +40 -0
- package/src/models/QueryHistoricalMetricResponseBody.ts +97 -0
- package/src/models/QueryPredictiveMetricRequest.ts +83 -0
- package/src/models/QueryPredictiveMetricResponse.ts +40 -0
- package/src/models/QueryPredictiveMetricResponseBody.ts +97 -0
- package/src/models/QueryPredictiveTaskInfoRequest.ts +73 -0
- package/src/models/QueryPredictiveTaskInfoResponse.ts +40 -0
- package/src/models/QueryPredictiveTaskInfoResponseBody.ts +104 -0
- package/src/models/QueryPredictiveValueRequest.ts +93 -0
- package/src/models/QueryPredictiveValueResponse.ts +40 -0
- package/src/models/QueryPredictiveValueResponseBody.ts +97 -0
- package/src/models/model.ts +32 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 10.0
|
|
9
|
+
*/
|
|
10
|
+
metricValue?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2025-12-17T16:00Z
|
|
14
|
+
*/
|
|
15
|
+
time?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
metricValue: 'MetricValue',
|
|
19
|
+
time: 'Time',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
metricValue: 'string',
|
|
26
|
+
time: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class QueryPredictiveMetricResponseBodyPredictiveMetrics extends $dara.Model {
|
|
40
|
+
predictiveMetric?: QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric[];
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
predictiveMetric: 'PredictiveMetric',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
predictiveMetric: { 'type': 'array', 'itemType': QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
if(Array.isArray(this.predictiveMetric)) {
|
|
55
|
+
$dara.Model.validateArray(this.predictiveMetric);
|
|
56
|
+
}
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class QueryPredictiveMetricResponseBody extends $dara.Model {
|
|
66
|
+
predictiveMetrics?: QueryPredictiveMetricResponseBodyPredictiveMetrics;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* CC107349-57B7-4405-B1BF-9BF5AF7F****
|
|
70
|
+
*/
|
|
71
|
+
requestId?: string;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
predictiveMetrics: 'PredictiveMetrics',
|
|
75
|
+
requestId: 'RequestId',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
predictiveMetrics: QueryPredictiveMetricResponseBodyPredictiveMetrics,
|
|
82
|
+
requestId: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
if(this.predictiveMetrics && typeof (this.predictiveMetrics as any).validate === 'function') {
|
|
88
|
+
(this.predictiveMetrics as any).validate();
|
|
89
|
+
}
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryPredictiveTaskInfoRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2025-12-18T08:00Z
|
|
12
|
+
*/
|
|
13
|
+
endTime?: string;
|
|
14
|
+
ownerId?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* This parameter is required.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* cn-hangzhou
|
|
21
|
+
*/
|
|
22
|
+
regionId?: string;
|
|
23
|
+
resourceOwnerAccount?: string;
|
|
24
|
+
resourceOwnerId?: number;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* This parameter is required.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* asr-bp1dp8yd9f8xxxxx
|
|
31
|
+
*/
|
|
32
|
+
scalingRuleId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* 2025-12-17T08:00Z
|
|
39
|
+
*/
|
|
40
|
+
startTime?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
endTime: 'EndTime',
|
|
44
|
+
ownerId: 'OwnerId',
|
|
45
|
+
regionId: 'RegionId',
|
|
46
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
47
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
48
|
+
scalingRuleId: 'ScalingRuleId',
|
|
49
|
+
startTime: 'StartTime',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
endTime: 'string',
|
|
56
|
+
ownerId: 'number',
|
|
57
|
+
regionId: 'string',
|
|
58
|
+
resourceOwnerAccount: 'string',
|
|
59
|
+
resourceOwnerId: 'number',
|
|
60
|
+
scalingRuleId: 'string',
|
|
61
|
+
startTime: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryPredictiveTaskInfoResponseBody } from "./QueryPredictiveTaskInfoResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryPredictiveTaskInfoResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryPredictiveTaskInfoResponseBody;
|
|
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: QueryPredictiveTaskInfoResponseBody,
|
|
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,104 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 10
|
|
9
|
+
*/
|
|
10
|
+
maxValue?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2
|
|
14
|
+
*/
|
|
15
|
+
minValue?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 2025-12-17T10:00Z
|
|
19
|
+
*/
|
|
20
|
+
time?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
maxValue: 'MaxValue',
|
|
24
|
+
minValue: 'MinValue',
|
|
25
|
+
time: 'Time',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
maxValue: 'number',
|
|
32
|
+
minValue: 'number',
|
|
33
|
+
time: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class QueryPredictiveTaskInfoResponseBodyTaskInfos extends $dara.Model {
|
|
47
|
+
taskInfo?: QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo[];
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
taskInfo: 'TaskInfo',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static types(): { [key: string]: any } {
|
|
55
|
+
return {
|
|
56
|
+
taskInfo: { 'type': 'array', 'itemType': QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo },
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
if(Array.isArray(this.taskInfo)) {
|
|
62
|
+
$dara.Model.validateArray(this.taskInfo);
|
|
63
|
+
}
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class QueryPredictiveTaskInfoResponseBody extends $dara.Model {
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
76
|
+
*/
|
|
77
|
+
requestId?: string;
|
|
78
|
+
taskInfos?: QueryPredictiveTaskInfoResponseBodyTaskInfos;
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
requestId: 'RequestId',
|
|
82
|
+
taskInfos: 'TaskInfos',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
static types(): { [key: string]: any } {
|
|
87
|
+
return {
|
|
88
|
+
requestId: 'string',
|
|
89
|
+
taskInfos: QueryPredictiveTaskInfoResponseBodyTaskInfos,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
if(this.taskInfos && typeof (this.taskInfos as any).validate === 'function') {
|
|
95
|
+
(this.taskInfos as any).validate();
|
|
96
|
+
}
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryPredictiveValueRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 2025-12-18T08:00Z
|
|
12
|
+
*/
|
|
13
|
+
endTime?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* CpuUtilization
|
|
20
|
+
*/
|
|
21
|
+
metricName?: string;
|
|
22
|
+
ownerId?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* This parameter is required.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* cn-hangzhou
|
|
29
|
+
*/
|
|
30
|
+
regionId?: string;
|
|
31
|
+
resourceOwnerAccount?: string;
|
|
32
|
+
resourceOwnerId?: number;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* asg-2zee0wsy0zkdxxxxx
|
|
39
|
+
*/
|
|
40
|
+
scalingGroupId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* This parameter is required.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 2025-12-17T08:00Z
|
|
47
|
+
*/
|
|
48
|
+
startTime?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* This parameter is required.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* 60
|
|
55
|
+
*/
|
|
56
|
+
targetValue?: number;
|
|
57
|
+
static names(): { [key: string]: string } {
|
|
58
|
+
return {
|
|
59
|
+
endTime: 'EndTime',
|
|
60
|
+
metricName: 'MetricName',
|
|
61
|
+
ownerId: 'OwnerId',
|
|
62
|
+
regionId: 'RegionId',
|
|
63
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
64
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
65
|
+
scalingGroupId: 'ScalingGroupId',
|
|
66
|
+
startTime: 'StartTime',
|
|
67
|
+
targetValue: 'TargetValue',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
endTime: 'string',
|
|
74
|
+
metricName: 'string',
|
|
75
|
+
ownerId: 'number',
|
|
76
|
+
regionId: 'string',
|
|
77
|
+
resourceOwnerAccount: 'string',
|
|
78
|
+
resourceOwnerId: 'number',
|
|
79
|
+
scalingGroupId: 'string',
|
|
80
|
+
startTime: 'string',
|
|
81
|
+
targetValue: 'number',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
validate() {
|
|
86
|
+
super.validate();
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
constructor(map?: { [key: string]: any }) {
|
|
90
|
+
super(map);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryPredictiveValueResponseBody } from "./QueryPredictiveValueResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryPredictiveValueResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryPredictiveValueResponseBody;
|
|
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: QueryPredictiveValueResponseBody,
|
|
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,97 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryPredictiveValueResponseBodyPredictiveValuesPredictiveValue extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 2025-12-17T10:00Z
|
|
9
|
+
*/
|
|
10
|
+
time?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 3
|
|
14
|
+
*/
|
|
15
|
+
value?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
time: 'Time',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
time: 'string',
|
|
26
|
+
value: 'number',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class QueryPredictiveValueResponseBodyPredictiveValues extends $dara.Model {
|
|
40
|
+
predictiveValue?: QueryPredictiveValueResponseBodyPredictiveValuesPredictiveValue[];
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
predictiveValue: 'PredictiveValue',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
predictiveValue: { 'type': 'array', 'itemType': QueryPredictiveValueResponseBodyPredictiveValuesPredictiveValue },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
if(Array.isArray(this.predictiveValue)) {
|
|
55
|
+
$dara.Model.validateArray(this.predictiveValue);
|
|
56
|
+
}
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class QueryPredictiveValueResponseBody extends $dara.Model {
|
|
66
|
+
predictiveValues?: QueryPredictiveValueResponseBodyPredictiveValues;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* FA5F448E-DC84-5EBC-B6D5-F659ADxxxx
|
|
70
|
+
*/
|
|
71
|
+
requestId?: string;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
predictiveValues: 'PredictiveValues',
|
|
75
|
+
requestId: 'RequestId',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
predictiveValues: QueryPredictiveValueResponseBodyPredictiveValues,
|
|
82
|
+
requestId: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
if(this.predictiveValues && typeof (this.predictiveValues as any).validate === 'function') {
|
|
88
|
+
(this.predictiveValues as any).validate();
|
|
89
|
+
}
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -121,6 +121,8 @@ export { DescribeElasticStrengthResponseBodyElasticStrengthModelsResourcePools }
|
|
|
121
121
|
export { DescribeElasticStrengthResponseBodyElasticStrengthModels } from './DescribeElasticStrengthResponseBody';
|
|
122
122
|
export { DescribeElasticStrengthResponseBodyResourcePoolsInventoryHealth } from './DescribeElasticStrengthResponseBody';
|
|
123
123
|
export { DescribeElasticStrengthResponseBodyResourcePools } from './DescribeElasticStrengthResponseBody';
|
|
124
|
+
export { DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatisticsStatistic } from './DescribeInstanceCreateAndDeleteStatisticsResponseBody';
|
|
125
|
+
export { DescribeInstanceCreateAndDeleteStatisticsResponseBodyInstanceCreateAndDeleteStatistics } from './DescribeInstanceCreateAndDeleteStatisticsResponseBody';
|
|
124
126
|
export { DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksCheckpoints } from './DescribeInstanceRefreshesResponseBody';
|
|
125
127
|
export { DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfigurationContainersEnvironmentVars } from './DescribeInstanceRefreshesResponseBody';
|
|
126
128
|
export { DescribeInstanceRefreshesResponseBodyInstanceRefreshTasksDesiredConfigurationContainers } from './DescribeInstanceRefreshesResponseBody';
|
|
@@ -135,6 +137,10 @@ export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBod
|
|
|
135
137
|
export { DescribeScalingActivitiesResponseBodyScalingActivitiesErrorMessages } from './DescribeScalingActivitiesResponseBody';
|
|
136
138
|
export { DescribeScalingActivitiesResponseBodyScalingActivitiesLifecycleHookContext } from './DescribeScalingActivitiesResponseBody';
|
|
137
139
|
export { DescribeScalingActivitiesResponseBodyScalingActivities } from './DescribeScalingActivitiesResponseBody';
|
|
140
|
+
export { DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatisticsErrorStatistic } from './DescribeScalingActivityStatisticsResponseBody';
|
|
141
|
+
export { DescribeScalingActivityStatisticsResponseBodyScalingActivityErrorCodeStatistics } from './DescribeScalingActivityStatisticsResponseBody';
|
|
142
|
+
export { DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatisticsStatistic } from './DescribeScalingActivityStatisticsResponseBody';
|
|
143
|
+
export { DescribeScalingActivityStatisticsResponseBodyScalingActivityStatusStatistics } from './DescribeScalingActivityStatisticsResponseBody';
|
|
138
144
|
export { DescribeScalingConfigurationsResponseBodyScalingConfigurationsCustomPriorities } from './DescribeScalingConfigurationsResponseBody';
|
|
139
145
|
export { DescribeScalingConfigurationsResponseBodyScalingConfigurationsDataDisks } from './DescribeScalingConfigurationsResponseBody';
|
|
140
146
|
export { DescribeScalingConfigurationsResponseBodyScalingConfigurationsInstancePatternInfos } from './DescribeScalingConfigurationsResponseBody';
|
|
@@ -247,6 +253,14 @@ export { ModifyScalingRuleRequestAlarmOptions } from './ModifyScalingRuleRequest
|
|
|
247
253
|
export { ModifyScalingRuleRequestHybridMetricsDimensions } from './ModifyScalingRuleRequest';
|
|
248
254
|
export { ModifyScalingRuleRequestHybridMetrics } from './ModifyScalingRuleRequest';
|
|
249
255
|
export { ModifyScalingRuleRequestStepAdjustments } from './ModifyScalingRuleRequest';
|
|
256
|
+
export { QueryHistoricalMetricResponseBodyHistoricalMetricsHistoricalMetric } from './QueryHistoricalMetricResponseBody';
|
|
257
|
+
export { QueryHistoricalMetricResponseBodyHistoricalMetrics } from './QueryHistoricalMetricResponseBody';
|
|
258
|
+
export { QueryPredictiveMetricResponseBodyPredictiveMetricsPredictiveMetric } from './QueryPredictiveMetricResponseBody';
|
|
259
|
+
export { QueryPredictiveMetricResponseBodyPredictiveMetrics } from './QueryPredictiveMetricResponseBody';
|
|
260
|
+
export { QueryPredictiveTaskInfoResponseBodyTaskInfosTaskInfo } from './QueryPredictiveTaskInfoResponseBody';
|
|
261
|
+
export { QueryPredictiveTaskInfoResponseBodyTaskInfos } from './QueryPredictiveTaskInfoResponseBody';
|
|
262
|
+
export { QueryPredictiveValueResponseBodyPredictiveValuesPredictiveValue } from './QueryPredictiveValueResponseBody';
|
|
263
|
+
export { QueryPredictiveValueResponseBodyPredictiveValues } from './QueryPredictiveValueResponseBody';
|
|
250
264
|
export { RemoveInstancesRequestLifecycleHookContext } from './RemoveInstancesRequest';
|
|
251
265
|
export { RemoveInstancesResponseBodyIgnoredInstances } from './RemoveInstancesResponseBody';
|
|
252
266
|
export { ScaleWithAdjustmentRequestLifecycleHookContext } from './ScaleWithAdjustmentRequest';
|
|
@@ -370,6 +384,9 @@ export { DescribeEciScalingConfigurationsResponse } from './DescribeEciScalingCo
|
|
|
370
384
|
export { DescribeElasticStrengthRequest } from './DescribeElasticStrengthRequest';
|
|
371
385
|
export { DescribeElasticStrengthResponseBody } from './DescribeElasticStrengthResponseBody';
|
|
372
386
|
export { DescribeElasticStrengthResponse } from './DescribeElasticStrengthResponse';
|
|
387
|
+
export { DescribeInstanceCreateAndDeleteStatisticsRequest } from './DescribeInstanceCreateAndDeleteStatisticsRequest';
|
|
388
|
+
export { DescribeInstanceCreateAndDeleteStatisticsResponseBody } from './DescribeInstanceCreateAndDeleteStatisticsResponseBody';
|
|
389
|
+
export { DescribeInstanceCreateAndDeleteStatisticsResponse } from './DescribeInstanceCreateAndDeleteStatisticsResponse';
|
|
373
390
|
export { DescribeInstanceRefreshesRequest } from './DescribeInstanceRefreshesRequest';
|
|
374
391
|
export { DescribeInstanceRefreshesResponseBody } from './DescribeInstanceRefreshesResponseBody';
|
|
375
392
|
export { DescribeInstanceRefreshesResponse } from './DescribeInstanceRefreshesResponse';
|
|
@@ -400,6 +417,9 @@ export { DescribeScalingActivitiesResponse } from './DescribeScalingActivitiesRe
|
|
|
400
417
|
export { DescribeScalingActivityDetailRequest } from './DescribeScalingActivityDetailRequest';
|
|
401
418
|
export { DescribeScalingActivityDetailResponseBody } from './DescribeScalingActivityDetailResponseBody';
|
|
402
419
|
export { DescribeScalingActivityDetailResponse } from './DescribeScalingActivityDetailResponse';
|
|
420
|
+
export { DescribeScalingActivityStatisticsRequest } from './DescribeScalingActivityStatisticsRequest';
|
|
421
|
+
export { DescribeScalingActivityStatisticsResponseBody } from './DescribeScalingActivityStatisticsResponseBody';
|
|
422
|
+
export { DescribeScalingActivityStatisticsResponse } from './DescribeScalingActivityStatisticsResponse';
|
|
403
423
|
export { DescribeScalingConfigurationsRequest } from './DescribeScalingConfigurationsRequest';
|
|
404
424
|
export { DescribeScalingConfigurationsResponseBody } from './DescribeScalingConfigurationsResponseBody';
|
|
405
425
|
export { DescribeScalingConfigurationsResponse } from './DescribeScalingConfigurationsResponse';
|
|
@@ -500,6 +520,18 @@ export { ModifyScalingRuleResponse } from './ModifyScalingRuleResponse';
|
|
|
500
520
|
export { ModifyScheduledTaskRequest } from './ModifyScheduledTaskRequest';
|
|
501
521
|
export { ModifyScheduledTaskResponseBody } from './ModifyScheduledTaskResponseBody';
|
|
502
522
|
export { ModifyScheduledTaskResponse } from './ModifyScheduledTaskResponse';
|
|
523
|
+
export { QueryHistoricalMetricRequest } from './QueryHistoricalMetricRequest';
|
|
524
|
+
export { QueryHistoricalMetricResponseBody } from './QueryHistoricalMetricResponseBody';
|
|
525
|
+
export { QueryHistoricalMetricResponse } from './QueryHistoricalMetricResponse';
|
|
526
|
+
export { QueryPredictiveMetricRequest } from './QueryPredictiveMetricRequest';
|
|
527
|
+
export { QueryPredictiveMetricResponseBody } from './QueryPredictiveMetricResponseBody';
|
|
528
|
+
export { QueryPredictiveMetricResponse } from './QueryPredictiveMetricResponse';
|
|
529
|
+
export { QueryPredictiveTaskInfoRequest } from './QueryPredictiveTaskInfoRequest';
|
|
530
|
+
export { QueryPredictiveTaskInfoResponseBody } from './QueryPredictiveTaskInfoResponseBody';
|
|
531
|
+
export { QueryPredictiveTaskInfoResponse } from './QueryPredictiveTaskInfoResponse';
|
|
532
|
+
export { QueryPredictiveValueRequest } from './QueryPredictiveValueRequest';
|
|
533
|
+
export { QueryPredictiveValueResponseBody } from './QueryPredictiveValueResponseBody';
|
|
534
|
+
export { QueryPredictiveValueResponse } from './QueryPredictiveValueResponse';
|
|
503
535
|
export { RebalanceInstancesRequest } from './RebalanceInstancesRequest';
|
|
504
536
|
export { RebalanceInstancesResponseBody } from './RebalanceInstancesResponseBody';
|
|
505
537
|
export { RebalanceInstancesResponse } from './RebalanceInstancesResponse';
|