aws-sdk-autoscaling 1.126.0 → 1.127.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: ddce7db6f2774cf0b8a58b29913254c18ce7c43a9b8f6a8eb171441975017940
4
- data.tar.gz: cd7752bde1c6d9474d58f2930c94a40129038101611abcccdba718990e119b3d
3
+ metadata.gz: 7493befe8972afaa717c23fa7c5826770f20c1c5f598ffa9e98590e3f9394ace
4
+ data.tar.gz: d29918dbef8b1720ece9a1ef0cd62afc771024f8aaa076b14855f500a56ce05b
5
5
  SHA512:
6
- metadata.gz: 5eb292a0e4af4c88aed93dcb2aea4b6dbd4914090ba056a1b4a19e6333658174e799995d24be94647464327b1933583560085e980929573b5601fcc50bd18103
7
- data.tar.gz: b7ebe231b269b51a2867dec7c03c1d9a1b6b56706b16780b0cc05c5d2722ff7f1ba6201a46202b5a1d534fe5baa89b5b8f3dd630ee0097b1986313123e19c449
6
+ metadata.gz: 68394ed3f466d26e60588dc20a0b126cdd3a91cf64412b4022ded8e47c52096a9c3cf98ec2ad2b053fd089aac7910c95502257545de53acbbfffa8f679f93bc9
7
+ data.tar.gz: 5da99ca104a6d146965d1bb9ee97efedcce3fa86f0c35f39e236019acc732ada51f8e19811b2053059245fe27cc493809901fbe384508ee816d168909fe0de82
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.127.0 (2024-11-20)
5
+ ------------------
6
+
7
+ * Feature - With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs.
8
+
4
9
  1.126.0 (2024-11-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.126.0
1
+ 1.127.0
@@ -255,6 +255,12 @@ module Aws::AutoScaling
255
255
  data[:availability_zone_impairment_policy]
256
256
  end
257
257
 
258
+ # The capacity reservation specification.
259
+ # @return [Types::CapacityReservationSpecification]
260
+ def capacity_reservation_specification
261
+ data[:capacity_reservation_specification]
262
+ end
263
+
258
264
  # @!endgroup
259
265
 
260
266
  # @return [Client]
@@ -1251,6 +1257,15 @@ module Aws::AutoScaling
1251
1257
  # max: 1.0,
1252
1258
  # },
1253
1259
  # allowed_instance_types: ["AllowedInstanceType"],
1260
+ # baseline_performance_factors: {
1261
+ # cpu: {
1262
+ # references: [
1263
+ # {
1264
+ # instance_family: "String",
1265
+ # },
1266
+ # ],
1267
+ # },
1268
+ # },
1254
1269
  # },
1255
1270
  # },
1256
1271
  # ],
@@ -1293,6 +1308,13 @@ module Aws::AutoScaling
1293
1308
  # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
1294
1309
  # },
1295
1310
  # skip_zonal_shift_validation: false,
1311
+ # capacity_reservation_specification: {
1312
+ # capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
1313
+ # capacity_reservation_target: {
1314
+ # capacity_reservation_ids: ["AsciiStringMaxLen255"],
1315
+ # capacity_reservation_resource_group_arns: ["ResourceName"],
1316
+ # },
1317
+ # },
1296
1318
  # })
1297
1319
  # @param [Hash] options ({})
1298
1320
  # @option options [String] :launch_configuration_name
@@ -1504,6 +1526,8 @@ module Aws::AutoScaling
1504
1526
  #
1505
1527
  #
1506
1528
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
1529
+ # @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
1530
+ # The capacity reservation specification for the Auto Scaling group.
1507
1531
  # @return [AutoScalingGroup]
1508
1532
  def update(options = {})
1509
1533
  options = options.merge(auto_scaling_group_name: @name)
@@ -1338,6 +1338,9 @@ module Aws::AutoScaling
1338
1338
  #
1339
1339
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
1340
1340
  #
1341
+ # @option params [Types::CapacityReservationSpecification] :capacity_reservation_specification
1342
+ # The capacity reservation specification for the Auto Scaling group.
1343
+ #
1341
1344
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1342
1345
  #
1343
1346
  #
@@ -1540,6 +1543,15 @@ module Aws::AutoScaling
1540
1543
  # max: 1.0,
1541
1544
  # },
1542
1545
  # allowed_instance_types: ["AllowedInstanceType"],
1546
+ # baseline_performance_factors: {
1547
+ # cpu: {
1548
+ # references: [
1549
+ # {
1550
+ # instance_family: "String",
1551
+ # },
1552
+ # ],
1553
+ # },
1554
+ # },
1543
1555
  # },
1544
1556
  # },
1545
1557
  # ],
@@ -1611,6 +1623,13 @@ module Aws::AutoScaling
1611
1623
  # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
1612
1624
  # },
1613
1625
  # skip_zonal_shift_validation: false,
1626
+ # capacity_reservation_specification: {
1627
+ # capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
1628
+ # capacity_reservation_target: {
1629
+ # capacity_reservation_ids: ["AsciiStringMaxLen255"],
1630
+ # capacity_reservation_resource_group_arns: ["ResourceName"],
1631
+ # },
1632
+ # },
1614
1633
  # })
1615
1634
  #
1616
1635
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
@@ -2651,6 +2670,8 @@ module Aws::AutoScaling
2651
2670
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
2652
2671
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types #=> Array
2653
2672
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types[0] #=> String
2673
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
2674
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
2654
2675
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
2655
2676
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
2656
2677
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
@@ -2721,6 +2742,11 @@ module Aws::AutoScaling
2721
2742
  # resp.auto_scaling_groups[0].availability_zone_distribution.capacity_distribution_strategy #=> String, one of "balanced-only", "balanced-best-effort"
2722
2743
  # resp.auto_scaling_groups[0].availability_zone_impairment_policy.zonal_shift_enabled #=> Boolean
2723
2744
  # resp.auto_scaling_groups[0].availability_zone_impairment_policy.impaired_zone_health_check_behavior #=> String, one of "ReplaceUnhealthy", "IgnoreUnhealthy"
2745
+ # resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "capacity-reservations-first", "none", "default"
2746
+ # resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_ids #=> Array
2747
+ # resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_ids[0] #=> String
2748
+ # resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arns #=> Array
2749
+ # resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arns[0] #=> String
2724
2750
  # resp.next_token #=> String
2725
2751
  #
2726
2752
  #
@@ -3057,6 +3083,8 @@ module Aws::AutoScaling
3057
3083
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
3058
3084
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types #=> Array
3059
3085
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types[0] #=> String
3086
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
3087
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
3060
3088
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
3061
3089
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
3062
3090
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
@@ -6729,6 +6757,15 @@ module Aws::AutoScaling
6729
6757
  # max: 1.0,
6730
6758
  # },
6731
6759
  # allowed_instance_types: ["AllowedInstanceType"],
6760
+ # baseline_performance_factors: {
6761
+ # cpu: {
6762
+ # references: [
6763
+ # {
6764
+ # instance_family: "String",
6765
+ # },
6766
+ # ],
6767
+ # },
6768
+ # },
6732
6769
  # },
6733
6770
  # },
6734
6771
  # ],
@@ -7213,6 +7250,9 @@ module Aws::AutoScaling
7213
7250
  #
7214
7251
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
7215
7252
  #
7253
+ # @option params [Types::CapacityReservationSpecification] :capacity_reservation_specification
7254
+ # The capacity reservation specification for the Auto Scaling group.
7255
+ #
7216
7256
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7217
7257
  #
7218
7258
  #
@@ -7309,6 +7349,15 @@ module Aws::AutoScaling
7309
7349
  # max: 1.0,
7310
7350
  # },
7311
7351
  # allowed_instance_types: ["AllowedInstanceType"],
7352
+ # baseline_performance_factors: {
7353
+ # cpu: {
7354
+ # references: [
7355
+ # {
7356
+ # instance_family: "String",
7357
+ # },
7358
+ # ],
7359
+ # },
7360
+ # },
7312
7361
  # },
7313
7362
  # },
7314
7363
  # ],
@@ -7351,6 +7400,13 @@ module Aws::AutoScaling
7351
7400
  # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
7352
7401
  # },
7353
7402
  # skip_zonal_shift_validation: false,
7403
+ # capacity_reservation_specification: {
7404
+ # capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
7405
+ # capacity_reservation_target: {
7406
+ # capacity_reservation_ids: ["AsciiStringMaxLen255"],
7407
+ # capacity_reservation_resource_group_arns: ["ResourceName"],
7408
+ # },
7409
+ # },
7354
7410
  # })
7355
7411
  #
7356
7412
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
@@ -7380,7 +7436,7 @@ module Aws::AutoScaling
7380
7436
  tracer: tracer
7381
7437
  )
7382
7438
  context[:gem_name] = 'aws-sdk-autoscaling'
7383
- context[:gem_version] = '1.126.0'
7439
+ context[:gem_version] = '1.127.0'
7384
7440
  Seahorse::Client::Request.new(handlers, context)
7385
7441
  end
7386
7442
 
@@ -68,6 +68,7 @@ module Aws::AutoScaling
68
68
  BakeTime = Shapes::IntegerShape.new(name: 'BakeTime')
69
69
  BareMetal = Shapes::StringShape.new(name: 'BareMetal')
70
70
  BaselineEbsBandwidthMbpsRequest = Shapes::StructureShape.new(name: 'BaselineEbsBandwidthMbpsRequest')
71
+ BaselinePerformanceFactorsRequest = Shapes::StructureShape.new(name: 'BaselinePerformanceFactorsRequest')
71
72
  BatchDeleteScheduledActionAnswer = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionAnswer')
72
73
  BatchDeleteScheduledActionType = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionType')
73
74
  BatchPutScheduledUpdateGroupActionAnswer = Shapes::StructureShape.new(name: 'BatchPutScheduledUpdateGroupActionAnswer')
@@ -86,6 +87,11 @@ module Aws::AutoScaling
86
87
  CapacityDistributionStrategy = Shapes::StringShape.new(name: 'CapacityDistributionStrategy')
87
88
  CapacityForecast = Shapes::StructureShape.new(name: 'CapacityForecast')
88
89
  CapacityRebalanceEnabled = Shapes::BooleanShape.new(name: 'CapacityRebalanceEnabled')
90
+ CapacityReservationIds = Shapes::ListShape.new(name: 'CapacityReservationIds')
91
+ CapacityReservationPreference = Shapes::StringShape.new(name: 'CapacityReservationPreference')
92
+ CapacityReservationResourceGroupArns = Shapes::ListShape.new(name: 'CapacityReservationResourceGroupArns')
93
+ CapacityReservationSpecification = Shapes::StructureShape.new(name: 'CapacityReservationSpecification')
94
+ CapacityReservationTarget = Shapes::StructureShape.new(name: 'CapacityReservationTarget')
89
95
  CheckpointDelay = Shapes::IntegerShape.new(name: 'CheckpointDelay')
90
96
  CheckpointPercentages = Shapes::ListShape.new(name: 'CheckpointPercentages')
91
97
  ClassicLinkVPCSecurityGroups = Shapes::ListShape.new(name: 'ClassicLinkVPCSecurityGroups')
@@ -95,6 +101,7 @@ module Aws::AutoScaling
95
101
  Cooldown = Shapes::IntegerShape.new(name: 'Cooldown')
96
102
  CpuManufacturer = Shapes::StringShape.new(name: 'CpuManufacturer')
97
103
  CpuManufacturers = Shapes::ListShape.new(name: 'CpuManufacturers')
104
+ CpuPerformanceFactorRequest = Shapes::StructureShape.new(name: 'CpuPerformanceFactorRequest')
98
105
  CreateAutoScalingGroupType = Shapes::StructureShape.new(name: 'CreateAutoScalingGroupType')
99
106
  CreateLaunchConfigurationType = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationType')
100
107
  CreateOrUpdateTagsType = Shapes::StructureShape.new(name: 'CreateOrUpdateTagsType')
@@ -277,6 +284,8 @@ module Aws::AutoScaling
277
284
  OnDemandBaseCapacity = Shapes::IntegerShape.new(name: 'OnDemandBaseCapacity')
278
285
  OnDemandPercentageAboveBaseCapacity = Shapes::IntegerShape.new(name: 'OnDemandPercentageAboveBaseCapacity')
279
286
  Overrides = Shapes::ListShape.new(name: 'Overrides')
287
+ PerformanceFactorReferenceRequest = Shapes::StructureShape.new(name: 'PerformanceFactorReferenceRequest')
288
+ PerformanceFactorReferenceSetRequest = Shapes::ListShape.new(name: 'PerformanceFactorReferenceSetRequest')
280
289
  PoliciesType = Shapes::StructureShape.new(name: 'PoliciesType')
281
290
  PolicyARNType = Shapes::StructureShape.new(name: 'PolicyARNType')
282
291
  PolicyIncrement = Shapes::IntegerShape.new(name: 'PolicyIncrement')
@@ -358,6 +367,7 @@ module Aws::AutoScaling
358
367
  StartInstanceRefreshType = Shapes::StructureShape.new(name: 'StartInstanceRefreshType')
359
368
  StepAdjustment = Shapes::StructureShape.new(name: 'StepAdjustment')
360
369
  StepAdjustments = Shapes::ListShape.new(name: 'StepAdjustments')
370
+ String = Shapes::StringShape.new(name: 'String')
361
371
  SuspendedProcess = Shapes::StructureShape.new(name: 'SuspendedProcess')
362
372
  SuspendedProcesses = Shapes::ListShape.new(name: 'SuspendedProcesses')
363
373
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -527,6 +537,7 @@ module Aws::AutoScaling
527
537
  AutoScalingGroup.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
528
538
  AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
529
539
  AutoScalingGroup.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
540
+ AutoScalingGroup.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
530
541
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
531
542
 
532
543
  AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
@@ -576,6 +587,9 @@ module Aws::AutoScaling
576
587
  BaselineEbsBandwidthMbpsRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
577
588
  BaselineEbsBandwidthMbpsRequest.struct_class = Types::BaselineEbsBandwidthMbpsRequest
578
589
 
590
+ BaselinePerformanceFactorsRequest.add_member(:cpu, Shapes::ShapeRef.new(shape: CpuPerformanceFactorRequest, location_name: "Cpu"))
591
+ BaselinePerformanceFactorsRequest.struct_class = Types::BaselinePerformanceFactorsRequest
592
+
579
593
  BatchDeleteScheduledActionAnswer.add_member(:failed_scheduled_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledActions"))
580
594
  BatchDeleteScheduledActionAnswer.struct_class = Types::BatchDeleteScheduledActionAnswer
581
595
 
@@ -608,6 +622,18 @@ module Aws::AutoScaling
608
622
  CapacityForecast.add_member(:values, Shapes::ShapeRef.new(shape: PredictiveScalingForecastValues, required: true, location_name: "Values"))
609
623
  CapacityForecast.struct_class = Types::CapacityForecast
610
624
 
625
+ CapacityReservationIds.member = Shapes::ShapeRef.new(shape: AsciiStringMaxLen255)
626
+
627
+ CapacityReservationResourceGroupArns.member = Shapes::ShapeRef.new(shape: ResourceName)
628
+
629
+ CapacityReservationSpecification.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: CapacityReservationPreference, location_name: "CapacityReservationPreference"))
630
+ CapacityReservationSpecification.add_member(:capacity_reservation_target, Shapes::ShapeRef.new(shape: CapacityReservationTarget, location_name: "CapacityReservationTarget"))
631
+ CapacityReservationSpecification.struct_class = Types::CapacityReservationSpecification
632
+
633
+ CapacityReservationTarget.add_member(:capacity_reservation_ids, Shapes::ShapeRef.new(shape: CapacityReservationIds, location_name: "CapacityReservationIds"))
634
+ CapacityReservationTarget.add_member(:capacity_reservation_resource_group_arns, Shapes::ShapeRef.new(shape: CapacityReservationResourceGroupArns, location_name: "CapacityReservationResourceGroupArns"))
635
+ CapacityReservationTarget.struct_class = Types::CapacityReservationTarget
636
+
611
637
  CheckpointPercentages.member = Shapes::ShapeRef.new(shape: NonZeroIntPercent)
612
638
 
613
639
  ClassicLinkVPCSecurityGroups.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
@@ -623,6 +649,9 @@ module Aws::AutoScaling
623
649
 
624
650
  CpuManufacturers.member = Shapes::ShapeRef.new(shape: CpuManufacturer)
625
651
 
652
+ CpuPerformanceFactorRequest.add_member(:references, Shapes::ShapeRef.new(shape: PerformanceFactorReferenceSetRequest, location_name: "Reference"))
653
+ CpuPerformanceFactorRequest.struct_class = Types::CpuPerformanceFactorRequest
654
+
626
655
  CreateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
627
656
  CreateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
628
657
  CreateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
@@ -654,6 +683,7 @@ module Aws::AutoScaling
654
683
  CreateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
655
684
  CreateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
656
685
  CreateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
686
+ CreateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
657
687
  CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
658
688
 
659
689
  CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
@@ -1023,6 +1053,7 @@ module Aws::AutoScaling
1023
1053
  InstanceRequirements.add_member(:accelerator_total_memory_mi_b, Shapes::ShapeRef.new(shape: AcceleratorTotalMemoryMiBRequest, location_name: "AcceleratorTotalMemoryMiB"))
1024
1054
  InstanceRequirements.add_member(:network_bandwidth_gbps, Shapes::ShapeRef.new(shape: NetworkBandwidthGbpsRequest, location_name: "NetworkBandwidthGbps"))
1025
1055
  InstanceRequirements.add_member(:allowed_instance_types, Shapes::ShapeRef.new(shape: AllowedInstanceTypes, location_name: "AllowedInstanceTypes"))
1056
+ InstanceRequirements.add_member(:baseline_performance_factors, Shapes::ShapeRef.new(shape: BaselinePerformanceFactorsRequest, location_name: "BaselinePerformanceFactors"))
1026
1057
  InstanceRequirements.struct_class = Types::InstanceRequirements
1027
1058
 
1028
1059
  InstanceReusePolicy.add_member(:reuse_on_scale_in, Shapes::ShapeRef.new(shape: ReuseOnScaleIn, location_name: "ReuseOnScaleIn"))
@@ -1215,6 +1246,11 @@ module Aws::AutoScaling
1215
1246
 
1216
1247
  Overrides.member = Shapes::ShapeRef.new(shape: LaunchTemplateOverrides)
1217
1248
 
1249
+ PerformanceFactorReferenceRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
1250
+ PerformanceFactorReferenceRequest.struct_class = Types::PerformanceFactorReferenceRequest
1251
+
1252
+ PerformanceFactorReferenceSetRequest.member = Shapes::ShapeRef.new(shape: PerformanceFactorReferenceRequest, location_name: "item")
1253
+
1218
1254
  PoliciesType.add_member(:scaling_policies, Shapes::ShapeRef.new(shape: ScalingPolicies, location_name: "ScalingPolicies"))
1219
1255
  PoliciesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
1220
1256
  PoliciesType.struct_class = Types::PoliciesType
@@ -1575,6 +1611,7 @@ module Aws::AutoScaling
1575
1611
  UpdateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
1576
1612
  UpdateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
1577
1613
  UpdateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
1614
+ UpdateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
1578
1615
  UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
1579
1616
 
1580
1617
  VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
@@ -113,6 +113,15 @@ module Aws::AutoScaling
113
113
  # max: 1.0,
114
114
  # },
115
115
  # allowed_instance_types: ["AllowedInstanceType"],
116
+ # baseline_performance_factors: {
117
+ # cpu: {
118
+ # references: [
119
+ # {
120
+ # instance_family: "String",
121
+ # },
122
+ # ],
123
+ # },
124
+ # },
116
125
  # },
117
126
  # },
118
127
  # ],
@@ -184,6 +193,13 @@ module Aws::AutoScaling
184
193
  # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
185
194
  # },
186
195
  # skip_zonal_shift_validation: false,
196
+ # capacity_reservation_specification: {
197
+ # capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
198
+ # capacity_reservation_target: {
199
+ # capacity_reservation_ids: ["AsciiStringMaxLen255"],
200
+ # capacity_reservation_resource_group_arns: ["ResourceName"],
201
+ # },
202
+ # },
187
203
  # })
188
204
  # @param [Hash] options ({})
189
205
  # @option options [required, String] :auto_scaling_group_name
@@ -490,6 +506,8 @@ module Aws::AutoScaling
490
506
  #
491
507
  #
492
508
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
509
+ # @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
510
+ # The capacity reservation specification for the Auto Scaling group.
493
511
  # @return [AutoScalingGroup]
494
512
  def create_group(options = {})
495
513
  Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -512,6 +512,10 @@ module Aws::AutoScaling
512
512
  # The Availability Zone impairment policy.
513
513
  # @return [Types::AvailabilityZoneImpairmentPolicy]
514
514
  #
515
+ # @!attribute [rw] capacity_reservation_specification
516
+ # The capacity reservation specification.
517
+ # @return [Types::CapacityReservationSpecification]
518
+ #
515
519
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
516
520
  #
517
521
  class AutoScalingGroup < Struct.new(
@@ -551,7 +555,8 @@ module Aws::AutoScaling
551
555
  :traffic_sources,
552
556
  :instance_maintenance_policy,
553
557
  :availability_zone_distribution,
554
- :availability_zone_impairment_policy)
558
+ :availability_zone_impairment_policy,
559
+ :capacity_reservation_specification)
555
560
  SENSITIVE = []
556
561
  include Aws::Structure
557
562
  end
@@ -791,6 +796,30 @@ module Aws::AutoScaling
791
796
  include Aws::Structure
792
797
  end
793
798
 
799
+ # The baseline performance to consider, using an instance family as a
800
+ # baseline reference. The instance family establishes the lowest
801
+ # acceptable level of performance. Auto Scaling uses this baseline to
802
+ # guide instance type selection, but there is no guarantee that the
803
+ # selected instance types will always exceed the baseline for every
804
+ # application.
805
+ #
806
+ # Currently, this parameter only supports CPU performance as a baseline
807
+ # performance factor. For example, specifying `c6i` uses the CPU
808
+ # performance of the `c6i` family as the baseline reference.
809
+ #
810
+ # @!attribute [rw] cpu
811
+ # The CPU performance to consider, using an instance family as the
812
+ # baseline reference.
813
+ # @return [Types::CpuPerformanceFactorRequest]
814
+ #
815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BaselinePerformanceFactorsRequest AWS API Documentation
816
+ #
817
+ class BaselinePerformanceFactorsRequest < Struct.new(
818
+ :cpu)
819
+ SENSITIVE = []
820
+ include Aws::Structure
821
+ end
822
+
794
823
  # @!attribute [rw] failed_scheduled_actions
795
824
  # The names of the scheduled actions that could not be deleted,
796
825
  # including an error message.
@@ -949,6 +978,66 @@ module Aws::AutoScaling
949
978
  include Aws::Structure
950
979
  end
951
980
 
981
+ # Describes the Capacity Reservation preference and targeting options.
982
+ # If you specify `open` or `none` for `CapacityReservationPreference`,
983
+ # do not specify a `CapacityReservationTarget`.
984
+ #
985
+ # @!attribute [rw] capacity_reservation_preference
986
+ # The capacity reservation preference. The following options are
987
+ # available:
988
+ #
989
+ # * `capacity-reservations-only` - Auto Scaling will only launch
990
+ # instances into a Capacity Reservation or Capacity Reservation
991
+ # resource group. If capacity isn't available, instances will fail
992
+ # to launch.
993
+ #
994
+ # * `capacity-reservations-first` - Auto Scaling will try to launch
995
+ # instances into a Capacity Reservation or Capacity Reservation
996
+ # resource group first. If capacity isn't available, instances will
997
+ # run in On-Demand capacity.
998
+ #
999
+ # * `none` - Auto Scaling will not launch instances into a Capacity
1000
+ # Reservation. Instances will run in On-Demand capacity.
1001
+ #
1002
+ # * `default` - Auto Scaling uses the Capacity Reservation preference
1003
+ # from your launch template or an open Capacity Reservation.
1004
+ # @return [String]
1005
+ #
1006
+ # @!attribute [rw] capacity_reservation_target
1007
+ # Describes a target Capacity Reservation or Capacity Reservation
1008
+ # resource group.
1009
+ # @return [Types::CapacityReservationTarget]
1010
+ #
1011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CapacityReservationSpecification AWS API Documentation
1012
+ #
1013
+ class CapacityReservationSpecification < Struct.new(
1014
+ :capacity_reservation_preference,
1015
+ :capacity_reservation_target)
1016
+ SENSITIVE = []
1017
+ include Aws::Structure
1018
+ end
1019
+
1020
+ # The target for the Capacity Reservation. Specify Capacity Reservations
1021
+ # IDs or Capacity Reservation resource group ARNs.
1022
+ #
1023
+ # @!attribute [rw] capacity_reservation_ids
1024
+ # The Capacity Reservation IDs to launch instances into.
1025
+ # @return [Array<String>]
1026
+ #
1027
+ # @!attribute [rw] capacity_reservation_resource_group_arns
1028
+ # The resource group ARNs of the Capacity Reservation to launch
1029
+ # instances into.
1030
+ # @return [Array<String>]
1031
+ #
1032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CapacityReservationTarget AWS API Documentation
1033
+ #
1034
+ class CapacityReservationTarget < Struct.new(
1035
+ :capacity_reservation_ids,
1036
+ :capacity_reservation_resource_group_arns)
1037
+ SENSITIVE = []
1038
+ include Aws::Structure
1039
+ end
1040
+
952
1041
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer AWS API Documentation
953
1042
  #
954
1043
  class CompleteLifecycleActionAnswer < Aws::EmptyStructure; end
@@ -989,6 +1078,29 @@ module Aws::AutoScaling
989
1078
  include Aws::Structure
990
1079
  end
991
1080
 
