aws-sdk-ec2 1.600.0 → 1.601.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: afa060c956f490d52f4933d756fe5fa86158411e6848ccbee9f07d42efc82a7f
4
- data.tar.gz: 81a6b6841289ca2ccd3c0cdf2c9a1b485e3e6866f3217ceed5a90b7b4d99f9e3
3
+ metadata.gz: af40889fb8570429b2a22cfbd56faa5a6005ed9b6843995698b8e434c7da90f3
4
+ data.tar.gz: 2c879ae4c5d3fc471f5e66983fd343913381753f075a2b53c5c3027775cb18c5
5
5
  SHA512:
6
- metadata.gz: 603e253e33f1cafe37891da0841c5f39dba5d270c38b9ce68bf4c7f05e14950cc7e5e5b170fc00d52224187043a97a22f1181bb3ef15cf68eb29f9b00d1f8d66
7
- data.tar.gz: 18043beb14c6849a40435d3c9152d1c2195644e51ba189bbe17d5939f86c8a76b6ade9097ff9739571cb1cbe9c8d3bdbb96323a85912e4ad378c3da6468aa076
6
+ metadata.gz: 451cd8b37adcb560eaba87ea5b7af6e1f1fc8e6bf1e08be4d8adeb3e29f71560acc5f93f39164f3dddf75032fc68e9ce1fe304f30ddc1d403eb0fbd1f0960e46
7
+ data.tar.gz: cb97d542d68477849778680b1f3cac602a3c5533caf7d87940ac62cab0facdf17bc938c3f28251abd428e33f2879854cc5c7137049c58cdf94f4d06439f818a5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.601.0 (2026-02-13)
5
+ ------------------
6
+
7
+ * Feature - This release adds geography information to EC2 region and availability zone APIs. DescribeRegions now includes a Geography field, while DescribeAvailabilityZones includes both Geography and SubGeography fields, enabling better geographic classification for AWS regions and zones.
8
+
4
9
  1.600.0 (2026-02-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.600.0
1
+ 1.601.0
@@ -25109,6 +25109,10 @@ module Aws::EC2
25109
25109
  # resp.availability_zones[0].parent_zone_name #=> String
25110
25110
  # resp.availability_zones[0].parent_zone_id #=> String
25111
25111
  # resp.availability_zones[0].group_long_name #=> String
25112
+ # resp.availability_zones[0].geography #=> Array
25113
+ # resp.availability_zones[0].geography[0].name #=> String
25114
+ # resp.availability_zones[0].sub_geography #=> Array
25115
+ # resp.availability_zones[0].sub_geography[0].name #=> String
25112
25116
  # resp.availability_zones[0].state #=> String, one of "available", "information", "impaired", "unavailable", "constrained"
25113
25117
  #
25114
25118
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones AWS API Documentation
@@ -37962,6 +37966,8 @@ module Aws::EC2
37962
37966
  #
37963
37967
  # resp.regions #=> Array
37964
37968
  # resp.regions[0].opt_in_status #=> String
37969
+ # resp.regions[0].geography #=> Array
37970
+ # resp.regions[0].geography[0].name #=> String
37965
37971
  # resp.regions[0].region_name #=> String
37966
37972
  # resp.regions[0].endpoint #=> String
37967
37973
  #
@@ -73013,7 +73019,7 @@ module Aws::EC2
73013
73019
  tracer: tracer
73014
73020
  )
73015
73021
  context[:gem_name] = 'aws-sdk-ec2'
73016
- context[:gem_version] = '1.600.0'
73022
+ context[:gem_version] = '1.601.0'
73017
73023
  Seahorse::Client::Request.new(handlers, context)
73018
73024
  end
73019
73025
 
@@ -220,6 +220,8 @@ module Aws::EC2
220
220
  AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
221
221
  AvailabilityZoneAddress = Shapes::StructureShape.new(name: 'AvailabilityZoneAddress')
222
222
  AvailabilityZoneAddresses = Shapes::ListShape.new(name: 'AvailabilityZoneAddresses')
223
+ AvailabilityZoneGeography = Shapes::StructureShape.new(name: 'AvailabilityZoneGeography')
224
+ AvailabilityZoneGeographyList = Shapes::ListShape.new(name: 'AvailabilityZoneGeographyList')
223
225
  AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
