@aws-sdk/client-auto-scaling 3.971.0 → 3.972.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -1189,8 +1189,8 @@ var DescribePoliciesType$ = [3, n0, _DPTe,
|
|
|
1189
1189
|
];
|
|
1190
1190
|
var DescribeScalingActivitiesType$ = [3, n0, _DSATe,
|
|
1191
1191
|
0,
|
|
1192
|
-
[_AIc, _ASGN, _IDG, _MR, _NT],
|
|
1193
|
-
[64 | 0, 0, 2, 1, 0]
|
|
1192
|
+
[_AIc, _ASGN, _IDG, _MR, _NT, _F],
|
|
1193
|
+
[64 | 0, 0, 2, 1, 0, () => Filters]
|
|
1194
1194
|
];
|
|
1195
1195
|
var DescribeScheduledActionsType$ = [3, n0, _DSATes,
|
|
1196
1196
|
0,
|
|
@@ -937,8 +937,8 @@ export var DescribePoliciesType$ = [3, n0, _DPTe,
|
|
|
937
937
|
];
|
|
938
938
|
export var DescribeScalingActivitiesType$ = [3, n0, _DSATe,
|
|
939
939
|
0,
|
|
940
|
-
[_AIc, _ASGN, _IDG, _MR, _NT],
|
|
941
|
-
[64 | 0, 0, 2, 1, 0]
|
|
940
|
+
[_AIc, _ASGN, _IDG, _MR, _NT, _F],
|
|
941
|
+
[64 | 0, 0, 2, 1, 0, () => Filters]
|
|
942
942
|
];
|
|
943
943
|
export var DescribeScheduledActionsType$ = [3, n0, _DSATes,
|
|
944
944
|
0,
|
|
@@ -52,6 +52,14 @@ declare const DescribeScalingActivitiesCommand_base: {
|
|
|
52
52
|
* IncludeDeletedGroups: true || false,
|
|
53
53
|
* MaxRecords: Number("int"),
|
|
54
54
|
* NextToken: "STRING_VALUE",
|
|
55
|
+
* Filters: [ // Filters
|
|
56
|
+
* { // Filter
|
|
57
|
+
* Name: "STRING_VALUE",
|
|
58
|
+
* Values: [ // Values
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
55
63
|
* };
|
|
56
64
|
* const command = new DescribeScalingActivitiesCommand(input);
|
|
57
65
|
* const response = await client.send(command);
|
|
@@ -642,7 +642,7 @@ export interface RetentionTriggers {
|
|
|
642
642
|
* Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).
|
|
643
643
|
* </p>
|
|
644
644
|
* <p>
|
|
645
|
-
* Set to <code>
|
|
645
|
+
* Set to <code>retain</code> to move instances to a retained state. Set to <code>terminate</code> for default termination behavior.
|
|
646
646
|
* </p>
|
|
647
647
|
* <p>
|
|
648
648
|
* Retained instances don't count toward desired capacity and remain until you call <code>TerminateInstanceInAutoScalingGroup</code>.
|
|
@@ -653,7 +653,14 @@ export interface RetentionTriggers {
|
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
655
|
* <p>
|
|
656
|
-
*
|
|
656
|
+
* The instance lifecycle policy for the Auto Scaling group. This policy controls instance behavior when an instance
|
|
657
|
+
* transitions through its lifecycle states. Configure retention triggers to specify when instances should
|
|
658
|
+
* move to a <code>Retained</code> state instead of automatic termination.
|
|
659
|
+
* </p>
|
|
660
|
+
* <p>For more information, see
|
|
661
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html">
|
|
662
|
+
* Control instance retention with instance lifecycle policies</a>
|
|
663
|
+
* in the <i>Amazon EC2 Auto Scaling User Guide</i>.
|
|
657
664
|
* </p>
|
|
658
665
|
* @public
|
|
659
666
|
*/
|
|
@@ -661,8 +668,8 @@ export interface InstanceLifecyclePolicy {
|
|
|
661
668
|
/**
|
|
662
669
|
* <p>
|
|
663
670
|
* Specifies the conditions that trigger instance retention behavior. These triggers determine when instances
|
|
664
|
-
* should move to a Retained state instead of
|
|
665
|
-
* instance management when
|
|
671
|
+
* should move to a <code>Retained</code> state instead of automatic termination. This allows you to maintain
|
|
672
|
+
* control over instance management when lifecycles transition and operations fail.
|
|
666
673
|
* </p>
|
|
667
674
|
* @public
|
|
668
675
|
*/
|
|
@@ -2011,10 +2018,14 @@ export interface CreateAutoScalingGroupType {
|
|
|
2011
2018
|
CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
|
|
2012
2019
|
/**
|
|
2013
2020
|
* <p>
|
|
2014
|
-
* The instance lifecycle policy for the Auto Scaling group. This policy controls instance
|
|
2015
|
-
*
|
|
2016
|
-
*
|
|
2017
|
-
*
|
|
2021
|
+
* The instance lifecycle policy for the Auto Scaling group. This policy controls instance behavior when an instance
|
|
2022
|
+
* transitions through its lifecycle states. Configure retention triggers to specify when instances should
|
|
2023
|
+
* move to a <code>Retained</code> state instead of automatic termination.
|
|
2024
|
+
* </p>
|
|
2025
|
+
* <p>For more information, see
|
|
2026
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html">
|
|
2027
|
+
* Control instance retention with instance lifecycle policies</a>
|
|
2028
|
+
* in the <i>Amazon EC2 Auto Scaling User Guide</i>.
|
|
2018
2029
|
* </p>
|
|
2019
2030
|
* <note>
|
|
2020
2031
|
* <p>Instances in a Retained state will continue to incur standard EC2 charges until terminated.</p>
|
|
@@ -2588,11 +2599,13 @@ export interface DescribeAdjustmentTypesAnswer {
|
|
|
2588
2599
|
export interface Filter {
|
|
2589
2600
|
/**
|
|
2590
2601
|
* <p>The name of the filter.</p>
|
|
2591
|
-
* <p>The valid values for <code>Name</code> depend on which API operation you're using with
|
|
2592
|
-
* the filter (<a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a> or
|
|
2593
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTags.html">DescribeTags</a>).</p>
|
|
2594
2602
|
* <p>
|
|
2595
|
-
* <
|
|
2603
|
+
* The valid values for <code>Name</code> depend on which API operation you're using with the filter.
|
|
2604
|
+
* </p>
|
|
2605
|
+
* <p>
|
|
2606
|
+
* <b>
|
|
2607
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a>
|
|
2608
|
+
* </b>
|
|
2596
2609
|
* </p>
|
|
2597
2610
|
* <p>Valid values for <code>Name</code> include the following: </p>
|
|
2598
2611
|
* <ul>
|
|
@@ -2615,7 +2628,9 @@ export interface Filter {
|
|
|
2615
2628
|
* </li>
|
|
2616
2629
|
* </ul>
|
|
2617
2630
|
* <p>
|
|
2618
|
-
* <b>
|
|
2631
|
+
* <b>
|
|
2632
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTags.html">DescribeTags</a>
|
|
2633
|
+
* </b>
|
|
2619
2634
|
* </p>
|
|
2620
2635
|
* <p>Valid values for <code>Name</code> include the following: </p>
|
|
2621
2636
|
* <ul>
|
|
@@ -2642,6 +2657,36 @@ export interface Filter {
|
|
|
2642
2657
|
* information about the tags associated with the specified Boolean value. </p>
|
|
2643
2658
|
* </li>
|
|
2644
2659
|
* </ul>
|
|
2660
|
+
* <p>
|
|
2661
|
+
* <b>
|
|
2662
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a>
|
|
2663
|
+
* </b>
|
|
2664
|
+
* </p>
|
|
2665
|
+
* <p>Valid values for <code>Name</code> include the following: </p>
|
|
2666
|
+
* <ul>
|
|
2667
|
+
* <li>
|
|
2668
|
+
* <p>
|
|
2669
|
+
* <code>StartTimeLowerBound</code> - The earliest scaling activities to return based on the activity start time.
|
|
2670
|
+
* Scaling activities with a start time earlier than this value are not included in the results.
|
|
2671
|
+
* Only activities started within the last six weeks can be returned regardless of the value specified.
|
|
2672
|
+
* </p>
|
|
2673
|
+
* </li>
|
|
2674
|
+
* <li>
|
|
2675
|
+
* <p>
|
|
2676
|
+
* <code>StartTimeUpperBound</code> - The latest scaling activities to return based on the activity start time.
|
|
2677
|
+
* Scaling activities with a start time later than this value are not included in the results.
|
|
2678
|
+
* Only activities started within the last six weeks can be returned regardless of the value specified.
|
|
2679
|
+
* </p>
|
|
2680
|
+
* </li>
|
|
2681
|
+
* <li>
|
|
2682
|
+
* <p>
|
|
2683
|
+
* <code>Status</code> - The <code>StatusCode</code> value of the scaling activity. This filter can only be
|
|
2684
|
+
* used in combination with the <code>AutoScalingGroupName</code> parameter. For valid <code>StatusCode</code>
|
|
2685
|
+
* values, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html">Activity</a>
|
|
2686
|
+
* in the <i>Amazon EC2 Auto Scaling API Reference</i>.
|
|
2687
|
+
* </p>
|
|
2688
|
+
* </li>
|
|
2689
|
+
* </ul>
|
|
2645
2690
|
* @public
|
|
2646
2691
|
*/
|
|
2647
2692
|
Name?: string | undefined;
|
|
@@ -2649,9 +2694,17 @@ export interface Filter {
|
|
|
2649
2694
|
* <p>One or more filter values. Filter values are case-sensitive. </p>
|
|
2650
2695
|
* <p>If you specify multiple values for a filter, the values are automatically logically
|
|
2651
2696
|
* joined with an <code>OR</code>, and the request returns all results that match any of
|
|
2652
|
-
* the specified values
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2697
|
+
* the specified values.</p>
|
|
2698
|
+
* <p>
|
|
2699
|
+
* <b>DescribeAutoScalingGroups example:</b> Specify "tag:environment"
|
|
2700
|
+
* for the filter name and "production,development" for the filter values to find Auto Scaling groups with
|
|
2701
|
+
* the tag "environment=production" or "environment=development".
|
|
2702
|
+
* </p>
|
|
2703
|
+
* <p>
|
|
2704
|
+
* <b>DescribeScalingActivities example:</b> Specify "Status" for the
|
|
2705
|
+
* filter name and "Successful,Failed" for the filter values to find scaling activities with a
|
|
2706
|
+
* status of either "Successful" or "Failed".
|
|
2707
|
+
* </p>
|
|
2655
2708
|
* @public
|
|
2656
2709
|
*/
|
|
2657
2710
|
Values?: string[] | undefined;
|
|
@@ -3013,12 +3066,12 @@ export interface AutoScalingGroup {
|
|
|
3013
3066
|
*/
|
|
3014
3067
|
AutoScalingGroupARN?: string | undefined;
|
|
3015
3068
|
/**
|
|
3016
|
-
* <p>The name of the associated launch configuration.</p>
|
|
3069
|
+
* <p>The name of the associated launch configuration for the Auto Scaling group.</p>
|
|
3017
3070
|
* @public
|
|
3018
3071
|
*/
|
|
3019
3072
|
LaunchConfigurationName?: string | undefined;
|
|
3020
3073
|
/**
|
|
3021
|
-
* <p>The launch template for the group.</p>
|
|
3074
|
+
* <p>The launch template for the Auto Scaling group.</p>
|
|
3022
3075
|
* @public
|
|
3023
3076
|
*/
|
|
3024
3077
|
LaunchTemplate?: LaunchTemplateSpecification | undefined;
|
|
@@ -3028,17 +3081,17 @@ export interface AutoScalingGroup {
|
|
|
3028
3081
|
*/
|
|
3029
3082
|
MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
|
|
3030
3083
|
/**
|
|
3031
|
-
* <p>The minimum size of the group.</p>
|
|
3084
|
+
* <p>The minimum size of the Auto Scaling group.</p>
|
|
3032
3085
|
* @public
|
|
3033
3086
|
*/
|
|
3034
3087
|
MinSize: number | undefined;
|
|
3035
3088
|
/**
|
|
3036
|
-
* <p>The maximum size of the group.</p>
|
|
3089
|
+
* <p>The maximum size of the Auto Scaling group.</p>
|
|
3037
3090
|
* @public
|
|
3038
3091
|
*/
|
|
3039
3092
|
MaxSize: number | undefined;
|
|
3040
3093
|
/**
|
|
3041
|
-
* <p>The desired size of the group.</p>
|
|
3094
|
+
* <p>The desired size of the Auto Scaling group.</p>
|
|
3042
3095
|
* @public
|
|
3043
3096
|
*/
|
|
3044
3097
|
DesiredCapacity: number | undefined;
|
|
@@ -3048,12 +3101,12 @@ export interface AutoScalingGroup {
|
|
|
3048
3101
|
*/
|
|
3049
3102
|
PredictedCapacity?: number | undefined;
|
|
3050
3103
|
/**
|
|
3051
|
-
* <p>The duration of the default cooldown period, in seconds.</p>
|
|
3104
|
+
* <p>The duration of the default cooldown period, in seconds, for the Auto Scaling group.</p>
|
|
3052
3105
|
* @public
|
|
3053
3106
|
*/
|
|
3054
3107
|
DefaultCooldown: number | undefined;
|
|
3055
3108
|
/**
|
|
3056
|
-
* <p>One or more Availability Zones for the group.</p>
|
|
3109
|
+
* <p>One or more Availability Zones for the Auto Scaling group.</p>
|
|
3057
3110
|
* @public
|
|
3058
3111
|
*/
|
|
3059
3112
|
AvailabilityZones: string[] | undefined;
|
|
@@ -3068,77 +3121,79 @@ export interface AutoScalingGroup {
|
|
|
3068
3121
|
*/
|
|
3069
3122
|
TargetGroupARNs?: string[] | undefined;
|
|
3070
3123
|
/**
|
|
3071
|
-
* <p>
|
|
3124
|
+
* <p>One or more comma-separated health check types for the Auto Scaling group.</p>
|
|
3072
3125
|
* @public
|
|
3073
3126
|
*/
|
|
3074
3127
|
HealthCheckType: string | undefined;
|
|
3075
3128
|
/**
|
|
3076
|
-
* <p>The duration of the health check grace period, in seconds.</p>
|
|
3129
|
+
* <p>The duration of the health check grace period, in seconds, for the Auto Scaling group.</p>
|
|
3077
3130
|
* @public
|
|
3078
3131
|
*/
|
|
3079
3132
|
HealthCheckGracePeriod?: number | undefined;
|
|
3080
3133
|
/**
|
|
3081
|
-
* <p>The EC2 instances associated with the group.</p>
|
|
3134
|
+
* <p>The EC2 instances associated with the Auto Scaling group.</p>
|
|
3082
3135
|
* @public
|
|
3083
3136
|
*/
|
|
3084
3137
|
Instances?: Instance[] | undefined;
|
|
3085
3138
|
/**
|
|
3086
|
-
* <p>The date and time the group was created.</p>
|
|
3139
|
+
* <p>The date and time the Auto Scaling group was created.</p>
|
|
3087
3140
|
* @public
|
|
3088
3141
|
*/
|
|
3089
3142
|
CreatedTime: Date | undefined;
|
|
3090
3143
|
/**
|
|
3091
|
-
* <p>The suspended processes associated with the group.</p>
|
|
3144
|
+
* <p>The suspended processes associated with the Auto Scaling group.</p>
|
|
3092
3145
|
* @public
|
|
3093
3146
|
*/
|
|
3094
3147
|
SuspendedProcesses?: SuspendedProcess[] | undefined;
|
|
3095
3148
|
/**
|
|
3096
|
-
* <p>The name of the placement group into which to launch
|
|
3149
|
+
* <p>The name of the placement group into which to launch EC2 instances for the Auto Scaling group.</p>
|
|
3097
3150
|
* @public
|
|
3098
3151
|
*/
|
|
3099
3152
|
PlacementGroup?: string | undefined;
|
|
3100
3153
|
/**
|
|
3101
|
-
* <p>One or more subnet IDs
|
|
3154
|
+
* <p>One or more comma-separated subnet IDs for the Auto Scaling group.</p>
|
|
3102
3155
|
* @public
|
|
3103
3156
|
*/
|
|
3104
3157
|
VPCZoneIdentifier?: string | undefined;
|
|
3105
3158
|
/**
|
|
3106
|
-
* <p>The metrics enabled for the group.</p>
|
|
3159
|
+
* <p>The metrics enabled for the Auto Scaling group.</p>
|
|
3107
3160
|
* @public
|
|
3108
3161
|
*/
|
|
3109
3162
|
EnabledMetrics?: EnabledMetric[] | undefined;
|
|
3110
3163
|
/**
|
|
3111
|
-
* <p>The current state of the group when the
|
|
3164
|
+
* <p>The current state of the Auto Scaling group when the
|
|
3165
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DeleteAutoScalingGroup.html">DeleteAutoScalingGroup</a>
|
|
3112
3166
|
* operation is in progress.</p>
|
|
3113
3167
|
* @public
|
|
3114
3168
|
*/
|
|
3115
3169
|
Status?: string | undefined;
|
|
3116
3170
|
/**
|
|
3117
|
-
* <p>The tags for the group.</p>
|
|
3171
|
+
* <p>The tags for the Auto Scaling group.</p>
|
|
3118
3172
|
* @public
|
|
3119
3173
|
*/
|
|
3120
3174
|
Tags?: TagDescription[] | undefined;
|
|
3121
3175
|
/**
|
|
3122
|
-
* <p>The termination policies for the group.</p>
|
|
3176
|
+
* <p>The termination policies for the Auto Scaling group.</p>
|
|
3123
3177
|
* @public
|
|
3124
3178
|
*/
|
|
3125
3179
|
TerminationPolicies?: string[] | undefined;
|
|
3126
3180
|
/**
|
|
3127
|
-
* <p>Indicates whether newly launched instances are protected from termination
|
|
3128
|
-
*
|
|
3181
|
+
* <p>Indicates whether newly launched EC2 instances are protected from termination when scaling in for the Auto Scaling group.</p>
|
|
3182
|
+
* <p>
|
|
3183
|
+
* For more information about preventing instances from terminating on scale in, see
|
|
3184
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use instance scale-in protection</a>
|
|
3185
|
+
* in the <i>Amazon EC2 Auto Scaling User Guide</i>.
|
|
3129
3186
|
* </p>
|
|
3130
3187
|
* @public
|
|
3131
3188
|
*/
|
|
3132
3189
|
NewInstancesProtectedFromScaleIn?: boolean | undefined;
|
|
3133
3190
|
/**
|
|
3134
|
-
* <p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to
|
|
3135
|
-
* call other Amazon Web Services on your behalf.</p>
|
|
3191
|
+
* <p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.</p>
|
|
3136
3192
|
* @public
|
|
3137
3193
|
*/
|
|
3138
3194
|
ServiceLinkedRoleARN?: string | undefined;
|
|
3139
3195
|
/**
|
|
3140
|
-
* <p>The maximum amount of time, in seconds, that an instance can be in service.</p>
|
|
3141
|
-
* <p>Valid Range: Minimum value of 0.</p>
|
|
3196
|
+
* <p>The maximum amount of time, in seconds, that an EC2 instance can be in service for the Auto Scaling group.</p>
|
|
3142
3197
|
* @public
|
|
3143
3198
|
*/
|
|
3144
3199
|
MaxInstanceLifetime?: number | undefined;
|
|
@@ -3170,7 +3225,7 @@ export interface AutoScalingGroup {
|
|
|
3170
3225
|
*/
|
|
3171
3226
|
DesiredCapacityType?: string | undefined;
|
|
3172
3227
|
/**
|
|
3173
|
-
* <p>The duration of the default instance warmup, in seconds.</p>
|
|
3228
|
+
* <p>The duration of the default EC2 instance warmup time, in seconds, for the Auto Scaling group.</p>
|
|
3174
3229
|
* @public
|
|
3175
3230
|
*/
|
|
3176
3231
|
DefaultInstanceWarmup?: number | undefined;
|
|
@@ -3185,32 +3240,22 @@ export interface AutoScalingGroup {
|
|
|
3185
3240
|
*/
|
|
3186
3241
|
InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
|
|
3187
3242
|
/**
|
|
3188
|
-
* <p>
|
|
3189
|
-
* The instance capacity distribution across Availability Zones.
|
|
3190
|
-
* </p>
|
|
3243
|
+
* <p>The EC2 instance capacity distribution across Availability Zones for the Auto Scaling group.</p>
|
|
3191
3244
|
* @public
|
|
3192
3245
|
*/
|
|
3193
3246
|
AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
|
|
3194
3247
|
/**
|
|
3195
|
-
* <p>
|
|
3196
|
-
* The Availability Zone impairment policy.
|
|
3197
|
-
* </p>
|
|
3248
|
+
* <p>The Availability Zone impairment policy for the Auto Scaling group.</p>
|
|
3198
3249
|
* @public
|
|
3199
3250
|
*/
|
|
3200
3251
|
AvailabilityZoneImpairmentPolicy?: AvailabilityZoneImpairmentPolicy | undefined;
|
|
3201
3252
|
/**
|
|
3202
|
-
* <p>
|
|
3203
|
-
* The capacity reservation specification.
|
|
3204
|
-
* </p>
|
|
3253
|
+
* <p>The capacity reservation specification for the Auto Scaling group.</p>
|
|
3205
3254
|
* @public
|
|
3206
3255
|
*/
|
|
3207
3256
|
CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
|
|
3208
3257
|
/**
|
|
3209
|
-
* <p>
|
|
3210
|
-
* The instance lifecycle policy applied to this Auto Scaling group. This policy determines
|
|
3211
|
-
* instance behavior when an instance transitions through its lifecycle states. It provides additional
|
|
3212
|
-
* control over graceful instance management processes.
|
|
3213
|
-
* </p>
|
|
3258
|
+
* <p>The instance lifecycle policy for the Auto Scaling group.</p>
|
|
3214
3259
|
* @public
|
|
3215
3260
|
*/
|
|
3216
3261
|
InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
|
|
@@ -3265,11 +3310,11 @@ export interface AutoScalingInstanceDetails {
|
|
|
3265
3310
|
* <p>Valid values: <code>Pending</code> | <code>Pending:Wait</code> |
|
|
3266
3311
|
* <code>Pending:Proceed</code> | <code>Quarantined</code> | <code>InService</code> |
|
|
3267
3312
|
* <code>Terminating</code> | <code>Terminating:Wait</code> |
|
|
3268
|
-
* <code>Terminating:Proceed</code> | <code>Terminated</code> | <code>Detaching</code>
|
|
3313
|
+
* <code>Terminating:Proceed</code> | <code>Terminating:Retained</code> | <code>Terminated</code> | <code>Detaching</code>
|
|
3269
3314
|
* | <code>Detached</code> | <code>EnteringStandby</code> | <code>Standby</code> |
|
|
3270
3315
|
* <code>Warmed:Pending</code> | <code>Warmed:Pending:Wait</code> |
|
|
3271
|
-
* <code>Warmed:Pending:Proceed</code> | <code>Warmed:Terminating</code> |
|
|
3272
|
-
* <code>Warmed:Terminating:Wait</code> | <code>Warmed:Terminating:Proceed</code> |
|
|
3316
|
+
* <code>Warmed:Pending:Proceed</code> | <code>Warmed:Pending:Retained</code> | <code>Warmed:Terminating</code> |
|
|
3317
|
+
* <code>Warmed:Terminating:Wait</code> | <code>Warmed:Terminating:Proceed</code> | <code>Warmed:Terminating:Retained</code> |
|
|
3273
3318
|
* <code>Warmed:Terminated</code> | <code>Warmed:Stopped</code> |
|
|
3274
3319
|
* <code>Warmed:Running</code>
|
|
3275
3320
|
* </p>
|
|
@@ -5513,16 +5558,23 @@ export interface PoliciesType {
|
|
|
5513
5558
|
*/
|
|
5514
5559
|
export interface DescribeScalingActivitiesType {
|
|
5515
5560
|
/**
|
|
5516
|
-
* <p>
|
|
5517
|
-
*
|
|
5518
|
-
*
|
|
5519
|
-
*
|
|
5561
|
+
* <p>
|
|
5562
|
+
* The activity IDs of the desired scaling activities. If unknown activity IDs are requested, they are ignored
|
|
5563
|
+
* with no error. Only activities started within the last six weeks can be returned regardless of the activity
|
|
5564
|
+
* IDs specified. If other filters are specified with the request, only results matching all filter criteria
|
|
5565
|
+
* can be returned.
|
|
5566
|
+
* </p>
|
|
5520
5567
|
* <p>Array Members: Maximum number of 50 IDs.</p>
|
|
5521
5568
|
* @public
|
|
5522
5569
|
*/
|
|
5523
5570
|
ActivityIds?: string[] | undefined;
|
|
5524
5571
|
/**
|
|
5525
5572
|
* <p>The name of the Auto Scaling group.</p>
|
|
5573
|
+
* <important>
|
|
5574
|
+
* <p>
|
|
5575
|
+
* Omitting this property performs an account-wide operation, which can result in slower or timed-out requests.
|
|
5576
|
+
* </p>
|
|
5577
|
+
* </important>
|
|
5526
5578
|
* @public
|
|
5527
5579
|
*/
|
|
5528
5580
|
AutoScalingGroupName?: string | undefined;
|
|
@@ -5543,6 +5595,37 @@ export interface DescribeScalingActivitiesType {
|
|
|
5543
5595
|
* @public
|
|
5544
5596
|
*/
|
|
5545
5597
|
NextToken?: string | undefined;
|
|
5598
|
+
/**
|
|
5599
|
+
* <p>
|
|
5600
|
+
* One or more filters to limit the results based on specific criteria. The following filters are supported:
|
|
5601
|
+
* </p>
|
|
5602
|
+
* <ul>
|
|
5603
|
+
* <li>
|
|
5604
|
+
* <p>
|
|
5605
|
+
* <code>StartTimeLowerBound</code> - The earliest scaling activities to return based on the activity start time.
|
|
5606
|
+
* Scaling activities with a start time earlier than this value are not included in the results.
|
|
5607
|
+
* Only activities started within the last six weeks can be returned regardless of the value specified.
|
|
5608
|
+
* </p>
|
|
5609
|
+
* </li>
|
|
5610
|
+
* <li>
|
|
5611
|
+
* <p>
|
|
5612
|
+
* <code>StartTimeUpperBound</code> - The latest scaling activities to return based on the activity start time.
|
|
5613
|
+
* Scaling activities with a start time later than this value are not included in the results.
|
|
5614
|
+
* Only activities started within the last six weeks can be returned regardless of the value specified.
|
|
5615
|
+
* </p>
|
|
5616
|
+
* </li>
|
|
5617
|
+
* <li>
|
|
5618
|
+
* <p>
|
|
5619
|
+
* <code>Status</code> - The <code>StatusCode</code> value of the scaling activity. This filter can only be
|
|
5620
|
+
* used in combination with the <code>AutoScalingGroupName</code> parameter. For valid <code>StatusCode</code>
|
|
5621
|
+
* values, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html">Activity</a>
|
|
5622
|
+
* in the <i>Amazon EC2 Auto Scaling API Reference</i>.
|
|
5623
|
+
* </p>
|
|
5624
|
+
* </li>
|
|
5625
|
+
* </ul>
|
|
5626
|
+
* @public
|
|
5627
|
+
*/
|
|
5628
|
+
Filters?: Filter[] | undefined;
|
|
5546
5629
|
}
|
|
5547
5630
|
/**
|
|
5548
5631
|
* <p>Describes a process type.</p>
|
|
@@ -7353,7 +7436,7 @@ export interface StartInstanceRefreshType {
|
|
|
7353
7436
|
*/
|
|
7354
7437
|
AutoScalingGroupName: string | undefined;
|
|
7355
7438
|
/**
|
|
7356
|
-
* <p>The strategy to use for the instance refresh. The
|
|
7439
|
+
* <p>The strategy to use for the instance refresh. The default value is
|
|
7357
7440
|
* <code>Rolling</code>.</p>
|
|
7358
7441
|
* @public
|
|
7359
7442
|
*/
|
|
@@ -7654,9 +7737,14 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7654
7737
|
CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
|
|
7655
7738
|
/**
|
|
7656
7739
|
* <p>
|
|
7657
|
-
* The instance lifecycle policy for the Auto Scaling group.
|
|
7658
|
-
*
|
|
7659
|
-
*
|
|
7740
|
+
* The instance lifecycle policy for the Auto Scaling group. This policy controls instance behavior when an instance
|
|
7741
|
+
* transitions through its lifecycle states. Configure retention triggers to specify when instances should
|
|
7742
|
+
* move to a <code>Retained</code> state instead of automatic termination.
|
|
7743
|
+
* </p>
|
|
7744
|
+
* <p>For more information, see
|
|
7745
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html">
|
|
7746
|
+
* Control instance retention with instance lifecycle policies</a>
|
|
7747
|
+
* in the <i>Amazon EC2 Auto Scaling User Guide</i>.
|
|
7660
7748
|
* </p>
|
|
7661
7749
|
* @public
|
|
7662
7750
|
*/
|
|
@@ -832,6 +832,7 @@ export interface DescribeScalingActivitiesType {
|
|
|
832
832
|
IncludeDeletedGroups?: boolean | undefined;
|
|
833
833
|
MaxRecords?: number | undefined;
|
|
834
834
|
NextToken?: string | undefined;
|
|
835
|
+
Filters?: Filter[] | undefined;
|
|
835
836
|
}
|
|
836
837
|
export interface ProcessType {
|
|
837
838
|
ProcessName: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.972.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auto-scaling",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
14
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo auto-scaling",
|
|
15
15
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.972.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.972.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.972.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.972.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.972.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.972.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.972.0",
|
|
31
|
+
"@aws-sdk/types": "3.972.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.972.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.972.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
36
|
"@smithy/core": "^3.20.6",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/node": "^20.14.8",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
|
-
"
|
|
68
|
+
"premove": "4.0.0",
|
|
69
69
|
"typescript": "~5.8.3"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|