aws-sdk-autoscaling 1.103.0 → 1.104.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: a8aec58f99bca738b51969e0c109b484f94e60c40e2b10bede3b4da607d76bdf
4
- data.tar.gz: e205bac1211591650af208a9779bc06b915f03f9d8adc0489d0342129d90b183
3
+ metadata.gz: e9abd7687e1d2e1f616f963022e6bfabc471cf4e0e101cc44f550eca0a461b5e
4
+ data.tar.gz: 889a1d51952374052c58ec312660b4a7fac4e1349e77e96121e7d7b41c7f5a62
5
5
  SHA512:
6
- metadata.gz: c63148b27797833c16928573c50205e4077b1b55617dcab79b0f186bed07cf3adedd5ba92fda7f4a20890b1ae083a2123dc7259ec295df88d379c780b1bd8692
7
- data.tar.gz: eb21508d17ef9f306dfe8c8e91d650cec42e4c79ef550c390c438e406e07818e0b14f2dd91e913d7bae2a7c9121f8e458c0382843373c66f9016f20113efbb8c
6
+ metadata.gz: 72f50812ede0c1728163ecadc7be2ff87bd1c8c77b21713dae99b6bd60e6518d680c01644abeb5f4abd4388a2f96b52ff8cb91e7ab248127f4e228128251bcd0
7
+ data.tar.gz: d572f45d4ac7f1c29c888f2c1057b50ac663a958f2cfbb0c0a81b9c025a6528df1b5b1f7934970cbd2c6b3009d411cfa42f47ba5aa8848341689c64ea0a73e72
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.104.0 (2024-01-29)
5
+ ------------------
6
+
7
+ * Feature - EC2 Auto Scaling customers who use attribute based instance-type selection can now intuitively define their Spot instances price protection limit as a percentage of the lowest priced On-Demand instance type.
8
+
4
9
  1.103.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.103.0
1
+ 1.104.0
@@ -1200,6 +1200,7 @@ module Aws::AutoScaling
1200
1200
  # excluded_instance_types: ["ExcludedInstance"],
1201
1201
  # instance_generations: ["current"], # accepts current, previous
1202
1202
  # spot_max_price_percentage_over_lowest_price: 1,
1203
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
1203
1204
  # on_demand_max_price_percentage_over_lowest_price: 1,
1204
1205
  # bare_metal: "included", # accepts included, excluded, required
1205
1206
  # burstable_performance: "included", # accepts included, excluded, required
@@ -1403,6 +1403,7 @@ module Aws::AutoScaling
1403
1403
  # excluded_instance_types: ["ExcludedInstance"],
1404
1404
  # instance_generations: ["current"], # accepts current, previous
1405
1405
  # spot_max_price_percentage_over_lowest_price: 1,
1406
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
1406
1407
  # on_demand_max_price_percentage_over_lowest_price: 1,
1407
1408
  # bare_metal: "included", # accepts included, excluded, required
1408
1409
  # burstable_performance: "included", # accepts included, excluded, required
@@ -2511,6 +2512,7 @@ module Aws::AutoScaling
2511
2512
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations #=> Array
2512
2513
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
2513
2514
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
2515
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
2514
2516
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
2515
2517
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.bare_metal #=> String, one of "included", "excluded", "required"
2516
2518
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.burstable_performance #=> String, one of "included", "excluded", "required"
@@ -2750,7 +2752,7 @@ module Aws::AutoScaling
2750
2752
  end
2751
2753
 
2752
2754
  # Gets information about the instance refreshes for the specified Auto
2753
- # Scaling group.
2755
+ # Scaling group from the previous six weeks.
2754
2756
  #
2755
2757
  # This operation is part of the [instance refresh feature][1] in Amazon
2756
2758
  # EC2 Auto Scaling, which helps you update instances in your Auto
@@ -2912,6 +2914,7 @@ module Aws::AutoScaling
2912
2914
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations #=> Array
2913
2915
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
2914
2916
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
2917
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
2915
2918
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
2916
2919
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.bare_metal #=> String, one of "included", "excluded", "required"
2917
2920
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.burstable_performance #=> String, one of "included", "excluded", "required"
@@ -6520,6 +6523,7 @@ module Aws::AutoScaling
6520
6523
  # excluded_instance_types: ["ExcludedInstance"],
6521
6524
  # instance_generations: ["current"], # accepts current, previous
6522
6525
  # spot_max_price_percentage_over_lowest_price: 1,
6526
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
6523
6527
  # on_demand_max_price_percentage_over_lowest_price: 1,
6524
6528
  # bare_metal: "included", # accepts included, excluded, required
6525
6529
  # burstable_performance: "included", # accepts included, excluded, required
