@aws-sdk/client-auto-scaling-plans 3.131.0 → 3.142.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/CreateScalingPlanCommand.js +2 -2
- package/dist-cjs/commands/DeleteScalingPlanCommand.js +2 -2
- package/dist-cjs/commands/DescribeScalingPlanResourcesCommand.js +2 -2
- package/dist-cjs/commands/DescribeScalingPlansCommand.js +2 -2
- package/dist-cjs/commands/GetScalingPlanResourceForecastDataCommand.js +2 -2
- package/dist-cjs/commands/UpdateScalingPlanCommand.js +2 -2
- package/dist-cjs/models/models_0.js +101 -151
- package/dist-cjs/protocols/Aws_json1_1.js +30 -69
- package/dist-es/commands/CreateScalingPlanCommand.js +3 -3
- package/dist-es/commands/DeleteScalingPlanCommand.js +3 -3
- package/dist-es/commands/DescribeScalingPlanResourcesCommand.js +3 -3
- package/dist-es/commands/DescribeScalingPlansCommand.js +3 -3
- package/dist-es/commands/GetScalingPlanResourceForecastDataCommand.js +3 -3
- package/dist-es/commands/UpdateScalingPlanCommand.js +3 -3
- package/dist-es/models/models_0.js +25 -100
- package/dist-es/protocols/Aws_json1_1.js +49 -70
- package/dist-types/models/models_0.d.ts +100 -150
- package/dist-types/ts3.4/models/models_0.d.ts +50 -100
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AutoScalingPlansServiceException as __BaseException } from "../models/AutoScalingPlansServiceException";
|
|
5
5
|
import { ConcurrentUpdateException, InternalServiceException, InvalidNextTokenException, LimitExceededException, ObjectNotFoundException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1CreateScalingPlanCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -88,7 +88,7 @@ export var deserializeAws_json1_1CreateScalingPlanCommand = function (output, co
|
|
|
88
88
|
});
|
|
89
89
|
}); };
|
|
90
90
|
var deserializeAws_json1_1CreateScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
91
|
-
var parsedOutput, _a,
|
|
91
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
92
92
|
var _c;
|
|
93
93
|
return __generator(this, function (_d) {
|
|
94
94
|
switch (_d.label) {
|
|
@@ -121,14 +121,14 @@ var deserializeAws_json1_1CreateScalingPlanCommandError = function (output, cont
|
|
|
121
121
|
case 9: throw _d.sent();
|
|
122
122
|
case 10:
|
|
123
123
|
parsedBody = parsedOutput.body;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
$metadata: $metadata,
|
|
124
|
+
throwDefaultError({
|
|
125
|
+
output: output,
|
|
126
|
+
parsedBody: parsedBody,
|
|
127
|
+
exceptionCtor: __BaseException,
|
|
128
|
+
errorCode: errorCode,
|
|
130
129
|
});
|
|
131
|
-
|
|
130
|
+
_d.label = 11;
|
|
131
|
+
case 11: return [2];
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
}); };
|
|
@@ -151,7 +151,7 @@ export var deserializeAws_json1_1DeleteScalingPlanCommand = function (output, co
|
|
|
151
151
|
});
|
|
152
152
|
}); };
|
|
153
153
|
var deserializeAws_json1_1DeleteScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
154
|
-
var parsedOutput, _a,
|
|
154
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
155
155
|
var _c;
|
|
156
156
|
return __generator(this, function (_d) {
|
|
157
157
|
switch (_d.label) {
|
|
@@ -184,14 +184,14 @@ var deserializeAws_json1_1DeleteScalingPlanCommandError = function (output, cont
|
|
|
184
184
|
case 9: throw _d.sent();
|
|
185
185
|
case 10:
|
|
186
186
|
parsedBody = parsedOutput.body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
$metadata: $metadata,
|
|
187
|
+
throwDefaultError({
|
|
188
|
+
output: output,
|
|
189
|
+
parsedBody: parsedBody,
|
|
190
|
+
exceptionCtor: __BaseException,
|
|
191
|
+
errorCode: errorCode,
|
|
193
192
|
});
|
|
194
|
-
|
|
193
|
+
_d.label = 11;
|
|
194
|
+
case 11: return [2];
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
}); };
|
|
@@ -214,7 +214,7 @@ export var deserializeAws_json1_1DescribeScalingPlanResourcesCommand = function
|
|
|
214
214
|
});
|
|
215
215
|
}); };
|
|
216
216
|
var deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
217
|
-
var parsedOutput, _a,
|
|
217
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
218
218
|
var _c;
|
|
219
219
|
return __generator(this, function (_d) {
|
|
220
220
|
switch (_d.label) {
|
|
@@ -247,14 +247,14 @@ var deserializeAws_json1_1DescribeScalingPlanResourcesCommandError = function (o
|
|
|
247
247
|
case 9: throw _d.sent();
|
|
248
248
|
case 10:
|
|
249
249
|
parsedBody = parsedOutput.body;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
$metadata: $metadata,
|
|
250
|
+
throwDefaultError({
|
|
251
|
+
output: output,
|
|
252
|
+
parsedBody: parsedBody,
|
|
253
|
+
exceptionCtor: __BaseException,
|
|
254
|
+
errorCode: errorCode,
|
|
256
255
|
});
|
|
257
|
-
|
|
256
|
+
_d.label = 11;
|
|
257
|
+
case 11: return [2];
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
}); };
|
|
@@ -277,7 +277,7 @@ export var deserializeAws_json1_1DescribeScalingPlansCommand = function (output,
|
|
|
277
277
|
});
|
|
278
278
|
}); };
|
|
279
279
|
var deserializeAws_json1_1DescribeScalingPlansCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
280
|
-
var parsedOutput, _a,
|
|
280
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
281
281
|
var _c;
|
|
282
282
|
return __generator(this, function (_d) {
|
|
283
283
|
switch (_d.label) {
|
|
@@ -310,14 +310,14 @@ var deserializeAws_json1_1DescribeScalingPlansCommandError = function (output, c
|
|
|
310
310
|
case 9: throw _d.sent();
|
|
311
311
|
case 10:
|
|
312
312
|
parsedBody = parsedOutput.body;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
$metadata: $metadata,
|
|
313
|
+
throwDefaultError({
|
|
314
|
+
output: output,
|
|
315
|
+
parsedBody: parsedBody,
|
|
316
|
+
exceptionCtor: __BaseException,
|
|
317
|
+
errorCode: errorCode,
|
|
319
318
|
});
|
|
320
|
-
|
|
319
|
+
_d.label = 11;
|
|
320
|
+
case 11: return [2];
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
323
|
}); };
|
|
@@ -340,7 +340,7 @@ export var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommand = fun
|
|
|
340
340
|
});
|
|
341
341
|
}); };
|
|
342
342
|
var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
343
|
-
var parsedOutput, _a,
|
|
343
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
344
344
|
var _c;
|
|
345
345
|
return __generator(this, function (_d) {
|
|
346
346
|
switch (_d.label) {
|
|
@@ -365,14 +365,14 @@ var deserializeAws_json1_1GetScalingPlanResourceForecastDataCommandError = funct
|
|
|
365
365
|
case 5: throw _d.sent();
|
|
366
366
|
case 6:
|
|
367
367
|
parsedBody = parsedOutput.body;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
$metadata: $metadata,
|
|
368
|
+
throwDefaultError({
|
|
369
|
+
output: output,
|
|
370
|
+
parsedBody: parsedBody,
|
|
371
|
+
exceptionCtor: __BaseException,
|
|
372
|
+
errorCode: errorCode,
|
|
374
373
|
});
|
|
375
|
-
|
|
374
|
+
_d.label = 7;
|
|
375
|
+
case 7: return [2];
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
378
|
}); };
|
|
@@ -395,7 +395,7 @@ export var deserializeAws_json1_1UpdateScalingPlanCommand = function (output, co
|
|
|
395
395
|
});
|
|
396
396
|
}); };
|
|
397
397
|
var deserializeAws_json1_1UpdateScalingPlanCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
398
|
-
var parsedOutput, _a,
|
|
398
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
399
399
|
var _c;
|
|
400
400
|
return __generator(this, function (_d) {
|
|
401
401
|
switch (_d.label) {
|
|
@@ -428,14 +428,14 @@ var deserializeAws_json1_1UpdateScalingPlanCommandError = function (output, cont
|
|
|
428
428
|
case 9: throw _d.sent();
|
|
429
429
|
case 10:
|
|
430
430
|
parsedBody = parsedOutput.body;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
$metadata: $metadata,
|
|
431
|
+
throwDefaultError({
|
|
432
|
+
output: output,
|
|
433
|
+
parsedBody: parsedBody,
|
|
434
|
+
exceptionCtor: __BaseException,
|
|
435
|
+
errorCode: errorCode,
|
|
437
436
|
});
|
|
438
|
-
|
|
437
|
+
_d.label = 11;
|
|
438
|
+
case 11: return [2];
|
|
439
439
|
}
|
|
440
440
|
});
|
|
441
441
|
}); };
|
|
@@ -500,9 +500,6 @@ var serializeAws_json1_1ApplicationSources = function (input, context) {
|
|
|
500
500
|
return input
|
|
501
501
|
.filter(function (e) { return e != null; })
|
|
502
502
|
.map(function (entry) {
|
|
503
|
-
if (entry === null) {
|
|
504
|
-
return null;
|
|
505
|
-
}
|
|
506
503
|
return serializeAws_json1_1ApplicationSource(entry, context);
|
|
507
504
|
});
|
|
508
505
|
};
|
|
@@ -542,9 +539,6 @@ var serializeAws_json1_1MetricDimensions = function (input, context) {
|
|
|
542
539
|
return input
|
|
543
540
|
.filter(function (e) { return e != null; })
|
|
544
541
|
.map(function (entry) {
|
|
545
|
-
if (entry === null) {
|
|
546
|
-
return null;
|
|
547
|
-
}
|
|
548
542
|
return serializeAws_json1_1MetricDimension(entry, context);
|
|
549
543
|
});
|
|
550
544
|
};
|
|
@@ -575,9 +569,6 @@ var serializeAws_json1_1ScalingInstructions = function (input, context) {
|
|
|
575
569
|
return input
|
|
576
570
|
.filter(function (e) { return e != null; })
|
|
577
571
|
.map(function (entry) {
|
|
578
|
-
if (entry === null) {
|
|
579
|
-
return null;
|
|
580
|
-
}
|
|
581
572
|
return serializeAws_json1_1ScalingInstruction(entry, context);
|
|
582
573
|
});
|
|
583
574
|
};
|
|
@@ -585,9 +576,6 @@ var serializeAws_json1_1ScalingPlanNames = function (input, context) {
|
|
|
585
576
|
return input
|
|
586
577
|
.filter(function (e) { return e != null; })
|
|
587
578
|
.map(function (entry) {
|
|
588
|
-
if (entry === null) {
|
|
589
|
-
return null;
|
|
590
|
-
}
|
|
591
579
|
return entry;
|
|
592
580
|
});
|
|
593
581
|
};
|
|
@@ -598,9 +586,6 @@ var serializeAws_json1_1TagFilters = function (input, context) {
|
|
|
598
586
|
return input
|
|
599
587
|
.filter(function (e) { return e != null; })
|
|
600
588
|
.map(function (entry) {
|
|
601
|
-
if (entry === null) {
|
|
602
|
-
return null;
|
|
603
|
-
}
|
|
604
589
|
return serializeAws_json1_1TagFilter(entry, context);
|
|
605
590
|
});
|
|
606
591
|
};
|
|
@@ -608,9 +593,6 @@ var serializeAws_json1_1TagValues = function (input, context) {
|
|
|
608
593
|
return input
|
|
609
594
|
.filter(function (e) { return e != null; })
|
|
610
595
|
.map(function (entry) {
|
|
611
|
-
if (entry === null) {
|
|
612
|
-
return null;
|
|
613
|
-
}
|
|
614
596
|
return entry;
|
|
615
597
|
});
|
|
616
598
|
};
|
|
@@ -625,9 +607,6 @@ var serializeAws_json1_1TargetTrackingConfigurations = function (input, context)
|
|
|
625
607
|
return input
|
|
626
608
|
.filter(function (e) { return e != null; })
|
|
627
609
|
.map(function (entry) {
|
|
628
|
-
if (entry === null) {
|
|
629
|
-
return null;
|
|
630
|
-
}
|
|
631
610
|
return serializeAws_json1_1TargetTrackingConfiguration(entry, context);
|
|
632
611
|
});
|
|
633
612
|
};
|
|
@@ -26,12 +26,6 @@ export interface TagFilter {
|
|
|
26
26
|
*/
|
|
27
27
|
Values?: string[];
|
|
28
28
|
}
|
|
29
|
-
export declare namespace TagFilter {
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
const filterSensitiveLog: (obj: TagFilter) => any;
|
|
34
|
-
}
|
|
35
29
|
/**
|
|
36
30
|
* <p>Represents an application source.</p>
|
|
37
31
|
*/
|
|
@@ -45,12 +39,6 @@ export interface ApplicationSource {
|
|
|
45
39
|
*/
|
|
46
40
|
TagFilters?: TagFilter[];
|
|
47
41
|
}
|
|
48
|
-
export declare namespace ApplicationSource {
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
const filterSensitiveLog: (obj: ApplicationSource) => any;
|
|
53
|
-
}
|
|
54
42
|
/**
|
|
55
43
|
* <p>Represents a dimension for a customized metric.</p>
|
|
56
44
|
*/
|
|
@@ -64,12 +52,6 @@ export interface MetricDimension {
|
|
|
64
52
|
*/
|
|
65
53
|
Value: string | undefined;
|
|
66
54
|
}
|
|
67
|
-
export declare namespace MetricDimension {
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
const filterSensitiveLog: (obj: MetricDimension) => any;
|
|
72
|
-
}
|
|
73
55
|
export declare enum MetricStatistic {
|
|
74
56
|
Average = "Average",
|
|
75
57
|
Maximum = "Maximum",
|
|
@@ -127,12 +109,6 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
127
109
|
*/
|
|
128
110
|
Unit?: string;
|
|
129
111
|
}
|
|
130
|
-
export declare namespace CustomizedLoadMetricSpecification {
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
const filterSensitiveLog: (obj: CustomizedLoadMetricSpecification) => any;
|
|
135
|
-
}
|
|
136
112
|
export declare enum LoadMetricType {
|
|
137
113
|
ALBTargetGroupRequestCount = "ALBTargetGroupRequestCount",
|
|
138
114
|
ASGTotalCPUUtilization = "ASGTotalCPUUtilization",
|
|
@@ -177,12 +153,6 @@ export interface PredefinedLoadMetricSpecification {
|
|
|
177
153
|
*/
|
|
178
154
|
ResourceLabel?: string;
|
|
179
155
|
}
|
|
180
|
-
export declare namespace PredefinedLoadMetricSpecification {
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
const filterSensitiveLog: (obj: PredefinedLoadMetricSpecification) => any;
|
|
185
|
-
}
|
|
186
156
|
export declare enum PredictiveScalingMaxCapacityBehavior {
|
|
187
157
|
SetForecastCapacityToMaxCapacity = "SetForecastCapacityToMaxCapacity",
|
|
188
158
|
SetMaxCapacityAboveForecastCapacity = "SetMaxCapacityAboveForecastCapacity",
|
|
@@ -258,12 +228,6 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
258
228
|
*/
|
|
259
229
|
Unit?: string;
|
|
260
230
|
}
|
|
261
|
-
export declare namespace CustomizedScalingMetricSpecification {
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
const filterSensitiveLog: (obj: CustomizedScalingMetricSpecification) => any;
|
|
266
|
-
}
|
|
267
231
|
export declare enum ScalingMetricType {
|
|
268
232
|
ALBRequestCountPerTarget = "ALBRequestCountPerTarget",
|
|
269
233
|
ASGAverageCPUUtilization = "ASGAverageCPUUtilization",
|
|
@@ -316,12 +280,6 @@ export interface PredefinedScalingMetricSpecification {
|
|
|
316
280
|
*/
|
|
317
281
|
ResourceLabel?: string;
|
|
318
282
|
}
|
|
319
|
-
export declare namespace PredefinedScalingMetricSpecification {
|
|
320
|
-
/**
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
323
|
-
const filterSensitiveLog: (obj: PredefinedScalingMetricSpecification) => any;
|
|
324
|
-
}
|
|
325
283
|
/**
|
|
326
284
|
* <p>Describes a target tracking configuration to use with AWS Auto Scaling. Used with <a>ScalingInstruction</a> and <a>ScalingPolicy</a>.</p>
|
|
327
285
|
*/
|
|
@@ -378,12 +336,6 @@ export interface TargetTrackingConfiguration {
|
|
|
378
336
|
*/
|
|
379
337
|
EstimatedInstanceWarmup?: number;
|
|
380
338
|
}
|
|
381
|
-
export declare namespace TargetTrackingConfiguration {
|
|
382
|
-
/**
|
|
383
|
-
* @internal
|
|
384
|
-
*/
|
|
385
|
-
const filterSensitiveLog: (obj: TargetTrackingConfiguration) => any;
|
|
386
|
-
}
|
|
387
339
|
/**
|
|
388
340
|
* <p>Describes a scaling instruction for a scalable resource in a scaling plan. Each scaling
|
|
389
341
|
* instruction applies to one resource.</p>
|
|
@@ -580,12 +532,6 @@ export interface ScalingInstruction {
|
|
|
580
532
|
*/
|
|
581
533
|
DisableDynamicScaling?: boolean;
|
|
582
534
|
}
|
|
583
|
-
export declare namespace ScalingInstruction {
|
|
584
|
-
/**
|
|
585
|
-
* @internal
|
|
586
|
-
*/
|
|
587
|
-
const filterSensitiveLog: (obj: ScalingInstruction) => any;
|
|
588
|
-
}
|
|
589
535
|
export interface CreateScalingPlanRequest {
|
|
590
536
|
/**
|
|
591
537
|
* <p>The name of the scaling plan. Names cannot contain vertical bars, colons, or forward
|
|
@@ -604,12 +550,6 @@ export interface CreateScalingPlanRequest {
|
|
|
604
550
|
*/
|
|
605
551
|
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
606
552
|
}
|
|
607
|
-
export declare namespace CreateScalingPlanRequest {
|
|
608
|
-
/**
|
|
609
|
-
* @internal
|
|
610
|
-
*/
|
|
611
|
-
const filterSensitiveLog: (obj: CreateScalingPlanRequest) => any;
|
|
612
|
-
}
|
|
613
553
|
export interface CreateScalingPlanResponse {
|
|
614
554
|
/**
|
|
615
555
|
* <p>The version number of the scaling plan. This value is always <code>1</code>. Currently,
|
|
@@ -617,12 +557,6 @@ export interface CreateScalingPlanResponse {
|
|
|
617
557
|
*/
|
|
618
558
|
ScalingPlanVersion: number | undefined;
|
|
619
559
|
}
|
|
620
|
-
export declare namespace CreateScalingPlanResponse {
|
|
621
|
-
/**
|
|
622
|
-
* @internal
|
|
623
|
-
*/
|
|
624
|
-
const filterSensitiveLog: (obj: CreateScalingPlanResponse) => any;
|
|
625
|
-
}
|
|
626
560
|
/**
|
|
627
561
|
* <p>The service encountered an internal error.</p>
|
|
628
562
|
*/
|
|
@@ -671,20 +605,8 @@ export interface DeleteScalingPlanRequest {
|
|
|
671
605
|
*/
|
|
672
606
|
ScalingPlanVersion: number | undefined;
|
|
673
607
|
}
|
|
674
|
-
export declare namespace DeleteScalingPlanRequest {
|
|
675
|
-
/**
|
|
676
|
-
* @internal
|
|
677
|
-
*/
|
|
678
|
-
const filterSensitiveLog: (obj: DeleteScalingPlanRequest) => any;
|
|
679
|
-
}
|
|
680
608
|
export interface DeleteScalingPlanResponse {
|
|
681
609
|
}
|
|
682
|
-
export declare namespace DeleteScalingPlanResponse {
|
|
683
|
-
/**
|
|
684
|
-
* @internal
|
|
685
|
-
*/
|
|
686
|
-
const filterSensitiveLog: (obj: DeleteScalingPlanResponse) => any;
|
|
687
|
-
}
|
|
688
610
|
/**
|
|
689
611
|
* <p>The specified object could not be found.</p>
|
|
690
612
|
*/
|
|
@@ -717,12 +639,6 @@ export interface DescribeScalingPlanResourcesRequest {
|
|
|
717
639
|
*/
|
|
718
640
|
NextToken?: string;
|
|
719
641
|
}
|
|
720
|
-
export declare namespace DescribeScalingPlanResourcesRequest {
|
|
721
|
-
/**
|
|
722
|
-
* @internal
|
|
723
|
-
*/
|
|
724
|
-
const filterSensitiveLog: (obj: DescribeScalingPlanResourcesRequest) => any;
|
|
725
|
-
}
|
|
726
642
|
export declare enum PolicyType {
|
|
727
643
|
TargetTrackingScaling = "TargetTrackingScaling"
|
|
728
644
|
}
|
|
@@ -744,12 +660,6 @@ export interface ScalingPolicy {
|
|
|
744
660
|
*/
|
|
745
661
|
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
746
662
|
}
|
|
747
|
-
export declare namespace ScalingPolicy {
|
|
748
|
-
/**
|
|
749
|
-
* @internal
|
|
750
|
-
*/
|
|
751
|
-
const filterSensitiveLog: (obj: ScalingPolicy) => any;
|
|
752
|
-
}
|
|
753
663
|
export declare enum ScalingStatusCode {
|
|
754
664
|
Active = "Active",
|
|
755
665
|
Inactive = "Inactive",
|
|
@@ -871,12 +781,6 @@ export interface ScalingPlanResource {
|
|
|
871
781
|
*/
|
|
872
782
|
ScalingStatusMessage?: string;
|
|
873
783
|
}
|
|
874
|
-
export declare namespace ScalingPlanResource {
|
|
875
|
-
/**
|
|
876
|
-
* @internal
|
|
877
|
-
*/
|
|
878
|
-
const filterSensitiveLog: (obj: ScalingPlanResource) => any;
|
|
879
|
-
}
|
|
880
784
|
export interface DescribeScalingPlanResourcesResponse {
|
|
881
785
|
/**
|
|
882
786
|
* <p>Information about the scalable resources.</p>
|
|
@@ -888,12 +792,6 @@ export interface DescribeScalingPlanResourcesResponse {
|
|
|
888
792
|
*/
|
|
889
793
|
NextToken?: string;
|
|
890
794
|
}
|
|
891
|
-
export declare namespace DescribeScalingPlanResourcesResponse {
|
|
892
|
-
/**
|
|
893
|
-
* @internal
|
|
894
|
-
*/
|
|
895
|
-
const filterSensitiveLog: (obj: DescribeScalingPlanResourcesResponse) => any;
|
|
896
|
-
}
|
|
897
795
|
/**
|
|
898
796
|
* <p>The token provided is not valid.</p>
|
|
899
797
|
*/
|
|
@@ -936,12 +834,6 @@ export interface DescribeScalingPlansRequest {
|
|
|
936
834
|
*/
|
|
937
835
|
NextToken?: string;
|
|
938
836
|
}
|
|
939
|
-
export declare namespace DescribeScalingPlansRequest {
|
|
940
|
-
/**
|
|
941
|
-
* @internal
|
|
942
|
-
*/
|
|
943
|
-
const filterSensitiveLog: (obj: DescribeScalingPlansRequest) => any;
|
|
944
|
-
}
|
|
945
837
|
export declare enum ScalingPlanStatusCode {
|
|
946
838
|
Active = "Active",
|
|
947
839
|
ActiveWithProblems = "ActiveWithProblems",
|
|
@@ -1025,12 +917,6 @@ export interface ScalingPlan {
|
|
|
1025
917
|
*/
|
|
1026
918
|
CreationTime?: Date;
|
|
1027
919
|
}
|
|
1028
|
-
export declare namespace ScalingPlan {
|
|
1029
|
-
/**
|
|
1030
|
-
* @internal
|
|
1031
|
-
*/
|
|
1032
|
-
const filterSensitiveLog: (obj: ScalingPlan) => any;
|
|
1033
|
-
}
|
|
1034
920
|
export interface DescribeScalingPlansResponse {
|
|
1035
921
|
/**
|
|
1036
922
|
* <p>Information about the scaling plans.</p>
|
|
@@ -1042,12 +928,6 @@ export interface DescribeScalingPlansResponse {
|
|
|
1042
928
|
*/
|
|
1043
929
|
NextToken?: string;
|
|
1044
930
|
}
|
|
1045
|
-
export declare namespace DescribeScalingPlansResponse {
|
|
1046
|
-
/**
|
|
1047
|
-
* @internal
|
|
1048
|
-
*/
|
|
1049
|
-
const filterSensitiveLog: (obj: DescribeScalingPlansResponse) => any;
|
|
1050
|
-
}
|
|
1051
931
|
export declare enum ForecastDataType {
|
|
1052
932
|
CapacityForecast = "CapacityForecast",
|
|
1053
933
|
LoadForecast = "LoadForecast",
|
|
@@ -1120,12 +1000,6 @@ export interface GetScalingPlanResourceForecastDataRequest {
|
|
|
1120
1000
|
*/
|
|
1121
1001
|
EndTime: Date | undefined;
|
|
1122
1002
|
}
|
|
1123
|
-
export declare namespace GetScalingPlanResourceForecastDataRequest {
|
|
1124
|
-
/**
|
|
1125
|
-
* @internal
|
|
1126
|
-
*/
|
|
1127
|
-
const filterSensitiveLog: (obj: GetScalingPlanResourceForecastDataRequest) => any;
|
|
1128
|
-
}
|
|
1129
1003
|
/**
|
|
1130
1004
|
* <p>Represents a single value in the forecast data used for predictive scaling.</p>
|
|
1131
1005
|
*/
|
|
@@ -1139,24 +1013,12 @@ export interface Datapoint {
|
|
|
1139
1013
|
*/
|
|
1140
1014
|
Value?: number;
|
|
1141
1015
|
}
|
|
1142
|
-
export declare namespace Datapoint {
|
|
1143
|
-
/**
|
|
1144
|
-
* @internal
|
|
1145
|
-
*/
|
|
1146
|
-
const filterSensitiveLog: (obj: Datapoint) => any;
|
|
1147
|
-
}
|
|
1148
1016
|
export interface GetScalingPlanResourceForecastDataResponse {
|
|
1149
1017
|
/**
|
|
1150
1018
|
* <p>The data points to return.</p>
|
|
1151
1019
|
*/
|
|
1152
1020
|
Datapoints: Datapoint[] | undefined;
|
|
1153
1021
|
}
|
|
1154
|
-
export declare namespace GetScalingPlanResourceForecastDataResponse {
|
|
1155
|
-
/**
|
|
1156
|
-
* @internal
|
|
1157
|
-
*/
|
|
1158
|
-
const filterSensitiveLog: (obj: GetScalingPlanResourceForecastDataResponse) => any;
|
|
1159
|
-
}
|
|
1160
1022
|
export interface UpdateScalingPlanRequest {
|
|
1161
1023
|
/**
|
|
1162
1024
|
* <p>The name of the scaling plan.</p>
|
|
@@ -1178,17 +1040,105 @@ export interface UpdateScalingPlanRequest {
|
|
|
1178
1040
|
*/
|
|
1179
1041
|
ScalingInstructions?: ScalingInstruction[];
|
|
1180
1042
|
}
|
|
1181
|
-
export declare namespace UpdateScalingPlanRequest {
|
|
1182
|
-
/**
|
|
1183
|
-
* @internal
|
|
1184
|
-
*/
|
|
1185
|
-
const filterSensitiveLog: (obj: UpdateScalingPlanRequest) => any;
|
|
1186
|
-
}
|
|
1187
1043
|
export interface UpdateScalingPlanResponse {
|
|
1188
1044
|
}
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1045
|
+
/**
|
|
1046
|
+
* @internal
|
|
1047
|
+
*/
|
|
1048
|
+
export declare const TagFilterFilterSensitiveLog: (obj: TagFilter) => any;
|
|
1049
|
+
/**
|
|
1050
|
+
* @internal
|
|
1051
|
+
*/
|
|
1052
|
+
export declare const ApplicationSourceFilterSensitiveLog: (obj: ApplicationSource) => any;
|
|
1053
|
+
/**
|
|
1054
|
+
* @internal
|
|
1055
|
+
*/
|
|
1056
|
+
export declare const MetricDimensionFilterSensitiveLog: (obj: MetricDimension) => any;
|
|
1057
|
+
/**
|
|
1058
|
+
* @internal
|
|
1059
|
+
*/
|
|
1060
|
+
export declare const CustomizedLoadMetricSpecificationFilterSensitiveLog: (obj: CustomizedLoadMetricSpecification) => any;
|
|
1061
|
+
/**
|
|
1062
|
+
* @internal
|
|
1063
|
+
*/
|
|
1064
|
+
export declare const PredefinedLoadMetricSpecificationFilterSensitiveLog: (obj: PredefinedLoadMetricSpecification) => any;
|
|
1065
|
+
/**
|
|
1066
|
+
* @internal
|
|
1067
|
+
*/
|
|
1068
|
+
export declare const CustomizedScalingMetricSpecificationFilterSensitiveLog: (obj: CustomizedScalingMetricSpecification) => any;
|
|
1069
|
+
/**
|
|
1070
|
+
* @internal
|
|
1071
|
+
*/
|
|
1072
|
+
export declare const PredefinedScalingMetricSpecificationFilterSensitiveLog: (obj: PredefinedScalingMetricSpecification) => any;
|
|
1073
|
+
/**
|
|
1074
|
+
* @internal
|
|
1075
|
+
*/
|
|
1076
|
+
export declare const TargetTrackingConfigurationFilterSensitiveLog: (obj: TargetTrackingConfiguration) => any;
|
|
1077
|
+
/**
|
|
1078
|
+
* @internal
|
|
1079
|
+
*/
|
|
1080
|
+
export declare const ScalingInstructionFilterSensitiveLog: (obj: ScalingInstruction) => any;
|
|
1081
|
+
/**
|
|
1082
|
+
* @internal
|
|
1083
|
+
*/
|
|
1084
|
+
export declare const CreateScalingPlanRequestFilterSensitiveLog: (obj: CreateScalingPlanRequest) => any;
|
|
1085
|
+
/**
|
|
1086
|
+
* @internal
|
|
1087
|
+
*/
|
|
1088
|
+
export declare const CreateScalingPlanResponseFilterSensitiveLog: (obj: CreateScalingPlanResponse) => any;
|
|
1089
|
+
/**
|
|
1090
|
+
* @internal
|
|
1091
|
+
*/
|
|
1092
|
+
export declare const DeleteScalingPlanRequestFilterSensitiveLog: (obj: DeleteScalingPlanRequest) => any;
|
|
1093
|
+
/**
|
|
1094
|
+
* @internal
|
|
1095
|
+
*/
|
|
1096
|
+
export declare const DeleteScalingPlanResponseFilterSensitiveLog: (obj: DeleteScalingPlanResponse) => any;
|
|
1097
|
+
/**
|
|
1098
|
+
* @internal
|
|
1099
|
+
*/
|
|
1100
|
+
export declare const DescribeScalingPlanResourcesRequestFilterSensitiveLog: (obj: DescribeScalingPlanResourcesRequest) => any;
|
|
1101
|
+
/**
|
|
1102
|
+
* @internal
|
|
1103
|
+
*/
|
|
1104
|
+
export declare const ScalingPolicyFilterSensitiveLog: (obj: ScalingPolicy) => any;
|
|
1105
|
+
/**
|
|
1106
|
+
* @internal
|
|
1107
|
+
*/
|
|
1108
|
+
export declare const ScalingPlanResourceFilterSensitiveLog: (obj: ScalingPlanResource) => any;
|
|
1109
|
+
/**
|
|
1110
|
+
* @internal
|
|
1111
|
+
*/
|
|
1112
|
+
export declare const DescribeScalingPlanResourcesResponseFilterSensitiveLog: (obj: DescribeScalingPlanResourcesResponse) => any;
|
|
1113
|
+
/**
|
|
1114
|
+
* @internal
|
|
1115
|
+
*/
|
|
1116
|
+
export declare const DescribeScalingPlansRequestFilterSensitiveLog: (obj: DescribeScalingPlansRequest) => any;
|
|
1117
|
+
/**
|
|
1118
|
+
* @internal
|
|
1119
|
+
*/
|
|
1120
|
+
export declare const ScalingPlanFilterSensitiveLog: (obj: ScalingPlan) => any;
|
|
1121
|
+
/**
|
|
1122
|
+
* @internal
|
|
1123
|
+
*/
|
|
1124
|
+
export declare const DescribeScalingPlansResponseFilterSensitiveLog: (obj: DescribeScalingPlansResponse) => any;
|
|
1125
|
+
/**
|
|
1126
|
+
* @internal
|
|
1127
|
+
*/
|
|
1128
|
+
export declare const GetScalingPlanResourceForecastDataRequestFilterSensitiveLog: (obj: GetScalingPlanResourceForecastDataRequest) => any;
|
|
1129
|
+
/**
|
|
1130
|
+
* @internal
|
|
1131
|
+
*/
|
|
1132
|
+
export declare const DatapointFilterSensitiveLog: (obj: Datapoint) => any;
|
|
1133
|
+
/**
|
|
1134
|
+
* @internal
|
|
1135
|
+
*/
|
|
1136
|
+
export declare const GetScalingPlanResourceForecastDataResponseFilterSensitiveLog: (obj: GetScalingPlanResourceForecastDataResponse) => any;
|
|
1137
|
+
/**
|
|
1138
|
+
* @internal
|
|
1139
|
+
*/
|
|
1140
|
+
export declare const UpdateScalingPlanRequestFilterSensitiveLog: (obj: UpdateScalingPlanRequest) => any;
|
|
1141
|
+
/**
|
|
1142
|
+
* @internal
|
|
1143
|
+
*/
|
|
1144
|
+
export declare const UpdateScalingPlanResponseFilterSensitiveLog: (obj: UpdateScalingPlanResponse) => any;
|