aws-sdk-ec2 1.643.0 → 1.645.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: 273b359af37db7f7e5f6a643c068e28b80f76a044469ed6c786ddbc1b072bcd8
4
- data.tar.gz: 624b9d280746b7e9c5fa40f1b195dee27f1df42c081d95612e6c649783cd362e
3
+ metadata.gz: d0b9c6c6d556882ac208f6c7af592ebe058b1c043745eba2ccdf5c221c0088ec
4
+ data.tar.gz: cf09a839c34d2c1e839395c46d10f4684fdc072e09ad086862406351acc1efc4
5
5
  SHA512:
6
- metadata.gz: 1b9d19b65b20e8436885c20bebb5fa933d8b617c2104ef330c46eec578e02373fc74f48fdbc96abd4063eb86aff1d632f9d9c95ef3985f6bf015c6045213b8a7
7
- data.tar.gz: 72dc3a3612962c9ffa263872d1a690be6ee808a10413f8a84644dc634a8eeff3ed93929719254be48e0a69b3bc02bba93b516a33af12e3f4eb64ea34a0de210b
6
+ metadata.gz: ee77815e91f9c474e7066c3ce5d28d21f67925a5073d36ab4eeb6db0e5f2454bf2994233b1333f1139da14760e310944e1f618a411b7d222e112fea267a48622
7
+ data.tar.gz: 31c409b873d43ddcf44ac2467df7165633248d091eec9cae205fb2adc6c81afdfe8824facbde03e0c0f3555e18334a7e135fc1de1276a968704635b0aea2cfcf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.645.0 (2026-09-08)
5
+ ------------------
6
+
7
+ * Feature - Adds the InterfaceTypes field to NetworkCardInfo in the DescribeInstanceTypes response. This field identifies the network interface types supported by each network card.
8
+
9
+ 1.644.0 (2026-09-04)
10
+ ------------------
11
+
12
+ * Feature - Adds support for ValidateSecurityGroupQuotasForInterface, an API that specifically authorized AWS services use to validate security group rule quotas before creating an elastic network interface.
13
+
4
14
  1.643.0 (2026-09-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.643.0
1
+ 1.645.0
@@ -32562,8 +32562,8 @@ module Aws::EC2
32562
32562
  #
32563
32563
  # If you specify one or more instance IDs, Amazon EC2 returns the credit
32564
32564
  # option (`standard` or `unlimited`) of those instances. If you specify
32565
- # an instance ID that is not valid, such as an instance that is not a
32566
- # burstable performance instance, an error is returned.
32565
+ # an instance ID that is not a burstable performance instance, Amazon
32566
+ # EC2 returns the `standard` credit option.
32567
32567
  #
32568
32568
  # Recently terminated instances might appear in the returned results.
32569
32569
  # This interval is usually less than one hour.
@@ -33968,6 +33968,8 @@ module Aws::EC2
33968
33968
  # resp.instance_types[0].network_info.network_cards[0].default_ena_queue_count_per_interface #=> Integer
33969
33969
  # resp.instance_types[0].network_info.network_cards[0].maximum_ena_queue_count #=> Integer
33970
33970
  # resp.instance_types[0].network_info.network_cards[0].maximum_ena_queue_count_per_interface #=> Integer
33971
+ # resp.instance_types[0].network_info.network_cards[0].interface_types #=> Array
33972
+ # resp.instance_types[0].network_info.network_cards[0].interface_types[0] #=> String, one of "interface", "efa", "efa-only", "secondary"
33971
33973
  # resp.instance_types[0].network_info.ipv_4_addresses_per_interface #=> Integer
33972
33974
  # resp.instance_types[0].network_info.ipv_6_addresses_per_interface #=> Integer
33973
33975
  # resp.instance_types[0].network_info.ipv_6_supported #=> Boolean
@@ -77256,6 +77258,55 @@ module Aws::EC2
77256
77258
  req.send_request(options)
77257
77259
  end
77258
77260
 
77261
+ # Validates whether the specified security groups can be associated with
77262
+ # a single network interface. The operation checks Amazon Virtual
77263
+ # Private Cloud (Amazon VPC) quotas for inbound or outbound rules per
77264
+ # security group and security groups per network interface. Only
77265
+ # authorized AWS services can call this operation.
77266
+ #
77267
+ # For more information about security group quotas, see [Amazon VPC
77268
+ # quotas][1] in the *Amazon VPC User Guide*.
77269
+ #
77270
+ #
77271
+ #
77272
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-security-groups
77273
+ #
77274
+ # @option params [required, Array<String>] :security_group_ids
77275
+ # The IDs of the security groups to validate for association with a
77276
+ # single network interface. You must specify at least one ID, and each
77277
+ # ID must be unique. The number of IDs cannot exceed the maximum number
77278
+ # of security groups allowed per network interface.
77279
+ #
77280
+ # @option params [Boolean] :dry_run
77281
+ # Checks whether you have the required permissions for the action,
77282
+ # without actually making the request, and provides an error response.
77283
+ # If you have the required permissions, the error response is
77284
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
77285
+ #
77286
+ # @return [Types::ValidateSecurityGroupQuotasForInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
77287
+ #
77288
+ # * {Types::ValidateSecurityGroupQuotasForInterfaceResult#valid #valid} => Boolean
77289
+ #
77290
+ # @example Request syntax with placeholder values
77291
+ #
77292
+ # resp = client.validate_security_group_quotas_for_interface({
77293
+ # security_group_ids: ["SecurityGroupId"], # required
77294
+ # dry_run: false,
77295
+ # })
77296
+ #
77297
+ # @example Response structure
77298
+ #
77299
+ # resp.valid #=> Boolean
77300
+ #
77301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidateSecurityGroupQuotasForInterface AWS API Documentation
77302
+ #
77303
+ # @overload validate_security_group_quotas_for_interface(params = {})
77304
+ # @param [Hash] params ({})
77305
+ def validate_security_group_quotas_for_interface(params = {}, options = {})
77306
+ req = build_request(:validate_security_group_quotas_for_interface, params)
77307
+ req.send_request(options)
77308
+ end
77309
+
77259
77310
  # Stops advertising an address range that is provisioned as an address
77260
77311
  # pool.
77261
77312
  #
@@ -77329,7 +77380,7 @@ module Aws::EC2
77329
77380
  tracer: tracer
77330
77381
  )