@@ -7072,6 +7076,7 @@ module Aws::AutoScaling
7072
7076
  # excluded_instance_types: ["ExcludedInstance"],
7073
7077
  # instance_generations: ["current"], # accepts current, previous
7074
7078
  # spot_max_price_percentage_over_lowest_price: 1,
7079
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
7075
7080
  # on_demand_max_price_percentage_over_lowest_price: 1,
7076
7081
  # bare_metal: "included", # accepts included, excluded, required
7077
7082
  # burstable_performance: "included", # accepts included, excluded, required
@@ -7164,7 +7169,7 @@ module Aws::AutoScaling
7164
7169
  params: params,
7165
7170
  config: config)
7166
7171
  context[:gem_name] = 'aws-sdk-autoscaling'
7167
- context[:gem_version] = '1.103.0'
7172
+ context[:gem_version] = '1.104.0'
7168
7173
  Seahorse::Client::Request.new(handlers, context)
7169
7174
  end
7170
7175
 
@@ -983,6 +983,7 @@ module Aws::AutoScaling
983
983
  InstanceRequirements.add_member(:excluded_instance_types, Shapes::ShapeRef.new(shape: ExcludedInstanceTypes, location_name: "ExcludedInstanceTypes"))
984
984
  InstanceRequirements.add_member(:instance_generations, Shapes::ShapeRef.new(shape: InstanceGenerations, location_name: "InstanceGenerations"))
985
985
  InstanceRequirements.add_member(:spot_max_price_percentage_over_lowest_price, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "SpotMaxPricePercentageOverLowestPrice"))
986
+ InstanceRequirements.add_member(:max_spot_price_as_percentage_of_optimal_on_demand_price, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice"))
986
987
  InstanceRequirements.add_member(:on_demand_max_price_percentage_over_lowest_price, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "OnDemandMaxPricePercentageOverLowestPrice"))
987
988
  InstanceRequirements.add_member(:bare_metal, Shapes::ShapeRef.new(shape: BareMetal, location_name: "BareMetal"))
988
989
  InstanceRequirements.add_member(:burstable_performance, Shapes::ShapeRef.new(shape: BurstablePerformance, location_name: "BurstablePerformance"))
@@ -78,6 +78,7 @@ module Aws::AutoScaling
78
78
  # excluded_instance_types: ["ExcludedInstance"],
79
79
  # instance_generations: ["current"], # accepts current, previous
80
80
  # spot_max_price_percentage_over_lowest_price: 1,
81
+ # max_spot_price_as_percentage_of_optimal_on_demand_price: 1,
81
82
  # on_demand_max_price_percentage_over_lowest_price: 1,
82
83
  # bare_metal: "included", # accepts included, excluded, required
83
84
  # burstable_performance: "included", # accepts included, excluded, required
@@ -3212,8 +3212,8 @@ module Aws::AutoScaling
3212
3212
  # capacity of the Auto Scaling group. It represents the minimum
3213
3213
  # percentage of the group to keep in service, healthy, and ready to
3214
3214
  # use to support your workload when replacing instances. Value range
3215
- # is 0 to 100. After it's set, a value of `-1` will clear the
3216
- # previously set value.
3215
+ # is 0 to 100. To clear a previously set value, specify a value of
3216
+ # `-1`.
3217
3217
  # @return [Integer]
3218
3218
  #
3219
3219
  # @!attribute [rw] max_healthy_percentage
@@ -3221,8 +3221,8 @@ module Aws::AutoScaling
3221
3221
  # capacity of the Auto Scaling group. It represents the maximum
3222
3222
  # percentage of the group that can be in service and healthy, or
3223
3223
  # pending, to support your workload when replacing instances. Value
3224
- # range is 100 to 200. After it's set, a value of `-1` will clear the
3225
- # previously set value.
3224
+ # range is 100 to 200. To clear a previously set value, specify a
3225
+ # value of `-1`.
3226
3226
  #
3227
3227
  # Both `MinHealthyPercentage` and `MaxHealthyPercentage` must be
3228
3228
  # specified, and the difference between them cannot be greater than
@@ -3619,37 +3619,90 @@ module Aws::AutoScaling
3619
3619
  # @return [Array<String>]
3620
3620
  #
3621
3621
  # @!attribute [rw] spot_max_price_percentage_over_lowest_price
