aws-sdk-autoscaling 1.152.0 → 1.153.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d14734900241b0a061126060d3d519f915964f68b1929b71958887bc5aa3fa2
4
- data.tar.gz: c75574e36312f84e0d52e56594feeadfbee2b3b4be0bebeb6e13827d01a8a9f2
3
+ metadata.gz: '09ba5fe892965c12d520c42dc962958dafdf0daf1627a578391972aa6d689b61'
4
+ data.tar.gz: d3a9dbd2b5e989a253a05441ae5980e70a3e4f738430e4cbe5bde200103aa7e7
5
5
  SHA512:
6
- metadata.gz: 44a5cdc4a2abd80ba6eee0812f779be437b886fd18c8bba19502999925f0d2babd0b5fa05f183b2538725abf73f47fcd59cf31f70788012af70fa59378af7e94
7
- data.tar.gz: 6909294a6bddad7bde55b0141ebffa6e1bbe070ac35879d00a7ecc16507f139c50d05de83f5190bbc234814197b77dc9ec02f766c1f1e9e770fafa0d2be45583
6
+ metadata.gz: e2a08f9bcca7c40240ce57fddaa24a80a81a694349d92dd6413a2d8b0501d47306f6738c4cfcbd70edebee734f142b55178d7c8d811d8933676b977435a0edbc
7
+ data.tar.gz: 74381e42a5697b8a2c088a1c5c6072174c996a317f3657d85d73353a9f2cbefb73d7fab320c726b4b9f5d58df3001d469da3d2551fe95f10b83148db258e3f3d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.153.0 (2026-01-20)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for three new filters when describing scaling activities, StartTimeLowerBound, StartTimeUpperBound, and Status.
8
+
4
9
  1.152.0 (2026-01-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.152.0
1
+ 1.153.0
@@ -41,13 +41,14 @@ module Aws::AutoScaling
41
41
  data[:auto_scaling_group_arn]
42
42
  end
43
43
 
44
- # The name of the associated launch configuration.
44
+ # The name of the associated launch configuration for the Auto Scaling
45
+ # group.
45
46
  # @return [String]
46
47
  def launch_configuration_name
47
48
  data[:launch_configuration_name]
48
49
  end
49
50
 
50
- # The launch template for the group.
51
+ # The launch template for the Auto Scaling group.
51
52
  # @return [Types::LaunchTemplateSpecification]
52
53
  def launch_template
53
54
  data[:launch_template]
@@ -59,19 +60,19 @@ module Aws::AutoScaling
59
60
  data[:mixed_instances_policy]
60
61
  end
61
62
 
62
- # The minimum size of the group.
63
+ # The minimum size of the Auto Scaling group.
63
64
  # @return [Integer]
64
65
  def min_size
65
66
  data[:min_size]
66
67
  end
67
68
 
68
- # The maximum size of the group.
69
+ # The maximum size of the Auto Scaling group.
69
70
  # @return [Integer]
70
71
  def max_size
71
72
  data[:max_size]
72
73
  end
73
74
 
74
- # The desired size of the group.
75
+ # The desired size of the Auto Scaling group.
75
76
  # @return [Integer]
76
77
  def desired_capacity
77
78
  data[:desired_capacity]
@@ -84,13 +85,14 @@ module Aws::AutoScaling
84
85
  data[:predicted_capacity]
85
86
  end
86
87
 
87
- # The duration of the default cooldown period, in seconds.
88
+ # The duration of the default cooldown period, in seconds, for the Auto
89
+ # Scaling group.
88
90
  # @return [Integer]
89
91
  def default_cooldown
90
92
  data[:default_cooldown]
91
93
  end
92
94
 
93
- # One or more Availability Zones for the group.
95
+ # One or more Availability Zones for the Auto Scaling group.
94
96
  # @return [Array<String>]
95
97
  def availability_zones
96
98
  data[:availability_zones]
@@ -109,51 +111,53 @@ module Aws::AutoScaling
109
111
  data[:target_group_arns]
110
112
  end
111
113
 
112
- # A comma-separated value string of one or more health check types.
114
+ # One or more comma-separated health check types for the Auto Scaling
115
+ # group.
113
116
  # @return [String]
114
117
  def health_check_type
115
118
  data[:health_check_type]
116
119
  end
117
120
 
118
- # The duration of the health check grace period, in seconds.
121
+ # The duration of the health check grace period, in seconds, for the
122
+ # Auto Scaling group.
119
123
  # @return [Integer]
120
124
  def health_check_grace_period
121
125
  data[:health_check_grace_period]
122
126
  end
123
127
 
124
- # The date and time the group was created.
128
+ # The date and time the Auto Scaling group was created.
125
129
  # @return [Time]
126
130
  def created_time
127
131
  data[:created_time]
128
132
  end
129
133
 
130
- # The suspended processes associated with the group.
134
+ # The suspended processes associated with the Auto Scaling group.
131
135
  # @return [Array<Types::SuspendedProcess>]
132
136
  def suspended_processes
133
137
  data[:suspended_processes]
134
138
  end
135
139
 
136
- # The name of the placement group into which to launch your instances,
137
- # if any.
140
+ # The name of the placement group into which to launch EC2 instances for
141
+ # the Auto Scaling group.
138
142
  # @return [String]
139
143
  def placement_group
140
144
  data[:placement_group]
141
145
  end
142
146
 
143
- # One or more subnet IDs, if applicable, separated by commas.
147
+ # One or more comma-separated subnet IDs for the Auto Scaling group.
144
148
  # @return [String]
145
149
  def vpc_zone_identifier
146
150
  data[:vpc_zone_identifier]
147
151
  end
148
152
 
149
- # The metrics enabled for the group.
153
+ # The metrics enabled for the Auto Scaling group.
150
154
  # @return [Array<Types::EnabledMetric>]
151
155
  def enabled_metrics
152
156
  data[:enabled_metrics]
153
157
  end
154
158
 
155
- # The current state of the group when the [DeleteAutoScalingGroup][1]
156
- # operation is in progress.
159
+ # The current state of the Auto Scaling group when the
160
+ # [DeleteAutoScalingGroup][1] operation is in progress.
157
161
  #
158
162
  #
159
163
  #
@@ -163,17 +167,18 @@ module Aws::AutoScaling
163
167
  data[:status]
164
168
  end
165
169
 
166
- # The termination policies for the group.
170
+ # The termination policies for the Auto Scaling group.
167
171
  # @return [Array<String>]
168
172
  def termination_policies
169
173
  data[:termination_policies]
170
174
  end
171
175
 
172
- # Indicates whether newly launched instances are protected from
173
- # termination by Amazon EC2 Auto Scaling when scaling in. For more
174
- # information about preventing instances from terminating on scale in,
175
- # see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
176
- # Scaling User Guide*.
176
+ # Indicates whether newly launched EC2 instances are protected from
177
+ # termination when scaling in for the Auto Scaling group.
178
+ #
179
+ # For more information about preventing instances from terminating on
180
+ # scale in, see [Use instance scale-in protection][1] in the *Amazon EC2
181
+ # Auto Scaling User Guide*.
177
182
  #
178
183
  #
179
184
  #
@@ -191,10 +196,8 @@ module Aws::AutoScaling
191
196
  data[:service_linked_role_arn]
192
197
  end
193
198
 
194
- # The maximum amount of time, in seconds, that an instance can be in
195
- # service.
196
- #
197
- # Valid Range: Minimum value of 0.
199
+ # The maximum amount of time, in seconds, that an EC2 instance can be in
200
+ # service for the Auto Scaling group.
198
201
  # @return [Integer]
199
202
  def max_instance_lifetime
200
203
  data[:max_instance_lifetime]
@@ -232,7 +235,8 @@ module Aws::AutoScaling
232
235
  data[:desired_capacity_type]
233
236
  end
234
237
 
235
- # The duration of the default instance warmup, in seconds.
238
+ # The duration of the default EC2 instance warmup time, in seconds, for
239
+ # the Auto Scaling group.
236
240
  # @return [Integer]
237
241
  def default_instance_warmup
238
242
  data[:default_instance_warmup]
@@ -250,28 +254,26 @@ module Aws::AutoScaling
250
254
  data[:instance_maintenance_policy]
251
255
  end
252
256
 
253
- # The instance capacity distribution across Availability Zones.
257
+ # The EC2 instance capacity distribution across Availability Zones for
258
+ # the Auto Scaling group.
254
259
  # @return [Types::AvailabilityZoneDistribution]
255
260
  def availability_zone_distribution
256
261
  data[:availability_zone_distribution]
257
262
  end
258
263
 
259
- # The Availability Zone impairment policy.
264
+ # The Availability Zone impairment policy for the Auto Scaling group.
260
265
  # @return [Types::AvailabilityZoneImpairmentPolicy]
261
266
  def availability_zone_impairment_policy
262
267
  data[:availability_zone_impairment_policy]
263
268
  end
264
269
 
265
- # The capacity reservation specification.
270
+ # The capacity reservation specification for the Auto Scaling group.
266
271
  # @return [Types::CapacityReservationSpecification]
267
272
  def capacity_reservation_specification
268
273
  data[:capacity_reservation_specification]
269
274
  end
270
275
 
271
- # The instance lifecycle policy applied to this Auto Scaling group. This
272
- # policy determines instance behavior when an instance transitions
273
- # through its lifecycle states. It provides additional control over
274
- # graceful instance management processes.
276
+ # The instance lifecycle policy for the Auto Scaling group.
275
277
  # @return [Types::InstanceLifecyclePolicy]
276
278
  def instance_lifecycle_policy
277
279
  data[:instance_lifecycle_policy]
@@ -1561,11 +1563,18 @@ module Aws::AutoScaling
1561
1563
  # @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
1562
1564
  # The capacity reservation specification for the Auto Scaling group.
1563
1565
  # @option options [Types::InstanceLifecyclePolicy] :instance_lifecycle_policy
1564
- # The instance lifecycle policy for the Auto Scaling group. Use this to
1565
- # add, modify, or remove lifecycle policies that control instance
1566
- # behavior when an instance transitions through its lifecycle states.
1567
- # Configure retention triggers to specify when to preserve instances for
1568
- # manual intervention.
1566
+ # The instance lifecycle policy for the Auto Scaling group. This policy
1567
+ # controls instance behavior when an instance transitions through its
1568
+ # lifecycle states. Configure retention triggers to specify when
1569
+ # instances should move to a `Retained` state instead of automatic
1570
+ # termination.
1571
+ #
1572
+ # For more information, see [ Control instance retention with instance
1573
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
1574
+ #
1575
+ #
1576
+ #
1577
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
1569
1578
  # @return [AutoScalingGroup]
1570
1579
  def update(options = {})
1571
1580
  options = options.merge(auto_scaling_group_name: @name)
@@ -1585,19 +1594,50 @@ module Aws::AutoScaling
1585
1594
  # activities = auto_scaling_group.activities({
1586
1595
  # activity_ids: ["XmlString"],
1587
1596
  # include_deleted_groups: false,
1597
+ # filters: [
1598
+ # {
1599
+ # name: "XmlString",
1600
+ # values: ["XmlString"],
1601
+ # },
1602
+ # ],
1588
1603
  # })
1589
1604
  # @param [Hash] options ({})
1590
1605
  # @option options [Array<String>] :activity_ids
1591
- # The activity IDs of the desired scaling activities. If you omit this
1592
- # property, all activities for the past six weeks are described. If
1593
- # unknown activities are requested, they are ignored with no error. If
1594
- # you specify an Auto Scaling group, the results are limited to that
1595
- # group.
1606
+ # The activity IDs of the desired scaling activities. If unknown
1607
+ # activity IDs are requested, they are ignored with no error. Only
1608
+ # activities started within the last six weeks can be returned
1609
+ # regardless of the activity IDs specified. If other filters are
1610
+ # specified with the request, only results matching all filter criteria
1611
+ # can be returned.
1596
1612
  #
1597
1613
  # Array Members: Maximum number of 50 IDs.
1598
1614
  # @option options [Boolean] :include_deleted_groups
1599
1615
  # Indicates whether to include scaling activity from deleted Auto
1600
1616
  # Scaling groups.
1617
+ # @option options [Array<Types::Filter>] :filters
1618
+ # One or more filters to limit the results based on specific criteria.
1619
+ # The following filters are supported:
1620
+ #
1621
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
1622
+ # based on the activity start time. Scaling activities with a start
1623
+ # time earlier than this value are not included in the results. Only
1624
+ # activities started within the last six weeks can be returned
1625
+ # regardless of the value specified.
1626
+ #
1627
+ # * `StartTimeUpperBound` - The latest scaling activities to return
1628
+ # based on the activity start time. Scaling activities with a start
1629
+ # time later than this value are not included in the results. Only
1630
+ # activities started within the last six weeks can be returned
1631
+ # regardless of the value specified.
1632
+ #
1633
+ # * `Status` - The `StatusCode` value of the scaling activity. This
1634
+ # filter can only be used in combination with the
1635
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values, see
1636
+ # [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
1637
+ #
1638
+ #
1639
+ #
1640
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
1601
1641
  # @return [Activity::Collection]
1602
1642
  def activities(options = {})
1603
1643
  batches = Enumerator.new do |y|
@@ -1384,14 +1384,21 @@ module Aws::AutoScaling
1384
1384
  # The instance lifecycle policy for the Auto Scaling group. This policy
1385
1385
  # controls instance behavior when an instance transitions through its
1386
1386
  # lifecycle states. Configure retention triggers to specify when
1387
- # instances should move to a `Retained` state for manual intervention
1388
- # instead of automatic termination.
1387
+ # instances should move to a `Retained` state instead of automatic
1388
+ # termination.
1389
+ #
1390
+ # For more information, see [ Control instance retention with instance
1391
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
1389
1392
  #
1390
1393
  # <note markdown="1"> Instances in a Retained state will continue to incur standard EC2
1391
1394
  # charges until terminated.
1392
1395
  #
1393
1396
  # </note>
1394
1397
  #
1398
+ #
1399
+ #
1400
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
1401
+ #
1395
1402
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1396
1403
  #
1397
1404
  #
@@ -3971,17 +3978,21 @@ module Aws::AutoScaling
3971
3978
  # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html
3972
3979
  #
3973
3980
  # @option params [Array<String>] :activity_ids
3974
- # The activity IDs of the desired scaling activities. If you omit this
3975
- # property, all activities for the past six weeks are described. If
3976
- # unknown activities are requested, they are ignored with no error. If
3977
- # you specify an Auto Scaling group, the results are limited to that
3978
- # group.
3981
+ # The activity IDs of the desired scaling activities. If unknown
3982
+ # activity IDs are requested, they are ignored with no error. Only
3983
+ # activities started within the last six weeks can be returned
3984
+ # regardless of the activity IDs specified. If other filters are
3985
+ # specified with the request, only results matching all filter criteria
3986
+ # can be returned.
3979
3987
  #
3980
3988
  # Array Members: Maximum number of 50 IDs.
3981
3989
  #
3982
3990
  # @option params [String] :auto_scaling_group_name
3983
3991
  # The name of the Auto Scaling group.
3984
3992
  #
3993
+ # Omitting this property performs an account-wide operation, which can
3994
+ # result in slower or timed-out requests.
3995
+ #
3985
3996
  # @option params [Boolean] :include_deleted_groups
3986
3997
  # Indicates whether to include scaling activity from deleted Auto
3987
3998
  # Scaling groups.
@@ -3994,6 +4005,31 @@ module Aws::AutoScaling
3994
4005
  # The token for the next set of items to return. (You received this
3995
4006
  # token from a previous call.)
3996
4007
  #
4008
+ # @option params [Array<Types::Filter>] :filters
4009
+ # One or more filters to limit the results based on specific criteria.
4010
+ # The following filters are supported:
4011
+ #
4012
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
4013
+ # based on the activity start time. Scaling activities with a start
4014
+ # time earlier than this value are not included in the results. Only
4015
+ # activities started within the last six weeks can be returned
4016
+ # regardless of the value specified.
4017
+ #
4018
+ # * `StartTimeUpperBound` - The latest scaling activities to return
4019
+ # based on the activity start time. Scaling activities with a start
4020
+ # time later than this value are not included in the results. Only
4021
+ # activities started within the last six weeks can be returned
4022
+ # regardless of the value specified.
4023
+ #
4024
+ # * `Status` - The `StatusCode` value of the scaling activity. This
4025
+ # filter can only be used in combination with the
4026
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values, see
4027
+ # [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
4028
+ #
4029
+ #
4030
+ #
4031
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
4032
+ #
3997
4033
  # @return [Types::ActivitiesType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3998
4034
  #
3999
4035
  # * {Types::ActivitiesType#activities #activities} => Array&lt;Types::Activity&gt;
@@ -4036,6 +4072,12 @@ module Aws::AutoScaling
4036
4072
  # include_deleted_groups: false,
4037
4073
  # max_records: 1,
4038
4074
  # next_token: "XmlString",
4075
+ # filters: [
4076
+ # {
4077
+ # name: "XmlString",
4078
+ # values: ["XmlString"],
4079
+ # },
4080
+ # ],
4039
4081
  # })
4040
4082
  #
4041
4083
  # @example Response structure
@@ -6770,7 +6812,7 @@ module Aws::AutoScaling
6770
6812
  # The name of the Auto Scaling group.
6771
6813
  #
6772
6814
  # @option params [String] :strategy
6773
- # The strategy to use for the instance refresh. The only valid value is
6815
+ # The strategy to use for the instance refresh. The default value is
6774
6816
  # `Rolling`.
6775
6817
  #
6776
6818
  # @option params [Types::DesiredConfiguration] :desired_configuration
@@ -7428,11 +7470,18 @@ module Aws::AutoScaling
7428
7470
  # The capacity reservation specification for the Auto Scaling group.
7429
7471
  #
7430
7472
  # @option params [Types::InstanceLifecyclePolicy] :instance_lifecycle_policy
7431
- # The instance lifecycle policy for the Auto Scaling group. Use this to
7432
- # add, modify, or remove lifecycle policies that control instance
7433
- # behavior when an instance transitions through its lifecycle states.
7434
- # Configure retention triggers to specify when to preserve instances for
7435
- # manual intervention.
7473
+ # The instance lifecycle policy for the Auto Scaling group. This policy
7474
+ # controls instance behavior when an instance transitions through its
7475
+ # lifecycle states. Configure retention triggers to specify when
7476
+ # instances should move to a `Retained` state instead of automatic
7477
+ # termination.
7478
+ #
7479
+ # For more information, see [ Control instance retention with instance
7480
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
7481
+ #
7482
+ #
7483
+ #
7484
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
7436
7485
  #
7437
7486
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7438
7487
  #
@@ -7623,7 +7672,7 @@ module Aws::AutoScaling
7623
7672
  tracer: tracer
7624
7673
  )