77331
77382
  context[:gem_name] = 'aws-sdk-ec2'
77332
- context[:gem_version] = '1.643.0'
77383
+ context[:gem_version] = '1.645.0'
77333
77384
  Seahorse::Client::Request.new(handlers, context)
77334
77385
  end
77335
77386
 
@@ -3025,6 +3025,8 @@ module Aws::EC2
3025
3025
  NetworkCardIndex = Shapes::IntegerShape.new(name: 'NetworkCardIndex')
3026
3026
  NetworkCardInfo = Shapes::StructureShape.new(name: 'NetworkCardInfo')
3027
3027
  NetworkCardInfoList = Shapes::ListShape.new(name: 'NetworkCardInfoList')
3028
+ NetworkCardInterfaceType = Shapes::StringShape.new(name: 'NetworkCardInterfaceType')
3029
+ NetworkCardInterfaceTypeList = Shapes::ListShape.new(name: 'NetworkCardInterfaceTypeList')
3028
3030
  NetworkInfo = Shapes::StructureShape.new(name: 'NetworkInfo')
3029
3031
  NetworkInsightsAccessScope = Shapes::StructureShape.new(name: 'NetworkInsightsAccessScope')
3030
3032
  NetworkInsightsAccessScopeAnalysis = Shapes::StructureShape.new(name: 'NetworkInsightsAccessScopeAnalysis')
@@ -4037,6 +4039,8 @@ module Aws::EC2
4037
4039
  VCpuCountRange = Shapes::StructureShape.new(name: 'VCpuCountRange')
4038
4040
  VCpuCountRangeRequest = Shapes::StructureShape.new(name: 'VCpuCountRangeRequest')
4039
4041
  VCpuInfo = Shapes::StructureShape.new(name: 'VCpuInfo')
4042
+ ValidateSecurityGroupQuotasForInterfaceRequest = Shapes::StructureShape.new(name: 'ValidateSecurityGroupQuotasForInterfaceRequest')
4043
+ ValidateSecurityGroupQuotasForInterfaceResult = Shapes::StructureShape.new(name: 'ValidateSecurityGroupQuotasForInterfaceResult')
4040
4044
  ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
4041
4045
  ValidationWarning = Shapes::StructureShape.new(name: 'ValidationWarning')
4042
4046
  ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
@@ -16463,10 +16467,13 @@ module Aws::EC2
16463
16467
  NetworkCardInfo.add_member(:default_ena_queue_count_per_interface, Shapes::ShapeRef.new(shape: DefaultEnaQueueCountPerInterface, location_name: "defaultEnaQueueCountPerInterface"))
16464
16468
  NetworkCardInfo.add_member(:maximum_ena_queue_count, Shapes::ShapeRef.new(shape: MaximumEnaQueueCount, location_name: "maximumEnaQueueCount"))
