aws-sdk-ec2 1.634.0 → 1.635.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: 2c0eb02e0671769aac1a124e22a06aa3c85ff4fcfc26b20b5f91c6c154cc6b13
4
- data.tar.gz: 77d95cc40db124324df967f4d539d7a4cf5f015f644013535d208361816a9783
3
+ metadata.gz: 455f4430d9fb133cdd0c64dd157c743bf4955fc4f9e769be1dead22be8949eea
4
+ data.tar.gz: cbe2c5129f7c1285f3d3217303f178b8da095c412e4753ee5ff967606fc89673
5
5
  SHA512:
6
- metadata.gz: 1f2fc1fbebf9ce48dda8324cbf2490a67a2daf11808e2feab9289fa84981462d24f9ec4c0302578ffb8e391d354356f066987aee3388d74f7e3d2fe47c5675b0
7
- data.tar.gz: 56d23b248a757e66d88c3e1f8474a0fc949b32eb2c22043a55b855a4bb7c13196ef17e0f61abd687612f3d94731bb7dce7acf9ede0f1d1f447227c8ffcf14344
6
+ metadata.gz: d6fd09fbf6c5f0be58c89afebac3335c030ae440eb142e10ac2c398bf9702e0c3edab6cecaa4b13b53428c2d6657acf3ad99fa7812fa4842488552e02a404c52
7
+ data.tar.gz: 7a028fd1687ff1c136054fbbd806501a1e4df989605e39941cbe1a76a0207b86058c88e75295dd92ff3875f68831681238bb2140ad090c1696ec4a451bfc570a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.635.0 (2026-08-06)
5
+ ------------------
6
+
7
+ * Feature - Adds a new optional IncludeLocalZones parameter to the Spot Placement Score API that defaults to false. When set to true, the Spot Placement Score API will consider the relevant Local Zones with Spot capacity when computing the Spot Placement Score.
8
+
4
9
  1.634.0 (2026-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.634.0
1
+ 1.635.0
@@ -15036,7 +15036,7 @@ module Aws::EC2
15036
15036
  # If you have the required permissions, the error response is
15037
15037
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
15038
15038
  #
15039
- # @option params [String] :ipv_4_cidr_block
15039
+ # @option params [required, String] :ipv_4_cidr_block
15040
15040
  # The IPv4 CIDR block for the secondary network. The CIDR block size
15041
15041
  # must be between /12 and /28.
15042
15042
  #
@@ -15103,7 +15103,7 @@ module Aws::EC2
15103
15103
  # resp = client.create_secondary_network({
15104
15104
  # client_token: "String",
15105
15105
  # dry_run: false,
15106
- # ipv_4_cidr_block: "String",
15106
+ # ipv_4_cidr_block: "String", # required
15107
15107
  # network_type: "rdma", # required, accepts rdma
15108
15108
  # tag_specifications: [
15109
15109
  # {
@@ -57318,6 +57318,13 @@ module Aws::EC2
57318
57318
  # The token returned from a previous paginated request. Pagination
57319
57319
  # continues from the end of the items returned by the previous request.
57320
57320
  #
57321
+ # @option params [Boolean] :include_local_zones
57322
+ # Specify `true` so that the response returns scores that include Local
57323
+ # Zones. Otherwise, the response ignores Local Zones.
57324
+ #
57325
+ # When you request regional scores, Local Zone capacity counts toward
57326
+ # its parent Region.
57327
+ #
57321
57328
  # @return [Types::GetSpotPlacementScoresResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
57322
57329
  #
57323
57330
  # * {Types::GetSpotPlacementScoresResult#spot_placement_scores #spot_placement_scores} => Array<Types::SpotPlacementScore>
@@ -57403,6 +57410,7 @@ module Aws::EC2
57403
57410
  # dry_run: false,
57404
57411
  # max_results: 1,
57405
57412
  # next_token: "String",
57413
+ # include_local_zones: false,
57406
57414
  # })
57407
57415
  #
57408
57416
  # @example Response structure
@@ -75970,7 +75978,7 @@ module Aws::EC2
75970
75978
  tracer: tracer
75971
75979
  )
75972
75980
  context[:gem_name] = 'aws-sdk-ec2'
