@aws-sdk/client-auto-scaling-plans 3.533.0 → 3.535.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.
@@ -28,6 +28,7 @@ export interface AutoScalingPlans {
28
28
  /**
29
29
  * @see {@link DescribeScalingPlansCommand}
30
30
  */
31
+ describeScalingPlans(): Promise<DescribeScalingPlansCommandOutput>;
31
32
  describeScalingPlans(args: DescribeScalingPlansCommandInput, options?: __HttpHandlerOptions): Promise<DescribeScalingPlansCommandOutput>;
32
33
  describeScalingPlans(args: DescribeScalingPlansCommandInput, cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void): void;
33
34
  describeScalingPlans(args: DescribeScalingPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeScalingPlansCommandOutput) => void): void;
@@ -45,7 +46,6 @@ export interface AutoScalingPlans {
45
46
  updateScalingPlan(args: UpdateScalingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScalingPlanCommandOutput) => void): void;
46
47
  }
47
48
  /**
48
- * @public
49
49
  * <fullname>AWS Auto Scaling</fullname>
50
50
  *
51
51
  *
@@ -81,6 +81,7 @@ export interface AutoScalingPlans {
81
81
  *
82
82
  * <p>To learn more about AWS Auto Scaling, including information about granting IAM users required
83
83
  * permissions for AWS Auto Scaling actions, see the <a href="https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html">AWS Auto Scaling User Guide</a>. </p>
84
+ * @public
84
85
  */
85
86
  export declare class AutoScalingPlans extends AutoScalingPlansClient implements AutoScalingPlans {
86
87
  }
@@ -157,7 +157,6 @@ export type AutoScalingPlansClientResolvedConfigType = __SmithyResolvedConfigura
157
157
  export interface AutoScalingPlansClientResolvedConfig extends AutoScalingPlansClientResolvedConfigType {
158
158
  }
159
159
  /**
160
- * @public
161
160
  * <fullname>AWS Auto Scaling</fullname>
162
161
  *
163
162
  *
@@ -193,6 +192,7 @@ export interface AutoScalingPlansClientResolvedConfig extends AutoScalingPlansCl
193
192
  *
194
193
  * <p>To learn more about AWS Auto Scaling, including information about granting IAM users required
195
194
  * permissions for AWS Auto Scaling actions, see the <a href="https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html">AWS Auto Scaling User Guide</a>. </p>
195
+ * @public
196
196
  */
197
197
  export declare class AutoScalingPlansClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AutoScalingPlansClientResolvedConfig> {
198
198
  /**
@@ -22,10 +22,10 @@ export interface CreateScalingPlanCommandOutput extends CreateScalingPlanRespons
22
22
  }
23
23
  declare const CreateScalingPlanCommand_base: {
24
24
  new (input: CreateScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScalingPlanCommandInput, CreateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates a scaling plan. </p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -134,6 +134,7 @@ declare const CreateScalingPlanCommand_base: {
134
134
  * @throws {@link AutoScalingPlansServiceException}
135
135
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
136
136
  *
137
+ * @public
137
138
  */
138
139
  export declare class CreateScalingPlanCommand extends CreateScalingPlanCommand_base {
139
140
  }
@@ -22,10 +22,10 @@ export interface DeleteScalingPlanCommandOutput extends DeleteScalingPlanRespons
22
22
  }