1081
+ # The CPU performance to consider, using an instance family as the
1082
+ # baseline reference.
1083
+ #
1084
+ # @!attribute [rw] references
1085
+ # Specify an instance family to use as the baseline reference for CPU
1086
+ # performance. All instance types that match your specified attributes
1087
+ # will be compared against the CPU performance of the referenced
1088
+ # instance family, regardless of CPU manufacturer or architecture
1089
+ # differences.
1090
+ #
1091
+ # <note markdown="1"> Currently only one instance family can be specified in the list.
1092
+ #
1093
+ # </note>
1094
+ # @return [Array<Types::PerformanceFactorReferenceRequest>]
1095
+ #
1096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CpuPerformanceFactorRequest AWS API Documentation
1097
+ #
1098
+ class CpuPerformanceFactorRequest < Struct.new(
1099
+ :references)
1100
+ SENSITIVE = []
1101
+ include Aws::Structure
1102
+ end
1103
+
992
1104
  # @!attribute [rw] auto_scaling_group_name
993
1105
  # The name of the Auto Scaling group. This name must be unique per
994
1106
  # Region per account.
@@ -1358,6 +1470,10 @@ module Aws::AutoScaling
1358
1470
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
1359
1471
  # @return [Boolean]
1360
1472
  #
1473
+ # @!attribute [rw] capacity_reservation_specification
1474
+ # The capacity reservation specification for the Auto Scaling group.
1475
+ # @return [Types::CapacityReservationSpecification]
1476
+ #
1361
1477
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
1362
1478
  #
1363
1479
  class CreateAutoScalingGroupType < Struct.new(
@@ -1391,7 +1507,8 @@ module Aws::AutoScaling
1391
1507
  :instance_maintenance_policy,
1392
1508
  :availability_zone_distribution,
1393
1509
  :availability_zone_impairment_policy,
1394
- :skip_zonal_shift_validation)
1510
+ :skip_zonal_shift_validation,
1511
+ :capacity_reservation_specification)
1395
1512
  SENSITIVE = []
1396
1513
  include Aws::Structure
1397
1514
  end
@@ -4002,6 +4119,10 @@ module Aws::AutoScaling
4002
4119
  # Default: All instance types
4003
4120
  # @return [Array<String>]
4004
4121
  #
4122
+ # @!attribute [rw] baseline_performance_factors
4123
+ # The baseline performance factors for the instance requirements.
4124
+ # @return [Types::BaselinePerformanceFactorsRequest]
4125
+ #
4005
4126
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRequirements AWS API Documentation
4006
4127
  #
4007
4128
  class InstanceRequirements < Struct.new(
@@ -4028,7 +4149,8 @@ module Aws::AutoScaling
4028
4149
  :accelerator_names,
4029
4150
  :accelerator_total_memory_mi_b,
4030
4151
  :network_bandwidth_gbps,
4031
- :allowed_instance_types)
4152
+ :allowed_instance_types,
4153
+ :baseline_performance_factors)
4032
4154
  SENSITIVE = []
4033
4155
  include Aws::Structure
4034
4156
  end
@@ -5394,6 +5516,68 @@ module Aws::AutoScaling
5394
5516
  include Aws::Structure
5395
5517
  end
5396
5518
 
5519
+ # Specify an instance family to use as the baseline reference for CPU
5520
+ # performance. All instance types that All instance types that match
5521
+ # your specified attributes will be compared against the CPU performance
5522
+ # of the referenced instance family, regardless of CPU manufacturer or
5523
+ # architecture differences.
5524
+ #
5525
+ # <note markdown="1"> Currently only one instance family can be specified in the list.
5526
+ #
5527
+ # </note>
5528
+ #
5529
+ # @!attribute [rw] instance_family
5530
+ # The instance family to use as a baseline reference.
5531
+ #
5532
+ # <note markdown="1"> Make sure that you specify the correct value for the instance
5533
+ # family. The instance family is everything before the period (.) in
5534
+ # the instance type name. For example, in the instance `c6i.large`,
5535
+ # the instance family is `c6i`, not `c6`. For more information, see
5536
+ # [Amazon EC2 instance type naming conventions][1] in *Amazon EC2
5537
+ # Instance Types*.
5538
+ #
5539
+ # </note>
5540
+ #
5541
+ # The following instance types are *not supported* for performance
5542
+ # protection.
5543
+ #
5544
+ # * `c1`
5545
+ #
5546
+ # * `g3| g3s`
5547
+ #
5548
+ # * `hpc7g`
5549
+ #
5550
+ # * `m1| m2`
5551
+ #
5552
+ # * `mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro`
5553
+ #
5554
+ # * `p3dn | p4d | p5`
5555
+ #
5556
+ # * `t1`
5557
+ #
5558
+ # * `u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb
5559
+ # | u7in-16tb | u7in-24tb | u7in-32tb`
5560
+ #
5561
+ # If you performance protection by specifying a supported instance
5562
+ # family, the returned instance types will exclude the preceding
5563
+ # unsupported instance families.
5564
+ #
5565
+ # If you specify an unsupported instance family as a value for
5566
+ # baseline performance, the API returns an empty response.
5567
+ #
5568
+ #
5569
+ #
5570
+ # [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html
5571
+ # @return [String]
5572
+ #
5573
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PerformanceFactorReferenceRequest AWS API Documentation
5574
+ #
5575
+ class PerformanceFactorReferenceRequest < Struct.new(
5576
+ :instance_family)
5577
+ SENSITIVE = []
5578
+ include Aws::Structure
5579
+ end
5580
+
5397
5581
  # @!attribute [rw] scaling_policies
