@aws-sdk/client-auto-scaling-plans 3.379.1 → 3.382.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.
|
@@ -20,10 +20,12 @@ export declare class ConcurrentUpdateException extends __BaseException {
|
|
|
20
20
|
*/
|
|
21
21
|
export interface TagFilter {
|
|
22
22
|
/**
|
|
23
|
+
* @public
|
|
23
24
|
* <p>The tag key.</p>
|
|
24
25
|
*/
|
|
25
26
|
Key?: string;
|
|
26
27
|
/**
|
|
28
|
+
* @public
|
|
27
29
|
* <p>The tag values (0 to 20).</p>
|
|
28
30
|
*/
|
|
29
31
|
Values?: string[];
|
|
@@ -34,10 +36,12 @@ export interface TagFilter {
|
|
|
34
36
|
*/
|
|
35
37
|
export interface ApplicationSource {
|
|
36
38
|
/**
|
|
39
|
+
* @public
|
|
37
40
|
* <p>The Amazon Resource Name (ARN) of a AWS CloudFormation stack.</p>
|
|
38
41
|
*/
|
|
39
42
|
CloudFormationStackARN?: string;
|
|
40
43
|
/**
|
|
44
|
+
* @public
|
|
41
45
|
* <p>A set of tags (up to 50).</p>
|
|
42
46
|
*/
|
|
43
47
|
TagFilters?: TagFilter[];
|
|
@@ -48,10 +52,12 @@ export interface ApplicationSource {
|
|
|
48
52
|
*/
|
|
49
53
|
export interface MetricDimension {
|
|
50
54
|
/**
|
|
55
|
+
* @public
|
|
51
56
|
* <p>The name of the dimension.</p>
|
|
52
57
|
*/
|
|
53
58
|
Name: string | undefined;
|
|
54
59
|
/**
|
|
60
|
+
* @public
|
|
55
61
|
* <p>The value of the dimension.</p>
|
|
56
62
|
*/
|
|
57
63
|
Value: string | undefined;
|
|
@@ -100,24 +106,29 @@ export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatis
|
|
|
100
106
|
*/
|
|
101
107
|
export interface CustomizedLoadMetricSpecification {
|
|
102
108
|
/**
|
|
109
|
+
* @public
|
|
103
110
|
* <p>The name of the metric.</p>
|
|
104
111
|
*/
|
|
105
112
|
MetricName: string | undefined;
|
|
106
113
|
/**
|
|
114
|
+
* @public
|
|
107
115
|
* <p>The namespace of the metric.</p>
|
|
108
116
|
*/
|
|
109
117
|
Namespace: string | undefined;
|
|
110
118
|
/**
|
|
119
|
+
* @public
|
|
111
120
|
* <p>The dimensions of the metric.</p>
|
|
112
121
|
* <p>Conditional: If you published your metric with dimensions, you must specify the same
|
|
113
122
|
* dimensions in your customized load metric specification.</p>
|
|
114
123
|
*/
|
|
115
124
|
Dimensions?: MetricDimension[];
|
|
116
125
|
/**
|
|
126
|
+
* @public
|
|
117
127
|
* <p>The statistic of the metric. The only valid value is <code>Sum</code>.</p>
|
|
118
128
|
*/
|
|
119
129
|
Statistic: MetricStatistic | string | undefined;
|
|
120
130
|
/**
|
|
131
|
+
* @public
|
|
121
132
|
* <p>The unit of the metric.</p>
|
|
122
133
|
*/
|
|
123
134
|
Unit?: string;
|
|
@@ -146,10 +157,12 @@ export type LoadMetricType = (typeof LoadMetricType)[keyof typeof LoadMetricType
|
|
|
146
157
|
*/
|
|
147
158
|
export interface PredefinedLoadMetricSpecification {
|
|
148
159
|
/**
|
|
160
|
+
* @public
|
|
149
161
|
* <p>The metric type.</p>
|
|
150
162
|
*/
|
|
151
163
|
PredefinedLoadMetricType: LoadMetricType | string | undefined;
|
|
152
164
|
/**
|
|
165
|
+
* @public
|
|
153
166
|
* <p>Identifies the resource associated with the metric type. You can't specify a resource
|
|
154
167
|
* label unless the metric type is <code>ALBTargetGroupRequestCount</code> and there is a
|
|
155
168
|
* target group for an Application Load Balancer attached to the Auto Scaling group.</p>
|
|
@@ -269,24 +282,29 @@ export type ServiceNamespace = (typeof ServiceNamespace)[keyof typeof ServiceNam
|
|
|
269
282
|
*/
|
|
270
283
|
export interface CustomizedScalingMetricSpecification {
|
|
271
284
|
/**
|
|
285
|
+
* @public
|
|
272
286
|
* <p>The name of the metric.</p>
|
|
273
287
|
*/
|
|
274
288
|
MetricName: string | undefined;
|
|
275
289
|
/**
|
|
290
|
+
* @public
|
|
276
291
|
* <p>The namespace of the metric.</p>
|
|
277
292
|
*/
|
|
278
293
|
Namespace: string | undefined;
|
|
279
294
|
/**
|
|
295
|
+
* @public
|
|
280
296
|
* <p>The dimensions of the metric.</p>
|
|
281
297
|
* <p>Conditional: If you published your metric with dimensions, you must specify the same
|
|
282
298
|
* dimensions in your customized scaling metric specification.</p>
|
|
283
299
|
*/
|
|
284
300
|
Dimensions?: MetricDimension[];
|
|
285
301
|
/**
|
|
302
|
+
* @public
|
|
286
303
|
* <p>The statistic of the metric.</p>
|
|
287
304
|
*/
|
|
288
305
|
Statistic: MetricStatistic | string | undefined;
|
|
289
306
|
/**
|
|
307
|
+
* @public
|
|
290
308
|
* <p>The unit of the metric. </p>
|
|
291
309
|
*/
|
|
292
310
|
Unit?: string;
|
|
@@ -321,11 +339,13 @@ export type ScalingMetricType = (typeof ScalingMetricType)[keyof typeof ScalingM
|
|
|
321
339
|
*/
|
|
322
340
|
export interface PredefinedScalingMetricSpecification {
|
|
323
341
|
/**
|
|
342
|
+
* @public
|
|
324
343
|
* <p>The metric type. The <code>ALBRequestCountPerTarget</code> metric type applies only to
|
|
325
344
|
* Auto Scaling groups, Spot Fleet requests, and ECS services.</p>
|
|
326
345
|
*/
|
|
327
346
|
PredefinedScalingMetricType: ScalingMetricType | string | undefined;
|
|
328
347
|
/**
|
|
348
|
+
* @public
|
|
329
349
|
* <p>Identifies the resource associated with the metric type. You can't specify a resource
|
|
330
350
|
* label unless the metric type is <code>ALBRequestCountPerTarget</code> and there is a target
|
|
331
351
|
* group for an Application Load Balancer attached to the Auto Scaling group, Spot Fleet request, or
|
|
@@ -358,22 +378,26 @@ export interface PredefinedScalingMetricSpecification {
|
|
|
358
378
|
*/
|
|
359
379
|
export interface TargetTrackingConfiguration {
|
|
360
380
|
/**
|
|
381
|
+
* @public
|
|
361
382
|
* <p>A predefined metric. You can specify either a predefined metric or a customized
|
|
362
383
|
* metric.</p>
|
|
363
384
|
*/
|
|
364
385
|
PredefinedScalingMetricSpecification?: PredefinedScalingMetricSpecification;
|
|
365
386
|
/**
|
|
387
|
+
* @public
|
|
366
388
|
* <p>A customized metric. You can specify either a predefined metric or a customized metric.
|
|
367
389
|
* </p>
|
|
368
390
|
*/
|
|
369
391
|
CustomizedScalingMetricSpecification?: CustomizedScalingMetricSpecification;
|
|
370
392
|
/**
|
|
393
|
+
* @public
|
|
371
394
|
* <p>The target value for the metric. Although this property accepts numbers of type Double,
|
|
372
395
|
* it won't accept values that are either too small or too large. Values must be in the range
|
|
373
396
|
* of -2^360 to 2^360.</p>
|
|
374
397
|
*/
|
|
375
398
|
TargetValue: number | undefined;
|
|
376
399
|
/**
|
|
400
|
+
* @public
|
|
377
401
|
* <p>Indicates whether scale in by the target tracking scaling policy is disabled. If the
|
|
378
402
|
* value is <code>true</code>, scale in is disabled and the target tracking scaling policy
|
|
379
403
|
* doesn't remove capacity from the scalable resource. Otherwise, scale in is enabled and the
|
|
@@ -382,6 +406,7 @@ export interface TargetTrackingConfiguration {
|
|
|
382
406
|
*/
|
|
383
407
|
DisableScaleIn?: boolean;
|
|
384
408
|
/**
|
|
409
|
+
* @public
|
|
385
410
|
* <p>The amount of time, in seconds, to wait for a previous scale-out activity to take
|
|
386
411
|
* effect. This property is not used if the scalable resource is an Auto Scaling
|
|
387
412
|
* group.</p>
|
|
@@ -393,6 +418,7 @@ export interface TargetTrackingConfiguration {
|
|
|
393
418
|
*/
|
|
394
419
|
ScaleOutCooldown?: number;
|
|
395
420
|
/**
|
|
421
|
+
* @public
|
|
396
422
|
* <p>The amount of time, in seconds, after a scale-in activity completes before another
|
|
397
423
|
* scale-in activity can start. This property is not used if the scalable resource is an Auto Scaling
|
|
398
424
|
* group.</p>
|
|
@@ -404,6 +430,7 @@ export interface TargetTrackingConfiguration {
|
|
|
404
430
|
*/
|
|
405
431
|
ScaleInCooldown?: number;
|
|
406
432
|
/**
|
|
433
|
+
* @public
|
|
407
434
|
* <p>The estimated time, in seconds, until a newly launched instance can contribute to the
|
|
408
435
|
* CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.</p>
|
|
409
436
|
*/
|
|
@@ -432,10 +459,12 @@ export interface TargetTrackingConfiguration {
|
|
|
432
459
|
*/
|
|
433
460
|
export interface ScalingInstruction {
|
|
434
461
|
/**
|
|
462
|
+
* @public
|
|
435
463
|
* <p>The namespace of the AWS service.</p>
|
|
436
464
|
*/
|
|
437
465
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
438
466
|
/**
|
|
467
|
+
* @public
|
|
439
468
|
* <p>The ID of the resource. This string consists of the resource type and unique
|
|
440
469
|
* identifier.</p>
|
|
441
470
|
* <ul>
|
|
@@ -467,6 +496,7 @@ export interface ScalingInstruction {
|
|
|
467
496
|
*/
|
|
468
497
|
ResourceId: string | undefined;
|
|
469
498
|
/**
|
|
499
|
+
* @public
|
|
470
500
|
* <p>The scalable dimension associated with the resource.</p>
|
|
471
501
|
* <ul>
|
|
472
502
|
* <li>
|
|
@@ -505,30 +535,36 @@ export interface ScalingInstruction {
|
|
|
505
535
|
*/
|
|
506
536
|
ScalableDimension: ScalableDimension | string | undefined;
|
|
507
537
|
/**
|
|
538
|
+
* @public
|
|
508
539
|
* <p>The minimum capacity of the resource. </p>
|
|
509
540
|
*/
|
|
510
541
|
MinCapacity: number | undefined;
|
|
511
542
|
/**
|
|
543
|
+
* @public
|
|
512
544
|
* <p>The maximum capacity of the resource. The exception to this upper limit is if you
|
|
513
545
|
* specify a non-default setting for <b>PredictiveScalingMaxCapacityBehavior</b>. </p>
|
|
514
546
|
*/
|
|
515
547
|
MaxCapacity: number | undefined;
|
|
516
548
|
/**
|
|
549
|
+
* @public
|
|
517
550
|
* <p>The target tracking configurations (up to 10). Each of these structures must specify a
|
|
518
551
|
* unique scaling metric and a target value for the metric. </p>
|
|
519
552
|
*/
|
|
520
553
|
TargetTrackingConfigurations: TargetTrackingConfiguration[] | undefined;
|
|
521
554
|
/**
|
|
555
|
+
* @public
|
|
522
556
|
* <p>The predefined load metric to use for predictive scaling. This parameter or a <b>CustomizedLoadMetricSpecification</b> is required when configuring
|
|
523
557
|
* predictive scaling, and cannot be used otherwise. </p>
|
|
524
558
|
*/
|
|
525
559
|
PredefinedLoadMetricSpecification?: PredefinedLoadMetricSpecification;
|
|
526
560
|
/**
|
|
561
|
+
* @public
|
|
527
562
|
* <p>The customized load metric to use for predictive scaling. This parameter or a <b>PredefinedLoadMetricSpecification</b> is required when configuring
|
|
528
563
|
* predictive scaling, and cannot be used otherwise. </p>
|
|
529
564
|
*/
|
|
530
565
|
CustomizedLoadMetricSpecification?: CustomizedLoadMetricSpecification;
|
|
531
566
|
/**
|
|
567
|
+
* @public
|
|
532
568
|
* <p>The amount of time, in seconds, to buffer the run time of scheduled scaling actions when
|
|
533
569
|
* scaling out. For example, if the forecast says to add capacity at 10:00 AM, and the buffer
|
|
534
570
|
* time is 5 minutes, then the run time of the corresponding scheduled scaling action will be
|
|
@@ -542,6 +578,7 @@ export interface ScalingInstruction {
|
|
|
542
578
|
*/
|
|
543
579
|
ScheduledActionBufferTime?: number;
|
|
544
580
|
/**
|
|
581
|
+
* @public
|
|
545
582
|
* <p>Defines the behavior that should be applied if the forecast capacity approaches or
|
|
546
583
|
* exceeds the maximum capacity specified for the resource. The default value is
|
|
547
584
|
* <code>SetForecastCapacityToMaxCapacity</code>.</p>
|
|
@@ -571,6 +608,7 @@ export interface ScalingInstruction {
|
|
|
571
608
|
*/
|
|
572
609
|
PredictiveScalingMaxCapacityBehavior?: PredictiveScalingMaxCapacityBehavior | string;
|
|
573
610
|
/**
|
|
611
|
+
* @public
|
|
574
612
|
* <p>The size of the capacity buffer to use when the forecast capacity is close to or exceeds
|
|
575
613
|
* the maximum capacity. The value is specified as a percentage relative to the forecast
|
|
576
614
|
* capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if
|
|
@@ -582,12 +620,14 @@ export interface ScalingInstruction {
|
|
|
582
620
|
*/
|
|
583
621
|
PredictiveScalingMaxCapacityBuffer?: number;
|
|
584
622
|
/**
|
|
623
|
+
* @public
|
|
585
624
|
* <p>The predictive scaling mode. The default value is <code>ForecastAndScale</code>.
|
|
586
625
|
* Otherwise, AWS Auto Scaling forecasts capacity but does not create any scheduled scaling actions
|
|
587
626
|
* based on the capacity forecast. </p>
|
|
588
627
|
*/
|
|
589
628
|
PredictiveScalingMode?: PredictiveScalingMode | string;
|
|
590
629
|
/**
|
|
630
|
+
* @public
|
|
591
631
|
* <p>Controls whether a resource's externally created scaling policies are kept or replaced. </p>
|
|
592
632
|
* <p>The default value is <code>KeepExternalPolicies</code>. If the parameter is set to
|
|
593
633
|
* <code>ReplaceExternalPolicies</code>, any scaling policies that are external to AWS Auto Scaling
|
|
@@ -599,6 +639,7 @@ export interface ScalingInstruction {
|
|
|
599
639
|
*/
|
|
600
640
|
ScalingPolicyUpdateBehavior?: ScalingPolicyUpdateBehavior | string;
|
|
601
641
|
/**
|
|
642
|
+
* @public
|
|
602
643
|
* <p>Controls whether dynamic scaling by AWS Auto Scaling is disabled. When dynamic scaling is
|
|
603
644
|
* enabled, AWS Auto Scaling creates target tracking scaling policies based on the specified target
|
|
604
645
|
* tracking configurations. </p>
|
|
@@ -611,17 +652,20 @@ export interface ScalingInstruction {
|
|
|
611
652
|
*/
|
|
612
653
|
export interface CreateScalingPlanRequest {
|
|
613
654
|
/**
|
|
655
|
+
* @public
|
|
614
656
|
* <p>The name of the scaling plan. Names cannot contain vertical bars, colons, or forward
|
|
615
657
|
* slashes.</p>
|
|
616
658
|
*/
|
|
617
659
|
ScalingPlanName: string | undefined;
|
|
618
660
|
/**
|
|
661
|
+
* @public
|
|
619
662
|
* <p>A CloudFormation stack or set of tags. You can create one scaling plan per application
|
|
620
663
|
* source.</p>
|
|
621
664
|
* <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>
|
|
622
665
|
*/
|
|
623
666
|
ApplicationSource: ApplicationSource | undefined;
|
|
624
667
|
/**
|
|
668
|
+
* @public
|
|
625
669
|
* <p>The scaling instructions.</p>
|
|
626
670
|
* <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>
|
|
627
671
|
*/
|
|
@@ -632,6 +676,7 @@ export interface CreateScalingPlanRequest {
|
|
|
632
676
|
*/
|
|
633
677
|
export interface CreateScalingPlanResponse {
|
|
634
678
|
/**
|
|
679
|
+
* @public
|
|
635
680
|
* <p>The version number of the scaling plan. This value is always <code>1</code>. Currently,
|
|
636
681
|
* you cannot have multiple scaling plan versions.</p>
|
|
637
682
|
*/
|
|
@@ -682,10 +727,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
682
727
|
*/
|
|
683
728
|
export interface DeleteScalingPlanRequest {
|
|
684
729
|
/**
|
|
730
|
+
* @public
|
|
685
731
|
* <p>The name of the scaling plan.</p>
|
|
686
732
|
*/
|
|
687
733
|
ScalingPlanName: string | undefined;
|
|
688
734
|
/**
|
|
735
|
+
* @public
|
|
689
736
|
* <p>The version number of the scaling plan. Currently, the only valid value is
|
|
690
737
|
* <code>1</code>.</p>
|
|
691
738
|
*/
|
|
@@ -714,20 +761,24 @@ export declare class ObjectNotFoundException extends __BaseException {
|
|
|
714
761
|
*/
|
|
715
762
|
export interface DescribeScalingPlanResourcesRequest {
|
|
716
763
|
/**
|
|
764
|
+
* @public
|
|
717
765
|
* <p>The name of the scaling plan.</p>
|
|
718
766
|
*/
|
|
719
767
|
ScalingPlanName: string | undefined;
|
|
720
768
|
/**
|
|
769
|
+
* @public
|
|
721
770
|
* <p>The version number of the scaling plan. Currently, the only valid value is
|
|
722
771
|
* <code>1</code>.</p>
|
|
723
772
|
*/
|
|
724
773
|
ScalingPlanVersion: number | undefined;
|
|
725
774
|
/**
|
|
775
|
+
* @public
|
|
726
776
|
* <p>The maximum number of scalable resources to return. The value must be between
|
|
727
777
|
* 1 and 50. The default value is 50.</p>
|
|
728
778
|
*/
|
|
729
779
|
MaxResults?: number;
|
|
730
780
|
/**
|
|
781
|
+
* @public
|
|
731
782
|
* <p>The token for the next set of results.</p>
|
|
732
783
|
*/
|
|
733
784
|
NextToken?: string;
|
|
@@ -749,14 +800,17 @@ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
|
749
800
|
*/
|
|
750
801
|
export interface ScalingPolicy {
|
|
751
802
|
/**
|
|
803
|
+
* @public
|
|
752
804
|
* <p>The name of the scaling policy.</p>
|
|
753
805
|
*/
|
|
754
806
|
PolicyName: string | undefined;
|
|
755
807
|
/**
|
|
808
|
+
* @public
|
|
756
809
|
* <p>The type of scaling policy.</p>
|
|
757
810
|
*/
|
|
758
811
|
PolicyType: PolicyType | string | undefined;
|
|
759
812
|
/**
|
|
813
|
+
* @public
|
|
760
814
|
* <p>The target tracking scaling policy. Includes support for predefined or customized
|
|
761
815
|
* metrics.</p>
|
|
762
816
|
*/
|
|
@@ -781,18 +835,22 @@ export type ScalingStatusCode = (typeof ScalingStatusCode)[keyof typeof ScalingS
|
|
|
781
835
|
*/
|
|
782
836
|
export interface ScalingPlanResource {
|
|
783
837
|
/**
|
|
838
|
+
* @public
|
|
784
839
|
* <p>The name of the scaling plan.</p>
|
|
785
840
|
*/
|
|
786
841
|
ScalingPlanName: string | undefined;
|
|
787
842
|
/**
|
|
843
|
+
* @public
|
|
788
844
|
* <p>The version number of the scaling plan.</p>
|
|
789
845
|
*/
|
|
790
846
|
ScalingPlanVersion: number | undefined;
|
|
791
847
|
/**
|
|
848
|
+
* @public
|
|
792
849
|
* <p>The namespace of the AWS service.</p>
|
|
793
850
|
*/
|
|
794
851
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
795
852
|
/**
|
|
853
|
+
* @public
|
|
796
854
|
* <p>The ID of the resource. This string consists of the resource type and unique
|
|
797
855
|
* identifier.</p>
|
|
798
856
|
* <ul>
|
|
@@ -824,6 +882,7 @@ export interface ScalingPlanResource {
|
|
|
824
882
|
*/
|
|
825
883
|
ResourceId: string | undefined;
|
|
826
884
|
/**
|
|
885
|
+
* @public
|
|
827
886
|
* <p>The scalable dimension for the resource.</p>
|
|
828
887
|
* <ul>
|
|
829
888
|
* <li>
|
|
@@ -862,10 +921,12 @@ export interface ScalingPlanResource {
|
|
|
862
921
|
*/
|
|
863
922
|
ScalableDimension: ScalableDimension | string | undefined;
|
|
864
923
|
/**
|
|
924
|
+
* @public
|
|
865
925
|
* <p>The scaling policies.</p>
|
|
866
926
|
*/
|
|
867
927
|
ScalingPolicies?: ScalingPolicy[];
|
|
868
928
|
/**
|
|
929
|
+
* @public
|
|
869
930
|
* <p>The scaling status of the resource.</p>
|
|
870
931
|
* <ul>
|
|
871
932
|
* <li>
|
|
@@ -888,6 +949,7 @@ export interface ScalingPlanResource {
|
|
|
888
949
|
*/
|
|
889
950
|
ScalingStatusCode: ScalingStatusCode | string | undefined;
|
|
890
951
|
/**
|
|
952
|
+
* @public
|
|
891
953
|
* <p>A simple message about the current scaling status of the resource.</p>
|
|
892
954
|
*/
|
|
893
955
|
ScalingStatusMessage?: string;
|
|
@@ -897,10 +959,12 @@ export interface ScalingPlanResource {
|
|
|
897
959
|
*/
|
|
898
960
|
export interface DescribeScalingPlanResourcesResponse {
|
|
899
961
|
/**
|
|
962
|
+
* @public
|
|
900
963
|
* <p>Information about the scalable resources.</p>
|
|
901
964
|
*/
|
|
902
965
|
ScalingPlanResources?: ScalingPlanResource[];
|
|
903
966
|
/**
|
|
967
|
+
* @public
|
|
904
968
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
905
969
|
* there are no more results to return.</p>
|
|
906
970
|
*/
|
|
@@ -924,11 +988,13 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
924
988
|
*/
|
|
925
989
|
export interface DescribeScalingPlansRequest {
|
|
926
990
|
/**
|
|
991
|
+
* @public
|
|
927
992
|
* <p>The names of the scaling plans (up to 10). If you specify application sources, you
|
|
928
993
|
* cannot specify scaling plan names.</p>
|
|
929
994
|
*/
|
|
930
995
|
ScalingPlanNames?: string[];
|
|
931
996
|
/**
|
|
997
|
+
* @public
|
|
932
998
|
* <p>The version number of the scaling plan. Currently, the only valid value is
|
|
933
999
|
* <code>1</code>.</p>
|
|
934
1000
|
* <note>
|
|
@@ -938,16 +1004,19 @@ export interface DescribeScalingPlansRequest {
|
|
|
938
1004
|
*/
|
|
939
1005
|
ScalingPlanVersion?: number;
|
|
940
1006
|
/**
|
|
1007
|
+
* @public
|
|
941
1008
|
* <p>The sources for the applications (up to 10). If you specify scaling plan names, you
|
|
942
1009
|
* cannot specify application sources.</p>
|
|
943
1010
|
*/
|
|
944
1011
|
ApplicationSources?: ApplicationSource[];
|
|
945
1012
|
/**
|
|
1013
|
+
* @public
|
|
946
1014
|
* <p>The maximum number of scalable resources to return. This value can be between
|
|
947
1015
|
* 1 and 50. The default value is 50.</p>
|
|
948
1016
|
*/
|
|
949
1017
|
MaxResults?: number;
|
|
950
1018
|
/**
|
|
1019
|
+
* @public
|
|
951
1020
|
* <p>The token for the next set of results.</p>
|
|
952
1021
|
*/
|
|
953
1022
|
NextToken?: string;
|
|
@@ -976,23 +1045,28 @@ export type ScalingPlanStatusCode = (typeof ScalingPlanStatusCode)[keyof typeof
|
|
|
976
1045
|
*/
|
|
977
1046
|
export interface ScalingPlan {
|
|
978
1047
|
/**
|
|
1048
|
+
* @public
|
|
979
1049
|
* <p>The name of the scaling plan.</p>
|
|
980
1050
|
*/
|
|
981
1051
|
ScalingPlanName: string | undefined;
|
|
982
1052
|
/**
|
|
1053
|
+
* @public
|
|
983
1054
|
* <p>The version number of the scaling plan.</p>
|
|
984
1055
|
*/
|
|
985
1056
|
ScalingPlanVersion: number | undefined;
|
|
986
1057
|
/**
|
|
1058
|
+
* @public
|
|
987
1059
|
* <p>A CloudFormation stack or a set of tags. You can create one scaling plan per application
|
|
988
1060
|
* source.</p>
|
|
989
1061
|
*/
|
|
990
1062
|
ApplicationSource: ApplicationSource | undefined;
|
|
991
1063
|
/**
|
|
1064
|
+
* @public
|
|
992
1065
|
* <p>The scaling instructions.</p>
|
|
993
1066
|
*/
|
|
994
1067
|
ScalingInstructions: ScalingInstruction[] | undefined;
|
|
995
1068
|
/**
|
|
1069
|
+
* @public
|
|
996
1070
|
* <p>The status of the scaling plan.</p>
|
|
997
1071
|
* <ul>
|
|
998
1072
|
* <li>
|
|
@@ -1032,14 +1106,17 @@ export interface ScalingPlan {
|
|
|
1032
1106
|
*/
|
|
1033
1107
|
StatusCode: ScalingPlanStatusCode | string | undefined;
|
|
1034
1108
|
/**
|
|
1109
|
+
* @public
|
|
1035
1110
|
* <p>A simple message about the current status of the scaling plan.</p>
|
|
1036
1111
|
*/
|
|
1037
1112
|
StatusMessage?: string;
|
|
1038
1113
|
/**
|
|
1114
|
+
* @public
|
|
1039
1115
|
* <p>The Unix time stamp when the scaling plan entered the current status.</p>
|
|
1040
1116
|
*/
|
|
1041
1117
|
StatusStartTime?: Date;
|
|
1042
1118
|
/**
|
|
1119
|
+
* @public
|
|
1043
1120
|
* <p>The Unix time stamp when the scaling plan was created.</p>
|
|
1044
1121
|
*/
|
|
1045
1122
|
CreationTime?: Date;
|
|
@@ -1049,10 +1126,12 @@ export interface ScalingPlan {
|
|
|
1049
1126
|
*/
|
|
1050
1127
|
export interface DescribeScalingPlansResponse {
|
|
1051
1128
|
/**
|
|
1129
|
+
* @public
|
|
1052
1130
|
* <p>Information about the scaling plans.</p>
|
|
1053
1131
|
*/
|
|
1054
1132
|
ScalingPlans?: ScalingPlan[];
|
|
1055
1133
|
/**
|
|
1134
|
+
* @public
|
|
1056
1135
|
* <p>The token required to get the next set of results. This value is <code>null</code> if
|
|
1057
1136
|
* there are no more results to return.</p>
|
|
1058
1137
|
*/
|
|
@@ -1077,31 +1156,37 @@ export type ForecastDataType = (typeof ForecastDataType)[keyof typeof ForecastDa
|
|
|
1077
1156
|
*/
|
|
1078
1157
|
export interface GetScalingPlanResourceForecastDataRequest {
|
|
1079
1158
|
/**
|
|
1159
|
+
* @public
|
|
1080
1160
|
* <p>The name of the scaling plan.</p>
|
|
1081
1161
|
*/
|
|
1082
1162
|
ScalingPlanName: string | undefined;
|
|
1083
1163
|
/**
|
|
1164
|
+
* @public
|
|
1084
1165
|
* <p>The version number of the scaling plan. Currently, the only valid value is
|
|
1085
1166
|
* <code>1</code>.</p>
|
|
1086
1167
|
*/
|
|
1087
1168
|
ScalingPlanVersion: number | undefined;
|
|
1088
1169
|
/**
|
|
1170
|
+
* @public
|
|
1089
1171
|
* <p>The namespace of the AWS service. The only valid value is <code>autoscaling</code>.
|
|
1090
1172
|
* </p>
|
|
1091
1173
|
*/
|
|
1092
1174
|
ServiceNamespace: ServiceNamespace | string | undefined;
|
|
1093
1175
|
/**
|
|
1176
|
+
* @public
|
|
1094
1177
|
* <p>The ID of the resource. This string consists of a prefix (<code>autoScalingGroup</code>)
|
|
1095
1178
|
* followed by the name of a specified Auto Scaling group (<code>my-asg</code>). Example:
|
|
1096
1179
|
* <code>autoScalingGroup/my-asg</code>. </p>
|
|
1097
1180
|
*/
|
|
1098
1181
|
ResourceId: string | undefined;
|
|
1099
1182
|
/**
|
|
1183
|
+
* @public
|
|
1100
1184
|
* <p>The scalable dimension for the resource. The only valid value is
|
|
1101
1185
|
* <code>autoscaling:autoScalingGroup:DesiredCapacity</code>. </p>
|
|
1102
1186
|
*/
|
|
1103
1187
|
ScalableDimension: ScalableDimension | string | undefined;
|
|
1104
1188
|
/**
|
|
1189
|
+
* @public
|
|
1105
1190
|
* <p>The type of forecast data to get.</p>
|
|
1106
1191
|
* <ul>
|
|
1107
1192
|
* <li>
|
|
@@ -1128,11 +1213,13 @@ export interface GetScalingPlanResourceForecastDataRequest {
|
|
|
1128
1213
|
*/
|
|
1129
1214
|
ForecastDataType: ForecastDataType | string | undefined;
|
|
1130
1215
|
/**
|
|
1216
|
+
* @public
|
|
1131
1217
|
* <p>The inclusive start time of the time range for the forecast data to get. The date and
|
|
1132
1218
|
* time can be at most 56 days before the current date and time. </p>
|
|
1133
1219
|
*/
|
|
1134
1220
|
StartTime: Date | undefined;
|
|
1135
1221
|
/**
|
|
1222
|
+
* @public
|
|
1136
1223
|
* <p>The exclusive end time of the time range for the forecast data to get. The maximum time
|
|
1137
1224
|
* duration between the start and end time is seven days. </p>
|
|
1138
1225
|
* <p>Although this parameter can accept a date and time that is more than two days in the
|
|
@@ -1147,10 +1234,12 @@ export interface GetScalingPlanResourceForecastDataRequest {
|
|
|
1147
1234
|
*/
|
|
1148
1235
|
export interface Datapoint {
|
|
1149
1236
|
/**
|
|
1237
|
+
* @public
|
|
1150
1238
|
* <p>The time stamp for the data point in UTC format.</p>
|
|
1151
1239
|
*/
|
|
1152
1240
|
Timestamp?: Date;
|
|
1153
1241
|
/**
|
|
1242
|
+
* @public
|
|
1154
1243
|
* <p>The value of the data point.</p>
|
|
1155
1244
|
*/
|
|
1156
1245
|
Value?: number;
|
|
@@ -1160,6 +1249,7 @@ export interface Datapoint {
|
|
|
1160
1249
|
*/
|
|
1161
1250
|
export interface GetScalingPlanResourceForecastDataResponse {
|
|
1162
1251
|
/**
|
|
1252
|
+
* @public
|
|
1163
1253
|
* <p>The data points to return.</p>
|
|
1164
1254
|
*/
|
|
1165
1255
|
Datapoints: Datapoint[] | undefined;
|
|
@@ -1169,20 +1259,24 @@ export interface GetScalingPlanResourceForecastDataResponse {
|
|
|
1169
1259
|
*/
|
|
1170
1260
|
export interface UpdateScalingPlanRequest {
|
|
1171
1261
|
/**
|
|
1262
|
+
* @public
|
|
1172
1263
|
* <p>The name of the scaling plan.</p>
|
|
1173
1264
|
*/
|
|
1174
1265
|
ScalingPlanName: string | undefined;
|
|
1175
1266
|
/**
|
|
1267
|
+
* @public
|
|
1176
1268
|
* <p>The version number of the scaling plan. The only valid value is <code>1</code>.
|
|
1177
1269
|
* Currently, you cannot have multiple scaling plan versions.</p>
|
|
1178
1270
|
*/
|
|
1179
1271
|
ScalingPlanVersion: number | undefined;
|
|
1180
1272
|
/**
|
|
1273
|
+
* @public
|
|
1181
1274
|
* <p>A CloudFormation stack or set of tags.</p>
|
|
1182
1275
|
* <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>
|
|
1183
1276
|
*/
|
|
1184
1277
|
ApplicationSource?: ApplicationSource;
|
|
1185
1278
|
/**
|
|
1279
|
+
* @public
|
|
1186
1280
|
* <p>The scaling instructions.</p>
|
|
1187
1281
|
* <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>
|
|
1188
1282
|
*/
|
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.382.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,15 +21,15 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|