aws-sdk-ec2 1.65.0 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +67 -31
- data/lib/aws-sdk-ec2/client_api.rb +7 -0
- data/lib/aws-sdk-ec2/placement_group.rb +3 -2
- data/lib/aws-sdk-ec2/resource.rb +3 -2
- data/lib/aws-sdk-ec2/subnet.rb +3 -2
- data/lib/aws-sdk-ec2/types.rb +101 -40
- data/lib/aws-sdk-ec2/vpc.rb +3 -2
- 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: dc66078dd3660cb215616c71e5eca35942dd18e9
|
4
|
+
data.tar.gz: fb7f3e702b6f99ae48987741c099b6b6dbfe67e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f5318cddbe89e2c046f7f7608903da86aca4cd7bd88ecf5ca4188c3f022cf99ba536b599b92b006a5a04e86103c21620fc2889832082ea69fe59cb598c987f8
|
7
|
+
data.tar.gz: 17f8dcc69a7721d3aa1e2ecb43a901e1c230fde7c2079f782cb2769beab01ce8507e73caf2ce83db3b1b5ca68a3782014d4fa0215b83785555bea3d9e8f17451
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4012,11 +4012,13 @@ module Aws::EC2
|
|
4012
4012
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
4013
4013
|
# instance_pools_to_use_count: 1,
|
4014
4014
|
# single_instance_type: false,
|
4015
|
+
# single_availability_zone: false,
|
4015
4016
|
# min_target_capacity: 1,
|
4016
4017
|
# },
|
4017
4018
|
# on_demand_options: {
|
4018
4019
|
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
4019
4020
|
# single_instance_type: false,
|
4021
|
+
# single_availability_zone: false,
|
4020
4022
|
# min_target_capacity: 1,
|
4021
4023
|
# },
|
4022
4024
|
# excess_capacity_termination_policy: "no-termination", # accepts no-termination, termination
|
@@ -11620,9 +11622,11 @@ module Aws::EC2
|
|
11620
11622
|
# resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
|
11621
11623
|
# resp.fleets[0].spot_options.instance_pools_to_use_count #=> Integer
|
11622
11624
|
# resp.fleets[0].spot_options.single_instance_type #=> Boolean
|
11625
|
+
# resp.fleets[0].spot_options.single_availability_zone #=> Boolean
|
11623
11626
|
# resp.fleets[0].spot_options.min_target_capacity #=> Integer
|
11624
11627
|
# resp.fleets[0].on_demand_options.allocation_strategy #=> String, one of "lowest-price", "prioritized"
|
11625
11628
|
# resp.fleets[0].on_demand_options.single_instance_type #=> Boolean
|
11629
|
+
# resp.fleets[0].on_demand_options.single_availability_zone #=> Boolean
|
11626
11630
|
# resp.fleets[0].on_demand_options.min_target_capacity #=> Integer
|
11627
11631
|
# resp.fleets[0].tags #=> Array
|
11628
11632
|
# resp.fleets[0].tags[0].key #=> String
|
@@ -13537,11 +13541,12 @@ module Aws::EC2
|
|
13537
13541
|
#
|
13538
13542
|
# * `owner-id` - The AWS account ID of the instance owner.
|
13539
13543
|
#
|
13540
|
-
# * `partition-number` - The partition in which the instance is located.
|
13541
|
-
#
|
13542
13544
|
# * `placement-group-name` - The name of the placement group for the
|
13543
13545
|
# instance.
|
13544
13546
|
#
|
13547
|
+
# * `placement-partition-number` - The partition in which the instance
|
13548
|
+
# is located.
|
13549
|
+
#
|
13545
13550
|
# * `platform` - The platform. Use `windows` if you have Windows
|
13546
13551
|
# instances; otherwise, leave blank.
|
13547
13552
|
#
|
@@ -17753,6 +17758,14 @@ module Aws::EC2
|
|
17753
17758
|
# DescribeInstances with a filter to look for instances where the
|
17754
17759
|
# instance lifecycle is `spot`.
|
17755
17760
|
#
|
17761
|
+
# We recommend that you set `MaxResults` to a value between 5 and 1000
|
17762
|
+
# to limit the number of results returned. This paginates the output,
|
17763
|
+
# which makes the list more manageable and returns the results faster.
|
17764
|
+
# If the list of results exceeds your `MaxResults` value, then that
|
17765
|
+
# number of results is returned along with a `NextToken` value that can
|
17766
|
+
# be passed to a subsequent `DescribeSpotInstanceRequests` request to
|
17767
|
+
# retrieve the remaining results.
|
17768
|
+
#
|
17756
17769
|
# Spot Instance requests are deleted four hours after they are canceled
|
17757
17770
|
# and their instances are terminated.
|
17758
17771
|
#
|
@@ -17887,9 +17900,19 @@ module Aws::EC2
|
|
17887
17900
|
# @option params [Array<String>] :spot_instance_request_ids
|
17888
17901
|
# One or more Spot Instance request IDs.
|
17889
17902
|
#
|
17903
|
+
# @option params [String] :next_token
|
17904
|
+
# The token to request the next set of results. This value is `null`
|
17905
|
+
# when there are no more results to return.
|
17906
|
+
#
|
17907
|
+
# @option params [Integer] :max_results
|
17908
|
+
# The maximum number of results to return in a single call. Specify a
|
17909
|
+
# value between 5 and 1000. To retrieve the remaining results, make
|
17910
|
+
# another call with the returned `NextToken` value.
|
17911
|
+
#
|
17890
17912
|
# @return [Types::DescribeSpotInstanceRequestsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
17891
17913
|
#
|
17892
17914
|
# * {Types::DescribeSpotInstanceRequestsResult#spot_instance_requests #spot_instance_requests} => Array<Types::SpotInstanceRequest>
|
17915
|
+
# * {Types::DescribeSpotInstanceRequestsResult#next_token #next_token} => String
|
17893
17916
|
#
|
17894
17917
|
#
|
17895
17918
|
# @example Example: To describe a Spot Instance request
|
@@ -17956,6 +17979,8 @@ module Aws::EC2
|
|
17956
17979
|
# ],
|
17957
17980
|
# dry_run: false,
|
17958
17981
|
# spot_instance_request_ids: ["String"],
|
17982
|
+
# next_token: "String",
|
17983
|
+
# max_results: 1,
|
17959
17984
|
# })
|
17960
17985
|
#
|
17961
17986
|
# @example Response structure
|
@@ -18030,6 +18055,7 @@ module Aws::EC2
|
|
18030
18055
|
# resp.spot_instance_requests[0].valid_from #=> Time
|
18031
18056
|
# resp.spot_instance_requests[0].valid_until #=> Time
|
18032
18057
|
# resp.spot_instance_requests[0].instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
|
18058
|
+
# resp.next_token #=> String
|
18033
18059
|
#
|
18034
18060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests AWS API Documentation
|
18035
18061
|
#
|
@@ -18554,16 +18580,16 @@ module Aws::EC2
|
|
18554
18580
|
# @option params [Array<Types::Filter>] :filters
|
18555
18581
|
# One or more filters. The possible values are:
|
18556
18582
|
#
|
18557
|
-
# * `association-id` - The ID of the
|
18558
|
-
#
|
18559
|
-
# * `association-route-table-id` - The ID of the route table for the
|
18560
|
-
# transit gateway.
|
18583
|
+
# * `association.transit-gateway-route-table-id` - The ID of the route
|
18584
|
+
# table for the transit gateway.
|
18561
18585
|
#
|
18562
|
-
# * `
|
18586
|
+
# * `association.state` - The state of the association (`associating` \|
|
18563
18587
|
# `associated` \| `disassociating`).
|
18564
18588
|
#
|
18565
18589
|
# * `resource-id` - The ID of the resource.
|
18566
18590
|
#
|
18591
|
+
# * `resource-owner` - The ID of the AWS account that owns the resource.
|
18592
|
+
#
|
18567
18593
|
# * `resource-type` - The resource type (`vpc` \| `vpn`).
|
18568
18594
|
#
|
18569
18595
|
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
@@ -18656,14 +18682,15 @@ module Aws::EC2
|
|
18656
18682
|
# default propagation route table for the transit gateway (`true` \|
|
18657
18683
|
# `false`).
|
18658
18684
|
#
|
18685
|
+
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
18686
|
+
# `pending` \| `available` \| `modifying` \| `deleting` \| `deleted`
|
18687
|
+
# \| `failed` \| `rejected`).
|
18688
|
+
#
|
18659
18689
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
18660
18690
|
#
|
18661
18691
|
# * `transit-gateway-route-table-id` - The ID of the transit gateway
|
18662
18692
|
# route table.
|
18663
18693
|
#
|
18664
|
-
# * `transit-gateway-route-table-state` - The state (`pending` \|
|
18665
|
-
# `available` \| `deleting` \| `deleted`).
|
18666
|
-
#
|
18667
18694
|
# @option params [Integer] :max_results
|
18668
18695
|
# The maximum number of results to return with a single call. To
|
18669
18696
|
# retrieve the remaining results, make another call with the returned
|
@@ -18730,11 +18757,11 @@ module Aws::EC2
|
|
18730
18757
|
# @option params [Array<Types::Filter>] :filters
|
18731
18758
|
# One or more filters. The possible values are:
|
18732
18759
|
#
|
18733
|
-
# * `
|
18760
|
+
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
18761
|
+
# `pending` \| `available` \| `modifying` \| `deleting` \| `deleted`
|
18762
|
+
# \| `failed` \| `rejected`).
|
18734
18763
|
#
|
18735
|
-
# * `transit-gateway-attachment-
|
18736
|
-
# (`pendingAcceptance` \| `pending` \| `available` \| `modifying` \|
|
18737
|
-
# `deleting` \| `deleted` \| `failed` \| `rejected`).
|
18764
|
+
# * `transit-gateway-attachment-id` - The ID of the attachment.
|
18738
18765
|
#
|
18739
18766
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
18740
18767
|
#
|
@@ -18810,25 +18837,39 @@ module Aws::EC2
|
|
18810
18837
|
# @option params [Array<Types::Filter>] :filters
|
18811
18838
|
# One or more filters. The possible values are:
|
18812
18839
|
#
|
18813
|
-
# * `
|
18814
|
-
#
|
18840
|
+
# * `owner-id` - The ID of the AWS account that owns the transit
|
18841
|
+
# gateway.
|
18842
|
+
#
|
18843
|
+
# * `options.propagation-default-route-table-id` - The ID of the default
|
18844
|
+
# propagation route table.
|
18815
18845
|
#
|
18816
|
-
# * `
|
18846
|
+
# * `options.amazon-side-asn` - The private ASN for the Amazon side of a
|
18847
|
+
# BGP session.
|
18848
|
+
#
|
18849
|
+
# * `options.association-default-route-table-id` - The ID of the default
|
18817
18850
|
# association route table.
|
18818
18851
|
#
|
18819
|
-
# * `
|
18820
|
-
#
|
18852
|
+
# * `options.auto-accept-shared-attachments` - Indicates whether there
|
18853
|
+
# is automatic acceptance of attachment requests (`enable` \|
|
18854
|
+
# `disable`).
|
18855
|
+
#
|
18856
|
+
# * `options.default-route-table-association` - Indicates whether
|
18857
|
+
# resource attachments are automatically associated with the default
|
18821
18858
|
# association route table (`enable` \| `disable`).
|
18822
18859
|
#
|
18823
|
-
# * `default-route-table-propagation` - Indicates whether
|
18824
|
-
# attachments automatically propagate routes to the default
|
18860
|
+
# * `options.default-route-table-propagation` - Indicates whether
|
18861
|
+
# resource attachments automatically propagate routes to the default
|
18825
18862
|
# propagation route table (`enable` \| `disable`).
|
18826
18863
|
#
|
18827
|
-
# * `
|
18828
|
-
#
|
18864
|
+
# * `options.dns-support` - Indicates whether DNS support is enabled
|
18865
|
+
# (`enable` \| `disable`).
|
18829
18866
|
#
|
18830
|
-
# * `
|
18831
|
-
#
|
18867
|
+
# * `options.vpn-ecmp-support` - Indicates whether Equal Cost Multipath
|
18868
|
+
# Protocol support is enabled (`enable` \| `disable`).
|
18869
|
+
#
|
18870
|
+
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
18871
|
+
# `pending` \| `available` \| `modifying` \| `deleting` \| `deleted`
|
18872
|
+
# \| `failed` \| `rejected`).
|
18832
18873
|
#
|
18833
18874
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
18834
18875
|
#
|
@@ -22308,8 +22349,6 @@ module Aws::EC2
|
|
22308
22349
|
# @option params [Array<Types::Filter>] :filters
|
22309
22350
|
# One or more filters. The possible values are:
|
22310
22351
|
#
|
22311
|
-
# * `association-id` - The ID of the association.
|
22312
|
-
#
|
22313
22352
|
# * `resource-id` - The ID of the resource.
|
22314
22353
|
#
|
22315
22354
|
# * `resource-type` - The resource type (`vpc` \| `vpn`).
|
@@ -28871,9 +28910,6 @@ module Aws::EC2
|
|
28871
28910
|
# * `transit-gateway-route-type` - The route type (`static` \|
|
28872
28911
|
# `propagated`).
|
28873
28912
|
#
|
28874
|
-
# * `transit-gateway-route-vpn-connection-id` - The ID of the VPN
|
28875
|
-
# connection.
|
28876
|
-
#
|
28877
28913
|
# @option params [Integer] :max_results
|
28878
28914
|
# The maximum number of routes to return.
|
28879
28915
|
#
|
@@ -29730,7 +29766,7 @@ module Aws::EC2
|
|
29730
29766
|
params: params,
|
29731
29767
|
config: config)
|
29732
29768
|
context[:gem_name] = 'aws-sdk-ec2'
|
29733
|
-
context[:gem_version] = '1.
|
29769
|
+
context[:gem_version] = '1.66.0'
|
29734
29770
|
Seahorse::Client::Request.new(handlers, context)
|
29735
29771
|
end
|
29736
29772
|
|
@@ -3607,9 +3607,12 @@ module Aws::EC2
|
|
3607
3607
|
DescribeSpotInstanceRequestsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
3608
3608
|
DescribeSpotInstanceRequestsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3609
3609
|
DescribeSpotInstanceRequestsRequest.add_member(:spot_instance_request_ids, Shapes::ShapeRef.new(shape: SpotInstanceRequestIdList, location_name: "SpotInstanceRequestId"))
|
3610
|
+
DescribeSpotInstanceRequestsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
3611
|
+
DescribeSpotInstanceRequestsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
3610
3612
|
DescribeSpotInstanceRequestsRequest.struct_class = Types::DescribeSpotInstanceRequestsRequest
|
3611
3613
|
|
3612
3614
|
DescribeSpotInstanceRequestsResult.add_member(:spot_instance_requests, Shapes::ShapeRef.new(shape: SpotInstanceRequestList, location_name: "spotInstanceRequestSet"))
|
3615
|
+
DescribeSpotInstanceRequestsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
3613
3616
|
DescribeSpotInstanceRequestsResult.struct_class = Types::DescribeSpotInstanceRequestsResult
|
3614
3617
|
|
3615
3618
|
DescribeSpotPriceHistoryRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
@@ -5714,11 +5717,13 @@ module Aws::EC2
|
|
5714
5717
|
|
5715
5718
|
OnDemandOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: FleetOnDemandAllocationStrategy, location_name: "allocationStrategy"))
|
5716
5719
|
OnDemandOptions.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleInstanceType"))
|
5720
|
+
OnDemandOptions.add_member(:single_availability_zone, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleAvailabilityZone"))
|
5717
5721
|
OnDemandOptions.add_member(:min_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "minTargetCapacity"))
|
5718
5722
|
OnDemandOptions.struct_class = Types::OnDemandOptions
|
5719
5723
|
|
5720
5724
|
OnDemandOptionsRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: FleetOnDemandAllocationStrategy, location_name: "AllocationStrategy"))
|
5721
5725
|
OnDemandOptionsRequest.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "SingleInstanceType"))
|
5726
|
+
OnDemandOptionsRequest.add_member(:single_availability_zone, Shapes::ShapeRef.new(shape: Boolean, location_name: "SingleAvailabilityZone"))
|
5722
5727
|
OnDemandOptionsRequest.add_member(:min_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "MinTargetCapacity"))
|
5723
5728
|
OnDemandOptionsRequest.struct_class = Types::OnDemandOptionsRequest
|
5724
5729
|
|
@@ -6816,6 +6821,7 @@ module Aws::EC2
|
|
6816
6821
|
SpotOptions.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
|
6817
6822
|
SpotOptions.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instancePoolsToUseCount"))
|
6818
6823
|
SpotOptions.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleInstanceType"))
|
6824
|
+
SpotOptions.add_member(:single_availability_zone, Shapes::ShapeRef.new(shape: Boolean, location_name: "singleAvailabilityZone"))
|
6819
6825
|
SpotOptions.add_member(:min_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "minTargetCapacity"))
|
6820
6826
|
SpotOptions.struct_class = Types::SpotOptions
|
6821
6827
|
|
@@ -6823,6 +6829,7 @@ module Aws::EC2
|
|
6823
6829
|
SpotOptionsRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
|
6824
6830
|
SpotOptionsRequest.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstancePoolsToUseCount"))
|
6825
6831
|
SpotOptionsRequest.add_member(:single_instance_type, Shapes::ShapeRef.new(shape: Boolean, location_name: "SingleInstanceType"))
|
6832
|
+
SpotOptionsRequest.add_member(:single_availability_zone, Shapes::ShapeRef.new(shape: Boolean, location_name: "SingleAvailabilityZone"))
|
6826
6833
|
SpotOptionsRequest.add_member(:min_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "MinTargetCapacity"))
|
6827
6834
|
SpotOptionsRequest.struct_class = Types::SpotOptionsRequest
|
6828
6835
|
|
@@ -402,11 +402,12 @@ module Aws::EC2
|
|
402
402
|
#
|
403
403
|
# * `owner-id` - The AWS account ID of the instance owner.
|
404
404
|
#
|
405
|
-
# * `partition-number` - The partition in which the instance is located.
|
406
|
-
#
|
407
405
|
# * `placement-group-name` - The name of the placement group for the
|
408
406
|
# instance.
|
409
407
|
#
|
408
|
+
# * `placement-partition-number` - The partition in which the instance
|
409
|
+
# is located.
|
410
|
+
#
|
410
411
|
# * `platform` - The platform. Use `windows` if you have Windows
|
411
412
|
# instances; otherwise, leave blank.
|
412
413
|
#
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1641,11 +1641,12 @@ module Aws::EC2
|
|
1641
1641
|
#
|
1642
1642
|
# * `owner-id` - The AWS account ID of the instance owner.
|
1643
1643
|
#
|
1644
|
-
# * `partition-number` - The partition in which the instance is located.
|
1645
|
-
#
|
1646
1644
|
# * `placement-group-name` - The name of the placement group for the
|
1647
1645
|
# instance.
|
1648
1646
|
#
|
1647
|
+
# * `placement-partition-number` - The partition in which the instance
|
1648
|
+
# is located.
|
1649
|
+
#
|
1649
1650
|
# * `platform` - The platform. Use `windows` if you have Windows
|
1650
1651
|
# instances; otherwise, leave blank.
|
1651
1652
|
#
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -952,11 +952,12 @@ module Aws::EC2
|
|
952
952
|
#
|
953
953
|
# * `owner-id` - The AWS account ID of the instance owner.
|
954
954
|
#
|
955
|
-
# * `partition-number` - The partition in which the instance is located.
|
956
|
-
#
|
957
955
|
# * `placement-group-name` - The name of the placement group for the
|
958
956
|
# instance.
|
959
957
|
#
|
958
|
+
# * `placement-partition-number` - The partition in which the instance
|
959
|
+
# is located.
|
960
|
+
#
|
960
961
|
# * `platform` - The platform. Use `windows` if you have Windows
|
961
962
|
# instances; otherwise, leave blank.
|
962
963
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4570,11 +4570,13 @@ module Aws::EC2
|
|
4570
4570
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
4571
4571
|
# instance_pools_to_use_count: 1,
|
4572
4572
|
# single_instance_type: false,
|
4573
|
+
# single_availability_zone: false,
|
4573
4574
|
# min_target_capacity: 1,
|
4574
4575
|
# },
|
4575
4576
|
# on_demand_options: {
|
4576
4577
|
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
4577
4578
|
# single_instance_type: false,
|
4579
|
+
# single_availability_zone: false,
|
4578
4580
|
# min_target_capacity: 1,
|
4579
4581
|
# },
|
4580
4582
|
# excess_capacity_termination_policy: "no-termination", # accepts no-termination, termination
|
@@ -12137,12 +12139,12 @@ module Aws::EC2
|
|
12137
12139
|
#
|
12138
12140
|
# * `owner-id` - The AWS account ID of the instance owner.
|
12139
12141
|
#
|
12140
|
-
# * `partition-number` - The partition in which the instance is
|
12141
|
-
# located.
|
12142
|
-
#
|
12143
12142
|
# * `placement-group-name` - The name of the placement group for the
|
12144
12143
|
# instance.
|
12145
12144
|
#
|
12145
|
+
# * `placement-partition-number` - The partition in which the instance
|
12146
|
+
# is located.
|
12147
|
+
#
|
12146
12148
|
# * `platform` - The platform. Use `windows` if you have Windows
|
12147
12149
|
# instances; otherwise, leave blank.
|
12148
12150
|
#
|
@@ -15007,6 +15009,8 @@ module Aws::EC2
|
|
15007
15009
|
# ],
|
15008
15010
|
# dry_run: false,
|
15009
15011
|
# spot_instance_request_ids: ["String"],
|
15012
|
+
# next_token: "String",
|
15013
|
+
# max_results: 1,
|
15010
15014
|
# }
|
15011
15015
|
#
|
15012
15016
|
# @!attribute [rw] filters
|
@@ -15143,12 +15147,25 @@ module Aws::EC2
|
|
15143
15147
|
# One or more Spot Instance request IDs.
|
15144
15148
|
# @return [Array<String>]
|
15145
15149
|
#
|
15150
|
+
# @!attribute [rw] next_token
|
15151
|
+
# The token to request the next set of results. This value is `null`
|
15152
|
+
# when there are no more results to return.
|
15153
|
+
# @return [String]
|
15154
|
+
#
|
15155
|
+
# @!attribute [rw] max_results
|
15156
|
+
# The maximum number of results to return in a single call. Specify a
|
15157
|
+
# value between 5 and 1000. To retrieve the remaining results, make
|
15158
|
+
# another call with the returned `NextToken` value.
|
15159
|
+
# @return [Integer]
|
15160
|
+
#
|
15146
15161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsRequest AWS API Documentation
|
15147
15162
|
#
|
15148
15163
|
class DescribeSpotInstanceRequestsRequest < Struct.new(
|
15149
15164
|
:filters,
|
15150
15165
|
:dry_run,
|
15151
|
-
:spot_instance_request_ids
|
15166
|
+
:spot_instance_request_ids,
|
15167
|
+
:next_token,
|
15168
|
+
:max_results)
|
15152
15169
|
include Aws::Structure
|
15153
15170
|
end
|
15154
15171
|
|
@@ -15158,10 +15175,16 @@ module Aws::EC2
|
|
15158
15175
|
# One or more Spot Instance requests.
|
15159
15176
|
# @return [Array<Types::SpotInstanceRequest>]
|
15160
15177
|
#
|
15178
|
+
# @!attribute [rw] next_token
|
15179
|
+
# The token to use to retrieve the next set of results. This value is
|
15180
|
+
# `null` when there are no more results to return.
|
15181
|
+
# @return [String]
|
15182
|
+
#
|
15161
15183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsResult AWS API Documentation
|
15162
15184
|
#
|
15163
15185
|
class DescribeSpotInstanceRequestsResult < Struct.new(
|
15164
|
-
:spot_instance_requests
|
15186
|
+
:spot_instance_requests,
|
15187
|
+
:next_token)
|
15165
15188
|
include Aws::Structure
|
15166
15189
|
end
|
15167
15190
|
|
@@ -15548,16 +15571,17 @@ module Aws::EC2
|
|
15548
15571
|
# @!attribute [rw] filters
|
15549
15572
|
# One or more filters. The possible values are:
|
15550
15573
|
#
|
15551
|
-
# * `association-id` - The ID of the
|
15552
|
-
#
|
15553
|
-
# * `association-route-table-id` - The ID of the route table for the
|
15554
|
-
# transit gateway.
|
15574
|
+
# * `association.transit-gateway-route-table-id` - The ID of the route
|
15575
|
+
# table for the transit gateway.
|
15555
15576
|
#
|
15556
|
-
# * `
|
15557
|
-
# `associated` \| `disassociating`).
|
15577
|
+
# * `association.state` - The state of the association (`associating`
|
15578
|
+
# \| `associated` \| `disassociating`).
|
15558
15579
|
#
|
15559
15580
|
# * `resource-id` - The ID of the resource.
|
15560
15581
|
#
|
15582
|
+
# * `resource-owner` - The ID of the AWS account that owns the
|
15583
|
+
# resource.
|
15584
|
+
#
|
15561
15585
|
# * `resource-type` - The resource type (`vpc` \| `vpn`).
|
15562
15586
|
#
|
15563
15587
|
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
@@ -15648,13 +15672,14 @@ module Aws::EC2
|
|
15648
15672
|
# default propagation route table for the transit gateway (`true` \|
|
15649
15673
|
# `false`).
|
15650
15674
|
#
|
15675
|
+
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
15676
|
+
# `pending` \| `available` \| `modifying` \| `deleting` \| `deleted`
|
15677
|
+
# \| `failed` \| `rejected`).
|
15678
|
+
#
|
15651
15679
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
15652
15680
|
#
|
15653
15681
|
# * `transit-gateway-route-table-id` - The ID of the transit gateway
|
15654
15682
|
# route table.
|
15655
|
-
#
|
15656
|
-
# * `transit-gateway-route-table-state` - The state (`pending` \|
|
15657
|
-
# `available` \| `deleting` \| `deleted`).
|
15658
15683
|
# @return [Array<Types::Filter>]
|
15659
15684
|
#
|
15660
15685
|
# @!attribute [rw] max_results
|
@@ -15725,11 +15750,11 @@ module Aws::EC2
|
|
15725
15750
|
# @!attribute [rw] filters
|
15726
15751
|
# One or more filters. The possible values are:
|
15727
15752
|
#
|
15728
|
-
# * `
|
15753
|
+
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
15754
|
+
# `pending` \| `available` \| `modifying` \| `deleting` \| `deleted`
|
15755
|
+
# \| `failed` \| `rejected`).
|
15729
15756
|
#
|
15730
|
-
# * `transit-gateway-attachment-
|
15731
|
-
# (`pendingAcceptance` \| `pending` \| `available` \| `modifying` \|
|
15732
|
-
# `deleting` \| `deleted` \| `failed` \| `rejected`).
|
15757
|
+
# * `transit-gateway-attachment-id` - The ID of the attachment.
|
15733
15758
|
#
|
15734
15759
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
15735
15760
|
#
|
@@ -15804,25 +15829,39 @@ module Aws::EC2
|
|
15804
15829
|
# @!attribute [rw] filters
|
15805
15830
|
# One or more filters. The possible values are:
|
15806
15831
|
#
|
15807
|
-
# * `
|
15808
|
-
#
|
15832
|
+
# * `owner-id` - The ID of the AWS account that owns the transit
|
15833
|
+
# gateway.
|
15834
|
+
#
|
15835
|
+
# * `options.propagation-default-route-table-id` - The ID of the
|
15836
|
+
# default propagation route table.
|
15837
|
+
#
|
15838
|
+
# * `options.amazon-side-asn` - The private ASN for the Amazon side of
|
15839
|
+
# a BGP session.
|
15809
15840
|
#
|
15810
|
-
# * `association-default-route-table-id` - The ID of the
|
15811
|
-
# association route table.
|
15841
|
+
# * `options.association-default-route-table-id` - The ID of the
|
15842
|
+
# default association route table.
|
15812
15843
|
#
|
15813
|
-
# * `
|
15814
|
-
#
|
15844
|
+
# * `options.auto-accept-shared-attachments` - Indicates whether there
|
15845
|
+
# is automatic acceptance of attachment requests (`enable` \|
|
15846
|
+
# `disable`).
|
15847
|
+
#
|
15848
|
+
# * `options.default-route-table-association` - Indicates whether
|
15849
|
+
# resource attachments are automatically associated with the default
|
15815
15850
|
# association route table (`enable` \| `disable`).
|
15816
15851
|
#
|
15817
|
-
# * `default-route-table-propagation` - Indicates whether
|
15818
|
-
# attachments automatically propagate routes to the default
|
15852
|
+
# * `options.default-route-table-propagation` - Indicates whether
|
15853
|
+
# resource attachments automatically propagate routes to the default
|
15819
15854
|
# propagation route table (`enable` \| `disable`).
|
15820
15855
|
#
|
15821
|
-
# * `
|
15822
|
-
#
|
15856
|
+
# * `options.dns-support` - Indicates whether DNS support is enabled
|
15857
|
+
# (`enable` \| `disable`).
|
15823
15858
|
#
|
15824
|
-
# * `
|
15825
|
-
#
|
15859
|
+
# * `options.vpn-ecmp-support` - Indicates whether Equal Cost
|
15860
|
+
# Multipath Protocol support is enabled (`enable` \| `disable`).
|
15861
|
+
#
|
15862
|
+
# * `state` - The state of the attachment (`pendingAcceptance` \|
|
15863
|
+
# `pending` \| `available` \| `modifying` \| `deleting` \| `deleted`
|
15864
|
+
# \| `failed` \| `rejected`).
|
15826
15865
|
#
|
15827
15866
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
15828
15867
|
#
|
@@ -20119,8 +20158,6 @@ module Aws::EC2
|
|
20119
20158
|
# @!attribute [rw] filters
|
20120
20159
|
# One or more filters. The possible values are:
|
20121
20160
|
#
|
20122
|
-
# * `association-id` - The ID of the association.
|
20123
|
-
#
|
20124
20161
|
# * `resource-id` - The ID of the resource.
|
20125
20162
|
#
|
20126
20163
|
# * `resource-type` - The resource type (`vpc` \| `vpn`).
|
@@ -27450,6 +27487,11 @@ module Aws::EC2
|
|
27450
27487
|
# On-Demand Instances in the fleet.
|
27451
27488
|
# @return [Boolean]
|
27452
27489
|
#
|
27490
|
+
# @!attribute [rw] single_availability_zone
|
27491
|
+
# Indicates that the fleet launches all On-Demand Instances into a
|
27492
|
+
# single Availability Zone.
|
27493
|
+
# @return [Boolean]
|
27494
|
+
#
|
27453
27495
|
# @!attribute [rw] min_target_capacity
|
27454
27496
|
# The minimum target capacity for On-Demand Instances in the fleet. If
|
27455
27497
|
# the minimum target capacity is not reached, the fleet launches no
|
@@ -27461,6 +27503,7 @@ module Aws::EC2
|
|
27461
27503
|
class OnDemandOptions < Struct.new(
|
27462
27504
|
:allocation_strategy,
|
27463
27505
|
:single_instance_type,
|
27506
|
+
:single_availability_zone,
|
27464
27507
|
:min_target_capacity)
|
27465
27508
|
include Aws::Structure
|
27466
27509
|
end
|
@@ -27473,6 +27516,7 @@ module Aws::EC2
|
|
27473
27516
|
# {
|
27474
27517
|
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
27475
27518
|
# single_instance_type: false,
|
27519
|
+
# single_availability_zone: false,
|
27476
27520
|
# min_target_capacity: 1,
|
27477
27521
|
# }
|
27478
27522
|
#
|
@@ -27491,6 +27535,11 @@ module Aws::EC2
|
|
27491
27535
|
# On-Demand Instances in the fleet.
|
27492
27536
|
# @return [Boolean]
|
27493
27537
|
#
|
27538
|
+
# @!attribute [rw] single_availability_zone
|
27539
|
+
# Indicates that the fleet launches all On-Demand Instances into a
|
27540
|
+
# single Availability Zone.
|
27541
|
+
# @return [Boolean]
|
27542
|
+
#
|
27494
27543
|
# @!attribute [rw] min_target_capacity
|
27495
27544
|
# The minimum target capacity for On-Demand Instances in the fleet. If
|
27496
27545
|
# the minimum target capacity is not reached, the fleet launches no
|
@@ -27502,6 +27551,7 @@ module Aws::EC2
|
|
27502
27551
|
class OnDemandOptionsRequest < Struct.new(
|
27503
27552
|
:allocation_strategy,
|
27504
27553
|
:single_instance_type,
|
27554
|
+
:single_availability_zone,
|
27505
27555
|
:min_target_capacity)
|
27506
27556
|
include Aws::Structure
|
27507
27557
|
end
|
@@ -33030,9 +33080,6 @@ module Aws::EC2
|
|
33030
33080
|
#
|
33031
33081
|
# * `transit-gateway-route-type` - The route type (`static` \|
|
33032
33082
|
# `propagated`).
|
33033
|
-
#
|
33034
|
-
# * `transit-gateway-route-vpn-connection-id` - The ID of the VPN
|
33035
|
-
# connection.
|
33036
33083
|
# @return [Array<Types::Filter>]
|
33037
33084
|
#
|
33038
33085
|
# @!attribute [rw] max_results
|
@@ -33517,7 +33564,7 @@ module Aws::EC2
|
|
33517
33564
|
# @!attribute [rw] format
|
33518
33565
|
# The format of the disk image being imported.
|
33519
33566
|
#
|
33520
|
-
# Valid values: `VHD` \| `VMDK`
|
33567
|
+
# Valid values: `VHD` \| `VMDK`
|
33521
33568
|
# @return [String]
|
33522
33569
|
#
|
33523
33570
|
# @!attribute [rw] url
|
@@ -34142,10 +34189,11 @@ module Aws::EC2
|
|
34142
34189
|
# is `request`, the Spot Fleet only places the required requests. It
|
34143
34190
|
# does not attempt to replenish Spot Instances if capacity is
|
34144
34191
|
# diminished, nor does it submit requests in alternative Spot pools if
|
34145
|
-
# capacity is not available.
|
34146
|
-
#
|
34147
|
-
# automatically replenishes any
|
34148
|
-
# `maintain`.
|
34192
|
+
# capacity is not available. When this value is `maintain`, the Spot
|
34193
|
+
# Fleet maintains the target capacity. The Spot Fleet places the
|
34194
|
+
# required requests to meet capacity and automatically replenishes any
|
34195
|
+
# interrupted instances. Default: `maintain`. `instant` is listed but
|
34196
|
+
# is not used by Spot Fleet.
|
34149
34197
|
# @return [String]
|
34150
34198
|
#
|
34151
34199
|
# @!attribute [rw] valid_from
|
@@ -34499,6 +34547,11 @@ module Aws::EC2
|
|
34499
34547
|
# Spot Instances in the fleet.
|
34500
34548
|
# @return [Boolean]
|
34501
34549
|
#
|
34550
|
+
# @!attribute [rw] single_availability_zone
|
34551
|
+
# Indicates that the fleet launches all Spot Instances into a single
|
34552
|
+
# Availability Zone.
|
34553
|
+
# @return [Boolean]
|
34554
|
+
#
|
34502
34555
|
# @!attribute [rw] min_target_capacity
|
34503
34556
|
# The minimum target capacity for Spot Instances in the fleet. If the
|
34504
34557
|
# minimum target capacity is not reached, the fleet launches no
|
@@ -34512,6 +34565,7 @@ module Aws::EC2
|
|
34512
34565
|
:instance_interruption_behavior,
|
34513
34566
|
:instance_pools_to_use_count,
|
34514
34567
|
:single_instance_type,
|
34568
|
+
:single_availability_zone,
|
34515
34569
|
:min_target_capacity)
|
34516
34570
|
include Aws::Structure
|
34517
34571
|
end
|
@@ -34526,6 +34580,7 @@ module Aws::EC2
|
|
34526
34580
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
34527
34581
|
# instance_pools_to_use_count: 1,
|
34528
34582
|
# single_instance_type: false,
|
34583
|
+
# single_availability_zone: false,
|
34529
34584
|
# min_target_capacity: 1,
|
34530
34585
|
# }
|
34531
34586
|
#
|
@@ -34552,6 +34607,11 @@ module Aws::EC2
|
|
34552
34607
|
# Spot Instances in the fleet.
|
34553
34608
|
# @return [Boolean]
|
34554
34609
|
#
|
34610
|
+
# @!attribute [rw] single_availability_zone
|
34611
|
+
# Indicates that the fleet launches all Spot Instances into a single
|
34612
|
+
# Availability Zone.
|
34613
|
+
# @return [Boolean]
|
34614
|
+
#
|
34555
34615
|
# @!attribute [rw] min_target_capacity
|
34556
34616
|
# The minimum target capacity for Spot Instances in the fleet. If the
|
34557
34617
|
# minimum target capacity is not reached, the fleet launches no
|
@@ -34565,6 +34625,7 @@ module Aws::EC2
|
|
34565
34625
|
:instance_interruption_behavior,
|
34566
34626
|
:instance_pools_to_use_count,
|
34567
34627
|
:single_instance_type,
|
34628
|
+
:single_availability_zone,
|
34568
34629
|
:min_target_capacity)
|
34569
34630
|
include Aws::Structure
|
34570
34631
|
end
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -984,11 +984,12 @@ module Aws::EC2
|
|
984
984
|
#
|
985
985
|
# * `owner-id` - The AWS account ID of the instance owner.
|
986
986
|
#
|
987
|
-
# * `partition-number` - The partition in which the instance is located.
|
988
|
-
#
|
989
987
|
# * `placement-group-name` - The name of the placement group for the
|
990
988
|
# instance.
|
991
989
|
#
|
990
|
+
# * `placement-partition-number` - The partition in which the instance
|
991
|
+
# is located.
|
992
|
+
#
|
992
993
|
# * `platform` - The platform. Use `windows` if you have Windows
|
993
994
|
# instances; otherwise, leave blank.
|
994
995
|
#
|
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.66.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:
|
11
|
+
date: 2019-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|