aws-sdk-ec2 1.439.0 → 1.440.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: 81c682e5af3665bf8d63c8f4a9400981d8fe2d8896d7d76a088d2fd3959bb397
4
- data.tar.gz: 3edc7d9d6b6140e151e92389847e06e8bca14ba0932263769d37793396f8749b
3
+ metadata.gz: 4096e14580d5d715f23a1deac06e2a9da75f3a9cca335b1098a67ab862111649
4
+ data.tar.gz: d09da30b9005c497e2047412ae68ea8da4cd58b7e6d7cff58be5db79683ca5a4
5
5
  SHA512:
6
- metadata.gz: c7f065ed0f1bd8541409170f595d0fc2a7660a04a51e003c6e8a8168482dc966b7627450fb9d31173cb149232c18d9a097405bf69cd83299ea67a075ee18a205
7
- data.tar.gz: 7df836676084eb306f1488295c193bdc6c33d9bbb69bc0df9d346552d5fe0dcfd77cf6b251c74785a56981d80beab1286f80483339652d47b8c02046f0911807
6
+ metadata.gz: dbfbfbfa5c47fd17a13ae6ed716b4c4c0ccb1969b848b4a80909cac5b92cc1f949f2da4d63d4d2f5415c7b00b1b7b5c6840096405fe8de43298bac8714652dff
7
+ data.tar.gz: b51bc24a00df8fcaa52d0b3c69a2468f38f167f5f43931dcab2542d42198b4b2e23b5c30385d0b65f3321fb2ae9f069cc51847ad01f0ced0b4113c8fef99e10d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.440.0 (2024-03-01)
5
+ ------------------
6
+
7
+ * Feature - With this release, Amazon EC2 Auto Scaling groups, EC2 Fleet, and Spot Fleet improve the default price protection behavior of attribute-based instance type selection of Spot Instances, to consistently select from a wide range of instance types.
8
+
4
9
  1.439.0 (2024-02-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.439.0
1
+ 1.440.0
@@ -20172,9 +20172,9 @@ module Aws::EC2
20172
20172
  req.send_request(options)
20173
20173
  end
20174
20174
 
20175
- # Describes Capacity Block offerings available for purchase. With
20176
- # Capacity Blocks, you purchase a specific instance type for a period of
20177
- # time.
20175
+ # Describes Capacity Block offerings available for purchase in the
20176
+ # Amazon Web Services Region that you're currently using. With Capacity
20177
+ # Blocks, you purchase a specific instance type for a period of time.
20178
20178
  #
20179
20179
  # @option params [Boolean] :dry_run
20180
20180
  # Checks whether you have the required permissions for the action,
@@ -22073,7 +22073,13 @@ module Aws::EC2
22073
22073
 
22074
22074
  # Describes the running instances for the specified EC2 Fleet.
22075
22075
  #
22076
- # For more information, see [Monitor your EC2 Fleet][1] in the *Amazon
22076
+ # <note markdown="1"> Currently, `DescribeFleetInstances` does not support fleets of type
22077
+ # `instant`. Instead, use `DescribeFleets`, specifying the `instant`
22078
+ # fleet ID in the request.
22079
+ #
22080
+ # </note>
22081
+ #
22082
+ # For more information, see [Describe your EC2 Fleet][1] in the *Amazon
22077
22083
  # EC2 User Guide*.
22078
22084
  #
22079
22085
  #
@@ -22149,9 +22155,12 @@ module Aws::EC2
22149
22155
  req.send_request(options)
22150
22156
  end
22151
22157
 
22152
- # Describes the specified EC2 Fleets or all of your EC2 Fleets.
22158
+ # Describes the specified EC2 Fleet or all of your EC2 Fleets.
22153
22159
  #
22154
- # For more information, see [Monitor your EC2 Fleet][1] in the *Amazon
22160
+ # If a fleet is of type `instant`, you must specify the fleet ID in the
22161
+ # request, otherwise the fleet does not appear in the response.
22162
+ #
22163
+ # For more information, see [Describe your EC2 Fleet][1] in the *Amazon
22155
22164
  # EC2 User Guide*.
22156
22165
  #
22157
22166
  #
@@ -24406,6 +24415,12 @@ module Aws::EC2
24406
24415
  # you launch them through their termination. For more information, see
24407
24416
  # [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
24408
24417
  #
24418
+ # <note markdown="1"> The order of the elements in the response, including those within
24419
+ # nested structures, might vary. Applications should not assume the
24420
+ # elements appear in a particular order.
24421
+ #
24422
+ # </note>
24423
+ #
24409
24424
  #
24410
24425
  #
24411
24426
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html
@@ -25148,6 +25163,12 @@ module Aws::EC2
25148
25163
  # the call fails. If you describe instances and specify only instance
25149
25164
  # IDs that are in an unaffected zone, the call works normally.
25150
25165
  #
25166
+ # <note markdown="1"> The order of the elements in the response, including those within
25167
+ # nested structures, might vary. Applications should not assume the
25168
+ # elements appear in a particular order.
25169
+ #
25170
+ # </note>
25171
+ #
25151
25172
  # @option params [Array<Types::Filter>] :filters
25152
25173
  # The filters.
25153
25174
  #
@@ -30468,6 +30489,12 @@ module Aws::EC2
30468
30489
  # For more information about Reserved Instances, see [Reserved
30469
30490
  # Instances][1] in the *Amazon EC2 User Guide*.
30470
30491
  #
30492
+ # <note markdown="1"> The order of the elements in the response, including those within
30493
+ # nested structures, might vary. Applications should not assume the
30494
+ # elements appear in a particular order.
30495
+ #
30496
+ # </note>
30497
+ #
30471
30498
  #
30472
30499
  #
30473
30500
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-on-demand-reserved-instances.html
@@ -30620,6 +30647,12 @@ module Aws::EC2
30620
30647
  # For more information, see [Reserved Instance Marketplace][1] in the
30621
30648
  # *Amazon EC2 User Guide*.
30622
30649
  #
30650
+ # <note markdown="1"> The order of the elements in the response, including those within
30651
+ # nested structures, might vary. Applications should not assume the
30652
+ # elements appear in a particular order.
30653
+ #
30654
+ # </note>
30655
+ #
30623
30656
  #
30624
30657
  #
30625
30658
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
@@ -30699,6 +30732,12 @@ module Aws::EC2
30699
30732
  # For more information, see [Modifying Reserved Instances][1] in the
30700
30733
  # *Amazon EC2 User Guide*.
30701
30734
  #
30735
+ # <note markdown="1"> The order of the elements in the response, including those within
30736
+ # nested structures, might vary. Applications should not assume the
30737
+ # elements appear in a particular order.
30738
+ #
30739
+ # </note>
30740
+ #
30702
30741
  #
30703
30742
  #
30704
30743
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html
@@ -30809,6 +30848,12 @@ module Aws::EC2
30809
30848
  # For more information, see [Reserved Instance Marketplace][1] in the
30810
30849
  # *Amazon EC2 User Guide*.
30811
30850
  #
30851
+ # <note markdown="1"> The order of the elements in the response, including those within
30852
+ # nested structures, might vary. Applications should not assume the
30853
+ # elements appear in a particular order.
30854
+ #
30855
+ # </note>
30856
+ #
30812
30857
  #
30813
30858
  #
30814
30859
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-market-general.html
@@ -47224,7 +47269,7 @@ module Aws::EC2
47224
47269
  # * Modify the affinity between an instance and a [Dedicated Host][1].
47225
47270
  # When affinity is set to `host` and the instance is not associated
47226
47271
  # with a specific Dedicated Host, the next time the instance is
47227
- # launched, it is automatically associated with the host on which it
47272
+ # started, it is automatically associated with the host on which it
47228
47273
  # lands. If the instance is restarted or rebooted, this relationship
47229
47274
  # persists.
47230
47275
  #
@@ -47247,7 +47292,12 @@ module Aws::EC2
47247
47292
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
47248
47293
  #
47249
47294
  # @option params [String] :affinity
47250
- # The affinity setting for the instance.
47295
+ # The affinity setting for the instance. For more information, see [Host
47296
+ # affinity][1] in the *Amazon EC2 User Guide*.
47297
+ #
47298
+ #
47299
+ #
47300
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity
47251
47301
  #
47252
47302
  # @option params [String] :group_name
47253
47303
  # The name of the placement group in which to place the instance. For
@@ -58776,7 +58826,7 @@ module Aws::EC2
58776
58826
  params: params,
58777
58827
  config: config)
