aws-sdk-ec2 1.275.0 → 1.278.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +28 -11
- data/lib/aws-sdk-ec2/client_api.rb +6 -1
- data/lib/aws-sdk-ec2/network_interface_association.rb +6 -0
- data/lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb +7 -1
- data/lib/aws-sdk-ec2/types.rb +84 -43
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 274544329b71218d0b2b0909ae2469bea539c388cee2412c0b3e05e55983ef3c
|
4
|
+
data.tar.gz: a9913ba6db0c632b0b61a2ea389779a202a78371ca8310f83864f0cbe7d11edf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b293150a65824261ced83d4eeff8d50f5249f0b29b7e260e9cefbae8abcfcb400650ab5755bfc241011771697561660352303fd066ab58959d0a651ab03985bc
|
7
|
+
data.tar.gz: e0eca2feb56b5fadb02840b76045d143201864aede4ae5bad86080bd7d01ede010884f6b9db0c6ec4f1bc51cb9879d75a397d458ed9a35df9e4b299f5a2dbc0d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.278.0 (2021-11-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds internal validation on the GatewayAssociationState field
|
8
|
+
|
9
|
+
1.277.0 (2021-11-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
|
13
|
+
|
14
|
+
1.276.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds a new instance replacement strategy for EC2 Fleet, Spot Fleet. Now you can select an action to perform when your instance gets a rebalance notification. EC2 Fleet, Spot Fleet can launch a replacement then terminate the instance that received notification after a termination delay
|
18
|
+
|
4
19
|
1.275.0 (2021-10-29)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.278.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -279,6 +279,15 @@ module Aws::EC2
|
|
279
279
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
280
280
|
# requests are made, and retries are disabled.
|
281
281
|
#
|
282
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
283
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
284
|
+
# will be used if available.
|
285
|
+
#
|
286
|
+
# @option options [Boolean] :use_fips_endpoint
|
287
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
288
|
+
# When a `fips` region is used, the region is normalized and this config
|
289
|
+
# is set to `true`.
|
290
|
+
#
|
282
291
|
# @option options [Boolean] :validate_params (true)
|
283
292
|
# When `true`, request parameters are validated before
|
284
293
|
# sending the request.
|
@@ -5404,7 +5413,8 @@ module Aws::EC2
|
|
5404
5413
|
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
|
5405
5414
|
# maintenance_strategies: {
|
5406
5415
|
# capacity_rebalance: {
|
5407
|
-
# replacement_strategy: "launch", # accepts launch
|
5416
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
5417
|
+
# termination_delay: 1,
|
5408
5418
|
# },
|
5409
5419
|
# },
|
5410
5420
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
@@ -12060,7 +12070,7 @@ module Aws::EC2
|
|
12060
12070
|
# resp.vpn_connection.transit_gateway_id #=> String
|
12061
12071
|
# resp.vpn_connection.core_network_arn #=> String
|
12062
12072
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
12063
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
12073
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
12064
12074
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
12065
12075
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
12066
12076
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -17715,7 +17725,8 @@ module Aws::EC2
|
|
17715
17725
|
# resp.fleets[0].valid_until #=> Time
|
17716
17726
|
# resp.fleets[0].replace_unhealthy_instances #=> Boolean
|
17717
17727
|
# resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified", "capacity-optimized", "capacity-optimized-prioritized"
|
17718
|
-
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch"
|
17728
|
+
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
|
17729
|
+
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
|
17719
17730
|
# resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
|
17720
17731
|
# resp.fleets[0].spot_options.instance_pools_to_use_count #=> Integer
|
17721
17732
|
# resp.fleets[0].spot_options.single_instance_type #=> Boolean
|
@@ -20634,6 +20645,7 @@ module Aws::EC2
|
|
20634
20645
|
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
|
20635
20646
|
# resp.reservations[0].instances[0].network_interfaces #=> Array
|
20636
20647
|
# resp.reservations[0].instances[0].network_interfaces[0].association.carrier_ip #=> String
|
20648
|
+
# resp.reservations[0].instances[0].network_interfaces[0].association.customer_owned_ip #=> String
|
20637
20649
|
# resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
|
20638
20650
|
# resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
|
20639
20651
|
# resp.reservations[0].instances[0].network_interfaces[0].association.public_ip #=> String
|
@@ -20656,6 +20668,7 @@ module Aws::EC2
|
|
20656
20668
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_address #=> String
|
20657
20669
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses #=> Array
|
20658
20670
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
|
20671
|
+
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.customer_owned_ip #=> String
|
20659
20672
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
|
20660
20673
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
|
20661
20674
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
|
@@ -25994,7 +26007,8 @@ module Aws::EC2
|
|
25994
26007
|
# resp.spot_fleet_request_configs[0].create_time #=> Time
|
25995
26008
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized", "capacityOptimizedPrioritized"
|
25996
26009
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_allocation_strategy #=> String, one of "lowestPrice", "prioritized"
|
25997
|
-
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch"
|
26010
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
|
26011
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
|
25998
26012
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.client_token #=> String
|
25999
26013
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.excess_capacity_termination_policy #=> String, one of "noTermination", "default"
|
26000
26014
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.fulfilled_capacity #=> Float
|
@@ -30024,7 +30038,7 @@ module Aws::EC2
|
|
30024
30038
|
# resp.vpn_connections[0].transit_gateway_id #=> String
|
30025
30039
|
# resp.vpn_connections[0].core_network_arn #=> String
|
30026
30040
|
# resp.vpn_connections[0].core_network_attachment_arn #=> String
|
30027
|
-
# resp.vpn_connections[0].gateway_association_state #=> String
|
30041
|
+
# resp.vpn_connections[0].gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
30028
30042
|
# resp.vpn_connections[0].options.enable_acceleration #=> Boolean
|
30029
30043
|
# resp.vpn_connections[0].options.static_routes_only #=> Boolean
|
30030
30044
|
# resp.vpn_connections[0].options.local_ipv_4_network_cidr #=> String
|
@@ -38784,7 +38798,7 @@ module Aws::EC2
|
|
38784
38798
|
# resp.vpn_connection.transit_gateway_id #=> String
|
38785
38799
|
# resp.vpn_connection.core_network_arn #=> String
|
38786
38800
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
38787
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
38801
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
38788
38802
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
38789
38803
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
38790
38804
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -38908,7 +38922,7 @@ module Aws::EC2
|
|
38908
38922
|
# resp.vpn_connection.transit_gateway_id #=> String
|
38909
38923
|
# resp.vpn_connection.core_network_arn #=> String
|
38910
38924
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
38911
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
38925
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
38912
38926
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
38913
38927
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
38914
38928
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -39005,7 +39019,7 @@ module Aws::EC2
|
|
39005
39019
|
# resp.vpn_connection.transit_gateway_id #=> String
|
39006
39020
|
# resp.vpn_connection.core_network_arn #=> String
|
39007
39021
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
39008
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
39022
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
39009
39023
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
39010
39024
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
39011
39025
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -39162,7 +39176,7 @@ module Aws::EC2
|
|
39162
39176
|
# resp.vpn_connection.transit_gateway_id #=> String
|
39163
39177
|
# resp.vpn_connection.core_network_arn #=> String
|
39164
39178
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
39165
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
39179
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
39166
39180
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
39167
39181
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
39168
39182
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -41252,7 +41266,8 @@ module Aws::EC2
|
|
41252
41266
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
41253
41267
|
# spot_maintenance_strategies: {
|
41254
41268
|
# capacity_rebalance: {
|
41255
|
-
# replacement_strategy: "launch", # accepts launch
|
41269
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
41270
|
+
# termination_delay: 1,
|
41256
41271
|
# },
|
41257
41272
|
# },
|
41258
41273
|
# client_token: "String",
|
@@ -43411,6 +43426,7 @@ module Aws::EC2
|
|
43411
43426
|
# resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
|
43412
43427
|
# resp.instances[0].network_interfaces #=> Array
|
43413
43428
|
# resp.instances[0].network_interfaces[0].association.carrier_ip #=> String
|
43429
|
+
# resp.instances[0].network_interfaces[0].association.customer_owned_ip #=> String
|
43414
43430
|
# resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
|
43415
43431
|
# resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
|
43416
43432
|
# resp.instances[0].network_interfaces[0].association.public_ip #=> String
|
@@ -43433,6 +43449,7 @@ module Aws::EC2
|
|
43433
43449
|
# resp.instances[0].network_interfaces[0].private_ip_address #=> String
|
43434
43450
|
# resp.instances[0].network_interfaces[0].private_ip_addresses #=> Array
|
43435
43451
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
|
43452
|
+
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.customer_owned_ip #=> String
|
43436
43453
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
|
43437
43454
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
|
43438
43455
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
|
@@ -45211,7 +45228,7 @@ module Aws::EC2
|
|
45211
45228
|
params: params,
|
45212
45229
|
config: config)
|
45213
45230
|
context[:gem_name] = 'aws-sdk-ec2'
|
45214
|
-
context[:gem_version] = '1.
|
45231
|
+
context[:gem_version] = '1.278.0'
|
45215
45232
|
Seahorse::Client::Request.new(handlers, context)
|
45216
45233
|
end
|
45217
45234
|
|
@@ -1132,6 +1132,7 @@ module Aws::EC2
|
|
1132
1132
|
FpgaInfo = Shapes::StructureShape.new(name: 'FpgaInfo')
|
1133
1133
|
FreeTierEligibleFlag = Shapes::BooleanShape.new(name: 'FreeTierEligibleFlag')
|
1134
1134
|
GVCDMaxResults = Shapes::IntegerShape.new(name: 'GVCDMaxResults')
|
1135
|
+
GatewayAssociationState = Shapes::StringShape.new(name: 'GatewayAssociationState')
|
1135
1136
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
1136
1137
|
GetAssociatedEnclaveCertificateIamRolesRequest = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesRequest')
|
1137
1138
|
GetAssociatedEnclaveCertificateIamRolesResult = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesResult')
|
@@ -6843,9 +6844,11 @@ module Aws::EC2
|
|
6843
6844
|
FleetSet.member = Shapes::ShapeRef.new(shape: FleetData, location_name: "item")
|
6844
6845
|
|
6845
6846
|
FleetSpotCapacityRebalance.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: FleetReplacementStrategy, location_name: "replacementStrategy"))
|
6847
|
+
FleetSpotCapacityRebalance.add_member(:termination_delay, Shapes::ShapeRef.new(shape: Integer, location_name: "terminationDelay"))
|
6846
6848
|
FleetSpotCapacityRebalance.struct_class = Types::FleetSpotCapacityRebalance
|
6847
6849
|
|
6848
6850
|
FleetSpotCapacityRebalanceRequest.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: FleetReplacementStrategy, location_name: "ReplacementStrategy"))
|
6851
|
+
FleetSpotCapacityRebalanceRequest.add_member(:termination_delay, Shapes::ShapeRef.new(shape: Integer, location_name: "TerminationDelay"))
|
6849
6852
|
FleetSpotCapacityRebalanceRequest.struct_class = Types::FleetSpotCapacityRebalanceRequest
|
6850
6853
|
|
6851
6854
|
FleetSpotMaintenanceStrategies.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: FleetSpotCapacityRebalance, location_name: "capacityRebalance"))
|
@@ -7842,6 +7845,7 @@ module Aws::EC2
|
|
7842
7845
|
InstanceNetworkInterface.struct_class = Types::InstanceNetworkInterface
|
7843
7846
|
|
7844
7847
|
InstanceNetworkInterfaceAssociation.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
7848
|
+
InstanceNetworkInterfaceAssociation.add_member(:customer_owned_ip, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIp"))
|
7845
7849
|
InstanceNetworkInterfaceAssociation.add_member(:ip_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ipOwnerId"))
|
7846
7850
|
InstanceNetworkInterfaceAssociation.add_member(:public_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicDnsName"))
|
7847
7851
|
InstanceNetworkInterfaceAssociation.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
@@ -10770,6 +10774,7 @@ module Aws::EC2
|
|
10770
10774
|
SnapshotTaskDetail.struct_class = Types::SnapshotTaskDetail
|
10771
10775
|
|
10772
10776
|
SpotCapacityRebalance.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: ReplacementStrategy, location_name: "replacementStrategy"))
|
10777
|
+
SpotCapacityRebalance.add_member(:termination_delay, Shapes::ShapeRef.new(shape: Integer, location_name: "terminationDelay"))
|
10773
10778
|
SpotCapacityRebalance.struct_class = Types::SpotCapacityRebalance
|
10774
10779
|
|
10775
10780
|
SpotDatafeedSubscription.add_member(:bucket, Shapes::ShapeRef.new(shape: String, location_name: "bucket"))
|
@@ -11937,7 +11942,7 @@ module Aws::EC2
|
|
11937
11942
|
VpnConnection.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
|
11938
11943
|
VpnConnection.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: String, location_name: "coreNetworkArn"))
|
11939
11944
|
VpnConnection.add_member(:core_network_attachment_arn, Shapes::ShapeRef.new(shape: String, location_name: "coreNetworkAttachmentArn"))
|
11940
|
-
VpnConnection.add_member(:gateway_association_state, Shapes::ShapeRef.new(shape:
|
11945
|
+
VpnConnection.add_member(:gateway_association_state, Shapes::ShapeRef.new(shape: GatewayAssociationState, location_name: "gatewayAssociationState"))
|
11941
11946
|
VpnConnection.add_member(:options, Shapes::ShapeRef.new(shape: VpnConnectionOptions, location_name: "options"))
|
11942
11947
|
VpnConnection.add_member(:routes, Shapes::ShapeRef.new(shape: VpnStaticRouteList, location_name: "routes"))
|
11943
11948
|
VpnConnection.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
@@ -40,6 +40,12 @@ module Aws::EC2
|
|
40
40
|
data[:carrier_ip]
|
41
41
|
end
|
42
42
|
|
43
|
+
# The customer-owned IP address associated with the network interface.
|
44
|
+
# @return [String]
|
45
|
+
def customer_owned_ip
|
46
|
+
data[:customer_owned_ip]
|
47
|
+
end
|
48
|
+
|
43
49
|
# The ID of the owner of the Elastic IP address.
|
44
50
|
# @return [String]
|
45
51
|
def ip_owner_id
|
@@ -40,7 +40,13 @@ module Aws
|
|
40
40
|
region: params[:source_region],
|
41
41
|
credentials_provider: context.config.credentials
|
42
42
|
)
|
43
|
-
url = Aws::Partitions::EndpointProvider.resolve(
|
43
|
+
url = Aws::Partitions::EndpointProvider.resolve(
|
44
|
+
signer.region, 'ec2', 'regional',
|
45
|
+
{
|
46
|
+
dualstack: context.config.use_dualstack_endpoint,
|
47
|
+
fips: context.config.use_fips_endpoint
|
48
|
+
}
|
49
|
+
)
|
44
50
|
url += "?#{param_list.to_s}"
|
45
51
|
|
46
52
|
signer.presign_url(
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -7229,7 +7229,8 @@ module Aws::EC2
|
|
7229
7229
|
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
|
7230
7230
|
# maintenance_strategies: {
|
7231
7231
|
# capacity_rebalance: {
|
7232
|
-
# replacement_strategy: "launch", # accepts launch
|
7232
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
7233
|
+
# termination_delay: 1,
|
7233
7234
|
# },
|
7234
7235
|
# },
|
7235
7236
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
@@ -31540,31 +31541,42 @@ module Aws::EC2
|
|
31540
31541
|
# Instance is at an elevated risk of being interrupted.
|
31541
31542
|
#
|
31542
31543
|
# @!attribute [rw] replacement_strategy
|
31543
|
-
#
|
31544
|
-
#
|
31545
|
-
# Instance in the fleet, specify `launch`. Only available for fleets
|
31546
|
-
# of type `maintain`.
|
31547
|
-
#
|
31548
|
-
# <note markdown="1"> When a replacement instance is launched, the instance marked for
|
31549
|
-
# rebalance is not automatically terminated. You can terminate it, or
|
31550
|
-
# you can leave it running. You are charged for both instances while
|
31551
|
-
# they are running.
|
31544
|
+
# The replacement strategy to use. Only available for fleets of type
|
31545
|
+
# `maintain`.
|
31552
31546
|
#
|
31553
|
-
#
|
31547
|
+
# `launch` - EC2 Fleet launches a new replacement Spot Instance when a
|
31548
|
+
# rebalance notification is emitted for an existing Spot Instance in
|
31549
|
+
# the fleet. EC2 Fleet does not terminate the instances that receive a
|
31550
|
+
# rebalance notification. You can terminate the old instances, or you
|
31551
|
+
# can leave them running. You are charged for all instances while they
|
31552
|
+
# are running.
|
31553
|
+
#
|
31554
|
+
# `launch-before-terminate` - EC2 Fleet launches a new replacement
|
31555
|
+
# Spot Instance when a rebalance notification is emitted for an
|
31556
|
+
# existing Spot Instance in the fleet, and then, after a delay that
|
31557
|
+
# you specify (in `TerminationDelay`), terminates the instances that
|
31558
|
+
# received a rebalance notification.
|
31554
31559
|
# @return [String]
|
31555
31560
|
#
|
31561
|
+
# @!attribute [rw] termination_delay
|
31562
|
+
# The amount of time (in seconds) that Amazon EC2 waits before
|
31563
|
+
# terminating the old Spot Instance after launching a new replacement
|
31564
|
+
# Spot Instance.
|
31565
|
+
# @return [Integer]
|
31566
|
+
#
|
31556
31567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalance AWS API Documentation
|
31557
31568
|
#
|
31558
31569
|
class FleetSpotCapacityRebalance < Struct.new(
|
31559
|
-
:replacement_strategy
|
31570
|
+
:replacement_strategy,
|
31571
|
+
:termination_delay)
|
31560
31572
|
SENSITIVE = []
|
31561
31573
|
include Aws::Structure
|
31562
31574
|
end
|
31563
31575
|
|
31564
31576
|
# The Spot Instance replacement strategy to use when Amazon EC2 emits a
|
31565
|
-
# signal that your Spot Instance is at an
|
31566
|
-
# interrupted. For more information, see
|
31567
|
-
# the *Amazon EC2 User Guide*.
|
31577
|
+
# rebalance notification signal that your Spot Instance is at an
|
31578
|
+
# elevated risk of being interrupted. For more information, see
|
31579
|
+
# [Capacity rebalancing][1] in the *Amazon EC2 User Guide*.
|
31568
31580
|
#
|
31569
31581
|
#
|
31570
31582
|
#
|
@@ -31574,30 +31586,39 @@ module Aws::EC2
|
|
31574
31586
|
# data as a hash:
|
31575
31587
|
#
|
31576
31588
|
# {
|
31577
|
-
# replacement_strategy: "launch", # accepts launch
|
31589
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
31590
|
+
# termination_delay: 1,
|
31578
31591
|
# }
|
31579
31592
|
#
|
31580
31593
|
# @!attribute [rw] replacement_strategy
|
31581
31594
|
# The replacement strategy to use. Only available for fleets of type
|
31582
31595
|
# `maintain`.
|
31583
31596
|
#
|
31584
|
-
#
|
31585
|
-
#
|
31586
|
-
#
|
31587
|
-
#
|
31597
|
+
# `launch` - EC2 Fleet launches a replacement Spot Instance when a
|
31598
|
+
# rebalance notification is emitted for an existing Spot Instance in
|
31599
|
+
# the fleet. EC2 Fleet does not terminate the instances that receive a
|
31600
|
+
# rebalance notification. You can terminate the old instances, or you
|
31601
|
+
# can leave them running. You are charged for all instances while they
|
31602
|
+
# are running.
|
31588
31603
|
#
|
31589
|
-
#
|
31590
|
-
#
|
31591
|
-
#
|
31592
|
-
#
|
31593
|
-
#
|
31594
|
-
# </note>
|
31604
|
+
# `launch-before-terminate` - EC2 Fleet launches a replacement Spot
|
31605
|
+
# Instance when a rebalance notification is emitted for an existing
|
31606
|
+
# Spot Instance in the fleet, and then, after a delay that you specify
|
31607
|
+
# (in `TerminationDelay`), terminates the instances that received a
|
31608
|
+
# rebalance notification.
|
31595
31609
|
# @return [String]
|
31596
31610
|
#
|
31611
|
+
# @!attribute [rw] termination_delay
|
31612
|
+
# The amount of time (in seconds) that Amazon EC2 waits before
|
31613
|
+
# terminating the old Spot Instance after launching a new replacement
|
31614
|
+
# Spot Instance.
|
31615
|
+
# @return [Integer]
|
31616
|
+
#
|
31597
31617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalanceRequest AWS API Documentation
|
31598
31618
|
#
|
31599
31619
|
class FleetSpotCapacityRebalanceRequest < Struct.new(
|
31600
|
-
:replacement_strategy
|
31620
|
+
:replacement_strategy,
|
31621
|
+
:termination_delay)
|
31601
31622
|
SENSITIVE = []
|
31602
31623
|
include Aws::Structure
|
31603
31624
|
end
|
@@ -31626,7 +31647,8 @@ module Aws::EC2
|
|
31626
31647
|
#
|
31627
31648
|
# {
|
31628
31649
|
# capacity_rebalance: {
|
31629
|
-
# replacement_strategy: "launch", # accepts launch
|
31650
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
31651
|
+
# termination_delay: 1,
|
31630
31652
|
# },
|
31631
31653
|
# }
|
31632
31654
|
#
|
@@ -37310,6 +37332,10 @@ module Aws::EC2
|
|
37310
37332
|
# The carrier IP address associated with the network interface.
|
37311
37333
|
# @return [String]
|
37312
37334
|
#
|
37335
|
+
# @!attribute [rw] customer_owned_ip
|
37336
|
+
# The customer-owned IP address associated with the network interface.
|
37337
|
+
# @return [String]
|
37338
|
+
#
|
37313
37339
|
# @!attribute [rw] ip_owner_id
|
37314
37340
|
# The ID of the owner of the Elastic IP address.
|
37315
37341
|
# @return [String]
|
@@ -37327,6 +37353,7 @@ module Aws::EC2
|
|
37327
37353
|
#
|
37328
37354
|
class InstanceNetworkInterfaceAssociation < Struct.new(
|
37329
37355
|
:carrier_ip,
|
37356
|
+
:customer_owned_ip,
|
37330
37357
|
:ip_owner_id,
|
37331
37358
|
:public_dns_name,
|
37332
37359
|
:public_ip)
|
@@ -50786,7 +50813,8 @@ module Aws::EC2
|
|
50786
50813
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
50787
50814
|
# spot_maintenance_strategies: {
|
50788
50815
|
# capacity_rebalance: {
|
50789
|
-
# replacement_strategy: "launch", # accepts launch
|
50816
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
50817
|
+
# termination_delay: 1,
|
50790
50818
|
# },
|
50791
50819
|
# },
|
50792
50820
|
# client_token: "String",
|
@@ -56126,29 +56154,39 @@ module Aws::EC2
|
|
56126
56154
|
# data as a hash:
|
56127
56155
|
#
|
56128
56156
|
# {
|
56129
|
-
# replacement_strategy: "launch", # accepts launch
|
56157
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
56158
|
+
# termination_delay: 1,
|
56130
56159
|
# }
|
56131
56160
|
#
|
56132
56161
|
# @!attribute [rw] replacement_strategy
|
56133
56162
|
# The replacement strategy to use. Only available for fleets of type
|
56134
|
-
# `maintain`.
|
56135
|
-
#
|
56136
|
-
# To allow Spot Fleet to launch a replacement Spot Instance when an
|
56137
|
-
# instance rebalance notification is emitted for a Spot Instance in
|
56138
|
-
# the fleet, specify `launch`.
|
56163
|
+
# `maintain`.
|
56139
56164
|
#
|
56140
|
-
#
|
56141
|
-
# rebalance is
|
56142
|
-
#
|
56165
|
+
# `launch` - Spot Fleet launches a new replacement Spot Instance when
|
56166
|
+
# a rebalance notification is emitted for an existing Spot Instance in
|
56167
|
+
# the fleet. Spot Fleet does not terminate the instances that receive
|
56168
|
+
# a rebalance notification. You can terminate the old instances, or
|
56169
|
+
# you can leave them running. You are charged for all instances while
|
56143
56170
|
# they are running.
|
56144
56171
|
#
|
56145
|
-
#
|
56172
|
+
# `launch-before-terminate` - Spot Fleet launches a new replacement
|
56173
|
+
# Spot Instance when a rebalance notification is emitted for an
|
56174
|
+
# existing Spot Instance in the fleet, and then, after a delay that
|
56175
|
+
# you specify (in `TerminationDelay`), terminates the instances that
|
56176
|
+
# received a rebalance notification.
|
56146
56177
|
# @return [String]
|
56147
56178
|
#
|
56179
|
+
# @!attribute [rw] termination_delay
|
56180
|
+
# The amount of time (in seconds) that Amazon EC2 waits before
|
56181
|
+
# terminating the old Spot Instance after launching a new replacement
|
56182
|
+
# Spot Instance.
|
56183
|
+
# @return [Integer]
|
56184
|
+
#
|
56148
56185
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotCapacityRebalance AWS API Documentation
|
56149
56186
|
#
|
56150
56187
|
class SpotCapacityRebalance < Struct.new(
|
56151
|
-
:replacement_strategy
|
56188
|
+
:replacement_strategy,
|
56189
|
+
:termination_delay)
|
56152
56190
|
SENSITIVE = []
|
56153
56191
|
include Aws::Structure
|
56154
56192
|
end
|
@@ -56577,7 +56615,8 @@ module Aws::EC2
|
|
56577
56615
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
56578
56616
|
# spot_maintenance_strategies: {
|
56579
56617
|
# capacity_rebalance: {
|
56580
|
-
# replacement_strategy: "launch", # accepts launch
|
56618
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
56619
|
+
# termination_delay: 1,
|
56581
56620
|
# },
|
56582
56621
|
# },
|
56583
56622
|
# client_token: "String",
|
@@ -57339,7 +57378,8 @@ module Aws::EC2
|
|
57339
57378
|
#
|
57340
57379
|
# {
|
57341
57380
|
# capacity_rebalance: {
|
57342
|
-
# replacement_strategy: "launch", # accepts launch
|
57381
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
57382
|
+
# termination_delay: 1,
|
57343
57383
|
# },
|
57344
57384
|
# }
|
57345
57385
|
#
|
@@ -57522,7 +57562,8 @@ module Aws::EC2
|
|
57522
57562
|
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
|
57523
57563
|
# maintenance_strategies: {
|
57524
57564
|
# capacity_rebalance: {
|
57525
|
-
# replacement_strategy: "launch", # accepts launch
|
57565
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
57566
|
+
# termination_delay: 1,
|
57526
57567
|
# },
|
57527
57568
|
# },
|
57528
57569
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.278.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.122.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.122.0
|
47
47
|
description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
|
48
48
|
This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|