5398
5582
  # The scaling policies.
5399
5583
  # @return [Array<Types::ScalingPolicy>]
@@ -8023,6 +8207,10 @@ module Aws::AutoScaling
8023
8207
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
8024
8208
  # @return [Boolean]
8025
8209
  #
8210
+ # @!attribute [rw] capacity_reservation_specification
8211
+ # The capacity reservation specification for the Auto Scaling group.
8212
+ # @return [Types::CapacityReservationSpecification]
8213
+ #
8026
8214
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
8027
8215
  #
8028
8216
  class UpdateAutoScalingGroupType < Struct.new(
@@ -8050,7 +8238,8 @@ module Aws::AutoScaling
8050
8238
  :instance_maintenance_policy,
8051
8239
  :availability_zone_distribution,
8052
8240
  :availability_zone_impairment_policy,
8053
- :skip_zonal_shift_validation)
8241
+ :skip_zonal_shift_validation,
8242
+ :capacity_reservation_specification)
8054
8243
  SENSITIVE = []
8055
8244
  include Aws::Structure
8056
8245
  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.126.0'
68
+ GEM_VERSION = '1.127.0'
69
69
 
70
70
  end
71
71
 
@@ -120,6 +120,9 @@ module Aws
120
120
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zone_impairment_policy-instance_method
121
121
  def availability_zone_impairment_policy: () -> Types::AvailabilityZoneImpairmentPolicy
122
122
 
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#capacity_reservation_specification-instance_method
124
+ def capacity_reservation_specification: () -> Types::CapacityReservationSpecification
125
+
123
126
  def client: () -> Client
124
127
 
125
128
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load-instance_method
@@ -447,7 +450,16 @@ module Aws
447
450
  min: ::Float?,
448
451
  max: ::Float?
449
452
  }?,
450
- allowed_instance_types: Array[::String]?
453
+ allowed_instance_types: Array[::String]?,
454
+ baseline_performance_factors: {
455
+ cpu: {
456
+ references: Array[
457
+ {
458
+ instance_family: ::String?
459
+ },
460
+ ]?
461
+ }?
462
+ }?
451
463
  }?
452
464
  },
453
465
  ]?
@@ -489,7 +501,14 @@ module Aws
489
501
  zonal_shift_enabled: bool?,
490
502
  impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
491
503
  },
492
- ?skip_zonal_shift_validation: bool
504
+ ?skip_zonal_shift_validation: bool,
505
+ ?capacity_reservation_specification: {
506
+ capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
507
+ capacity_reservation_target: {
508
+ capacity_reservation_ids: Array[::String]?,
509
+ capacity_reservation_resource_group_arns: Array[::String]?
510
+ }?
511
+ }
493
512
  ) -> AutoScalingGroup
494
513
  | (?Hash[Symbol, untyped]) -> AutoScalingGroup
495
514
 
data/sig/client.rbs CHANGED
@@ -250,7 +250,16 @@ module Aws
250
250
  min: ::Float?,
251
251
  max: ::Float?
252
252
  }?,
253
- allowed_instance_types: Array[::String]?
253
+ allowed_instance_types: Array[::String]?,
254
+ baseline_performance_factors: {
255
+ cpu: {
256
+ references: Array[
257
+ {
258
+ instance_family: ::String?
259
+ },
260
+ ]?
261
+ }?
262
+ }?
254
263
  }?
255
264
  },
256
265
  ]?
@@ -321,7 +330,14 @@ module Aws
321
330
  zonal_shift_enabled: bool?,
322
331
  impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
323
332
  },
324
- ?skip_zonal_shift_validation: bool
333
+ ?skip_zonal_shift_validation: bool,
334
+ ?capacity_reservation_specification: {
335
+ capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
336
+ capacity_reservation_target: {
337
+ capacity_reservation_ids: Array[::String]?,
338
+ capacity_reservation_resource_group_arns: Array[::String]?
339
+ }?
340
+ }
325
341
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
326
342
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
327
343
 
@@ -1179,7 +1195,16 @@ module Aws
1179
1195
  min: ::Float?,
1180
1196
  max: ::Float?
1181
1197
  }?,
1182
- allowed_instance_types: Array[::String]?
1198
+ allowed_instance_types: Array[::String]?,
1199
+ baseline_performance_factors: {
1200
+ cpu: {
1201
+ references: Array[
1202
+ {
1203
+ instance_family: ::String?
1204
+ },
1205
+ ]?
1206
+ }?
1207
+ }?
1183
1208
  }?
1184
1209
  },
1185
1210
  ]?
@@ -1306,7 +1331,16 @@ module Aws
1306
1331
  min: ::Float?,
1307
1332
  max: ::Float?
1308
1333
  }?,
1309
- allowed_instance_types: Array[::String]?
1334
+ allowed_instance_types: Array[::String]?,
1335
+ baseline_performance_factors: {
1336
+ cpu: {
1337
+ references: Array[
1338
+ {
1339
+ instance_family: ::String?
1340
+ },
1341
+ ]?
1342
+ }?
1343
+ }?
1310
1344
  }?
1311
1345
  },
1312
1346
  ]?
@@ -1348,7 +1382,14 @@ module Aws
1348
1382
  zonal_shift_enabled: bool?,
1349
1383
  impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
1350
1384
  },