7625
7674
  context[:gem_name] = 'aws-sdk-autoscaling'
7626
- context[:gem_version] = '1.152.0'
7675
+ context[:gem_version] = '1.153.0'
7627
7676
  Seahorse::Client::Request.new(handlers, context)
7628
7677
  end
7629
7678
 
@@ -859,6 +859,7 @@ module Aws::AutoScaling
859
859
  DescribeScalingActivitiesType.add_member(:include_deleted_groups, Shapes::ShapeRef.new(shape: IncludeDeletedGroups, location_name: "IncludeDeletedGroups"))
860
860
  DescribeScalingActivitiesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
861
861
  DescribeScalingActivitiesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
862
+ DescribeScalingActivitiesType.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
862
863
  DescribeScalingActivitiesType.struct_class = Types::DescribeScalingActivitiesType
863
864
 
864
865
  DescribeScheduledActionsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
@@ -62,11 +62,12 @@ module Aws::AutoScaling
62
62
  #
63
63
  # Valid values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
64
64
  # `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait` \|
65
- # `Terminating:Proceed` \| `Terminated` \| `Detaching` \| `Detached` \|
66
- # `EnteringStandby` \| `Standby` \| `Warmed:Pending` \|
67
- # `Warmed:Pending:Wait` \| `Warmed:Pending:Proceed` \|
68
- # `Warmed:Terminating` \| `Warmed:Terminating:Wait` \|
69
- # `Warmed:Terminating:Proceed` \| `Warmed:Terminated` \|
65
+ # `Terminating:Proceed` \| `Terminating:Retained` \| `Terminated` \|
66
+ # `Detaching` \| `Detached` \| `EnteringStandby` \| `Standby` \|
67
+ # `Warmed:Pending` \| `Warmed:Pending:Wait` \| `Warmed:Pending:Proceed`
68
+ # \| `Warmed:Pending:Retained` \| `Warmed:Terminating` \|
69
+ # `Warmed:Terminating:Wait` \| `Warmed:Terminating:Proceed` \|
70
+ # `Warmed:Terminating:Retained` \| `Warmed:Terminated` \|
70
71
  # `Warmed:Stopped` \| `Warmed:Running`
