aws-sdk-ec2 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +103 -25
- data/lib/aws-sdk-ec2/client_api.rb +45 -0
- data/lib/aws-sdk-ec2/image.rb +1 -2
- data/lib/aws-sdk-ec2/instance.rb +4 -5
- data/lib/aws-sdk-ec2/placement_group.rb +6 -6
- data/lib/aws-sdk-ec2/resource.rb +12 -13
- data/lib/aws-sdk-ec2/subnet.rb +6 -6
- data/lib/aws-sdk-ec2/types.rb +268 -48
- data/lib/aws-sdk-ec2/volume.rb +1 -2
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 427d51d23b85ec01d9b3add2baf2766895b74554
|
4
|
+
data.tar.gz: adbdc08dd3fe097be11419b04f7fc79418036f95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 076f8ad1cb43b2ce7f1e9e36a5cfbf83bcfde2c95756b000a8f5fcd6e22a2aea41be1edecff18396dd9766a32beff933fecf13a85de725d8e4049ddd26268554
|
7
|
+
data.tar.gz: e9242e4a7bc981d2f25e6841ac247fa0ae302127f5d4ecb66d051069f7487ca22cea31b85a22151c8dcb3c6cb2b21e00257c2a7176bc53449bcd029f7d9cbd39
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1166,8 +1166,7 @@ module Aws::EC2
|
|
1166
1166
|
# [4]: https://aws.amazon.com/marketplace/help/200900000
|
1167
1167
|
#
|
1168
1168
|
# @option params [required, String] :device
|
1169
|
-
# The device name
|
1170
|
-
# `xvdh`).
|
1169
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
1171
1170
|
#
|
1172
1171
|
# @option params [required, String] :instance_id
|
1173
1172
|
# The ID of the instance.
|
@@ -2521,6 +2520,65 @@ module Aws::EC2
|
|
2521
2520
|
req.send_request(options)
|
2522
2521
|
end
|
2523
2522
|
|
2523
|
+
# Creates a default subnet with a size `/20` IPv4 CIDR block in the
|
2524
|
+
# specified Availability Zone in your default VPC. You can have only one
|
2525
|
+
# default subnet per Availability Zone. For more information, see
|
2526
|
+
# [Creating a Default Subnet][1] in the *Amazon Virtual Private Cloud
|
2527
|
+
# User Guide*.
|
2528
|
+
#
|
2529
|
+
#
|
2530
|
+
#
|
2531
|
+
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html#create-default-subnet
|
2532
|
+
#
|
2533
|
+
# @option params [required, String] :availability_zone
|
2534
|
+
# The Availability Zone in which to create the default subnet.
|
2535
|
+
#
|
2536
|
+
# @option params [Boolean] :dry_run
|
2537
|
+
# Checks whether you have the required permissions for the action,
|
2538
|
+
# without actually making the request, and provides an error response.
|
2539
|
+
# If you have the required permissions, the error response is
|
2540
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2541
|
+
#
|
2542
|
+
# @return [Types::CreateDefaultSubnetResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2543
|
+
#
|
2544
|
+
# * {Types::CreateDefaultSubnetResult#subnet #subnet} => Types::Subnet
|
2545
|
+
#
|
2546
|
+
# @example Request syntax with placeholder values
|
2547
|
+
#
|
2548
|
+
# resp = client.create_default_subnet({
|
2549
|
+
# availability_zone: "String", # required
|
2550
|
+
# dry_run: false,
|
2551
|
+
# })
|
2552
|
+
#
|
2553
|
+
# @example Response structure
|
2554
|
+
#
|
2555
|
+
# resp.subnet.availability_zone #=> String
|
2556
|
+
# resp.subnet.available_ip_address_count #=> Integer
|
2557
|
+
# resp.subnet.cidr_block #=> String
|
2558
|
+
# resp.subnet.default_for_az #=> Boolean
|
2559
|
+
# resp.subnet.map_public_ip_on_launch #=> Boolean
|
2560
|
+
# resp.subnet.state #=> String, one of "pending", "available"
|
2561
|
+
# resp.subnet.subnet_id #=> String
|
2562
|
+
# resp.subnet.vpc_id #=> String
|
2563
|
+
# resp.subnet.assign_ipv_6_address_on_creation #=> Boolean
|
2564
|
+
# resp.subnet.ipv_6_cidr_block_association_set #=> Array
|
2565
|
+
# resp.subnet.ipv_6_cidr_block_association_set[0].association_id #=> String
|
2566
|
+
# resp.subnet.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String
|
2567
|
+
# resp.subnet.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.state #=> String, one of "associating", "associated", "disassociating", "disassociated", "failing", "failed"
|
2568
|
+
# resp.subnet.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block_state.status_message #=> String
|
2569
|
+
# resp.subnet.tags #=> Array
|
2570
|
+
# resp.subnet.tags[0].key #=> String
|
2571
|
+
# resp.subnet.tags[0].value #=> String
|
2572
|
+
#
|
2573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet AWS API Documentation
|
2574
|
+
#
|
2575
|
+
# @overload create_default_subnet(params = {})
|
2576
|
+
# @param [Hash] params ({})
|
2577
|
+
def create_default_subnet(params = {}, options = {})
|
2578
|
+
req = build_request(:create_default_subnet, params)
|
2579
|
+
req.send_request(options)
|
2580
|
+
end
|
2581
|
+
|
2524
2582
|
# Creates a default VPC with a size `/16` IPv4 CIDR block and a default
|
2525
2583
|
# subnet in each Availability Zone. For more information about the
|
2526
2584
|
# components of a default VPC, see [Default VPC and Default Subnets][1]
|
@@ -8426,8 +8484,8 @@ module Aws::EC2
|
|
8426
8484
|
# indicates whether the Amazon EBS volume is deleted on instance
|
8427
8485
|
# termination.
|
8428
8486
|
#
|
8429
|
-
# * `block-device-mapping.device-name` - The device name
|
8430
|
-
#
|
8487
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
8488
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
8431
8489
|
#
|
8432
8490
|
# * `block-device-mapping.snapshot-id` - The ID of the snapshot used for
|
8433
8491
|
# the EBS volume.
|
@@ -8475,7 +8533,7 @@ module Aws::EC2
|
|
8475
8533
|
#
|
8476
8534
|
# * `ramdisk-id` - The RAM disk ID.
|
8477
8535
|
#
|
8478
|
-
# * `root-device-name` - The name of the root device volume (for
|
8536
|
+
# * `root-device-name` - The device name of the root device volume (for
|
8479
8537
|
# example, `/dev/sda1`).
|
8480
8538
|
#
|
8481
8539
|
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
@@ -9089,8 +9147,8 @@ module Aws::EC2
|
|
9089
9147
|
# * `block-device-mapping.delete-on-termination` - A Boolean that
|
9090
9148
|
# indicates whether the EBS volume is deleted on instance termination.
|
9091
9149
|
#
|
9092
|
-
# * `block-device-mapping.device-name` - The device name
|
9093
|
-
#
|
9150
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
9151
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
9094
9152
|
#
|
9095
9153
|
# * `block-device-mapping.status` - The status for the EBS volume
|
9096
9154
|
# (`attaching` \| `attached` \| `detaching` \| `detached`).
|
@@ -9290,11 +9348,11 @@ module Aws::EC2
|
|
9290
9348
|
# you launch ten instances using the same launch request, you also get
|
9291
9349
|
# one reservation ID.
|
9292
9350
|
#
|
9293
|
-
# * `root-device-name` - The name of the root device for
|
9294
|
-
#
|
9351
|
+
# * `root-device-name` - The device name of the root device volume (for
|
9352
|
+
# example, `/dev/sda1`).
|
9295
9353
|
#
|
9296
|
-
# * `root-device-type` - The type of root device
|
9297
|
-
#
|
9354
|
+
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
9355
|
+
# `instance-store`).
|
9298
9356
|
#
|
9299
9357
|
# * `source-dest-check` - Indicates whether the instance performs
|
9300
9358
|
# source/destination checking. A value of `true` means that checking
|
@@ -12842,6 +12900,10 @@ module Aws::EC2
|
|
12842
12900
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.valid_until #=> Time
|
12843
12901
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.replace_unhealthy_instances #=> Boolean
|
12844
12902
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_interruption_behavior #=> String, one of "stop", "terminate"
|
12903
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.classic_load_balancers_config.classic_load_balancers #=> Array
|
12904
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.classic_load_balancers_config.classic_load_balancers[0].name #=> String
|
12905
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups #=> Array
|
12906
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
|
12845
12907
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_id #=> String
|
12846
12908
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_state #=> String, one of "submitted", "active", "cancelled", "failed", "cancelled_running", "cancelled_terminating", "modifying"
|
12847
12909
|
#
|
@@ -12893,21 +12955,22 @@ module Aws::EC2
|
|
12893
12955
|
# * `launch-group` - The Spot instance launch group.
|
12894
12956
|
#
|
12895
12957
|
# * `launch.block-device-mapping.delete-on-termination` - Indicates
|
12896
|
-
# whether the
|
12958
|
+
# whether the EBS volume is deleted on instance termination.
|
12897
12959
|
#
|
12898
12960
|
# * `launch.block-device-mapping.device-name` - The device name for the
|
12899
|
-
#
|
12961
|
+
# volume in the block device mapping (for example, `/dev/sdh` or
|
12962
|
+
# `xvdh`).
|
12900
12963
|
#
|
12901
12964
|
# * `launch.block-device-mapping.snapshot-id` - The ID of the snapshot
|
12902
|
-
#
|
12965
|
+
# for the EBS volume.
|
12903
12966
|
#
|
12904
|
-
# * `launch.block-device-mapping.volume-size` - The size of the
|
12905
|
-
#
|
12967
|
+
# * `launch.block-device-mapping.volume-size` - The size of the EBS
|
12968
|
+
# volume, in GiB.
|
12906
12969
|
#
|
12907
|
-
# * `launch.block-device-mapping.volume-type` - The type of
|
12908
|
-
#
|
12909
|
-
#
|
12910
|
-
#
|
12970
|
+
# * `launch.block-device-mapping.volume-type` - The type of EBS volume:
|
12971
|
+
# `gp2` for General Purpose SSD, `io1` for Provisioned IOPS SSD, `st1`
|
12972
|
+
# for Throughput Optimized HDD, `sc1`for Cold HDD, or `standard` for
|
12973
|
+
# Magnetic.
|
12911
12974
|
#
|
12912
12975
|
# * `launch.group-id` - The security group for the instance.
|
12913
12976
|
#
|
@@ -13976,8 +14039,8 @@ module Aws::EC2
|
|
13976
14039
|
# * `attachment.delete-on-termination` - Whether the volume is deleted
|
13977
14040
|
# on instance termination.
|
13978
14041
|
#
|
13979
|
-
# * `attachment.device` - The device name
|
13980
|
-
#
|
14042
|
+
# * `attachment.device` - The device name specified in the block device
|
14043
|
+
# mapping (for example, `/dev/sda1`).
|
13981
14044
|
#
|
13982
14045
|
# * `attachment.instance-id` - The ID of the instance the volume is
|
13983
14046
|
# attached to.
|
@@ -18668,8 +18731,7 @@ module Aws::EC2
|
|
18668
18731
|
# The ID of the RAM disk.
|
18669
18732
|
#
|
18670
18733
|
# @option params [String] :root_device_name
|
18671
|
-
# The name of the root device (for example, `/dev/sda1
|
18672
|
-
# `/dev/xvda`).
|
18734
|
+
# The device name of the root device volume (for example, `/dev/sda1`).
|
18673
18735
|
#
|
18674
18736
|
# @option params [String] :sriov_net_support
|
18675
18737
|
# Set to `simple` to enable enhanced networking with the Intel 82599
|
@@ -19629,6 +19691,22 @@ module Aws::EC2
|
|
19629
19691
|
# valid_until: Time.now,
|
19630
19692
|
# replace_unhealthy_instances: false,
|
19631
19693
|
# instance_interruption_behavior: "stop", # accepts stop, terminate
|
19694
|
+
# load_balancers_config: {
|
19695
|
+
# classic_load_balancers_config: {
|
19696
|
+
# classic_load_balancers: [ # required
|
19697
|
+
# {
|
19698
|
+
# name: "String", # required
|
19699
|
+
# },
|
19700
|
+
# ],
|
19701
|
+
# },
|
19702
|
+
# target_groups_config: {
|
19703
|
+
# target_groups: [ # required
|
19704
|
+
# {
|
19705
|
+
# arn: "String", # required
|
19706
|
+
# },
|
19707
|
+
# ],
|
19708
|
+
# },
|
19709
|
+
# },
|
19632
19710
|
# },
|
19633
19711
|
# })
|
19634
19712
|
#
|
@@ -21715,7 +21793,7 @@ module Aws::EC2
|
|
21715
21793
|
params: params,
|
21716
21794
|
config: config)
|
21717
21795
|
context[:gem_name] = 'aws-sdk-ec2'
|
21718
|
-
context[:gem_version] = '1.
|
21796
|
+
context[:gem_version] = '1.17.0'
|
21719
21797
|
Seahorse::Client::Request.new(handlers, context)
|
21720
21798
|
end
|
21721
21799
|
|
@@ -113,6 +113,9 @@ module Aws::EC2
|
|
113
113
|
ClassicLinkDnsSupportList = Shapes::ListShape.new(name: 'ClassicLinkDnsSupportList')
|
114
114
|
ClassicLinkInstance = Shapes::StructureShape.new(name: 'ClassicLinkInstance')
|
115
115
|
ClassicLinkInstanceList = Shapes::ListShape.new(name: 'ClassicLinkInstanceList')
|
116
|
+
ClassicLoadBalancer = Shapes::StructureShape.new(name: 'ClassicLoadBalancer')
|
117
|
+
ClassicLoadBalancers = Shapes::ListShape.new(name: 'ClassicLoadBalancers')
|
118
|
+
ClassicLoadBalancersConfig = Shapes::StructureShape.new(name: 'ClassicLoadBalancersConfig')
|
116
119
|
ClientData = Shapes::StructureShape.new(name: 'ClientData')
|
117
120
|
ConfirmProductInstanceRequest = Shapes::StructureShape.new(name: 'ConfirmProductInstanceRequest')
|
118
121
|
ConfirmProductInstanceResult = Shapes::StructureShape.new(name: 'ConfirmProductInstanceResult')
|
@@ -128,6 +131,8 @@ module Aws::EC2
|
|
128
131
|
CopySnapshotResult = Shapes::StructureShape.new(name: 'CopySnapshotResult')
|
129
132
|
CreateCustomerGatewayRequest = Shapes::StructureShape.new(name: 'CreateCustomerGatewayRequest')
|
130
133
|
CreateCustomerGatewayResult = Shapes::StructureShape.new(name: 'CreateCustomerGatewayResult')
|
134
|
+
CreateDefaultSubnetRequest = Shapes::StructureShape.new(name: 'CreateDefaultSubnetRequest')
|
135
|
+
CreateDefaultSubnetResult = Shapes::StructureShape.new(name: 'CreateDefaultSubnetResult')
|
131
136
|
CreateDefaultVpcRequest = Shapes::StructureShape.new(name: 'CreateDefaultVpcRequest')
|
132
137
|
CreateDefaultVpcResult = Shapes::StructureShape.new(name: 'CreateDefaultVpcResult')
|
133
138
|
CreateDhcpOptionsRequest = Shapes::StructureShape.new(name: 'CreateDhcpOptionsRequest')
|
@@ -589,6 +594,7 @@ module Aws::EC2
|
|
589
594
|
LaunchSpecsList = Shapes::ListShape.new(name: 'LaunchSpecsList')
|
590
595
|
ListingState = Shapes::StringShape.new(name: 'ListingState')
|
591
596
|
ListingStatus = Shapes::StringShape.new(name: 'ListingStatus')
|
597
|
+
LoadBalancersConfig = Shapes::StructureShape.new(name: 'LoadBalancersConfig')
|
592
598
|
LoadPermission = Shapes::StructureShape.new(name: 'LoadPermission')
|
593
599
|
LoadPermissionList = Shapes::ListShape.new(name: 'LoadPermissionList')
|
594
600
|
LoadPermissionListRequest = Shapes::ListShape.new(name: 'LoadPermissionListRequest')
|
@@ -905,6 +911,9 @@ module Aws::EC2
|
|
905
911
|
TargetConfiguration = Shapes::StructureShape.new(name: 'TargetConfiguration')
|
906
912
|
TargetConfigurationRequest = Shapes::StructureShape.new(name: 'TargetConfigurationRequest')
|
907
913
|
TargetConfigurationRequestSet = Shapes::ListShape.new(name: 'TargetConfigurationRequestSet')
|
914
|
+
TargetGroup = Shapes::StructureShape.new(name: 'TargetGroup')
|
915
|
+
TargetGroups = Shapes::ListShape.new(name: 'TargetGroups')
|
916
|
+
TargetGroupsConfig = Shapes::StructureShape.new(name: 'TargetGroupsConfig')
|
908
917
|
TargetReservationValue = Shapes::StructureShape.new(name: 'TargetReservationValue')
|
909
918
|
TargetReservationValueSet = Shapes::ListShape.new(name: 'TargetReservationValueSet')
|
910
919
|
TelemetryStatus = Shapes::StringShape.new(name: 'TelemetryStatus')
|
@@ -1356,6 +1365,14 @@ module Aws::EC2
|
|
1356
1365
|
|
1357
1366
|
ClassicLinkInstanceList.member = Shapes::ShapeRef.new(shape: ClassicLinkInstance, location_name: "item")
|
1358
1367
|
|
1368
|
+
ClassicLoadBalancer.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
1369
|
+
ClassicLoadBalancer.struct_class = Types::ClassicLoadBalancer
|
1370
|
+
|
1371
|
+
ClassicLoadBalancers.member = Shapes::ShapeRef.new(shape: ClassicLoadBalancer, location_name: "item")
|
1372
|
+
|
1373
|
+
ClassicLoadBalancersConfig.add_member(:classic_load_balancers, Shapes::ShapeRef.new(shape: ClassicLoadBalancers, required: true, location_name: "classicLoadBalancers"))
|
1374
|
+
ClassicLoadBalancersConfig.struct_class = Types::ClassicLoadBalancersConfig
|
1375
|
+
|
1359
1376
|
ClientData.add_member(:comment, Shapes::ShapeRef.new(shape: String, location_name: "Comment"))
|
1360
1377
|
ClientData.add_member(:upload_end, Shapes::ShapeRef.new(shape: DateTime, location_name: "UploadEnd"))
|
1361
1378
|
ClientData.add_member(:upload_size, Shapes::ShapeRef.new(shape: Double, location_name: "UploadSize"))
|
@@ -1428,6 +1445,13 @@ module Aws::EC2
|
|
1428
1445
|
CreateCustomerGatewayResult.add_member(:customer_gateway, Shapes::ShapeRef.new(shape: CustomerGateway, location_name: "customerGateway"))
|
1429
1446
|
CreateCustomerGatewayResult.struct_class = Types::CreateCustomerGatewayResult
|
1430
1447
|
|
1448
|
+
CreateDefaultSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AvailabilityZone"))
|
1449
|
+
CreateDefaultSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1450
|
+
CreateDefaultSubnetRequest.struct_class = Types::CreateDefaultSubnetRequest
|
1451
|
+
|
1452
|
+
CreateDefaultSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
1453
|
+
CreateDefaultSubnetResult.struct_class = Types::CreateDefaultSubnetResult
|
1454
|
+
|
1431
1455
|
CreateDefaultVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
1432
1456
|
CreateDefaultVpcRequest.struct_class = Types::CreateDefaultVpcRequest
|
1433
1457
|
|
@@ -3448,6 +3472,10 @@ module Aws::EC2
|
|
3448
3472
|
|
3449
3473
|
LaunchSpecsList.member = Shapes::ShapeRef.new(shape: SpotFleetLaunchSpecification, location_name: "item")
|
3450
3474
|
|
3475
|
+
LoadBalancersConfig.add_member(:classic_load_balancers_config, Shapes::ShapeRef.new(shape: ClassicLoadBalancersConfig, location_name: "classicLoadBalancersConfig"))
|
3476
|
+
LoadBalancersConfig.add_member(:target_groups_config, Shapes::ShapeRef.new(shape: TargetGroupsConfig, location_name: "targetGroupsConfig"))
|
3477
|
+
LoadBalancersConfig.struct_class = Types::LoadBalancersConfig
|
3478
|
+
|
3451
3479
|
LoadPermission.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "userId"))
|
3452
3480
|
LoadPermission.add_member(:group, Shapes::ShapeRef.new(shape: PermissionGroup, location_name: "group"))
|
3453
3481
|
LoadPermission.struct_class = Types::LoadPermission
|
@@ -4653,6 +4681,7 @@ module Aws::EC2
|
|
4653
4681
|
SpotFleetRequestConfigData.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
|
4654
4682
|
SpotFleetRequestConfigData.add_member(:replace_unhealthy_instances, Shapes::ShapeRef.new(shape: Boolean, location_name: "replaceUnhealthyInstances"))
|
4655
4683
|
SpotFleetRequestConfigData.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
|
4684
|
+
SpotFleetRequestConfigData.add_member(:load_balancers_config, Shapes::ShapeRef.new(shape: LoadBalancersConfig, location_name: "loadBalancersConfig"))
|
4656
4685
|
SpotFleetRequestConfigData.struct_class = Types::SpotFleetRequestConfigData
|
4657
4686
|
|
4658
4687
|
SpotFleetRequestConfigSet.member = Shapes::ShapeRef.new(shape: SpotFleetRequestConfig, location_name: "item")
|
@@ -4816,6 +4845,14 @@ module Aws::EC2
|
|
4816
4845
|
|
4817
4846
|
TargetConfigurationRequestSet.member = Shapes::ShapeRef.new(shape: TargetConfigurationRequest, location_name: "TargetConfigurationRequest")
|
4818
4847
|
|
4848
|
+
TargetGroup.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
4849
|
+
TargetGroup.struct_class = Types::TargetGroup
|
4850
|
+
|
4851
|
+
TargetGroups.member = Shapes::ShapeRef.new(shape: TargetGroup, location_name: "item")
|
4852
|
+
|
4853
|
+
TargetGroupsConfig.add_member(:target_groups, Shapes::ShapeRef.new(shape: TargetGroups, required: true, location_name: "targetGroups"))
|
4854
|
+
TargetGroupsConfig.struct_class = Types::TargetGroupsConfig
|
4855
|
+
|
4819
4856
|
TargetReservationValue.add_member(:reservation_value, Shapes::ShapeRef.new(shape: ReservationValue, location_name: "reservationValue"))
|
4820
4857
|
TargetReservationValue.add_member(:target_configuration, Shapes::ShapeRef.new(shape: TargetConfiguration, location_name: "targetConfiguration"))
|
4821
4858
|
TargetReservationValue.struct_class = Types::TargetReservationValue
|
@@ -5414,6 +5451,14 @@ module Aws::EC2
|
|
5414
5451
|
o.output = Shapes::ShapeRef.new(shape: CreateCustomerGatewayResult)
|
5415
5452
|
end)
|
5416
5453
|
|
5454
|
+
api.add_operation(:create_default_subnet, Seahorse::Model::Operation.new.tap do |o|
|
5455
|
+
o.name = "CreateDefaultSubnet"
|
5456
|
+
o.http_method = "POST"
|
5457
|
+
o.http_request_uri = "/"
|
5458
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDefaultSubnetRequest)
|
5459
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDefaultSubnetResult)
|
5460
|
+
end)
|
5461
|
+
|
5417
5462
|
api.add_operation(:create_default_vpc, Seahorse::Model::Operation.new.tap do |o|
|
5418
5463
|
o.name = "CreateDefaultVpc"
|
5419
5464
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -139,8 +139,7 @@ module Aws::EC2
|
|
139
139
|
data[:name]
|
140
140
|
end
|
141
141
|
|
142
|
-
# The device name of the root device (for example, `/dev/sda1`
|
143
|
-
# `/dev/xvda`).
|
142
|
+
# The device name of the root device volume (for example, `/dev/sda1`).
|
144
143
|
# @return [String]
|
145
144
|
def root_device_name
|
146
145
|
data[:root_device_name]
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -218,7 +218,7 @@ module Aws::EC2
|
|
218
218
|
data[:elastic_gpu_associations]
|
219
219
|
end
|
220
220
|
|
221
|
-
# The root device
|
221
|
+
# The device name of the root device volume (for example, `/dev/sda1`).
|
222
222
|
# @return [String]
|
223
223
|
def root_device_name
|
224
224
|
data[:root_device_name]
|
@@ -535,8 +535,7 @@ module Aws::EC2
|
|
535
535
|
# })
|
536
536
|
# @param [Hash] options ({})
|
537
537
|
# @option options [required, String] :device
|
538
|
-
# The device name
|
539
|
-
# `xvdh`).
|
538
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
540
539
|
# @option options [required, String] :volume_id
|
541
540
|
# The ID of the EBS volume. The volume and instance must be within the
|
542
541
|
# same Availability Zone.
|
@@ -1260,8 +1259,8 @@ module Aws::EC2
|
|
1260
1259
|
# * `attachment.delete-on-termination` - Whether the volume is deleted
|
1261
1260
|
# on instance termination.
|
1262
1261
|
#
|
1263
|
-
# * `attachment.device` - The device name
|
1264
|
-
#
|
1262
|
+
# * `attachment.device` - The device name specified in the block device
|
1263
|
+
# mapping (for example, `/dev/sda1`).
|
1265
1264
|
#
|
1266
1265
|
# * `attachment.instance-id` - The ID of the instance the volume is
|
1267
1266
|
# attached to.
|
@@ -225,8 +225,8 @@ module Aws::EC2
|
|
225
225
|
# * `block-device-mapping.delete-on-termination` - A Boolean that
|
226
226
|
# indicates whether the EBS volume is deleted on instance termination.
|
227
227
|
#
|
228
|
-
# * `block-device-mapping.device-name` - The device name
|
229
|
-
#
|
228
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
229
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
230
230
|
#
|
231
231
|
# * `block-device-mapping.status` - The status for the EBS volume
|
232
232
|
# (`attaching` \| `attached` \| `detaching` \| `detached`).
|
@@ -426,11 +426,11 @@ module Aws::EC2
|
|
426
426
|
# you launch ten instances using the same launch request, you also get
|
427
427
|
# one reservation ID.
|
428
428
|
#
|
429
|
-
# * `root-device-name` - The name of the root device for
|
430
|
-
#
|
429
|
+
# * `root-device-name` - The device name of the root device volume (for
|
430
|
+
# example, `/dev/sda1`).
|
431
431
|
#
|
432
|
-
# * `root-device-type` - The type of root device
|
433
|
-
#
|
432
|
+
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
433
|
+
# `instance-store`).
|
434
434
|
#
|
435
435
|
# * `source-dest-check` - Indicates whether the instance performs
|
436
436
|
# source/destination checking. A value of `true` means that checking
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -959,8 +959,7 @@ module Aws::EC2
|
|
959
959
|
# @option options [String] :ramdisk_id
|
960
960
|
# The ID of the RAM disk.
|
961
961
|
# @option options [String] :root_device_name
|
962
|
-
# The name of the root device (for example, `/dev/sda1
|
963
|
-
# `/dev/xvda`).
|
962
|
+
# The device name of the root device volume (for example, `/dev/sda1`).
|
964
963
|
# @option options [String] :sriov_net_support
|
965
964
|
# Set to `simple` to enable enhanced networking with the Intel 82599
|
966
965
|
# Virtual Function interface for the AMI and any instances that you
|
@@ -1165,8 +1164,8 @@ module Aws::EC2
|
|
1165
1164
|
# indicates whether the Amazon EBS volume is deleted on instance
|
1166
1165
|
# termination.
|
1167
1166
|
#
|
1168
|
-
# * `block-device-mapping.device-name` - The device name
|
1169
|
-
#
|
1167
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
1168
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
1170
1169
|
#
|
1171
1170
|
# * `block-device-mapping.snapshot-id` - The ID of the snapshot used for
|
1172
1171
|
# the EBS volume.
|
@@ -1214,7 +1213,7 @@ module Aws::EC2
|
|
1214
1213
|
#
|
1215
1214
|
# * `ramdisk-id` - The RAM disk ID.
|
1216
1215
|
#
|
1217
|
-
# * `root-device-name` - The name of the root device volume (for
|
1216
|
+
# * `root-device-name` - The device name of the root device volume (for
|
1218
1217
|
# example, `/dev/sda1`).
|
1219
1218
|
#
|
1220
1219
|
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
@@ -1320,8 +1319,8 @@ module Aws::EC2
|
|
1320
1319
|
# * `block-device-mapping.delete-on-termination` - A Boolean that
|
1321
1320
|
# indicates whether the EBS volume is deleted on instance termination.
|
1322
1321
|
#
|
1323
|
-
# * `block-device-mapping.device-name` - The device name
|
1324
|
-
#
|
1322
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
1323
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
1325
1324
|
#
|
1326
1325
|
# * `block-device-mapping.status` - The status for the EBS volume
|
1327
1326
|
# (`attaching` \| `attached` \| `detaching` \| `detached`).
|
@@ -1521,11 +1520,11 @@ module Aws::EC2
|
|
1521
1520
|
# you launch ten instances using the same launch request, you also get
|
1522
1521
|
# one reservation ID.
|
1523
1522
|
#
|
1524
|
-
# * `root-device-name` - The name of the root device for
|
1525
|
-
#
|
1523
|
+
# * `root-device-name` - The device name of the root device volume (for
|
1524
|
+
# example, `/dev/sda1`).
|
1526
1525
|
#
|
1527
|
-
# * `root-device-type` - The type of root device
|
1528
|
-
#
|
1526
|
+
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
1527
|
+
# `instance-store`).
|
1529
1528
|
#
|
1530
1529
|
# * `source-dest-check` - Indicates whether the instance performs
|
1531
1530
|
# source/destination checking. A value of `true` means that checking
|
@@ -2553,8 +2552,8 @@ module Aws::EC2
|
|
2553
2552
|
# * `attachment.delete-on-termination` - Whether the volume is deleted
|
2554
2553
|
# on instance termination.
|
2555
2554
|
#
|
2556
|
-
# * `attachment.device` - The device name
|
2557
|
-
#
|
2555
|
+
# * `attachment.device` - The device name specified in the block device
|
2556
|
+
# mapping (for example, `/dev/sda1`).
|
2558
2557
|
#
|
2559
2558
|
# * `attachment.instance-id` - The ID of the instance the volume is
|
2560
2559
|
# attached to.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -674,8 +674,8 @@ module Aws::EC2
|
|
674
674
|
# * `block-device-mapping.delete-on-termination` - A Boolean that
|
675
675
|
# indicates whether the EBS volume is deleted on instance termination.
|
676
676
|
#
|
677
|
-
# * `block-device-mapping.device-name` - The device name
|
678
|
-
#
|
677
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
678
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
679
679
|
#
|
680
680
|
# * `block-device-mapping.status` - The status for the EBS volume
|
681
681
|
# (`attaching` \| `attached` \| `detaching` \| `detached`).
|
@@ -875,11 +875,11 @@ module Aws::EC2
|
|
875
875
|
# you launch ten instances using the same launch request, you also get
|
876
876
|
# one reservation ID.
|
877
877
|
#
|
878
|
-
# * `root-device-name` - The name of the root device for
|
879
|
-
#
|
878
|
+
# * `root-device-name` - The device name of the root device volume (for
|
879
|
+
# example, `/dev/sda1`).
|
880
880
|
#
|
881
|
-
# * `root-device-type` - The type of root device
|
882
|
-
#
|
881
|
+
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
882
|
+
# `instance-store`).
|
883
883
|
#
|
884
884
|
# * `source-dest-check` - Indicates whether the instance performs
|
885
885
|
# source/destination checking. A value of `true` means that checking
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -913,8 +913,7 @@ module Aws::EC2
|
|
913
913
|
# }
|
914
914
|
#
|
915
915
|
# @!attribute [rw] device
|
916
|
-
# The device name
|
917
|
-
# or `xvdh`).
|
916
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
918
917
|
# @return [String]
|
919
918
|
#
|
920
919
|
# @!attribute [rw] instance_id
|
@@ -1387,8 +1386,7 @@ module Aws::EC2
|
|
1387
1386
|
# }
|
1388
1387
|
#
|
1389
1388
|
# @!attribute [rw] device_name
|
1390
|
-
# The device name
|
1391
|
-
# `xvdh`).
|
1389
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
1392
1390
|
# @return [String]
|
1393
1391
|
#
|
1394
1392
|
# @!attribute [rw] virtual_name
|
@@ -1979,6 +1977,52 @@ module Aws::EC2
|
|
1979
1977
|
include Aws::Structure
|
1980
1978
|
end
|
1981
1979
|
|
1980
|
+
# Describes a Classic Load Balancer.
|
1981
|
+
#
|
1982
|
+
# @note When making an API call, you may pass ClassicLoadBalancer
|
1983
|
+
# data as a hash:
|
1984
|
+
#
|
1985
|
+
# {
|
1986
|
+
# name: "String", # required
|
1987
|
+
# }
|
1988
|
+
#
|
1989
|
+
# @!attribute [rw] name
|
1990
|
+
# The name of the load balancer.
|
1991
|
+
# @return [String]
|
1992
|
+
#
|
1993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancer AWS API Documentation
|
1994
|
+
#
|
1995
|
+
class ClassicLoadBalancer < Struct.new(
|
1996
|
+
:name)
|
1997
|
+
include Aws::Structure
|
1998
|
+
end
|
1999
|
+
|
2000
|
+
# Describes the Classic Load Balancers to attach to a Spot fleet. Spot
|
2001
|
+
# fleet registers the running Spot instances with these Classic Load
|
2002
|
+
# Balancers.
|
2003
|
+
#
|
2004
|
+
# @note When making an API call, you may pass ClassicLoadBalancersConfig
|
2005
|
+
# data as a hash:
|
2006
|
+
#
|
2007
|
+
# {
|
2008
|
+
# classic_load_balancers: [ # required
|
2009
|
+
# {
|
2010
|
+
# name: "String", # required
|
2011
|
+
# },
|
2012
|
+
# ],
|
2013
|
+
# }
|
2014
|
+
#
|
2015
|
+
# @!attribute [rw] classic_load_balancers
|
2016
|
+
# One or more Classic Load Balancers.
|
2017
|
+
# @return [Array<Types::ClassicLoadBalancer>]
|
2018
|
+
#
|
2019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancersConfig AWS API Documentation
|
2020
|
+
#
|
2021
|
+
class ClassicLoadBalancersConfig < Struct.new(
|
2022
|
+
:classic_load_balancers)
|
2023
|
+
include Aws::Structure
|
2024
|
+
end
|
2025
|
+
|
1982
2026
|
# Describes the client-specific data.
|
1983
2027
|
#
|
1984
2028
|
# @note When making an API call, you may pass ClientData
|
@@ -2472,6 +2516,44 @@ module Aws::EC2
|
|
2472
2516
|
include Aws::Structure
|
2473
2517
|
end
|
2474
2518
|
|
2519
|
+
# @note When making an API call, you may pass CreateDefaultSubnetRequest
|
2520
|
+
# data as a hash:
|
2521
|
+
#
|
2522
|
+
# {
|
2523
|
+
# availability_zone: "String", # required
|
2524
|
+
# dry_run: false,
|
2525
|
+
# }
|
2526
|
+
#
|
2527
|
+
# @!attribute [rw] availability_zone
|
2528
|
+
# The Availability Zone in which to create the default subnet.
|
2529
|
+
# @return [String]
|
2530
|
+
#
|
2531
|
+
# @!attribute [rw] dry_run
|
2532
|
+
# Checks whether you have the required permissions for the action,
|
2533
|
+
# without actually making the request, and provides an error response.
|
2534
|
+
# If you have the required permissions, the error response is
|
2535
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
2536
|
+
# @return [Boolean]
|
2537
|
+
#
|
2538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetRequest AWS API Documentation
|
2539
|
+
#
|
2540
|
+
class CreateDefaultSubnetRequest < Struct.new(
|
2541
|
+
:availability_zone,
|
2542
|
+
:dry_run)
|
2543
|
+
include Aws::Structure
|
2544
|
+
end
|
2545
|
+
|
2546
|
+
# @!attribute [rw] subnet
|
2547
|
+
# Information about the subnet.
|
2548
|
+
# @return [Types::Subnet]
|
2549
|
+
#
|
2550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetResult AWS API Documentation
|
2551
|
+
#
|
2552
|
+
class CreateDefaultSubnetResult < Struct.new(
|
2553
|
+
:subnet)
|
2554
|
+
include Aws::Structure
|
2555
|
+
end
|
2556
|
+
|
2475
2557
|
# Contains the parameters for CreateDefaultVpc.
|
2476
2558
|
#
|
2477
2559
|
# @note When making an API call, you may pass CreateDefaultVpcRequest
|
@@ -6884,8 +6966,8 @@ module Aws::EC2
|
|
6884
6966
|
# that indicates whether the Amazon EBS volume is deleted on
|
6885
6967
|
# instance termination.
|
6886
6968
|
#
|
6887
|
-
# * `block-device-mapping.device-name` - The device name
|
6888
|
-
#
|
6969
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
6970
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
6889
6971
|
#
|
6890
6972
|
# * `block-device-mapping.snapshot-id` - The ID of the snapshot used
|
6891
6973
|
# for the EBS volume.
|
@@ -6935,8 +7017,8 @@ module Aws::EC2
|
|
6935
7017
|
#
|
6936
7018
|
# * `ramdisk-id` - The RAM disk ID.
|
6937
7019
|
#
|
6938
|
-
# * `root-device-name` - The name of the root device volume
|
6939
|
-
# example, `/dev/sda1`).
|
7020
|
+
# * `root-device-name` - The device name of the root device volume
|
7021
|
+
# (for example, `/dev/sda1`).
|
6940
7022
|
#
|
6941
7023
|
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
6942
7024
|
# `instance-store`).
|
@@ -7368,8 +7450,8 @@ module Aws::EC2
|
|
7368
7450
|
# indicates whether the EBS volume is deleted on instance
|
7369
7451
|
# termination.
|
7370
7452
|
#
|
7371
|
-
# * `block-device-mapping.device-name` - The device name
|
7372
|
-
#
|
7453
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
7454
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
7373
7455
|
#
|
7374
7456
|
# * `block-device-mapping.status` - The status for the EBS volume
|
7375
7457
|
# (`attaching` \| `attached` \| `detaching` \| `detached`).
|
@@ -7574,11 +7656,11 @@ module Aws::EC2
|
|
7574
7656
|
# ID. If you launch ten instances using the same launch request, you
|
7575
7657
|
# also get one reservation ID.
|
7576
7658
|
#
|
7577
|
-
# * `root-device-name` - The name of the root device
|
7578
|
-
# (for example, `/dev/sda1`
|
7659
|
+
# * `root-device-name` - The device name of the root device volume
|
7660
|
+
# (for example, `/dev/sda1`).
|
7579
7661
|
#
|
7580
|
-
# * `root-device-type` - The type of root device
|
7581
|
-
#
|
7662
|
+
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
7663
|
+
# `instance-store`).
|
7582
7664
|
#
|
7583
7665
|
# * `source-dest-check` - Indicates whether the instance performs
|
7584
7666
|
# source/destination checking. A value of `true` means that checking
|
@@ -10154,21 +10236,22 @@ module Aws::EC2
|
|
10154
10236
|
# * `launch-group` - The Spot instance launch group.
|
10155
10237
|
#
|
10156
10238
|
# * `launch.block-device-mapping.delete-on-termination` - Indicates
|
10157
|
-
# whether the
|
10239
|
+
# whether the EBS volume is deleted on instance termination.
|
10158
10240
|
#
|
10159
10241
|
# * `launch.block-device-mapping.device-name` - The device name for
|
10160
|
-
# the
|
10242
|
+
# the volume in the block device mapping (for example, `/dev/sdh` or
|
10243
|
+
# `xvdh`).
|
10161
10244
|
#
|
10162
10245
|
# * `launch.block-device-mapping.snapshot-id` - The ID of the snapshot
|
10163
|
-
#
|
10246
|
+
# for the EBS volume.
|
10164
10247
|
#
|
10165
|
-
# * `launch.block-device-mapping.volume-size` - The size of the
|
10166
|
-
#
|
10248
|
+
# * `launch.block-device-mapping.volume-size` - The size of the EBS
|
10249
|
+
# volume, in GiB.
|
10167
10250
|
#
|
10168
|
-
# * `launch.block-device-mapping.volume-type` - The type of
|
10169
|
-
#
|
10170
|
-
#
|
10171
|
-
#
|
10251
|
+
# * `launch.block-device-mapping.volume-type` - The type of EBS
|
10252
|
+
# volume: `gp2` for General Purpose SSD, `io1` for Provisioned IOPS
|
10253
|
+
# SSD, `st1` for Throughput Optimized HDD, `sc1`for Cold HDD, or
|
10254
|
+
# `standard` for Magnetic.
|
10172
10255
|
#
|
10173
10256
|
# * `launch.group-id` - The security group for the instance.
|
10174
10257
|
#
|
@@ -10933,8 +11016,8 @@ module Aws::EC2
|
|
10933
11016
|
# * `attachment.delete-on-termination` - Whether the volume is deleted
|
10934
11017
|
# on instance termination.
|
10935
11018
|
#
|
10936
|
-
# * `attachment.device` - The device name
|
10937
|
-
#
|
11019
|
+
# * `attachment.device` - The device name specified in the block
|
11020
|
+
# device mapping (for example, `/dev/sda1`).
|
10938
11021
|
#
|
10939
11022
|
# * `attachment.instance-id` - The ID of the instance the volume is
|
10940
11023
|
# attached to.
|
@@ -12887,7 +12970,7 @@ module Aws::EC2
|
|
12887
12970
|
# @!attribute [rw] event_sub_type
|
12888
12971
|
# The event.
|
12889
12972
|
#
|
12890
|
-
# The following are the `error` events
|
12973
|
+
# The following are the `error` events:
|
12891
12974
|
#
|
12892
12975
|
# * `iamFleetRoleInvalid` - The Spot fleet did not have the required
|
12893
12976
|
# permissions either to launch or terminate an instance.
|
@@ -12902,7 +12985,7 @@ module Aws::EC2
|
|
12902
12985
|
# * `spotInstanceCountLimitExceeded` - You've reached the limit on
|
12903
12986
|
# the number of Spot instances that you can launch.
|
12904
12987
|
#
|
12905
|
-
# The following are the `fleetRequestChange` events
|
12988
|
+
# The following are the `fleetRequestChange` events:
|
12906
12989
|
#
|
12907
12990
|
# * `active` - The Spot fleet has been validated and Amazon EC2 is
|
12908
12991
|
# attempting to maintain the target number of running Spot
|
@@ -12934,11 +13017,21 @@ module Aws::EC2
|
|
12934
13017
|
# * `submitted` - The Spot fleet request is being evaluated and Amazon
|
12935
13018
|
# EC2 is preparing to launch the target number of Spot instances.
|
12936
13019
|
#
|
12937
|
-
# The following are the `instanceChange` events
|
13020
|
+
# The following are the `instanceChange` events:
|
12938
13021
|
#
|
12939
13022
|
# * `launched` - A bid was fulfilled and a new instance was launched.
|
12940
13023
|
#
|
12941
13024
|
# * `terminated` - An instance was terminated by the user.
|
13025
|
+
#
|
13026
|
+
# The following are the `Information` events:
|
13027
|
+
#
|
13028
|
+
# * `launchSpecUnusable` - The bid price of a launch specification is
|
13029
|
+
# not valid because it is below the market price or the market price
|
13030
|
+
# is above the On-Demand price.
|
13031
|
+
#
|
13032
|
+
# * `fleetProgressHalted` - The bid price of every launch
|
13033
|
+
# specification is not valid. A launch specification might become
|
13034
|
+
# valid if the market price changes.
|
12942
13035
|
# @return [String]
|
12943
13036
|
#
|
12944
13037
|
# @!attribute [rw] instance_id
|
@@ -13636,13 +13729,14 @@ module Aws::EC2
|
|
13636
13729
|
# @!attribute [rw] event_type
|
13637
13730
|
# The event type.
|
13638
13731
|
#
|
13639
|
-
# * `error` -
|
13732
|
+
# * `error` - An error with the Spot fleet request.
|
13733
|
+
#
|
13734
|
+
# * `fleetRequestChange` - A change in the status or configuration of
|
13735
|
+
# the Spot fleet request.
|
13640
13736
|
#
|
13641
|
-
# * `
|
13642
|
-
# configuration of the Spot fleet request.
|
13737
|
+
# * `instanceChange` - An instance was launched or terminated.
|
13643
13738
|
#
|
13644
|
-
# * `
|
13645
|
-
# terminated.
|
13739
|
+
# * `Information` - An informational event.
|
13646
13740
|
# @return [String]
|
13647
13741
|
#
|
13648
13742
|
# @!attribute [rw] timestamp
|
@@ -14106,8 +14200,8 @@ module Aws::EC2
|
|
14106
14200
|
# @return [String]
|
14107
14201
|
#
|
14108
14202
|
# @!attribute [rw] root_device_name
|
14109
|
-
# The device name of the root device (for example,
|
14110
|
-
# `/dev/
|
14203
|
+
# The device name of the root device volume (for example,
|
14204
|
+
# `/dev/sda1`).
|
14111
14205
|
# @return [String]
|
14112
14206
|
#
|
14113
14207
|
# @!attribute [rw] root_device_type
|
@@ -15187,7 +15281,8 @@ module Aws::EC2
|
|
15187
15281
|
# @return [Array<Types::InstanceNetworkInterface>]
|
15188
15282
|
#
|
15189
15283
|
# @!attribute [rw] root_device_name
|
15190
|
-
# The root device
|
15284
|
+
# The device name of the root device volume (for example,
|
15285
|
+
# `/dev/sda1`).
|
15191
15286
|
# @return [String]
|
15192
15287
|
#
|
15193
15288
|
# @!attribute [rw] root_device_type
|
@@ -15328,8 +15423,8 @@ module Aws::EC2
|
|
15328
15423
|
# @return [Types::AttributeValue]
|
15329
15424
|
#
|
15330
15425
|
# @!attribute [rw] root_device_name
|
15331
|
-
# The name of the root device (for example,
|
15332
|
-
# `/dev/
|
15426
|
+
# The device name of the root device volume (for example,
|
15427
|
+
# `/dev/sda1`).
|
15333
15428
|
# @return [Types::AttributeValue]
|
15334
15429
|
#
|
15335
15430
|
# @!attribute [rw] source_dest_check
|
@@ -15372,8 +15467,7 @@ module Aws::EC2
|
|
15372
15467
|
# Describes a block device mapping.
|
15373
15468
|
#
|
15374
15469
|
# @!attribute [rw] device_name
|
15375
|
-
# The device name
|
15376
|
-
# `xvdh`).
|
15470
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
15377
15471
|
# @return [String]
|
15378
15472
|
#
|
15379
15473
|
# @!attribute [rw] ebs
|
@@ -15405,8 +15499,7 @@ module Aws::EC2
|
|
15405
15499
|
# }
|
15406
15500
|
#
|
15407
15501
|
# @!attribute [rw] device_name
|
15408
|
-
# The device name
|
15409
|
-
# `xvdh`).
|
15502
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
15410
15503
|
# @return [String]
|
15411
15504
|
#
|
15412
15505
|
# @!attribute [rw] ebs
|
@@ -16430,6 +16523,45 @@ module Aws::EC2
|
|
16430
16523
|
include Aws::Structure
|
16431
16524
|
end
|
16432
16525
|
|
16526
|
+
# Describes the Classic Load Balancers and target groups to attach to a
|
16527
|
+
# Spot fleet request.
|
16528
|
+
#
|
16529
|
+
# @note When making an API call, you may pass LoadBalancersConfig
|
16530
|
+
# data as a hash:
|
16531
|
+
#
|
16532
|
+
# {
|
16533
|
+
# classic_load_balancers_config: {
|
16534
|
+
# classic_load_balancers: [ # required
|
16535
|
+
# {
|
16536
|
+
# name: "String", # required
|
16537
|
+
# },
|
16538
|
+
# ],
|
16539
|
+
# },
|
16540
|
+
# target_groups_config: {
|
16541
|
+
# target_groups: [ # required
|
16542
|
+
# {
|
16543
|
+
# arn: "String", # required
|
16544
|
+
# },
|
16545
|
+
# ],
|
16546
|
+
# },
|
16547
|
+
# }
|
16548
|
+
#
|
16549
|
+
# @!attribute [rw] classic_load_balancers_config
|
16550
|
+
# The Classic Load Balancers.
|
16551
|
+
# @return [Types::ClassicLoadBalancersConfig]
|
16552
|
+
#
|
16553
|
+
# @!attribute [rw] target_groups_config
|
16554
|
+
# The target groups.
|
16555
|
+
# @return [Types::TargetGroupsConfig]
|
16556
|
+
#
|
16557
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadBalancersConfig AWS API Documentation
|
16558
|
+
#
|
16559
|
+
class LoadBalancersConfig < Struct.new(
|
16560
|
+
:classic_load_balancers_config,
|
16561
|
+
:target_groups_config)
|
16562
|
+
include Aws::Structure
|
16563
|
+
end
|
16564
|
+
|
16433
16565
|
# Describes a load permission.
|
16434
16566
|
#
|
16435
16567
|
# @!attribute [rw] user_id
|
@@ -19389,8 +19521,8 @@ module Aws::EC2
|
|
19389
19521
|
# @return [String]
|
19390
19522
|
#
|
19391
19523
|
# @!attribute [rw] root_device_name
|
19392
|
-
# The name of the root device (for example,
|
19393
|
-
# `/dev/
|
19524
|
+
# The device name of the root device volume (for example,
|
19525
|
+
# `/dev/sda1`).
|
19394
19526
|
# @return [String]
|
19395
19527
|
#
|
19396
19528
|
# @!attribute [rw] sriov_net_support
|
@@ -20063,6 +20195,22 @@ module Aws::EC2
|
|
20063
20195
|
# valid_until: Time.now,
|
20064
20196
|
# replace_unhealthy_instances: false,
|
20065
20197
|
# instance_interruption_behavior: "stop", # accepts stop, terminate
|
20198
|
+
# load_balancers_config: {
|
20199
|
+
# classic_load_balancers_config: {
|
20200
|
+
# classic_load_balancers: [ # required
|
20201
|
+
# {
|
20202
|
+
# name: "String", # required
|
20203
|
+
# },
|
20204
|
+
# ],
|
20205
|
+
# },
|
20206
|
+
# target_groups_config: {
|
20207
|
+
# target_groups: [ # required
|
20208
|
+
# {
|
20209
|
+
# arn: "String", # required
|
20210
|
+
# },
|
20211
|
+
# ],
|
20212
|
+
# },
|
20213
|
+
# },
|
20066
20214
|
# },
|
20067
20215
|
# }
|
20068
20216
|
#
|
@@ -22480,8 +22628,7 @@ module Aws::EC2
|
|
22480
22628
|
# }
|
22481
22629
|
#
|
22482
22630
|
# @!attribute [rw] device_name
|
22483
|
-
# The device name
|
22484
|
-
# `xvdh`).
|
22631
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
22485
22632
|
# @return [String]
|
22486
22633
|
#
|
22487
22634
|
# @!attribute [rw] ebs
|
@@ -22498,7 +22645,7 @@ module Aws::EC2
|
|
22498
22645
|
# The virtual device name (`ephemeral`N). Instance store volumes are
|
22499
22646
|
# numbered starting from 0. An instance type with two available
|
22500
22647
|
# instance store volumes can specify mappings for `ephemeral0` and
|
22501
|
-
# `ephemeral1`.The number of available instance store volumes depends
|
22648
|
+
# `ephemeral1`. The number of available instance store volumes depends
|
22502
22649
|
# on the instance type. After you connect to the instance, you must
|
22503
22650
|
# mount the volume.
|
22504
22651
|
#
|
@@ -23847,6 +23994,22 @@ module Aws::EC2
|
|
23847
23994
|
# valid_until: Time.now,
|
23848
23995
|
# replace_unhealthy_instances: false,
|
23849
23996
|
# instance_interruption_behavior: "stop", # accepts stop, terminate
|
23997
|
+
# load_balancers_config: {
|
23998
|
+
# classic_load_balancers_config: {
|
23999
|
+
# classic_load_balancers: [ # required
|
24000
|
+
# {
|
24001
|
+
# name: "String", # required
|
24002
|
+
# },
|
24003
|
+
# ],
|
24004
|
+
# },
|
24005
|
+
# target_groups_config: {
|
24006
|
+
# target_groups: [ # required
|
24007
|
+
# {
|
24008
|
+
# arn: "String", # required
|
24009
|
+
# },
|
24010
|
+
# ],
|
24011
|
+
# },
|
24012
|
+
# },
|
23850
24013
|
# }
|
23851
24014
|
#
|
23852
24015
|
# @!attribute [rw] allocation_strategy
|
@@ -23936,6 +24099,17 @@ module Aws::EC2
|
|
23936
24099
|
# interrupted.
|
23937
24100
|
# @return [String]
|
23938
24101
|
#
|
24102
|
+
# @!attribute [rw] load_balancers_config
|
24103
|
+
# One or more Classic Load Balancers and target groups to attach to
|
24104
|
+
# the Spot fleet request. Spot fleet registers the running Spot
|
24105
|
+
# instances with the specified Classic Load Balancers and target
|
24106
|
+
# groups.
|
24107
|
+
#
|
24108
|
+
# With Network Load Balancers, Spot fleet cannot register instances
|
24109
|
+
# that have the following instance types: C1, CC1, CC2, CG1, CG2, CR1,
|
24110
|
+
# CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1.
|
24111
|
+
# @return [Types::LoadBalancersConfig]
|
24112
|
+
#
|
23939
24113
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
|
23940
24114
|
#
|
23941
24115
|
class SpotFleetRequestConfigData < Struct.new(
|
@@ -23952,7 +24126,8 @@ module Aws::EC2
|
|
23952
24126
|
:valid_from,
|
23953
24127
|
:valid_until,
|
23954
24128
|
:replace_unhealthy_instances,
|
23955
|
-
:instance_interruption_behavior
|
24129
|
+
:instance_interruption_behavior,
|
24130
|
+
:load_balancers_config)
|
23956
24131
|
include Aws::Structure
|
23957
24132
|
end
|
23958
24133
|
|
@@ -24775,6 +24950,51 @@ module Aws::EC2
|
|
24775
24950
|
include Aws::Structure
|
24776
24951
|
end
|
24777
24952
|
|
24953
|
+
# Describes a load balancer target group.
|
24954
|
+
#
|
24955
|
+
# @note When making an API call, you may pass TargetGroup
|
24956
|
+
# data as a hash:
|
24957
|
+
#
|
24958
|
+
# {
|
24959
|
+
# arn: "String", # required
|
24960
|
+
# }
|
24961
|
+
#
|
24962
|
+
# @!attribute [rw] arn
|
24963
|
+
# The Amazon Resource Name (ARN) of the target group.
|
24964
|
+
# @return [String]
|
24965
|
+
#
|
24966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroup AWS API Documentation
|
24967
|
+
#
|
24968
|
+
class TargetGroup < Struct.new(
|
24969
|
+
:arn)
|
24970
|
+
include Aws::Structure
|
24971
|
+
end
|
24972
|
+
|
24973
|
+
# Describes the target groups to attach to a Spot fleet. Spot fleet
|
24974
|
+
# registers the running Spot instances with these target groups.
|
24975
|
+
#
|
24976
|
+
# @note When making an API call, you may pass TargetGroupsConfig
|
24977
|
+
# data as a hash:
|
24978
|
+
#
|
24979
|
+
# {
|
24980
|
+
# target_groups: [ # required
|
24981
|
+
# {
|
24982
|
+
# arn: "String", # required
|
24983
|
+
# },
|
24984
|
+
# ],
|
24985
|
+
# }
|
24986
|
+
#
|
24987
|
+
# @!attribute [rw] target_groups
|
24988
|
+
# One or more target groups.
|
24989
|
+
# @return [Array<Types::TargetGroup>]
|
24990
|
+
#
|
24991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroupsConfig AWS API Documentation
|
24992
|
+
#
|
24993
|
+
class TargetGroupsConfig < Struct.new(
|
24994
|
+
:target_groups)
|
24995
|
+
include Aws::Structure
|
24996
|
+
end
|
24997
|
+
|
24778
24998
|
# The total value of the new Convertible Reserved Instances.
|
24779
24999
|
#
|
24780
25000
|
# @!attribute [rw] reservation_value
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -260,8 +260,7 @@ module Aws::EC2
|
|
260
260
|
# })
|
261
261
|
# @param [Hash] options ({})
|
262
262
|
# @option options [required, String] :device
|
263
|
-
# The device name
|
264
|
-
# `xvdh`).
|
263
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
265
264
|
# @option options [required, String] :instance_id
|
266
265
|
# The ID of the instance.
|
267
266
|
# @option options [Boolean] :dry_run
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -806,8 +806,8 @@ module Aws::EC2
|
|
806
806
|
# * `block-device-mapping.delete-on-termination` - A Boolean that
|
807
807
|
# indicates whether the EBS volume is deleted on instance termination.
|
808
808
|
#
|
809
|
-
# * `block-device-mapping.device-name` - The device name
|
810
|
-
#
|
809
|
+
# * `block-device-mapping.device-name` - The device name specified in
|
810
|
+
# the block device mapping (for example, `/dev/sdh` or `xvdh`).
|
811
811
|
#
|
812
812
|
# * `block-device-mapping.status` - The status for the EBS volume
|
813
813
|
# (`attaching` \| `attached` \| `detaching` \| `detached`).
|
@@ -1007,11 +1007,11 @@ module Aws::EC2
|
|
1007
1007
|
# you launch ten instances using the same launch request, you also get
|
1008
1008
|
# one reservation ID.
|
1009
1009
|
#
|
1010
|
-
# * `root-device-name` - The name of the root device for
|
1011
|
-
#
|
1010
|
+
# * `root-device-name` - The device name of the root device volume (for
|
1011
|
+
# example, `/dev/sda1`).
|
1012
1012
|
#
|
1013
|
-
# * `root-device-type` - The type of root device
|
1014
|
-
#
|
1013
|
+
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
1014
|
+
# `instance-store`).
|
1015
1015
|
#
|
1016
1016
|
# * `source-dest-check` - Indicates whether the instance performs
|
1017
1017
|
# source/destination checking. A value of `true` means that checking
|
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.17.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: 2017-11-
|
11
|
+
date: 2017-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|