16465
16469
  NetworkCardInfo.add_member(:maximum_ena_queue_count_per_interface, Shapes::ShapeRef.new(shape: MaximumEnaQueueCountPerInterface, location_name: "maximumEnaQueueCountPerInterface"))
16470
+ NetworkCardInfo.add_member(:interface_types, Shapes::ShapeRef.new(shape: NetworkCardInterfaceTypeList, location_name: "interfaceTypeSet"))
16466
16471
  NetworkCardInfo.struct_class = Types::NetworkCardInfo
16467
16472
 
16468
16473
  NetworkCardInfoList.member = Shapes::ShapeRef.new(shape: NetworkCardInfo, location_name: "item")
16469
16474
 
16475
+ NetworkCardInterfaceTypeList.member = Shapes::ShapeRef.new(shape: NetworkCardInterfaceType, location_name: "item")
16476
+
16470
16477
  NetworkInfo.add_member(:network_performance, Shapes::ShapeRef.new(shape: NetworkPerformance, location_name: "networkPerformance"))
16471
16478
  NetworkInfo.add_member(:maximum_network_interfaces, Shapes::ShapeRef.new(shape: MaxNetworkInterfaces, location_name: "maximumNetworkInterfaces"))
16472
16479
  NetworkInfo.add_member(:maximum_network_cards, Shapes::ShapeRef.new(shape: MaximumNetworkCards, location_name: "maximumNetworkCards"))
@@ -20062,6 +20069,13 @@ module Aws::EC2
20062
20069
  VCpuInfo.add_member(:valid_threads_per_core, Shapes::ShapeRef.new(shape: ThreadsPerCoreList, location_name: "validThreadsPerCore"))
20063
20070
  VCpuInfo.struct_class = Types::VCpuInfo
20064
20071
 
20072
+ ValidateSecurityGroupQuotasForInterfaceRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, required: true, location_name: "SecurityGroupId"))
20073
+ ValidateSecurityGroupQuotasForInterfaceRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
20074
+ ValidateSecurityGroupQuotasForInterfaceRequest.struct_class = Types::ValidateSecurityGroupQuotasForInterfaceRequest
20075
+
20076
+ ValidateSecurityGroupQuotasForInterfaceResult.add_member(:valid, Shapes::ShapeRef.new(shape: Boolean, location_name: "valid"))
20077
+ ValidateSecurityGroupQuotasForInterfaceResult.struct_class = Types::ValidateSecurityGroupQuotasForInterfaceResult
20078
+
20065
20079
  ValidationError.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
20066
20080
  ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
20067
20081
  ValidationError.struct_class = Types::ValidationError
@@ -28243,6 +28257,14 @@ module Aws::EC2
28243
28257
  o.output = Shapes::ShapeRef.new(shape: UpdateSecurityGroupRuleDescriptionsIngressResult)
28244
28258
  end)
28245
28259
 
28260
+ api.add_operation(:validate_security_group_quotas_for_interface, Seahorse::Model::Operation.new.tap do |o|
28261
+ o.name = "ValidateSecurityGroupQuotasForInterface"
28262
+ o.http_method = "POST"
28263
+ o.http_request_uri = "/"
28264
+ o.input = Shapes::ShapeRef.new(shape: ValidateSecurityGroupQuotasForInterfaceRequest)
28265
+ o.output = Shapes::ShapeRef.new(shape: ValidateSecurityGroupQuotasForInterfaceResult)
28266
+ end)
28267
+
28246
28268
  api.add_operation(:withdraw_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
28247
28269
  o.name = "WithdrawByoipCidr"
28248
28270
  o.http_method = "POST"
@@ -71205,6 +71205,10 @@ module Aws::EC2
71205
71205
  # The maximum number of the ENA queues for each interface.
71206
71206
  # @return [Integer]
71207
71207
  #
71208
+ # @!attribute [rw] interface_types
71209
+ # The supported interface types for the network card.
71210
+ # @return [Array<String>]
71211
+ #
71208
71212
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkCardInfo AWS API Documentation
71209
71213
  #
71210
71214
  class NetworkCardInfo < Struct.new(
@@ -71216,7 +71220,8 @@ module Aws::EC2
71216
71220
  :peak_bandwidth_in_gbps,
71217
71221
  :default_ena_queue_count_per_interface,
71218
71222
  :maximum_ena_queue_count,
71219
- :maximum_ena_queue_count_per_interface)
71223
+ :maximum_ena_queue_count_per_interface,
71224
+ :interface_types)
71220
71225
  SENSITIVE = []
71221
71226
  include Aws::Structure
