aws-sdk-ec2 1.642.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57e2a4868da35356946fe92bf8d5e748f38aed942f1c2b442b6c468fc9d1a42b
4
- data.tar.gz: 68e7d7b022a22fd8515a288fcf1fc694c43a7d4f01722b10187d969086bd88bc
3
+ metadata.gz: 1b6bd7a40ab1a7e2d10ec8793ad651a4cfacc3fe3566f24043f660ca27eec4ab
4
+ data.tar.gz: '08cb9c1caf6dab9dd86b915f62a06c2fb15729b2ca0c2bf16247f482774c2440'
5
5
  SHA512:
6
- metadata.gz: 5394a992cf7a522029954eea89f2f51a9481989c2337abee8a0a18ed5c85244083f3e8d2f34b5f3786a8bc607ad7dcd3eecb5f05b3c1119b902f2117fdfdd4b1
7
- data.tar.gz: d68c56cd3c7634bfe1e8b455e34f9385da50ce0447469072bb78334e4f606fd14b748570b277695bdab7da31ae0a3f77bc17f79a889c66b3db211a9b03114db8
6
+ metadata.gz: c73605eb1e66dca92ee51dfdd35ccdb6e605c59a1d0acc49dba031ba9bbbc16caba8be4a7898c13944665b4683c49d531096e33124a3fbdb24e26640e5d22324
7
+ data.tar.gz: a740c5ddd964e58de7f638efa0628d02e5fb8bb13dec6599142ea183c1397c990a280ac4a8b9ad506272d7db780ff08fe79402e812dec61559975d7a3ab019d4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.643.0 (2026-09-02)
10
+ ------------------
11
+
12
+ * Feature - This release adds support to retain interruptible Capacity Reservations in an active state when all capacity is reclaimed.
13
+
4
14
  1.642.0 (2026-09-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.642.0
1
+ 1.644.0
@@ -6621,8 +6621,10 @@ module Aws::EC2
6621
6621
  # resp.capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
6622
6622
  # resp.capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
6623
6623
  # resp.capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
6624
+ # resp.capacity_reservation.interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
6624
6625
  # resp.capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
6625
6626
  # resp.capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
6627
+ # resp.capacity_reservation.zero_size_preference #=> String, one of "retain", "default"
6626
6628
  #
6627
6629
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation AWS API Documentation
6628
6630
  #
@@ -6737,8 +6739,10 @@ module Aws::EC2
6737
6739
  # resp.source_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
6738
6740
  # resp.source_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
6739
6741
  # resp.source_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
6742
+ # resp.source_capacity_reservation.interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
6740
6743
  # resp.source_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
6741
6744
  # resp.source_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
6745
+ # resp.source_capacity_reservation.zero_size_preference #=> String, one of "retain", "default"
6742
6746
  # resp.destination_capacity_reservation.capacity_reservation_id #=> String
6743
6747
  # resp.destination_capacity_reservation.owner_id #=> String
6744
6748
  # resp.destination_capacity_reservation.capacity_reservation_arn #=> String
@@ -6781,8 +6785,10 @@ module Aws::EC2
6781
6785
  # resp.destination_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
6782
6786
  # resp.destination_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
6783
6787
  # resp.destination_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
6788
+ # resp.destination_capacity_reservation.interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
6784
6789
  # resp.destination_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
6785
6790
  # resp.destination_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
6791
+ # resp.destination_capacity_reservation.zero_size_preference #=> String, one of "retain", "default"
6786
6792
  # resp.instance_count #=> Integer
6787
6793
  #
6788
6794
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationBySplitting AWS API Documentation
@@ -9783,6 +9789,14 @@ module Aws::EC2
9783
9789
  # The tags to apply to the interruptible Capacity Reservation during
9784
9790
  # creation.
9785
9791
  #
9792
+ # @option params [String] :zero_size_preference
9793
+ # Specifies the behavior for the interruptible Capacity Reservation when
9794
+ # you reduce its allocation to zero instances. Specify `retain` to keep
9795
+ # the interruptible Capacity Reservation active at zero capacity so that
9796
+ # you can allocate instances to it again later. Specify `default` to
9797
+ # cancel the interruptible Capacity Reservation and return the capacity
9798
+ # to your source Capacity Reservation. The default value is `default`.
9799
+ #
9786
9800
  # @return [Types::CreateInterruptibleCapacityReservationAllocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9787
9801
  #
9788
9802
  # * {Types::CreateInterruptibleCapacityReservationAllocationResult#source_capacity_reservation_id #source_capacity_reservation_id} => String
@@ -9808,6 +9822,7 @@ module Aws::EC2
9808
9822
  # ],
9809
9823
  # },
9810
9824
  # ],
9825
+ # zero_size_preference: "retain", # accepts retain, default
9811
9826
  # })
9812
9827
  #
9813
9828
  # @example Response structure
@@ -10137,6 +10152,7 @@ module Aws::EC2
10137
10152
  # resp.ipam_internet_registry_association.organization_handle #=> String
10138
10153
  # resp.ipam_internet_registry_association.description #=> String
10139
10154
  # resp.ipam_internet_registry_association.state #=> String, one of "pending-enable", "create-in-progress", "create-failed", "enable-in-progress", "enable-complete", "enable-failed", "delete-in-progress", "delete-complete", "delete-failed"
10155
+ # resp.ipam_internet_registry_association.state_message #=> String
10140
10156
  # resp.ipam_internet_registry_association.child_request_xml #=> String
10141
10157
  # resp.ipam_internet_registry_association.tags #=> Array
10142
10158
  # resp.ipam_internet_registry_association.tags[0].key #=> String
@@ -21426,6 +21442,7 @@ module Aws::EC2
21426
21442
  # resp.ipam_internet_registry_association.organization_handle #=> String
21427
21443
  # resp.ipam_internet_registry_association.description #=> String
21428
21444
  # resp.ipam_internet_registry_association.state #=> String, one of "pending-enable", "create-in-progress", "create-failed", "enable-in-progress", "enable-complete", "enable-failed", "delete-in-progress", "delete-complete", "delete-failed"
21445
+ # resp.ipam_internet_registry_association.state_message #=> String
21429
21446
  # resp.ipam_internet_registry_association.child_request_xml #=> String
21430
21447
  # resp.ipam_internet_registry_association.tags #=> Array
21431
21448
  # resp.ipam_internet_registry_association.tags[0].key #=> String
@@ -28326,8 +28343,10 @@ module Aws::EC2
28326
28343
  # resp.capacity_reservations[0].interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
28327
28344
  # resp.capacity_reservations[0].interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
28328
28345
  # resp.capacity_reservations[0].interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
28346
+ # resp.capacity_reservations[0].interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
28329
28347
  # resp.capacity_reservations[0].interruption_info.source_capacity_reservation_id #=> String
28330
28348
  # resp.capacity_reservations[0].interruption_info.interruption_type #=> String, one of "adhoc"
28349
+ # resp.capacity_reservations[0].zero_size_preference #=> String, one of "retain", "default"
28331
28350
  #
28332
28351
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations AWS API Documentation
28333
28352
  #
@@ -35195,6 +35214,7 @@ module Aws::EC2
35195
35214
  # resp.ipam_internet_registry_associations[0].organization_handle #=> String
35196
35215
  # resp.ipam_internet_registry_associations[0].description #=> String
35197
35216
  # resp.ipam_internet_registry_associations[0].state #=> String, one of "pending-enable", "create-in-progress", "create-failed", "enable-in-progress", "enable-complete", "enable-failed", "delete-in-progress", "delete-complete", "delete-failed"
35217
+ # resp.ipam_internet_registry_associations[0].state_message #=> String
35198
35218
  # resp.ipam_internet_registry_associations[0].child_request_xml #=> String
35199
35219
  # resp.ipam_internet_registry_associations[0].tags #=> Array
35200
35220
  # resp.ipam_internet_registry_associations[0].tags[0].key #=> String
@@ -52900,6 +52920,7 @@ module Aws::EC2
52900
52920
  # resp.ipam_internet_registry_association.organization_handle #=> String
52901
52921
  # resp.ipam_internet_registry_association.description #=> String
52902
52922
  # resp.ipam_internet_registry_association.state #=> String, one of "pending-enable", "create-in-progress", "create-failed", "enable-in-progress", "enable-complete", "enable-failed", "delete-in-progress", "delete-complete", "delete-failed"
52923
+ # resp.ipam_internet_registry_association.state_message #=> String
52903
52924
  # resp.ipam_internet_registry_association.child_request_xml #=> String
52904
52925
  # resp.ipam_internet_registry_association.tags #=> Array
52905
52926
  # resp.ipam_internet_registry_association.tags[0].key #=> String
@@ -54438,6 +54459,7 @@ module Aws::EC2
54438
54459
  # resp.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
54439
54460
  # resp.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
54440
54461
  # resp.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
54462
+ # resp.interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
54441
54463
  # resp.interruption_info.source_capacity_reservation_id #=> String
54442
54464
  # resp.interruption_info.interruption_type #=> String, one of "adhoc"
54443
54465
  #
@@ -68944,8 +68966,10 @@ module Aws::EC2
68944
68966
  # resp.source_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
68945
68967
  # resp.source_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
68946
68968
  # resp.source_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
68969
+ # resp.source_capacity_reservation.interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
68947
68970
  # resp.source_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
68948
68971
  # resp.source_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
68972
+ # resp.source_capacity_reservation.zero_size_preference #=> String, one of "retain", "default"
68949
68973
  # resp.destination_capacity_reservation.capacity_reservation_id #=> String
68950
68974
  # resp.destination_capacity_reservation.owner_id #=> String
68951
68975
  # resp.destination_capacity_reservation.capacity_reservation_arn #=> String
@@ -68988,8 +69012,10 @@ module Aws::EC2
68988
69012
  # resp.destination_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
68989
69013
  # resp.destination_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
68990
69014
  # resp.destination_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
69015
+ # resp.destination_capacity_reservation.interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
68991
69016
  # resp.destination_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
68992
69017
  # resp.destination_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
69018
+ # resp.destination_capacity_reservation.zero_size_preference #=> String, one of "retain", "default"
68993
69019
  # resp.instance_count #=> Integer
68994
69020
  #
68995
69021
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveCapacityReservationInstances AWS API Documentation
@@ -69449,8 +69475,10 @@ module Aws::EC2
69449
69475
  # resp.capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
69450
69476
  # resp.capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
69451
69477
  # resp.capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
69478
+ # resp.capacity_reservation.interruptible_capacity_allocation.zero_size_preference #=> String, one of "retain", "default"
69452
69479
  # resp.capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
69453
69480
  # resp.capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
69481
+ # resp.capacity_reservation.zero_size_preference #=> String, one of "retain", "default"
69454
69482
  # resp.capacity_blocks #=> Array
69455
69483
  # resp.capacity_blocks[0].capacity_block_id #=> String
69456
69484
  # resp.capacity_blocks[0].ultraserver_type #=> String
@@ -76930,7 +76958,7 @@ module Aws::EC2
76930
76958
  # The ID of the source Capacity Reservation containing the interruptible
76931
76959
  # allocation to modify.
76932
76960
  #
76933
- # @option params [required, Integer] :target_instance_count
76961
+ # @option params [Integer] :target_instance_count
76934
76962
  # The new number of instances to allocate. Enter a higher number to add
76935
76963
  # more capacity to share, or a lower number to reclaim capacity to your
76936
76964
  # source Capacity Reservation.
@@ -76939,6 +76967,14 @@ module Aws::EC2
76939
76967
  # Checks whether you have the required permissions for the action,
76940
76968
  # without actually making the request, and provides an error response.
76941
76969
  #
76970
+ # @option params [String] :zero_size_preference
76971
+ # Specifies the updated behavior for the interruptible Capacity
76972
+ # Reservation when you reduce its allocation to zero instances. Specify
76973
+ # `retain` to keep the interruptible Capacity Reservation active at zero
76974
+ # capacity so that you can allocate instances to it again later. Specify
76975
+ # `default` to cancel the interruptible Capacity Reservation and return
76976
+ # the capacity to your source Capacity Reservation.
76977
+ #
76942
76978
  # @return [Types::UpdateInterruptibleCapacityReservationAllocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
76943
76979
  #
76944
76980
  # * {Types::UpdateInterruptibleCapacityReservationAllocationResult#interruptible_capacity_reservation_id #interruptible_capacity_reservation_id} => String
@@ -76952,8 +76988,9 @@ module Aws::EC2
76952
76988
  #
76953
76989
  # resp = client.update_interruptible_capacity_reservation_allocation({
76954
76990
  # capacity_reservation_id: "CapacityReservationId", # required
76955
- # target_instance_count: 1, # required
76991
+ # target_instance_count: 1,
76956
76992
  # dry_run: false,
76993
+ # zero_size_preference: "retain", # accepts retain, default
76957
76994
  # })
76958
76995
  #
76959
76996
  # @example Response structure
@@ -77219,6 +77256,55 @@ module Aws::EC2
77219
77256
  req.send_request(options)
77220
77257
  end
77221
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
+
77222
77308
  # Stops advertising an address range that is provisioned as an address
77223
77309
  # pool.
77224
77310
  #
@@ -77292,7 +77378,7 @@ module Aws::EC2
77292
77378
  tracer: tracer
77293
77379
  )
