aws-sdk-ec2 1.581.0 → 1.583.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.
data/sig/client.rbs CHANGED
@@ -1957,6 +1957,33 @@ module Aws
1957
1957
  ) -> _CreateInternetGatewayResponseSuccess
1958
1958
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInternetGatewayResponseSuccess
1959
1959
 
1960
+ interface _CreateInterruptibleCapacityReservationAllocationResponseSuccess
1961
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateInterruptibleCapacityReservationAllocationResult]
1962
+ def source_capacity_reservation_id: () -> ::String
1963
+ def target_instance_count: () -> ::Integer
1964
+ def status: () -> ("pending" | "active" | "updating" | "canceling" | "canceled" | "failed")
1965
+ def interruption_type: () -> ("adhoc")
1966
+ end
1967
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_interruptible_capacity_reservation_allocation-instance_method
1968
+ def create_interruptible_capacity_reservation_allocation: (
1969
+ capacity_reservation_id: ::String,
1970
+ instance_count: ::Integer,
1971
+ ?client_token: ::String,
1972
+ ?dry_run: bool,
1973
+ ?tag_specifications: Array[
1974
+ {
1975
+ resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-metering-policy" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "vpc-encryption-control" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-policy" | "ipam-prefix-list-resolver-target" | "capacity-manager-data-export" | "vpn-concentrator")?,
1976
+ tags: Array[
1977
+ {
1978
+ key: ::String?,
1979
+ value: ::String?
1980
+ },
1981
+ ]?
1982
+ },
1983
+ ]
1984
+ ) -> _CreateInterruptibleCapacityReservationAllocationResponseSuccess
1985
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInterruptibleCapacityReservationAllocationResponseSuccess
1986
+
1960
1987
  interface _CreateIpamResponseSuccess
1961
1988
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateIpamResult]
1962
1989
  def ipam: () -> Types::Ipam
@@ -2374,7 +2401,7 @@ module Aws
2374
2401
  security_group_ids: Array[::String]?,
2375
2402
  security_groups: Array[::String]?,