71
72
  #
72
73
  #
@@ -518,13 +518,20 @@ module Aws::AutoScaling
518
518
  # The instance lifecycle policy for the Auto Scaling group. This policy
519
519
  # controls instance behavior when an instance transitions through its
520
520
  # lifecycle states. Configure retention triggers to specify when
521
- # instances should move to a `Retained` state for manual intervention
522
- # instead of automatic termination.
521
+ # instances should move to a `Retained` state instead of automatic
522
+ # termination.
523
+ #
524
+ # For more information, see [ Control instance retention with instance
525
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
523
526
  #
524
527
  # <note markdown="1"> Instances in a Retained state will continue to incur standard EC2
525
528
  # charges until terminated.
526
529
  #
527
530
  # </note>
531
+ #
532
+ #
533
+ #
534
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
528
535
  # @return [AutoScalingGroup]
529
536
  def create_group(options = {})
530
537
  Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -803,21 +810,55 @@ module Aws::AutoScaling
803
810
  # activity_ids: ["XmlString"],
804
811
  # auto_scaling_group_name: "XmlStringMaxLen255",
805
812
  # include_deleted_groups: false,
813
+ # filters: [
814
+ # {
815
+ # name: "XmlString",
816
+ # values: ["XmlString"],
817
+ # },
818
+ # ],
806
819
  # })