77294
77380
  context[:gem_name] = 'aws-sdk-ec2'
77295
- context[:gem_version] = '1.642.0'
77381
+ context[:gem_version] = '1.644.0'
77296
77382
  Seahorse::Client::Request.new(handlers, context)
77297
77383
  end
77298
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')
@@ -4231,6 +4233,7 @@ module Aws::EC2
4231
4233
  WithdrawByoipCidrResult = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResult')
4232
4234
  Workload = Shapes::StringShape.new(name: 'Workload')
4233
4235
  WorkloadsList = Shapes::ListShape.new(name: 'WorkloadsList')
4236
+ ZeroSizePreference = Shapes::StringShape.new(name: 'ZeroSizePreference')
4234
4237
  ZoneIdStringList = Shapes::ListShape.new(name: 'ZoneIdStringList')
4235
4238
  ZoneNameStringList = Shapes::ListShape.new(name: 'ZoneNameStringList')
4236
4239
  customerGatewayConfiguration = Shapes::StringShape.new(name: 'customerGatewayConfiguration')
@@ -5562,6 +5565,7 @@ module Aws::EC2
5562
5565
  CapacityReservation.add_member(:interruptible, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "interruptible"))
5563
5566
  CapacityReservation.add_member(:interruptible_capacity_allocation, Shapes::ShapeRef.new(shape: InterruptibleCapacityAllocation, location_name: "interruptibleCapacityAllocation"))