2376
2403
  instance_market_options: {
2377
- market_type: ("spot" | "capacity-block")?,
2404
+ market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")?,
2378
2405
  spot_options: {
2379
2406
  max_price: ::String?,
2380
2407
  spot_instance_type: ("one-time" | "persistent")?,
@@ -2650,7 +2677,7 @@ module Aws
2650
2677
  security_group_ids: Array[::String]?,
2651
2678
  security_groups: Array[::String]?,
2652
2679
  instance_market_options: {
2653
- market_type: ("spot" | "capacity-block")?,
2680
+ market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")?,
2654
2681
  spot_options: {
2655
2682
  max_price: ::String?,
2656
2683
  spot_instance_type: ("one-time" | "persistent")?,
@@ -10392,6 +10419,9 @@ module Aws
10392
10419
  def available_instance_count: () -> ::Integer
10393
10420
  def state: () -> ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed" | "assessing" | "delayed" | "unsupported" | "unavailable")
10394
10421
  def instance_usages: () -> ::Array[Types::InstanceUsage]
10422
+ def interruptible: () -> bool
10423
+ def interruptible_capacity_allocation: () -> Types::InterruptibleCapacityAllocation
10424
+ def interruption_info: () -> Types::InterruptionInfo
10395
10425
  end
10396
10426
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_capacity_reservation_usage-instance_method
10397
10427
  def get_capacity_reservation_usage: (
@@ -14938,7 +14968,7 @@ module Aws
14938
14968
  version: ::String?
14939
14969
  },
14940
14970
  ?instance_market_options: {
14941
- market_type: ("spot" | "capacity-block")?,
14971
+ market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")?,
14942
14972
  spot_options: {
14943
14973
  max_price: ::String?,
14944
14974
  spot_instance_type: ("one-time" | "persistent")?,
@@ -15414,6 +15444,23 @@ module Aws
15414
15444
  ) -> _UpdateCapacityManagerOrganizationsAccessResponseSuccess
15415
15445
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityManagerOrganizationsAccessResponseSuccess
15416
15446
 
15447
+ interface _UpdateInterruptibleCapacityReservationAllocationResponseSuccess
15448
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInterruptibleCapacityReservationAllocationResult]
15449
+ def interruptible_capacity_reservation_id: () -> ::String
15450
+ def source_capacity_reservation_id: () -> ::String
15451
+ def instance_count: () -> ::Integer
15452
+ def target_instance_count: () -> ::Integer
15453
+ def status: () -> ("pending" | "active" | "updating" | "canceling" | "canceled" | "failed")
15454
+ def interruption_type: () -> ("adhoc")
15455
+ end
15456
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#update_interruptible_capacity_reservation_allocation-instance_method
15457
+ def update_interruptible_capacity_reservation_allocation: (
15458
+ capacity_reservation_id: ::String,
15459
+ target_instance_count: ::Integer,
15460
+ ?dry_run: bool
15461
+ ) -> _UpdateInterruptibleCapacityReservationAllocationResponseSuccess
15462
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInterruptibleCapacityReservationAllocationResponseSuccess
15463
+
15417
15464
  interface _UpdateSecurityGroupRuleDescriptionsEgressResponseSuccess
15418
15465
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecurityGroupRuleDescriptionsEgressResult]
15419
15466
  def return: () -> bool
data/sig/instance.rbs CHANGED
@@ -40,7 +40,7 @@ module Aws
40
40
  def iam_instance_profile: () -> Types::IamInstanceProfile
41
41
 
42
42
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#instance_lifecycle-instance_method
43
- def instance_lifecycle: () -> ("spot" | "scheduled" | "capacity-block")
43
+ def instance_lifecycle: () -> ("spot" | "scheduled" | "capacity-block" | "interruptible-capacity-reservation")
44
44
 
45
45
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#elastic_gpu_associations-instance_method
46
46
  def elastic_gpu_associations: () -> ::Array[Types::ElasticGpuAssociation]
data/sig/nat_gateway.rbs CHANGED
@@ -60,6 +60,9 @@ module Aws
60
60
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#auto_provision_zones-instance_method
61
61
  def auto_provision_zones: () -> ("enabled" | "disabled")
62
62
 
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#attached_appliances-instance_method
64
+ def attached_appliances: () -> ::Array[Types::NatGatewayAttachedAppliance]
65
+
63
66
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NatGateway.html#route_table_id-instance_method
64
67
  def route_table_id: () -> ::String
65
68
 
data/sig/resource.rbs CHANGED
@@ -187,7 +187,7 @@ module Aws
187
187
  version: ::String?
188
188
  },
189
189
  ?instance_market_options: {
190
- market_type: ("spot" | "capacity-block")?,
190
+ market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")?,
191
191
  spot_options: {
192
192
  max_price: ::String?,
193
193
  spot_instance_type: ("one-time" | "persistent")?,
data/sig/subnet.rbs CHANGED
@@ -180,7 +180,7 @@ module Aws
180
180
  version: ::String?
181
181
  },
182
182
  ?instance_market_options: {
183
- market_type: ("spot" | "capacity-block")?,
183
+ market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")?,
184
184
  spot_options: {
185
185
  max_price: ::String?,
186
186
  spot_instance_type: ("one-time" | "persistent")?,
data/sig/types.rbs CHANGED
@@ -1371,6 +1371,9 @@ module Aws::EC2
1371
1371
  attr_accessor commitment_info: Types::CapacityReservationCommitmentInfo
1372
1372
  attr_accessor delivery_preference: ("fixed" | "incremental")
1373
1373
  attr_accessor capacity_block_id: ::String
1374
+ attr_accessor interruptible: bool
1375
+ attr_accessor interruptible_capacity_allocation: Types::InterruptibleCapacityAllocation
1376
+ attr_accessor interruption_info: Types::InterruptionInfo
1374
1377
  SENSITIVE: []
1375
1378
  end
1376
1379
 
@@ -2342,6 +2345,23 @@ module Aws::EC2
2342
2345
  SENSITIVE: []
2343
2346
  end
2344
2347
 
2348
+ class CreateInterruptibleCapacityReservationAllocationRequest
2349
+ attr_accessor capacity_reservation_id: ::String
2350
+ attr_accessor instance_count: ::Integer
2351
+ attr_accessor client_token: ::String
2352
+ attr_accessor dry_run: bool
2353
+ attr_accessor tag_specifications: ::Array[Types::TagSpecification]
2354
+ SENSITIVE: []
2355
+ end
2356
+
2357
+ class CreateInterruptibleCapacityReservationAllocationResult
2358
+ attr_accessor source_capacity_reservation_id: ::String
2359
+ attr_accessor target_instance_count: ::Integer
2360
+ attr_accessor status: ("pending" | "active" | "updating" | "canceling" | "canceled" | "failed")
2361
+ attr_accessor interruption_type: ("adhoc")
2362
+ SENSITIVE: []
2363
+ end
2364
+
2345
2365
  class CreateIpamExternalResourceVerificationTokenRequest
2346
2366
  attr_accessor dry_run: bool
2347
2367
  attr_accessor ipam_id: ::String
@@ -9346,6 +9366,9 @@ module Aws::EC2
9346
9366
  attr_accessor available_instance_count: ::Integer
9347
9367
  attr_accessor state: ("active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed" | "assessing" | "delayed" | "unsupported" | "unavailable")
9348
9368
  attr_accessor instance_usages: ::Array[Types::InstanceUsage]
9369
+ attr_accessor interruptible: bool
9370
+ attr_accessor interruptible_capacity_allocation: Types::InterruptibleCapacityAllocation
9371
+ attr_accessor interruption_info: Types::InterruptionInfo
9349
9372
  SENSITIVE: []
9350
9373
  end
9351
9374
 
@@ -10766,7 +10789,7 @@ module Aws::EC2
10766
10789
  attr_accessor ena_support: bool
10767
10790
  attr_accessor hypervisor: ("ovm" | "xen")
10768
10791
  attr_accessor iam_instance_profile: Types::IamInstanceProfile
10769
- attr_accessor instance_lifecycle: ("spot" | "scheduled" | "capacity-block")
10792
+ attr_accessor instance_lifecycle: ("spot" | "scheduled" | "capacity-block" | "interruptible-capacity-reservation")
10770
10793
  attr_accessor elastic_gpu_associations: ::Array[Types::ElasticGpuAssociation]
10771
10794
  attr_accessor elastic_inference_accelerator_associations: ::Array[Types::ElasticInferenceAcceleratorAssociation]
10772
10795
  attr_accessor network_interfaces: ::Array[Types::InstanceNetworkInterface]
@@ -11018,7 +11041,7 @@ module Aws::EC2
11018
11041
  end
11019
11042
 
11020
11043
  class InstanceMarketOptionsRequest
11021
- attr_accessor market_type: ("spot" | "capacity-block")
11044
+ attr_accessor market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")
11022
11045
  attr_accessor spot_options: Types::SpotMarketOptions
11023
11046
  SENSITIVE: []
11024
11047
  end
@@ -11369,6 +11392,21 @@ module Aws::EC2
11369
11392
  SENSITIVE: []
11370
11393
  end
11371
11394
 
11395
+ class InterruptibleCapacityAllocation
11396
+ attr_accessor instance_count: ::Integer
11397
+ attr_accessor target_instance_count: ::Integer
11398
+ attr_accessor status: ("pending" | "active" | "updating" | "canceling" | "canceled" | "failed")
11399
+ attr_accessor interruptible_capacity_reservation_id: ::String
11400
+ attr_accessor interruption_type: ("adhoc")
11401
+ SENSITIVE: []
11402
+ end
11403
+
11404
+ class InterruptionInfo
11405
+ attr_accessor source_capacity_reservation_id: ::String
11406
+ attr_accessor interruption_type: ("adhoc")
11407
+ SENSITIVE: []
11408
+ end
11409
+
11372
11410
  class IpPermission
11373
11411
  attr_accessor ip_protocol: ::String
11374
11412
  attr_accessor from_port: ::Integer
@@ -12063,13 +12101,13 @@ module Aws::EC2
12063
12101
  end
12064
12102
 
12065
12103
  class LaunchTemplateInstanceMarketOptions
12066
- attr_accessor market_type: ("spot" | "capacity-block")
12104
+ attr_accessor market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")
12067
12105
  attr_accessor spot_options: Types::LaunchTemplateSpotMarketOptions
12068
12106
  SENSITIVE: []
12069
12107
  end
12070
12108
 
12071
12109
  class LaunchTemplateInstanceMarketOptionsRequest
12072
- attr_accessor market_type: ("spot" | "capacity-block")
12110
+ attr_accessor market_type: ("spot" | "capacity-block" | "interruptible-capacity-reservation")
12073
12111
  attr_accessor spot_options: Types::LaunchTemplateSpotMarketOptionsRequest
12074
12112
  SENSITIVE: []
12075
12113
  end
@@ -13922,6 +13960,7 @@ module Aws::EC2
13922
13960
  attr_accessor availability_mode: ("zonal" | "regional")
13923
13961
  attr_accessor auto_scaling_ips: ("enabled" | "disabled")
13924
13962
  attr_accessor auto_provision_zones: ("enabled" | "disabled")
13963
+ attr_accessor attached_appliances: ::Array[Types::NatGatewayAttachedAppliance]
13925
13964
  attr_accessor route_table_id: ::String
13926
13965
  SENSITIVE: []
13927
13966
  end
@@ -13940,6 +13979,17 @@ module Aws::EC2
13940
13979
  SENSITIVE: []
13941
13980
  end
13942
13981
 
13982
+ class NatGatewayAttachedAppliance
13983
+ attr_accessor type: ("network-firewall-proxy")
13984
+ attr_accessor appliance_arn: ::String
13985
+ attr_accessor vpc_endpoint_id: ::String
13986
+ attr_accessor attachment_state: ("attaching" | "attached" | "detaching" | "detached" | "attach-failed" | "detach-failed")
13987
+ attr_accessor modification_state: ("modifying" | "completed" | "failed")
13988
+ attr_accessor failure_code: ::String
13989
+ attr_accessor failure_message: ::String
13990
+ SENSITIVE: []
13991
+ end
13992
+
13943
13993
  class NativeApplicationOidcOptions
13944
13994
  attr_accessor public_signing_key_endpoint: ::String
13945
13995
  attr_accessor issuer: ::String
@@ -17569,6 +17619,23 @@ module Aws::EC2
17569
17619
  SENSITIVE: []
17570
17620
  end
17571
17621
 
17622
+ class UpdateInterruptibleCapacityReservationAllocationRequest
17623
+ attr_accessor capacity_reservation_id: ::String
17624
+ attr_accessor target_instance_count: ::Integer
17625
+ attr_accessor dry_run: bool
17626
+ SENSITIVE: []
17627
+ end
17628
+
17629
+ class UpdateInterruptibleCapacityReservationAllocationResult
17630
+ attr_accessor interruptible_capacity_reservation_id: ::String
17631
+ attr_accessor source_capacity_reservation_id: ::String
17632
+ attr_accessor instance_count: ::Integer
17633
+ attr_accessor target_instance_count: ::Integer
17634
+ attr_accessor status: ("pending" | "active" | "updating" | "canceling" | "canceled" | "failed")
17635
+ attr_accessor interruption_type: ("adhoc")
17636
+ SENSITIVE: []
17637
+ end
17638
+
17572
17639
  class UpdateSecurityGroupRuleDescriptionsEgressRequest
17573
17640
  attr_accessor dry_run: bool
17574
17641
  attr_accessor group_id: ::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.581.0
4
+ version: 1.583.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.234.0
21
+ version: 3.239.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.234.0
31
+ version: 3.239.1
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement