aws-sdk-autoscaling 1.123.0 → 1.125.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 021e27982d2cf20a329d3f036f4f6113c9e2551979911e49973488b7c31fe989
4
- data.tar.gz: ed9a65c6cf930c9b27ac0bb92683199f50b6d51cf85ea3769fdf0cd1bf04ffab
3
+ metadata.gz: adc3e8ce5ee2fe4115a7c2c5507aab943a6c8cf8918d8fd7a70aa817e010f85f
4
+ data.tar.gz: 5e3ac83e610a1c7be5aa234c136a6629c24bf71d7b0f564244d70f4732c14990
5
5
  SHA512:
6
- metadata.gz: 61ffe80b0912626dc30573d2933e8f59f0d2b947ca033ef422facd346ec27c2efe00f3005c3aba146850683156a56afbb23db072c16f76c254ae7a0644c3c418
7
- data.tar.gz: 9da1c8aa220d2f5dc5ce689be4c31a00d73e96e696e7a7274cf1a3181cd6493eac7310baef9d460cf6b92a74cbaa2a9b97cddcdb092a97bcf05bd3f8cb85ecbb
6
+ metadata.gz: 31a378654a92ef7f7120fa66da3d38ac6206d0552d904e726148408e90c750739b3c317a4dbb737990ccd76c53de6a86b353a65a6ec340351c306752d37cdfe7
7
+ data.tar.gz: 18d9bc3d55331bf59b107d0f9e9cea6800411e4f0fc7dd49f65462c91c6c2f6b531d73c7d96432e671a0f886b104d0ff9d9f2825cd547849799c6c40a6123337
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.125.0 (2024-11-07)
5
+ ------------------
6
+
7
+ * Feature - Auto Scaling groups now support the ability to strictly balance instances across Availability Zones by configuring the AvailabilityZoneDistribution parameter. If balanced-only is configured for a group, launches will always be attempted in the under scaled Availability Zone even if it is unhealthy.
8
+
9
+ 1.124.0 (2024-10-31)
10
+ ------------------
11
+
12
+ * Feature - Adds bake time for Auto Scaling group Instance Refresh
13
+
4
14
  1.123.0 (2024-10-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.123.0
1
+ 1.125.0
@@ -243,6 +243,12 @@ module Aws::AutoScaling
243
243
  data[:instance_maintenance_policy]
244
244
  end
245
245
 
246
+ # The instance capacity distribution across Availability Zones.
247
+ # @return [Types::AvailabilityZoneDistribution]
248
+ def availability_zone_distribution
249
+ data[:availability_zone_distribution]
250
+ end
251
+
246
252
  # @!endgroup
247
253
 
248
254
  # @return [Client]
@@ -1273,6 +1279,9 @@ module Aws::AutoScaling
1273
1279
  # min_healthy_percentage: 1,
1274
1280
  # max_healthy_percentage: 1,
1275
1281
  # },
1282
+ # availability_zone_distribution: {
1283
+ # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
1284
+ # },
1276
1285
  # })
1277
1286
  # @param [Hash] options ({})
1278
1287
  # @option options [String] :launch_configuration_name
@@ -1470,6 +1479,8 @@ module Aws::AutoScaling
1470
1479
  #
1471
1480
  #
1472
1481
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
1482
+ # @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
1483
+ # The instance capacity distribution across Availability Zones.
1473
1484
  # @return [AutoScalingGroup]
1474
1485
  def update(options = {})
1475
1486
  options = options.merge(auto_scaling_group_name: @name)
@@ -1309,6 +1309,9 @@ module Aws::AutoScaling
1309
1309
  #
1310
1310
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
1311
1311
  #
1312
+ # @option params [Types::AvailabilityZoneDistribution] :availability_zone_distribution
1313
+ # The instance capacity distribution across Availability Zones.
1314
+ #
1312
1315
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1313
1316
  #
1314
1317
  #
@@ -1574,6 +1577,9 @@ module Aws::AutoScaling
1574
1577
  # min_healthy_percentage: 1,
1575
1578
  # max_healthy_percentage: 1,
1576
1579
  # },
1580
+ # availability_zone_distribution: {
1581
+ # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
1582
+ # },
1577
1583
  # })
1578
1584
  #
1579
1585
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
@@ -2681,6 +2687,7 @@ module Aws::AutoScaling
2681
2687
  # resp.auto_scaling_groups[0].traffic_sources[0].type #=> String
2682
2688
  # resp.auto_scaling_groups[0].instance_maintenance_policy.min_healthy_percentage #=> Integer
2683
2689
  # resp.auto_scaling_groups[0].instance_maintenance_policy.max_healthy_percentage #=> Integer
2690
+ # resp.auto_scaling_groups[0].availability_zone_distribution.capacity_distribution_strategy #=> String, one of "balanced-only", "balanced-best-effort"
2684
2691
  # resp.next_token #=> String
2685
2692
  #
2686
2693
  #
@@ -2941,7 +2948,7 @@ module Aws::AutoScaling
2941
2948
  # resp.instance_refreshes #=> Array
2942
2949
  # resp.instance_refreshes[0].instance_refresh_id #=> String
2943
2950
  # resp.instance_refreshes[0].auto_scaling_group_name #=> String
2944
- # resp.instance_refreshes[0].status #=> String, one of "Pending", "InProgress", "Successful", "Failed", "Cancelling", "Cancelled", "RollbackInProgress", "RollbackFailed", "RollbackSuccessful"
2951
+ # resp.instance_refreshes[0].status #=> String, one of "Pending", "InProgress", "Successful", "Failed", "Cancelling", "Cancelled", "RollbackInProgress", "RollbackFailed", "RollbackSuccessful", "Baking"
2945
2952
  # resp.instance_refreshes[0].status_reason #=> String
2946
2953
  # resp.instance_refreshes[0].start_time #=> Time
2947
2954
  # resp.instance_refreshes[0].end_time #=> Time
@@ -2963,6 +2970,7 @@ module Aws::AutoScaling
2963
2970
  # resp.instance_refreshes[0].preferences.alarm_specification.alarms #=> Array
2964
2971
  # resp.instance_refreshes[0].preferences.alarm_specification.alarms[0] #=> String
2965
2972
  # resp.instance_refreshes[0].preferences.max_healthy_percentage #=> Integer
2973
+ # resp.instance_refreshes[0].preferences.bake_time #=> Integer
2966
2974
  # resp.instance_refreshes[0].desired_configuration.launch_template.launch_template_id #=> String
2967
2975
  # resp.instance_refreshes[0].desired_configuration.launch_template.launch_template_name #=> String
2968
2976
  # resp.instance_refreshes[0].desired_configuration.launch_template.version #=> String
@@ -6572,6 +6580,8 @@ module Aws::AutoScaling
6572
6580
  #
6573
6581
  # * Skip matching
6574
6582
  #
6583
+ # * Bake time
6584
+ #
6575
6585
  # @return [Types::StartInstanceRefreshAnswer] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6576
6586
  #
6577
6587
  # * {Types::StartInstanceRefreshAnswer#instance_refresh_id #instance_refresh_id} => String
@@ -6713,6 +6723,7 @@ module Aws::AutoScaling
6713
6723
  # alarms: ["XmlStringMaxLen255"],
6714
6724
  # },
6715
6725
  # max_healthy_percentage: 1,
6726
+ # bake_time: 1,
6716
6727
  # },
6717
6728
  # })
6718
6729
  #
@@ -7152,6 +7163,9 @@ module Aws::AutoScaling
7152
7163
  #
7153
7164
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
7154
7165
  #
7166
+ # @option params [Types::AvailabilityZoneDistribution] :availability_zone_distribution
7167
+ # The instance capacity distribution across Availability Zones.
7168
+ #
7155
7169
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7156
7170
  #
7157
7171
  #
@@ -7282,6 +7296,9 @@ module Aws::AutoScaling
7282
7296
  # min_healthy_percentage: 1,
7283
7297
  # max_healthy_percentage: 1,
7284
7298
  # },
7299
+ # availability_zone_distribution: {
7300
+ # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
7301
+ # },
7285
7302
  # })
7286
7303
  #
7287
7304
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
@@ -7311,7 +7328,7 @@ module Aws::AutoScaling
7311
7328
  tracer: tracer
7312
7329
  )