5564
5567
  CapacityReservation.add_member(:interruption_info, Shapes::ShapeRef.new(shape: InterruptionInfo, location_name: "interruptionInfo"))
5568
+ CapacityReservation.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "zeroSizePreference"))
5565
5569
  CapacityReservation.struct_class = Types::CapacityReservation
5566
5570
 
5567
5571
  CapacityReservationBillingRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
@@ -6430,6 +6434,7 @@ module Aws::EC2
6430
6434
  CreateInterruptibleCapacityReservationAllocationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
6431
6435
  CreateInterruptibleCapacityReservationAllocationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6432
6436
  CreateInterruptibleCapacityReservationAllocationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
6437
+ CreateInterruptibleCapacityReservationAllocationRequest.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "ZeroSizePreference"))
6433
6438
  CreateInterruptibleCapacityReservationAllocationRequest.struct_class = Types::CreateInterruptibleCapacityReservationAllocationRequest
6434
6439
 
6435
6440
  CreateInterruptibleCapacityReservationAllocationResult.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "sourceCapacityReservationId"))
@@ -13977,6 +13982,7 @@ module Aws::EC2
13977
13982
  InterruptibleCapacityAllocation.add_member(:status, Shapes::ShapeRef.new(shape: InterruptibleCapacityReservationAllocationStatus, location_name: "status"))
