@aws-sdk/client-auto-scaling-plans 3.428.0 → 3.429.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.
|
@@ -126,7 +126,7 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
126
126
|
* @public
|
|
127
127
|
* <p>The statistic of the metric. The only valid value is <code>Sum</code>.</p>
|
|
128
128
|
*/
|
|
129
|
-
Statistic: MetricStatistic |
|
|
129
|
+
Statistic: MetricStatistic | undefined;
|
|
130
130
|
/**
|
|
131
131
|
* @public
|
|
132
132
|
* <p>The unit of the metric.</p>
|
|
@@ -160,7 +160,7 @@ export interface PredefinedLoadMetricSpecification {
|
|
|
160
160
|
* @public
|
|
161
161
|
* <p>The metric type.</p>
|
|
162
162
|
*/
|
|
163
|
-
PredefinedLoadMetricType: LoadMetricType |
|
|
163
|
+
PredefinedLoadMetricType: LoadMetricType | undefined;
|
|
164
164
|
/**
|
|
165
165
|
* @public
|
|
166
166
|
* <p>Identifies the resource associated with the metric type. You can't specify a resource
|
|
@@ -302,7 +302,7 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
302
302
|
* @public
|
|
303
303
|
* <p>The statistic of the metric.</p>
|
|
304
304
|
*/
|
|
305
|
-
Statistic: MetricStatistic |
|
|
305
|
+
Statistic: MetricStatistic | undefined;
|
|
306
306
|
/**
|
|
307
307
|
* @public
|
|
308
308
|
* <p>The unit of the metric. </p>
|
|
@@ -343,7 +343,7 @@ export interface PredefinedScalingMetricSpecification {
|
|
|
343
343
|
* <p>The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to
|
|
344
344
|
* Auto Scaling groups, Spot Fleet requests, and ECS services.</p>
|
|
345
345
|
*/
|
|
346
|
-
PredefinedScalingMetricType: ScalingMetricType |
|
|
346
|
+
PredefinedScalingMetricType: ScalingMetricType | undefined;
|
|
347
347
|
/**
|
|
348
348
|
* @public
|
|
349
349
|
* <p>Identifies the resource associated with the metric type. You can't specify a resource
|
|
@@ -462,7 +462,7 @@ export interface ScalingInstruction {
|
|
|
462
462
|
* @public
|
|
463
463
|
* <p>The namespace of the AWS service.</p>
|
|
464
464
|
*/
|
|
465
|
-
ServiceNamespace: ServiceNamespace |
|
|
465
|
+
ServiceNamespace: ServiceNamespace | undefined;
|
|
466
466
|
/**
|
|
467
467
|
* @public
|
|
468
468
|
* <p>The ID of the resource. This string consists of the resource type and unique
|
|
@@ -533,7 +533,7 @@ export interface ScalingInstruction {
|
|
|
533
533
|
* </li>
|
|
534
534
|
* </ul>
|
|
535
535
|
*/
|
|
536
|
-
ScalableDimension: ScalableDimension |
|
|
536
|
+
ScalableDimension: ScalableDimension | undefined;
|
|
537
537
|
/**
|
|
538
538
|
* @public
|
|
539
539
|
* <p>The minimum capacity of the resource. </p>
|
|
@@ -606,7 +606,7 @@ export interface ScalingInstruction {
|
|
|
606
606
|
* </ul>
|
|
607
607
|
* <p>Only valid when configuring predictive scaling.</p>
|
|
608
608
|
*/
|
|
609
|
-
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior
|
|
609
|
+
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior;
|
|
610
610
|
/**
|
|
611
611
|
* @public
|
|
612
612
|
* <p>The size of the capacity buffer to use when the forecast capacity is close to or exceeds
|
|
@@ -625,7 +625,7 @@ export interface ScalingInstruction {
|
|
|
625
625
|
* Otherwise, AWS Auto Scaling forecasts capacity but does not create any scheduled scaling actions
|
|
626
626
|
* based on the capacity forecast. </p>
|
|
627
627
|
*/
|
|
628
|
-
PredictiveScalingMode?: PredictiveScalingMode
|
|
628
|
+
PredictiveScalingMode?: PredictiveScalingMode;
|
|
629
629
|
/**
|
|
630
630
|
* @public
|
|
631
631
|
* <p>Controls whether a resource's externally created scaling policies are kept or replaced. </p>
|
|
@@ -637,7 +637,7 @@ export interface ScalingInstruction {
|
|
|
637
637
|
* 50. If there are more than 50 policies to be replaced, AWS Auto Scaling keeps all existing policies
|
|
638
638
|
* and does not create new ones.</p>
|
|
639
639
|
*/
|
|
640
|
-
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior
|
|
640
|
+
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior;
|
|
641
641
|
/**
|
|
642
642
|
* @public
|
|
643
643
|
* <p>Controls whether dynamic scaling by AWS Auto Scaling is disabled. When dynamic scaling is
|
|
@@ -808,7 +808,7 @@ export interface ScalingPolicy {
|
|
|
808
808
|
* @public
|
|
809
809
|
* <p>The type of scaling policy.</p>
|
|
810
810
|
*/
|
|
811
|
-
PolicyType: PolicyType |
|
|
811
|
+
PolicyType: PolicyType | undefined;
|
|
812
812
|
/**
|
|
813
813
|
* @public
|
|
814
814
|
* <p>The target tracking scaling policy. Includes support for predefined or customized
|
|
@@ -848,7 +848,7 @@ export interface ScalingPlanResource {
|
|
|
848
848
|
* @public
|
|
849
849
|
* <p>The namespace of the AWS service.</p>
|
|
850
850
|
*/
|
|
851
|
-
ServiceNamespace: ServiceNamespace |
|
|
851
|
+
ServiceNamespace: ServiceNamespace | undefined;
|
|
852
852
|
/**
|
|
853
853
|
* @public
|
|
854
854
|
* <p>The ID of the resource. This string consists of the resource type and unique
|
|
@@ -919,7 +919,7 @@ export interface ScalingPlanResource {
|
|
|
919
919
|
* </li>
|
|
920
920
|
* </ul>
|
|
921
921
|
*/
|
|
922
|
-
ScalableDimension: ScalableDimension |
|
|
922
|
+
ScalableDimension: ScalableDimension | undefined;
|
|
923
923
|
/**
|
|
924
924
|
* @public
|
|
925
925
|
* <p>The scaling policies.</p>
|
|
@@ -947,7 +947,7 @@ export interface ScalingPlanResource {
|
|
|
947
947
|
* </li>
|
|
948
948
|
* </ul>
|
|
949
949
|
*/
|
|
950
|
-
ScalingStatusCode: ScalingStatusCode |
|
|
950
|
+
ScalingStatusCode: ScalingStatusCode | undefined;
|
|
951
951
|
/**
|
|
952
952
|
* @public
|
|
953
953
|
* <p>A simple message about the current scaling status of the resource.</p>
|
|
@@ -1104,7 +1104,7 @@ export interface ScalingPlan {
|
|
|
1104
1104
|
* </li>
|
|
1105
1105
|
* </ul>
|
|
1106
1106
|
*/
|
|
1107
|
-
StatusCode: ScalingPlanStatusCode |
|
|
1107
|
+
StatusCode: ScalingPlanStatusCode | undefined;
|
|
1108
1108
|
/**
|
|
1109
1109
|
* @public
|
|
1110
1110
|
* <p>A simple message about the current status of the scaling plan.</p>
|
|
@@ -1171,7 +1171,7 @@ export interface GetScalingPlanResourceForecastDataRequest {
|
|
|
1171
1171
|
* <p>The namespace of the AWS service. The only valid value is <code>autoscaling</code>.
|
|
1172
1172
|
* </p>
|
|
1173
1173
|
*/
|
|
1174
|
-
ServiceNamespace: ServiceNamespace |
|
|
1174
|
+
ServiceNamespace: ServiceNamespace | undefined;
|
|
1175
1175
|
/**
|
|
1176
1176
|
* @public
|
|
1177
1177
|
* <p>The ID of the resource. This string consists of a prefix (<code>autoScalingGroup</code>)
|
|
@@ -1184,7 +1184,7 @@ export interface GetScalingPlanResourceForecastDataRequest {
|
|
|
1184
1184
|
* <p>The scalable dimension for the resource. The only valid value is
|
|
1185
1185
|
* <code>autoscaling:autoScalingGroup:DesiredCapacity</code>. </p>
|
|
1186
1186
|
*/
|
|
1187
|
-
ScalableDimension: ScalableDimension |
|
|
1187
|
+
ScalableDimension: ScalableDimension | undefined;
|
|
1188
1188
|
/**
|
|
1189
1189
|
* @public
|
|
1190
1190
|
* <p>The type of forecast data to get.</p>
|
|
@@ -1211,7 +1211,7 @@ export interface GetScalingPlanResourceForecastDataRequest {
|
|
|
1211
1211
|
* </li>
|
|
1212
1212
|
* </ul>
|
|
1213
1213
|
*/
|
|
1214
|
-
ForecastDataType: ForecastDataType |
|
|
1214
|
+
ForecastDataType: ForecastDataType | undefined;
|
|
1215
1215
|
/**
|
|
1216
1216
|
* @public
|
|
1217
1217
|
* <p>The inclusive start time of the time range for the forecast data to get. The date and
|
|
@@ -33,7 +33,7 @@ export interface CustomizedLoadMetricSpecification {
|
|
|
33
33
|
MetricName: string | undefined;
|
|
34
34
|
Namespace: string | undefined;
|
|
35
35
|
Dimensions?: MetricDimension[];
|
|
36
|
-
Statistic: MetricStatistic |
|
|
36
|
+
Statistic: MetricStatistic | undefined;
|
|
37
37
|
Unit?: string;
|
|
38
38
|
}
|
|
39
39
|
export declare const LoadMetricType: {
|
|
@@ -45,7 +45,7 @@ export declare const LoadMetricType: {
|
|
|
45
45
|
export type LoadMetricType =
|
|
46
46
|
(typeof LoadMetricType)[keyof typeof LoadMetricType];
|
|
47
47
|
export interface PredefinedLoadMetricSpecification {
|
|
48
|
-
PredefinedLoadMetricType: LoadMetricType |
|
|
48
|
+
PredefinedLoadMetricType: LoadMetricType | undefined;
|
|
49
49
|
ResourceLabel?: string;
|
|
50
50
|
}
|
|
51
51
|
export declare const PredictiveScalingMaxCapacityBehavior: {
|
|
@@ -92,7 +92,7 @@ export interface CustomizedScalingMetricSpecification {
|
|
|
92
92
|
MetricName: string | undefined;
|
|
93
93
|
Namespace: string | undefined;
|
|
94
94
|
Dimensions?: MetricDimension[];
|
|
95
|
-
Statistic: MetricStatistic |
|
|
95
|
+
Statistic: MetricStatistic | undefined;
|
|
96
96
|
Unit?: string;
|
|
97
97
|
}
|
|
98
98
|
export declare const ScalingMetricType: {
|
|
@@ -113,7 +113,7 @@ export declare const ScalingMetricType: {
|
|
|
113
113
|
export type ScalingMetricType =
|
|
114
114
|
(typeof ScalingMetricType)[keyof typeof ScalingMetricType];
|
|
115
115
|
export interface PredefinedScalingMetricSpecification {
|
|
116
|
-
PredefinedScalingMetricType: ScalingMetricType |
|
|
116
|
+
PredefinedScalingMetricType: ScalingMetricType | undefined;
|
|
117
117
|
ResourceLabel?: string;
|
|
118
118
|
}
|
|
119
119
|
export interface TargetTrackingConfiguration {
|
|
@@ -126,21 +126,19 @@ export interface TargetTrackingConfiguration {
|
|
|
126
126
|
EstimatedInstanceWarmup?: number;
|
|
127
127
|
}
|
|
128
128
|
export interface ScalingInstruction {
|
|
129
|
-
ServiceNamespace: ServiceNamespace |
|
|
129
|
+
ServiceNamespace: ServiceNamespace | undefined;
|
|
130
130
|
ResourceId: string | undefined;
|
|
131
|
-
ScalableDimension: ScalableDimension |
|
|
131
|
+
ScalableDimension: ScalableDimension | undefined;
|
|
132
132
|
MinCapacity: number | undefined;
|
|
133
133
|
MaxCapacity: number | undefined;
|
|
134
134
|
TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
|
|
135
135
|
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification;
|
|
136
136
|
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification;
|
|
137
137
|
ScheduledActionBufferTime?: number;
|
|
138
|
-
PredictiveScalingMaxCapacityBehavior?:
|
|
139
|
-
| PredictiveScalingMaxCapacityBehavior
|
|
140
|
-
| string;
|
|
138
|
+
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior;
|
|
141
139
|
PredictiveScalingMaxCapacityBuffer?: number;
|
|
142
|
-
PredictiveScalingMode?: PredictiveScalingMode
|
|
143
|
-
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior
|
|
140
|
+
PredictiveScalingMode?: PredictiveScalingMode;
|
|
141
|
+
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior;
|
|
144
142
|
DisableDynamicScaling?: boolean;
|
|
145
143
|
}
|
|
146
144
|
export interface CreateScalingPlanRequest {
|
|
@@ -200,7 +198,7 @@ export declare const PolicyType: {
|
|
|
200
198
|
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
201
199
|
export interface ScalingPolicy {
|
|
202
200
|
PolicyName: string | undefined;
|
|
203
|
-
PolicyType: PolicyType |
|
|
201
|
+
PolicyType: PolicyType | undefined;
|
|
204
202
|
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
205
203
|
}
|
|
206
204
|
export declare const ScalingStatusCode: {
|
|
@@ -213,11 +211,11 @@ export type ScalingStatusCode =
|
|
|
213
211
|
export interface ScalingPlanResource {
|
|
214
212
|
ScalingPlanName: string | undefined;
|
|
215
213
|
ScalingPlanVersion: number | undefined;
|
|
216
|
-
ServiceNamespace: ServiceNamespace |
|
|
214
|
+
ServiceNamespace: ServiceNamespace | undefined;
|
|
217
215
|
ResourceId: string | undefined;
|
|
218
|
-
ScalableDimension: ScalableDimension |
|
|
216
|
+
ScalableDimension: ScalableDimension | undefined;
|
|
219
217
|
ScalingPolicies?: ScalingPolicy[];
|
|
220
|
-
ScalingStatusCode: ScalingStatusCode |
|
|
218
|
+
ScalingStatusCode: ScalingStatusCode | undefined;
|
|
221
219
|
ScalingStatusMessage?: string;
|
|
222
220
|
}
|
|
223
221
|
export interface DescribeScalingPlanResourcesResponse {
|
|
@@ -256,7 +254,7 @@ export interface ScalingPlan {
|
|
|
256
254
|
ScalingPlanVersion: number | undefined;
|
|
257
255
|
ApplicationSource: ApplicationSource | undefined;
|
|
258
256
|
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
259
|
-
StatusCode: ScalingPlanStatusCode |
|
|
257
|
+
StatusCode: ScalingPlanStatusCode | undefined;
|
|
260
258
|
StatusMessage?: string;
|
|
261
259
|
StatusStartTime?: Date;
|
|
262
260
|
CreationTime?: Date;
|
|
@@ -276,10 +274,10 @@ export type ForecastDataType =
|
|
|
276
274
|
export interface GetScalingPlanResourceForecastDataRequest {
|
|
277
275
|
ScalingPlanName: string | undefined;
|
|
278
276
|
ScalingPlanVersion: number | undefined;
|
|
279
|
-
ServiceNamespace: ServiceNamespace |
|
|
277
|
+
ServiceNamespace: ServiceNamespace | undefined;
|
|
280
278
|
ResourceId: string | undefined;
|
|
281
|
-
ScalableDimension: ScalableDimension |
|
|
282
|
-
ForecastDataType: ForecastDataType |
|
|
279
|
+
ScalableDimension: ScalableDimension | undefined;
|
|
280
|
+
ForecastDataType: ForecastDataType | undefined;
|
|
283
281
|
StartTime: Date | undefined;
|
|
284
282
|
EndTime: Date | undefined;
|
|
285
283
|
}
|
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.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
42
|
"@smithy/middleware-retry": "^2.0.16",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|