7313
7330
  context[:gem_name] = 'aws-sdk-autoscaling'
7314
- context[:gem_version] = '1.123.0'
7331
+ context[:gem_version] = '1.125.0'
7315
7332
  Seahorse::Client::Request.new(handlers, context)
7316
7333
  end
7317
7334
 
@@ -62,7 +62,9 @@ module Aws::AutoScaling
62
62
  AutoScalingInstances = Shapes::ListShape.new(name: 'AutoScalingInstances')
63
63
  AutoScalingInstancesType = Shapes::StructureShape.new(name: 'AutoScalingInstancesType')
64
64
  AutoScalingNotificationTypes = Shapes::ListShape.new(name: 'AutoScalingNotificationTypes')
65
+ AvailabilityZoneDistribution = Shapes::StructureShape.new(name: 'AvailabilityZoneDistribution')
65
66
  AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
67
+ BakeTime = Shapes::IntegerShape.new(name: 'BakeTime')
66
68
  BareMetal = Shapes::StringShape.new(name: 'BareMetal')
67
69
  BaselineEbsBandwidthMbpsRequest = Shapes::StructureShape.new(name: 'BaselineEbsBandwidthMbpsRequest')
68
70
  BatchDeleteScheduledActionAnswer = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionAnswer')
@@ -80,6 +82,7 @@ module Aws::AutoScaling
80
82
  BurstablePerformance = Shapes::StringShape.new(name: 'BurstablePerformance')