13978
13983
  InterruptibleCapacityAllocation.add_member(:interruptible_capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "interruptibleCapacityReservationId"))
13979
13984
  InterruptibleCapacityAllocation.add_member(:interruption_type, Shapes::ShapeRef.new(shape: InterruptionType, location_name: "interruptionType"))
13985
+ InterruptibleCapacityAllocation.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "zeroSizePreference"))
13980
13986
  InterruptibleCapacityAllocation.struct_class = Types::InterruptibleCapacityAllocation
13981
13987
 
13982
13988
  InterruptionInfo.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceCapacityReservationId"))
@@ -14141,6 +14147,7 @@ module Aws::EC2
14141
14147
  IpamInternetRegistryAssociation.add_member(:organization_handle, Shapes::ShapeRef.new(shape: String, location_name: "organizationHandle"))
14142
14148
  IpamInternetRegistryAssociation.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
14143
14149
  IpamInternetRegistryAssociation.add_member(:state, Shapes::ShapeRef.new(shape: IpamInternetRegistryAssociationState, location_name: "state"))
14150
+ IpamInternetRegistryAssociation.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "stateMessage"))
14144
14151
  IpamInternetRegistryAssociation.add_member(:child_request_xml, Shapes::ShapeRef.new(shape: String, location_name: "childRequestXml"))