807
820
  # @param [Hash] options ({})
808
821
  # @option options [Array<String>] :activity_ids
809
- # The activity IDs of the desired scaling activities. If you omit this
810
- # property, all activities for the past six weeks are described. If
811
- # unknown activities are requested, they are ignored with no error. If
812
- # you specify an Auto Scaling group, the results are limited to that
813
- # group.
822
+ # The activity IDs of the desired scaling activities. If unknown
823
+ # activity IDs are requested, they are ignored with no error. Only
824
+ # activities started within the last six weeks can be returned
825
+ # regardless of the activity IDs specified. If other filters are
826
+ # specified with the request, only results matching all filter criteria
827
+ # can be returned.
814
828
  #
815
829
  # Array Members: Maximum number of 50 IDs.
816
830
  # @option options [String] :auto_scaling_group_name
817
831
  # The name of the Auto Scaling group.
832
+ #
833
+ # Omitting this property performs an account-wide operation, which can
834
+ # result in slower or timed-out requests.
818
835
  # @option options [Boolean] :include_deleted_groups
819
836
  # Indicates whether to include scaling activity from deleted Auto
820
837
  # Scaling groups.
838
+ # @option options [Array<Types::Filter>] :filters
839
+ # One or more filters to limit the results based on specific criteria.
840
+ # The following filters are supported:
841
+ #
842
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
843
+ # based on the activity start time. Scaling activities with a start
844
+ # time earlier than this value are not included in the results. Only
845
+ # activities started within the last six weeks can be returned
846
+ # regardless of the value specified.
847
+ #
848
+ # * `StartTimeUpperBound` - The latest scaling activities to return
849
+ # based on the activity start time. Scaling activities with a start
850
+ # time later than this value are not included in the results. Only
851
+ # activities started within the last six weeks can be returned
852
+ # regardless of the value specified.
853
+ #
854
+ # * `Status` - The `StatusCode` value of the scaling activity. This
855
+ # filter can only be used in combination with the
856
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values, see
857
+ # [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
858
+ #
859
+ #
860
+ #
861
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
821
862
  # @return [Activity::Collection]
822
863
  def activities(options = {})
823
864
  batches = Enumerator.new do |y|
@@ -357,11 +357,12 @@ module Aws::AutoScaling
357
357
  # @return [String]
358
358
  #
359
359
  # @!attribute [rw] launch_configuration_name
360
- # The name of the associated launch configuration.
360
+ # The name of the associated launch configuration for the Auto Scaling
361
+ # group.
361
362
  # @return [String]
362
363
  #
363
364
  # @!attribute [rw] launch_template
364
- # The launch template for the group.
365
+ # The launch template for the Auto Scaling group.
365
366
  # @return [Types::LaunchTemplateSpecification]
366
367
  #
367
368
  # @!attribute [rw] mixed_instances_policy
@@ -369,15 +370,15 @@ module Aws::AutoScaling
369
370
  # @return [Types::MixedInstancesPolicy]
370
371
  #
371
372
  # @!attribute [rw] min_size
372
- # The minimum size of the group.
373
+ # The minimum size of the Auto Scaling group.
373
374
  # @return [Integer]
374
375
  #
375
376
  # @!attribute [rw] max_size
376
- # The maximum size of the group.
377
+ # The maximum size of the Auto Scaling group.
377
378
  # @return [Integer]
378
379
  #
379
380
  # @!attribute [rw] desired_capacity
380
- # The desired size of the group.
381
+ # The desired size of the Auto Scaling group.
381
382
  # @return [Integer]
382
383
  #
383
384
  # @!attribute [rw] predicted_capacity
@@ -386,11 +387,12 @@ module Aws::AutoScaling
386
387
  # @return [Integer]
387
388
  #
388
389
  # @!attribute [rw] default_cooldown
389
- # The duration of the default cooldown period, in seconds.
390
+ # The duration of the default cooldown period, in seconds, for the
391
+ # Auto Scaling group.
390
392
  # @return [Integer]
391
393
  #
392
394
  # @!attribute [rw] availability_zones
393
- # One or more Availability Zones for the group.
395
+ # One or more Availability Zones for the Auto Scaling group.
394
396
  # @return [Array<String>]
395
397
  #
396
398
  # @!attribute [rw] load_balancer_names
@@ -403,41 +405,43 @@ module Aws::AutoScaling
403
405
  # @return [Array<String>]
404
406
  #
405
407
  # @!attribute [rw] health_check_type
406
- # A comma-separated value string of one or more health check types.
408
+ # One or more comma-separated health check types for the Auto Scaling
409
+ # group.
407
410
  # @return [String]
408
411
  #
409
412
  # @!attribute [rw] health_check_grace_period
410
- # The duration of the health check grace period, in seconds.
413
+ # The duration of the health check grace period, in seconds, for the
414
+ # Auto Scaling group.
411
415
  # @return [Integer]
412
416
  #
413
417
  # @!attribute [rw] instances
414
- # The EC2 instances associated with the group.
418
+ # The EC2 instances associated with the Auto Scaling group.
415
419
  # @return [Array<Types::Instance>]
416
420
  #
417
421
  # @!attribute [rw] created_time
418
- # The date and time the group was created.
422
+ # The date and time the Auto Scaling group was created.
419
423
  # @return [Time]
420
424
  #
421
425
  # @!attribute [rw] suspended_processes
422
- # The suspended processes associated with the group.
426
+ # The suspended processes associated with the Auto Scaling group.
423
427
  # @return [Array<Types::SuspendedProcess>]
424
428
  #
425
429
  # @!attribute [rw] placement_group
426
- # The name of the placement group into which to launch your instances,
427
- # if any.
430
+ # The name of the placement group into which to launch EC2 instances
431
+ # for the Auto Scaling group.
428
432
  # @return [String]
429
433
  #
430
434
  # @!attribute [rw] vpc_zone_identifier
431
- # One or more subnet IDs, if applicable, separated by commas.
435
+ # One or more comma-separated subnet IDs for the Auto Scaling group.
432
436
  # @return [String]
433
437
  #
434
438
  # @!attribute [rw] enabled_metrics
435
- # The metrics enabled for the group.
439
+ # The metrics enabled for the Auto Scaling group.
436
440
  # @return [Array<Types::EnabledMetric>]
437
441
  #
438
442
  # @!attribute [rw] status
439
- # The current state of the group when the [DeleteAutoScalingGroup][1]
440
- # operation is in progress.
443
+ # The current state of the Auto Scaling group when the
444
+ # [DeleteAutoScalingGroup][1] operation is in progress.
441
445
  #
442
446
  #
443
447
  #
@@ -445,19 +449,20 @@ module Aws::AutoScaling
445
449
  # @return [String]
446
450
  #
447
451
  # @!attribute [rw] tags
448
- # The tags for the group.
452
+ # The tags for the Auto Scaling group.
449
453
  # @return [Array<Types::TagDescription>]
450
454
  #
451
455
  # @!attribute [rw] termination_policies
452
- # The termination policies for the group.
456
+ # The termination policies for the Auto Scaling group.
453
457
  # @return [Array<String>]
454
458
  #
455
459
  # @!attribute [rw] new_instances_protected_from_scale_in
456
- # Indicates whether newly launched instances are protected from
457
- # termination by Amazon EC2 Auto Scaling when scaling in. For more
458
- # information about preventing instances from terminating on scale in,
459
- # see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
460
- # Scaling User Guide*.
460
+ # Indicates whether newly launched EC2 instances are protected from
461
+ # termination when scaling in for the Auto Scaling group.
462
+ #
463
+ # For more information about preventing instances from terminating on
464
+ # scale in, see [Use instance scale-in protection][1] in the *Amazon
465
+ # EC2 Auto Scaling User Guide*.
461
466
  #