71222
71227
  end
@@ -89220,6 +89225,44 @@ module Aws::EC2
89220
89225
  include Aws::Structure
89221
89226
  end
89222
89227
 
89228
+ # @!attribute [rw] security_group_ids
89229
+ # The IDs of the security groups to validate for association with a
89230
+ # single network interface. You must specify at least one ID, and each
89231
+ # ID must be unique. The number of IDs cannot exceed the maximum
89232
+ # number of security groups allowed per network interface.
89233
+ # @return [Array<String>]
89234
+ #
89235
+ # @!attribute [rw] dry_run
89236
+ # Checks whether you have the required permissions for the action,
89237
+ # without actually making the request, and provides an error response.
89238
+ # If you have the required permissions, the error response is
89239
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
89240
+ # @return [Boolean]
89241
+ #
89242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidateSecurityGroupQuotasForInterfaceRequest AWS API Documentation
89243
+ #
89244
+ class ValidateSecurityGroupQuotasForInterfaceRequest < Struct.new(
89245
+ :security_group_ids,
89246
+ :dry_run)
89247
+ SENSITIVE = []
89248
+ include Aws::Structure
89249
+ end
89250
+
89251
+ # @!attribute [rw] valid
89252
+ # The operation returns `true` if the specified security groups can be
89253
+ # associated with a single network interface without exceeding the
89254
+ # quotas. It returns an error if associating the security groups would
89255
+ # exceed a quota.
89256
+ # @return [Boolean]
89257
+ #
89258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidateSecurityGroupQuotasForInterfaceResult AWS API Documentation
89259
+ #
89260
+ class ValidateSecurityGroupQuotasForInterfaceResult < Struct.new(
89261
+ :valid)
89262
+ SENSITIVE = []
89263
+ include Aws::Structure
89264
+ end
89265
+
89223
89266
  # The error code and error message that is returned for a parameter or
89224
89267
  # parameter combination that is not valid when a new launch template or
89225
89268
  # new version of a launch template is created.
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.643.0'
81
+ GEM_VERSION = '1.645.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -14892,6 +14892,17 @@ module Aws
14892
14892
  ) -> _UpdateSecurityGroupRuleDescriptionsIngressResponseSuccess
14893
14893
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityGroupRuleDescriptionsIngressResponseSuccess
14894
14894
 
14895
+ interface _ValidateSecurityGroupQuotasForInterfaceResponseSuccess
14896
+ include ::Seahorse::Client::_ResponseSuccess[Types::ValidateSecurityGroupQuotasForInterfaceResult]
14897
+ def valid: () -> bool
14898
+ end
14899
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#validate_security_group_quotas_for_interface-instance_method
14900
+ def validate_security_group_quotas_for_interface: (
14901
+ security_group_ids: Array[::String],
14902
+ ?dry_run: bool
14903
+ ) -> _ValidateSecurityGroupQuotasForInterfaceResponseSuccess
14904
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateSecurityGroupQuotasForInterfaceResponseSuccess
14905
+
14895
14906
  interface _WithdrawByoipCidrResponseSuccess
14896
14907
  include ::Seahorse::Client::_ResponseSuccess[Types::WithdrawByoipCidrResult]
14897
14908
  def byoip_cidr: () -> Types::ByoipCidr
data/sig/types.rbs CHANGED
@@ -15337,6 +15337,7 @@ module Aws::EC2
15337
15337
  attr_accessor default_ena_queue_count_per_interface: ::Integer
15338
15338
  attr_accessor maximum_ena_queue_count: ::Integer
15339
15339
  attr_accessor maximum_ena_queue_count_per_interface: ::Integer
15340
+ attr_accessor interface_types: ::Array[("interface" | "efa" | "efa-only" | "secondary")]
15340
15341
  SENSITIVE: []
15341
15342
  end
15342
15343
 
@@ -19267,6 +19268,17 @@ module Aws::EC2
19267
19268
  SENSITIVE: []
19268
19269
  end
19269
19270
 
19271
+ class ValidateSecurityGroupQuotasForInterfaceRequest
19272
+ attr_accessor security_group_ids: ::Array[::String]
19273
+ attr_accessor dry_run: bool
19274
+ SENSITIVE: []
19275
+ end
19276
+
19277
+ class ValidateSecurityGroupQuotasForInterfaceResult
19278
+ attr_accessor valid: bool
19279
+ SENSITIVE: []
19280
+ end
19281
+
19270
19282
  class ValidationError
19271
19283
  attr_accessor code: ::String
19272
19284
  attr_accessor message: ::String
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.643.0
4
+ version: 1.645.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services