14145
14152
  IpamInternetRegistryAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
14146
14153
  IpamInternetRegistryAssociation.struct_class = Types::IpamInternetRegistryAssociation
@@ -19977,8 +19984,9 @@ module Aws::EC2
19977
19984
  UpdateCapacityManagerOrganizationsAccessResult.struct_class = Types::UpdateCapacityManagerOrganizationsAccessResult
19978
19985
 
19979
19986
  UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
19980
- UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:target_instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "TargetInstanceCount"))
19987
+ UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:target_instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TargetInstanceCount"))
19981
19988
  UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
19989
+ UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "ZeroSizePreference"))
19982
19990
  UpdateInterruptibleCapacityReservationAllocationRequest.struct_class = Types::UpdateInterruptibleCapacityReservationAllocationRequest
19983
19991
 
19984
19992
  UpdateInterruptibleCapacityReservationAllocationResult.add_member(:interruptible_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "interruptibleCapacityReservationId"))
@@ -20056,6 +20064,13 @@ module Aws::EC2
20056
20064
  VCpuInfo.add_member(:valid_threads_per_core, Shapes::ShapeRef.new(shape: ThreadsPerCoreList, location_name: "validThreadsPerCore"))
20057
20065
  VCpuInfo.struct_class = Types::VCpuInfo
20058
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
+
20059
20074
  ValidationError.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
20060
20075
  ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
20061
20076
  ValidationError.struct_class = Types::ValidationError
@@ -28237,6 +28252,14 @@ module Aws::EC2
28237
28252
  o.output = Shapes::ShapeRef.new(shape: UpdateSecurityGroupRuleDescriptionsIngressResult)
28238
28253
  end)
28239
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
+
28240
28263
  api.add_operation(:withdraw_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
28241
28264
  o.name = "WithdrawByoipCidr"
28242
28265
  o.http_method = "POST"
@@ -6718,6 +6718,14 @@ module Aws::EC2
6718
6718
  # with the source reservation for interruptible Capacity Reservations.
6719
6719
  # @return [Types::InterruptionInfo]
6720
6720
  #
6721
+ # @!attribute [rw] zero_size_preference
6722
+ # The zero-size preference configured for the interruptible Capacity
6723
+ # Reservation. A value of `retain` keeps the interruptible Capacity
6724
+ # Reservation active at zero capacity when you reduce its allocation
6725
+ # to zero. A value of `default` cancels the interruptible Capacity
6726
+ # Reservation when you reduce its allocation to zero.
6727
+ # @return [String]
6728
+ #
6721
6729
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservation AWS API Documentation
6722
6730
  #
6723
6731
  class CapacityReservation < Struct.new(
@@ -6751,7 +6759,8 @@ module Aws::EC2
6751
6759
  :capacity_block_id,
6752
6760
  :interruptible,
6753
6761
  :interruptible_capacity_allocation,
6754
- :interruption_info)
6762
+ :interruption_info,
6763
+ :zero_size_preference)
6755
6764
  SENSITIVE = []
6756
6765
  include Aws::Structure
6757
6766
  end
@@ -12140,6 +12149,16 @@ module Aws::EC2
12140
12149
  # creation.
12141
12150
  # @return [Array<Types::TagSpecification>]
12142
12151
  #
12152
+ # @!attribute [rw] zero_size_preference
12153
+ # Specifies the behavior for the interruptible Capacity Reservation
12154
+ # when you reduce its allocation to zero instances. Specify `retain`
12155
+ # to keep the interruptible Capacity Reservation active at zero
12156
+ # capacity so that you can allocate instances to it again later.
12157
+ # Specify `default` to cancel the interruptible Capacity Reservation
12158
+ # and return the capacity to your source Capacity Reservation. The
12159
+ # default value is `default`.
12160
+ # @return [String]
12161
+ #
12143
12162
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInterruptibleCapacityReservationAllocationRequest AWS API Documentation
12144
12163
  #
12145
12164
  class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new(
@@ -12147,7 +12166,8 @@ module Aws::EC2
12147
12166
  :instance_count,
12148
12167
  :client_token,
12149
12168
  :dry_run,
12150
- :tag_specifications)
12169
+ :tag_specifications,
12170
+ :zero_size_preference)
12151
12171
  SENSITIVE = []
12152
12172
  include Aws::Structure
12153
12173
  end
@@ -25854,7 +25874,7 @@ module Aws::EC2
25854
25874
  #
25855
25875
  #
25856
25876
  #
25857
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html
25877
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
25858
25878
  # @return [String]
25859
25879
  #
25860
25880
  # @!attribute [rw] error_message
@@ -25864,7 +25884,7 @@ module Aws::EC2
25864
25884
  #
25865
25885
  #
25866
25886
  #
25867
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html
25887
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html
25868
25888
  # @return [String]
25869
25889
  #
25870
25890
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetError AWS API Documentation
@@ -56575,8 +56595,7 @@ module Aws::EC2
56575
56595
  # @return [Types::EbsStatusSummary]
56576
56596
  #
56577
56597
  # @!attribute [rw] application_status
56578
- # Reports impaired functionality that stems from issues with
56579
- # applications running on the instance.
56598
+ # Reports the application-level health status for the instance.
56580
56599
  # @return [Types::ApplicationStatusSummary]
56581
56600
  #
56582
56601
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatus AWS API Documentation
@@ -57221,6 +57240,16 @@ module Aws::EC2
57221
57240
  # reservation.
57222
57241
  # @return [String]
57223
57242
  #
57243
+ # @!attribute [rw] zero_size_preference
57244
+ # Specifies how Amazon EC2 handles the interruptible Capacity
57245
+ # Reservation when you reduce its allocation to zero instances. A
57246
+ # value of `retain` keeps the interruptible Capacity Reservation
57247
+ # active at zero capacity so that you can allocate instances to it
57248
+ # again later. A value of `default` cancels the interruptible Capacity
57249
+ # Reservation and returns the capacity to your source Capacity
57250
+ # Reservation.
57251
+ # @return [String]
57252
+ #
57224
57253
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InterruptibleCapacityAllocation AWS API Documentation
57225
57254
  #
