@aws-sdk/client-auto-scaling 3.971.0 → 3.974.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
@@ -415,10 +415,11 @@ const _DNCT = "DeleteNotificationConfigurationType";
415
415
  const _DNCTe = "DescribeNotificationConfigurationsType";
416
416
  const _DNCe = "DescribeNotificationConfigurations";
417
417
  const _DOT = "DeleteOnTermination";
418
- const _DP = "DeletePolicy";
418
+ const _DP = "DeletionProtection";
419
419
  const _DPT = "DeletePolicyType";
420
420
  const _DPTe = "DescribePoliciesType";
421
- const _DPe = "DescribePolicies";
421
+ const _DPe = "DeletePolicy";
422
+ const _DPes = "DescribePolicies";
422
423
  const _DR = "DefaultResult";
423
424
  const _DSA = "DeleteScheduledAction";
424
425
  const _DSAT = "DeleteScheduledActionType";
@@ -929,8 +930,8 @@ var AttachTrafficSourcesType$ = [3, n0, _ATST,
929
930
  ];
930
931
  var AutoScalingGroup$ = [3, n0, _ASG,
931
932
  0,
932
- [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _CRS, _ILP],
933
- [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 8
933
+ [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _DP, _AZD, _AZIP, _CRS, _ILP],
934
+ [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, 0, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 8
934
935
  ];
935
936
  var AutoScalingGroupNamesType$ = [3, n0, _ASGNT,
936
937
  0,
@@ -1039,8 +1040,8 @@ var CpuPerformanceFactorRequest$ = [3, n0, _CPFR,
1039
1040
  ];
1040
1041
  var CreateAutoScalingGroupType$ = [3, n0, _CASGT,
1041
1042
  0,
1042
- [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
1043
- [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 3
1043
+ [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _DP, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
1044
+ [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, 0, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 3
1044
1045
  ];
1045
1046
  var CreateLaunchConfigurationType$ = [3, n0, _CLCT,
1046
1047
  0,
@@ -1189,8 +1190,8 @@ var DescribePoliciesType$ = [3, n0, _DPTe,
1189
1190
  ];
1190
1191
  var DescribeScalingActivitiesType$ = [3, n0, _DSATe,
1191
1192
  0,
1192
- [_AIc, _ASGN, _IDG, _MR, _NT],
1193
- [64 | 0, 0, 2, 1, 0]
1193
+ [_AIc, _ASGN, _IDG, _MR, _NT, _F],
1194
+ [64 | 0, 0, 2, 1, 0, () => Filters]
1194
1195
  ];
1195
1196
  var DescribeScheduledActionsType$ = [3, n0, _DSATes,
1196
1197
  0,
@@ -1848,8 +1849,8 @@ var TrafficSourceState$ = [3, n0, _TSS,
1848
1849
  ];
1849
1850
  var UpdateAutoScalingGroupType$ = [3, n0, _UASGT,
1850
1851
  0,
1851
- [_ASGN, _LCN, _LT, _MIP, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _Co, _DCT, _DIW, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
1852
- [0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 1, 1, 1, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 0, 1, 2, 0, 0, 1, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 1
1852
+ [_ASGN, _LCN, _LT, _MIP, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _Co, _DCT, _DIW, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP, _DP],
1853
+ [0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 1, 1, 1, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 0, 1, 2, 0, 0, 1, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$, 0], 1
1853
1854
  ];
1854
1855
  var VCpuCountRequest$ = [3, n0, _VCCR,
1855
1856
  0,
@@ -2027,7 +2028,7 @@ var DeleteLifecycleHook$ = [9, n0, _DLH,
2027
2028
  var DeleteNotificationConfiguration$ = [9, n0, _DNC,
2028
2029
  0, () => DeleteNotificationConfigurationType$, () => __Unit
2029
2030
  ];
2030
- var DeletePolicy$ = [9, n0, _DP,
2031
+ var DeletePolicy$ = [9, n0, _DPe,
2031
2032
  0, () => DeletePolicyType$, () => __Unit
2032
2033
  ];
2033
2034
  var DeleteScheduledAction$ = [9, n0, _DSA,
@@ -2078,7 +2079,7 @@ var DescribeMetricCollectionTypes$ = [9, n0, _DMCT,
2078
2079
  var DescribeNotificationConfigurations$ = [9, n0, _DNCe,
2079
2080
  0, () => DescribeNotificationConfigurationsType$, () => DescribeNotificationConfigurationsAnswer$
2080
2081
  ];
2081
- var DescribePolicies$ = [9, n0, _DPe,
2082
+ var DescribePolicies$ = [9, n0, _DPes,
2082
2083
  0, () => DescribePoliciesType$, () => PoliciesType$
2083
2084
  ];
2084
2085
  var DescribeScalingActivities$ = [9, n0, _DSAe,
@@ -3262,6 +3263,11 @@ const CapacityReservationPreference = {
3262
3263
  Default: "default",
3263
3264
  None: "none",
3264
3265
  };
3266
+ const DeletionProtection = {
3267
+ None: "none",
3268
+ PreventAllDeletion: "prevent-all-deletion",
3269
+ PreventForceDeletion: "prevent-force-deletion",
3270
+ };
3265
3271
  const RetentionAction = {
3266
3272
  Retain: "retain",
3267
3273
  Terminate: "terminate",
@@ -3518,6 +3524,7 @@ exports.DeleteWarmPool$ = DeleteWarmPool$;
3518
3524
  exports.DeleteWarmPoolAnswer$ = DeleteWarmPoolAnswer$;
3519
3525
  exports.DeleteWarmPoolCommand = DeleteWarmPoolCommand;
3520
3526
  exports.DeleteWarmPoolType$ = DeleteWarmPoolType$;
3527
+ exports.DeletionProtection = DeletionProtection;
3521
3528
  exports.DescribeAccountLimits$ = DescribeAccountLimits$;
3522
3529
  exports.DescribeAccountLimitsAnswer$ = DescribeAccountLimitsAnswer$;
3523
3530
  exports.DescribeAccountLimitsCommand = DescribeAccountLimitsCommand;
@@ -50,6 +50,11 @@ export const CapacityReservationPreference = {
50
50
  Default: "default",
51
51
  None: "none",
52
52
  };
53
+ export const DeletionProtection = {
54
+ None: "none",
55
+ PreventAllDeletion: "prevent-all-deletion",
56
+ PreventForceDeletion: "prevent-force-deletion",
57
+ };
53
58
  export const RetentionAction = {
54
59
  Retain: "retain",
55
60
  Terminate: "terminate",
@@ -160,10 +160,11 @@ const _DNCT = "DeleteNotificationConfigurationType";
160
160
  const _DNCTe = "DescribeNotificationConfigurationsType";
161
161
  const _DNCe = "DescribeNotificationConfigurations";
162
162
  const _DOT = "DeleteOnTermination";
163
- const _DP = "DeletePolicy";
163
+ const _DP = "DeletionProtection";
164
164
  const _DPT = "DeletePolicyType";
165
165
  const _DPTe = "DescribePoliciesType";
166
- const _DPe = "DescribePolicies";
166
+ const _DPe = "DeletePolicy";
167
+ const _DPes = "DescribePolicies";
167
168
  const _DR = "DefaultResult";
168
169
  const _DSA = "DeleteScheduledAction";
169
170
  const _DSAT = "DeleteScheduledActionType";
@@ -677,8 +678,8 @@ export var AttachTrafficSourcesType$ = [3, n0, _ATST,
677
678
  ];
678
679
  export var AutoScalingGroup$ = [3, n0, _ASG,
679
680
  0,
680
- [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _CRS, _ILP],
681
- [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 8
681
+ [_ASGN, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _CT, _ASGARN, _LCN, _LT, _MIP, _PC, _LBN, _TGARN, _HCGP, _I, _SP, _PG, _VPCZI, _EM, _S, _T, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _WPC, _WPS, _Co, _DCT, _DIW, _TS, _IMP, _DP, _AZD, _AZIP, _CRS, _ILP],
682
+ [0, 1, 1, 1, 1, 64 | 0, 0, 4, 0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 64 | 0, 64 | 0, 1, () => Instances, () => SuspendedProcesses, 0, 0, () => EnabledMetrics, 0, () => TagDescriptionList, 64 | 0, 2, 0, 1, 2, () => WarmPoolConfiguration$, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, 0, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 8
682
683
  ];
683
684
  export var AutoScalingGroupNamesType$ = [3, n0, _ASGNT,
684
685
  0,
@@ -787,8 +788,8 @@ export var CpuPerformanceFactorRequest$ = [3, n0, _CPFR,
787
788
  ];
788
789
  export var CreateAutoScalingGroupType$ = [3, n0, _CASGT,
789
790
  0,
790
- [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
791
- [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 3
791
+ [_ASGN, _MS, _MSa, _LCN, _LT, _MIP, _IIns, _DC, _DCe, _AZ, _LBN, _TGARN, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _CR, _LHSL, _DP, _T, _SLRARN, _MIL, _Co, _DCT, _DIW, _TS, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
792
+ [0, 1, 1, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 0, 1, 1, 64 | 0, 64 | 0, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 2, () => LifecycleHookSpecifications, 0, () => Tags, 0, 1, 0, 0, 1, () => TrafficSources, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 3
792
793
  ];
793
794
  export var CreateLaunchConfigurationType$ = [3, n0, _CLCT,
794
795
  0,
@@ -937,8 +938,8 @@ export var DescribePoliciesType$ = [3, n0, _DPTe,
937
938
  ];
938
939
  export var DescribeScalingActivitiesType$ = [3, n0, _DSATe,
939
940
  0,
940
- [_AIc, _ASGN, _IDG, _MR, _NT],
941
- [64 | 0, 0, 2, 1, 0]
941
+ [_AIc, _ASGN, _IDG, _MR, _NT, _F],
942
+ [64 | 0, 0, 2, 1, 0, () => Filters]
942
943
  ];
943
944
  export var DescribeScheduledActionsType$ = [3, n0, _DSATes,
944
945
  0,
@@ -1596,8 +1597,8 @@ export var TrafficSourceState$ = [3, n0, _TSS,
1596
1597
  ];
1597
1598
  export var UpdateAutoScalingGroupType$ = [3, n0, _UASGT,
1598
1599
  0,
1599
- [_ASGN, _LCN, _LT, _MIP, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _Co, _DCT, _DIW, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP],
1600
- [0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 1, 1, 1, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 0, 1, 2, 0, 0, 1, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$], 1
1600
+ [_ASGN, _LCN, _LT, _MIP, _MS, _MSa, _DC, _DCe, _AZ, _HCT, _HCGP, _PG, _VPCZI, _TP, _NIPFSI, _SLRARN, _MIL, _CR, _Co, _DCT, _DIW, _IMP, _AZD, _AZIP, _SZSV, _CRS, _ILP, _DP],
1601
+ [0, 0, () => LaunchTemplateSpecification$, [() => MixedInstancesPolicy$, 0], 1, 1, 1, 1, 64 | 0, 0, 1, 0, 0, 64 | 0, 2, 0, 1, 2, 0, 0, 1, () => InstanceMaintenancePolicy$, () => AvailabilityZoneDistribution$, () => AvailabilityZoneImpairmentPolicy$, 2, () => CapacityReservationSpecification$, () => InstanceLifecyclePolicy$, 0], 1
1601
1602
  ];
1602
1603
  export var VCpuCountRequest$ = [3, n0, _VCCR,
1603
1604
  0,
@@ -1811,7 +1812,7 @@ export var DeleteLifecycleHook$ = [9, n0, _DLH,
1811
1812
  export var DeleteNotificationConfiguration$ = [9, n0, _DNC,
1812
1813
  0, () => DeleteNotificationConfigurationType$, () => __Unit
1813
1814
  ];
1814
- export var DeletePolicy$ = [9, n0, _DP,
1815
+ export var DeletePolicy$ = [9, n0, _DPe,
1815
1816
  0, () => DeletePolicyType$, () => __Unit
1816
1817
  ];
1817
1818
  export var DeleteScheduledAction$ = [9, n0, _DSA,
@@ -1862,7 +1863,7 @@ export var DescribeMetricCollectionTypes$ = [9, n0, _DMCT,
1862
1863
  export var DescribeNotificationConfigurations$ = [9, n0, _DNCe,
1863
1864
  0, () => DescribeNotificationConfigurationsType$, () => DescribeNotificationConfigurationsAnswer$
1864
1865
  ];
1865
- export var DescribePolicies$ = [9, n0, _DPe,
1866
+ export var DescribePolicies$ = [9, n0, _DPes,
1866
1867
  0, () => DescribePoliciesType$, () => PoliciesType$
1867
1868
  ];
1868
1869
  export var DescribeScalingActivities$ = [9, n0, _DSAe,
@@ -28,7 +28,7 @@ declare const AttachLoadBalancersCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <note>
31
- * <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html</a>, which
31
+ * <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html">AttachTrafficSources</a>, which
32
32
  * can attach multiple traffic sources types. We recommend using
33
33
  * <code>AttachTrafficSources</code> to simplify how you manage traffic sources.
34
34
  * However, we continue to support <code>AttachLoadBalancers</code>. You can use both
@@ -195,6 +195,7 @@ declare const CreateAutoScalingGroupCommand_base: {
195
195
  * RoleARN: "STRING_VALUE",
196
196
  * },
197
197
  * ],
198
+ * DeletionProtection: "none" || "prevent-force-deletion" || "prevent-all-deletion",
198
199
  * Tags: [ // Tags
199
200
  * { // Tag
200
201
  * ResourceId: "STRING_VALUE",
@@ -260,6 +260,7 @@ declare const DescribeAutoScalingGroupsCommand_base: {
260
260
  * // MinHealthyPercentage: Number("int"),
261
261
  * // MaxHealthyPercentage: Number("int"),
262
262
  * // },
263
+ * // DeletionProtection: "none" || "prevent-force-deletion" || "prevent-all-deletion",
263
264
  * // AvailabilityZoneDistribution: { // AvailabilityZoneDistribution
264
265
  * // CapacityDistributionStrategy: "balanced-only" || "balanced-best-effort",
265
266
  * // },
@@ -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);
@@ -28,7 +28,7 @@ declare const DetachLoadBalancerTargetGroupsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <note>
31
- * <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTrafficSources.html">DetachTrafficSources</a>, which
31
+ * <p>This API operation is superseded by <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachTrafficSources.html">DetachTrafficSources</a>, which
32
32
  * can detach multiple traffic sources types. We recommend using
33
33
  * <code>DetachTrafficSources</code> to simplify how you manage traffic sources.
34
34
  * However, we continue to support <code>DetachLoadBalancerTargetGroups</code>. You can
@@ -239,6 +239,7 @@ declare const UpdateAutoScalingGroupCommand_base: {
239
239
  * TerminateHookAbandon: "retain" || "terminate",
240
240
  * },
241
241
  * },
242
+ * DeletionProtection: "none" || "prevent-force-deletion" || "prevent-all-deletion",
242
243
  * };
243
244
  * const command = new UpdateAutoScalingGroupCommand(input);
244
245
  * const response = await client.send(command);
@@ -106,6 +106,19 @@ export declare const CapacityReservationPreference: {
106
106
  * @public
107
107
  */
108
108
  export type CapacityReservationPreference = (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const DeletionProtection: {
114
+ readonly None: "none";
115
+ readonly PreventAllDeletion: "prevent-all-deletion";
116
+ readonly PreventForceDeletion: "prevent-force-deletion";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type DeletionProtection = (typeof DeletionProtection)[keyof typeof DeletionProtection];
109
122
  /**
110
123
  * @public
111
124
  * @enum
@@ -1,4 +1,4 @@
1
- import { AcceleratorManufacturer, AcceleratorName, AcceleratorType, BareMetal, BurstablePerformance, CapacityDistributionStrategy, CapacityReservationPreference, CpuManufacturer, ImpairedZoneHealthCheckBehavior, InstanceGeneration, InstanceMetadataEndpointState, InstanceMetadataHttpTokensState, InstanceRefreshStatus, LifecycleState, LocalStorage, LocalStorageType, MetricStatistic, MetricType, PredefinedLoadMetricType, PredefinedMetricPairType, PredefinedScalingMetricType, PredictiveScalingMaxCapacityBreachBehavior, PredictiveScalingMode, RefreshStrategy, RetentionAction, RetryStrategy, ScaleInProtectedInstances, ScalingActivityStatusCode, StandbyInstances, WarmPoolState, WarmPoolStatus } from "./enums";
1
+ import { AcceleratorManufacturer, AcceleratorName, AcceleratorType, BareMetal, BurstablePerformance, CapacityDistributionStrategy, CapacityReservationPreference, CpuManufacturer, DeletionProtection, ImpairedZoneHealthCheckBehavior, InstanceGeneration, InstanceMetadataEndpointState, InstanceMetadataHttpTokensState, InstanceRefreshStatus, LifecycleState, LocalStorage, LocalStorageType, MetricStatistic, MetricType, PredefinedLoadMetricType, PredefinedMetricPairType, PredefinedScalingMetricType, PredictiveScalingMaxCapacityBreachBehavior, PredictiveScalingMode, RefreshStrategy, RetentionAction, RetryStrategy, ScaleInProtectedInstances, ScalingActivityStatusCode, StandbyInstances, WarmPoolState, WarmPoolStatus } from "./enums";
2
2
  /**
3
3
  * <p>Specifies the minimum and maximum for the <code>AcceleratorCount</code> object when
4
4
  * you specify <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_InstanceRequirements.html">InstanceRequirements</a> for an Auto Scaling group.</p>
@@ -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>Retain</code> to move instances to a <code>Retained</code> state. Set to <code>Terminate</code> for default termination behavior.
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
- * Defines the lifecycle policy for instances in an Auto Scaling group. This policy controls instance behavior when lifecycles transition and operations fail. Use lifecycle policies to ensure graceful shutdown for stateful workloads or applications requiring extended draining periods.
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 being terminated. This allows you to maintain control over
665
- * instance management when lifecycle operations fail.
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
  */
@@ -1901,6 +1908,22 @@ export interface CreateAutoScalingGroupType {
1901
1908
  * @public
1902
1909
  */
1903
1910
  LifecycleHookSpecificationList?: LifecycleHookSpecification[] | undefined;
1911
+ /**
1912
+ * <p>
1913
+ * The deletion protection setting for the Auto Scaling group. This setting helps safeguard your Auto Scaling group and its
1914
+ * instances by controlling whether the <code>DeleteAutoScalingGroup</code> operation is allowed. When deletion
1915
+ * protection is enabled, users cannot delete the Auto Scaling group according to the specified protection level until
1916
+ * the setting is changed back to a less restrictive level.
1917
+ * </p>
1918
+ * <p>
1919
+ * The valid values are <code>none</code>, <code>prevent-force-deletion</code>, and <code>prevent-all-deletion</code>.
1920
+ * </p>
1921
+ * <p>
1922
+ * Default: <code>none</code>
1923
+ * </p>
1924
+ * @public
1925
+ */
1926
+ DeletionProtection?: DeletionProtection | undefined;
1904
1927
  /**
1905
1928
  * <p>One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2
1906
1929
  * instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS
@@ -2011,10 +2034,14 @@ export interface CreateAutoScalingGroupType {
2011
2034
  CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
2012
2035
  /**
2013
2036
  * <p>
2014
- * The instance lifecycle policy for the Auto Scaling group. This policy controls instance
2015
- * behavior when an instance transitions through its lifecycle states. Configure retention
2016
- * triggers to specify when instances should move to a <code>Retained</code>
2017
- * state for manual intervention instead of automatic termination.
2037
+ * The instance lifecycle policy for the Auto Scaling group. This policy controls instance behavior when an instance
2038
+ * transitions through its lifecycle states. Configure retention triggers to specify when instances should
2039
+ * move to a <code>Retained</code> state instead of automatic termination.
2040
+ * </p>
2041
+ * <p>For more information, see
2042
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html">
2043
+ * Control instance retention with instance lifecycle policies</a>
2044
+ * in the <i>Amazon EC2 Auto Scaling User Guide</i>.
2018
2045
  * </p>
2019
2046
  * <note>
2020
2047
  * <p>Instances in a Retained state will continue to incur standard EC2 charges until terminated.</p>
@@ -2588,11 +2615,13 @@ export interface DescribeAdjustmentTypesAnswer {
2588
2615
  export interface Filter {
2589
2616
  /**
2590
2617
  * <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
2618
  * <p>
2595
- * <b>DescribeAutoScalingGroups</b>
2619
+ * The valid values for <code>Name</code> depend on which API operation you're using with the filter.
2620
+ * </p>
2621
+ * <p>
2622
+ * <b>
2623
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a>
2624
+ * </b>
2596
2625
  * </p>
2597
2626
  * <p>Valid values for <code>Name</code> include the following: </p>
2598
2627
  * <ul>
@@ -2615,7 +2644,9 @@ export interface Filter {
2615
2644
  * </li>
2616
2645
  * </ul>
2617
2646
  * <p>
2618
- * <b>DescribeTags</b>
2647
+ * <b>
2648
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTags.html">DescribeTags</a>
2649
+ * </b>
2619
2650
  * </p>
2620
2651
  * <p>Valid values for <code>Name</code> include the following: </p>
2621
2652
  * <ul>
@@ -2642,6 +2673,36 @@ export interface Filter {
2642
2673
  * information about the tags associated with the specified Boolean value. </p>
2643
2674
  * </li>
2644
2675
  * </ul>
2676
+ * <p>
2677
+ * <b>
2678
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a>
2679
+ * </b>
2680
+ * </p>
2681
+ * <p>Valid values for <code>Name</code> include the following: </p>
2682
+ * <ul>
2683
+ * <li>
2684
+ * <p>
2685
+ * <code>StartTimeLowerBound</code> - The earliest scaling activities to return based on the activity start time.
2686
+ * Scaling activities with a start time earlier than this value are not included in the results.
2687
+ * Only activities started within the last six weeks can be returned regardless of the value specified.
2688
+ * </p>
2689
+ * </li>
2690
+ * <li>
2691
+ * <p>
2692
+ * <code>StartTimeUpperBound</code> - The latest scaling activities to return based on the activity start time.
2693
+ * Scaling activities with a start time later than this value are not included in the results.
2694
+ * Only activities started within the last six weeks can be returned regardless of the value specified.
2695
+ * </p>
2696
+ * </li>
2697
+ * <li>
2698
+ * <p>
2699
+ * <code>Status</code> - The <code>StatusCode</code> value of the scaling activity. This filter can only be
2700
+ * used in combination with the <code>AutoScalingGroupName</code> parameter. For valid <code>StatusCode</code>
2701
+ * values, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html">Activity</a>
2702
+ * in the <i>Amazon EC2 Auto Scaling API Reference</i>.
2703
+ * </p>
2704
+ * </li>
2705
+ * </ul>
2645
2706
  * @public
2646
2707
  */
2647
2708
  Name?: string | undefined;
@@ -2649,9 +2710,17 @@ export interface Filter {
2649
2710
  * <p>One or more filter values. Filter values are case-sensitive. </p>
2650
2711
  * <p>If you specify multiple values for a filter, the values are automatically logically
2651
2712
  * joined with an <code>OR</code>, and the request returns all results that match any of
2652
- * the specified values. For example, specify "tag:environment" for the filter name and
2653
- * "production,development" for the filter values to find Auto Scaling groups with the tag
2654
- * "environment=production" or "environment=development".</p>
2713
+ * the specified values.</p>
2714
+ * <p>
2715
+ * <b>DescribeAutoScalingGroups example:</b> Specify "tag:environment"
2716
+ * for the filter name and "production,development" for the filter values to find Auto Scaling groups with
2717
+ * the tag "environment=production" or "environment=development".
2718
+ * </p>
2719
+ * <p>
2720
+ * <b>DescribeScalingActivities example:</b> Specify "Status" for the
2721
+ * filter name and "Successful,Failed" for the filter values to find scaling activities with a
2722
+ * status of either "Successful" or "Failed".
2723
+ * </p>
2655
2724
  * @public
2656
2725
  */
2657
2726
  Values?: string[] | undefined;
@@ -3013,12 +3082,12 @@ export interface AutoScalingGroup {
3013
3082
  */
3014
3083
  AutoScalingGroupARN?: string | undefined;
3015
3084
  /**
3016
- * <p>The name of the associated launch configuration.</p>
3085
+ * <p>The name of the associated launch configuration for the Auto Scaling group.</p>
3017
3086
  * @public
3018
3087
  */
3019
3088
  LaunchConfigurationName?: string | undefined;
3020
3089
  /**
3021
- * <p>The launch template for the group.</p>
3090
+ * <p>The launch template for the Auto Scaling group.</p>
3022
3091
  * @public
3023
3092
  */
3024
3093
  LaunchTemplate?: LaunchTemplateSpecification | undefined;
@@ -3028,17 +3097,17 @@ export interface AutoScalingGroup {
3028
3097
  */
3029
3098
  MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
3030
3099
  /**
3031
- * <p>The minimum size of the group.</p>
3100
+ * <p>The minimum size of the Auto Scaling group.</p>
3032
3101
  * @public
3033
3102
  */
3034
3103
  MinSize: number | undefined;
3035
3104
  /**
3036
- * <p>The maximum size of the group.</p>
3105
+ * <p>The maximum size of the Auto Scaling group.</p>
3037
3106
  * @public
3038
3107
  */
3039
3108
  MaxSize: number | undefined;
3040
3109
  /**
3041
- * <p>The desired size of the group.</p>
3110
+ * <p>The desired size of the Auto Scaling group.</p>
3042
3111
  * @public
3043
3112
  */
3044
3113
  DesiredCapacity: number | undefined;
@@ -3048,12 +3117,12 @@ export interface AutoScalingGroup {
3048
3117
  */
3049
3118
  PredictedCapacity?: number | undefined;
3050
3119
  /**
3051
- * <p>The duration of the default cooldown period, in seconds.</p>
3120
+ * <p>The duration of the default cooldown period, in seconds, for the Auto Scaling group.</p>
3052
3121
  * @public
3053
3122
  */
3054
3123
  DefaultCooldown: number | undefined;
3055
3124
  /**
3056
- * <p>One or more Availability Zones for the group.</p>
3125
+ * <p>One or more Availability Zones for the Auto Scaling group.</p>
3057
3126
  * @public
3058
3127
  */
3059
3128
  AvailabilityZones: string[] | undefined;
@@ -3068,77 +3137,79 @@ export interface AutoScalingGroup {
3068
3137
  */
3069
3138
  TargetGroupARNs?: string[] | undefined;
3070
3139
  /**
3071
- * <p>A comma-separated value string of one or more health check types.</p>
3140
+ * <p>One or more comma-separated health check types for the Auto Scaling group.</p>
3072
3141
  * @public
3073
3142
  */
3074
3143
  HealthCheckType: string | undefined;
3075
3144
  /**
3076
- * <p>The duration of the health check grace period, in seconds.</p>
3145
+ * <p>The duration of the health check grace period, in seconds, for the Auto Scaling group.</p>
3077
3146
  * @public
3078
3147
  */
3079
3148
  HealthCheckGracePeriod?: number | undefined;
3080
3149
  /**
3081
- * <p>The EC2 instances associated with the group.</p>
3150
+ * <p>The EC2 instances associated with the Auto Scaling group.</p>
3082
3151
  * @public
3083
3152
  */
3084
3153
  Instances?: Instance[] | undefined;
3085
3154
  /**
3086
- * <p>The date and time the group was created.</p>
3155
+ * <p>The date and time the Auto Scaling group was created.</p>
3087
3156
  * @public
3088
3157
  */
3089
3158
  CreatedTime: Date | undefined;
3090
3159
  /**
3091
- * <p>The suspended processes associated with the group.</p>
3160
+ * <p>The suspended processes associated with the Auto Scaling group.</p>
3092
3161
  * @public
3093
3162
  */
3094
3163
  SuspendedProcesses?: SuspendedProcess[] | undefined;
3095
3164
  /**
3096
- * <p>The name of the placement group into which to launch your instances, if any.</p>
3165
+ * <p>The name of the placement group into which to launch EC2 instances for the Auto Scaling group.</p>
3097
3166
  * @public
3098
3167
  */
3099
3168
  PlacementGroup?: string | undefined;
3100
3169
  /**
3101
- * <p>One or more subnet IDs, if applicable, separated by commas.</p>
3170
+ * <p>One or more comma-separated subnet IDs for the Auto Scaling group.</p>
3102
3171
  * @public
3103
3172
  */
3104
3173
  VPCZoneIdentifier?: string | undefined;
3105
3174
  /**
3106
- * <p>The metrics enabled for the group.</p>
3175
+ * <p>The metrics enabled for the Auto Scaling group.</p>
3107
3176
  * @public
3108
3177
  */
3109
3178
  EnabledMetrics?: EnabledMetric[] | undefined;
3110
3179
  /**
3111
- * <p>The current state of the group when the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DeleteAutoScalingGroup.html">DeleteAutoScalingGroup</a>
3180
+ * <p>The current state of the Auto Scaling group when the
3181
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DeleteAutoScalingGroup.html">DeleteAutoScalingGroup</a>
3112
3182
  * operation is in progress.</p>
3113
3183
  * @public
3114
3184
  */
3115
3185
  Status?: string | undefined;
3116
3186
  /**
3117
- * <p>The tags for the group.</p>
3187
+ * <p>The tags for the Auto Scaling group.</p>
3118
3188
  * @public
3119
3189
  */
3120
3190
  Tags?: TagDescription[] | undefined;
3121
3191
  /**
3122
- * <p>The termination policies for the group.</p>
3192
+ * <p>The termination policies for the Auto Scaling group.</p>
3123
3193
  * @public
3124
3194
  */
3125
3195
  TerminationPolicies?: string[] | undefined;
3126
3196
  /**
3127
- * <p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in,
3128
- * see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use instance scale-in protection</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
3197
+ * <p>Indicates whether newly launched EC2 instances are protected from termination when scaling in for the Auto Scaling group.</p>
3198
+ * <p>
3199
+ * For more information about preventing instances from terminating on scale in, see
3200
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use instance scale-in protection</a>
3201
+ * in the <i>Amazon EC2 Auto Scaling User Guide</i>.
3129
3202
  * </p>
3130
3203
  * @public
3131
3204
  */
3132
3205
  NewInstancesProtectedFromScaleIn?: boolean | undefined;
3133
3206
  /**
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>
3207
+ * <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
3208
  * @public
3137
3209
  */
3138
3210
  ServiceLinkedRoleARN?: string | undefined;
3139
3211
  /**
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>
3212
+ * <p>The maximum amount of time, in seconds, that an EC2 instance can be in service for the Auto Scaling group.</p>
3142
3213
  * @public
3143
3214
  */
3144
3215
  MaxInstanceLifetime?: number | undefined;
@@ -3170,7 +3241,7 @@ export interface AutoScalingGroup {
3170
3241
  */
3171
3242
  DesiredCapacityType?: string | undefined;
3172
3243
  /**
3173
- * <p>The duration of the default instance warmup, in seconds.</p>
3244
+ * <p>The duration of the default EC2 instance warmup time, in seconds, for the Auto Scaling group.</p>
3174
3245
  * @public
3175
3246
  */
3176
3247
  DefaultInstanceWarmup?: number | undefined;
@@ -3185,32 +3256,27 @@ export interface AutoScalingGroup {
3185
3256
  */
3186
3257
  InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
3187
3258
  /**
3188
- * <p>
3189
- * The instance capacity distribution across Availability Zones.
3190
- * </p>
3259
+ * <p>The deletion protection setting for the Auto Scaling group.</p>
3260
+ * @public
3261
+ */
3262
+ DeletionProtection?: DeletionProtection | undefined;
3263
+ /**
3264
+ * <p>The EC2 instance capacity distribution across Availability Zones for the Auto Scaling group.</p>
3191
3265
  * @public
3192
3266
  */
3193
3267
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
3194
3268
  /**
3195
- * <p>
3196
- * The Availability Zone impairment policy.
3197
- * </p>
3269
+ * <p>The Availability Zone impairment policy for the Auto Scaling group.</p>
3198
3270
  * @public
3199
3271
  */
3200
3272
  AvailabilityZoneImpairmentPolicy?: AvailabilityZoneImpairmentPolicy | undefined;
3201
3273
  /**
3202
- * <p>
3203
- * The capacity reservation specification.
3204
- * </p>
3274
+ * <p>The capacity reservation specification for the Auto Scaling group.</p>
3205
3275
  * @public
3206
3276
  */
3207
3277
  CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
3208
3278
  /**
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>
3279
+ * <p>The instance lifecycle policy for the Auto Scaling group.</p>
3214
3280
  * @public
3215
3281
  */
3216
3282
  InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
@@ -3265,11 +3331,11 @@ export interface AutoScalingInstanceDetails {
3265
3331
  * <p>Valid values: <code>Pending</code> | <code>Pending:Wait</code> |
3266
3332
  * <code>Pending:Proceed</code> | <code>Quarantined</code> | <code>InService</code> |
3267
3333
  * <code>Terminating</code> | <code>Terminating:Wait</code> |
3268
- * <code>Terminating:Proceed</code> | <code>Terminated</code> | <code>Detaching</code>
3334
+ * <code>Terminating:Proceed</code> | <code>Terminating:Retained</code> | <code>Terminated</code> | <code>Detaching</code>
3269
3335
  * | <code>Detached</code> | <code>EnteringStandby</code> | <code>Standby</code> |
3270
3336
  * <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> |
3337
+ * <code>Warmed:Pending:Proceed</code> | <code>Warmed:Pending:Retained</code> | <code>Warmed:Terminating</code> |
3338
+ * <code>Warmed:Terminating:Wait</code> | <code>Warmed:Terminating:Proceed</code> | <code>Warmed:Terminating:Retained</code> |
3273
3339
  * <code>Warmed:Terminated</code> | <code>Warmed:Stopped</code> |
3274
3340
  * <code>Warmed:Running</code>
3275
3341
  * </p>
@@ -5513,16 +5579,23 @@ export interface PoliciesType {
5513
5579
  */
5514
5580
  export interface DescribeScalingActivitiesType {
5515
5581
  /**
5516
- * <p>The activity IDs of the desired scaling activities. If you omit this property, all
5517
- * activities for the past six weeks are described. If unknown activities are requested,
5518
- * they are ignored with no error. If you specify an Auto Scaling group, the results are limited to
5519
- * that group.</p>
5582
+ * <p>
5583
+ * The activity IDs of the desired scaling activities. If unknown activity IDs are requested, they are ignored
5584
+ * with no error. Only activities started within the last six weeks can be returned regardless of the activity
5585
+ * IDs specified. If other filters are specified with the request, only results matching all filter criteria
5586
+ * can be returned.
5587
+ * </p>
5520
5588
  * <p>Array Members: Maximum number of 50 IDs.</p>
5521
5589
  * @public
5522
5590
  */
5523
5591
  ActivityIds?: string[] | undefined;
5524
5592
  /**
5525
5593
  * <p>The name of the Auto Scaling group.</p>
5594
+ * <important>
5595
+ * <p>
5596
+ * Omitting this property performs an account-wide operation, which can result in slower or timed-out requests.
5597
+ * </p>
5598
+ * </important>
5526
5599
  * @public
5527
5600
  */
5528
5601
  AutoScalingGroupName?: string | undefined;
@@ -5543,6 +5616,37 @@ export interface DescribeScalingActivitiesType {
5543
5616
  * @public
5544
5617
  */
5545
5618
  NextToken?: string | undefined;
5619
+ /**
5620
+ * <p>
5621
+ * One or more filters to limit the results based on specific criteria. The following filters are supported:
5622
+ * </p>
5623
+ * <ul>
5624
+ * <li>
5625
+ * <p>
5626
+ * <code>StartTimeLowerBound</code> - The earliest scaling activities to return based on the activity start time.
5627
+ * Scaling activities with a start time earlier than this value are not included in the results.
5628
+ * Only activities started within the last six weeks can be returned regardless of the value specified.
5629
+ * </p>
5630
+ * </li>
5631
+ * <li>
5632
+ * <p>
5633
+ * <code>StartTimeUpperBound</code> - The latest scaling activities to return based on the activity start time.
5634
+ * Scaling activities with a start time later than this value are not included in the results.
5635
+ * Only activities started within the last six weeks can be returned regardless of the value specified.
5636
+ * </p>
5637
+ * </li>
5638
+ * <li>
5639
+ * <p>
5640
+ * <code>Status</code> - The <code>StatusCode</code> value of the scaling activity. This filter can only be
5641
+ * used in combination with the <code>AutoScalingGroupName</code> parameter. For valid <code>StatusCode</code>
5642
+ * values, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html">Activity</a>
5643
+ * in the <i>Amazon EC2 Auto Scaling API Reference</i>.
5644
+ * </p>
5645
+ * </li>
5646
+ * </ul>
5647
+ * @public
5648
+ */
5649
+ Filters?: Filter[] | undefined;
5546
5650
  }
5547
5651
  /**
5548
5652
  * <p>Describes a process type.</p>
@@ -7353,7 +7457,7 @@ export interface StartInstanceRefreshType {
7353
7457
  */
7354
7458
  AutoScalingGroupName: string | undefined;
7355
7459
  /**
7356
- * <p>The strategy to use for the instance refresh. The only valid value is
7460
+ * <p>The strategy to use for the instance refresh. The default value is
7357
7461
  * <code>Rolling</code>.</p>
7358
7462
  * @public
7359
7463
  */
@@ -7654,11 +7758,32 @@ export interface UpdateAutoScalingGroupType {
7654
7758
  CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
7655
7759
  /**
7656
7760
  * <p>
7657
- * The instance lifecycle policy for the Auto Scaling group. Use this to add, modify, or remove lifecycle
7658
- * policies that control instance behavior when an instance transitions through its lifecycle states. Configure
7659
- * retention triggers to specify when to preserve instances for manual intervention.
7761
+ * The instance lifecycle policy for the Auto Scaling group. This policy controls instance behavior when an instance
7762
+ * transitions through its lifecycle states. Configure retention triggers to specify when instances should
7763
+ * move to a <code>Retained</code> state instead of automatic termination.
7764
+ * </p>
7765
+ * <p>For more information, see
7766
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html">
7767
+ * Control instance retention with instance lifecycle policies</a>
7768
+ * in the <i>Amazon EC2 Auto Scaling User Guide</i>.
7660
7769
  * </p>
7661
7770
  * @public
7662
7771
  */
7663
7772
  InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
7773
+ /**
7774
+ * <p>
7775
+ * The deletion protection setting for the Auto Scaling group. This setting helps safeguard your Auto Scaling group and its
7776
+ * instances by controlling whether the <code>DeleteAutoScalingGroup</code> operation is allowed. When deletion
7777
+ * protection is enabled, users cannot delete the Auto Scaling group according to the specified protection level until
7778
+ * the setting is changed back to a less restrictive level.
7779
+ * </p>
7780
+ * <p>
7781
+ * The valid values are <code>none</code>, <code>prevent-force-deletion</code>, and <code>prevent-all-deletion</code>.
7782
+ * </p>
7783
+ * <p>
7784
+ * Default: <code>none</code>
7785
+ * </p>
7786
+ * @public
7787
+ */
7788
+ DeletionProtection?: DeletionProtection | undefined;
7664
7789
  }
@@ -64,6 +64,13 @@ export declare const CapacityReservationPreference: {
64
64
  };
65
65
  export type CapacityReservationPreference =
66
66
  (typeof CapacityReservationPreference)[keyof typeof CapacityReservationPreference];
67
+ export declare const DeletionProtection: {
68
+ readonly None: "none";
69
+ readonly PreventAllDeletion: "prevent-all-deletion";
70
+ readonly PreventForceDeletion: "prevent-force-deletion";
71
+ };
72
+ export type DeletionProtection =
73
+ (typeof DeletionProtection)[keyof typeof DeletionProtection];
67
74
  export declare const RetentionAction: {
68
75
  readonly Retain: "retain";
69
76
  readonly Terminate: "terminate";
@@ -7,6 +7,7 @@ import {
7
7
  CapacityDistributionStrategy,
8
8
  CapacityReservationPreference,
9
9
  CpuManufacturer,
10
+ DeletionProtection,
10
11
  ImpairedZoneHealthCheckBehavior,
11
12
  InstanceGeneration,
12
13
  InstanceMetadataEndpointState,
@@ -296,6 +297,7 @@ export interface CreateAutoScalingGroupType {
296
297
  NewInstancesProtectedFromScaleIn?: boolean | undefined;
297
298
  CapacityRebalance?: boolean | undefined;
298
299
  LifecycleHookSpecificationList?: LifecycleHookSpecification[] | undefined;
300
+ DeletionProtection?: DeletionProtection | undefined;
299
301
  Tags?: Tag[] | undefined;
300
302
  ServiceLinkedRoleARN?: string | undefined;
301
303
  MaxInstanceLifetime?: number | undefined;
@@ -486,6 +488,7 @@ export interface AutoScalingGroup {
486
488
  DefaultInstanceWarmup?: number | undefined;
487
489
  TrafficSources?: TrafficSourceIdentifier[] | undefined;
488
490
  InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
491
+ DeletionProtection?: DeletionProtection | undefined;
489
492
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
490
493
  AvailabilityZoneImpairmentPolicy?:
491
494
  | AvailabilityZoneImpairmentPolicy
@@ -832,6 +835,7 @@ export interface DescribeScalingActivitiesType {
832
835
  IncludeDeletedGroups?: boolean | undefined;
833
836
  MaxRecords?: number | undefined;
834
837
  NextToken?: string | undefined;
838
+ Filters?: Filter[] | undefined;
835
839
  }
836
840
  export interface ProcessType {
837
841
  ProcessName: string | undefined;
@@ -1142,4 +1146,5 @@ export interface UpdateAutoScalingGroupType {
1142
1146
  | CapacityReservationSpecification
1143
1147
  | undefined;
1144
1148
  InstanceLifecyclePolicy?: InstanceLifecyclePolicy | undefined;
1149
+ DeletionProtection?: DeletionProtection | undefined;
1145
1150
  }
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.971.0",
4
+ "version": "3.974.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": "rimraf ./dist-* && rimraf *.tsbuildinfo",
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,38 +21,38 @@
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.970.0",
25
- "@aws-sdk/credential-provider-node": "3.971.0",
26
- "@aws-sdk/middleware-host-header": "3.969.0",
27
- "@aws-sdk/middleware-logger": "3.969.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.969.0",
29
- "@aws-sdk/middleware-user-agent": "3.970.0",
30
- "@aws-sdk/region-config-resolver": "3.969.0",
31
- "@aws-sdk/types": "3.969.0",
32
- "@aws-sdk/util-endpoints": "3.970.0",
33
- "@aws-sdk/util-user-agent-browser": "3.969.0",
34
- "@aws-sdk/util-user-agent-node": "3.971.0",
24
+ "@aws-sdk/core": "^3.973.0",
25
+ "@aws-sdk/credential-provider-node": "^3.972.1",
26
+ "@aws-sdk/middleware-host-header": "^3.972.1",
27
+ "@aws-sdk/middleware-logger": "^3.972.1",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.1",
30
+ "@aws-sdk/region-config-resolver": "^3.972.1",
31
+ "@aws-sdk/types": "^3.973.0",
32
+ "@aws-sdk/util-endpoints": "3.972.0",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.1",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.20.6",
36
+ "@smithy/core": "^3.21.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.7",
42
- "@smithy/middleware-retry": "^4.4.23",
41
+ "@smithy/middleware-endpoint": "^4.4.10",
42
+ "@smithy/middleware-retry": "^4.4.26",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.8",
48
+ "@smithy/smithy-client": "^4.10.11",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.22",
55
- "@smithy/util-defaults-mode-node": "^4.2.25",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.25",
55
+ "@smithy/util-defaults-mode-node": "^4.2.28",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",
@@ -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
- "rimraf": "5.0.10",
68
+ "premove": "4.0.0",
69
69
  "typescript": "~5.8.3"
70
70
  },
71
71
  "engines": {