462
467
  #
463
468
  #
@@ -471,10 +476,8 @@ module Aws::AutoScaling
471
476
  # @return [String]
472
477
  #
473
478
  # @!attribute [rw] max_instance_lifetime
474
- # The maximum amount of time, in seconds, that an instance can be in
475
- # service.
476
- #
477
- # Valid Range: Minimum value of 0.
479
+ # The maximum amount of time, in seconds, that an EC2 instance can be
480
+ # in service for the Auto Scaling group.
478
481
  # @return [Integer]
479
482
  #
480
483
  # @!attribute [rw] capacity_rebalance
@@ -500,7 +503,8 @@ module Aws::AutoScaling
500
503
  # @return [String]
501
504
  #
502
505
  # @!attribute [rw] default_instance_warmup
503
- # The duration of the default instance warmup, in seconds.
506
+ # The duration of the default EC2 instance warmup time, in seconds,
507
+ # for the Auto Scaling group.
504
508
  # @return [Integer]
505
509
  #
506
510
  # @!attribute [rw] traffic_sources
@@ -512,22 +516,20 @@ module Aws::AutoScaling
512
516
  # @return [Types::InstanceMaintenancePolicy]
513
517
  #
514
518
  # @!attribute [rw] availability_zone_distribution
515
- # The instance capacity distribution across Availability Zones.
519
+ # The EC2 instance capacity distribution across Availability Zones for
520
+ # the Auto Scaling group.
516
521
  # @return [Types::AvailabilityZoneDistribution]
517
522
  #
518
523
  # @!attribute [rw] availability_zone_impairment_policy
519
- # The Availability Zone impairment policy.
524
+ # The Availability Zone impairment policy for the Auto Scaling group.
520
525
  # @return [Types::AvailabilityZoneImpairmentPolicy]
521
526
  #
522
527
  # @!attribute [rw] capacity_reservation_specification
523
- # The capacity reservation specification.
528
+ # The capacity reservation specification for the Auto Scaling group.
524
529
  # @return [Types::CapacityReservationSpecification]
525
530
  #
526
531
  # @!attribute [rw] instance_lifecycle_policy
527
- # The instance lifecycle policy applied to this Auto Scaling group.
528
- # This policy determines instance behavior when an instance
529
- # transitions through its lifecycle states. It provides additional
530
- # control over graceful instance management processes.
532
+ # The instance lifecycle policy for the Auto Scaling group.
531
533
  # @return [Types::InstanceLifecyclePolicy]
532
534
  #
533
535
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
@@ -662,12 +664,13 @@ module Aws::AutoScaling
662
664
  #
663
665
  # Valid values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
664
666
  # `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait`
665
- # \| `Terminating:Proceed` \| `Terminated` \| `Detaching` \|
666
- # `Detached` \| `EnteringStandby` \| `Standby` \| `Warmed:Pending` \|
667
- # `Warmed:Pending:Wait` \| `Warmed:Pending:Proceed` \|
667
+ # \| `Terminating:Proceed` \| `Terminating:Retained` \| `Terminated`
668
+ # \| `Detaching` \| `Detached` \| `EnteringStandby` \| `Standby` \|
669
+ # `Warmed:Pending` \| `Warmed:Pending:Wait` \|
670
+ # `Warmed:Pending:Proceed` \| `Warmed:Pending:Retained` \|
668
671
  # `Warmed:Terminating` \| `Warmed:Terminating:Wait` \|
669
- # `Warmed:Terminating:Proceed` \| `Warmed:Terminated` \|
670
- # `Warmed:Stopped` \| `Warmed:Running`
672
+ # `Warmed:Terminating:Proceed` \| `Warmed:Terminating:Retained` \|
673
+ # `Warmed:Terminated` \| `Warmed:Stopped` \| `Warmed:Running`
671
674
  #
672
675
  #
673
676
  #
@@ -1533,13 +1536,20 @@ module Aws::AutoScaling
1533
1536
  # The instance lifecycle policy for the Auto Scaling group. This
1534
1537
  # policy controls instance behavior when an instance transitions
1535
1538
  # through its lifecycle states. Configure retention triggers to
1536
- # specify when instances should move to a `Retained` state for manual
1537
- # intervention instead of automatic termination.
1539
+ # specify when instances should move to a `Retained` state instead of
1540
+ # automatic termination.
1541
+ #
1542
+ # For more information, see [ Control instance retention with instance
1543
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
1538
1544
  #
1539
1545
  # <note markdown="1"> Instances in a Retained state will continue to incur standard EC2
1540
1546
  # charges until terminated.
1541
1547
  #
1542
1548
  # </note>
1549
+ #
1550
+ #
1551
+ #
1552
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
1543
1553
  # @return [Types::InstanceLifecyclePolicy]
1544
1554
  #
1545
1555
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
@@ -2457,17 +2467,21 @@ module Aws::AutoScaling
2457
2467
  end
2458
2468
 
2459
2469
  # @!attribute [rw] activity_ids
2460
- # The activity IDs of the desired scaling activities. If you omit this
2461
- # property, all activities for the past six weeks are described. If
2462
- # unknown activities are requested, they are ignored with no error. If
2463
- # you specify an Auto Scaling group, the results are limited to that
2464
- # group.
2470
+ # The activity IDs of the desired scaling activities. If unknown
2471
+ # activity IDs are requested, they are ignored with no error. Only
2472
+ # activities started within the last six weeks can be returned
2473
+ # regardless of the activity IDs specified. If other filters are
2474
+ # specified with the request, only results matching all filter
2475
+ # criteria can be returned.
2465
2476
  #
2466
2477
  # Array Members: Maximum number of 50 IDs.
2467
2478
  # @return [Array<String>]
2468
2479
  #
2469
2480
  # @!attribute [rw] auto_scaling_group_name