57226
57255
  class InterruptibleCapacityAllocation < Struct.new(
@@ -57228,7 +57257,8 @@ module Aws::EC2
57228
57257
  :target_instance_count,
57229
57258
  :status,
57230
57259
  :interruptible_capacity_reservation_id,
57231
- :interruption_type)
57260
+ :interruption_type,
57261
+ :zero_size_preference)
57232
57262
  SENSITIVE = []
57233
57263
  include Aws::Structure
57234
57264
  end
@@ -58130,6 +58160,12 @@ module Aws::EC2
58130
58160
  # `delete-failed`.
58131
58161
  # @return [String]
58132
58162
  #
58163
+ # @!attribute [rw] state_message
58164
+ # A message describing the current state of the internet registry
58165
+ # association, including additional details such as the reason for a
58166
+ # failure.
58167
+ # @return [String]
58168
+ #
58133
58169
  # @!attribute [rw] child_request_xml
58134
58170
  # The XML content for the child request to be submitted to the
58135
58171
  # internet registry to complete the BPKI setup.
@@ -58151,6 +58187,7 @@ module Aws::EC2
58151
58187
  :organization_handle,
58152
58188
  :description,
58153
58189
  :state,
58190
+ :state_message,
58154
58191
  :child_request_xml,
58155
58192
  :tags)
58156
58193
  SENSITIVE = []
@@ -81683,7 +81720,11 @@ module Aws::EC2
81683
81720
  include Aws::Structure
81684
81721
  end
81685
81722
 
81723
+ # Describes a value for a resource attribute that is a Base64-encoded
81724
+ # binary data object.
81725
+ #
81686
81726
  # @!attribute [rw] value
81727
+ # The attribute value.
81687
81728
  # @return [String]
81688
81729
  #
81689
81730
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecureBlobAttributeValue AWS API Documentation
@@ -88822,12 +88863,23 @@ module Aws::EC2
88822
88863
  # without actually making the request, and provides an error response.
88823
88864
  # @return [Boolean]
88824
88865
  #
88866
+ # @!attribute [rw] zero_size_preference
88867
+ # Specifies the updated behavior for the interruptible Capacity
88868
+ # Reservation when you reduce its allocation to zero instances.
88869
+ # Specify `retain` to keep the interruptible Capacity Reservation
88870
+ # active at zero capacity so that you can allocate instances to it
88871
+ # again later. Specify `default` to cancel the interruptible Capacity
88872
+ # Reservation and return the capacity to your source Capacity
88873
+ # Reservation.
88874
+ # @return [String]
88875
+ #
88825
88876
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateInterruptibleCapacityReservationAllocationRequest AWS API Documentation
88826
88877
  #
88827
88878
  class UpdateInterruptibleCapacityReservationAllocationRequest < Struct.new(
88828
88879
  :capacity_reservation_id,
88829
88880
  :target_instance_count,
88830
- :dry_run)
88881
+ :dry_run,
88882
+ :zero_size_preference)
88831
88883
  SENSITIVE = []
88832
88884
  include Aws::Structure
88833
88885
  end
@@ -89168,6 +89220,44 @@ module Aws::EC2
89168
89220
  include Aws::Structure
89169
89221
  end
89170
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
+
89171
89261
  # The error code and error message that is returned for a parameter or
89172
89262
  # parameter combination that is not valid when a new launch template or
89173
89263
  # 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.642.0'
81
+ GEM_VERSION = '1.644.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -1947,7 +1947,8 @@ module Aws
1947
1947
  }
1948
1948
  ]?
1949
1949
  }
1950
- ]
1950
+ ],
1951
+ ?zero_size_preference: ("retain" | "default")
1951
1952
  ) -> _CreateInterruptibleCapacityReservationAllocationResponseSuccess
1952
1953
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInterruptibleCapacityReservationAllocationResponseSuccess
1953
1954
 