3622
- # The price protection threshold for Spot Instances. This is the
3623
- # maximum you’ll pay for a Spot Instance, expressed as a percentage
3624
- # higher than the least expensive current generation M, C, or R
3625
- # instance type with your specified attributes. When Amazon EC2 Auto
3626
- # Scaling selects instance types with your attributes, we will exclude
3627
- # instance types whose price is higher than your threshold. The
3628
- # parameter accepts an integer, which Amazon EC2 Auto Scaling
3629
- # interprets as a percentage. To turn off price protection, specify a
3630
- # high value, such as `999999`.
3622
+ # \[Price protection\] The price protection threshold for Spot
3623
+ # Instances, as a percentage higher than an identified Spot price. The
3624
+ # identified Spot price is the price of the lowest priced current
3625
+ # generation C, M, or R instance type with your specified attributes.
3626
+ # If no current generation C, M, or R instance type matches your
3627
+ # attributes, then the identified price is from either the lowest
3628
+ # priced current generation instance types or, failing that, the
3629
+ # lowest priced previous generation instance types that match your
3630
+ # attributes. When Amazon EC2 Auto Scaling selects instance types with
3631
+ # your attributes, we will exclude instance types whose price exceeds
3632
+ # your specified threshold.
3633
+ #
3634
+ # The parameter accepts an integer, which Amazon EC2 Auto Scaling
3635
+ # interprets as a percentage.
3636
+ #
3637
+ # To turn off price protection, specify a high value, such as
3638
+ # `999999`.
3631
3639
  #
3632
3640
  # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
3633
- # price protection threshold is applied based on the per vCPU or per
3634
- # memory price instead of the per instance price.
3641
+ # price protection threshold is based on the per-vCPU or per-memory
3642
+ # price instead of the per instance price.
3643
+ #
3644
+ # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
3645
+ # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
3646
+ #
3647
+ # </note>
3635
3648
  #
3636
3649
  # Default: `100`
3637
3650
  # @return [Integer]
3638
3651
  #
3652
+ # @!attribute [rw] max_spot_price_as_percentage_of_optimal_on_demand_price
3653
+ # \[Price protection\] The price protection threshold for Spot
3654
+ # Instances, as a percentage of an identified On-Demand price. The
3655
+ # identified On-Demand price is the price of the lowest priced current
3656
+ # generation C, M, or R instance type with your specified attributes.
3657
+ # If no current generation C, M, or R instance type matches your
3658
+ # attributes, then the identified price is from either the lowest
3659
+ # priced current generation instance types or, failing that, the
3660
+ # lowest priced previous generation instance types that match your
3661
+ # attributes. When Amazon EC2 Auto Scaling selects instance types with
3662
+ # your attributes, we will exclude instance types whose price exceeds
3663
+ # your specified threshold.
3664
+ #
3665
+ # The parameter accepts an integer, which Amazon EC2 Auto Scaling
3666
+ # interprets as a percentage.
3667
+ #
3668
+ # To indicate no price protection threshold, specify a high value,
3669
+ # such as `999999`.
3670
+ #
3671
+ # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
3672
+ # price protection threshold is based on the per-vCPU or per-memory
3673
+ # price instead of the per instance price.
3674
+ #
3675
+ # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
3676
+ # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
3677
+ # If you don't specify either, then
3678
+ # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
3679
+ # that parameter defaults to `100`.
3680
+ #
3681
+ # </note>
3682
+ # @return [Integer]
3683
+ #
3639
3684
  # @!attribute [rw] on_demand_max_price_percentage_over_lowest_price
3640
- # The price protection threshold for On-Demand Instances. This is the
3641
- # maximum you’ll pay for an On-Demand Instance, expressed as a
3642
- # percentage higher than the least expensive current generation M, C,
3643
- # or R instance type with your specified attributes. When Amazon EC2
3644
- # Auto Scaling selects instance types with your attributes, we will
3645
- # exclude instance types whose price is higher than your threshold.
3685
+ # \[Price protection\] The price protection threshold for On-Demand
3686
+ # Instances, as a percentage higher than an identified On-Demand
3687
+ # price. The identified On-Demand price is the price of the lowest
3688
+ # priced current generation C, M, or R instance type with your
3689
+ # specified attributes. If no current generation C, M, or R instance
3690
+ # type matches your attributes, then the identified price is from
3691
+ # either the lowest priced current generation instance types or,
3692
+ # failing that, the lowest priced previous generation instance types
3693
+ # that match your attributes. When Amazon EC2 Auto Scaling selects
3694
+ # instance types with your attributes, we will exclude instance types
3695
+ # whose price exceeds your specified threshold.
3696
+ #
3646
3697
  # The parameter accepts an integer, which Amazon EC2 Auto Scaling
3647
- # interprets as a percentage. To turn off price protection, specify a
3648
- # high value, such as `999999`.
3698
+ # interprets as a percentage.
3699
+ #
3700
+ # To turn off price protection, specify a high value, such as
3701
+ # `999999`.
3649
3702
  #
3650
3703
  # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
3651
- # price protection threshold is applied based on the per vCPU or per
3652
- # memory price instead of the per instance price.
3704
+ # price protection threshold is applied based on the per-vCPU or
3705
+ # per-memory price instead of the per instance price.
3653
3706
  #
