@aws-sdk/client-auto-scaling-plans 3.934.0 → 3.935.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-cjs/index.js +83 -82
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +82 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -167
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +178 -0
- package/dist-types/models/errors.d.ts +82 -0
- package/dist-types/models/models_0.d.ts +1 -260
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +105 -0
- package/dist-types/ts3.4/models/errors.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -155
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const MetricStatistic: {
|
|
6
|
+
readonly Average: "Average";
|
|
7
|
+
readonly Maximum: "Maximum";
|
|
8
|
+
readonly Minimum: "Minimum";
|
|
9
|
+
readonly SampleCount: "SampleCount";
|
|
10
|
+
readonly Sum: "Sum";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const LoadMetricType: {
|
|
21
|
+
readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
|
|
22
|
+
readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
|
|
23
|
+
readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
|
|
24
|
+
readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type LoadMetricType = (typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* @enum
|
|
33
|
+
*/
|
|
34
|
+
export declare const PredictiveScalingMaxCapacityBehavior: {
|
|
35
|
+
readonly SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity";
|
|
36
|
+
readonly SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity";
|
|
37
|
+
readonly SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity";
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export type PredictiveScalingMaxCapacityBehavior = (typeof PredictiveScalingMaxCapacityBehavior)[keyof typeof PredictiveScalingMaxCapacityBehavior];
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* @enum
|
|
46
|
+
*/
|
|
47
|
+
export declare const PredictiveScalingMode: {
|
|
48
|
+
readonly ForecastAndScale: "ForecastAndScale";
|
|
49
|
+
readonly ForecastOnly: "ForecastOnly";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type PredictiveScalingMode = (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const ScalableDimension: {
|
|
60
|
+
readonly AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity";
|
|
61
|
+
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
62
|
+
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
63
|
+
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
64
|
+
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
65
|
+
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
66
|
+
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
67
|
+
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @enum
|
|
76
|
+
*/
|
|
77
|
+
export declare const ScalingPolicyUpdateBehavior: {
|
|
78
|
+
readonly KeepExternalPolicies: "KeepExternalPolicies";
|
|
79
|
+
readonly ReplaceExternalPolicies: "ReplaceExternalPolicies";
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export type ScalingPolicyUpdateBehavior = (typeof ScalingPolicyUpdateBehavior)[keyof typeof ScalingPolicyUpdateBehavior];
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @enum
|
|
88
|
+
*/
|
|
89
|
+
export declare const ServiceNamespace: {
|
|
90
|
+
readonly AUTOSCALING: "autoscaling";
|
|
91
|
+
readonly DYNAMODB: "dynamodb";
|
|
92
|
+
readonly EC2: "ec2";
|
|
93
|
+
readonly ECS: "ecs";
|
|
94
|
+
readonly RDS: "rds";
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @enum
|
|
103
|
+
*/
|
|
104
|
+
export declare const ScalingMetricType: {
|
|
105
|
+
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
106
|
+
readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
|
|
107
|
+
readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
|
|
108
|
+
readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
|
|
109
|
+
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
110
|
+
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
111
|
+
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
112
|
+
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
113
|
+
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
114
|
+
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
115
|
+
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
116
|
+
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
117
|
+
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export type ScalingMetricType = (typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @enum
|
|
126
|
+
*/
|
|
127
|
+
export declare const PolicyType: {
|
|
128
|
+
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
* @enum
|
|
137
|
+
*/
|
|
138
|
+
export declare const ScalingStatusCode: {
|
|
139
|
+
readonly Active: "Active";
|
|
140
|
+
readonly Inactive: "Inactive";
|
|
141
|
+
readonly PartiallyActive: "PartiallyActive";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export type ScalingStatusCode = (typeof ScalingStatusCode)[keyof typeof ScalingStatusCode];
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
* @enum
|
|
150
|
+
*/
|
|
151
|
+
export declare const ScalingPlanStatusCode: {
|
|
152
|
+
readonly Active: "Active";
|
|
153
|
+
readonly ActiveWithProblems: "ActiveWithProblems";
|
|
154
|
+
readonly CreationFailed: "CreationFailed";
|
|
155
|
+
readonly CreationInProgress: "CreationInProgress";
|
|
156
|
+
readonly DeletionFailed: "DeletionFailed";
|
|
157
|
+
readonly DeletionInProgress: "DeletionInProgress";
|
|
158
|
+
readonly UpdateFailed: "UpdateFailed";
|
|
159
|
+
readonly UpdateInProgress: "UpdateInProgress";
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export type ScalingPlanStatusCode = (typeof ScalingPlanStatusCode)[keyof typeof ScalingPlanStatusCode];
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
* @enum
|
|
168
|
+
*/
|
|
169
|
+
export declare const ForecastDataType: {
|
|
170
|
+
readonly CapacityForecast: "CapacityForecast";
|
|
171
|
+
readonly LoadForecast: "LoadForecast";
|
|
172
|
+
readonly ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity";
|
|
173
|
+
readonly ScheduledActionMinCapacity: "ScheduledActionMinCapacity";
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export type ForecastDataType = (typeof ForecastDataType)[keyof typeof ForecastDataType];
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Concurrent updates caused an exception, for example, if you request an update to a
|
|
5
|
+
* scaling plan that already has a pending update.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class ConcurrentUpdateException extends __BaseException {
|
|
9
|
+
readonly name: "ConcurrentUpdateException";
|
|
10
|
+
readonly $fault: "server";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* <p>The service encountered an internal error.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class InternalServiceException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServiceException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
Message?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>Your account exceeded a limit. This exception is thrown when a per-account resource
|
|
32
|
+
* limit is exceeded.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class LimitExceededException extends __BaseException {
|
|
36
|
+
readonly name: "LimitExceededException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class ValidationException extends __BaseException {
|
|
49
|
+
readonly name: "ValidationException";
|
|
50
|
+
readonly $fault: "client";
|
|
51
|
+
Message?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>The specified object could not be found.</p>
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare class ObjectNotFoundException extends __BaseException {
|
|
62
|
+
readonly name: "ObjectNotFoundException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
Message?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* <p>The token provided is not valid.</p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
75
|
+
readonly name: "InvalidNextTokenException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
82
|
+
}
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>Concurrent updates caused an exception, for example, if you request an update to a
|
|
5
|
-
* scaling plan that already has a pending update.</p>
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare class ConcurrentUpdateException extends __BaseException {
|
|
9
|
-
readonly name: "ConcurrentUpdateException";
|
|
10
|
-
readonly $fault: "server";
|
|
11
|
-
Message?: string | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
|
-
constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
|
|
16
|
-
}
|
|
1
|
+
import { ForecastDataType, LoadMetricType, MetricStatistic, PolicyType, PredictiveScalingMaxCapacityBehavior, PredictiveScalingMode, ScalableDimension, ScalingMetricType, ScalingPlanStatusCode, ScalingPolicyUpdateBehavior, ScalingStatusCode, ServiceNamespace } from "./enums";
|
|
17
2
|
/**
|
|
18
3
|
* <p>Represents a tag.</p>
|
|
19
4
|
* @public
|
|
@@ -62,21 +47,6 @@ export interface MetricDimension {
|
|
|
62
47
|
*/
|
|
63
48
|
Value: string | undefined;
|
|
64
49
|
}
|
|
65
|
-
/**
|
|
66
|
-
* @public
|
|
67
|
-
* @enum
|
|
68
|
-
*/
|
|
69
|
-
export declare const MetricStatistic: {
|
|
70
|
-
readonly Average: "Average";
|
|
71
|
-
readonly Maximum: "Maximum";
|
|
72
|
-
readonly Minimum: "Minimum";
|
|
73
|
-
readonly SampleCount: "SampleCount";
|
|
74
|
-
readonly Sum: "Sum";
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
80
50
|
/**
|
|
81
51
|
* <p>Represents a CloudWatch metric of your choosing that can be used for predictive scaling. </p>
|
|
82
52
|
* <p>For predictive scaling to work with a customized load metric specification, AWS Auto Scaling
|
|
@@ -133,20 +103,6 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
133
103
|
*/
|
|
134
104
|
Unit?: string | undefined;
|
|
135
105
|
}
|
|
136
|
-
/**
|
|
137
|
-
* @public
|
|
138
|
-
* @enum
|
|
139
|
-
*/
|
|
140
|
-
export declare const LoadMetricType: {
|
|
141
|
-
readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
|
|
142
|
-
readonly ASGTotalCPUUtilization: "ASGTotalCPUUtilization";
|
|
143
|
-
readonly ASGTotalNetworkIn: "ASGTotalNetworkIn";
|
|
144
|
-
readonly ASGTotalNetworkOut: "ASGTotalNetworkOut";
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
149
|
-
export type LoadMetricType = (typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
150
106
|
/**
|
|
151
107
|
* <p>Represents a predefined metric that can be used for predictive scaling.</p>
|
|
152
108
|
* <p>After creating your scaling plan, you can use the AWS Auto Scaling console to visualize
|
|
@@ -188,76 +144,6 @@ export interface PredefinedLoadMetricSpecification {
|
|
|
188
144
|
*/
|
|
189
145
|
ResourceLabel?: string | undefined;
|
|
190
146
|
}
|
|
191
|
-
/**
|
|
192
|
-
* @public
|
|
193
|
-
* @enum
|
|
194
|
-
*/
|
|
195
|
-
export declare const PredictiveScalingMaxCapacityBehavior: {
|
|
196
|
-
readonly SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity";
|
|
197
|
-
readonly SetMaxCapacityAboveForecastCapacity: "SetMaxCapacityAboveForecastCapacity";
|
|
198
|
-
readonly SetMaxCapacityToForecastCapacity: "SetMaxCapacityToForecastCapacity";
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* @public
|
|
202
|
-
*/
|
|
203
|
-
export type PredictiveScalingMaxCapacityBehavior = (typeof PredictiveScalingMaxCapacityBehavior)[keyof typeof PredictiveScalingMaxCapacityBehavior];
|
|
204
|
-
/**
|
|
205
|
-
* @public
|
|
206
|
-
* @enum
|
|
207
|
-
*/
|
|
208
|
-
export declare const PredictiveScalingMode: {
|
|
209
|
-
readonly ForecastAndScale: "ForecastAndScale";
|
|
210
|
-
readonly ForecastOnly: "ForecastOnly";
|
|
211
|
-
};
|
|
212
|
-
/**
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
export type PredictiveScalingMode = (typeof PredictiveScalingMode)[keyof typeof PredictiveScalingMode];
|
|
216
|
-
/**
|
|
217
|
-
* @public
|
|
218
|
-
* @enum
|
|
219
|
-
*/
|
|
220
|
-
export declare const ScalableDimension: {
|
|
221
|
-
readonly AutoScalingGroupDesiredCapacity: "autoscaling:autoScalingGroup:DesiredCapacity";
|
|
222
|
-
readonly DynamoDBIndexReadCapacityUnits: "dynamodb:index:ReadCapacityUnits";
|
|
223
|
-
readonly DynamoDBIndexWriteCapacityUnits: "dynamodb:index:WriteCapacityUnits";
|
|
224
|
-
readonly DynamoDBTableReadCapacityUnits: "dynamodb:table:ReadCapacityUnits";
|
|
225
|
-
readonly DynamoDBTableWriteCapacityUnits: "dynamodb:table:WriteCapacityUnits";
|
|
226
|
-
readonly EC2SpotFleetRequestTargetCapacity: "ec2:spot-fleet-request:TargetCapacity";
|
|
227
|
-
readonly ECSServiceDesiredCount: "ecs:service:DesiredCount";
|
|
228
|
-
readonly RDSClusterReadReplicaCount: "rds:cluster:ReadReplicaCount";
|
|
229
|
-
};
|
|
230
|
-
/**
|
|
231
|
-
* @public
|
|
232
|
-
*/
|
|
233
|
-
export type ScalableDimension = (typeof ScalableDimension)[keyof typeof ScalableDimension];
|
|
234
|
-
/**
|
|
235
|
-
* @public
|
|
236
|
-
* @enum
|
|
237
|
-
*/
|
|
238
|
-
export declare const ScalingPolicyUpdateBehavior: {
|
|
239
|
-
readonly KeepExternalPolicies: "KeepExternalPolicies";
|
|
240
|
-
readonly ReplaceExternalPolicies: "ReplaceExternalPolicies";
|
|
241
|
-
};
|
|
242
|
-
/**
|
|
243
|
-
* @public
|
|
244
|
-
*/
|
|
245
|
-
export type ScalingPolicyUpdateBehavior = (typeof ScalingPolicyUpdateBehavior)[keyof typeof ScalingPolicyUpdateBehavior];
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
* @enum
|
|
249
|
-
*/
|
|
250
|
-
export declare const ServiceNamespace: {
|
|
251
|
-
readonly AUTOSCALING: "autoscaling";
|
|
252
|
-
readonly DYNAMODB: "dynamodb";
|
|
253
|
-
readonly EC2: "ec2";
|
|
254
|
-
readonly ECS: "ecs";
|
|
255
|
-
readonly RDS: "rds";
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
|
|
261
147
|
/**
|
|
262
148
|
* <p>Represents a CloudWatch metric of your choosing that can be used for dynamic scaling as part
|
|
263
149
|
* of a target tracking scaling policy. </p>
|
|
@@ -309,29 +195,6 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
309
195
|
*/
|
|
310
196
|
Unit?: string | undefined;
|
|
311
197
|
}
|
|
312
|
-
/**
|
|
313
|
-
* @public
|
|
314
|
-
* @enum
|
|
315
|
-
*/
|
|
316
|
-
export declare const ScalingMetricType: {
|
|
317
|
-
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
318
|
-
readonly ASGAverageCPUUtilization: "ASGAverageCPUUtilization";
|
|
319
|
-
readonly ASGAverageNetworkIn: "ASGAverageNetworkIn";
|
|
320
|
-
readonly ASGAverageNetworkOut: "ASGAverageNetworkOut";
|
|
321
|
-
readonly DynamoDBReadCapacityUtilization: "DynamoDBReadCapacityUtilization";
|
|
322
|
-
readonly DynamoDBWriteCapacityUtilization: "DynamoDBWriteCapacityUtilization";
|
|
323
|
-
readonly EC2SpotFleetRequestAverageCPUUtilization: "EC2SpotFleetRequestAverageCPUUtilization";
|
|
324
|
-
readonly EC2SpotFleetRequestAverageNetworkIn: "EC2SpotFleetRequestAverageNetworkIn";
|
|
325
|
-
readonly EC2SpotFleetRequestAverageNetworkOut: "EC2SpotFleetRequestAverageNetworkOut";
|
|
326
|
-
readonly ECSServiceAverageCPUUtilization: "ECSServiceAverageCPUUtilization";
|
|
327
|
-
readonly ECSServiceAverageMemoryUtilization: "ECSServiceAverageMemoryUtilization";
|
|
328
|
-
readonly RDSReaderAverageCPUUtilization: "RDSReaderAverageCPUUtilization";
|
|
329
|
-
readonly RDSReaderAverageDatabaseConnections: "RDSReaderAverageDatabaseConnections";
|
|
330
|
-
};
|
|
331
|
-
/**
|
|
332
|
-
* @public
|
|
333
|
-
*/
|
|
334
|
-
export type ScalingMetricType = (typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
335
198
|
/**
|
|
336
199
|
* <p>Represents a predefined metric that can be used for dynamic scaling as part of a target
|
|
337
200
|
* tracking scaling policy.</p>
|
|
@@ -682,46 +545,6 @@ export interface CreateScalingPlanResponse {
|
|
|
682
545
|
*/
|
|
683
546
|
ScalingPlanVersion: number | undefined;
|
|
684
547
|
}
|
|
685
|
-
/**
|
|
686
|
-
* <p>The service encountered an internal error.</p>
|
|
687
|
-
* @public
|
|
688
|
-
*/
|
|
689
|
-
export declare class InternalServiceException extends __BaseException {
|
|
690
|
-
readonly name: "InternalServiceException";
|
|
691
|
-
readonly $fault: "server";
|
|
692
|
-
Message?: string | undefined;
|
|
693
|
-
/**
|
|
694
|
-
* @internal
|
|
695
|
-
*/
|
|
696
|
-
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
697
|
-
}
|
|
698
|
-
/**
|
|
699
|
-
* <p>Your account exceeded a limit. This exception is thrown when a per-account resource
|
|
700
|
-
* limit is exceeded.</p>
|
|
701
|
-
* @public
|
|
702
|
-
*/
|
|
703
|
-
export declare class LimitExceededException extends __BaseException {
|
|
704
|
-
readonly name: "LimitExceededException";
|
|
705
|
-
readonly $fault: "client";
|
|
706
|
-
Message?: string | undefined;
|
|
707
|
-
/**
|
|
708
|
-
* @internal
|
|
709
|
-
*/
|
|
710
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
711
|
-
}
|
|
712
|
-
/**
|
|
713
|
-
* <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
|
|
714
|
-
* @public
|
|
715
|
-
*/
|
|
716
|
-
export declare class ValidationException extends __BaseException {
|
|
717
|
-
readonly name: "ValidationException";
|
|
718
|
-
readonly $fault: "client";
|
|
719
|
-
Message?: string | undefined;
|
|
720
|
-
/**
|
|
721
|
-
* @internal
|
|
722
|
-
*/
|
|
723
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
724
|
-
}
|
|
725
548
|
/**
|
|
726
549
|
* @public
|
|
727
550
|
*/
|
|
@@ -743,19 +566,6 @@ export interface DeleteScalingPlanRequest {
|
|
|
743
566
|
*/
|
|
744
567
|
export interface DeleteScalingPlanResponse {
|
|
745
568
|
}
|
|
746
|
-
/**
|
|
747
|
-
* <p>The specified object could not be found.</p>
|
|
748
|
-
* @public
|
|
749
|
-
*/
|
|
750
|
-
export declare class ObjectNotFoundException extends __BaseException {
|
|
751
|
-
readonly name: "ObjectNotFoundException";
|
|
752
|
-
readonly $fault: "client";
|
|
753
|
-
Message?: string | undefined;
|
|
754
|
-
/**
|
|
755
|
-
* @internal
|
|
756
|
-
*/
|
|
757
|
-
constructor(opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>);
|
|
758
|
-
}
|
|
759
569
|
/**
|
|
760
570
|
* @public
|
|
761
571
|
*/
|
|
@@ -783,17 +593,6 @@ export interface DescribeScalingPlanResourcesRequest {
|
|
|
783
593
|
*/
|
|
784
594
|
NextToken?: string | undefined;
|
|
785
595
|
}
|
|
786
|
-
/**
|
|
787
|
-
* @public
|
|
788
|
-
* @enum
|
|
789
|
-
*/
|
|
790
|
-
export declare const PolicyType: {
|
|
791
|
-
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
792
|
-
};
|
|
793
|
-
/**
|
|
794
|
-
* @public
|
|
795
|
-
*/
|
|
796
|
-
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
797
596
|
/**
|
|
798
597
|
* <p>Represents a scaling policy.</p>
|
|
799
598
|
* @public
|
|
@@ -816,19 +615,6 @@ export interface ScalingPolicy {
|
|
|
816
615
|
*/
|
|
817
616
|
TargetTrackingConfiguration?: TargetTrackingConfiguration | undefined;
|
|
818
617
|
}
|
|
819
|
-
/**
|
|
820
|
-
* @public
|
|
821
|
-
* @enum
|
|
822
|
-
*/
|
|
823
|
-
export declare const ScalingStatusCode: {
|
|
824
|
-
readonly Active: "Active";
|
|
825
|
-
readonly Inactive: "Inactive";
|
|
826
|
-
readonly PartiallyActive: "PartiallyActive";
|
|
827
|
-
};
|
|
828
|
-
/**
|
|
829
|
-
* @public
|
|
830
|
-
*/
|
|
831
|
-
export type ScalingStatusCode = (typeof ScalingStatusCode)[keyof typeof ScalingStatusCode];
|
|
832
618
|
/**
|
|
833
619
|
* <p>Represents a scalable resource.</p>
|
|
834
620
|
* @public
|
|
@@ -970,19 +756,6 @@ export interface DescribeScalingPlanResourcesResponse {
|
|
|
970
756
|
*/
|
|
971
757
|
NextToken?: string | undefined;
|
|
972
758
|
}
|
|
973
|
-
/**
|
|
974
|
-
* <p>The token provided is not valid.</p>
|
|
975
|
-
* @public
|
|
976
|
-
*/
|
|
977
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
978
|
-
readonly name: "InvalidNextTokenException";
|
|
979
|
-
readonly $fault: "client";
|
|
980
|
-
Message?: string | undefined;
|
|
981
|
-
/**
|
|
982
|
-
* @internal
|
|
983
|
-
*/
|
|
984
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
985
|
-
}
|
|
986
759
|
/**
|
|
987
760
|
* @public
|
|
988
761
|
*/
|
|
@@ -1021,24 +794,6 @@ export interface DescribeScalingPlansRequest {
|
|
|
1021
794
|
*/
|
|
1022
795
|
NextToken?: string | undefined;
|
|
1023
796
|
}
|
|
1024
|
-
/**
|
|
1025
|
-
* @public
|
|
1026
|
-
* @enum
|
|
1027
|
-
*/
|
|
1028
|
-
export declare const ScalingPlanStatusCode: {
|
|
1029
|
-
readonly Active: "Active";
|
|
1030
|
-
readonly ActiveWithProblems: "ActiveWithProblems";
|
|
1031
|
-
readonly CreationFailed: "CreationFailed";
|
|
1032
|
-
readonly CreationInProgress: "CreationInProgress";
|
|
1033
|
-
readonly DeletionFailed: "DeletionFailed";
|
|
1034
|
-
readonly DeletionInProgress: "DeletionInProgress";
|
|
1035
|
-
readonly UpdateFailed: "UpdateFailed";
|
|
1036
|
-
readonly UpdateInProgress: "UpdateInProgress";
|
|
1037
|
-
};
|
|
1038
|
-
/**
|
|
1039
|
-
* @public
|
|
1040
|
-
*/
|
|
1041
|
-
export type ScalingPlanStatusCode = (typeof ScalingPlanStatusCode)[keyof typeof ScalingPlanStatusCode];
|
|
1042
797
|
/**
|
|
1043
798
|
* <p>Represents a scaling plan.</p>
|
|
1044
799
|
* @public
|
|
@@ -1137,20 +892,6 @@ export interface DescribeScalingPlansResponse {
|
|
|
1137
892
|
*/
|
|
1138
893
|
NextToken?: string | undefined;
|
|
1139
894
|
}
|
|
1140
|
-
/**
|
|
1141
|
-
* @public
|
|
1142
|
-
* @enum
|
|
1143
|
-
*/
|
|
1144
|
-
export declare const ForecastDataType: {
|
|
1145
|
-
readonly CapacityForecast: "CapacityForecast";
|
|
1146
|
-
readonly LoadForecast: "LoadForecast";
|
|
1147
|
-
readonly ScheduledActionMaxCapacity: "ScheduledActionMaxCapacity";
|
|
1148
|
-
readonly ScheduledActionMinCapacity: "ScheduledActionMinCapacity";
|
|
1149
|
-
};
|
|
1150
|
-
/**
|
|
1151
|
-
* @public
|
|
1152
|
-
*/
|
|
1153
|
-
export type ForecastDataType = (typeof ForecastDataType)[keyof typeof ForecastDataType];
|
|
1154
895
|
/**
|
|
1155
896
|
* @public
|
|
1156
897
|
*/
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { AutoScalingPlansExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { AutoScalingPlansServiceException } from "./models/AutoScalingPlansServiceException";
|