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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +231 -12
- data/lib/aws-sdk-ec2/client_api.rb +84 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +7 -0
- data/lib/aws-sdk-ec2/resource.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +302 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +50 -3
- data/sig/instance.rbs +1 -1
- data/sig/nat_gateway.rbs +3 -0
- data/sig/resource.rbs +1 -1
- data/sig/subnet.rbs +1 -1
- data/sig/types.rbs +71 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a179091af38d62dc36d25f9e3b8321ef08bdc29109cfa3b0b6bfddb06dee986b
|
|
4
|
+
data.tar.gz: 24baf330e59ca6dc72996a8c832042ffa20f8cd051d11f60a7fea651af414ac8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b0289cee594c2c00ed74e0214cec271d7ff05ece7c6d9ce062a0fcab0cf5d1669a37665cc22235add5364fa3334c21d1cd541d98f6bfa30c13e8c7dddfcc33d
|
|
7
|
+
data.tar.gz: '096f5f52b45df2c63f0eee716a89519b9133236fa640642a5082eb7ff6b62993112a53d840f083f86711f50aaa1c6173b0c29ad26441cfc00f2e75da04e97b04'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.583.0 (2025-11-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support to view Network firewall proxy appliances attached to an existing NAT Gateway via DescribeNatGateways API NatGatewayAttachedAppliance structure.
|
|
8
|
+
|
|
9
|
+
1.582.0 (2025-11-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds a new capability to create and manage interruptible EC2 Capacity Reservations.
|
|
13
|
+
|
|
4
14
|
1.581.0 (2025-11-20)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.583.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -5773,9 +5773,9 @@ module Aws::EC2
|
|
|
5773
5773
|
# The number of instances for which to reserve capacity.
|
|
5774
5774
|
#
|
|
5775
5775
|
# <note markdown="1"> You can request future-dated Capacity Reservations for an instance
|
|
5776
|
-
# count with a minimum of
|
|
5776
|
+
# count with a minimum of 32 vCPUs. For example, if you request a
|
|
5777
5777
|
# future-dated Capacity Reservation for `m5.xlarge` instances, you must
|
|
5778
|
-
# request at least
|
|
5778
|
+
# request at least 8 instances (*8 * m5.xlarge = 32 vCPUs*).
|
|
5779
5779
|
#
|
|
5780
5780
|
# </note>
|
|
5781
5781
|
#
|
|
@@ -5992,6 +5992,14 @@ module Aws::EC2
|
|
|
5992
5992
|
# resp.capacity_reservation.commitment_info.commitment_end_date #=> Time
|
|
5993
5993
|
# resp.capacity_reservation.delivery_preference #=> String, one of "fixed", "incremental"
|
|
5994
5994
|
# resp.capacity_reservation.capacity_block_id #=> String
|
|
5995
|
+
# resp.capacity_reservation.interruptible #=> Boolean
|
|
5996
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.instance_count #=> Integer
|
|
5997
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
5998
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
5999
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
6000
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
6001
|
+
# resp.capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
|
|
6002
|
+
# resp.capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
|
|
5995
6003
|
#
|
|
5996
6004
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation AWS API Documentation
|
|
5997
6005
|
#
|
|
@@ -6097,6 +6105,14 @@ module Aws::EC2
|
|
|
6097
6105
|
# resp.source_capacity_reservation.commitment_info.commitment_end_date #=> Time
|
|
6098
6106
|
# resp.source_capacity_reservation.delivery_preference #=> String, one of "fixed", "incremental"
|
|
6099
6107
|
# resp.source_capacity_reservation.capacity_block_id #=> String
|
|
6108
|
+
# resp.source_capacity_reservation.interruptible #=> Boolean
|
|
6109
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.instance_count #=> Integer
|
|
6110
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
6111
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
6112
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
6113
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
6114
|
+
# resp.source_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
|
|
6115
|
+
# resp.source_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
|
|
6100
6116
|
# resp.destination_capacity_reservation.capacity_reservation_id #=> String
|
|
6101
6117
|
# resp.destination_capacity_reservation.owner_id #=> String
|
|
6102
6118
|
# resp.destination_capacity_reservation.capacity_reservation_arn #=> String
|
|
@@ -6130,6 +6146,14 @@ module Aws::EC2
|
|
|
6130
6146
|
# resp.destination_capacity_reservation.commitment_info.commitment_end_date #=> Time
|
|
6131
6147
|
# resp.destination_capacity_reservation.delivery_preference #=> String, one of "fixed", "incremental"
|
|
6132
6148
|
# resp.destination_capacity_reservation.capacity_block_id #=> String
|
|
6149
|
+
# resp.destination_capacity_reservation.interruptible #=> Boolean
|
|
6150
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.instance_count #=> Integer
|
|
6151
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
6152
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
6153
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
6154
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
6155
|
+
# resp.destination_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
|
|
6156
|
+
# resp.destination_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
|
|
6133
6157
|
# resp.instance_count #=> Integer
|
|
6134
6158
|
#
|
|
6135
6159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationBySplitting AWS API Documentation
|
|
@@ -8944,6 +8968,79 @@ module Aws::EC2
|
|
|
8944
8968
|
req.send_request(options)
|
|
8945
8969
|
end
|
|
8946
8970
|
|
|
8971
|
+
# Creates an interruptible Capacity Reservation by specifying the number
|
|
8972
|
+
# of unused instances you want to allocate from your source reservation.
|
|
8973
|
+
# This helps you make unused capacity available for other workloads
|
|
8974
|
+
# within your account while maintaining control to reclaim it.
|
|
8975
|
+
#
|
|
8976
|
+
# @option params [required, String] :capacity_reservation_id
|
|
8977
|
+
# The ID of the source Capacity Reservation from which to create the
|
|
8978
|
+
# interruptible Capacity Reservation. Your Capacity Reservation must be
|
|
8979
|
+
# in active state with no end date set and have available capacity for
|
|
8980
|
+
# allocation.
|
|
8981
|
+
#
|
|
8982
|
+
# @option params [required, Integer] :instance_count
|
|
8983
|
+
# The number of instances to allocate from your source reservation. You
|
|
8984
|
+
# can only allocate available instances (also called unused capacity).
|
|
8985
|
+
#
|
|
8986
|
+
# @option params [String] :client_token
|
|
8987
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
|
8988
|
+
# idempotency of the request.
|
|
8989
|
+
#
|
|
8990
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
8991
|
+
# not need to pass this option.**
|
|
8992
|
+
#
|
|
8993
|
+
# @option params [Boolean] :dry_run
|
|
8994
|
+
# Checks whether you have the required permissions for the action,
|
|
8995
|
+
# without actually making the request, and provides an error response.
|
|
8996
|
+
#
|
|
8997
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
|
8998
|
+
# The tags to apply to the interruptible Capacity Reservation during
|
|
8999
|
+
# creation.
|
|
9000
|
+
#
|
|
9001
|
+
# @return [Types::CreateInterruptibleCapacityReservationAllocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9002
|
+
#
|
|
9003
|
+
# * {Types::CreateInterruptibleCapacityReservationAllocationResult#source_capacity_reservation_id #source_capacity_reservation_id} => String
|
|
9004
|
+
# * {Types::CreateInterruptibleCapacityReservationAllocationResult#target_instance_count #target_instance_count} => Integer
|
|
9005
|
+
# * {Types::CreateInterruptibleCapacityReservationAllocationResult#status #status} => String
|
|
9006
|
+
# * {Types::CreateInterruptibleCapacityReservationAllocationResult#interruption_type #interruption_type} => String
|
|
9007
|
+
#
|
|
9008
|
+
# @example Request syntax with placeholder values
|
|
9009
|
+
#
|
|
9010
|
+
# resp = client.create_interruptible_capacity_reservation_allocation({
|
|
9011
|
+
# capacity_reservation_id: "CapacityReservationId", # required
|
|
9012
|
+
# instance_count: 1, # required
|
|
9013
|
+
# client_token: "String",
|
|
9014
|
+
# dry_run: false,
|
|
9015
|
+
# tag_specifications: [
|
|
9016
|
+
# {
|
|
9017
|
+
# resource_type: "capacity-reservation", # accepts 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
|
|
9018
|
+
# tags: [
|
|
9019
|
+
# {
|
|
9020
|
+
# key: "String",
|
|
9021
|
+
# value: "String",
|
|
9022
|
+
# },
|
|
9023
|
+
# ],
|
|
9024
|
+
# },
|
|
9025
|
+
# ],
|
|
9026
|
+
# })
|
|
9027
|
+
#
|
|
9028
|
+
# @example Response structure
|
|
9029
|
+
#
|
|
9030
|
+
# resp.source_capacity_reservation_id #=> String
|
|
9031
|
+
# resp.target_instance_count #=> Integer
|
|
9032
|
+
# resp.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
9033
|
+
# resp.interruption_type #=> String, one of "adhoc"
|
|
9034
|
+
#
|
|
9035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInterruptibleCapacityReservationAllocation AWS API Documentation
|
|
9036
|
+
#
|
|
9037
|
+
# @overload create_interruptible_capacity_reservation_allocation(params = {})
|
|
9038
|
+
# @param [Hash] params ({})
|
|
9039
|
+
def create_interruptible_capacity_reservation_allocation(params = {}, options = {})
|
|
9040
|
+
req = build_request(:create_interruptible_capacity_reservation_allocation, params)
|
|
9041
|
+
req.send_request(options)
|
|
9042
|
+
end
|
|
9043
|
+
|
|
8947
9044
|
# Create an IPAM. Amazon VPC IP Address Manager (IPAM) is a VPC feature
|
|
8948
9045
|
# that you can use to automate your IP address management workflows
|
|
8949
9046
|
# including assigning, tracking, troubleshooting, and auditing IP
|
|
@@ -10287,7 +10384,7 @@ module Aws::EC2
|
|
|
10287
10384
|
# security_group_ids: ["SecurityGroupId"],
|
|
10288
10385
|
# security_groups: ["SecurityGroupName"],
|
|
10289
10386
|
# instance_market_options: {
|
|
10290
|
-
# market_type: "spot", # accepts spot, capacity-block
|
|
10387
|
+
# market_type: "spot", # accepts spot, capacity-block, interruptible-capacity-reservation
|
|
10291
10388
|
# spot_options: {
|
|
10292
10389
|
# max_price: "String",
|
|
10293
10390
|
# spot_instance_type: "one-time", # accepts one-time, persistent
|
|
@@ -10718,7 +10815,7 @@ module Aws::EC2
|
|
|
10718
10815
|
# security_group_ids: ["SecurityGroupId"],
|
|
10719
10816
|
# security_groups: ["SecurityGroupName"],
|
|
10720
10817
|
# instance_market_options: {
|
|
10721
|
-
# market_type: "spot", # accepts spot, capacity-block
|
|
10818
|
+
# market_type: "spot", # accepts spot, capacity-block, interruptible-capacity-reservation
|
|
10722
10819
|
# spot_options: {
|
|
10723
10820
|
# max_price: "String",
|
|
10724
10821
|
# spot_instance_type: "one-time", # accepts one-time, persistent
|
|
@@ -10934,7 +11031,7 @@ module Aws::EC2
|
|
|
10934
11031
|
# resp.launch_template_version.launch_template_data.security_group_ids[0] #=> String
|
|
10935
11032
|
# resp.launch_template_version.launch_template_data.security_groups #=> Array
|
|
10936
11033
|
# resp.launch_template_version.launch_template_data.security_groups[0] #=> String
|
|
10937
|
-
# resp.launch_template_version.launch_template_data.instance_market_options.market_type #=> String, one of "spot", "capacity-block"
|
|
11034
|
+
# resp.launch_template_version.launch_template_data.instance_market_options.market_type #=> String, one of "spot", "capacity-block", "interruptible-capacity-reservation"
|
|
10938
11035
|
# resp.launch_template_version.launch_template_data.instance_market_options.spot_options.max_price #=> String
|
|
10939
11036
|
# resp.launch_template_version.launch_template_data.instance_market_options.spot_options.spot_instance_type #=> String, one of "one-time", "persistent"
|
|
10940
11037
|
# resp.launch_template_version.launch_template_data.instance_market_options.spot_options.block_duration_minutes #=> Integer
|
|
@@ -11966,6 +12063,14 @@ module Aws::EC2
|
|
|
11966
12063
|
# resp.nat_gateway.availability_mode #=> String, one of "zonal", "regional"
|
|
11967
12064
|
# resp.nat_gateway.auto_scaling_ips #=> String, one of "enabled", "disabled"
|
|
11968
12065
|
# resp.nat_gateway.auto_provision_zones #=> String, one of "enabled", "disabled"
|
|
12066
|
+
# resp.nat_gateway.attached_appliances #=> Array
|
|
12067
|
+
# resp.nat_gateway.attached_appliances[0].type #=> String, one of "network-firewall-proxy"
|
|
12068
|
+
# resp.nat_gateway.attached_appliances[0].appliance_arn #=> String
|
|
12069
|
+
# resp.nat_gateway.attached_appliances[0].vpc_endpoint_id #=> String
|
|
12070
|
+
# resp.nat_gateway.attached_appliances[0].attachment_state #=> String, one of "attaching", "attached", "detaching", "detached", "attach-failed", "detach-failed"
|
|
12071
|
+
# resp.nat_gateway.attached_appliances[0].modification_state #=> String, one of "modifying", "completed", "failed"
|
|
12072
|
+
# resp.nat_gateway.attached_appliances[0].failure_code #=> String
|
|
12073
|
+
# resp.nat_gateway.attached_appliances[0].failure_message #=> String
|
|
11969
12074
|
# resp.nat_gateway.route_table_id #=> String
|
|
11970
12075
|
#
|
|
11971
12076
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway AWS API Documentation
|
|
@@ -25668,6 +25773,14 @@ module Aws::EC2
|
|
|
25668
25773
|
# resp.capacity_reservations[0].commitment_info.commitment_end_date #=> Time
|
|
25669
25774
|
# resp.capacity_reservations[0].delivery_preference #=> String, one of "fixed", "incremental"
|
|
25670
25775
|
# resp.capacity_reservations[0].capacity_block_id #=> String
|
|
25776
|
+
# resp.capacity_reservations[0].interruptible #=> Boolean
|
|
25777
|
+
# resp.capacity_reservations[0].interruptible_capacity_allocation.instance_count #=> Integer
|
|
25778
|
+
# resp.capacity_reservations[0].interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
25779
|
+
# resp.capacity_reservations[0].interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
25780
|
+
# resp.capacity_reservations[0].interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
25781
|
+
# resp.capacity_reservations[0].interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
25782
|
+
# resp.capacity_reservations[0].interruption_info.source_capacity_reservation_id #=> String
|
|
25783
|
+
# resp.capacity_reservations[0].interruption_info.interruption_type #=> String, one of "adhoc"
|
|
25671
25784
|
#
|
|
25672
25785
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations AWS API Documentation
|
|
25673
25786
|
#
|
|
@@ -29516,7 +29629,9 @@ module Aws::EC2
|
|
|
29516
29629
|
end
|
|
29517
29630
|
|
|
29518
29631
|
# Describes the specified attribute of the specified instance. You can
|
|
29519
|
-
# specify only one attribute at a time.
|
|
29632
|
+
# specify only one attribute at a time. Available attributes include SQL
|
|
29633
|
+
# license exemption configuration for instances registered with the SQL
|
|
29634
|
+
# LE service.
|
|
29520
29635
|
#
|
|
29521
29636
|
# @option params [Boolean] :dry_run
|
|
29522
29637
|
# Checks whether you have the required permissions for the operation,
|
|
@@ -30422,6 +30537,11 @@ module Aws::EC2
|
|
|
30422
30537
|
# you launch them through their termination. For more information, see
|
|
30423
30538
|
# [Instance lifecycle][4] in the *Amazon EC2 User Guide*.
|
|
30424
30539
|
#
|
|
30540
|
+
# * **SQL license exemption monitoring** - For instances registered with
|
|
30541
|
+
# the SQL LE service, status includes SQL license exemption monitoring
|
|
30542
|
+
# health and processing status to provide operational visibility into
|
|
30543
|
+
# license exemption functionality.
|
|
30544
|
+
#
|
|
30425
30545
|
# The Amazon EC2 API follows an eventual consistency model. This means
|
|
30426
30546
|
# that the result of an API command you run that creates or modifies
|
|
30427
30547
|
# resources might not be immediately available to all subsequent
|
|
@@ -31241,6 +31361,10 @@ module Aws::EC2
|
|
|
31241
31361
|
# recommend that you use pagination to ensure that the operation returns
|
|
31242
31362
|
# quickly and successfully.
|
|
31243
31363
|
#
|
|
31364
|
+
# The response includes SQL license exemption status information for
|
|
31365
|
+
# instances registered with the SQL LE service, providing visibility
|
|
31366
|
+
# into license exemption configuration and status.
|
|
31367
|
+
#
|
|
31244
31368
|
# If you specify an instance ID that is not valid, an error is returned.
|
|
31245
31369
|
# If you specify an instance that you do not own, it is not included in
|
|
31246
31370
|
# the output.
|
|
@@ -31862,7 +31986,7 @@ module Aws::EC2
|
|
|
31862
31986
|
# resp.reservations[0].instances[0].hypervisor #=> String, one of "ovm", "xen"
|
|
31863
31987
|
# resp.reservations[0].instances[0].iam_instance_profile.arn #=> String
|
|
31864
31988
|
# resp.reservations[0].instances[0].iam_instance_profile.id #=> String
|
|
31865
|
-
# resp.reservations[0].instances[0].instance_lifecycle #=> String, one of "spot", "scheduled", "capacity-block"
|
|
31989
|
+
# resp.reservations[0].instances[0].instance_lifecycle #=> String, one of "spot", "scheduled", "capacity-block", "interruptible-capacity-reservation"
|
|
31866
31990
|
# resp.reservations[0].instances[0].elastic_gpu_associations #=> Array
|
|
31867
31991
|
# resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_id #=> String
|
|
31868
31992
|
# resp.reservations[0].instances[0].elastic_gpu_associations[0].elastic_gpu_association_id #=> String
|
|
@@ -33428,7 +33552,7 @@ module Aws::EC2
|
|
|
33428
33552
|
# resp.launch_template_versions[0].launch_template_data.security_group_ids[0] #=> String
|
|
33429
33553
|
# resp.launch_template_versions[0].launch_template_data.security_groups #=> Array
|
|
33430
33554
|
# resp.launch_template_versions[0].launch_template_data.security_groups[0] #=> String
|
|
33431
|
-
# resp.launch_template_versions[0].launch_template_data.instance_market_options.market_type #=> String, one of "spot", "capacity-block"
|
|
33555
|
+
# resp.launch_template_versions[0].launch_template_data.instance_market_options.market_type #=> String, one of "spot", "capacity-block", "interruptible-capacity-reservation"
|
|
33432
33556
|
# resp.launch_template_versions[0].launch_template_data.instance_market_options.spot_options.max_price #=> String
|
|
33433
33557
|
# resp.launch_template_versions[0].launch_template_data.instance_market_options.spot_options.spot_instance_type #=> String, one of "one-time", "persistent"
|
|
33434
33558
|
# resp.launch_template_versions[0].launch_template_data.instance_market_options.spot_options.block_duration_minutes #=> Integer
|
|
@@ -34688,6 +34812,14 @@ module Aws::EC2
|
|
|
34688
34812
|
# resp.nat_gateways[0].availability_mode #=> String, one of "zonal", "regional"
|
|
34689
34813
|
# resp.nat_gateways[0].auto_scaling_ips #=> String, one of "enabled", "disabled"
|
|
34690
34814
|
# resp.nat_gateways[0].auto_provision_zones #=> String, one of "enabled", "disabled"
|
|
34815
|
+
# resp.nat_gateways[0].attached_appliances #=> Array
|
|
34816
|
+
# resp.nat_gateways[0].attached_appliances[0].type #=> String, one of "network-firewall-proxy"
|
|
34817
|
+
# resp.nat_gateways[0].attached_appliances[0].appliance_arn #=> String
|
|
34818
|
+
# resp.nat_gateways[0].attached_appliances[0].vpc_endpoint_id #=> String
|
|
34819
|
+
# resp.nat_gateways[0].attached_appliances[0].attachment_state #=> String, one of "attaching", "attached", "detaching", "detached", "attach-failed", "detach-failed"
|
|
34820
|
+
# resp.nat_gateways[0].attached_appliances[0].modification_state #=> String, one of "modifying", "completed", "failed"
|
|
34821
|
+
# resp.nat_gateways[0].attached_appliances[0].failure_code #=> String
|
|
34822
|
+
# resp.nat_gateways[0].attached_appliances[0].failure_message #=> String
|
|
34691
34823
|
# resp.nat_gateways[0].route_table_id #=> String
|
|
34692
34824
|
# resp.next_token #=> String
|
|
34693
34825
|
#
|
|
@@ -50162,6 +50294,9 @@ module Aws::EC2
|
|
|
50162
50294
|
# * {Types::GetCapacityReservationUsageResult#available_instance_count #available_instance_count} => Integer
|
|
50163
50295
|
# * {Types::GetCapacityReservationUsageResult#state #state} => String
|
|
50164
50296
|
# * {Types::GetCapacityReservationUsageResult#instance_usages #instance_usages} => Array<Types::InstanceUsage>
|
|
50297
|
+
# * {Types::GetCapacityReservationUsageResult#interruptible #interruptible} => Boolean
|
|
50298
|
+
# * {Types::GetCapacityReservationUsageResult#interruptible_capacity_allocation #interruptible_capacity_allocation} => Types::InterruptibleCapacityAllocation
|
|
50299
|
+
# * {Types::GetCapacityReservationUsageResult#interruption_info #interruption_info} => Types::InterruptionInfo
|
|
50165
50300
|
#
|
|
50166
50301
|
# @example Request syntax with placeholder values
|
|
50167
50302
|
#
|
|
@@ -50183,6 +50318,14 @@ module Aws::EC2
|
|
|
50183
50318
|
# resp.instance_usages #=> Array
|
|
50184
50319
|
# resp.instance_usages[0].account_id #=> String
|
|
50185
50320
|
# resp.instance_usages[0].used_instance_count #=> Integer
|
|
50321
|
+
# resp.interruptible #=> Boolean
|
|
50322
|
+
# resp.interruptible_capacity_allocation.instance_count #=> Integer
|
|
50323
|
+
# resp.interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
50324
|
+
# resp.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
50325
|
+
# resp.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
50326
|
+
# resp.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
50327
|
+
# resp.interruption_info.source_capacity_reservation_id #=> String
|
|
50328
|
+
# resp.interruption_info.interruption_type #=> String, one of "adhoc"
|
|
50186
50329
|
#
|
|
50187
50330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityReservationUsage AWS API Documentation
|
|
50188
50331
|
#
|
|
@@ -52373,7 +52516,7 @@ module Aws::EC2
|
|
|
52373
52516
|
# resp.launch_template_data.security_group_ids[0] #=> String
|
|
52374
52517
|
# resp.launch_template_data.security_groups #=> Array
|
|
52375
52518
|
# resp.launch_template_data.security_groups[0] #=> String
|
|
52376
|
-
# resp.launch_template_data.instance_market_options.market_type #=> String, one of "spot", "capacity-block"
|
|
52519
|
+
# resp.launch_template_data.instance_market_options.market_type #=> String, one of "spot", "capacity-block", "interruptible-capacity-reservation"
|
|
52377
52520
|
# resp.launch_template_data.instance_market_options.spot_options.max_price #=> String
|
|
52378
52521
|
# resp.launch_template_data.instance_market_options.spot_options.spot_instance_type #=> String, one of "one-time", "persistent"
|
|
52379
52522
|
# resp.launch_template_data.instance_market_options.spot_options.block_duration_minutes #=> Integer
|
|
@@ -63440,6 +63583,14 @@ module Aws::EC2
|
|
|
63440
63583
|
# resp.source_capacity_reservation.commitment_info.commitment_end_date #=> Time
|
|
63441
63584
|
# resp.source_capacity_reservation.delivery_preference #=> String, one of "fixed", "incremental"
|
|
63442
63585
|
# resp.source_capacity_reservation.capacity_block_id #=> String
|
|
63586
|
+
# resp.source_capacity_reservation.interruptible #=> Boolean
|
|
63587
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.instance_count #=> Integer
|
|
63588
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
63589
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
63590
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
63591
|
+
# resp.source_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
63592
|
+
# resp.source_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
|
|
63593
|
+
# resp.source_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
|
|
63443
63594
|
# resp.destination_capacity_reservation.capacity_reservation_id #=> String
|
|
63444
63595
|
# resp.destination_capacity_reservation.owner_id #=> String
|
|
63445
63596
|
# resp.destination_capacity_reservation.capacity_reservation_arn #=> String
|
|
@@ -63473,6 +63624,14 @@ module Aws::EC2
|
|
|
63473
63624
|
# resp.destination_capacity_reservation.commitment_info.commitment_end_date #=> Time
|
|
63474
63625
|
# resp.destination_capacity_reservation.delivery_preference #=> String, one of "fixed", "incremental"
|
|
63475
63626
|
# resp.destination_capacity_reservation.capacity_block_id #=> String
|
|
63627
|
+
# resp.destination_capacity_reservation.interruptible #=> Boolean
|
|
63628
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.instance_count #=> Integer
|
|
63629
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
63630
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
63631
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
63632
|
+
# resp.destination_capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
63633
|
+
# resp.destination_capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
|
|
63634
|
+
# resp.destination_capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
|
|
63476
63635
|
# resp.instance_count #=> Integer
|
|
63477
63636
|
#
|
|
63478
63637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveCapacityReservationInstances AWS API Documentation
|
|
@@ -63919,6 +64078,14 @@ module Aws::EC2
|
|
|
63919
64078
|
# resp.capacity_reservation.commitment_info.commitment_end_date #=> Time
|
|
63920
64079
|
# resp.capacity_reservation.delivery_preference #=> String, one of "fixed", "incremental"
|
|
63921
64080
|
# resp.capacity_reservation.capacity_block_id #=> String
|
|
64081
|
+
# resp.capacity_reservation.interruptible #=> Boolean
|
|
64082
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.instance_count #=> Integer
|
|
64083
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.target_instance_count #=> Integer
|
|
64084
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
64085
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.interruptible_capacity_reservation_id #=> String
|
|
64086
|
+
# resp.capacity_reservation.interruptible_capacity_allocation.interruption_type #=> String, one of "adhoc"
|
|
64087
|
+
# resp.capacity_reservation.interruption_info.source_capacity_reservation_id #=> String
|
|
64088
|
+
# resp.capacity_reservation.interruption_info.interruption_type #=> String, one of "adhoc"
|
|
63922
64089
|
# resp.capacity_blocks #=> Array
|
|
63923
64090
|
# resp.capacity_blocks[0].capacity_block_id #=> String
|
|
63924
64091
|
# resp.capacity_blocks[0].ultraserver_type #=> String
|
|
@@ -68431,7 +68598,7 @@ module Aws::EC2
|
|
|
68431
68598
|
# version: "String",
|
|
68432
68599
|
# },
|
|
68433
68600
|
# instance_market_options: {
|
|
68434
|
-
# market_type: "spot", # accepts spot, capacity-block
|
|
68601
|
+
# market_type: "spot", # accepts spot, capacity-block, interruptible-capacity-reservation
|
|
68435
68602
|
# spot_options: {
|
|
68436
68603
|
# max_price: "String",
|
|
68437
68604
|
# spot_instance_type: "one-time", # accepts one-time, persistent
|
|
@@ -68582,7 +68749,7 @@ module Aws::EC2
|
|
|
68582
68749
|
# resp.instances[0].hypervisor #=> String, one of "ovm", "xen"
|
|
68583
68750
|
# resp.instances[0].iam_instance_profile.arn #=> String
|
|
68584
68751
|
# resp.instances[0].iam_instance_profile.id #=> String
|
|
68585
|
-
# resp.instances[0].instance_lifecycle #=> String, one of "spot", "scheduled", "capacity-block"
|
|
68752
|
+
# resp.instances[0].instance_lifecycle #=> String, one of "spot", "scheduled", "capacity-block", "interruptible-capacity-reservation"
|
|
68586
68753
|
# resp.instances[0].elastic_gpu_associations #=> Array
|
|
68587
68754
|
# resp.instances[0].elastic_gpu_associations[0].elastic_gpu_id #=> String
|
|
68588
68755
|
# resp.instances[0].elastic_gpu_associations[0].elastic_gpu_association_id #=> String
|
|
@@ -71142,6 +71309,58 @@ module Aws::EC2
|
|
|
71142
71309
|
req.send_request(options)
|
|
71143
71310
|
end
|
|
71144
71311
|
|
|
71312
|
+
# Modifies the number of instances allocated to an interruptible
|
|
71313
|
+
# reservation, allowing you to add more capacity or reclaim capacity to
|
|
71314
|
+
# your source Capacity Reservation.
|
|
71315
|
+
#
|
|
71316
|
+
# @option params [required, String] :capacity_reservation_id
|
|
71317
|
+
# The ID of the source Capacity Reservation containing the interruptible
|
|
71318
|
+
# allocation to modify.
|
|
71319
|
+
#
|
|
71320
|
+
# @option params [required, Integer] :target_instance_count
|
|
71321
|
+
# The new number of instances to allocate. Enter a higher number to add
|
|
71322
|
+
# more capacity to share, or a lower number to reclaim capacity to your
|
|
71323
|
+
# source Capacity Reservation.
|
|
71324
|
+
#
|
|
71325
|
+
# @option params [Boolean] :dry_run
|
|
71326
|
+
# Checks whether you have the required permissions for the action,
|
|
71327
|
+
# without actually making the request, and provides an error response.
|
|
71328
|
+
#
|
|
71329
|
+
# @return [Types::UpdateInterruptibleCapacityReservationAllocationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
71330
|
+
#
|
|
71331
|
+
# * {Types::UpdateInterruptibleCapacityReservationAllocationResult#interruptible_capacity_reservation_id #interruptible_capacity_reservation_id} => String
|
|
71332
|
+
# * {Types::UpdateInterruptibleCapacityReservationAllocationResult#source_capacity_reservation_id #source_capacity_reservation_id} => String
|
|
71333
|
+
# * {Types::UpdateInterruptibleCapacityReservationAllocationResult#instance_count #instance_count} => Integer
|
|
71334
|
+
# * {Types::UpdateInterruptibleCapacityReservationAllocationResult#target_instance_count #target_instance_count} => Integer
|
|
71335
|
+
# * {Types::UpdateInterruptibleCapacityReservationAllocationResult#status #status} => String
|
|
71336
|
+
# * {Types::UpdateInterruptibleCapacityReservationAllocationResult#interruption_type #interruption_type} => String
|
|
71337
|
+
#
|
|
71338
|
+
# @example Request syntax with placeholder values
|
|
71339
|
+
#
|
|
71340
|
+
# resp = client.update_interruptible_capacity_reservation_allocation({
|
|
71341
|
+
# capacity_reservation_id: "CapacityReservationId", # required
|
|
71342
|
+
# target_instance_count: 1, # required
|
|
71343
|
+
# dry_run: false,
|
|
71344
|
+
# })
|
|
71345
|
+
#
|
|
71346
|
+
# @example Response structure
|
|
71347
|
+
#
|
|
71348
|
+
# resp.interruptible_capacity_reservation_id #=> String
|
|
71349
|
+
# resp.source_capacity_reservation_id #=> String
|
|
71350
|
+
# resp.instance_count #=> Integer
|
|
71351
|
+
# resp.target_instance_count #=> Integer
|
|
71352
|
+
# resp.status #=> String, one of "pending", "active", "updating", "canceling", "canceled", "failed"
|
|
71353
|
+
# resp.interruption_type #=> String, one of "adhoc"
|
|
71354
|
+
#
|
|
71355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateInterruptibleCapacityReservationAllocation AWS API Documentation
|
|
71356
|
+
#
|
|
71357
|
+
# @overload update_interruptible_capacity_reservation_allocation(params = {})
|
|
71358
|
+
# @param [Hash] params ({})
|
|
71359
|
+
def update_interruptible_capacity_reservation_allocation(params = {}, options = {})
|
|
71360
|
+
req = build_request(:update_interruptible_capacity_reservation_allocation, params)
|
|
71361
|
+
req.send_request(options)
|
|
71362
|
+
end
|
|
71363
|
+
|
|
71145
71364
|
# Updates the description of an egress (outbound) security group rule.
|
|
71146
71365
|
# You can replace an existing description, or add a description to a
|
|
71147
71366
|
# rule that did not have one previously. You can remove a description
|
|
@@ -71458,7 +71677,7 @@ module Aws::EC2
|
|
|
71458
71677
|
tracer: tracer
|
|
71459
71678
|
)
|
|
71460
71679
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
71461
|
-
context[:gem_version] = '1.
|
|
71680
|
+
context[:gem_version] = '1.583.0'
|
|
71462
71681
|
Seahorse::Client::Request.new(handlers, context)
|
|
71463
71682
|
end
|
|
71464
71683
|
|