@aws-sdk/client-auto-scaling-plans 3.168.0 → 3.170.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/CHANGELOG.md +16 -0
- package/dist-types/ts3.4/AutoScalingPlans.d.ts +118 -35
- package/dist-types/ts3.4/AutoScalingPlansClient.d.ts +166 -79
- package/dist-types/ts3.4/commands/CreateScalingPlanCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/DeleteScalingPlanCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/DescribeScalingPlanResourcesCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/DescribeScalingPlansCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/GetScalingPlanResourceForecastDataCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/UpdateScalingPlanCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/index.d.ts +6 -6
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/AutoScalingPlansServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +466 -433
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +77 -20
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +68 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +69 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
- package/package.json +34 -34
|
@@ -1,433 +1,466 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
3
|
-
|
|
4
|
-
export declare class ConcurrentUpdateException extends __BaseException {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface MetricDimension {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
export
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}
|
|
331
|
-
export
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
export
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
372
|
-
export interface
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class ConcurrentUpdateException extends __BaseException {
|
|
5
|
+
readonly name: "ConcurrentUpdateException";
|
|
6
|
+
readonly $fault: "server";
|
|
7
|
+
Message?: string;
|
|
8
|
+
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface TagFilter {
|
|
15
|
+
Key?: string;
|
|
16
|
+
|
|
17
|
+
Values?: string[];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface ApplicationSource {
|
|
21
|
+
CloudFormationStackARN?: string;
|
|
22
|
+
|
|
23
|
+
TagFilters?: TagFilter[];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface MetricDimension {
|
|
27
|
+
Name: string | undefined;
|
|
28
|
+
|
|
29
|
+
Value: string | undefined;
|
|
30
|
+
}
|
|
31
|
+
export declare enum MetricStatistic {
|
|
32
|
+
Average = "Average",
|
|
33
|
+
Maximum = "Maximum",
|
|
34
|
+
Minimum = "Minimum",
|
|
35
|
+
SampleCount = "SampleCount",
|
|
36
|
+
Sum = "Sum",
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface CustomizedLoadMetricSpecification {
|
|
40
|
+
MetricName: string | undefined;
|
|
41
|
+
|
|
42
|
+
Namespace: string | undefined;
|
|
43
|
+
|
|
44
|
+
Dimensions?: MetricDimension[];
|
|
45
|
+
|
|
46
|
+
Statistic: MetricStatistic | string | undefined;
|
|
47
|
+
|
|
48
|
+
Unit?: string;
|
|
49
|
+
}
|
|
50
|
+
export declare enum LoadMetricType {
|
|
51
|
+
ALBTargetGroupRequestCount = "ALBTargetGroupRequestCount",
|
|
52
|
+
ASGTotalCPUUtilization = "ASGTotalCPUUtilization",
|
|
53
|
+
ASGTotalNetworkIn = "ASGTotalNetworkIn",
|
|
54
|
+
ASGTotalNetworkOut = "ASGTotalNetworkOut",
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface PredefinedLoadMetricSpecification {
|
|
58
|
+
PredefinedLoadMetricType: LoadMetricType | string | undefined;
|
|
59
|
+
|
|
60
|
+
ResourceLabel?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare enum PredictiveScalingMaxCapacityBehavior {
|
|
63
|
+
SetForecastCapacityToMaxCapacity = "SetForecastCapacityToMaxCapacity",
|
|
64
|
+
SetMaxCapacityAboveForecastCapacity = "SetMaxCapacityAboveForecastCapacity",
|
|
65
|
+
SetMaxCapacityToForecastCapacity = "SetMaxCapacityToForecastCapacity",
|
|
66
|
+
}
|
|
67
|
+
export declare enum PredictiveScalingMode {
|
|
68
|
+
ForecastAndScale = "ForecastAndScale",
|
|
69
|
+
ForecastOnly = "ForecastOnly",
|
|
70
|
+
}
|
|
71
|
+
export declare enum ScalableDimension {
|
|
72
|
+
AutoScalingGroupDesiredCapacity = "autoscaling:autoScalingGroup:DesiredCapacity",
|
|
73
|
+
DynamoDBIndexReadCapacityUnits = "dynamodb:index:ReadCapacityUnits",
|
|
74
|
+
DynamoDBIndexWriteCapacityUnits = "dynamodb:index:WriteCapacityUnits",
|
|
75
|
+
DynamoDBTableReadCapacityUnits = "dynamodb:table:ReadCapacityUnits",
|
|
76
|
+
DynamoDBTableWriteCapacityUnits = "dynamodb:table:WriteCapacityUnits",
|
|
77
|
+
EC2SpotFleetRequestTargetCapacity = "ec2:spot-fleet-request:TargetCapacity",
|
|
78
|
+
ECSServiceDesiredCount = "ecs:service:DesiredCount",
|
|
79
|
+
RDSClusterReadReplicaCount = "rds:cluster:ReadReplicaCount",
|
|
80
|
+
}
|
|
81
|
+
export declare enum ScalingPolicyUpdateBehavior {
|
|
82
|
+
KeepExternalPolicies = "KeepExternalPolicies",
|
|
83
|
+
ReplaceExternalPolicies = "ReplaceExternalPolicies",
|
|
84
|
+
}
|
|
85
|
+
export declare enum ServiceNamespace {
|
|
86
|
+
AUTOSCALING = "autoscaling",
|
|
87
|
+
DYNAMODB = "dynamodb",
|
|
88
|
+
EC2 = "ec2",
|
|
89
|
+
ECS = "ecs",
|
|
90
|
+
RDS = "rds",
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface CustomizedScalingMetricSpecification {
|
|
94
|
+
MetricName: string | undefined;
|
|
95
|
+
|
|
96
|
+
Namespace: string | undefined;
|
|
97
|
+
|
|
98
|
+
Dimensions?: MetricDimension[];
|
|
99
|
+
|
|
100
|
+
Statistic: MetricStatistic | string | undefined;
|
|
101
|
+
|
|
102
|
+
Unit?: string;
|
|
103
|
+
}
|
|
104
|
+
export declare enum ScalingMetricType {
|
|
105
|
+
ALBRequestCountPerTarget = "ALBRequestCountPerTarget",
|
|
106
|
+
ASGAverageCPUUtilization = "ASGAverageCPUUtilization",
|
|
107
|
+
ASGAverageNetworkIn = "ASGAverageNetworkIn",
|
|
108
|
+
ASGAverageNetworkOut = "ASGAverageNetworkOut",
|
|
109
|
+
DynamoDBReadCapacityUtilization = "DynamoDBReadCapacityUtilization",
|
|
110
|
+
DynamoDBWriteCapacityUtilization = "DynamoDBWriteCapacityUtilization",
|
|
111
|
+
EC2SpotFleetRequestAverageCPUUtilization = "EC2SpotFleetRequestAverageCPUUtilization",
|
|
112
|
+
EC2SpotFleetRequestAverageNetworkIn = "EC2SpotFleetRequestAverageNetworkIn",
|
|
113
|
+
EC2SpotFleetRequestAverageNetworkOut = "EC2SpotFleetRequestAverageNetworkOut",
|
|
114
|
+
ECSServiceAverageCPUUtilization = "ECSServiceAverageCPUUtilization",
|
|
115
|
+
ECSServiceAverageMemoryUtilization = "ECSServiceAverageMemoryUtilization",
|
|
116
|
+
RDSReaderAverageCPUUtilization = "RDSReaderAverageCPUUtilization",
|
|
117
|
+
RDSReaderAverageDatabaseConnections = "RDSReaderAverageDatabaseConnections",
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface PredefinedScalingMetricSpecification {
|
|
121
|
+
PredefinedScalingMetricType: ScalingMetricType | string | undefined;
|
|
122
|
+
|
|
123
|
+
ResourceLabel?: string;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface TargetTrackingConfiguration {
|
|
127
|
+
PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification;
|
|
128
|
+
|
|
129
|
+
CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification;
|
|
130
|
+
|
|
131
|
+
TargetValue: number | undefined;
|
|
132
|
+
|
|
133
|
+
DisableScaleIn?: boolean;
|
|
134
|
+
|
|
135
|
+
ScaleOutCooldown?: number;
|
|
136
|
+
|
|
137
|
+
ScaleInCooldown?: number;
|
|
138
|
+
|
|
139
|
+
EstimatedInstanceWarmup?: number;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface ScalingInstruction {
|
|
143
|
+
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
144
|
+
|
|
145
|
+
ResourceId: string | undefined;
|
|
146
|
+
|
|
147
|
+
ScalableDimension: ScalableDimension | string | undefined;
|
|
148
|
+
|
|
149
|
+
MinCapacity: number | undefined;
|
|
150
|
+
|
|
151
|
+
MaxCapacity: number | undefined;
|
|
152
|
+
|
|
153
|
+
TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
|
|
154
|
+
|
|
155
|
+
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification;
|
|
156
|
+
|
|
157
|
+
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification;
|
|
158
|
+
|
|
159
|
+
ScheduledActionBufferTime?: number;
|
|
160
|
+
|
|
161
|
+
PredictiveScalingMaxCapacityBehavior?:
|
|
162
|
+
| PredictiveScalingMaxCapacityBehavior
|
|
163
|
+
| string;
|
|
164
|
+
|
|
165
|
+
PredictiveScalingMaxCapacityBuffer?: number;
|
|
166
|
+
|
|
167
|
+
PredictiveScalingMode?: PredictiveScalingMode | string;
|
|
168
|
+
|
|
169
|
+
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior | string;
|
|
170
|
+
|
|
171
|
+
DisableDynamicScaling?: boolean;
|
|
172
|
+
}
|
|
173
|
+
export interface CreateScalingPlanRequest {
|
|
174
|
+
ScalingPlanName: string | undefined;
|
|
175
|
+
|
|
176
|
+
ApplicationSource: ApplicationSource | undefined;
|
|
177
|
+
|
|
178
|
+
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
179
|
+
}
|
|
180
|
+
export interface CreateScalingPlanResponse {
|
|
181
|
+
ScalingPlanVersion: number | undefined;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export declare class InternalServiceException extends __BaseException {
|
|
185
|
+
readonly name: "InternalServiceException";
|
|
186
|
+
readonly $fault: "server";
|
|
187
|
+
Message?: string;
|
|
188
|
+
|
|
189
|
+
constructor(
|
|
190
|
+
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export declare class LimitExceededException extends __BaseException {
|
|
195
|
+
readonly name: "LimitExceededException";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
Message?: string;
|
|
198
|
+
|
|
199
|
+
constructor(
|
|
200
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export declare class ValidationException extends __BaseException {
|
|
205
|
+
readonly name: "ValidationException";
|
|
206
|
+
readonly $fault: "client";
|
|
207
|
+
Message?: string;
|
|
208
|
+
|
|
209
|
+
constructor(
|
|
210
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
export interface DeleteScalingPlanRequest {
|
|
214
|
+
ScalingPlanName: string | undefined;
|
|
215
|
+
|
|
216
|
+
ScalingPlanVersion: number | undefined;
|
|
217
|
+
}
|
|
218
|
+
export interface DeleteScalingPlanResponse {}
|
|
219
|
+
|
|
220
|
+
export declare class ObjectNotFoundException extends __BaseException {
|
|
221
|
+
readonly name: "ObjectNotFoundException";
|
|
222
|
+
readonly $fault: "client";
|
|
223
|
+
Message?: string;
|
|
224
|
+
|
|
225
|
+
constructor(
|
|
226
|
+
opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
|
|
227
|
+
);
|
|
228
|
+
}
|
|
229
|
+
export interface DescribeScalingPlanResourcesRequest {
|
|
230
|
+
ScalingPlanName: string | undefined;
|
|
231
|
+
|
|
232
|
+
ScalingPlanVersion: number | undefined;
|
|
233
|
+
|
|
234
|
+
MaxResults?: number;
|
|
235
|
+
|
|
236
|
+
NextToken?: string;
|
|
237
|
+
}
|
|
238
|
+
export declare enum PolicyType {
|
|
239
|
+
TargetTrackingScaling = "TargetTrackingScaling",
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export interface ScalingPolicy {
|
|
243
|
+
PolicyName: string | undefined;
|
|
244
|
+
|
|
245
|
+
PolicyType: PolicyType | string | undefined;
|
|
246
|
+
|
|
247
|
+
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
248
|
+
}
|
|
249
|
+
export declare enum ScalingStatusCode {
|
|
250
|
+
Active = "Active",
|
|
251
|
+
Inactive = "Inactive",
|
|
252
|
+
PartiallyActive = "PartiallyActive",
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export interface ScalingPlanResource {
|
|
256
|
+
ScalingPlanName: string | undefined;
|
|
257
|
+
|
|
258
|
+
ScalingPlanVersion: number | undefined;
|
|
259
|
+
|
|
260
|
+
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
261
|
+
|
|
262
|
+
ResourceId: string | undefined;
|
|
263
|
+
|
|
264
|
+
ScalableDimension: ScalableDimension | string | undefined;
|
|
265
|
+
|
|
266
|
+
ScalingPolicies?: ScalingPolicy[];
|
|
267
|
+
|
|
268
|
+
ScalingStatusCode: ScalingStatusCode | string | undefined;
|
|
269
|
+
|
|
270
|
+
ScalingStatusMessage?: string;
|
|
271
|
+
}
|
|
272
|
+
export interface DescribeScalingPlanResourcesResponse {
|
|
273
|
+
ScalingPlanResources?: ScalingPlanResource[];
|
|
274
|
+
|
|
275
|
+
NextToken?: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
279
|
+
readonly name: "InvalidNextTokenException";
|
|
280
|
+
readonly $fault: "client";
|
|
281
|
+
Message?: string;
|
|
282
|
+
|
|
283
|
+
constructor(
|
|
284
|
+
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
285
|
+
);
|
|
286
|
+
}
|
|
287
|
+
export interface DescribeScalingPlansRequest {
|
|
288
|
+
ScalingPlanNames?: string[];
|
|
289
|
+
|
|
290
|
+
ScalingPlanVersion?: number;
|
|
291
|
+
|
|
292
|
+
ApplicationSources?: ApplicationSource[];
|
|
293
|
+
|
|
294
|
+
MaxResults?: number;
|
|
295
|
+
|
|
296
|
+
NextToken?: string;
|
|
297
|
+
}
|
|
298
|
+
export declare enum ScalingPlanStatusCode {
|
|
299
|
+
Active = "Active",
|
|
300
|
+
ActiveWithProblems = "ActiveWithProblems",
|
|
301
|
+
CreationFailed = "CreationFailed",
|
|
302
|
+
CreationInProgress = "CreationInProgress",
|
|
303
|
+
DeletionFailed = "DeletionFailed",
|
|
304
|
+
DeletionInProgress = "DeletionInProgress",
|
|
305
|
+
UpdateFailed = "UpdateFailed",
|
|
306
|
+
UpdateInProgress = "UpdateInProgress",
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface ScalingPlan {
|
|
310
|
+
ScalingPlanName: string | undefined;
|
|
311
|
+
|
|
312
|
+
ScalingPlanVersion: number | undefined;
|
|
313
|
+
|
|
314
|
+
ApplicationSource: ApplicationSource | undefined;
|
|
315
|
+
|
|
316
|
+
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
317
|
+
|
|
318
|
+
StatusCode: ScalingPlanStatusCode | string | undefined;
|
|
319
|
+
|
|
320
|
+
StatusMessage?: string;
|
|
321
|
+
|
|
322
|
+
StatusStartTime?: Date;
|
|
323
|
+
|
|
324
|
+
CreationTime?: Date;
|
|
325
|
+
}
|
|
326
|
+
export interface DescribeScalingPlansResponse {
|
|
327
|
+
ScalingPlans?: ScalingPlan[];
|
|
328
|
+
|
|
329
|
+
NextToken?: string;
|
|
330
|
+
}
|
|
331
|
+
export declare enum ForecastDataType {
|
|
332
|
+
CapacityForecast = "CapacityForecast",
|
|
333
|
+
LoadForecast = "LoadForecast",
|
|
334
|
+
ScheduledActionMaxCapacity = "ScheduledActionMaxCapacity",
|
|
335
|
+
ScheduledActionMinCapacity = "ScheduledActionMinCapacity",
|
|
336
|
+
}
|
|
337
|
+
export interface GetScalingPlanResourceForecastDataRequest {
|
|
338
|
+
ScalingPlanName: string | undefined;
|
|
339
|
+
|
|
340
|
+
ScalingPlanVersion: number | undefined;
|
|
341
|
+
|
|
342
|
+
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
343
|
+
|
|
344
|
+
ResourceId: string | undefined;
|
|
345
|
+
|
|
346
|
+
ScalableDimension: ScalableDimension | string | undefined;
|
|
347
|
+
|
|
348
|
+
ForecastDataType: ForecastDataType | string | undefined;
|
|
349
|
+
|
|
350
|
+
StartTime: Date | undefined;
|
|
351
|
+
|
|
352
|
+
EndTime: Date | undefined;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface Datapoint {
|
|
356
|
+
Timestamp?: Date;
|
|
357
|
+
|
|
358
|
+
Value?: number;
|
|
359
|
+
}
|
|
360
|
+
export interface GetScalingPlanResourceForecastDataResponse {
|
|
361
|
+
Datapoints: Datapoint[] | undefined;
|
|
362
|
+
}
|
|
363
|
+
export interface UpdateScalingPlanRequest {
|
|
364
|
+
ScalingPlanName: string | undefined;
|
|
365
|
+
|
|
366
|
+
ScalingPlanVersion: number | undefined;
|
|
367
|
+
|
|
368
|
+
ApplicationSource?: ApplicationSource;
|
|
369
|
+
|
|
370
|
+
ScalingInstructions?: ScalingInstruction[];
|
|
371
|
+
}
|
|
372
|
+
export interface UpdateScalingPlanResponse {}
|
|
373
|
+
|
|
374
|
+
export declare const TagFilterFilterSensitiveLog: (obj: TagFilter) => any;
|
|
375
|
+
|
|
376
|
+
export declare const ApplicationSourceFilterSensitiveLog: (
|
|
377
|
+
obj: ApplicationSource
|
|
378
|
+
) => any;
|
|
379
|
+
|
|
380
|
+
export declare const MetricDimensionFilterSensitiveLog: (
|
|
381
|
+
obj: MetricDimension
|
|
382
|
+
) => any;
|
|
383
|
+
|
|
384
|
+
export declare const CustomizedLoadMetricSpecificationFilterSensitiveLog: (
|
|
385
|
+
obj: CustomizedLoadMetricSpecification
|
|
386
|
+
) => any;
|
|
387
|
+
|
|
388
|
+
export declare const PredefinedLoadMetricSpecificationFilterSensitiveLog: (
|
|
389
|
+
obj: PredefinedLoadMetricSpecification
|
|
390
|
+
) => any;
|
|
391
|
+
|
|
392
|
+
export declare const CustomizedScalingMetricSpecificationFilterSensitiveLog: (
|
|
393
|
+
obj: CustomizedScalingMetricSpecification
|
|
394
|
+
) => any;
|
|
395
|
+
|
|
396
|
+
export declare const PredefinedScalingMetricSpecificationFilterSensitiveLog: (
|
|
397
|
+
obj: PredefinedScalingMetricSpecification
|
|
398
|
+
) => any;
|
|
399
|
+
|
|
400
|
+
export declare const TargetTrackingConfigurationFilterSensitiveLog: (
|
|
401
|
+
obj: TargetTrackingConfiguration
|
|
402
|
+
) => any;
|
|
403
|
+
|
|
404
|
+
export declare const ScalingInstructionFilterSensitiveLog: (
|
|
405
|
+
obj: ScalingInstruction
|
|
406
|
+
) => any;
|
|
407
|
+
|
|
408
|
+
export declare const CreateScalingPlanRequestFilterSensitiveLog: (
|
|
409
|
+
obj: CreateScalingPlanRequest
|
|
410
|
+
) => any;
|
|
411
|
+
|
|
412
|
+
export declare const CreateScalingPlanResponseFilterSensitiveLog: (
|
|
413
|
+
obj: CreateScalingPlanResponse
|
|
414
|
+
) => any;
|
|
415
|
+
|
|
416
|
+
export declare const DeleteScalingPlanRequestFilterSensitiveLog: (
|
|
417
|
+
obj: DeleteScalingPlanRequest
|
|
418
|
+
) => any;
|
|
419
|
+
|
|
420
|
+
export declare const DeleteScalingPlanResponseFilterSensitiveLog: (
|
|
421
|
+
obj: DeleteScalingPlanResponse
|
|
422
|
+
) => any;
|
|
423
|
+
|
|
424
|
+
export declare const DescribeScalingPlanResourcesRequestFilterSensitiveLog: (
|
|
425
|
+
obj: DescribeScalingPlanResourcesRequest
|
|
426
|
+
) => any;
|
|
427
|
+
|
|
428
|
+
export declare const ScalingPolicyFilterSensitiveLog: (
|
|
429
|
+
obj: ScalingPolicy
|
|
430
|
+
) => any;
|
|
431
|
+
|
|
432
|
+
export declare const ScalingPlanResourceFilterSensitiveLog: (
|
|
433
|
+
obj: ScalingPlanResource
|
|
434
|
+
) => any;
|
|
435
|
+
|
|
436
|
+
export declare const DescribeScalingPlanResourcesResponseFilterSensitiveLog: (
|
|
437
|
+
obj: DescribeScalingPlanResourcesResponse
|
|
438
|
+
) => any;
|
|
439
|
+
|
|
440
|
+
export declare const DescribeScalingPlansRequestFilterSensitiveLog: (
|
|
441
|
+
obj: DescribeScalingPlansRequest
|
|
442
|
+
) => any;
|
|
443
|
+
|
|
444
|
+
export declare const ScalingPlanFilterSensitiveLog: (obj: ScalingPlan) => any;
|
|
445
|
+
|
|
446
|
+
export declare const DescribeScalingPlansResponseFilterSensitiveLog: (
|
|
447
|
+
obj: DescribeScalingPlansResponse
|
|
448
|
+
) => any;
|
|
449
|
+
|
|
450
|
+
export declare const GetScalingPlanResourceForecastDataRequestFilterSensitiveLog: (
|
|
451
|
+
obj: GetScalingPlanResourceForecastDataRequest
|
|
452
|
+
) => any;
|
|
453
|
+
|
|
454
|
+
export declare const DatapointFilterSensitiveLog: (obj: Datapoint) => any;
|
|
455
|
+
|
|
456
|
+
export declare const GetScalingPlanResourceForecastDataResponseFilterSensitiveLog: (
|
|
457
|
+
obj: GetScalingPlanResourceForecastDataResponse
|
|
458
|
+
) => any;
|
|
459
|
+
|
|
460
|
+
export declare const UpdateScalingPlanRequestFilterSensitiveLog: (
|
|
461
|
+
obj: UpdateScalingPlanRequest
|
|
462
|
+
) => any;
|
|
463
|
+
|
|
464
|
+
export declare const UpdateScalingPlanResponseFilterSensitiveLog: (
|
|
465
|
+
obj: UpdateScalingPlanResponse
|
|
466
|
+
) => any;
|