aws-sdk-autoscaling 1.102.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: 695edc765686ea8a13ea91221ebf6adfe465b6409b0831aa9e3a18662c00d8d2
4
- data.tar.gz: 6ae35bbb3f6ef4f2a1e85e4a034d412b80d97dcdf81af89b815b520882b0c83e
3
+ metadata.gz: e9abd7687e1d2e1f616f963022e6bfabc471cf4e0e101cc44f550eca0a461b5e
4
+ data.tar.gz: 889a1d51952374052c58ec312660b4a7fac4e1349e77e96121e7d7b41c7f5a62
5
5
  SHA512:
6
- metadata.gz: 7d7d5763e4c958d8a2b405b271976edc840766bba822ba6173653a3de6f3d0ad74ef168b47e733e27ff7f3629e69258596a511b305432877645ae753832b2e41
7
- data.tar.gz: dd2ed876346cf02ff998118522ef265c96ea6db5b61d51dd9c79c2b7bb24e737a065775d9a57e85512dbf694ad46d6b30ea698119fedf9b1273e23a3c0eb0349
6
+ metadata.gz: 72f50812ede0c1728163ecadc7be2ff87bd1c8c77b21713dae99b6bd60e6518d680c01644abeb5f4abd4388a2f96b52ff8cb91e7ab248127f4e228128251bcd0
7
+ data.tar.gz: d572f45d4ac7f1c29c888f2c1057b50ac663a958f2cfbb0c0a81b9c025a6528df1b5b1f7934970cbd2c6b3009d411cfa42f47ba5aa8848341689c64ea0a73e72
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.103.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.102.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.102.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.102.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"))
@@ -14,6 +14,7 @@ module Aws::AutoScaling
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::AutoScaling::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -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.102.0'
66
+ GEM_VERSION = '1.104.0'
67
67
 
68
68
  end
data/sig/activity.rbs ADDED
@@ -0,0 +1,74 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module AutoScaling
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html
11
+ class Activity
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#initialize-instance_method
13
+ def initialize: (String id, Hash[Symbol, untyped] options) -> void
14
+ | (id: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#id-instance_method
18
+ def id: () -> String
19
+ alias activity_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#auto_scaling_group_name-instance_method
22
+ def auto_scaling_group_name: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#description-instance_method
25
+ def description: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#cause-instance_method
28
+ def cause: () -> ::String
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#start_time-instance_method
31
+ def start_time: () -> ::Time
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#end_time-instance_method
34
+ def end_time: () -> ::Time
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#status_code-instance_method
37
+ def status_code: () -> ("PendingSpotBidPlacement" | "WaitingForSpotInstanceRequestId" | "WaitingForSpotInstanceId" | "WaitingForInstanceId" | "PreInService" | "InProgress" | "WaitingForELBConnectionDraining" | "MidLifecycleAction" | "WaitingForInstanceWarmup" | "Successful" | "Failed" | "Cancelled" | "WaitingForConnectionDraining")
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#status_message-instance_method
40
+ def status_message: () -> ::String
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#progress-instance_method
43
+ def progress: () -> ::Integer
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#details-instance_method
46
+ def details: () -> ::String
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#auto_scaling_group_state-instance_method
49
+ def auto_scaling_group_state: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#auto_scaling_group_arn-instance_method
52
+ def auto_scaling_group_arn: () -> ::String
53
+
54
+ def client: () -> Client
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#load-instance_method
57
+ def load: () -> self
58
+ alias reload load
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#data-instance_method
61
+ def data: () -> Types::Activity
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#data_loaded?-instance_method
64
+ def data_loaded?: () -> bool
65
+
66
+
67
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/Activity.html#group-instance_method
68
+ def group: () -> AutoScalingGroup?
69
+
70
+ class Collection < ::Aws::Resources::Collection[Activity]
71
+ end
72
+ end
73
+ end
74
+ end