aws-sdk-ec2 1.642.0 → 1.643.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: 273b359af37db7f7e5f6a643c068e28b80f76a044469ed6c786ddbc1b072bcd8
4
+ data.tar.gz: 624b9d280746b7e9c5fa40f1b195dee27f1df42c081d95612e6c649783cd362e
5
5
  SHA512:
6
- metadata.gz: 5394a992cf7a522029954eea89f2f51a9481989c2337abee8a0a18ed5c85244083f3e8d2f34b5f3786a8bc607ad7dcd3eecb5f05b3c1119b902f2117fdfdd4b1
7
- data.tar.gz: d68c56cd3c7634bfe1e8b455e34f9385da50ce0447469072bb78334e4f606fd14b748570b277695bdab7da31ae0a3f77bc17f79a889c66b3db211a9b03114db8
6
+ metadata.gz: 1b9d19b65b20e8436885c20bebb5fa933d8b617c2104ef330c46eec578e02373fc74f48fdbc96abd4063eb86aff1d632f9d9c95ef3985f6bf015c6045213b8a7
7
+ data.tar.gz: 72dc3a3612962c9ffa263872d1a690be6ee808a10413f8a84644dc634a8eeff3ed93929719254be48e0a69b3bc02bba93b516a33af12e3f4eb64ea34a0de210b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.643.0 (2026-09-02)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to retain interruptible Capacity Reservations in an active state when all capacity is reclaimed.
8
+
4
9
  1.642.0 (2026-09-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.642.0
1
+ 1.643.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
@@ -77292,7 +77329,7 @@ module Aws::EC2
77292
77329
  tracer: tracer
77293
77330
  )
77294
77331
  context[:gem_name] = 'aws-sdk-ec2'
77295
- context[:gem_version] = '1.642.0'
77332
+ context[:gem_version] = '1.643.0'
77296
77333
  Seahorse::Client::Request.new(handlers, context)
77297
77334
  end
77298
77335
 
@@ -4231,6 +4231,7 @@ module Aws::EC2
4231
4231
  WithdrawByoipCidrResult = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResult')
4232
4232
  Workload = Shapes::StringShape.new(name: 'Workload')
4233
4233
  WorkloadsList = Shapes::ListShape.new(name: 'WorkloadsList')
4234
+ ZeroSizePreference = Shapes::StringShape.new(name: 'ZeroSizePreference')
4234
4235
  ZoneIdStringList = Shapes::ListShape.new(name: 'ZoneIdStringList')
4235
4236
  ZoneNameStringList = Shapes::ListShape.new(name: 'ZoneNameStringList')
4236
4237
  customerGatewayConfiguration = Shapes::StringShape.new(name: 'customerGatewayConfiguration')
@@ -5562,6 +5563,7 @@ module Aws::EC2
5562
5563
  CapacityReservation.add_member(:interruptible, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "interruptible"))
5563
5564
  CapacityReservation.add_member(:interruptible_capacity_allocation, Shapes::ShapeRef.new(shape: InterruptibleCapacityAllocation, location_name: "interruptibleCapacityAllocation"))
5564
5565
  CapacityReservation.add_member(:interruption_info, Shapes::ShapeRef.new(shape: InterruptionInfo, location_name: "interruptionInfo"))
5566
+ CapacityReservation.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "zeroSizePreference"))
5565
5567
  CapacityReservation.struct_class = Types::CapacityReservation
5566
5568
 
5567
5569
  CapacityReservationBillingRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
@@ -6430,6 +6432,7 @@ module Aws::EC2
6430
6432
  CreateInterruptibleCapacityReservationAllocationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
6431
6433
  CreateInterruptibleCapacityReservationAllocationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6432
6434
  CreateInterruptibleCapacityReservationAllocationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
6435
+ CreateInterruptibleCapacityReservationAllocationRequest.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "ZeroSizePreference"))
6433
6436
  CreateInterruptibleCapacityReservationAllocationRequest.struct_class = Types::CreateInterruptibleCapacityReservationAllocationRequest
6434
6437
 
6435
6438
  CreateInterruptibleCapacityReservationAllocationResult.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "sourceCapacityReservationId"))
@@ -13977,6 +13980,7 @@ module Aws::EC2
13977
13980
  InterruptibleCapacityAllocation.add_member(:status, Shapes::ShapeRef.new(shape: InterruptibleCapacityReservationAllocationStatus, location_name: "status"))
13978
13981
  InterruptibleCapacityAllocation.add_member(:interruptible_capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "interruptibleCapacityReservationId"))
13979
13982
  InterruptibleCapacityAllocation.add_member(:interruption_type, Shapes::ShapeRef.new(shape: InterruptionType, location_name: "interruptionType"))
13983
+ InterruptibleCapacityAllocation.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "zeroSizePreference"))
13980
13984
  InterruptibleCapacityAllocation.struct_class = Types::InterruptibleCapacityAllocation
13981
13985
 
13982
13986
  InterruptionInfo.add_member(:source_capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceCapacityReservationId"))
@@ -14141,6 +14145,7 @@ module Aws::EC2
14141
14145
  IpamInternetRegistryAssociation.add_member(:organization_handle, Shapes::ShapeRef.new(shape: String, location_name: "organizationHandle"))
14142
14146
  IpamInternetRegistryAssociation.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
14143
14147
  IpamInternetRegistryAssociation.add_member(:state, Shapes::ShapeRef.new(shape: IpamInternetRegistryAssociationState, location_name: "state"))
14148
+ IpamInternetRegistryAssociation.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "stateMessage"))
14144
14149
  IpamInternetRegistryAssociation.add_member(:child_request_xml, Shapes::ShapeRef.new(shape: String, location_name: "childRequestXml"))
14145
14150
  IpamInternetRegistryAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
14146
14151
  IpamInternetRegistryAssociation.struct_class = Types::IpamInternetRegistryAssociation
@@ -19977,8 +19982,9 @@ module Aws::EC2
19977
19982
  UpdateCapacityManagerOrganizationsAccessResult.struct_class = Types::UpdateCapacityManagerOrganizationsAccessResult
19978
19983
 
19979
19984
  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"))
19985
+ UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:target_instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TargetInstanceCount"))
19981
19986
  UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
19987
+ UpdateInterruptibleCapacityReservationAllocationRequest.add_member(:zero_size_preference, Shapes::ShapeRef.new(shape: ZeroSizePreference, location_name: "ZeroSizePreference"))
19982
19988
  UpdateInterruptibleCapacityReservationAllocationRequest.struct_class = Types::UpdateInterruptibleCapacityReservationAllocationRequest
19983
19989
 
19984
19990
  UpdateInterruptibleCapacityReservationAllocationResult.add_member(:interruptible_capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "interruptibleCapacityReservationId"))
@@ -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
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.643.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
 
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
 
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.643.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services