2470
2481
  # The name of the Auto Scaling group.
2482
+ #
2483
+ # Omitting this property performs an account-wide operation, which can
2484
+ # result in slower or timed-out requests.
2471
2485
  # @return [String]
2472
2486
  #
2473
2487
  # @!attribute [rw] include_deleted_groups
@@ -2485,6 +2499,32 @@ module Aws::AutoScaling
2485
2499
  # token from a previous call.)
2486
2500
  # @return [String]
2487
2501
  #
2502
+ # @!attribute [rw] filters
2503
+ # One or more filters to limit the results based on specific criteria.
2504
+ # The following filters are supported:
2505
+ #
2506
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
2507
+ # based on the activity start time. Scaling activities with a start
2508
+ # time earlier than this value are not included in the results. Only
2509
+ # activities started within the last six weeks can be returned
2510
+ # regardless of the value specified.
2511
+ #
2512
+ # * `StartTimeUpperBound` - The latest scaling activities to return
2513
+ # based on the activity start time. Scaling activities with a start
2514
+ # time later than this value are not included in the results. Only
2515
+ # activities started within the last six weeks can be returned
2516
+ # regardless of the value specified.
2517
+ #
2518
+ # * `Status` - The `StatusCode` value of the scaling activity. This
2519
+ # filter can only be used in combination with the
2520
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values,
2521
+ # see [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
2522
+ #
2523
+ #
2524
+ #
2525
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
2526
+ # @return [Array<Types::Filter>]
2527
+ #
2488
2528
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivitiesType AWS API Documentation
2489
2529
  #
2490
2530
  class DescribeScalingActivitiesType < Struct.new(
@@ -2492,7 +2532,8 @@ module Aws::AutoScaling
2492
2532
  :auto_scaling_group_name,
2493
2533
  :include_deleted_groups,
2494
2534
  :max_records,
2495
- :next_token)
2535
+ :next_token,
2536
+ :filters)
2496
2537
  SENSITIVE = []
2497
2538
  include Aws::Structure
2498
2539
  end
@@ -3321,10 +3362,11 @@ module Aws::AutoScaling
3321
3362
  # The name of the filter.
3322
3363
  #
3323
3364
  # The valid values for `Name` depend on which API operation you're
3324
- # using with the filter ([DescribeAutoScalingGroups][1] or
3325
- # [DescribeTags][2]).
3365
+ # using with the filter.
3326
3366
  #
3327
- # **DescribeAutoScalingGroups**
3367
+ # <b> <a
3368
+ # href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a>
3369
+ # </b>
3328
3370
  #
3329
3371
  # Valid values for `Name` include the following:
3330
3372
  #
@@ -3340,7 +3382,9 @@ module Aws::AutoScaling
3340
3382
  # value. The results only include information about the Auto Scaling
3341
3383
  # groups associated with the specified key/value combination.
3342
3384
  #
3343
- # **DescribeTags**
3385
+ # <b> <a
3386
+ # href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTags.html">DescribeTags</a>
3387
+ # </b>
3344
3388
  #
3345
3389
  # Valid values for `Name` include the following:
3346
3390
  #
@@ -3359,10 +3403,32 @@ module Aws::AutoScaling
3359
3403
  # include information about the tags associated with the specified
3360
3404
  # Boolean value.
3361
3405
  #
3406
+ # <b> <a
3407
+ # href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeScalingActivities.html">DescribeScalingActivities</a>
3408
+ # </b>
3409
+ #
3410
+ # Valid values for `Name` include the following:
3411
+ #
3412
+ # * `StartTimeLowerBound` - The earliest scaling activities to return
3413
+ # based on the activity start time. Scaling activities with a start
3414
+ # time earlier than this value are not included in the results. Only
3415
+ # activities started within the last six weeks can be returned
3416
+ # regardless of the value specified.
3417
+ #
3418
+ # * `StartTimeUpperBound` - The latest scaling activities to return
3419
+ # based on the activity start time. Scaling activities with a start
3420
+ # time later than this value are not included in the results. Only
3421
+ # activities started within the last six weeks can be returned
3422
+ # regardless of the value specified.
3423
+ #
3424
+ # * `Status` - The `StatusCode` value of the scaling activity. This
3425
+ # filter can only be used in combination with the
3426
+ # `AutoScalingGroupName` parameter. For valid `StatusCode` values,
3427
+ # see [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
3362
3428
  #
3363
3429
  #
3364
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html
3365
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeTags.html
3430
+ #
3431
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
3366
3432
  # @return [String]
3367
3433
  #
3368
3434
  # @!attribute [rw] values
@@ -3370,11 +3436,17 @@ module Aws::AutoScaling
3370
3436
  #
3371
3437
  # If you specify multiple values for a filter, the values are
3372
3438
  # automatically logically joined with an `OR`, and the request returns
3373
- # all results that match any of the specified values. For example,
3374
- # specify "tag:environment" for the filter name and
3375
- # "production,development" for the filter values to find Auto
3376
- # Scaling groups with the tag "environment=production" or
3377
- # "environment=development".
3439
+ # all results that match any of the specified values.
3440
+ #
3441
+ # **DescribeAutoScalingGroups example:** Specify "tag:environment"
3442
+ # for the filter name and "production,development" for the filter
3443
+ # values to find Auto Scaling groups with the tag
3444
+ # "environment=production" or "environment=development".
3445
+ #
3446
+ # **DescribeScalingActivities example:** Specify "Status" for the
3447
+ # filter name and "Successful,Failed" for the filter values to find
3448
+ # scaling activities with a status of either "Successful" or
3449
+ # "Failed".
3378
3450
  # @return [Array<String>]
3379
3451
  #
3380
3452
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter AWS API Documentation
@@ -3590,17 +3662,25 @@ module Aws::AutoScaling
3590
3662
  include Aws::Structure
3591
3663
  end
3592
3664
 