3654
3707
  # Default: `20`
3655
3708
  # @return [Integer]
@@ -3838,6 +3891,7 @@ module Aws::AutoScaling
3838
3891
  :excluded_instance_types,
3839
3892
  :instance_generations,
3840
3893
  :spot_max_price_percentage_over_lowest_price,
3894
+ :max_spot_price_as_percentage_of_optimal_on_demand_price,
3841
3895
  :on_demand_max_price_percentage_over_lowest_price,
3842
3896
  :bare_metal,
3843
3897
  :burstable_performance,
@@ -5028,7 +5082,7 @@ module Aws::AutoScaling
5028
5082
  end
5029
5083
 
5030
5084
  # This structure defines the CloudWatch metric to return, along with the
5031
- # statistic, period, and unit.
5085
+ # statistic and unit.
5032
5086
  #
5033
5087
  # For more information about the CloudWatch terminology below, see
5034
5088
  # [Amazon CloudWatch concepts][1] in the *Amazon CloudWatch User Guide*.
@@ -63,6 +63,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
63
63
  # @!group service
64
64
  module Aws::AutoScaling
65
65
 
66
- GEM_VERSION = '1.103.0'
66
+ GEM_VERSION = '1.104.0'
67
67
 
68
68
  end
@@ -407,6 +407,7 @@ module Aws
407
407
  excluded_instance_types: Array[::String]?,
408
408
  instance_generations: Array[("current" | "previous")]?,
409
409
  spot_max_price_percentage_over_lowest_price: ::Integer?,
410
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
410
411
  on_demand_max_price_percentage_over_lowest_price: ::Integer?,
411
412
  bare_metal: ("included" | "excluded" | "required")?,
412
413
  burstable_performance: ("included" | "excluded" | "required")?,
data/sig/client.rbs CHANGED
@@ -212,6 +212,7 @@ module Aws
212
212
  excluded_instance_types: Array[::String]?,
213
213
  instance_generations: Array[("current" | "previous")]?,
214
214
  spot_max_price_percentage_over_lowest_price: ::Integer?,
215
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
215
216
  on_demand_max_price_percentage_over_lowest_price: ::Integer?,
216
217
  bare_metal: ("included" | "excluded" | "required")?,
217
218
  burstable_performance: ("included" | "excluded" | "required")?,
@@ -1132,6 +1133,7 @@ module Aws
1132
1133
  excluded_instance_types: Array[::String]?,
1133
1134
  instance_generations: Array[("current" | "previous")]?,
1134
1135
  spot_max_price_percentage_over_lowest_price: ::Integer?,
1136
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
1135
1137
  on_demand_max_price_percentage_over_lowest_price: ::Integer?,
1136
1138
  bare_metal: ("included" | "excluded" | "required")?,
1137
1139
  burstable_performance: ("included" | "excluded" | "required")?,
@@ -1257,6 +1259,7 @@ module Aws
1257
1259
  excluded_instance_types: Array[::String]?,
1258
1260
  instance_generations: Array[("current" | "previous")]?,
1259
1261
  spot_max_price_percentage_over_lowest_price: ::Integer?,
1262
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
1260
1263
  on_demand_max_price_percentage_over_lowest_price: ::Integer?,
1261
1264
  bare_metal: ("included" | "excluded" | "required")?,
1262
1265
  burstable_performance: ("included" | "excluded" | "required")?,
data/sig/resource.rbs CHANGED
@@ -116,6 +116,7 @@ module Aws
116
116
  excluded_instance_types: Array[::String]?,
117
117
  instance_generations: Array[("current" | "previous")]?,
118
118
  spot_max_price_percentage_over_lowest_price: ::Integer?,
119
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
119
120
  on_demand_max_price_percentage_over_lowest_price: ::Integer?,
120
121
  bare_metal: ("included" | "excluded" | "required")?,
121
122
  burstable_performance: ("included" | "excluded" | "required")?,
data/sig/types.rbs CHANGED
@@ -741,6 +741,7 @@ module Aws::AutoScaling
741
741
  attr_accessor excluded_instance_types: ::Array[::String]
742
742
  attr_accessor instance_generations: ::Array[("current" | "previous")]
743
743
  attr_accessor spot_max_price_percentage_over_lowest_price: ::Integer
744
+ attr_accessor max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
744
745
  attr_accessor on_demand_max_price_percentage_over_lowest_price: ::Integer
745
746
  attr_accessor bare_metal: ("included" | "excluded" | "required")
746
747
  attr_accessor burstable_performance: ("included" | "excluded" | "required")
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.103.0
4
+ version: 1.104.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-01-26 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core