@aws-sdk/client-auto-scaling-plans 3.687.0 → 3.691.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.
|
@@ -8,7 +8,7 @@ import { AutoScalingPlansServiceException as __BaseException } from "./AutoScali
|
|
|
8
8
|
export declare class ConcurrentUpdateException extends __BaseException {
|
|
9
9
|
readonly name: "ConcurrentUpdateException";
|
|
10
10
|
readonly $fault: "server";
|
|
11
|
-
Message?: string;
|
|
11
|
+
Message?: string | undefined;
|
|
12
12
|
/**
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
@@ -23,12 +23,12 @@ export interface TagFilter {
|
|
|
23
23
|
* <p>The tag key.</p>
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
Key?: string;
|
|
26
|
+
Key?: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* <p>The tag values (0 to 20).</p>
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
|
-
Values?: string[];
|
|
31
|
+
Values?: string[] | undefined;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* <p>Represents an application source.</p>
|
|
@@ -39,12 +39,12 @@ export interface ApplicationSource {
|
|
|
39
39
|
* <p>The Amazon Resource Name (ARN) of a AWS CloudFormation stack.</p>
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
|
-
CloudFormationStackARN?: string;
|
|
42
|
+
CloudFormationStackARN?: string | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* <p>A set of tags (up to 50).</p>
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
TagFilters?: TagFilter[];
|
|
47
|
+
TagFilters?: TagFilter[] | undefined;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* <p>Represents a dimension for a customized metric.</p>
|
|
@@ -121,7 +121,7 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
121
121
|
* dimensions in your customized load metric specification.</p>
|
|
122
122
|
* @public
|
|
123
123
|
*/
|
|
124
|
-
Dimensions?: MetricDimension[];
|
|
124
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
125
125
|
/**
|
|
126
126
|
* <p>The statistic of the metric. The only valid value is <code>Sum</code>.</p>
|
|
127
127
|
* @public
|
|
@@ -131,7 +131,7 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
131
131
|
* <p>The unit of the metric.</p>
|
|
132
132
|
* @public
|
|
133
133
|
*/
|
|
134
|
-
Unit?: string;
|
|
134
|
+
Unit?: string | undefined;
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
137
|
* @public
|
|
@@ -186,7 +186,7 @@ export interface PredefinedLoadMetricSpecification {
|
|
|
186
186
|
* the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
|
|
187
187
|
* @public
|
|
188
188
|
*/
|
|
189
|
-
ResourceLabel?: string;
|
|
189
|
+
ResourceLabel?: string | undefined;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* @public
|
|
@@ -297,7 +297,7 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
297
297
|
* dimensions in your customized scaling metric specification.</p>
|
|
298
298
|
* @public
|
|
299
299
|
*/
|
|
300
|
-
Dimensions?: MetricDimension[];
|
|
300
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
301
301
|
/**
|
|
302
302
|
* <p>The statistic of the metric.</p>
|
|
303
303
|
* @public
|
|
@@ -307,7 +307,7 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
307
307
|
* <p>The unit of the metric. </p>
|
|
308
308
|
* @public
|
|
309
309
|
*/
|
|
310
|
-
Unit?: string;
|
|
310
|
+
Unit?: string | undefined;
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
313
|
* @public
|
|
@@ -370,7 +370,7 @@ export interface PredefinedScalingMetricSpecification {
|
|
|
370
370
|
* the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
|
|
371
371
|
* @public
|
|
372
372
|
*/
|
|
373
|
-
ResourceLabel?: string;
|
|
373
|
+
ResourceLabel?: string | undefined;
|
|
374
374
|
}
|
|
375
375
|
/**
|
|
376
376
|
* <p>Describes a target tracking configuration to use with AWS Auto Scaling. Used with <a>ScalingInstruction</a> and <a>ScalingPolicy</a>.</p>
|
|
@@ -382,13 +382,13 @@ export interface TargetTrackingConfiguration {
|
|
|
382
382
|
* metric.</p>
|
|
383
383
|
* @public
|
|
384
384
|
*/
|
|
385
|
-
PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification;
|
|
385
|
+
PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification | undefined;
|
|
386
386
|
/**
|
|
387
387
|
* <p>A customized metric. You can specify either a predefined metric or a customized metric.
|
|
388
388
|
* </p>
|
|
389
389
|
* @public
|
|
390
390
|
*/
|
|
391
|
-
CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification;
|
|
391
|
+
CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification | undefined;
|
|
392
392
|
/**
|
|
393
393
|
* <p>The target value for the metric. Although this property accepts numbers of type Double,
|
|
394
394
|
* it won't accept values that are either too small or too large. Values must be in the range
|
|
@@ -404,7 +404,7 @@ export interface TargetTrackingConfiguration {
|
|
|
404
404
|
* <p>The default value is <code>false</code>.</p>
|
|
405
405
|
* @public
|
|
406
406
|
*/
|
|
407
|
-
DisableScaleIn?: boolean;
|
|
407
|
+
DisableScaleIn?: boolean | undefined;
|
|
408
408
|
/**
|
|
409
409
|
* <p>The amount of time, in seconds, to wait for a previous scale-out activity to take
|
|
410
410
|
* effect. This property is not used if the scalable resource is an Auto Scaling
|
|
@@ -416,7 +416,7 @@ export interface TargetTrackingConfiguration {
|
|
|
416
416
|
* cooldown period ends.</p>
|
|
417
417
|
* @public
|
|
418
418
|
*/
|
|
419
|
-
ScaleOutCooldown?: number;
|
|
419
|
+
ScaleOutCooldown?: number | undefined;
|
|
420
420
|
/**
|
|
421
421
|
* <p>The amount of time, in seconds, after a scale-in activity completes before another
|
|
422
422
|
* scale-in activity can start. This property is not used if the scalable resource is an Auto Scaling
|
|
@@ -428,13 +428,13 @@ export interface TargetTrackingConfiguration {
|
|
|
428
428
|
* the scale-in cooldown period stops and doesn't complete.</p>
|
|
429
429
|
* @public
|
|
430
430
|
*/
|
|
431
|
-
ScaleInCooldown?: number;
|
|
431
|
+
ScaleInCooldown?: number | undefined;
|
|
432
432
|
/**
|
|
433
433
|
* <p>The estimated time, in seconds, until a newly launched instance can contribute to the
|
|
434
434
|
* CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.</p>
|
|
435
435
|
* @public
|
|
436
436
|
*/
|
|
437
|
-
EstimatedInstanceWarmup?: number;
|
|
437
|
+
EstimatedInstanceWarmup?: number | undefined;
|
|
438
438
|
}
|
|
439
439
|
/**
|
|
440
440
|
* <p>Describes a scaling instruction for a scalable resource in a scaling plan. Each scaling
|
|
@@ -556,13 +556,13 @@ export interface ScalingInstruction {
|
|
|
556
556
|
* predictive scaling, and cannot be used otherwise. </p>
|
|
557
557
|
* @public
|
|
558
558
|
*/
|
|
559
|
-
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification;
|
|
559
|
+
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification | undefined;
|
|
560
560
|
/**
|
|
561
561
|
* <p>The customized load metric to use for predictive scaling. This parameter or a <b>PredefinedLoadMetricSpecification</b> is required when configuring
|
|
562
562
|
* predictive scaling, and cannot be used otherwise. </p>
|
|
563
563
|
* @public
|
|
564
564
|
*/
|
|
565
|
-
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification;
|
|
565
|
+
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification | undefined;
|
|
566
566
|
/**
|
|
567
567
|
* <p>The amount of time, in seconds, to buffer the run time of scheduled scaling actions when
|
|
568
568
|
* scaling out. For example, if the forecast says to add capacity at 10:00 AM, and the buffer
|
|
@@ -576,7 +576,7 @@ export interface ScalingInstruction {
|
|
|
576
576
|
* <p>Only valid when configuring predictive scaling. </p>
|
|
577
577
|
* @public
|
|
578
578
|
*/
|
|
579
|
-
ScheduledActionBufferTime?: number;
|
|
579
|
+
ScheduledActionBufferTime?: number | undefined;
|
|
580
580
|
/**
|
|
581
581
|
* <p>Defines the behavior that should be applied if the forecast capacity approaches or
|
|
582
582
|
* exceeds the maximum capacity specified for the resource. The default value is
|
|
@@ -606,7 +606,7 @@ export interface ScalingInstruction {
|
|
|
606
606
|
* <p>Only valid when configuring predictive scaling.</p>
|
|
607
607
|
* @public
|
|
608
608
|
*/
|
|
609
|
-
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior;
|
|
609
|
+
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior | undefined;
|
|
610
610
|
/**
|
|
611
611
|
* <p>The size of the capacity buffer to use when the forecast capacity is close to or exceeds
|
|
612
612
|
* the maximum capacity. The value is specified as a percentage relative to the forecast
|
|
@@ -618,14 +618,14 @@ export interface ScalingInstruction {
|
|
|
618
618
|
* <p>The range is 1-100.</p>
|
|
619
619
|
* @public
|
|
620
620
|
*/
|
|
621
|
-
PredictiveScalingMaxCapacityBuffer?: number;
|
|
621
|
+
PredictiveScalingMaxCapacityBuffer?: number | undefined;
|
|
622
622
|
/**
|
|
623
623
|
* <p>The predictive scaling mode. The default value is <code>ForecastAndScale</code>.
|
|
624
624
|
* Otherwise, AWS Auto Scaling forecasts capacity but does not create any scheduled scaling actions
|
|
625
625
|
* based on the capacity forecast. </p>
|
|
626
626
|
* @public
|
|
627
627
|
*/
|
|
628
|
-
PredictiveScalingMode?: PredictiveScalingMode;
|
|
628
|
+
PredictiveScalingMode?: PredictiveScalingMode | undefined;
|
|
629
629
|
/**
|
|
630
630
|
* <p>Controls whether a resource's externally created scaling policies are kept or replaced. </p>
|
|
631
631
|
* <p>The default value is <code>KeepExternalPolicies</code>. If the parameter is set to
|
|
@@ -637,7 +637,7 @@ export interface ScalingInstruction {
|
|
|
637
637
|
* and does not create new ones.</p>
|
|
638
638
|
* @public
|
|
639
639
|
*/
|
|
640
|
-
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior;
|
|
640
|
+
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior | undefined;
|
|
641
641
|
/**
|
|
642
642
|
* <p>Controls whether dynamic scaling by AWS Auto Scaling is disabled. When dynamic scaling is
|
|
643
643
|
* enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target
|
|
@@ -645,7 +645,7 @@ export interface ScalingInstruction {
|
|
|
645
645
|
* <p>The default is enabled (<code>false</code>). </p>
|
|
646
646
|
* @public
|
|
647
647
|
*/
|
|
648
|
-
DisableDynamicScaling?: boolean;
|
|
648
|
+
DisableDynamicScaling?: boolean | undefined;
|
|
649
649
|
}
|
|
650
650
|
/**
|
|
651
651
|
* @public
|
|
@@ -689,7 +689,7 @@ export interface CreateScalingPlanResponse {
|
|
|
689
689
|
export declare class InternalServiceException extends __BaseException {
|
|
690
690
|
readonly name: "InternalServiceException";
|
|
691
691
|
readonly $fault: "server";
|
|
692
|
-
Message?: string;
|
|
692
|
+
Message?: string | undefined;
|
|
693
693
|
/**
|
|
694
694
|
* @internal
|
|
695
695
|
*/
|
|
@@ -703,7 +703,7 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
703
703
|
export declare class LimitExceededException extends __BaseException {
|
|
704
704
|
readonly name: "LimitExceededException";
|
|
705
705
|
readonly $fault: "client";
|
|
706
|
-
Message?: string;
|
|
706
|
+
Message?: string | undefined;
|
|
707
707
|
/**
|
|
708
708
|
* @internal
|
|
709
709
|
*/
|
|
@@ -716,7 +716,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
716
716
|
export declare class ValidationException extends __BaseException {
|
|
717
717
|
readonly name: "ValidationException";
|
|
718
718
|
readonly $fault: "client";
|
|
719
|
-
Message?: string;
|
|
719
|
+
Message?: string | undefined;
|
|
720
720
|
/**
|
|
721
721
|
* @internal
|
|
722
722
|
*/
|
|
@@ -750,7 +750,7 @@ export interface DeleteScalingPlanResponse {
|
|
|
750
750
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
751
751
|
readonly name: "ObjectNotFoundException";
|
|
752
752
|
readonly $fault: "client";
|
|
753
|
-
Message?: string;
|
|
753
|
+
Message?: string | undefined;
|
|
754
754
|
/**
|
|
755
755
|
* @internal
|
|
756
756
|
*/
|
|
@@ -776,12 +776,12 @@ export interface DescribeScalingPlanResourcesRequest {
|
|
|
776
776
|
* 1 and 50. The default value is 50.</p>
|
|
777
777
|
* @public
|
|
778
778
|
*/
|
|
779
|
-
MaxResults?: number;
|
|
779
|
+
MaxResults?: number | undefined;
|
|
780
780
|
/**
|
|
781
781
|
* <p>The token for the next set of results.</p>
|
|
782
782
|
* @public
|
|
783
783
|
*/
|
|
784
|
-
NextToken?: string;
|
|
784
|
+
NextToken?: string | undefined;
|
|
785
785
|
}
|
|
786
786
|
/**
|
|
787
787
|
* @public
|
|
@@ -814,7 +814,7 @@ export interface ScalingPolicy {
|
|
|
814
814
|
* metrics.</p>
|
|
815
815
|
* @public
|
|
816
816
|
*/
|
|
817
|
-
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
817
|
+
TargetTrackingConfiguration?: TargetTrackingConfiguration | undefined;
|
|
818
818
|
}
|
|
819
819
|
/**
|
|
820
820
|
* @public
|
|
@@ -924,7 +924,7 @@ export interface ScalingPlanResource {
|
|
|
924
924
|
* <p>The scaling policies.</p>
|
|
925
925
|
* @public
|
|
926
926
|
*/
|
|
927
|
-
ScalingPolicies?: ScalingPolicy[];
|
|
927
|
+
ScalingPolicies?: ScalingPolicy[] | undefined;
|
|
928
928
|
/**
|
|
929
929
|
* <p>The scaling status of the resource.</p>
|
|
930
930
|
* <ul>
|
|
@@ -952,7 +952,7 @@ export interface ScalingPlanResource {
|
|
|
952
952
|
* <p>A simple message about the current scaling status of the resource.</p>
|
|
953
953
|
* @public
|
|
954
954
|
*/
|
|
955
|
-
ScalingStatusMessage?: string;
|
|
955
|
+
ScalingStatusMessage?: string | undefined;
|
|
956
956
|
}
|
|
957
957
|
/**
|
|
958
958
|
* @public
|
|
@@ -962,13 +962,13 @@ export interface DescribeScalingPlanResourcesResponse {
|
|
|
962
962
|
* <p>Information about the scalable resources.</p>
|
|
963
963
|
* @public
|
|
964
964
|
*/
|
|
965
|
-
ScalingPlanResources?: ScalingPlanResource[];
|
|
965
|
+
ScalingPlanResources?: ScalingPlanResource[] | undefined;
|
|
966
966
|
/**
|
|
967
967
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
968
968
|
* there are no more results to return.</p>
|
|
969
969
|
* @public
|
|
970
970
|
*/
|
|
971
|
-
NextToken?: string;
|
|
971
|
+
NextToken?: string | undefined;
|
|
972
972
|
}
|
|
973
973
|
/**
|
|
974
974
|
* <p>The token provided is not valid.</p>
|
|
@@ -977,7 +977,7 @@ export interface DescribeScalingPlanResourcesResponse {
|
|
|
977
977
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
978
978
|
readonly name: "InvalidNextTokenException";
|
|
979
979
|
readonly $fault: "client";
|
|
980
|
-
Message?: string;
|
|
980
|
+
Message?: string | undefined;
|
|
981
981
|
/**
|
|
982
982
|
* @internal
|
|
983
983
|
*/
|
|
@@ -992,7 +992,7 @@ export interface DescribeScalingPlansRequest {
|
|
|
992
992
|
* cannot specify scaling plan names.</p>
|
|
993
993
|
* @public
|
|
994
994
|
*/
|
|
995
|
-
ScalingPlanNames?: string[];
|
|
995
|
+
ScalingPlanNames?: string[] | undefined;
|
|
996
996
|
/**
|
|
997
997
|
* <p>The version number of the scaling plan. Currently, the only valid value is
|
|
998
998
|
* <code>1</code>.</p>
|
|
@@ -1002,24 +1002,24 @@ export interface DescribeScalingPlansRequest {
|
|
|
1002
1002
|
* </note>
|
|
1003
1003
|
* @public
|
|
1004
1004
|
*/
|
|
1005
|
-
ScalingPlanVersion?: number;
|
|
1005
|
+
ScalingPlanVersion?: number | undefined;
|
|
1006
1006
|
/**
|
|
1007
1007
|
* <p>The sources for the applications (up to 10). If you specify scaling plan names, you
|
|
1008
1008
|
* cannot specify application sources.</p>
|
|
1009
1009
|
* @public
|
|
1010
1010
|
*/
|
|
1011
|
-
ApplicationSources?: ApplicationSource[];
|
|
1011
|
+
ApplicationSources?: ApplicationSource[] | undefined;
|
|
1012
1012
|
/**
|
|
1013
1013
|
* <p>The maximum number of scalable resources to return. This value can be between
|
|
1014
1014
|
* 1 and 50. The default value is 50.</p>
|
|
1015
1015
|
* @public
|
|
1016
1016
|
*/
|
|
1017
|
-
MaxResults?: number;
|
|
1017
|
+
MaxResults?: number | undefined;
|
|
1018
1018
|
/**
|
|
1019
1019
|
* <p>The token for the next set of results.</p>
|
|
1020
1020
|
* @public
|
|
1021
1021
|
*/
|
|
1022
|
-
NextToken?: string;
|
|
1022
|
+
NextToken?: string | undefined;
|
|
1023
1023
|
}
|
|
1024
1024
|
/**
|
|
1025
1025
|
* @public
|
|
@@ -1109,17 +1109,17 @@ export interface ScalingPlan {
|
|
|
1109
1109
|
* <p>A simple message about the current status of the scaling plan.</p>
|
|
1110
1110
|
* @public
|
|
1111
1111
|
*/
|
|
1112
|
-
StatusMessage?: string;
|
|
1112
|
+
StatusMessage?: string | undefined;
|
|
1113
1113
|
/**
|
|
1114
1114
|
* <p>The Unix time stamp when the scaling plan entered the current status.</p>
|
|
1115
1115
|
* @public
|
|
1116
1116
|
*/
|
|
1117
|
-
StatusStartTime?: Date;
|
|
1117
|
+
StatusStartTime?: Date | undefined;
|
|
1118
1118
|
/**
|
|
1119
1119
|
* <p>The Unix time stamp when the scaling plan was created.</p>
|
|
1120
1120
|
* @public
|
|
1121
1121
|
*/
|
|
1122
|
-
CreationTime?: Date;
|
|
1122
|
+
CreationTime?: Date | undefined;
|
|
1123
1123
|
}
|
|
1124
1124
|
/**
|
|
1125
1125
|
* @public
|
|
@@ -1129,13 +1129,13 @@ export interface DescribeScalingPlansResponse {
|
|
|
1129
1129
|
* <p>Information about the scaling plans.</p>
|
|
1130
1130
|
* @public
|
|
1131
1131
|
*/
|
|
1132
|
-
ScalingPlans?: ScalingPlan[];
|
|
1132
|
+
ScalingPlans?: ScalingPlan[] | undefined;
|
|
1133
1133
|
/**
|
|
1134
1134
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
1135
1135
|
* there are no more results to return.</p>
|
|
1136
1136
|
* @public
|
|
1137
1137
|
*/
|
|
1138
|
-
NextToken?: string;
|
|
1138
|
+
NextToken?: string | undefined;
|
|
1139
1139
|
}
|
|
1140
1140
|
/**
|
|
1141
1141
|
* @public
|
|
@@ -1237,12 +1237,12 @@ export interface Datapoint {
|
|
|
1237
1237
|
* <p>The time stamp for the data point in UTC format.</p>
|
|
1238
1238
|
* @public
|
|
1239
1239
|
*/
|
|
1240
|
-
Timestamp?: Date;
|
|
1240
|
+
Timestamp?: Date | undefined;
|
|
1241
1241
|
/**
|
|
1242
1242
|
* <p>The value of the data point.</p>
|
|
1243
1243
|
* @public
|
|
1244
1244
|
*/
|
|
1245
|
-
Value?: number;
|
|
1245
|
+
Value?: number | undefined;
|
|
1246
1246
|
}
|
|
1247
1247
|
/**
|
|
1248
1248
|
* @public
|
|
@@ -1274,13 +1274,13 @@ export interface UpdateScalingPlanRequest {
|
|
|
1274
1274
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html">ApplicationSource</a> in the <i>AWS Auto Scaling API Reference</i>.</p>
|
|
1275
1275
|
* @public
|
|
1276
1276
|
*/
|
|
1277
|
-
ApplicationSource?: ApplicationSource;
|
|
1277
|
+
ApplicationSource?: ApplicationSource | undefined;
|
|
1278
1278
|
/**
|
|
1279
1279
|
* <p>The scaling instructions.</p>
|
|
1280
1280
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html">ScalingInstruction</a> in the <i>AWS Auto Scaling API Reference</i>.</p>
|
|
1281
1281
|
* @public
|
|
1282
1282
|
*/
|
|
1283
|
-
ScalingInstructions?: ScalingInstruction[];
|
|
1283
|
+
ScalingInstructions?: ScalingInstruction[] | undefined;
|
|
1284
1284
|
}
|
|
1285
1285
|
/**
|
|
1286
1286
|
* @public
|
|
@@ -3,18 +3,18 @@ import { AutoScalingPlansServiceException as __BaseException } from "./AutoScali
|
|
|
3
3
|
export declare class ConcurrentUpdateException extends __BaseException {
|
|
4
4
|
readonly name: "ConcurrentUpdateException";
|
|
5
5
|
readonly $fault: "server";
|
|
6
|
-
Message?: string;
|
|
6
|
+
Message?: string | undefined;
|
|
7
7
|
constructor(
|
|
8
8
|
opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
11
|
export interface TagFilter {
|
|
12
|
-
Key?: string;
|
|
13
|
-
Values?: string[];
|
|
12
|
+
Key?: string | undefined;
|
|
13
|
+
Values?: string[] | undefined;
|
|
14
14
|
}
|
|
15
15
|
export interface ApplicationSource {
|
|
16
|
-
CloudFormationStackARN?: string;
|
|
17
|
-
TagFilters?: TagFilter[];
|
|
16
|
+
CloudFormationStackARN?: string | undefined;
|
|
17
|
+
TagFilters?: TagFilter[] | undefined;
|
|
18
18
|
}
|
|
19
19
|
export interface MetricDimension {
|
|
20
20
|
Name: string | undefined;
|
|
@@ -32,9 +32,9 @@ export type MetricStatistic =
|
|
|
32
32
|
export interface CustomizedLoadMetricSpecification {
|
|
33
33
|
MetricName: string | undefined;
|
|
34
34
|
Namespace: string | undefined;
|
|
35
|
-
Dimensions?: MetricDimension[];
|
|
35
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
36
36
|
Statistic: MetricStatistic | undefined;
|
|
37
|
-
Unit?: string;
|
|
37
|
+
Unit?: string | undefined;
|
|
38
38
|
}
|
|
39
39
|
export declare const LoadMetricType: {
|
|
40
40
|
readonly ALBTargetGroupRequestCount: "ALBTargetGroupRequestCount";
|
|
@@ -46,7 +46,7 @@ export type LoadMetricType =
|
|
|
46
46
|
(typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
47
47
|
export interface PredefinedLoadMetricSpecification {
|
|
48
48
|
PredefinedLoadMetricType: LoadMetricType | undefined;
|
|
49
|
-
ResourceLabel?: string;
|
|
49
|
+
ResourceLabel?: string | undefined;
|
|
50
50
|
}
|
|
51
51
|
export declare const PredictiveScalingMaxCapacityBehavior: {
|
|
52
52
|
readonly SetForecastCapacityToMaxCapacity: "SetForecastCapacityToMaxCapacity";
|
|
@@ -91,9 +91,9 @@ export type ServiceNamespace =
|
|
|
91
91
|
export interface CustomizedScalingMetricSpecification {
|
|
92
92
|
MetricName: string | undefined;
|
|
93
93
|
Namespace: string | undefined;
|
|
94
|
-
Dimensions?: MetricDimension[];
|
|
94
|
+
Dimensions?: MetricDimension[] | undefined;
|
|
95
95
|
Statistic: MetricStatistic | undefined;
|
|
96
|
-
Unit?: string;
|
|
96
|
+
Unit?: string | undefined;
|
|
97
97
|
}
|
|
98
98
|
export declare const ScalingMetricType: {
|
|
99
99
|
readonly ALBRequestCountPerTarget: "ALBRequestCountPerTarget";
|
|
@@ -114,16 +114,20 @@ export type ScalingMetricType =
|
|
|
114
114
|
(typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
115
115
|
export interface PredefinedScalingMetricSpecification {
|
|
116
116
|
PredefinedScalingMetricType: ScalingMetricType | undefined;
|
|
117
|
-
ResourceLabel?: string;
|
|
117
|
+
ResourceLabel?: string | undefined;
|
|
118
118
|
}
|
|
119
119
|
export interface TargetTrackingConfiguration {
|
|
120
|
-
PredefinedScalingMetricSpecification?:
|
|
121
|
-
|
|
120
|
+
PredefinedScalingMetricSpecification?:
|
|
121
|
+
| PredefinedScalingMetricSpecification
|
|
122
|
+
| undefined;
|
|
123
|
+
CustomizedScalingMetricSpecification?:
|
|
124
|
+
| CustomizedScalingMetricSpecification
|
|
125
|
+
| undefined;
|
|
122
126
|
TargetValue: number | undefined;
|
|
123
|
-
DisableScaleIn?: boolean;
|
|
124
|
-
ScaleOutCooldown?: number;
|
|
125
|
-
ScaleInCooldown?: number;
|
|
126
|
-
EstimatedInstanceWarmup?: number;
|
|
127
|
+
DisableScaleIn?: boolean | undefined;
|
|
128
|
+
ScaleOutCooldown?: number | undefined;
|
|
129
|
+
ScaleInCooldown?: number | undefined;
|
|
130
|
+
EstimatedInstanceWarmup?: number | undefined;
|
|
127
131
|
}
|
|
128
132
|
export interface ScalingInstruction {
|
|
129
133
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
@@ -132,14 +136,20 @@ export interface ScalingInstruction {
|
|
|
132
136
|
MinCapacity: number | undefined;
|
|
133
137
|
MaxCapacity: number | undefined;
|
|
134
138
|
TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
|
|
135
|
-
PredefinedLoadMetricSpecification?:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
PredefinedLoadMetricSpecification?:
|
|
140
|
+
| PredefinedLoadMetricSpecification
|
|
141
|
+
| undefined;
|
|
142
|
+
CustomizedLoadMetricSpecification?:
|
|
143
|
+
| CustomizedLoadMetricSpecification
|
|
144
|
+
| undefined;
|
|
145
|
+
ScheduledActionBufferTime?: number | undefined;
|
|
146
|
+
PredictiveScalingMaxCapacityBehavior?:
|
|
147
|
+
| PredictiveScalingMaxCapacityBehavior
|
|
148
|
+
| undefined;
|
|
149
|
+
PredictiveScalingMaxCapacityBuffer?: number | undefined;
|
|
150
|
+
PredictiveScalingMode?: PredictiveScalingMode | undefined;
|
|
151
|
+
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior | undefined;
|
|
152
|
+
DisableDynamicScaling?: boolean | undefined;
|
|
143
153
|
}
|
|
144
154
|
export interface CreateScalingPlanRequest {
|
|
145
155
|
ScalingPlanName: string | undefined;
|
|
@@ -152,7 +162,7 @@ export interface CreateScalingPlanResponse {
|
|
|
152
162
|
export declare class InternalServiceException extends __BaseException {
|
|
153
163
|
readonly name: "InternalServiceException";
|
|
154
164
|
readonly $fault: "server";
|
|
155
|
-
Message?: string;
|
|
165
|
+
Message?: string | undefined;
|
|
156
166
|
constructor(
|
|
157
167
|
opts: __ExceptionOptionType<InternalServiceException, __BaseException>
|
|
158
168
|
);
|
|
@@ -160,7 +170,7 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
160
170
|
export declare class LimitExceededException extends __BaseException {
|
|
161
171
|
readonly name: "LimitExceededException";
|
|
162
172
|
readonly $fault: "client";
|
|
163
|
-
Message?: string;
|
|
173
|
+
Message?: string | undefined;
|
|
164
174
|
constructor(
|
|
165
175
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
166
176
|
);
|
|
@@ -168,7 +178,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
168
178
|
export declare class ValidationException extends __BaseException {
|
|
169
179
|
readonly name: "ValidationException";
|
|
170
180
|
readonly $fault: "client";
|
|
171
|
-
Message?: string;
|
|
181
|
+
Message?: string | undefined;
|
|
172
182
|
constructor(
|
|
173
183
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
174
184
|
);
|
|
@@ -181,7 +191,7 @@ export interface DeleteScalingPlanResponse {}
|
|
|
181
191
|
export declare class ObjectNotFoundException extends __BaseException {
|
|
182
192
|
readonly name: "ObjectNotFoundException";
|
|
183
193
|
readonly $fault: "client";
|
|
184
|
-
Message?: string;
|
|
194
|
+
Message?: string | undefined;
|
|
185
195
|
constructor(
|
|
186
196
|
opts: __ExceptionOptionType<ObjectNotFoundException, __BaseException>
|
|
187
197
|
);
|
|
@@ -189,8 +199,8 @@ export declare class ObjectNotFoundException extends __BaseException {
|
|
|
189
199
|
export interface DescribeScalingPlanResourcesRequest {
|
|
190
200
|
ScalingPlanName: string | undefined;
|
|
191
201
|
ScalingPlanVersion: number | undefined;
|
|
192
|
-
MaxResults?: number;
|
|
193
|
-
NextToken?: string;
|
|
202
|
+
MaxResults?: number | undefined;
|
|
203
|
+
NextToken?: string | undefined;
|
|
194
204
|
}
|
|
195
205
|
export declare const PolicyType: {
|
|
196
206
|
readonly TargetTrackingScaling: "TargetTrackingScaling";
|
|
@@ -199,7 +209,7 @@ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
|
199
209
|
export interface ScalingPolicy {
|
|
200
210
|
PolicyName: string | undefined;
|
|
201
211
|
PolicyType: PolicyType | undefined;
|
|
202
|
-
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
212
|
+
TargetTrackingConfiguration?: TargetTrackingConfiguration | undefined;
|
|
203
213
|
}
|
|
204
214
|
export declare const ScalingStatusCode: {
|
|
205
215
|
readonly Active: "Active";
|
|
@@ -214,28 +224,28 @@ export interface ScalingPlanResource {
|
|
|
214
224
|
ServiceNamespace: ServiceNamespace | undefined;
|
|
215
225
|
ResourceId: string | undefined;
|
|
216
226
|
ScalableDimension: ScalableDimension | undefined;
|
|
217
|
-
ScalingPolicies?: ScalingPolicy[];
|
|
227
|
+
ScalingPolicies?: ScalingPolicy[] | undefined;
|
|
218
228
|
ScalingStatusCode: ScalingStatusCode | undefined;
|
|
219
|
-
ScalingStatusMessage?: string;
|
|
229
|
+
ScalingStatusMessage?: string | undefined;
|
|
220
230
|
}
|
|
221
231
|
export interface DescribeScalingPlanResourcesResponse {
|
|
222
|
-
ScalingPlanResources?: ScalingPlanResource[];
|
|
223
|
-
NextToken?: string;
|
|
232
|
+
ScalingPlanResources?: ScalingPlanResource[] | undefined;
|
|
233
|
+
NextToken?: string | undefined;
|
|
224
234
|
}
|
|
225
235
|
export declare class InvalidNextTokenException extends __BaseException {
|
|
226
236
|
readonly name: "InvalidNextTokenException";
|
|
227
237
|
readonly $fault: "client";
|
|
228
|
-
Message?: string;
|
|
238
|
+
Message?: string | undefined;
|
|
229
239
|
constructor(
|
|
230
240
|
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
231
241
|
);
|
|
232
242
|
}
|
|
233
243
|
export interface DescribeScalingPlansRequest {
|
|
234
|
-
ScalingPlanNames?: string[];
|
|
235
|
-
ScalingPlanVersion?: number;
|
|
236
|
-
ApplicationSources?: ApplicationSource[];
|
|
237
|
-
MaxResults?: number;
|
|
238
|
-
NextToken?: string;
|
|
244
|
+
ScalingPlanNames?: string[] | undefined;
|
|
245
|
+
ScalingPlanVersion?: number | undefined;
|
|
246
|
+
ApplicationSources?: ApplicationSource[] | undefined;
|
|
247
|
+
MaxResults?: number | undefined;
|
|
248
|
+
NextToken?: string | undefined;
|
|
239
249
|
}
|
|
240
250
|
export declare const ScalingPlanStatusCode: {
|
|
241
251
|
readonly Active: "Active";
|
|
@@ -255,13 +265,13 @@ export interface ScalingPlan {
|
|
|
255
265
|
ApplicationSource: ApplicationSource | undefined;
|
|
256
266
|
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
257
267
|
StatusCode: ScalingPlanStatusCode | undefined;
|
|
258
|
-
StatusMessage?: string;
|
|
259
|
-
StatusStartTime?: Date;
|
|
260
|
-
CreationTime?: Date;
|
|
268
|
+
StatusMessage?: string | undefined;
|
|
269
|
+
StatusStartTime?: Date | undefined;
|
|
270
|
+
CreationTime?: Date | undefined;
|
|
261
271
|
}
|
|
262
272
|
export interface DescribeScalingPlansResponse {
|
|
263
|
-
ScalingPlans?: ScalingPlan[];
|
|
264
|
-
NextToken?: string;
|
|
273
|
+
ScalingPlans?: ScalingPlan[] | undefined;
|
|
274
|
+
NextToken?: string | undefined;
|
|
265
275
|
}
|
|
266
276
|
export declare const ForecastDataType: {
|
|
267
277
|
readonly CapacityForecast: "CapacityForecast";
|
|
@@ -282,8 +292,8 @@ export interface GetScalingPlanResourceForecastDataRequest {
|
|
|
282
292
|
EndTime: Date | undefined;
|
|
283
293
|
}
|
|
284
294
|
export interface Datapoint {
|
|
285
|
-
Timestamp?: Date;
|
|
286
|
-
Value?: number;
|
|
295
|
+
Timestamp?: Date | undefined;
|
|
296
|
+
Value?: number | undefined;
|
|
287
297
|
}
|
|
288
298
|
export interface GetScalingPlanResourceForecastDataResponse {
|
|
289
299
|
Datapoints: Datapoint[] | undefined;
|
|
@@ -291,7 +301,7 @@ export interface GetScalingPlanResourceForecastDataResponse {
|
|
|
291
301
|
export interface UpdateScalingPlanRequest {
|
|
292
302
|
ScalingPlanName: string | undefined;
|
|
293
303
|
ScalingPlanVersion: number | undefined;
|
|
294
|
-
ApplicationSource?: ApplicationSource;
|
|
295
|
-
ScalingInstructions?: ScalingInstruction[];
|
|
304
|
+
ApplicationSource?: ApplicationSource | undefined;
|
|
305
|
+
ScalingInstructions?: ScalingInstruction[] | undefined;
|
|
296
306
|
}
|
|
297
307
|
export interface UpdateScalingPlanResponse {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling-plans",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Plans Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auto-scaling-plans",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|