81
83
  CancelInstanceRefreshAnswer = Shapes::StructureShape.new(name: 'CancelInstanceRefreshAnswer')
82
84
  CancelInstanceRefreshType = Shapes::StructureShape.new(name: 'CancelInstanceRefreshType')
85
+ CapacityDistributionStrategy = Shapes::StringShape.new(name: 'CapacityDistributionStrategy')
83
86
  CapacityForecast = Shapes::StructureShape.new(name: 'CapacityForecast')
84
87
  CapacityRebalanceEnabled = Shapes::BooleanShape.new(name: 'CapacityRebalanceEnabled')
85
88
  CheckpointDelay = Shapes::IntegerShape.new(name: 'CheckpointDelay')
@@ -517,6 +520,7 @@ module Aws::AutoScaling
517
520
  AutoScalingGroup.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
518
521
  AutoScalingGroup.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
519
522
  AutoScalingGroup.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
523
+ AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
520
524
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
521
525
 
522
526
  AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
@@ -553,6 +557,9 @@ module Aws::AutoScaling
553
557
 
554
558
  AutoScalingNotificationTypes.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
555
559
 
560
+ AvailabilityZoneDistribution.add_member(:capacity_distribution_strategy, Shapes::ShapeRef.new(shape: CapacityDistributionStrategy, location_name: "CapacityDistributionStrategy"))
561
+ AvailabilityZoneDistribution.struct_class = Types::AvailabilityZoneDistribution
562
+
556
563
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
557
564
 
558
565
  BaselineEbsBandwidthMbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
@@ -634,6 +641,7 @@ module Aws::AutoScaling
634
641
  CreateAutoScalingGroupType.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
635
642
  CreateAutoScalingGroupType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
636
643
  CreateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
644
+ CreateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
637
645
  CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
638
646
 
639
647
  CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
@@ -1336,6 +1344,7 @@ module Aws::AutoScaling
1336
1344
  RefreshPreferences.add_member(:standby_instances, Shapes::ShapeRef.new(shape: StandbyInstances, location_name: "StandbyInstances"))
1337
1345
  RefreshPreferences.add_member(:alarm_specification, Shapes::ShapeRef.new(shape: AlarmSpecification, location_name: "AlarmSpecification"))
1338
1346
  RefreshPreferences.add_member(:max_healthy_percentage, Shapes::ShapeRef.new(shape: IntPercent100To200, location_name: "MaxHealthyPercentage"))
1347
+ RefreshPreferences.add_member(:bake_time, Shapes::ShapeRef.new(shape: BakeTime, location_name: "BakeTime"))
1339
1348
  RefreshPreferences.struct_class = Types::RefreshPreferences
1340
1349
 
