aws-sdk-ec2 1.275.0 → 1.279.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +37 -12
- data/lib/aws-sdk-ec2/client_api.rb +10 -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/route.rb +7 -0
- data/lib/aws-sdk-ec2/route_table.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +102 -47
- 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: aaaff48ec68842298d000a699378df99659741777bed1e30ffc5b54927b39399
|
4
|
+
data.tar.gz: de3ba80f9cbc25b79c397109d51fa8b7220f6dc5f11fc48c0325659b73be52c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7efb859124f66cfd9c2a777c403c3fa4bbd4982df317b0e22b18adb47000d9c687b419269075d98e776fe7268ac033d1d3529d49a7be1e717646f3b54bc88a5
|
7
|
+
data.tar.gz: 877b1e3add4eb161b31c02c0fd07216079ea00aaa5bda48b9d38bee746dcb9f3ca4e1f5be9484f4e9636779b63e1154839d8f4f430fea0e1b26ca933a5d97466
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.279.0 (2021-11-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release provides an additional route target for the VPC route table.
|
8
|
+
|
9
|
+
1.278.0 (2021-11-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds internal validation on the GatewayAssociationState field
|
13
|
+
|
14
|
+
1.277.0 (2021-11-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - DescribeInstances now returns customer-owned IP addresses for instances running on an AWS Outpost.
|
18
|
+
|
19
|
+
1.276.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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
|
23
|
+
|
4
24
|
1.275.0 (2021-10-29)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.279.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
|
@@ -8757,6 +8767,8 @@ module Aws::EC2
|
|
8757
8767
|
# @option params [String] :vpc_peering_connection_id
|
8758
8768
|
# The ID of a VPC peering connection.
|
8759
8769
|
#
|
8770
|
+
# @option params [String] :core_network_arn
|
8771
|
+
#
|
8760
8772
|
# @return [Types::CreateRouteResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8761
8773
|
#
|
8762
8774
|
# * {Types::CreateRouteResult#return #return} => Boolean
|
@@ -8791,6 +8803,7 @@ module Aws::EC2
|
|
8791
8803
|
# network_interface_id: "NetworkInterfaceId",
|
8792
8804
|
# route_table_id: "RouteTableId", # required
|
8793
8805
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
8806
|
+
# core_network_arn: "CoreNetworkArn",
|
8794
8807
|
# })
|
8795
8808
|
#
|
8796
8809
|
# @example Response structure
|
@@ -8909,6 +8922,7 @@ module Aws::EC2
|
|
8909
8922
|
# resp.route_table.routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
|
8910
8923
|
# resp.route_table.routes[0].state #=> String, one of "active", "blackhole"
|
8911
8924
|
# resp.route_table.routes[0].vpc_peering_connection_id #=> String
|
8925
|
+
# resp.route_table.routes[0].core_network_arn #=> String
|
8912
8926
|
# resp.route_table.tags #=> Array
|
8913
8927
|
# resp.route_table.tags[0].key #=> String
|
8914
8928
|
# resp.route_table.tags[0].value #=> String
|
@@ -12060,7 +12074,7 @@ module Aws::EC2
|
|
12060
12074
|
# resp.vpn_connection.transit_gateway_id #=> String
|
12061
12075
|
# resp.vpn_connection.core_network_arn #=> String
|
12062
12076
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
12063
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
12077
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
12064
12078
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
12065
12079
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
12066
12080
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -17715,7 +17729,8 @@ module Aws::EC2
|
|
17715
17729
|
# resp.fleets[0].valid_until #=> Time
|
17716
17730
|
# resp.fleets[0].replace_unhealthy_instances #=> Boolean
|
17717
17731
|
# 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"
|
17732
|
+
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
|
17733
|
+
# resp.fleets[0].spot_options.maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
|
17719
17734
|
# resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
|
17720
17735
|
# resp.fleets[0].spot_options.instance_pools_to_use_count #=> Integer
|
17721
17736
|
# resp.fleets[0].spot_options.single_instance_type #=> Boolean
|
@@ -20634,6 +20649,7 @@ module Aws::EC2
|
|
20634
20649
|
# resp.reservations[0].instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
|
20635
20650
|
# resp.reservations[0].instances[0].network_interfaces #=> Array
|
20636
20651
|
# resp.reservations[0].instances[0].network_interfaces[0].association.carrier_ip #=> String
|
20652
|
+
# resp.reservations[0].instances[0].network_interfaces[0].association.customer_owned_ip #=> String
|
20637
20653
|
# resp.reservations[0].instances[0].network_interfaces[0].association.ip_owner_id #=> String
|
20638
20654
|
# resp.reservations[0].instances[0].network_interfaces[0].association.public_dns_name #=> String
|
20639
20655
|
# resp.reservations[0].instances[0].network_interfaces[0].association.public_ip #=> String
|
@@ -20656,6 +20672,7 @@ module Aws::EC2
|
|
20656
20672
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_address #=> String
|
20657
20673
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses #=> Array
|
20658
20674
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
|
20675
|
+
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.customer_owned_ip #=> String
|
20659
20676
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
|
20660
20677
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
|
20661
20678
|
# resp.reservations[0].instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
|
@@ -24563,6 +24580,7 @@ module Aws::EC2
|
|
24563
24580
|
# resp.route_tables[0].routes[0].origin #=> String, one of "CreateRouteTable", "CreateRoute", "EnableVgwRoutePropagation"
|
24564
24581
|
# resp.route_tables[0].routes[0].state #=> String, one of "active", "blackhole"
|
24565
24582
|
# resp.route_tables[0].routes[0].vpc_peering_connection_id #=> String
|
24583
|
+
# resp.route_tables[0].routes[0].core_network_arn #=> String
|
24566
24584
|
# resp.route_tables[0].tags #=> Array
|
24567
24585
|
# resp.route_tables[0].tags[0].key #=> String
|
24568
24586
|
# resp.route_tables[0].tags[0].value #=> String
|
@@ -25994,7 +26012,8 @@ module Aws::EC2
|
|
25994
26012
|
# resp.spot_fleet_request_configs[0].create_time #=> Time
|
25995
26013
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified", "capacityOptimized", "capacityOptimizedPrioritized"
|
25996
26014
|
# 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"
|
26015
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.replacement_strategy #=> String, one of "launch", "launch-before-terminate"
|
26016
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_maintenance_strategies.capacity_rebalance.termination_delay #=> Integer
|
25998
26017
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.client_token #=> String
|
25999
26018
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.excess_capacity_termination_policy #=> String, one of "noTermination", "default"
|
26000
26019
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.fulfilled_capacity #=> Float
|
@@ -30024,7 +30043,7 @@ module Aws::EC2
|
|
30024
30043
|
# resp.vpn_connections[0].transit_gateway_id #=> String
|
30025
30044
|
# resp.vpn_connections[0].core_network_arn #=> String
|
30026
30045
|
# resp.vpn_connections[0].core_network_attachment_arn #=> String
|
30027
|
-
# resp.vpn_connections[0].gateway_association_state #=> String
|
30046
|
+
# resp.vpn_connections[0].gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
30028
30047
|
# resp.vpn_connections[0].options.enable_acceleration #=> Boolean
|
30029
30048
|
# resp.vpn_connections[0].options.static_routes_only #=> Boolean
|
30030
30049
|
# resp.vpn_connections[0].options.local_ipv_4_network_cidr #=> String
|
@@ -38784,7 +38803,7 @@ module Aws::EC2
|
|
38784
38803
|
# resp.vpn_connection.transit_gateway_id #=> String
|
38785
38804
|
# resp.vpn_connection.core_network_arn #=> String
|
38786
38805
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
38787
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
38806
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
38788
38807
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
38789
38808
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
38790
38809
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -38908,7 +38927,7 @@ module Aws::EC2
|
|
38908
38927
|
# resp.vpn_connection.transit_gateway_id #=> String
|
38909
38928
|
# resp.vpn_connection.core_network_arn #=> String
|
38910
38929
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
38911
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
38930
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
38912
38931
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
38913
38932
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
38914
38933
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -39005,7 +39024,7 @@ module Aws::EC2
|
|
39005
39024
|
# resp.vpn_connection.transit_gateway_id #=> String
|
39006
39025
|
# resp.vpn_connection.core_network_arn #=> String
|
39007
39026
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
39008
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
39027
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
39009
39028
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
39010
39029
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
39011
39030
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -39162,7 +39181,7 @@ module Aws::EC2
|
|
39162
39181
|
# resp.vpn_connection.transit_gateway_id #=> String
|
39163
39182
|
# resp.vpn_connection.core_network_arn #=> String
|
39164
39183
|
# resp.vpn_connection.core_network_attachment_arn #=> String
|
39165
|
-
# resp.vpn_connection.gateway_association_state #=> String
|
39184
|
+
# resp.vpn_connection.gateway_association_state #=> String, one of "associated", "not-associated", "associating", "disassociating"
|
39166
39185
|
# resp.vpn_connection.options.enable_acceleration #=> Boolean
|
39167
39186
|
# resp.vpn_connection.options.static_routes_only #=> Boolean
|
39168
39187
|
# resp.vpn_connection.options.local_ipv_4_network_cidr #=> String
|
@@ -39378,7 +39397,7 @@ module Aws::EC2
|
|
39378
39397
|
# The tags to apply to the address pool.
|
39379
39398
|
#
|
39380
39399
|
# @option params [Boolean] :multi_region
|
39381
|
-
#
|
39400
|
+
# Reserved.
|
39382
39401
|
#
|
39383
39402
|
# @return [Types::ProvisionByoipCidrResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
39384
39403
|
#
|
@@ -40794,6 +40813,8 @@ module Aws::EC2
|
|
40794
40813
|
# @option params [String] :vpc_peering_connection_id
|
40795
40814
|
# The ID of a VPC peering connection.
|
40796
40815
|
#
|
40816
|
+
# @option params [String] :core_network_arn
|
40817
|
+
#
|
40797
40818
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
40798
40819
|
#
|
40799
40820
|
#
|
@@ -40827,6 +40848,7 @@ module Aws::EC2
|
|
40827
40848
|
# network_interface_id: "NetworkInterfaceId",
|
40828
40849
|
# route_table_id: "RouteTableId", # required
|
40829
40850
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
40851
|
+
# core_network_arn: "CoreNetworkArn",
|
40830
40852
|
# })
|
40831
40853
|
#
|
40832
40854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute AWS API Documentation
|
@@ -41252,7 +41274,8 @@ module Aws::EC2
|
|
41252
41274
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
41253
41275
|
# spot_maintenance_strategies: {
|
41254
41276
|
# capacity_rebalance: {
|
41255
|
-
# replacement_strategy: "launch", # accepts launch
|
41277
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
41278
|
+
# termination_delay: 1,
|
41256
41279
|
# },
|
41257
41280
|
# },
|
41258
41281
|
# client_token: "String",
|
@@ -43411,6 +43434,7 @@ module Aws::EC2
|
|
43411
43434
|
# resp.instances[0].elastic_inference_accelerator_associations[0].elastic_inference_accelerator_association_time #=> Time
|
43412
43435
|
# resp.instances[0].network_interfaces #=> Array
|
43413
43436
|
# resp.instances[0].network_interfaces[0].association.carrier_ip #=> String
|
43437
|
+
# resp.instances[0].network_interfaces[0].association.customer_owned_ip #=> String
|
43414
43438
|
# resp.instances[0].network_interfaces[0].association.ip_owner_id #=> String
|
43415
43439
|
# resp.instances[0].network_interfaces[0].association.public_dns_name #=> String
|
43416
43440
|
# resp.instances[0].network_interfaces[0].association.public_ip #=> String
|
@@ -43433,6 +43457,7 @@ module Aws::EC2
|
|
43433
43457
|
# resp.instances[0].network_interfaces[0].private_ip_address #=> String
|
43434
43458
|
# resp.instances[0].network_interfaces[0].private_ip_addresses #=> Array
|
43435
43459
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.carrier_ip #=> String
|
43460
|
+
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.customer_owned_ip #=> String
|
43436
43461
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.ip_owner_id #=> String
|
43437
43462
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_dns_name #=> String
|
43438
43463
|
# resp.instances[0].network_interfaces[0].private_ip_addresses[0].association.public_ip #=> String
|
@@ -45211,7 +45236,7 @@ module Aws::EC2
|
|
45211
45236
|
params: params,
|
45212
45237
|
config: config)
|
45213
45238
|
context[:gem_name] = 'aws-sdk-ec2'
|
45214
|
-
context[:gem_version] = '1.
|
45239
|
+
context[:gem_version] = '1.279.0'
|
45215
45240
|
Seahorse::Client::Request.new(handlers, context)
|
45216
45241
|
end
|
45217
45242
|
|
@@ -319,6 +319,7 @@ module Aws::EC2
|
|
319
319
|
CopyTagsFromSource = Shapes::StringShape.new(name: 'CopyTagsFromSource')
|
320
320
|
CoreCount = Shapes::IntegerShape.new(name: 'CoreCount')
|
321
321
|
CoreCountList = Shapes::ListShape.new(name: 'CoreCountList')
|
322
|
+
CoreNetworkArn = Shapes::StringShape.new(name: 'CoreNetworkArn')
|
322
323
|
CpuManufacturer = Shapes::StringShape.new(name: 'CpuManufacturer')
|
323
324
|
CpuManufacturerSet = Shapes::ListShape.new(name: 'CpuManufacturerSet')
|
324
325
|
CpuOptions = Shapes::StructureShape.new(name: 'CpuOptions')
|
@@ -1132,6 +1133,7 @@ module Aws::EC2
|
|
1132
1133
|
FpgaInfo = Shapes::StructureShape.new(name: 'FpgaInfo')
|
1133
1134
|
FreeTierEligibleFlag = Shapes::BooleanShape.new(name: 'FreeTierEligibleFlag')
|
1134
1135
|
GVCDMaxResults = Shapes::IntegerShape.new(name: 'GVCDMaxResults')
|
1136
|
+
GatewayAssociationState = Shapes::StringShape.new(name: 'GatewayAssociationState')
|
1135
1137
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
1136
1138
|
GetAssociatedEnclaveCertificateIamRolesRequest = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesRequest')
|
1137
1139
|
GetAssociatedEnclaveCertificateIamRolesResult = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesResult')
|
@@ -3932,6 +3934,7 @@ module Aws::EC2
|
|
3932
3934
|
CreateRouteRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "networkInterfaceId"))
|
3933
3935
|
CreateRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
3934
3936
|
CreateRouteRequest.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: VpcPeeringConnectionId, location_name: "vpcPeeringConnectionId"))
|
3937
|
+
CreateRouteRequest.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "CoreNetworkArn"))
|
3935
3938
|
CreateRouteRequest.struct_class = Types::CreateRouteRequest
|
3936
3939
|
|
3937
3940
|
CreateRouteResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -6843,9 +6846,11 @@ module Aws::EC2
|
|
6843
6846
|
FleetSet.member = Shapes::ShapeRef.new(shape: FleetData, location_name: "item")
|
6844
6847
|
|
6845
6848
|
FleetSpotCapacityRebalance.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: FleetReplacementStrategy, location_name: "replacementStrategy"))
|
6849
|
+
FleetSpotCapacityRebalance.add_member(:termination_delay, Shapes::ShapeRef.new(shape: Integer, location_name: "terminationDelay"))
|
6846
6850
|
FleetSpotCapacityRebalance.struct_class = Types::FleetSpotCapacityRebalance
|
6847
6851
|
|
6848
6852
|
FleetSpotCapacityRebalanceRequest.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: FleetReplacementStrategy, location_name: "ReplacementStrategy"))
|
6853
|
+
FleetSpotCapacityRebalanceRequest.add_member(:termination_delay, Shapes::ShapeRef.new(shape: Integer, location_name: "TerminationDelay"))
|
6849
6854
|
FleetSpotCapacityRebalanceRequest.struct_class = Types::FleetSpotCapacityRebalanceRequest
|
6850
6855
|
|
6851
6856
|
FleetSpotMaintenanceStrategies.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: FleetSpotCapacityRebalance, location_name: "capacityRebalance"))
|
@@ -7842,6 +7847,7 @@ module Aws::EC2
|
|
7842
7847
|
InstanceNetworkInterface.struct_class = Types::InstanceNetworkInterface
|
7843
7848
|
|
7844
7849
|
InstanceNetworkInterfaceAssociation.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
7850
|
+
InstanceNetworkInterfaceAssociation.add_member(:customer_owned_ip, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIp"))
|
7845
7851
|
InstanceNetworkInterfaceAssociation.add_member(:ip_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ipOwnerId"))
|
7846
7852
|
InstanceNetworkInterfaceAssociation.add_member(:public_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicDnsName"))
|
7847
7853
|
InstanceNetworkInterfaceAssociation.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
@@ -9924,6 +9930,7 @@ module Aws::EC2
|
|
9924
9930
|
ReplaceRouteRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "networkInterfaceId"))
|
9925
9931
|
ReplaceRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
9926
9932
|
ReplaceRouteRequest.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: VpcPeeringConnectionId, location_name: "vpcPeeringConnectionId"))
|
9933
|
+
ReplaceRouteRequest.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "CoreNetworkArn"))
|
9927
9934
|
ReplaceRouteRequest.struct_class = Types::ReplaceRouteRequest
|
9928
9935
|
|
9929
9936
|
ReplaceRouteTableAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: RouteTableAssociationId, required: true, location_name: "associationId"))
|
@@ -10331,6 +10338,7 @@ module Aws::EC2
|
|
10331
10338
|
Route.add_member(:origin, Shapes::ShapeRef.new(shape: RouteOrigin, location_name: "origin"))
|
10332
10339
|
Route.add_member(:state, Shapes::ShapeRef.new(shape: RouteState, location_name: "state"))
|
10333
10340
|
Route.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
10341
|
+
Route.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "coreNetworkArn"))
|
10334
10342
|
Route.struct_class = Types::Route
|
10335
10343
|
|
10336
10344
|
RouteList.member = Shapes::ShapeRef.new(shape: Route, location_name: "item")
|
@@ -10770,6 +10778,7 @@ module Aws::EC2
|
|
10770
10778
|
SnapshotTaskDetail.struct_class = Types::SnapshotTaskDetail
|
10771
10779
|
|
10772
10780
|
SpotCapacityRebalance.add_member(:replacement_strategy, Shapes::ShapeRef.new(shape: ReplacementStrategy, location_name: "replacementStrategy"))
|
10781
|
+
SpotCapacityRebalance.add_member(:termination_delay, Shapes::ShapeRef.new(shape: Integer, location_name: "terminationDelay"))
|
10773
10782
|
SpotCapacityRebalance.struct_class = Types::SpotCapacityRebalance
|
10774
10783
|
|
10775
10784
|
SpotDatafeedSubscription.add_member(:bucket, Shapes::ShapeRef.new(shape: String, location_name: "bucket"))
|
@@ -11937,7 +11946,7 @@ module Aws::EC2
|
|
11937
11946
|
VpnConnection.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
|
11938
11947
|
VpnConnection.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: String, location_name: "coreNetworkArn"))
|
11939
11948
|
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:
|
11949
|
+
VpnConnection.add_member(:gateway_association_state, Shapes::ShapeRef.new(shape: GatewayAssociationState, location_name: "gatewayAssociationState"))
|
11941
11950
|
VpnConnection.add_member(:options, Shapes::ShapeRef.new(shape: VpnConnectionOptions, location_name: "options"))
|
11942
11951
|
VpnConnection.add_member(:routes, Shapes::ShapeRef.new(shape: VpnStaticRouteList, location_name: "routes"))
|
11943
11952
|
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/route.rb
CHANGED
@@ -137,6 +137,11 @@ module Aws::EC2
|
|
137
137
|
data[:vpc_peering_connection_id]
|
138
138
|
end
|
139
139
|
|
140
|
+
# @return [String]
|
141
|
+
def core_network_arn
|
142
|
+
data[:core_network_arn]
|
143
|
+
end
|
144
|
+
|
140
145
|
# @!endgroup
|
141
146
|
|
142
147
|
# @return [Client]
|
@@ -311,6 +316,7 @@ module Aws::EC2
|
|
311
316
|
# carrier_gateway_id: "CarrierGatewayId",
|
312
317
|
# network_interface_id: "NetworkInterfaceId",
|
313
318
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
319
|
+
# core_network_arn: "CoreNetworkArn",
|
314
320
|
# })
|
315
321
|
# @param [Hash] options ({})
|
316
322
|
# @option options [String] :destination_ipv_6_cidr_block
|
@@ -348,6 +354,7 @@ module Aws::EC2
|
|
348
354
|
# The ID of a network interface.
|
349
355
|
# @option options [String] :vpc_peering_connection_id
|
350
356
|
# The ID of a VPC peering connection.
|
357
|
+
# @option options [String] :core_network_arn
|
351
358
|
# @return [EmptyStructure]
|
352
359
|
def replace(options = {})
|
353
360
|
options = options.merge(
|
@@ -237,6 +237,7 @@ module Aws::EC2
|
|
237
237
|
# carrier_gateway_id: "CarrierGatewayId",
|
238
238
|
# network_interface_id: "NetworkInterfaceId",
|
239
239
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
240
|
+
# core_network_arn: "CoreNetworkArn",
|
240
241
|
# })
|
241
242
|
# @param [Hash] options ({})
|
242
243
|
# @option options [String] :destination_cidr_block
|
@@ -281,6 +282,7 @@ module Aws::EC2
|
|
281
282
|
# The ID of a network interface.
|
282
283
|
# @option options [String] :vpc_peering_connection_id
|
283
284
|
# The ID of a VPC peering connection.
|
285
|
+
# @option options [String] :core_network_arn
|
284
286
|
# @return [Route]
|
285
287
|
def create_route(options = {})
|
286
288
|
options = options.merge(route_table_id: @id)
|
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
|
@@ -9953,6 +9954,7 @@ module Aws::EC2
|
|
9953
9954
|
# network_interface_id: "NetworkInterfaceId",
|
9954
9955
|
# route_table_id: "RouteTableId", # required
|
9955
9956
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
9957
|
+
# core_network_arn: "CoreNetworkArn",
|
9956
9958
|
# }
|
9957
9959
|
#
|
9958
9960
|
# @!attribute [rw] destination_cidr_block
|
@@ -10029,6 +10031,9 @@ module Aws::EC2
|
|
10029
10031
|
# The ID of a VPC peering connection.
|
10030
10032
|
# @return [String]
|
10031
10033
|
#
|
10034
|
+
# @!attribute [rw] core_network_arn
|
10035
|
+
# @return [String]
|
10036
|
+
#
|
10032
10037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteRequest AWS API Documentation
|
10033
10038
|
#
|
10034
10039
|
class CreateRouteRequest < Struct.new(
|
@@ -10046,7 +10051,8 @@ module Aws::EC2
|
|
10046
10051
|
:carrier_gateway_id,
|
10047
10052
|
:network_interface_id,
|
10048
10053
|
:route_table_id,
|
10049
|
-
:vpc_peering_connection_id
|
10054
|
+
:vpc_peering_connection_id,
|
10055
|
+
:core_network_arn)
|
10050
10056
|
SENSITIVE = []
|
10051
10057
|
include Aws::Structure
|
10052
10058
|
end
|
@@ -31540,31 +31546,42 @@ module Aws::EC2
|
|
31540
31546
|
# Instance is at an elevated risk of being interrupted.
|
31541
31547
|
#
|
31542
31548
|
# @!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.
|
31549
|
+
# The replacement strategy to use. Only available for fleets of type
|
31550
|
+
# `maintain`.
|
31552
31551
|
#
|
31553
|
-
#
|
31552
|
+
# `launch` - EC2 Fleet launches a new replacement Spot Instance when a
|
31553
|
+
# rebalance notification is emitted for an existing Spot Instance in
|
31554
|
+
# the fleet. EC2 Fleet does not terminate the instances that receive a
|
31555
|
+
# rebalance notification. You can terminate the old instances, or you
|
31556
|
+
# can leave them running. You are charged for all instances while they
|
31557
|
+
# are running.
|
31558
|
+
#
|
31559
|
+
# `launch-before-terminate` - EC2 Fleet launches a new replacement
|
31560
|
+
# Spot Instance when a rebalance notification is emitted for an
|
31561
|
+
# existing Spot Instance in the fleet, and then, after a delay that
|
31562
|
+
# you specify (in `TerminationDelay`), terminates the instances that
|
31563
|
+
# received a rebalance notification.
|
31554
31564
|
# @return [String]
|
31555
31565
|
#
|
31566
|
+
# @!attribute [rw] termination_delay
|
31567
|
+
# The amount of time (in seconds) that Amazon EC2 waits before
|
31568
|
+
# terminating the old Spot Instance after launching a new replacement
|
31569
|
+
# Spot Instance.
|
31570
|
+
# @return [Integer]
|
31571
|
+
#
|
31556
31572
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalance AWS API Documentation
|
31557
31573
|
#
|
31558
31574
|
class FleetSpotCapacityRebalance < Struct.new(
|
31559
|
-
:replacement_strategy
|
31575
|
+
:replacement_strategy,
|
31576
|
+
:termination_delay)
|
31560
31577
|
SENSITIVE = []
|
31561
31578
|
include Aws::Structure
|
31562
31579
|
end
|
31563
31580
|
|
31564
31581
|
# 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*.
|
31582
|
+
# rebalance notification signal that your Spot Instance is at an
|
31583
|
+
# elevated risk of being interrupted. For more information, see
|
31584
|
+
# [Capacity rebalancing][1] in the *Amazon EC2 User Guide*.
|
31568
31585
|
#
|
31569
31586
|
#
|
31570
31587
|
#
|
@@ -31574,30 +31591,39 @@ module Aws::EC2
|
|
31574
31591
|
# data as a hash:
|
31575
31592
|
#
|
31576
31593
|
# {
|
31577
|
-
# replacement_strategy: "launch", # accepts launch
|
31594
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
31595
|
+
# termination_delay: 1,
|
31578
31596
|
# }
|
31579
31597
|
#
|
31580
31598
|
# @!attribute [rw] replacement_strategy
|
31581
31599
|
# The replacement strategy to use. Only available for fleets of type
|
31582
31600
|
# `maintain`.
|
31583
31601
|
#
|
31584
|
-
#
|
31585
|
-
#
|
31586
|
-
#
|
31587
|
-
#
|
31588
|
-
#
|
31589
|
-
#
|
31590
|
-
# rebalance is not automatically terminated. You can terminate it, or
|
31591
|
-
# you can leave it running. You are charged for all instances while
|
31592
|
-
# they are running.
|
31602
|
+
# `launch` - EC2 Fleet launches a replacement Spot Instance when a
|
31603
|
+
# rebalance notification is emitted for an existing Spot Instance in
|
31604
|
+
# the fleet. EC2 Fleet does not terminate the instances that receive a
|
31605
|
+
# rebalance notification. You can terminate the old instances, or you
|
31606
|
+
# can leave them running. You are charged for all instances while they
|
31607
|
+
# are running.
|
31593
31608
|
#
|
31594
|
-
#
|
31609
|
+
# `launch-before-terminate` - EC2 Fleet launches a replacement Spot
|
31610
|
+
# Instance when a rebalance notification is emitted for an existing
|
31611
|
+
# Spot Instance in the fleet, and then, after a delay that you specify
|
31612
|
+
# (in `TerminationDelay`), terminates the instances that received a
|
31613
|
+
# rebalance notification.
|
31595
31614
|
# @return [String]
|
31596
31615
|
#
|
31616
|
+
# @!attribute [rw] termination_delay
|
31617
|
+
# The amount of time (in seconds) that Amazon EC2 waits before
|
31618
|
+
# terminating the old Spot Instance after launching a new replacement
|
31619
|
+
# Spot Instance.
|
31620
|
+
# @return [Integer]
|
31621
|
+
#
|
31597
31622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalanceRequest AWS API Documentation
|
31598
31623
|
#
|
31599
31624
|
class FleetSpotCapacityRebalanceRequest < Struct.new(
|
31600
|
-
:replacement_strategy
|
31625
|
+
:replacement_strategy,
|
31626
|
+
:termination_delay)
|
31601
31627
|
SENSITIVE = []
|
31602
31628
|
include Aws::Structure
|
31603
31629
|
end
|
@@ -31626,7 +31652,8 @@ module Aws::EC2
|
|
31626
31652
|
#
|
31627
31653
|
# {
|
31628
31654
|
# capacity_rebalance: {
|
31629
|
-
# replacement_strategy: "launch", # accepts launch
|
31655
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
31656
|
+
# termination_delay: 1,
|
31630
31657
|
# },
|
31631
31658
|
# }
|
31632
31659
|
#
|
@@ -37310,6 +37337,10 @@ module Aws::EC2
|
|
37310
37337
|
# The carrier IP address associated with the network interface.
|
37311
37338
|
# @return [String]
|
37312
37339
|
#
|
37340
|
+
# @!attribute [rw] customer_owned_ip
|
37341
|
+
# The customer-owned IP address associated with the network interface.
|
37342
|
+
# @return [String]
|
37343
|
+
#
|
37313
37344
|
# @!attribute [rw] ip_owner_id
|
37314
37345
|
# The ID of the owner of the Elastic IP address.
|
37315
37346
|
# @return [String]
|
@@ -37327,6 +37358,7 @@ module Aws::EC2
|
|
37327
37358
|
#
|
37328
37359
|
class InstanceNetworkInterfaceAssociation < Struct.new(
|
37329
37360
|
:carrier_ip,
|
37361
|
+
:customer_owned_ip,
|
37330
37362
|
:ip_owner_id,
|
37331
37363
|
:public_dns_name,
|
37332
37364
|
:public_ip)
|
@@ -48414,7 +48446,7 @@ module Aws::EC2
|
|
48414
48446
|
# @return [Array<Types::TagSpecification>]
|
48415
48447
|
#
|
48416
48448
|
# @!attribute [rw] multi_region
|
48417
|
-
#
|
48449
|
+
# Reserved.
|
48418
48450
|
# @return [Boolean]
|
48419
48451
|
#
|
48420
48452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionByoipCidrRequest AWS API Documentation
|
@@ -50007,6 +50039,7 @@ module Aws::EC2
|
|
50007
50039
|
# network_interface_id: "NetworkInterfaceId",
|
50008
50040
|
# route_table_id: "RouteTableId", # required
|
50009
50041
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
50042
|
+
# core_network_arn: "CoreNetworkArn",
|
50010
50043
|
# }
|
50011
50044
|
#
|
50012
50045
|
# @!attribute [rw] destination_cidr_block
|
@@ -50082,6 +50115,9 @@ module Aws::EC2
|
|
50082
50115
|
# The ID of a VPC peering connection.
|
50083
50116
|
# @return [String]
|
50084
50117
|
#
|
50118
|
+
# @!attribute [rw] core_network_arn
|
50119
|
+
# @return [String]
|
50120
|
+
#
|
50085
50121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteRequest AWS API Documentation
|
50086
50122
|
#
|
50087
50123
|
class ReplaceRouteRequest < Struct.new(
|
@@ -50100,7 +50136,8 @@ module Aws::EC2
|
|
50100
50136
|
:carrier_gateway_id,
|
50101
50137
|
:network_interface_id,
|
50102
50138
|
:route_table_id,
|
50103
|
-
:vpc_peering_connection_id
|
50139
|
+
:vpc_peering_connection_id,
|
50140
|
+
:core_network_arn)
|
50104
50141
|
SENSITIVE = []
|
50105
50142
|
include Aws::Structure
|
50106
50143
|
end
|
@@ -50786,7 +50823,8 @@ module Aws::EC2
|
|
50786
50823
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
50787
50824
|
# spot_maintenance_strategies: {
|
50788
50825
|
# capacity_rebalance: {
|
50789
|
-
# replacement_strategy: "launch", # accepts launch
|
50826
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
50827
|
+
# termination_delay: 1,
|
50790
50828
|
# },
|
50791
50829
|
# },
|
50792
50830
|
# client_token: "String",
|
@@ -53155,6 +53193,9 @@ module Aws::EC2
|
|
53155
53193
|
# The ID of a VPC peering connection.
|
53156
53194
|
# @return [String]
|
53157
53195
|
#
|
53196
|
+
# @!attribute [rw] core_network_arn
|
53197
|
+
# @return [String]
|
53198
|
+
#
|
53158
53199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Route AWS API Documentation
|
53159
53200
|
#
|
53160
53201
|
class Route < Struct.new(
|
@@ -53172,7 +53213,8 @@ module Aws::EC2
|
|
53172
53213
|
:network_interface_id,
|
53173
53214
|
:origin,
|
53174
53215
|
:state,
|
53175
|
-
:vpc_peering_connection_id
|
53216
|
+
:vpc_peering_connection_id,
|
53217
|
+
:core_network_arn)
|
53176
53218
|
SENSITIVE = []
|
53177
53219
|
include Aws::Structure
|
53178
53220
|
end
|
@@ -56126,29 +56168,39 @@ module Aws::EC2
|
|
56126
56168
|
# data as a hash:
|
56127
56169
|
#
|
56128
56170
|
# {
|
56129
|
-
# replacement_strategy: "launch", # accepts launch
|
56171
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
56172
|
+
# termination_delay: 1,
|
56130
56173
|
# }
|
56131
56174
|
#
|
56132
56175
|
# @!attribute [rw] replacement_strategy
|
56133
56176
|
# 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`.
|
56177
|
+
# `maintain`.
|
56139
56178
|
#
|
56140
|
-
#
|
56141
|
-
# rebalance is
|
56142
|
-
#
|
56179
|
+
# `launch` - Spot Fleet launches a new replacement Spot Instance when
|
56180
|
+
# a rebalance notification is emitted for an existing Spot Instance in
|
56181
|
+
# the fleet. Spot Fleet does not terminate the instances that receive
|
56182
|
+
# a rebalance notification. You can terminate the old instances, or
|
56183
|
+
# you can leave them running. You are charged for all instances while
|
56143
56184
|
# they are running.
|
56144
56185
|
#
|
56145
|
-
#
|
56186
|
+
# `launch-before-terminate` - Spot Fleet launches a new replacement
|
56187
|
+
# Spot Instance when a rebalance notification is emitted for an
|
56188
|
+
# existing Spot Instance in the fleet, and then, after a delay that
|
56189
|
+
# you specify (in `TerminationDelay`), terminates the instances that
|
56190
|
+
# received a rebalance notification.
|
56146
56191
|
# @return [String]
|
56147
56192
|
#
|
56193
|
+
# @!attribute [rw] termination_delay
|
56194
|
+
# The amount of time (in seconds) that Amazon EC2 waits before
|
56195
|
+
# terminating the old Spot Instance after launching a new replacement
|
56196
|
+
# Spot Instance.
|
56197
|
+
# @return [Integer]
|
56198
|
+
#
|
56148
56199
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotCapacityRebalance AWS API Documentation
|
56149
56200
|
#
|
56150
56201
|
class SpotCapacityRebalance < Struct.new(
|
56151
|
-
:replacement_strategy
|
56202
|
+
:replacement_strategy,
|
56203
|
+
:termination_delay)
|
56152
56204
|
SENSITIVE = []
|
56153
56205
|
include Aws::Structure
|
56154
56206
|
end
|
@@ -56577,7 +56629,8 @@ module Aws::EC2
|
|
56577
56629
|
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
56578
56630
|
# spot_maintenance_strategies: {
|
56579
56631
|
# capacity_rebalance: {
|
56580
|
-
# replacement_strategy: "launch", # accepts launch
|
56632
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
56633
|
+
# termination_delay: 1,
|
56581
56634
|
# },
|
56582
56635
|
# },
|
56583
56636
|
# client_token: "String",
|
@@ -57339,7 +57392,8 @@ module Aws::EC2
|
|
57339
57392
|
#
|
57340
57393
|
# {
|
57341
57394
|
# capacity_rebalance: {
|
57342
|
-
# replacement_strategy: "launch", # accepts launch
|
57395
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
57396
|
+
# termination_delay: 1,
|
57343
57397
|
# },
|
57344
57398
|
# }
|
57345
57399
|
#
|
@@ -57522,7 +57576,8 @@ module Aws::EC2
|
|
57522
57576
|
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified, capacity-optimized, capacity-optimized-prioritized
|
57523
57577
|
# maintenance_strategies: {
|
57524
57578
|
# capacity_rebalance: {
|
57525
|
-
# replacement_strategy: "launch", # accepts launch
|
57579
|
+
# replacement_strategy: "launch", # accepts launch, launch-before-terminate
|
57580
|
+
# termination_delay: 1,
|
57526
57581
|
# },
|
57527
57582
|
# },
|
57528
57583
|
# 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.279.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-11 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:
|