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