58778
58828
  context[:gem_name] = 'aws-sdk-ec2'
58779
- context[:gem_version] = '1.439.0'
58829
+ context[:gem_version] = '1.440.0'
58780
58830
  Seahorse::Client::Request.new(handlers, context)
58781
58831
  end
58782
58832
 
@@ -25098,7 +25098,8 @@ module Aws::EC2
25098
25098
  #
25099
25099
  # @!attribute [rw] next_token
25100
25100
  # The token to include in another request to get the next page of
25101
- # items. This value is `null` when there are no more items to return.
25101
+ # items. This value is an empty string (`""`) or `null` when there are
25102
+ # no more items to return.
25102
25103
  # @return [String]
25103
25104
  #
25104
25105
  # @!attribute [rw] spot_price_history
@@ -33023,6 +33024,15 @@ module Aws::EC2
33023
33024
  #
33024
33025
  # @!attribute [rw] weighted_capacity
33025
33026
  # The number of units provided by the specified instance type.
33027
+ #
33028
+ # <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
33029
+ # `price-capacity-optimized` allocation strategies is per *unit* hour
33030
+ # (where the instance price is divided by the specified weight).
33031
+ # However, if all the specified weights are above the requested
33032
+ # `TargetCapacity`, resulting in only 1 instance being launched, the
33033
+ # price used is per *instance* hour.
33034
+ #
33035
+ # </note>
33026
33036
  # @return [Float]