1341
1350
  ResourceContentionFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
@@ -1551,6 +1560,7 @@ module Aws::AutoScaling
1551
1560
  UpdateAutoScalingGroupType.add_member(:desired_capacity_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "DesiredCapacityType"))
1552
1561
  UpdateAutoScalingGroupType.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
1553
1562
  UpdateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
1563
+ UpdateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
1554
1564
  UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
1555
1565
 
1556
1566
  VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
@@ -176,6 +176,9 @@ module Aws::AutoScaling
176
176
  # min_healthy_percentage: 1,
177
177
  # max_healthy_percentage: 1,
178
178
  # },
179
+ # availability_zone_distribution: {
180
+ # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
181
+ # },
179
182
  # })
180
183
  # @param [Hash] options ({})
181
184
  # @option options [required, String] :auto_scaling_group_name
@@ -468,6 +471,8 @@ module Aws::AutoScaling
468
471
  #
469
472
  #
470
473
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
474
+ # @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
475
+ # The instance capacity distribution across Availability Zones.
471
476
  # @return [AutoScalingGroup]
472
477
  def create_group(options = {})
473
478
  Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -491,6 +491,10 @@ module Aws::AutoScaling
491
491
  # An instance maintenance policy.
492
492
  # @return [Types::InstanceMaintenancePolicy]
493
493
  #
494
+ # @!attribute [rw] availability_zone_distribution
495
+ # The instance capacity distribution across Availability Zones.
496
+ # @return [Types::AvailabilityZoneDistribution]
497
+ #
494
498
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
495
499
  #
496
500
  class AutoScalingGroup < Struct.new(
@@ -528,7 +532,8 @@ module Aws::AutoScaling
528
532
  :desired_capacity_type,
529
533
  :default_instance_warmup,
530
534
  :traffic_sources,
531
- :instance_maintenance_policy)
535
+ :instance_maintenance_policy,
536
+ :availability_zone_distribution)
532
537
  SENSITIVE = []
533
538
  include Aws::Structure
534
539
  end
@@ -691,6 +696,29 @@ module Aws::AutoScaling
691
696
  include Aws::Structure
692
697
  end
693
698
 
699
+ # Describes an Availability Zone distribution.
700
+ #
701
+ # @!attribute [rw] capacity_distribution_strategy
702
+ # If launches fail in an Availability Zone, the following strategies
703
+ # are available. The default is `balanced-best-effort`.
704
+ #
705
+ # * `balanced-only` - If launches fail in an Availability Zone, Auto
706
+ # Scaling will continue to attempt to launch in the unhealthy zone
707
+ # to preserve a balanced distribution.
708
+ #
709
+ # * `balanced-best-effort` - If launches fail in an Availability Zone,
710
+ # Auto Scaling will attempt to launch in another healthy
711
+ # Availability Zone instead.
712
+ # @return [String]
713
+ #
714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AvailabilityZoneDistribution AWS API Documentation
715
+ #
716
+ class AvailabilityZoneDistribution < Struct.new(
717
+ :capacity_distribution_strategy)
718
+ SENSITIVE = []
719
+ include Aws::Structure
720
+ end
721
+
694
722
  # Specifies the minimum and maximum for the `BaselineEbsBandwidthMbps`
695
723
  # object when you specify [InstanceRequirements][1] for an Auto Scaling
696
724
  # group.
@@ -1263,6 +1291,10 @@ module Aws::AutoScaling
1263
1291
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
1264
1292
  # @return [Types::InstanceMaintenancePolicy]
1265
1293
  #
1294
+ # @!attribute [rw] availability_zone_distribution
1295
+ # The instance capacity distribution across Availability Zones.
1296
+ # @return [Types::AvailabilityZoneDistribution]
1297
+ #
1266
1298
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
1267
1299
  #
1268
1300
  class CreateAutoScalingGroupType < Struct.new(
@@ -1293,7 +1325,8 @@ module Aws::AutoScaling
1293
1325
  :desired_capacity_type,
1294
1326
  :default_instance_warmup,
1295
1327
  :traffic_sources,
1296
- :instance_maintenance_policy)
1328
+ :instance_maintenance_policy,
1329
+ :availability_zone_distribution)
1297
1330
  SENSITIVE = []