1351
- ?skip_zonal_shift_validation: bool
1385
+ ?skip_zonal_shift_validation: bool,
1386
+ ?capacity_reservation_specification: {
1387
+ capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
1388
+ capacity_reservation_target: {
1389
+ capacity_reservation_ids: Array[::String]?,
1390
+ capacity_reservation_resource_group_arns: Array[::String]?
1391
+ }?
1392
+ }
1352
1393
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1353
1394
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1354
1395
 
data/sig/resource.rbs CHANGED
@@ -153,7 +153,16 @@ module Aws
153
153
  min: ::Float?,
154
154
  max: ::Float?
155
155
  }?,
156
- allowed_instance_types: Array[::String]?
156
+ allowed_instance_types: Array[::String]?,
157
+ baseline_performance_factors: {
158
+ cpu: {
159
+ references: Array[
160
+ {
161
+ instance_family: ::String?
162
+ },
163
+ ]?
164
+ }?
165
+ }?
157
166
  }?
158
167
  },
159
168
  ]?
@@ -224,7 +233,14 @@ module Aws
224
233
  zonal_shift_enabled: bool?,
225
234
  impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
226
235
  },
227
- ?skip_zonal_shift_validation: bool
236
+ ?skip_zonal_shift_validation: bool,
237
+ ?capacity_reservation_specification: {
238
+ capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
239
+ capacity_reservation_target: {
240
+ capacity_reservation_ids: Array[::String]?,
241
+ capacity_reservation_resource_group_arns: Array[::String]?
242
+ }?
243
+ }
228
244
  ) -> AutoScalingGroup
229
245
  | (?Hash[Symbol, untyped]) -> AutoScalingGroup
230
246
 
data/sig/types.rbs CHANGED
@@ -145,6 +145,7 @@ module Aws::AutoScaling
145
145
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
146
146
  attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
147
147
  attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
148
+ attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
148
149
  SENSITIVE: []
149
150
  end
150
151
 
@@ -199,6 +200,11 @@ module Aws::AutoScaling
199
200
  SENSITIVE: []
200
201
  end
201
202
 
203
+ class BaselinePerformanceFactorsRequest
204
+ attr_accessor cpu: Types::CpuPerformanceFactorRequest
205
+ SENSITIVE: []
206
+ end
207
+
202
208
  class BatchDeleteScheduledActionAnswer
203
209
  attr_accessor failed_scheduled_actions: ::Array[Types::FailedScheduledUpdateGroupActionRequest]
204
210
  SENSITIVE: []
@@ -245,6 +251,18 @@ module Aws::AutoScaling
245
251
  SENSITIVE: []
246
252
  end
247
253
 
254
+ class CapacityReservationSpecification
255
+ attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")
256
+ attr_accessor capacity_reservation_target: Types::CapacityReservationTarget
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class CapacityReservationTarget
261
+ attr_accessor capacity_reservation_ids: ::Array[::String]
262
+ attr_accessor capacity_reservation_resource_group_arns: ::Array[::String]
263
+ SENSITIVE: []
264
+ end
265
+
248
266
  class CompleteLifecycleActionAnswer < Aws::EmptyStructure
249
267
  end
250
268
 
@@ -257,6 +275,11 @@ module Aws::AutoScaling
257
275
  SENSITIVE: []
258
276
  end
259
277
 
278
+ class CpuPerformanceFactorRequest
279
+ attr_accessor references: ::Array[Types::PerformanceFactorReferenceRequest]
280
+ SENSITIVE: []
281
+ end
282
+
260
283
  class CreateAutoScalingGroupType
261
284
  attr_accessor auto_scaling_group_name: ::String
262
285
  attr_accessor launch_configuration_name: ::String
@@ -289,6 +312,7 @@ module Aws::AutoScaling
289
312
  attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
290
313
  attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
291
314
  attr_accessor skip_zonal_shift_validation: bool
315
+ attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
292
316
  SENSITIVE: []
293
317
  end
294
318
 
@@ -775,6 +799,7 @@ module Aws::AutoScaling
775
799
  attr_accessor accelerator_total_memory_mi_b: Types::AcceleratorTotalMemoryMiBRequest
776
800
  attr_accessor network_bandwidth_gbps: Types::NetworkBandwidthGbpsRequest
777
801
  attr_accessor allowed_instance_types: ::Array[::String]
802
+ attr_accessor baseline_performance_factors: Types::BaselinePerformanceFactorsRequest
778
803
  SENSITIVE: []
779
804
  end
780
805
 
@@ -990,6 +1015,11 @@ module Aws::AutoScaling
990
1015
  SENSITIVE: []
991
1016
  end
992
1017
 
1018
+ class PerformanceFactorReferenceRequest
1019
+ attr_accessor instance_family: ::String
1020
+ SENSITIVE: []
1021
+ end
1022
+
993
1023
  class PoliciesType
994
1024
  attr_accessor scaling_policies: ::Array[Types::ScalingPolicy]
995
1025
  attr_accessor next_token: ::String
@@ -1411,6 +1441,7 @@ module Aws::AutoScaling
1411
1441
  attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
1412
1442
  attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
1413
1443
  attr_accessor skip_zonal_shift_validation: bool
1444
+ attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
1414
1445
  SENSITIVE: []
1415
1446
  end
1416
1447
 
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.126.0
4
+ version: 1.127.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-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core