aws-sdk-ec2 1.643.0 → 1.644.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +50 -1
- data/lib/aws-sdk-ec2/client_api.rb +17 -0
- data/lib/aws-sdk-ec2/types.rb +38 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/types.rbs +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b6bd7a40ab1a7e2d10ec8793ad651a4cfacc3fe3566f24043f660ca27eec4ab
|
|
4
|
+
data.tar.gz: '08cb9c1caf6dab9dd86b915f62a06c2fb15729b2ca0c2bf16247f482774c2440'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c73605eb1e66dca92ee51dfdd35ccdb6e605c59a1d0acc49dba031ba9bbbc16caba8be4a7898c13944665b4683c49d531096e33124a3fbdb24e26640e5d22324
|
|
7
|
+
data.tar.gz: a740c5ddd964e58de7f638efa0628d02e5fb8bb13dec6599142ea183c1397c990a280ac4a8b9ad506272d7db780ff08fe79402e812dec61559975d7a3ab019d4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.644.0 (2026-09-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
4
9
|
1.643.0 (2026-09-02)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.644.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -77256,6 +77256,55 @@ module Aws::EC2
|
|
|
77256
77256
|
req.send_request(options)
|
|
77257
77257
|
end
|
|
77258
77258
|
|
|
77259
|
+
# Validates whether the specified security groups can be associated with
|
|
77260
|
+
# a single network interface. The operation checks Amazon Virtual
|
|
77261
|
+
# Private Cloud (Amazon VPC) quotas for inbound or outbound rules per
|
|
77262
|
+
# security group and security groups per network interface. Only
|
|
77263
|
+
# authorized AWS services can call this operation.
|
|
77264
|
+
#
|
|
77265
|
+
# For more information about security group quotas, see [Amazon VPC
|
|
77266
|
+
# quotas][1] in the *Amazon VPC User Guide*.
|
|
77267
|
+
#
|
|
77268
|
+
#
|
|
77269
|
+
#
|
|
77270
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-security-groups
|
|
77271
|
+
#
|
|
77272
|
+
# @option params [required, Array<String>] :security_group_ids
|
|
77273
|
+
# The IDs of the security groups to validate for association with a
|
|
77274
|
+
# single network interface. You must specify at least one ID, and each
|
|
77275
|
+
# ID must be unique. The number of IDs cannot exceed the maximum number
|
|
77276
|
+
# of security groups allowed per network interface.
|
|
77277
|
+
#
|
|
77278
|
+
# @option params [Boolean] :dry_run
|
|
77279
|
+
# Checks whether you have the required permissions for the action,
|
|
77280
|
+
# without actually making the request, and provides an error response.
|
|
77281
|
+
# If you have the required permissions, the error response is
|
|
77282
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
77283
|
+
#
|
|
77284
|
+
# @return [Types::ValidateSecurityGroupQuotasForInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
77285
|
+
#
|
|
77286
|
+
# * {Types::ValidateSecurityGroupQuotasForInterfaceResult#valid #valid} => Boolean
|
|
77287
|
+
#
|
|
77288
|
+
# @example Request syntax with placeholder values
|
|
77289
|
+
#
|
|
77290
|
+
# resp = client.validate_security_group_quotas_for_interface({
|
|
77291
|
+
# security_group_ids: ["SecurityGroupId"], # required
|
|
77292
|
+
# dry_run: false,
|
|
77293
|
+
# })
|
|
77294
|
+
#
|
|
77295
|
+
# @example Response structure
|
|
77296
|
+
#
|
|
77297
|
+
# resp.valid #=> Boolean
|
|
77298
|
+
#
|
|
77299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidateSecurityGroupQuotasForInterface AWS API Documentation
|
|
77300
|
+
#
|
|
77301
|
+
# @overload validate_security_group_quotas_for_interface(params = {})
|
|
77302
|
+
# @param [Hash] params ({})
|
|
77303
|
+
def validate_security_group_quotas_for_interface(params = {}, options = {})
|
|
77304
|
+
req = build_request(:validate_security_group_quotas_for_interface, params)
|
|
77305
|
+
req.send_request(options)
|
|
77306
|
+
end
|
|
77307
|
+
|
|
77259
77308
|
# Stops advertising an address range that is provisioned as an address
|
|
77260
77309
|
# pool.
|
|
77261
77310
|
#
|
|
@@ -77329,7 +77378,7 @@ module Aws::EC2
|
|
|
77329
77378
|
tracer: tracer
|
|
77330
77379
|
)
|
|
77331
77380
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
77332
|
-
context[:gem_version] = '1.
|
|
77381
|
+
context[:gem_version] = '1.644.0'
|
|
77333
77382
|
Seahorse::Client::Request.new(handlers, context)
|
|
77334
77383
|
end
|
|
77335
77384
|
|
|
@@ -4037,6 +4037,8 @@ module Aws::EC2
|
|
|
4037
4037
|
VCpuCountRange = Shapes::StructureShape.new(name: 'VCpuCountRange')
|
|
4038
4038
|
VCpuCountRangeRequest = Shapes::StructureShape.new(name: 'VCpuCountRangeRequest')
|
|
4039
4039
|
VCpuInfo = Shapes::StructureShape.new(name: 'VCpuInfo')
|
|
4040
|
+
ValidateSecurityGroupQuotasForInterfaceRequest = Shapes::StructureShape.new(name: 'ValidateSecurityGroupQuotasForInterfaceRequest')
|
|
4041
|
+
ValidateSecurityGroupQuotasForInterfaceResult = Shapes::StructureShape.new(name: 'ValidateSecurityGroupQuotasForInterfaceResult')
|
|
4040
4042
|
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
|
4041
4043
|
ValidationWarning = Shapes::StructureShape.new(name: 'ValidationWarning')
|
|
4042
4044
|
ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
|
|
@@ -20062,6 +20064,13 @@ module Aws::EC2
|
|
|
20062
20064
|
VCpuInfo.add_member(:valid_threads_per_core, Shapes::ShapeRef.new(shape: ThreadsPerCoreList, location_name: "validThreadsPerCore"))
|
|
20063
20065
|
VCpuInfo.struct_class = Types::VCpuInfo
|
|
20064
20066
|
|
|
20067
|
+
ValidateSecurityGroupQuotasForInterfaceRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, required: true, location_name: "SecurityGroupId"))
|
|
20068
|
+
ValidateSecurityGroupQuotasForInterfaceRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
20069
|
+
ValidateSecurityGroupQuotasForInterfaceRequest.struct_class = Types::ValidateSecurityGroupQuotasForInterfaceRequest
|
|
20070
|
+
|
|
20071
|
+
ValidateSecurityGroupQuotasForInterfaceResult.add_member(:valid, Shapes::ShapeRef.new(shape: Boolean, location_name: "valid"))
|
|
20072
|
+
ValidateSecurityGroupQuotasForInterfaceResult.struct_class = Types::ValidateSecurityGroupQuotasForInterfaceResult
|
|
20073
|
+
|
|
20065
20074
|
ValidationError.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
|
|
20066
20075
|
ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
20067
20076
|
ValidationError.struct_class = Types::ValidationError
|
|
@@ -28243,6 +28252,14 @@ module Aws::EC2
|
|
|
28243
28252
|
o.output = Shapes::ShapeRef.new(shape: UpdateSecurityGroupRuleDescriptionsIngressResult)
|
|
28244
28253
|
end)
|
|
28245
28254
|
|
|
28255
|
+
api.add_operation(:validate_security_group_quotas_for_interface, Seahorse::Model::Operation.new.tap do |o|
|
|
28256
|
+
o.name = "ValidateSecurityGroupQuotasForInterface"
|
|
28257
|
+
o.http_method = "POST"
|
|
28258
|
+
o.http_request_uri = "/"
|
|
28259
|
+
o.input = Shapes::ShapeRef.new(shape: ValidateSecurityGroupQuotasForInterfaceRequest)
|
|
28260
|
+
o.output = Shapes::ShapeRef.new(shape: ValidateSecurityGroupQuotasForInterfaceResult)
|
|
28261
|
+
end)
|
|
28262
|
+
|
|
28246
28263
|
api.add_operation(:withdraw_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
|
|
28247
28264
|
o.name = "WithdrawByoipCidr"
|
|
28248
28265
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -89220,6 +89220,44 @@ module Aws::EC2
|
|
|
89220
89220
|
include Aws::Structure
|
|
89221
89221
|
end
|
|
89222
89222
|
|
|
89223
|
+
# @!attribute [rw] security_group_ids
|
|
89224
|
+
# The IDs of the security groups to validate for association with a
|
|
89225
|
+
# single network interface. You must specify at least one ID, and each
|
|
89226
|
+
# ID must be unique. The number of IDs cannot exceed the maximum
|
|
89227
|
+
# number of security groups allowed per network interface.
|
|
89228
|
+
# @return [Array<String>]
|
|
89229
|
+
#
|
|
89230
|
+
# @!attribute [rw] dry_run
|
|
89231
|
+
# Checks whether you have the required permissions for the action,
|
|
89232
|
+
# without actually making the request, and provides an error response.
|
|
89233
|
+
# If you have the required permissions, the error response is
|
|
89234
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
89235
|
+
# @return [Boolean]
|
|
89236
|
+
#
|
|
89237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidateSecurityGroupQuotasForInterfaceRequest AWS API Documentation
|
|
89238
|
+
#
|
|
89239
|
+
class ValidateSecurityGroupQuotasForInterfaceRequest < Struct.new(
|
|
89240
|
+
:security_group_ids,
|
|
89241
|
+
:dry_run)
|
|
89242
|
+
SENSITIVE = []
|
|
89243
|
+
include Aws::Structure
|
|
89244
|
+
end
|
|
89245
|
+
|
|
89246
|
+
# @!attribute [rw] valid
|
|
89247
|
+
# The operation returns `true` if the specified security groups can be
|
|
89248
|
+
# associated with a single network interface without exceeding the
|
|
89249
|
+
# quotas. It returns an error if associating the security groups would
|
|
89250
|
+
# exceed a quota.
|
|
89251
|
+
# @return [Boolean]
|
|
89252
|
+
#
|
|
89253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidateSecurityGroupQuotasForInterfaceResult AWS API Documentation
|
|
89254
|
+
#
|
|
89255
|
+
class ValidateSecurityGroupQuotasForInterfaceResult < Struct.new(
|
|
89256
|
+
:valid)
|
|
89257
|
+
SENSITIVE = []
|
|
89258
|
+
include Aws::Structure
|
|
89259
|
+
end
|
|
89260
|
+
|
|
89223
89261
|
# The error code and error message that is returned for a parameter or
|
|
89224
89262
|
# parameter combination that is not valid when a new launch template or
|
|
89225
89263
|
# new version of a launch template is created.
|
data/lib/aws-sdk-ec2.rb
CHANGED
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
|
@@ -19267,6 +19267,17 @@ module Aws::EC2
|
|
|
19267
19267
|
SENSITIVE: []
|
|
19268
19268
|
end
|
|
19269
19269
|
|
|
19270
|
+
class ValidateSecurityGroupQuotasForInterfaceRequest
|
|
19271
|
+
attr_accessor security_group_ids: ::Array[::String]
|
|
19272
|
+
attr_accessor dry_run: bool
|
|
19273
|
+
SENSITIVE: []
|
|
19274
|
+
end
|
|
19275
|
+
|
|
19276
|
+
class ValidateSecurityGroupQuotasForInterfaceResult
|
|
19277
|
+
attr_accessor valid: bool
|
|
19278
|
+
SENSITIVE: []
|
|
19279
|
+
end
|
|
19280
|
+
|
|
19270
19281
|
class ValidationError
|
|
19271
19282
|
attr_accessor code: ::String
|
|
19272
19283
|
attr_accessor message: ::String
|