1298
1331
  include Aws::Structure
1299
1332
  end
@@ -3362,6 +3395,9 @@ module Aws::AutoScaling
3362
3395
  # troubleshoot using the status reason and the scaling activities.
3363
3396
  #
3364
3397
  # * `RollbackSuccessful` - The rollback completed successfully.
3398
+ #
3399
+ # * `Baking` - Waiting the specified bake time after an instance
3400
+ # refresh has finished updating instances.
3365
3401
  # @return [String]
3366
3402
  #
3367
3403
  # @!attribute [rw] status_reason
@@ -6503,6 +6539,11 @@ module Aws::AutoScaling
6503
6539
  # Scaling group, if defined.
6504
6540
  # @return [Integer]
6505
6541
  #
6542
+ # @!attribute [rw] bake_time
6543
+ # The amount of time, in seconds, to wait at the end of an instance
6544
+ # refresh before the instance refresh is considered complete.
6545
+ # @return [Integer]
6546
+ #
6506
6547
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RefreshPreferences AWS API Documentation
6507
6548
  #
6508
6549
  class RefreshPreferences < Struct.new(
@@ -6515,7 +6556,8 @@ module Aws::AutoScaling
6515
6556
  :scale_in_protected_instances,
6516
6557
  :standby_instances,
6517
6558
  :alarm_specification,
6518
- :max_healthy_percentage)
6559
+ :max_healthy_percentage,
6560
+ :bake_time)
6519
6561
  SENSITIVE = []
6520
6562
  include Aws::Structure
6521
6563
  end
@@ -7121,6 +7163,8 @@ module Aws::AutoScaling
7121
7163
  # * CloudWatch alarms
7122
7164
  #
7123
7165
  # * Skip matching
7166
+ #
7167
+ # * Bake time
7124
7168
  # @return [Types::RefreshPreferences]
7125
7169
  #
7126
7170
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefreshType AWS API Documentation
@@ -7894,6 +7938,10 @@ module Aws::AutoScaling
7894
7938
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
7895
7939
  # @return [Types::InstanceMaintenancePolicy]
7896
7940
  #
7941
+ # @!attribute [rw] availability_zone_distribution
7942
+ # The instance capacity distribution across Availability Zones.
7943
+ # @return [Types::AvailabilityZoneDistribution]
7944
+ #
7897
7945
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
7898
7946
  #
7899
7947
  class UpdateAutoScalingGroupType < Struct.new(
@@ -7918,7 +7966,8 @@ module Aws::AutoScaling
7918
7966
  :context,
7919
7967
  :desired_capacity_type,
7920
7968
  :default_instance_warmup,
7921
- :instance_maintenance_policy)
7969
+ :instance_maintenance_policy,
7970
+ :availability_zone_distribution)
7922
7971
  SENSITIVE = []
7923
7972
  include Aws::Structure
7924
7973
  end
@@ -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.123.0'
68
+ GEM_VERSION = '1.125.0'
69
69
 
70
70
  end
71
71
 
@@ -114,6 +114,9 @@ module Aws
114
114
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#instance_maintenance_policy-instance_method
115
115
  def instance_maintenance_policy: () -> Types::InstanceMaintenancePolicy
116
116
 
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zone_distribution-instance_method
118
+ def availability_zone_distribution: () -> Types::AvailabilityZoneDistribution
119
+
117
120
  def client: () -> Client
118
121
 
119
122
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load-instance_method
@@ -475,6 +478,9 @@ module Aws
475
478
  ?instance_maintenance_policy: {
476
479
  min_healthy_percentage: ::Integer?,
477
480
  max_healthy_percentage: ::Integer?
481
+ },
482
+ ?availability_zone_distribution: {
483
+ capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
478
484
  }
479
485
  ) -> AutoScalingGroup
480
486
  | (?Hash[Symbol, untyped]) -> AutoScalingGroup
data/sig/client.rbs CHANGED
@@ -312,6 +312,9 @@ module Aws
312
312
  ?instance_maintenance_policy: {
313
313
  min_healthy_percentage: ::Integer?,
314
314
  max_healthy_percentage: ::Integer?
315
+ },
316
+ ?availability_zone_distribution: {
317
+ capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
315
318
  }
316
319
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
317
320
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1197,7 +1200,8 @@ module Aws
1197
1200
  alarm_specification: {
1198
1201
  alarms: Array[::String]?
1199
1202
  }?,
1200
- max_healthy_percentage: ::Integer?
1203
+ max_healthy_percentage: ::Integer?,
1204
+ bake_time: ::Integer?
1201
1205
  }
1202
1206
  ) -> _StartInstanceRefreshResponseSuccess
1203
1207
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartInstanceRefreshResponseSuccess
@@ -1330,6 +1334,9 @@ module Aws
1330
1334
  ?instance_maintenance_policy: {
1331
1335
  min_healthy_percentage: ::Integer?,
1332
1336
  max_healthy_percentage: ::Integer?
1337
+ },
1338
+ ?availability_zone_distribution: {
1339
+ capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
1333
1340
  }
1334
1341
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1335
1342
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
data/sig/resource.rbs CHANGED
@@ -216,6 +216,9 @@ module Aws
216
216
  ?instance_maintenance_policy: {
217
217
  min_healthy_percentage: ::Integer?,
218
218
  max_healthy_percentage: ::Integer?
219
+ },
220
+ ?availability_zone_distribution: {
221
+ capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
219
222
  }
220
223
  ) -> AutoScalingGroup
221
224
  | (?Hash[Symbol, untyped]) -> AutoScalingGroup
data/sig/types.rbs CHANGED
@@ -142,6 +142,7 @@ module Aws::AutoScaling
142
142
  attr_accessor default_instance_warmup: ::Integer
143
143
  attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
144
144
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
145
+ attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
145
146
  SENSITIVE: []
146
147
  end
147
148
 
@@ -179,6 +180,11 @@ module Aws::AutoScaling
179
180
  SENSITIVE: []
180
181
  end
181
182
 
183
+ class AvailabilityZoneDistribution
184
+ attr_accessor capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")
185
+ SENSITIVE: []
186
+ end
187
+
182
188
  class BaselineEbsBandwidthMbpsRequest
183
189
  attr_accessor min: ::Integer
184
190
  attr_accessor max: ::Integer
@@ -272,6 +278,7 @@ module Aws::AutoScaling
272
278
  attr_accessor default_instance_warmup: ::Integer
273
279
  attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
274
280
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
281
+ attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
275
282
  SENSITIVE: []
276
283
  end
277
284
 
@@ -697,7 +704,7 @@ module Aws::AutoScaling
697
704
  class InstanceRefresh
698
705
  attr_accessor instance_refresh_id: ::String
699
706
  attr_accessor auto_scaling_group_name: ::String
700
- attr_accessor status: ("Pending" | "InProgress" | "Successful" | "Failed" | "Cancelling" | "Cancelled" | "RollbackInProgress" | "RollbackFailed" | "RollbackSuccessful")
707
+ attr_accessor status: ("Pending" | "InProgress" | "Successful" | "Failed" | "Cancelling" | "Cancelled" | "RollbackInProgress" | "RollbackFailed" | "RollbackSuccessful" | "Baking")
701
708
  attr_accessor status_reason: ::String
702
709
  attr_accessor start_time: ::Time
703
710
  attr_accessor end_time: ::Time
@@ -1142,6 +1149,7 @@ module Aws::AutoScaling
1142
1149
  attr_accessor standby_instances: ("Terminate" | "Ignore" | "Wait")
1143
1150
  attr_accessor alarm_specification: Types::AlarmSpecification
1144
1151
  attr_accessor max_healthy_percentage: ::Integer
1152
+ attr_accessor bake_time: ::Integer
1145
1153
  SENSITIVE: []
1146
1154
  end
1147
1155
 
@@ -1390,6 +1398,7 @@ module Aws::AutoScaling
1390
1398
  attr_accessor desired_capacity_type: ::String
1391
1399
  attr_accessor default_instance_warmup: ::Integer
1392
1400
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
1401
+ attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
1393
1402
  SENSITIVE: []
1394
1403
  end
1395
1404
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-autoscaling
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.123.0
4
+ version: 1.125.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-21 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core