@@ -14843,8 +14844,9 @@ module Aws
14843
14844
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#update_interruptible_capacity_reservation_allocation-instance_method
14844
14845
  def update_interruptible_capacity_reservation_allocation: (
14845
14846
  capacity_reservation_id: ::String,
14846
- target_instance_count: ::Integer,
14847
- ?dry_run: bool
14847
+ ?target_instance_count: ::Integer,
14848
+ ?dry_run: bool,
14849
+ ?zero_size_preference: ("retain" | "default")
14848
14850
  ) -> _UpdateInterruptibleCapacityReservationAllocationResponseSuccess
14849
14851
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInterruptibleCapacityReservationAllocationResponseSuccess
14850
14852
 
@@ -14890,6 +14892,17 @@ module Aws
14890
14892
  ) -> _UpdateSecurityGroupRuleDescriptionsIngressResponseSuccess
14891
14893
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityGroupRuleDescriptionsIngressResponseSuccess
14892
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
+
14893
14906
  interface _WithdrawByoipCidrResponseSuccess
14894
14907
  include ::Seahorse::Client::_ResponseSuccess[Types::WithdrawByoipCidrResult]
14895
14908
  def byoip_cidr: () -> Types::ByoipCidr
data/sig/types.rbs CHANGED
@@ -1575,6 +1575,7 @@ module Aws::EC2
1575
1575
  attr_accessor interruptible: bool
1576
1576
  attr_accessor interruptible_capacity_allocation: Types::InterruptibleCapacityAllocation
1577
1577
  attr_accessor interruption_info: Types::InterruptionInfo
1578
+ attr_accessor zero_size_preference: ("retain" | "default")
1578
1579
  SENSITIVE: []
1579
1580
  end
1580
1581
 
@@ -2619,6 +2620,7 @@ module Aws::EC2
2619
2620
  attr_accessor client_token: ::String
2620
2621
  attr_accessor dry_run: bool
2621
2622
  attr_accessor tag_specifications: ::Array[Types::TagSpecification]
2623
+ attr_accessor zero_size_preference: ("retain" | "default")
2622
2624
  SENSITIVE: []
2623
2625
  end
2624
2626
 
@@ -12416,6 +12418,7 @@ module Aws::EC2
12416
12418
  attr_accessor status: ("pending" | "active" | "updating" | "canceling" | "canceled" | "failed")
12417
12419
  attr_accessor interruptible_capacity_reservation_id: ::String
12418
12420
  attr_accessor interruption_type: ("adhoc")
12421
+ attr_accessor zero_size_preference: ("retain" | "default")
12419
12422
  SENSITIVE: []
12420
12423
  end
12421
12424
 
@@ -12582,6 +12585,7 @@ module Aws::EC2
12582
12585
  attr_accessor organization_handle: ::String
12583
12586
  attr_accessor description: ::String
12584
12587
  attr_accessor state: ("pending-enable" | "create-in-progress" | "create-failed" | "enable-in-progress" | "enable-complete" | "enable-failed" | "delete-in-progress" | "delete-complete" | "delete-failed")
12588
+ attr_accessor state_message: ::String
12585
12589
  attr_accessor child_request_xml: ::String
12586
12590
  attr_accessor tags: ::Array[Types::Tag]
12587
12591
  SENSITIVE: []
@@ -19172,6 +19176,7 @@ module Aws::EC2
19172
19176
  attr_accessor capacity_reservation_id: ::String
19173
19177
  attr_accessor target_instance_count: ::Integer
19174
19178
  attr_accessor dry_run: bool
19179
+ attr_accessor zero_size_preference: ("retain" | "default")
19175
19180
  SENSITIVE: []
19176
19181
  end
19177
19182
 
@@ -19262,6 +19267,17 @@ module Aws::EC2
19262
19267
  SENSITIVE: []
19263
19268
  end
19264
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
+
19265
19281
  class ValidationError
19266
19282
  attr_accessor code: ::String
19267
19283
  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.642.0
4
+ version: 1.644.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services