224
226
  AvailabilityZoneIdStringList = Shapes::ListShape.new(name: 'AvailabilityZoneIdStringList')
225
227
  AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
@@ -229,6 +231,8 @@ module Aws::EC2
229
231
  AvailabilityZoneOptInStatus = Shapes::StringShape.new(name: 'AvailabilityZoneOptInStatus')
230
232
  AvailabilityZoneState = Shapes::StringShape.new(name: 'AvailabilityZoneState')
231
233
  AvailabilityZoneStringList = Shapes::ListShape.new(name: 'AvailabilityZoneStringList')
234
+ AvailabilityZoneSubGeography = Shapes::StructureShape.new(name: 'AvailabilityZoneSubGeography')
235
+ AvailabilityZoneSubGeographyList = Shapes::ListShape.new(name: 'AvailabilityZoneSubGeographyList')
232
236
  AvailableCapacity = Shapes::StructureShape.new(name: 'AvailableCapacity')
233
237
  AvailableInstanceCapacityList = Shapes::ListShape.new(name: 'AvailableInstanceCapacityList')
234
238
  BandwidthWeightingType = Shapes::StringShape.new(name: 'BandwidthWeightingType')
@@ -3062,6 +3066,8 @@ module Aws::EC2
3062
3066
  RecurringChargesList = Shapes::ListShape.new(name: 'RecurringChargesList')
3063
3067
  ReferencedSecurityGroup = Shapes::StructureShape.new(name: 'ReferencedSecurityGroup')
3064
3068
  Region = Shapes::StructureShape.new(name: 'Region')
3069
+ RegionGeography = Shapes::StructureShape.new(name: 'RegionGeography')
3070
+ RegionGeographyList = Shapes::ListShape.new(name: 'RegionGeographyList')
3065
3071
  RegionList = Shapes::ListShape.new(name: 'RegionList')
3066
3072
  RegionNameStringList = Shapes::ListShape.new(name: 'RegionNameStringList')
3067
3073
  RegionNames = Shapes::ListShape.new(name: 'RegionNames')
@@ -4739,6 +4745,8 @@ module Aws::EC2
4739
4745
  AvailabilityZone.add_member(:parent_zone_name, Shapes::ShapeRef.new(shape: String, location_name: "parentZoneName"))
4740
4746
  AvailabilityZone.add_member(:parent_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "parentZoneId"))
4741
4747
  AvailabilityZone.add_member(:group_long_name, Shapes::ShapeRef.new(shape: String, location_name: "groupLongName"))
4748
+ AvailabilityZone.add_member(:geography, Shapes::ShapeRef.new(shape: AvailabilityZoneGeographyList, location_name: "geographySet"))
4749
+ AvailabilityZone.add_member(:sub_geography, Shapes::ShapeRef.new(shape: AvailabilityZoneSubGeographyList, location_name: "subGeographySet"))
4742
4750
  AvailabilityZone.add_member(:state, Shapes::ShapeRef.new(shape: AvailabilityZoneState, location_name: "zoneState"))
4743
4751
  AvailabilityZone.struct_class = Types::AvailabilityZone
4744
4752
 
@@ -4749,6 +4757,11 @@ module Aws::EC2
4749
4757
 
4750
4758
  AvailabilityZoneAddresses.member = Shapes::ShapeRef.new(shape: AvailabilityZoneAddress, location_name: "AvailabilityZoneAddress")
4751
4759
 
4760
+ AvailabilityZoneGeography.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
4761
+ AvailabilityZoneGeography.struct_class = Types::AvailabilityZoneGeography
4762
+
4763
+ AvailabilityZoneGeographyList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneGeography, location_name: "item")
4764
+
4752
4765
  AvailabilityZoneIdStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId")
4753
4766
 
4754
4767
  AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "item")
@@ -4760,6 +4773,11 @@ module Aws::EC2
4760
4773
 
4761
4774
  AvailabilityZoneStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone")
4762
4775
 