75973
- context[:gem_version] = '1.634.0'
75981
+ context[:gem_version] = '1.635.0'
75974
75982
  Seahorse::Client::Request.new(handlers, context)
75975
75983
  end
75976
75984
 
@@ -6785,7 +6785,7 @@ module Aws::EC2
6785
6785
 
6786
6786
  CreateSecondaryNetworkRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
6787
6787
  CreateSecondaryNetworkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6788
- CreateSecondaryNetworkRequest.add_member(:ipv_4_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv4CidrBlock"))
6788
+ CreateSecondaryNetworkRequest.add_member(:ipv_4_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Ipv4CidrBlock"))
6789
6789
  CreateSecondaryNetworkRequest.add_member(:network_type, Shapes::ShapeRef.new(shape: SecondaryNetworkType, required: true, location_name: "NetworkType"))
6790
6790
  CreateSecondaryNetworkRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
6791
6791
  CreateSecondaryNetworkRequest.struct_class = Types::CreateSecondaryNetworkRequest
@@ -12291,6 +12291,7 @@ module Aws::EC2
12291
12291
  GetSpotPlacementScoresRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
12292
12292
  GetSpotPlacementScoresRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SpotPlacementScoresMaxResults, location_name: "MaxResults"))
12293
12293
  GetSpotPlacementScoresRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
12294
+ GetSpotPlacementScoresRequest.add_member(:include_local_zones, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeLocalZones"))
12294
12295
  GetSpotPlacementScoresRequest.struct_class = Types::GetSpotPlacementScoresRequest
12295
12296
 
12296
12297
  GetSpotPlacementScoresResult.add_member(:spot_placement_scores, Shapes::ShapeRef.new(shape: SpotPlacementScores, location_name: "spotPlacementScoreSet"))
@@ -48194,6 +48194,14 @@ module Aws::EC2
48194
48194
  # request.
48195
48195
  # @return [String]
48196
48196
  #
48197
+ # @!attribute [rw] include_local_zones
48198
+ # Specify `true` so that the response returns scores that include
48199
+ # Local Zones. Otherwise, the response ignores Local Zones.
48200
+ #
48201
+ # When you request regional scores, Local Zone capacity counts toward
48202
+ # its parent Region.
48203
+ # @return [Boolean]
48204
+ #
48197
48205
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSpotPlacementScoresRequest AWS API Documentation
48198
48206
  #
48199
48207
  class GetSpotPlacementScoresRequest < Struct.new(
@@ -48205,7 +48213,8 @@ module Aws::EC2
48205
48213
  :instance_requirements_with_metadata,
48206
48214
  :dry_run,
48207
48215
  :max_results,
48208
- :next_token)
48216
+ :next_token,
48217
+ :include_local_zones)
48209
48218
  SENSITIVE = []
48210
48219
  include Aws::Structure
48211
48220
  end
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.634.0'
81
+ GEM_VERSION = '1.635.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -2918,7 +2918,7 @@ module Aws
2918
2918
  def create_secondary_network: (
2919
2919
  ?client_token: ::String,
2920
2920
  ?dry_run: bool,
2921
- ?ipv_4_cidr_block: ::String,
2921
+ ipv_4_cidr_block: ::String,
2922
2922
  network_type: ("rdma"),
2923
2923
  ?tag_specifications: Array[
2924
2924
  {
@@ -10855,7 +10855,8 @@ module Aws
10855
10855
  },
10856
10856
  ?dry_run: bool,
10857
10857
  ?max_results: ::Integer,
10858
- ?next_token: ::String
10858
+ ?next_token: ::String,
10859
+ ?include_local_zones: bool
10859
10860
  ) -> _GetSpotPlacementScoresResponseSuccess
10860
10861
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSpotPlacementScoresResponseSuccess
10861
10862
 
data/sig/types.rbs CHANGED
@@ -10616,6 +10616,7 @@ module Aws::EC2
10616
10616
  attr_accessor dry_run: bool
10617
10617
  attr_accessor max_results: ::Integer
10618
10618
  attr_accessor next_token: ::String
10619
+ attr_accessor include_local_zones: bool
10619
10620
  SENSITIVE: []
10620
10621
  end
10621
10622
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.634.0
4
+ version: 1.635.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services