33027
33037
  #
33028
33038
  # @!attribute [rw] priority
@@ -33118,6 +33128,15 @@ module Aws::EC2
33118
33128
  #
33119
33129
  # @!attribute [rw] weighted_capacity
33120
33130
  # The number of units provided by the specified instance type.
33131
+ #
33132
+ # <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
33133
+ # `price-capacity-optimized` allocation strategies is per *unit* hour
33134
+ # (where the instance price is divided by the specified weight).
33135
+ # However, if all the specified weights are above the requested
33136
+ # `TargetCapacity`, resulting in only 1 instance being launched, the
33137
+ # price used is per *instance* hour.
33138
+ #
33139
+ # </note>
33121
33140
  # @return [Float]
33122
33141
  #
33123
33142
  # @!attribute [rw] priority
@@ -40212,9 +40231,6 @@ module Aws::EC2
40212
40231
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40213
40232
  # percentage.
40214
40233
  #
40215
- # To indicate no price protection threshold, specify a high value,
40216
- # such as `999999`.
40217
- #
40218
40234
  # If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40219
40235
  # price protection threshold is applied based on the per-vCPU or
40220
40236
  # per-memory price instead of the per-instance price.
@@ -40224,9 +40240,12 @@ module Aws::EC2
40224
40240
  #
40225
40241
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40226
40242
  # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40227
- # If you don't specify either, then
40228
- # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40229
- # that parameter defaults to `100`.
40243
+ # If you don't specify either, Amazon EC2 will automatically apply
40244
+ # optimal price protection to consistently select from a wide range of
40245
+ # instance types. To indicate no price protection threshold for Spot
40246
+ # Instances, meaning you want to consider all instance types that
40247
+ # match your attributes, include one of these parameters and specify a
40248
+ # high value, such as `999999`.
40230
40249
  #
40231
40250
  # </note>
40232
40251
  #
@@ -40497,18 +40516,18 @@ module Aws::EC2
40497
40516
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40498
40517
  # percentage.
40499
40518
  #
40500
- # To indicate no price protection threshold, specify a high value,
40501
- # such as `999999`.
40502
- #
40503
40519
  # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
40504
40520
  # price protection threshold is based on the per vCPU or per memory
40505
40521
  # price instead of the per instance price.
40506
40522
  #
40507
40523
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40508
40524
  # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40509
- # If you don't specify either, then
40510
- # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40511
- # that parameter defaults to `100`.
40525
+ # If you don't specify either, Amazon EC2 will automatically apply
40526
+ # optimal price protection to consistently select from a wide range of
40527
+ # instance types. To indicate no price protection threshold for Spot
40528
+ # Instances, meaning you want to consider all instance types that
40529
+ # match your attributes, include one of these parameters and specify a
40530
+ # high value, such as `999999`.
40512
40531
  #
40513
40532
  # </note>
40514
40533
  # @return [Integer]
@@ -40682,9 +40701,6 @@ module Aws::EC2
40682
40701
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40683
40702
  # percentage.
40684
40703
  #
40685
- # To indicate no price protection threshold, specify a high value,
40686
- # such as `999999`.
40687
- #
40688
40704
  # If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40689
40705
  # price protection threshold is applied based on the per-vCPU or
40690
40706
  # per-memory price instead of the per-instance price.
@@ -40694,9 +40710,12 @@ module Aws::EC2
40694
40710
  #