4776
+ AvailabilityZoneSubGeography.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
4777
+ AvailabilityZoneSubGeography.struct_class = Types::AvailabilityZoneSubGeography
4778
+
4779
+ AvailabilityZoneSubGeographyList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneSubGeography, location_name: "item")
4780
+
4763
4781
  AvailableCapacity.add_member(:available_instance_capacity, Shapes::ShapeRef.new(shape: AvailableInstanceCapacityList, location_name: "availableInstanceCapacity"))
4764
4782
  AvailableCapacity.add_member(:available_v_cpus, Shapes::ShapeRef.new(shape: Integer, location_name: "availableVCpus"))
4765
4783
  AvailableCapacity.struct_class = Types::AvailableCapacity
@@ -16100,10 +16118,16 @@ module Aws::EC2
16100
16118
  ReferencedSecurityGroup.struct_class = Types::ReferencedSecurityGroup
16101
16119
 
16102
16120
  Region.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: String, location_name: "optInStatus"))
16121
+ Region.add_member(:geography, Shapes::ShapeRef.new(shape: RegionGeographyList, location_name: "geographySet"))
16103
16122
  Region.add_member(:region_name, Shapes::ShapeRef.new(shape: String, location_name: "regionName"))
16104
16123
  Region.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "regionEndpoint"))
16105
16124
  Region.struct_class = Types::Region
16106
16125
 
16126
+ RegionGeography.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
16127
+ RegionGeography.struct_class = Types::RegionGeography
16128
+
16129
+ RegionGeographyList.member = Shapes::ShapeRef.new(shape: RegionGeography, location_name: "item")
16130
+
16107
16131
  RegionList.member = Shapes::ShapeRef.new(shape: Region, location_name: "item")
16108
16132
 
16109
16133
  RegionNameStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "RegionName")
@@ -3868,6 +3868,16 @@ module Aws::EC2
3868
3868
  # Wavelength Zone group.
3869
3869
  # @return [String]
3870
3870
  #
3871
+ # @!attribute [rw] geography
3872
+ # The geography information for the Availability Zone or Local Zone.
3873
+ # The geography is returned as a list.
3874
+ # @return [Array<Types::AvailabilityZoneGeography>]
3875
+ #
3876
+ # @!attribute [rw] sub_geography
3877
+ # The sub-geography information for the Availability Zone or Local
3878
+ # Zone. The sub-geography is returned as a list.
3879
+ # @return [Array<Types::AvailabilityZoneSubGeography>]
3880
+ #
3871
3881
  # @!attribute [rw] state
3872
3882
  # The state of the Availability Zone, Local Zone, or Wavelength Zone.
3873
3883
  # The possible values are `available`, `unavailable`, and
@@ -3888,6 +3898,8 @@ module Aws::EC2
3888
3898
  :parent_zone_name,
3889
3899
  :parent_zone_id,
3890
3900
  :group_long_name,
3901
+ :geography,
3902
+ :sub_geography,
3891
3903
  :state)
3892
3904
  SENSITIVE = []
3893
3905
  include Aws::Structure
@@ -3947,6 +3959,21 @@ module Aws::EC2
3947
3959
  include Aws::Structure
3948
3960
  end
3949
3961
 
3962
+ # Describes the geography information for an Availability Zone or Local
3963
+ # Zone.
3964
+ #
3965
+ # @!attribute [rw] name
3966
+ # The name of the geography, for example, `United States of America`.
3967
+ # @return [String]
3968
+ #
3969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZoneGeography AWS API Documentation
3970
+ #
3971
+ class AvailabilityZoneGeography < Struct.new(
3972
+ :name)
3973
+ SENSITIVE = []
3974
+ include Aws::Structure
3975
+ end
3976
+
3950
3977
  # Describes a message about an Availability Zone, Local Zone, or
3951
3978
  # Wavelength Zone.
3952
3979
  #
@@ -3963,6 +3990,21 @@ module Aws::EC2
3963
3990
  include Aws::Structure
3964
3991
  end
3965
3992
 
3993
+ # Describes the sub-geography information for an Availability Zone or
3994
+ # Local Zone.
3995
+ #
3996
+ # @!attribute [rw] name
3997
+ # The name of the sub-geography, for example, `Oregon.`
3998
+ # @return [String]
3999
+ #
4000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZoneSubGeography AWS API Documentation
4001
+ #
4002
+ class AvailabilityZoneSubGeography < Struct.new(
4003
+ :name)
4004
+ SENSITIVE = []
4005
+ include Aws::Structure
4006
+ end
4007
+
3966
4008
  # The capacity information for instances that can be launched onto the