23
23
  declare const DeleteScalingPlanCommand_base: {
24
24
  new (input: DeleteScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScalingPlanCommandInput, DeleteScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes the specified scaling plan.</p>
30
30
  * <p>Deleting a scaling plan deletes the underlying <a>ScalingInstruction</a> for
31
31
  * all of the scalable resources that are covered by the plan.</p>
@@ -69,6 +69,7 @@ declare const DeleteScalingPlanCommand_base: {
69
69
  * @throws {@link AutoScalingPlansServiceException}
70
70
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
71
71
  *
72
+ * @public
72
73
  */
73
74
  export declare class DeleteScalingPlanCommand extends DeleteScalingPlanCommand_base {
74
75
  }
@@ -22,10 +22,10 @@ export interface DescribeScalingPlanResourcesCommandOutput extends DescribeScali
22
22
  }
23
23
  declare const DescribeScalingPlanResourcesCommand_base: {
24
24
  new (input: DescribeScalingPlanResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeScalingPlanResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPlanResourcesCommandInput, DescribeScalingPlanResourcesCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes the scalable resources in the specified scaling plan.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -109,6 +109,7 @@ declare const DescribeScalingPlanResourcesCommand_base: {
109
109
  * @throws {@link AutoScalingPlansServiceException}
110
110
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
111
111
  *
112
+ * @public
112
113
  */
113
114
  export declare class DescribeScalingPlanResourcesCommand extends DescribeScalingPlanResourcesCommand_base {
114
115
  }
@@ -22,10 +22,10 @@ export interface DescribeScalingPlansCommandOutput extends DescribeScalingPlansR
22
22
  }
23
23
  declare const DescribeScalingPlansCommand_base: {
24
24
  new (input: DescribeScalingPlansCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeScalingPlansCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeScalingPlansCommandInput, DescribeScalingPlansCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes one or more of your scaling plans.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -161,6 +161,7 @@ declare const DescribeScalingPlansCommand_base: {
161
161
  * @throws {@link AutoScalingPlansServiceException}
162
162
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
163
163
  *
164
+ * @public
164
165
  */
165
166
  export declare class DescribeScalingPlansCommand extends DescribeScalingPlansCommand_base {
166
167
  }
@@ -22,10 +22,10 @@ export interface GetScalingPlanResourceForecastDataCommandOutput extends GetScal
22
22
  }
23
23
  declare const GetScalingPlanResourceForecastDataCommand_base: {
24
24
  new (input: GetScalingPlanResourceForecastDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetScalingPlanResourceForecastDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetScalingPlanResourceForecastDataCommandInput, GetScalingPlanResourceForecastDataCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Retrieves the forecast data for a scalable resource.</p>
30
30
  * <p>Capacity forecasts are represented as predicted values, or data points, that are
31
31
  * calculated using historical data points from a specified CloudWatch load metric. Data points are
@@ -74,6 +74,7 @@ declare const GetScalingPlanResourceForecastDataCommand_base: {
74
74
  * @throws {@link AutoScalingPlansServiceException}
75
75
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
76
76
  *
77
+ * @public
77
78
  */
78
79
  export declare class GetScalingPlanResourceForecastDataCommand extends GetScalingPlanResourceForecastDataCommand_base {
79
80
  }
@@ -22,10 +22,10 @@ export interface UpdateScalingPlanCommandOutput extends UpdateScalingPlanRespons
22
22
  }
23
23
  declare const UpdateScalingPlanCommand_base: {
24
24
  new (input: UpdateScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateScalingPlanCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScalingPlanCommandInput, UpdateScalingPlanCommandOutput, AutoScalingPlansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Updates the specified scaling plan.</p>
30
30
  * <p>You cannot update a scaling plan if it is in the process of being created, updated, or
31
31
  * deleted.</p>
@@ -134,6 +134,7 @@ declare const UpdateScalingPlanCommand_base: {
134
134
  * @throws {@link AutoScalingPlansServiceException}
135
135
  * <p>Base exception class for all service exceptions from AutoScalingPlans service.</p>
136
136
  *
137
+ * @public
137
138
  */
138
139
  export declare class UpdateScalingPlanCommand extends UpdateScalingPlanCommand_base {
139
140
  }
@@ -1,9 +1,9 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AutoScalingPlansServiceException as __BaseException } from "./AutoScalingPlansServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>Concurrent updates caused an exception, for example, if you request an update to a
6
5
  * scaling plan that already has a pending update.</p>
6
+ * @public
7
7
  */
8
8
  export declare class ConcurrentUpdateException extends __BaseException {
9
9
  readonly name: "ConcurrentUpdateException";
@@ -15,50 +15,50 @@ export declare class ConcurrentUpdateException extends __BaseException {
15
15
  constructor(opts: __ExceptionOptionType<ConcurrentUpdateException, __BaseException>);
16
16
  }
17
17
  /**
18
- * @public
19
18
  * <p>Represents a tag.</p>
19
+ * @public
20
20
  */
21
21
  export interface TagFilter {
22
22
  /**
23
- * @public
24
23
  * <p>The tag key.</p>
24
+ * @public
25
25
  */
26
26
  Key?: string;
27
27
  /**
28
- * @public
29
28
  * <p>The tag values (0 to 20).</p>
29
+ * @public
30
30
  */
31
31
  Values?: string[];
32
32
  }
33
33
  /**
34
- * @public
35
34
  * <p>Represents an application source.</p>
35
+ * @public
36
36
  */
37
37
  export interface ApplicationSource {
38
38
  /**
39
- * @public
40
39
  * <p>The Amazon Resource Name (ARN) of a AWS CloudFormation stack.</p>
40
+ * @public
41
41
  */
42
42
  CloudFormationStackARN?: string;
43
43
  /**
44
- * @public
45
44
  * <p>A set of tags (up to 50).</p>
45
+ * @public
46
46
  */
47
47
  TagFilters?: TagFilter[];
48
48
  }
49
49
  /**
50
- * @public
51
50
  * <p>Represents a dimension for a customized metric.</p>
51
+ * @public
52
52
  */
53
53
  export interface MetricDimension {
54
54
  /**
55
- * @public
56
55
  * <p>The name of the dimension.</p>
56
+ * @public
57
57
  */
58
58
  Name: string | undefined;
59
59
  /**
60
- * @public
61
60
  * <p>The value of the dimension.</p>
61
+ * @public
62
62
  */
63
63
  Value: string | undefined;
64
64
  }
@@ -78,7 +78,6 @@ export declare const MetricStatistic: {
78
78
  */
79
79
  export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
80
80
  /**
81
- * @public
82
81
  * <p>Represents a CloudWatch metric of your choosing that can be used for predictive scaling. </p>
83
82
  * <p>For predictive scaling to work with a customized load metric specification, AWS Auto Scaling
84
83
  * needs access to the <code>Sum</code> and <code>Average</code> statistics that CloudWatch computes
@@ -103,33 +102,34 @@ export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatis
103
102
  * forecasts for the specified metric. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-create-scaling-plan.html#gs-view-resource">View
104
103
  * Scaling Information for a Resource</a> in the
105
104
  * <i>AWS Auto Scaling User Guide</i>.</p>
105
+ * @public
106
106
  */
107
107
  export interface CustomizedLoadMetricSpecification {
108
108
  /**
109
- * @public
110
109
  * <p>The name of the metric.</p>
110
+ * @public
111
111
  */
112
112
  MetricName: string | undefined;
113
113
  /**
114
- * @public
115
114
  * <p>The namespace of the metric.</p>
115
+ * @public
116
116
  */
117
117
  Namespace: string | undefined;
118
118
  /**
119
- * @public
120
119
  * <p>The dimensions of the metric.</p>
121
120
  * <p>Conditional: If you published your metric with dimensions, you must specify the same
122
121
  * dimensions in your customized load metric specification.</p>
122
+ * @public
123
123
  */
124
124
  Dimensions?: MetricDimension[];
125
125
  /**
126
- * @public
127
126
  * <p>The statistic of the metric. The only valid value is <code>Sum</code>.</p>
127
+ * @public
128
128
  */
129
129
  Statistic: MetricStatistic | undefined;
130
130
  /**
131
- * @public
132
131
  * <p>The unit of the metric.</p>
132
+ * @public
133
133
  */
134
134
  Unit?: string;
135
135
  }
@@ -148,21 +148,20 @@ export declare const LoadMetricType: {
148
148
  */
149
149
  export type LoadMetricType = (typeof LoadMetricType)[keyof typeof LoadMetricType];
150
150
  /**
151
- * @public
152
151
  * <p>Represents a predefined metric that can be used for predictive scaling.</p>
153
152
  * <p>After creating your scaling plan, you can use the AWS Auto Scaling console to visualize
154
153
  * forecasts for the specified metric. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-create-scaling-plan.html#gs-view-resource">View
155
154
  * Scaling Information for a Resource</a> in the
156
155
  * <i>AWS Auto Scaling User Guide</i>.</p>
156
+ * @public
157
157
  */
158
158
  export interface PredefinedLoadMetricSpecification {
159
159
  /**
160
- * @public
161
160
  * <p>The metric type.</p>
161
+ * @public
162
162
  */
163
163
  PredefinedLoadMetricType: LoadMetricType | undefined;
164
164
  /**
165
- * @public
166
165
  * <p>Identifies the resource associated with the metric type. You can't specify a resource
167
166
  * label unless the metric type is <code>ALBTargetGroupRequestCount</code> and there is a
168
167
  * target group for an Application Load Balancer attached to the Auto Scaling group.</p>
@@ -185,6 +184,7 @@ export interface PredefinedLoadMetricSpecification {
185
184
  * app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.</p>
186
185
  * <p>To find the ARN for an Application Load Balancer, use the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html">DescribeLoadBalancers</a> API operation. To find the ARN for the target group, use
187
186
  * the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
187
+ * @public
188
188
  */
189
189
  ResourceLabel?: string;
190
190
  }
@@ -259,7 +259,6 @@ export declare const ServiceNamespace: {
259
259
  */
260
260
  export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNamespace];
261
261
  /**
262
- * @public
263
262
  * <p>Represents a CloudWatch metric of your choosing that can be used for dynamic scaling as part
264
263
  * of a target tracking scaling policy. </p>
265
264
  * <p>To create your customized scaling metric specification:</p>
@@ -279,33 +278,34 @@ export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNam
279
278
  * <p>For information about terminology, available metrics, or how to publish new metrics, see
280
279
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html">Amazon CloudWatch
281
280
  * Concepts</a> in the <i>Amazon CloudWatch User Guide</i>. </p>
281
+ * @public
282
282
  */
283
283
  export interface CustomizedScalingMetricSpecification {
284
284
  /**
285
- * @public
286
285
  * <p>The name of the metric.</p>
286
+ * @public
287
287
  */
288
288
  MetricName: string | undefined;
289
289
  /**
290
- * @public
291
290
  * <p>The namespace of the metric.</p>
291
+ * @public
292
292
  */
293
293
  Namespace: string | undefined;
294
294
  /**
295
- * @public
296
295
  * <p>The dimensions of the metric.</p>
297
296
  * <p>Conditional: If you published your metric with dimensions, you must specify the same
298
297
  * dimensions in your customized scaling metric specification.</p>
298
+ * @public
299
299
  */
300
300
  Dimensions?: MetricDimension[];
301
301
  /**
302
- * @public
303
302
  * <p>The statistic of the metric.</p>
303
+ * @public
304
304
  */
305
305
  Statistic: MetricStatistic | undefined;
306
306
  /**
307
- * @public
308
307
  * <p>The unit of the metric. </p>
308
+ * @public
309
309
  */
310
310
  Unit?: string;
311
311
  }
@@ -333,19 +333,18 @@ export declare const ScalingMetricType: {
333
333
  */
334
334
  export type ScalingMetricType = (typeof ScalingMetricType)[keyof typeof ScalingMetricType];
335
335
  /**
336
- * @public
337
336
  * <p>Represents a predefined metric that can be used for dynamic scaling as part of a target
338
337
  * tracking scaling policy.</p>
338
+ * @public
339
339
  */
340
340
  export interface PredefinedScalingMetricSpecification {
341
341
  /**
342
- * @public
343
342
  * <p>The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to
344
343
  * Auto Scaling groups, Spot Fleet requests, and ECS services.</p>
344
+ * @public
345
345
  */
346
346
  PredefinedScalingMetricType: ScalingMetricType | undefined;
347
347
  /**
348
- * @public
349
348
  * <p>Identifies the resource associated with the metric type. You can't specify a resource
350
349
  * label unless the metric type is <code>ALBRequestCountPerTarget</code> and there is a target
351
350
  * group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or
@@ -369,44 +368,44 @@ export interface PredefinedScalingMetricSpecification {
369
368
  * app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.</p>
370
369
  * <p>To find the ARN for an Application Load Balancer, use the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html">DescribeLoadBalancers</a> API operation. To find the ARN for the target group, use
371
370
  * the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
371
+ * @public
372
372
  */
373
373
  ResourceLabel?: string;
374
374
  }
375
375
  /**
376
- * @public
377
376
  * <p>Describes a target tracking configuration to use with AWS Auto Scaling. Used with <a>ScalingInstruction</a> and <a>ScalingPolicy</a>.</p>
377
+ * @public
378
378
  */
379
379
  export interface TargetTrackingConfiguration {
380
380
  /**
381
- * @public
382
381
  * <p>A predefined metric. You can specify either a predefined metric or a customized
383
382
  * metric.</p>
383
+ * @public
384
384
  */
385
385
  PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification;
386
386
  /**
387
- * @public
388
387
  * <p>A customized metric. You can specify either a predefined metric or a customized metric.
389
388
  * </p>
389
+ * @public
390
390
  */
391
391
  CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification;
392
392
  /**
393
- * @public
394
393
  * <p>The target value for the metric. Although this property accepts numbers of type Double,
395
394
  * it won't accept values that are either too small or too large. Values must be in the range
396
395
  * of -2^360 to 2^360.</p>
396
+ * @public
397
397
  */
398
398
  TargetValue: number | undefined;
399
399
  /**
400
- * @public
401
400
  * <p>Indicates whether scale in by the target tracking scaling policy is disabled. If the
402
401
  * value is <code>true</code>, scale in is disabled and the target tracking scaling policy
403
402
  * doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the
404
403
  * target tracking scaling policy can remove capacity from the scalable resource. </p>
405
404
  * <p>The default value is <code>false</code>.</p>
405
+ * @public
406
406
  */
407
407
  DisableScaleIn?: boolean;
408
408
  /**
409
- * @public
410
409
  * <p>The amount of time, in seconds, to wait for a previous scale-out activity to take
411
410
  * effect. This property is not used if the scalable resource is an Auto Scaling
412
411
  * group.</p>
@@ -415,10 +414,10 @@ export interface TargetTrackingConfiguration {
415
414
  * tracking scaling policy, it starts to calculate the cooldown time. The scaling policy won't
416
415
  * increase the desired capacity again unless either a larger scale out is triggered or the
417
416
  * cooldown period ends.</p>
417
+ * @public
418
418
  */
419
419
  ScaleOutCooldown?: number;
420
420
  /**
421
- * @public
422
421
  * <p>The amount of time, in seconds, after a scale-in activity completes before another
423
422
  * scale-in activity can start. This property is not used if the scalable resource is an Auto Scaling
424
423
  * group.</p>
@@ -427,17 +426,17 @@ export interface TargetTrackingConfiguration {
427
426
  * until the cooldown period has expired. However, if another alarm triggers a scale-out activity
428
427
  * during the scale-in cooldown period, Auto Scaling scales out the target immediately. In this case,
429
428
  * the scale-in cooldown period stops and doesn't complete.</p>
429
+ * @public
430
430
  */
431
431
  ScaleInCooldown?: number;
432
432
  /**
433
- * @public
434
433
  * <p>The estimated time, in seconds, until a newly launched instance can contribute to the
435
434
  * CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.</p>
435
+ * @public
436
436
  */
437
437
  EstimatedInstanceWarmup?: number;
438
438
  }
439
439
  /**
440
- * @public
441
440
  * <p>Describes a scaling instruction for a scalable resource in a scaling plan. Each scaling
442
441
  * instruction applies to one resource.</p>
443
442
  * <p>AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions.
@@ -456,15 +455,15 @@ export interface TargetTrackingConfiguration {
456
455
  * forecast. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-best-practices.html">Best Practices for
457
456
  * AWS Auto Scaling</a> in the <i>AWS Auto Scaling User Guide</i>.</p>
458
457
  * </important>
458
+ * @public
459
459
  */
460
460
  export interface ScalingInstruction {
461
461
  /**
462
- * @public
463
462
  * <p>The namespace of the AWS service.</p>
463
+ * @public
464
464
  */
465
465
  ServiceNamespace: ServiceNamespace | undefined;
466
466
  /**
467
- * @public
468
467
  * <p>The ID of the resource. This string consists of the resource type and unique
469
468
  * identifier.</p>
470
469
  * <ul>
@@ -493,10 +492,10 @@ export interface ScalingInstruction {
493
492
  * Example: <code>cluster:my-db-cluster</code>.</p>
494
493
  * </li>
495
494
  * </ul>
495
+ * @public
496
496
  */
497
497
  ResourceId: string | undefined;
498
498
  /**
499
- * @public
500
499
  * <p>The scalable dimension associated with the resource.</p>
501
500
  * <ul>
502
501
  * <li>
@@ -532,39 +531,39 @@ export interface ScalingInstruction {
532
531
  * <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.</p>
533
532
  * </li>
534
533
  * </ul>
534
+ * @public
535
535
  */
536
536
  ScalableDimension: ScalableDimension | undefined;
537
537
  /**
538
- * @public
539
538
  * <p>The minimum capacity of the resource. </p>
539
+ * @public
540
540
  */
541
541
  MinCapacity: number | undefined;
542
542
  /**
543
- * @public
544
543
  * <p>The maximum capacity of the resource. The exception to this upper limit is if you
545
544
  * specify a non-default setting for <b>PredictiveScalingMaxCapacityBehavior</b>. </p>
545
+ * @public
546
546
  */
547
547
  MaxCapacity: number | undefined;
548
548
  /**
549
- * @public
550
549
  * <p>The target tracking configurations (up to 10). Each of these structures must specify a
551
550
  * unique scaling metric and a target value for the metric. </p>
551
+ * @public
552
552
  */
553
553
  TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
554
554
  /**
555
- * @public
556
555
  * <p>The predefined load metric to use for predictive scaling. This parameter or a <b>CustomizedLoadMetricSpecification</b> is required when configuring
557
556
  * predictive scaling, and cannot be used otherwise. </p>
557
+ * @public
558
558
  */
559
559
  PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification;
560
560
  /**
561
- * @public
562
561
  * <p>The customized load metric to use for predictive scaling. This parameter or a <b>PredefinedLoadMetricSpecification</b> is required when configuring
563
562
  * predictive scaling, and cannot be used otherwise. </p>
563
+ * @public
564
564
  */
565
565
  CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification;
566
566
  /**
567
- * @public
568
567
  * <p>The amount of time, in seconds, to buffer the run time of scheduled scaling actions when
569
568
  * scaling out. For example, if the forecast says to add capacity at 10:00 AM, and the buffer
570
569
  * time is 5 minutes, then the run time of the corresponding scheduled scaling action will be
@@ -575,10 +574,10 @@ export interface ScalingInstruction {
575
574
  * <p>The value must be less than the forecast interval duration of 3600 seconds (60 minutes).
576
575
  * The default is 300 seconds. </p>
577
576
  * <p>Only valid when configuring predictive scaling. </p>
577
+ * @public
578
578
  */
579
579
  ScheduledActionBufferTime?: number;
580
580
  /**
581
- * @public
582
581
  * <p>Defines the behavior that should be applied if the forecast capacity approaches or
583
582
  * exceeds the maximum capacity specified for the resource. The default value is
584
583
  * <code>SetForecastCapacityToMaxCapacity</code>.</p>
@@ -605,10 +604,10 @@ export interface ScalingInstruction {
605
604
  * </li>
606
605
  * </ul>
607
606
  * <p>Only valid when configuring predictive scaling.</p>
607
+ * @public
608
608
  */
609
609
  PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior;
610
610
  /**
611
- * @public
612
611
  * <p>The size of the capacity buffer to use when the forecast capacity is close to or exceeds
613
612
  * the maximum capacity. The value is specified as a percentage relative to the forecast
614
613
  * capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if
@@ -617,17 +616,17 @@ export interface ScalingInstruction {
617
616
  * <p>Only valid when configuring predictive scaling. Required if the <b>PredictiveScalingMaxCapacityBehavior</b> is set to
618
617
  * <code>SetMaxCapacityAboveForecastCapacity</code>, and cannot be used otherwise.</p>
619
618
  * <p>The range is 1-100.</p>
619
+ * @public
620
620
  */
621
621
  PredictiveScalingMaxCapacityBuffer?: number;
622
622
  /**
623
- * @public
624
623
  * <p>The predictive scaling mode. The default value is <code>ForecastAndScale</code>.
625
624
  * Otherwise, AWS Auto Scaling forecasts capacity but does not create any scheduled scaling actions
626
625
  * based on the capacity forecast. </p>
626
+ * @public
627
627
  */
628
628
  PredictiveScalingMode?: PredictiveScalingMode;
629
629
  /**
630
- * @public
631
630
  * <p>Controls whether a resource's externally created scaling policies are kept or replaced. </p>
632
631
  * <p>The default value is <code>KeepExternalPolicies</code>. If the parameter is set to
633
632
  * <code>ReplaceExternalPolicies</code>, any scaling policies that are external to AWS Auto Scaling
@@ -636,14 +635,15 @@ export interface ScalingInstruction {
636
635
  * <p>Condition: The number of existing policies to be replaced must be less than or equal to
637
636
  * 50. If there are more than 50 policies to be replaced, AWS Auto Scaling keeps all existing policies
638
637
  * and does not create new ones.</p>
638
+ * @public
639
639
  */
640
640
  ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior;
641
641
  /**
642
- * @public
643
642
  * <p>Controls whether dynamic scaling by AWS Auto Scaling is disabled. When dynamic scaling is
644
643
  * enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target
645
644
  * tracking configurations. </p>
646
645
  * <p>The default is enabled (<code>false</code>). </p>
646
+ * @public
647
647
  */
648
648
  DisableDynamicScaling?: boolean;
649
649
  }
@@ -652,22 +652,22 @@ export interface ScalingInstruction {
652
652
  */
653
653
  export interface CreateScalingPlanRequest {
654
654
  /**
655
- * @public
656
655
  * <p>The name of the scaling plan. Names cannot contain vertical bars, colons, or forward
657
656
  * slashes.</p>
657
+ * @public
658
658
  */
659
659
  ScalingPlanName: string | undefined;
660
660
  /**
661
- * @public
662
661
  * <p>A CloudFormation stack or set of tags. You can create one scaling plan per application
663
662
  * source.</p>
664
663
  * <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>
664
+ * @public
665
665
  */
666
666
  ApplicationSource: ApplicationSource | undefined;
667
667
  /**
668
- * @public
669
668
  * <p>The scaling instructions.</p>
670
669
  * <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>
670
+ * @public
671
671
  */
672
672
  ScalingInstructions: ScalingInstruction[] | undefined;
673
673
  }
@@ -676,15 +676,15 @@ export interface CreateScalingPlanRequest {
676
676
  */
677
677
  export interface CreateScalingPlanResponse {
678
678
  /**
679
- * @public
680
679
  * <p>The version number of the scaling plan. This value is always <code>1</code>. Currently,
681
680
  * you cannot have multiple scaling plan versions.</p>
681
+ * @public
682
682
  */
683
683
  ScalingPlanVersion: number | undefined;
684
684
  }
685
685
  /**
686
- * @public
687
686
  * <p>The service encountered an internal error.</p>
687
+ * @public
688
688
  */
689
689
  export declare class InternalServiceException extends __BaseException {
690
690
  readonly name: "InternalServiceException";
@@ -696,9 +696,9 @@ export declare class InternalServiceException extends __BaseException {
696
696
  constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
697
697
  }
698
698
  /**
699
- * @public
700
699
  * <p>Your account exceeded a limit. This exception is thrown when a per-account resource
701
700
  * limit is exceeded.</p>
701
+ * @public
702
702
  */
703
703
  export declare class LimitExceededException extends __BaseException {
704
704
  readonly name: "LimitExceededException";
@@ -710,8 +710,8 @@ export declare class LimitExceededException extends __BaseException {
710
710
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
711
711
  }
712
712
  /**
713
- * @public
714
713
  * <p>An exception was thrown for a validation issue. Review the parameters provided.</p>
714
+ * @public
715
715
  */
716
716
  export declare class ValidationException extends __BaseException {
717
717
  readonly name: "ValidationException";
@@ -727,14 +727,14 @@ export declare class ValidationException extends __BaseException {
727
727
  */
728
728
  export interface DeleteScalingPlanRequest {
729
729
  /**
730
- * @public
731
730
  * <p>The name of the scaling plan.</p>
731
+ * @public
732
732
  */
733
733
  ScalingPlanName: string | undefined;
734
734
  /**
735
- * @public
736
735
  * <p>The version number of the scaling plan. Currently, the only valid value is
737
736
  * <code>1</code>.</p>
737
+ * @public
738
738
  */
739
739
  ScalingPlanVersion: number | undefined;
740
740
  }
@@ -744,8 +744,8 @@ export interface DeleteScalingPlanRequest {
744
744
  export interface DeleteScalingPlanResponse {
745
745
  }
746
746
  /**
747
- * @public
748
747
  * <p>The specified object could not be found.</p>
748
+ * @public
749
749
  */
750
750
  export declare class ObjectNotFoundException extends __BaseException {
751
751
  readonly name: "ObjectNotFoundException";
@@ -761,25 +761,25 @@ export declare class ObjectNotFoundException extends __BaseException {
761
761
  */
762
762
  export interface DescribeScalingPlanResourcesRequest {
763
763
  /**
764
- * @public
765
764
  * <p>The name of the scaling plan.</p>
765
+ * @public
766
766
  */
767
767
  ScalingPlanName: string | undefined;
768
768
  /**
769
- * @public
770
769
  * <p>The version number of the scaling plan. Currently, the only valid value is
771
770
  * <code>1</code>.</p>
771
+ * @public
772
772
  */
773
773
  ScalingPlanVersion: number | undefined;
774
774
  /**
775
- * @public
776
775
  * <p>The maximum number of scalable resources to return. The value must be between
777
776
  * 1 and 50. The default value is 50.</p>
777
+ * @public
778
778
  */
779
779
  MaxResults?: number;
780
780
  /**
781
- * @public
782
781
  * <p>The token for the next set of results.</p>
782
+ * @public
783
783
  */
784
784
  NextToken?: string;
785
785
  }
@@ -795,24 +795,24 @@ export declare const PolicyType: {
795
795
  */
796
796
  export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
797
797
  /**
798
- * @public
799
798
  * <p>Represents a scaling policy.</p>
799
+ * @public
800
800
  */
801
801
  export interface ScalingPolicy {
802
802
  /**
803
- * @public
804
803
  * <p>The name of the scaling policy.</p>
804
+ * @public
805
805
  */
806
806
  PolicyName: string | undefined;
807
807
  /**
808
- * @public
809
808
  * <p>The type of scaling policy.</p>
809
+ * @public
810
810
  */
811
811
  PolicyType: PolicyType | undefined;
812
812
  /**
813
- * @public
814
813
  * <p>The target tracking scaling policy. Includes support for predefined or customized
815
814
  * metrics.</p>
815
+ * @public
816
816
  */
817
817
  TargetTrackingConfiguration?: TargetTrackingConfiguration;
818
818
  }
@@ -830,27 +830,26 @@ export declare const ScalingStatusCode: {
830
830
  */
831
831
  export type ScalingStatusCode = (typeof ScalingStatusCode)[keyof typeof ScalingStatusCode];
832
832
  /**
833
- * @public
834
833
  * <p>Represents a scalable resource.</p>
834
+ * @public
835
835
  */
836
836
  export interface ScalingPlanResource {
837
837
  /**
838
- * @public
839
838
  * <p>The name of the scaling plan.</p>
839
+ * @public
840
840
  */
841
841
  ScalingPlanName: string | undefined;
842
842
  /**
843
- * @public
844
843
  * <p>The version number of the scaling plan.</p>
844
+ * @public
845
845
  */
846
846
  ScalingPlanVersion: number | undefined;
847
847
  /**
848
- * @public
849
848
  * <p>The namespace of the AWS service.</p>
849
+ * @public
850
850
  */
851
851
  ServiceNamespace: ServiceNamespace | undefined;
852
852
  /**
853
- * @public
854
853
  * <p>The ID of the resource. This string consists of the resource type and unique
855
854
  * identifier.</p>
856
855
  * <ul>
@@ -879,10 +878,10 @@ export interface ScalingPlanResource {
879
878
  * Example: <code>cluster:my-db-cluster</code>.</p>
880
879
  * </li>
881
880
  * </ul>
881
+ * @public
882
882
  */
883
883
  ResourceId: string | undefined;
884
884
  /**
885
- * @public
886
885
  * <p>The scalable dimension for the resource.</p>
887
886
  * <ul>
888
887
  * <li>
@@ -918,15 +917,15 @@ export interface ScalingPlanResource {
918
917
  * <code>rds:cluster:ReadReplicaCount</code> - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.</p>
919
918
  * </li>
920
919
  * </ul>
920
+ * @public
921
921
  */
922
922
  ScalableDimension: ScalableDimension | undefined;
923
923
  /**
924
- * @public
925
924
  * <p>The scaling policies.</p>
925
+ * @public
926
926
  */
927
927
  ScalingPolicies?: ScalingPolicy[];
928
928
  /**
929
- * @public
930
929
  * <p>The scaling status of the resource.</p>
931
930
  * <ul>
932
931
  * <li>
@@ -946,11 +945,12 @@ export interface ScalingPlanResource {
946
945
  * could not be fully applied. Check the status message for more information.</p>
947
946
  * </li>
948
947
  * </ul>
948
+ * @public
949
949
  */
950
950
  ScalingStatusCode: ScalingStatusCode | undefined;
951
951
  /**
952
- * @public
953
952
  * <p>A simple message about the current scaling status of the resource.</p>
953
+ * @public
954
954
  */
955
955
  ScalingStatusMessage?: string;
956
956
  }
@@ -959,20 +959,20 @@ export interface ScalingPlanResource {
959
959
  */
960
960
  export interface DescribeScalingPlanResourcesResponse {
961
961
  /**
962
- * @public
963
962
  * <p>Information about the scalable resources.</p>
963
+ * @public
964
964
  */
965
965
  ScalingPlanResources?: ScalingPlanResource[];
966
966
  /**
967
- * @public
968
967
  * <p>The token required to get the next set of results. This value is <code>null</code> if
969
968
  * there are no more results to return.</p>
969
+ * @public
970
970
  */
971
971
  NextToken?: string;
972
972
  }
973
973
  /**
974
- * @public
975
974
  * <p>The token provided is not valid.</p>
975
+ * @public
976
976
  */
977
977
  export declare class InvalidNextTokenException extends __BaseException {
978
978
  readonly name: "InvalidNextTokenException";
@@ -988,36 +988,36 @@ export declare class InvalidNextTokenException extends __BaseException {
988
988
  */
989
989
  export interface DescribeScalingPlansRequest {
990
990
  /**
991
- * @public
992
991
  * <p>The names of the scaling plans (up to 10). If you specify application sources, you
993
992
  * cannot specify scaling plan names.</p>
993
+ * @public
994
994
  */
995
995
  ScalingPlanNames?: string[];
996
996
  /**
997
- * @public
998
997
  * <p>The version number of the scaling plan. Currently, the only valid value is
999
998
  * <code>1</code>.</p>
1000
999
  * <note>
1001
1000
  * <p>If you specify a scaling plan version, you must also specify a scaling plan
1002
1001
  * name.</p>
1003
1002
  * </note>
1003
+ * @public
1004
1004
  */
1005
1005
  ScalingPlanVersion?: number;
1006
1006
  /**
1007
- * @public
1008
1007
  * <p>The sources for the applications (up to 10). If you specify scaling plan names, you
1009
1008
  * cannot specify application sources.</p>
1009
+ * @public
1010
1010
  */
1011
1011
  ApplicationSources?: ApplicationSource[];
1012
1012
  /**
1013
- * @public
1014
1013
  * <p>The maximum number of scalable resources to return. This value can be between
1015
1014
  * 1 and 50. The default value is 50.</p>
1015
+ * @public
1016
1016
  */
1017
1017
  MaxResults?: number;
1018
1018
  /**
1019
- * @public
1020
1019
  * <p>The token for the next set of results.</p>
1020
+ * @public
1021
1021
  */
1022
1022
  NextToken?: string;
1023
1023
  }
@@ -1040,33 +1040,32 @@ export declare const ScalingPlanStatusCode: {
1040
1040
  */
1041
1041
  export type ScalingPlanStatusCode = (typeof ScalingPlanStatusCode)[keyof typeof ScalingPlanStatusCode];
1042
1042
  /**
1043
- * @public
1044
1043
  * <p>Represents a scaling plan.</p>
1044
+ * @public
1045
1045
  */
1046
1046
  export interface ScalingPlan {
1047
1047
  /**
1048
- * @public
1049
1048
  * <p>The name of the scaling plan.</p>
1049
+ * @public
1050
1050
  */
1051
1051
  ScalingPlanName: string | undefined;
1052
1052
  /**
1053
- * @public
1054
1053
  * <p>The version number of the scaling plan.</p>
1054
+ * @public
1055
1055
  */
1056
1056
  ScalingPlanVersion: number | undefined;
1057
1057
  /**
1058
- * @public
1059
1058
  * <p>A CloudFormation stack or a set of tags. You can create one scaling plan per application
1060
1059
  * source.</p>
1060
+ * @public
1061
1061
  */
1062
1062
  ApplicationSource: ApplicationSource | undefined;
1063
1063
  /**
1064
- * @public
1065
1064
  * <p>The scaling instructions.</p>
1065
+ * @public
1066
1066
  */
1067
1067
  ScalingInstructions: ScalingInstruction[] | undefined;
1068
1068
  /**
1069
- * @public
1070
1069
  * <p>The status of the scaling plan.</p>
1071
1070
  * <ul>
1072
1071
  * <li>
@@ -1103,21 +1102,22 @@ export interface ScalingPlan {
1103
1102
  * <code>UpdateFailed</code> - The scaling plan could not be updated.</p>
1104
1103
  * </li>
1105
1104
  * </ul>
1105
+ * @public
1106
1106
  */
1107
1107
  StatusCode: ScalingPlanStatusCode | undefined;
1108
1108
  /**
1109
- * @public
1110
1109
  * <p>A simple message about the current status of the scaling plan.</p>
1110
+ * @public
1111
1111
  */
1112
1112
  StatusMessage?: string;
1113
1113
  /**
1114
- * @public
1115
1114
  * <p>The Unix time stamp when the scaling plan entered the current status.</p>
1115
+ * @public
1116
1116
  */
1117
1117
  StatusStartTime?: Date;
1118
1118
  /**
1119
- * @public
1120
1119
  * <p>The Unix time stamp when the scaling plan was created.</p>
1120
+ * @public
1121
1121
  */
1122
1122
  CreationTime?: Date;
1123
1123
  }
@@ -1126,14 +1126,14 @@ export interface ScalingPlan {
1126
1126
  */
1127
1127
  export interface DescribeScalingPlansResponse {
1128
1128
  /**
1129
- * @public
1130
1129
  * <p>Information about the scaling plans.</p>
1130
+ * @public
1131
1131
  */
1132
1132
  ScalingPlans?: ScalingPlan[];
1133
1133
  /**
1134
- * @public
1135
1134
  * <p>The token required to get the next set of results. This value is <code>null</code> if
1136
1135
  * there are no more results to return.</p>
1136
+ * @public
1137
1137
  */
1138
1138
  NextToken?: string;
1139
1139
  }
@@ -1156,37 +1156,36 @@ export type ForecastDataType = (typeof ForecastDataType)[keyof typeof ForecastDa
1156
1156
  */
1157
1157
  export interface GetScalingPlanResourceForecastDataRequest {
1158
1158
  /**
1159
- * @public
1160
1159
  * <p>The name of the scaling plan.</p>
1160
+ * @public
1161
1161
  */
1162
1162
  ScalingPlanName: string | undefined;
1163
1163
  /**
1164
- * @public
1165
1164
  * <p>The version number of the scaling plan. Currently, the only valid value is
1166
1165
  * <code>1</code>.</p>
1166
+ * @public
1167
1167
  */
1168
1168
  ScalingPlanVersion: number | undefined;
1169
1169
  /**
1170
- * @public
1171
1170
  * <p>The namespace of the AWS service. The only valid value is <code>autoscaling</code>.
1172
1171
  * </p>
1172
+ * @public
1173
1173
  */
1174
1174
  ServiceNamespace: ServiceNamespace | undefined;
1175
1175
  /**
1176
- * @public
1177
1176
  * <p>The ID of the resource. This string consists of a prefix (<code>autoScalingGroup</code>)
1178
1177
  * followed by the name of a specified Auto Scaling group (<code>my-asg</code>). Example:
1179
1178
  * <code>autoScalingGroup/my-asg</code>. </p>
1179
+ * @public
1180
1180
  */
1181
1181
  ResourceId: string | undefined;
1182
1182
  /**
1183
- * @public
1184
1183
  * <p>The scalable dimension for the resource. The only valid value is
1185
1184
  * <code>autoscaling:autoScalingGroup:DesiredCapacity</code>. </p>
1185
+ * @public
1186
1186
  */
1187
1187
  ScalableDimension: ScalableDimension | undefined;
1188
1188
  /**
1189
- * @public
1190
1189
  * <p>The type of forecast data to get.</p>
1191
1190
  * <ul>
1192
1191
  * <li>
@@ -1210,37 +1209,38 @@ export interface GetScalingPlanResourceForecastDataRequest {
1210
1209
  * capacity behavior setting in the scaling instruction.</p>
1211
1210
  * </li>
1212
1211
  * </ul>
1212
+ * @public
1213
1213
  */
1214
1214
  ForecastDataType: ForecastDataType | undefined;
1215
1215
  /**
1216
- * @public
1217
1216
  * <p>The inclusive start time of the time range for the forecast data to get. The date and
1218
1217
  * time can be at most 56 days before the current date and time. </p>
1218
+ * @public
1219
1219
  */
1220
1220
  StartTime: Date | undefined;
1221
1221
  /**
1222
- * @public
1223
1222
  * <p>The exclusive end time of the time range for the forecast data to get. The maximum time
1224
1223
  * duration between the start and end time is seven days. </p>
1225
1224
  * <p>Although this parameter can accept a date and time that is more than two days in the
1226
1225
  * future, the availability of forecast data has limits. AWS Auto Scaling only issues forecasts for
1227
1226
  * periods of two days in advance.</p>
1227
+ * @public
1228
1228
  */
1229
1229
  EndTime: Date | undefined;
1230
1230
  }
1231
1231
  /**
1232
- * @public
1233
1232
  * <p>Represents a single value in the forecast data used for predictive scaling.</p>
1233
+ * @public
1234
1234
  */
1235
1235
  export interface Datapoint {
1236
1236
  /**
1237
- * @public
1238
1237
  * <p>The time stamp for the data point in UTC format.</p>
1238
+ * @public
1239
1239
  */
1240
1240
  Timestamp?: Date;
1241
1241
  /**
1242
- * @public
1243
1242
  * <p>The value of the data point.</p>
1243
+ * @public
1244
1244
  */
1245
1245
  Value?: number;
1246
1246
  }
@@ -1249,8 +1249,8 @@ export interface Datapoint {
1249
1249
  */
1250
1250
  export interface GetScalingPlanResourceForecastDataResponse {
1251
1251
  /**
1252
- * @public
1253
1252
  * <p>The data points to return.</p>
1253
+ * @public
1254
1254
  */
1255
1255
  Datapoints: Datapoint[] | undefined;
1256
1256
  }
@@ -1259,26 +1259,26 @@ export interface GetScalingPlanResourceForecastDataResponse {
1259
1259
  */
1260
1260
  export interface UpdateScalingPlanRequest {
1261
1261
  /**
1262
- * @public
1263
1262
  * <p>The name of the scaling plan.</p>
1263
+ * @public
1264
1264
  */
1265
1265
  ScalingPlanName: string | undefined;
1266
1266
  /**
1267
- * @public
1268
1267
  * <p>The version number of the scaling plan. The only valid value is <code>1</code>.
1269
1268
  * Currently, you cannot have multiple scaling plan versions.</p>
1269
+ * @public
1270
1270
  */
1271
1271
  ScalingPlanVersion: number | undefined;
1272
1272
  /**
1273
- * @public
1274
1273
  * <p>A CloudFormation stack or set of tags.</p>
1275
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
+ * @public
1276
1276
  */
1277
1277
  ApplicationSource?: ApplicationSource;
1278
1278
  /**
1279
- * @public
1280
1279
  * <p>The scaling instructions.</p>
1281
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
+ * @public
1282
1282
  */
1283
1283
  ScalingInstructions?: ScalingInstruction[];
1284
1284
  }
@@ -64,6 +64,7 @@ export interface AutoScalingPlans {
64
64
  options: __HttpHandlerOptions,
65
65
  cb: (err: any, data?: DescribeScalingPlanResourcesCommandOutput) => void
66
66
  ): void;
67
+ describeScalingPlans(): Promise<DescribeScalingPlansCommandOutput>;
67
68
  describeScalingPlans(
68
69
  args: DescribeScalingPlansCommandInput,
69
70
  options?: __HttpHandlerOptions
@@ -25,6 +25,15 @@ declare const CreateScalingPlanCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: CreateScalingPlanCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CreateScalingPlanCommandInput,
32
+ CreateScalingPlanCommandOutput,
33
+ AutoScalingPlansClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class CreateScalingPlanCommand extends CreateScalingPlanCommand_base {}
@@ -25,6 +25,15 @@ declare const DeleteScalingPlanCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DeleteScalingPlanCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteScalingPlanCommandInput,
32
+ DeleteScalingPlanCommandOutput,
33
+ AutoScalingPlansClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DeleteScalingPlanCommand extends DeleteScalingPlanCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeScalingPlanResourcesCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DescribeScalingPlanResourcesCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeScalingPlanResourcesCommandInput,
32
+ DescribeScalingPlanResourcesCommandOutput,
33
+ AutoScalingPlansClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeScalingPlanResourcesCommand extends DescribeScalingPlanResourcesCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeScalingPlansCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [DescribeScalingPlansCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeScalingPlansCommandInput,
32
+ DescribeScalingPlansCommandOutput,
33
+ AutoScalingPlansClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeScalingPlansCommand extends DescribeScalingPlansCommand_base {}
@@ -25,6 +25,15 @@ declare const GetScalingPlanResourceForecastDataCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetScalingPlanResourceForecastDataCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetScalingPlanResourceForecastDataCommandInput,
32
+ GetScalingPlanResourceForecastDataCommandOutput,
33
+ AutoScalingPlansClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetScalingPlanResourceForecastDataCommand extends GetScalingPlanResourceForecastDataCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateScalingPlanCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateScalingPlanCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateScalingPlanCommandInput,
32
+ UpdateScalingPlanCommandOutput,
33
+ AutoScalingPlansClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateScalingPlanCommand extends UpdateScalingPlanCommand_base {}
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.533.0",
4
+ "version": "3.535.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,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",