40695
40711
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40696
40712
  # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40697
- # If you don't specify either, then
40698
- # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40699
- # that parameter defaults to `100`.
40713
+ # If you don't specify either, Amazon EC2 will automatically apply
40714
+ # optimal price protection to consistently select from a wide range of
40715
+ # instance types. To indicate no price protection threshold for Spot
40716
+ # Instances, meaning you want to consider all instance types that
40717
+ # match your attributes, include one of these parameters and specify a
40718
+ # high value, such as `999999`.
40700
40719
  #
40701
40720
  # </note>
40702
40721
  #
@@ -40972,18 +40991,18 @@ module Aws::EC2
40972
40991
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40973
40992
  # percentage.
40974
40993
  #
40975
- # To indicate no price protection threshold, specify a high value,
40976
- # such as `999999`.
40977
- #
40978
40994
  # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
40979
40995
  # price protection threshold is based on the per vCPU or per memory
40980
40996
  # price instead of the per instance price.
40981
40997
  #
40982
40998
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40983
40999
  # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40984
- # If you don't specify either, then
40985
- # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40986
- # that parameter defaults to `100`.
41000
+ # If you don't specify either, Amazon EC2 will automatically apply
41001
+ # optimal price protection to consistently select from a wide range of
41002
+ # instance types. To indicate no price protection threshold for Spot
41003
+ # Instances, meaning you want to consider all instance types that
41004
+ # match your attributes, include one of these parameters and specify a
41005
+ # high value, such as `999999`.
40987
41006
  #
40988
41007
  # </note>
40989
41008
  # @return [Integer]
@@ -41350,8 +41369,8 @@ module Aws::EC2
41350
41369
  #
41351
41370
  # @!attribute [rw] network_nodes
41352
41371
  # The network nodes. The nodes are hashed based on your account.
41353
- # Instances from different accounts running under the same droplet
41354
- # will return a different hashed list of strings.
41372
+ # Instances from different accounts running under the same server will
41373
+ # return a different hashed list of strings.
41355
41374
  # @return [Array<String>]
41356
41375
  #
41357
41376
  # @!attribute [rw] availability_zone
@@ -44857,6 +44876,15 @@ module Aws::EC2
44857
44876
  #
44858
44877
  # @!attribute [rw] weighted_capacity
44859
44878
  # The number of units provided by the specified instance type.
44879
+ #
44880
+ # <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
44881
+ # `price-capacity-optimized` allocation strategies is per *unit* hour
44882
+ # (where the instance price is divided by the specified weight).
44883
+ # However, if all the specified weights are above the requested
44884
+ # `TargetCapacity`, resulting in only 1 instance being launched, the
44885
+ # price used is per *instance* hour.
44886
+ #
44887
+ # </note>
44860
44888
  # @return [Float]
44861
44889
  #
44862
44890
  # @!attribute [rw] priority
@@ -47742,7 +47770,12 @@ module Aws::EC2
47742
47770
  end
47743
47771
 
47744
47772
  # @!attribute [rw] affinity
47745
- # The affinity setting for the instance.
47773
+ # The affinity setting for the instance. For more information, see
47774
+ # [Host affinity][1] in the *Amazon EC2 User Guide*.
47775
+ #
47776
+ #
47777
+ #
47778
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity
47746
47779
  # @return [String]
47747
47780
  #
47748
47781
  # @!attribute [rw] group_name
@@ -59388,11 +59421,10 @@ module Aws::EC2
59388
59421
  # one network interface in the request. If launching into a default
59389
59422
  # subnet, the default value is `true`.
59390
59423
  #
59391
- # Starting on February 1, 2024, Amazon Web Services will charge for
59392
- # all public IPv4 addresses, including public IPv4 addresses
59393
- # associated with running instances and Elastic IP addresses. For more
59394
- # information, see the *Public IPv4 Address* tab on the [Amazon VPC
59395
- # pricing page][1].
59424
+ # Amazon Web Services charges for all public IPv4 addresses, including
59425
+ # public IPv4 addresses associated with running instances and Elastic
59426
+ # IP addresses. For more information, see the *Public IPv4 Address*
59427
+ # tab on the [Amazon VPC pricing page][1].
59396
59428
  #
59397
59429
  #
59398
59430
  #
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.439.0'
79
+ GEM_VERSION = '1.440.0'
80
80
 
81
81
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.439.0
4
+ version: 1.440.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-02-28 00:00:00.000000000 Z
11
+ date: 2024-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core