3967
4009
  # Dedicated Host.
3968
4010
  #
@@ -69936,6 +69978,11 @@ module Aws::EC2
69936
69978
  # `opt-in-not-required`, `opted-in`, and `not-opted-in`.
69937
69979
  # @return [String]
69938
69980
  #
69981
+ # @!attribute [rw] geography
69982
+ # The geography information for the Region. The geography is returned
69983
+ # as a list.
69984
+ # @return [Array<Types::RegionGeography>]
69985
+ #
69939
69986
  # @!attribute [rw] region_name
69940
69987
  # The name of the Region.
69941
69988
  # @return [String]
@@ -69948,12 +69995,27 @@ module Aws::EC2
69948
69995
  #
69949
69996
  class Region < Struct.new(
69950
69997
  :opt_in_status,
69998
+ :geography,
69951
69999
  :region_name,
69952
70000
  :endpoint)
69953
70001
  SENSITIVE = []
69954
70002
  include Aws::Structure
69955
70003
  end
69956
70004
 
70005
+ # Describes the geography information for a Region.
70006
+ #
70007
+ # @!attribute [rw] name
70008
+ # The name of the geography, for example, `United States of America`.
70009
+ # @return [String]
70010
+ #
70011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegionGeography AWS API Documentation
70012
+ #
70013
+ class RegionGeography < Struct.new(
70014
+ :name)
70015
+ SENSITIVE = []
70016
+ include Aws::Structure
70017
+ end
70018
+
69957
70019
  # A summary report for the attribute for a Region.
69958
70020
  #
69959
70021
  # @!attribute [rw] region_name
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.600.0'
81
+ GEM_VERSION = '1.601.0'
82
82
 
83
83
  end
84
84
 
data/sig/types.rbs CHANGED
@@ -956,6 +956,8 @@ module Aws::EC2
956
956
  attr_accessor parent_zone_name: ::String
957
957
  attr_accessor parent_zone_id: ::String
958
958
  attr_accessor group_long_name: ::String
959
+ attr_accessor geography: ::Array[Types::AvailabilityZoneGeography]
960
+ attr_accessor sub_geography: ::Array[Types::AvailabilityZoneSubGeography]
959
961
  attr_accessor state: ("available" | "information" | "impaired" | "unavailable" | "constrained")
960
962
  SENSITIVE: []
961
963
  end
@@ -967,11 +969,21 @@ module Aws::EC2
967
969
  SENSITIVE: []
968
970
  end
969
971
 
972
+ class AvailabilityZoneGeography
973
+ attr_accessor name: ::String
974
+ SENSITIVE: []
975
+ end
976
+
970
977
  class AvailabilityZoneMessage
971
978
  attr_accessor message: ::String
972
979
  SENSITIVE: []
973
980
  end
974
981
 
982
+ class AvailabilityZoneSubGeography
983
+ attr_accessor name: ::String
984
+ SENSITIVE: []
985
+ end
986
+
975
987
  class AvailableCapacity
976
988
  attr_accessor available_instance_capacity: ::Array[Types::InstanceCapacity]
977
989
  attr_accessor available_v_cpus: ::Integer
@@ -15107,11 +15119,17 @@ module Aws::EC2
15107
15119
 
15108
15120
  class Region
15109
15121
  attr_accessor opt_in_status: ::String
15122
+ attr_accessor geography: ::Array[Types::RegionGeography]
15110
15123
  attr_accessor region_name: ::String
15111
15124
  attr_accessor endpoint: ::String
15112
15125
  SENSITIVE: []
15113
15126
  end
15114
15127
 
15128
+ class RegionGeography
15129
+ attr_accessor name: ::String
15130
+ SENSITIVE: []
15131
+ end
15132
+
15115
15133
  class RegionalSummary
15116
15134
  attr_accessor region_name: ::String
15117
15135
  attr_accessor number_of_matched_accounts: ::Integer
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.600.0
4
+ version: 1.601.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services