3593
- # Defines the lifecycle policy for instances in an Auto Scaling group.
3594
- # This policy controls instance behavior when lifecycles transition and
3595
- # operations fail. Use lifecycle policies to ensure graceful shutdown
3596
- # for stateful workloads or applications requiring extended draining
3597
- # periods.
3665
+ # The instance lifecycle policy for the Auto Scaling group. This policy
3666
+ # controls instance behavior when an instance transitions through its
3667
+ # lifecycle states. Configure retention triggers to specify when
3668
+ # instances should move to a `Retained` state instead of automatic
3669
+ # termination.
3670
+ #
3671
+ # For more information, see [ Control instance retention with instance
3672
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
3673
+ #
3674
+ #
3675
+ #
3676
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
3598
3677
  #
3599
3678
  # @!attribute [rw] retention_triggers
3600
3679
  # Specifies the conditions that trigger instance retention behavior.
3601
- # These triggers determine when instances should move to a Retained
3602
- # state instead of being terminated. This allows you to maintain
3603
- # control over instance management when lifecycle operations fail.
3680
+ # These triggers determine when instances should move to a `Retained`
3681
+ # state instead of automatic termination. This allows you to maintain
3682
+ # control over instance management when lifecycles transition and
3683
+ # operations fail.
3604
3684
  # @return [Types::RetentionTriggers]
3605
3685
  #
3606
3686
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceLifecyclePolicy AWS API Documentation
@@ -7194,8 +7274,8 @@ module Aws::AutoScaling
7194
7274
  # due to failure, timeout, or explicit abandonment (calling
7195
7275
  # CompleteLifecycleAction).
7196
7276
  #
7197
- # Set to `Retain` to move instances to a `Retained` state. Set to
7198
- # `Terminate` for default termination behavior.
7277
+ # Set to `retain` to move instances to a retained state. Set to
7278
+ # `terminate` for default termination behavior.
7199
7279
  #
7200
7280
  # Retained instances don't count toward desired capacity and remain
7201
7281
  # until you call `TerminateInstanceInAutoScalingGroup`.
@@ -7743,8 +7823,8 @@ module Aws::AutoScaling
7743
7823
  # @return [String]
7744
7824
  #
7745
7825
  # @!attribute [rw] strategy
7746
- # The strategy to use for the instance refresh. The only valid value
7747
- # is `Rolling`.
7826
+ # The strategy to use for the instance refresh. The default value is
7827
+ # `Rolling`.
7748
7828
  # @return [String]
7749
7829
  #
7750
7830
  # @!attribute [rw] desired_configuration
@@ -8615,11 +8695,18 @@ module Aws::AutoScaling
8615
8695
  # @return [Types::CapacityReservationSpecification]
8616
8696
  #
8617
8697
  # @!attribute [rw] instance_lifecycle_policy
8618
- # The instance lifecycle policy for the Auto Scaling group. Use this
8619
- # to add, modify, or remove lifecycle policies that control instance
8620
- # behavior when an instance transitions through its lifecycle states.
8621
- # Configure retention triggers to specify when to preserve instances
8622
- # for manual intervention.
8698
+ # The instance lifecycle policy for the Auto Scaling group. This
8699
+ # policy controls instance behavior when an instance transitions
8700
+ # through its lifecycle states. Configure retention triggers to
8701
+ # specify when instances should move to a `Retained` state instead of
8702
+ # automatic termination.
8703
+ #
8704
+ # For more information, see [ Control instance retention with instance
8705
+ # lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
8706
+ #
8707
+ #
8708
+ #
8709
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
8623
8710
  # @return [Types::InstanceLifecyclePolicy]
8624
8711
  #
8625
8712
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
@@ -65,7 +65,7 @@ module Aws::AutoScaling
65
65
  autoload :ScheduledAction, 'aws-sdk-autoscaling/scheduled_action'
66
66
  autoload :Tag, 'aws-sdk-autoscaling/tag'
67
67
 
68
- GEM_VERSION = '1.152.0'
68
+ GEM_VERSION = '1.153.0'
69
69
 
70
70
  end
71
71
 
@@ -527,7 +527,13 @@ module Aws
527
527
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#activities-instance_method
528
528
  def activities: (
529
529
  ?activity_ids: Array[::String],
530
- ?include_deleted_groups: bool
530
+ ?include_deleted_groups: bool,
531
+ ?filters: Array[
532
+ {
533
+ name: ::String?,
534
+ values: Array[::String]?
535
+ },
536
+ ]
531
537
  ) -> Activity::Collection
532
538
  | (?Hash[Symbol, untyped]) -> Activity::Collection
533
539
 
data/sig/client.rbs CHANGED
@@ -658,7 +658,13 @@ module Aws
658
658
  ?auto_scaling_group_name: ::String,
659
659
  ?include_deleted_groups: bool,
660
660
  ?max_records: ::Integer,
661
- ?next_token: ::String
661
+ ?next_token: ::String,
662
+ ?filters: Array[
663
+ {
664
+ name: ::String?,
665
+ values: Array[::String]?
666
+ },
667
+ ]
662
668
  ) -> _DescribeScalingActivitiesResponseSuccess
663
669
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScalingActivitiesResponseSuccess
664
670
 
data/sig/resource.rbs CHANGED
@@ -303,7 +303,13 @@ module Aws
303
303
  def activities: (
304
304
  ?activity_ids: Array[::String],
305
305
  ?auto_scaling_group_name: ::String,
306
- ?include_deleted_groups: bool
306
+ ?include_deleted_groups: bool,
307
+ ?filters: Array[
308
+ {
309
+ name: ::String?,
310
+ values: Array[::String]?
311
+ },
312
+ ]
307
313
  ) -> Activity::Collection
308
314
  | (?Hash[Symbol, untyped]) -> Activity::Collection
309
315
 
data/sig/types.rbs CHANGED
@@ -522,6 +522,7 @@ module Aws::AutoScaling
522
522
  attr_accessor include_deleted_groups: bool
523
523
  attr_accessor max_records: ::Integer
524
524
  attr_accessor next_token: ::String
525
+ attr_accessor filters: ::Array[Types::Filter]
525
526
  SENSITIVE: []
526
527
  end
527
528
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.152.0
4
+ version: 1.153.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services