aws-sdk-ec2 1.125.0 → 1.126.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 +11 -5
- data/lib/aws-sdk-ec2/types.rb +57 -47
- 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: d91d1024c5ecd2aa9bc034c0af0cfa716ebfd6d9
|
4
|
+
data.tar.gz: eaa0b413bf6f09869edba39cc3d3b8fbc0726751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786388cf11d88eae5508de08fc1709bef5d6acd7ac77335d1c068701822b7fd512f5d11f8fe4ce1eba56173ab1e7d486e94b88aaecf8bcb19c8592c92f855b42
|
7
|
+
data.tar.gz: 2904deabe66a0a6b33f21917a6bc265cd6ef3e3ea48afb2759d01d4dd1fcef0e59a36f948f0d30c2f650ae258630e95d265a80db2a40b8c04edab5639de7213a
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4277,7 +4277,7 @@ module Aws::EC2
|
|
4277
4277
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
4278
4278
|
#
|
4279
4279
|
# @option params [String] :client_token
|
4280
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
4280
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
4281
4281
|
# idempotency of the request. For more information, see [Ensuring
|
4282
4282
|
# Idempotency][1].
|
4283
4283
|
#
|
@@ -11547,8 +11547,10 @@ module Aws::EC2
|
|
11547
11547
|
# * `default-vpc`\: The ID of the default VPC for your account, or
|
11548
11548
|
# `none`.
|
11549
11549
|
#
|
11550
|
-
# * `max-instances`\:
|
11551
|
-
#
|
11550
|
+
# * `max-instances`\: This attribute is no longer supported. The
|
11551
|
+
# returned value does not reflect your actual vCPU limit for running
|
11552
|
+
# On-Demand Instances. For more information, see [On-Demand Instance
|
11553
|
+
# Limits][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
11552
11554
|
#
|
11553
11555
|
# * `vpc-max-security-groups-per-interface`\: The maximum number of
|
11554
11556
|
# security groups that you can assign to a network interface.
|
@@ -11559,6 +11561,10 @@ module Aws::EC2
|
|
11559
11561
|
# * `vpc-max-elastic-ips`\: The maximum number of Elastic IP addresses
|
11560
11562
|
# that you can allocate for use with EC2-VPC.
|
11561
11563
|
#
|
11564
|
+
#
|
11565
|
+
#
|
11566
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits
|
11567
|
+
#
|
11562
11568
|
# @option params [Array<String>] :attribute_names
|
11563
11569
|
# The account attribute names.
|
11564
11570
|
#
|
@@ -13570,7 +13576,7 @@ module Aws::EC2
|
|
13570
13576
|
req.send_request(options)
|
13571
13577
|
end
|
13572
13578
|
|
13573
|
-
# Describes the specified EC2 Fleets or all your EC2 Fleets.
|
13579
|
+
# Describes the specified EC2 Fleets or all of your EC2 Fleets.
|
13574
13580
|
#
|
13575
13581
|
# @option params [Boolean] :dry_run
|
13576
13582
|
# Checks whether you have the required permissions for the action,
|
@@ -35431,7 +35437,7 @@ module Aws::EC2
|
|
35431
35437
|
params: params,
|
35432
35438
|
config: config)
|
35433
35439
|
context[:gem_name] = 'aws-sdk-ec2'
|
35434
|
-
context[:gem_version] = '1.
|
35440
|
+
context[:gem_version] = '1.126.0'
|
35435
35441
|
Seahorse::Client::Request.new(handlers, context)
|
35436
35442
|
end
|
35437
35443
|
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -2908,11 +2908,14 @@ module Aws::EC2
|
|
2908
2908
|
#
|
2909
2909
|
# For more information about Capacity Reservations, see [On-Demand
|
2910
2910
|
# Capacity Reservations][1] in the *Amazon Elastic Compute Cloud User
|
2911
|
-
# Guide*.
|
2911
|
+
# Guide*. For examples of using Capacity Reservations in an EC2 Fleet,
|
2912
|
+
# see [EC2 Fleet Example Configurations][2] in the *Amazon Elastic
|
2913
|
+
# Compute Cloud User Guide*.
|
2912
2914
|
#
|
2913
2915
|
#
|
2914
2916
|
#
|
2915
2917
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html
|
2918
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html
|
2916
2919
|
#
|
2917
2920
|
# @!attribute [rw] usage_strategy
|
2918
2921
|
# Indicates whether to use unused Capacity Reservations for fulfilling
|
@@ -2920,15 +2923,16 @@ module Aws::EC2
|
|
2920
2923
|
#
|
2921
2924
|
# If you specify `use-capacity-reservations-first`, the fleet uses
|
2922
2925
|
# unused Capacity Reservations to fulfill On-Demand capacity up to the
|
2923
|
-
# target On-Demand capacity. If
|
2924
|
-
# Reservations
|
2925
|
-
#
|
2926
|
-
# unused Capacity Reservations
|
2927
|
-
# the On-Demand
|
2928
|
-
#
|
2926
|
+
# target On-Demand capacity. If multiple instance pools have unused
|
2927
|
+
# Capacity Reservations, the On-Demand allocation strategy
|
2928
|
+
# (`lowest-price` or `prioritized`) is applied. If the number of
|
2929
|
+
# unused Capacity Reservations is less than the On-Demand target
|
2930
|
+
# capacity, the remaining On-Demand target capacity is launched
|
2931
|
+
# according to the On-Demand allocation strategy (`lowest-price` or
|
2932
|
+
# `prioritized`).
|
2929
2933
|
#
|
2930
2934
|
# If you do not specify a value, the fleet fulfils the On-Demand
|
2931
|
-
# capacity
|
2935
|
+
# capacity according to the chosen On-Demand allocation strategy.
|
2932
2936
|
# @return [String]
|
2933
2937
|
#
|
2934
2938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationOptions AWS API Documentation
|
@@ -2947,11 +2951,14 @@ module Aws::EC2
|
|
2947
2951
|
#
|
2948
2952
|
# For more information about Capacity Reservations, see [On-Demand
|
2949
2953
|
# Capacity Reservations][1] in the *Amazon Elastic Compute Cloud User
|
2950
|
-
# Guide*.
|
2954
|
+
# Guide*. For examples of using Capacity Reservations in an EC2 Fleet,
|
2955
|
+
# see [EC2 Fleet Example Configurations][2] in the *Amazon Elastic
|
2956
|
+
# Compute Cloud User Guide*.
|
2951
2957
|
#
|
2952
2958
|
#
|
2953
2959
|
#
|
2954
2960
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html
|
2961
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-examples.html
|
2955
2962
|
#
|
2956
2963
|
# @note When making an API call, you may pass CapacityReservationOptionsRequest
|
2957
2964
|
# data as a hash:
|
@@ -2966,15 +2973,16 @@ module Aws::EC2
|
|
2966
2973
|
#
|
2967
2974
|
# If you specify `use-capacity-reservations-first`, the fleet uses
|
2968
2975
|
# unused Capacity Reservations to fulfill On-Demand capacity up to the
|
2969
|
-
# target On-Demand capacity. If
|
2970
|
-
# Reservations
|
2971
|
-
#
|
2972
|
-
# unused Capacity Reservations
|
2973
|
-
# the On-Demand
|
2974
|
-
#
|
2976
|
+
# target On-Demand capacity. If multiple instance pools have unused
|
2977
|
+
# Capacity Reservations, the On-Demand allocation strategy
|
2978
|
+
# (`lowest-price` or `prioritized`) is applied. If the number of
|
2979
|
+
# unused Capacity Reservations is less than the On-Demand target
|
2980
|
+
# capacity, the remaining On-Demand target capacity is launched
|
2981
|
+
# according to the On-Demand allocation strategy (`lowest-price` or
|
2982
|
+
# `prioritized`).
|
2975
2983
|
#
|
2976
2984
|
# If you do not specify a value, the fleet fulfils the On-Demand
|
2977
|
-
# capacity
|
2985
|
+
# capacity according to the chosen On-Demand allocation strategy.
|
2978
2986
|
# @return [String]
|
2979
2987
|
#
|
2980
2988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationOptionsRequest AWS API Documentation
|
@@ -5055,8 +5063,8 @@ module Aws::EC2
|
|
5055
5063
|
#
|
5056
5064
|
# @!attribute [rw] launch_template_and_overrides
|
5057
5065
|
# The launch templates and overrides that were used for launching the
|
5058
|
-
# instances.
|
5059
|
-
#
|
5066
|
+
# instances. The values that you specify in the Overrides replace the
|
5067
|
+
# values in the launch template.
|
5060
5068
|
# @return [Types::LaunchTemplateAndOverridesResponse]
|
5061
5069
|
#
|
5062
5070
|
# @!attribute [rw] lifecycle
|
@@ -5076,7 +5084,7 @@ module Aws::EC2
|
|
5076
5084
|
#
|
5077
5085
|
# @!attribute [rw] error_message
|
5078
5086
|
# The error message that describes why the instance could not be
|
5079
|
-
# launched. For more information about error messages, see
|
5087
|
+
# launched. For more information about error messages, see [Error
|
5080
5088
|
# Codes][1].
|
5081
5089
|
#
|
5082
5090
|
#
|
@@ -5098,8 +5106,8 @@ module Aws::EC2
|
|
5098
5106
|
#
|
5099
5107
|
# @!attribute [rw] launch_template_and_overrides
|
5100
5108
|
# The launch templates and overrides that were used for launching the
|
5101
|
-
# instances.
|
5102
|
-
#
|
5109
|
+
# instances. The values that you specify in the Overrides replace the
|
5110
|
+
# values in the launch template.
|
5103
5111
|
# @return [Types::LaunchTemplateAndOverridesResponse]
|
5104
5112
|
#
|
5105
5113
|
# @!attribute [rw] lifecycle
|
@@ -5116,7 +5124,8 @@ module Aws::EC2
|
|
5116
5124
|
# @return [String]
|
5117
5125
|
#
|
5118
5126
|
# @!attribute [rw] platform
|
5119
|
-
# The value is `Windows` for Windows instances
|
5127
|
+
# The value is `Windows` for Windows instances. Otherwise, the value
|
5128
|
+
# is blank.
|
5120
5129
|
# @return [String]
|
5121
5130
|
#
|
5122
5131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleetInstance AWS API Documentation
|
@@ -5217,7 +5226,7 @@ module Aws::EC2
|
|
5217
5226
|
# @return [Boolean]
|
5218
5227
|
#
|
5219
5228
|
# @!attribute [rw] client_token
|
5220
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
5229
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
5221
5230
|
# idempotency of the request. For more information, see [Ensuring
|
5222
5231
|
# Idempotency][1].
|
5223
5232
|
#
|
@@ -12642,8 +12651,8 @@ module Aws::EC2
|
|
12642
12651
|
#
|
12643
12652
|
# @!attribute [rw] launch_template_and_overrides
|
12644
12653
|
# The launch templates and overrides that were used for launching the
|
12645
|
-
# instances.
|
12646
|
-
#
|
12654
|
+
# instances. The values that you specify in the Overrides replace the
|
12655
|
+
# values in the launch template.
|
12647
12656
|
# @return [Types::LaunchTemplateAndOverridesResponse]
|
12648
12657
|
#
|
12649
12658
|
# @!attribute [rw] lifecycle
|
@@ -12663,7 +12672,7 @@ module Aws::EC2
|
|
12663
12672
|
#
|
12664
12673
|
# @!attribute [rw] error_message
|
12665
12674
|
# The error message that describes why the instance could not be
|
12666
|
-
# launched. For more information about error messages, see
|
12675
|
+
# launched. For more information about error messages, see [Error
|
12667
12676
|
# Codes][1].
|
12668
12677
|
#
|
12669
12678
|
#
|
@@ -12857,8 +12866,8 @@ module Aws::EC2
|
|
12857
12866
|
#
|
12858
12867
|
# @!attribute [rw] launch_template_and_overrides
|
12859
12868
|
# The launch templates and overrides that were used for launching the
|
12860
|
-
# instances.
|
12861
|
-
#
|
12869
|
+
# instances. The values that you specify in the Overrides replace the
|
12870
|
+
# values in the launch template.
|
12862
12871
|
# @return [Types::LaunchTemplateAndOverridesResponse]
|
12863
12872
|
#
|
12864
12873
|
# @!attribute [rw] lifecycle
|
@@ -12875,7 +12884,8 @@ module Aws::EC2
|
|
12875
12884
|
# @return [String]
|
12876
12885
|
#
|
12877
12886
|
# @!attribute [rw] platform
|
12878
|
-
# The value is `Windows` for Windows instances
|
12887
|
+
# The value is `Windows` for Windows instances. Otherwise, the value
|
12888
|
+
# is blank.
|
12879
12889
|
# @return [String]
|
12880
12890
|
#
|
12881
12891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetsInstances AWS API Documentation
|
@@ -23376,7 +23386,7 @@ module Aws::EC2
|
|
23376
23386
|
# @return [String]
|
23377
23387
|
#
|
23378
23388
|
# @!attribute [rw] client_token
|
23379
|
-
# Unique, case-sensitive identifier you provide to ensure the
|
23389
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
23380
23390
|
# idempotency of the request. For more information, see [Ensuring
|
23381
23391
|
# Idempotency][1].
|
23382
23392
|
#
|
@@ -23425,11 +23435,11 @@ module Aws::EC2
|
|
23425
23435
|
# the target capacity, or also attempts to `maintain` it. If you
|
23426
23436
|
# request a certain target capacity, EC2 Fleet only places the
|
23427
23437
|
# required requests; it does not attempt to replenish instances if
|
23428
|
-
# capacity is diminished, and does not submit requests in
|
23429
|
-
# capacity pools if capacity is unavailable. To maintain a
|
23430
|
-
# target capacity, EC2 Fleet places the required requests to
|
23431
|
-
# target capacity. It also automatically replenishes any
|
23432
|
-
# Spot Instances. Default: `maintain`.
|
23438
|
+
# capacity is diminished, and it does not submit requests in
|
23439
|
+
# alternative capacity pools if capacity is unavailable. To maintain a
|
23440
|
+
# certain target capacity, EC2 Fleet places the required requests to
|
23441
|
+
# meet this target capacity. It also automatically replenishes any
|
23442
|
+
# interrupted Spot Instances. Default: `maintain`.
|
23433
23443
|
# @return [String]
|
23434
23444
|
#
|
23435
23445
|
# @!attribute [rw] valid_from
|
@@ -34716,7 +34726,7 @@ module Aws::EC2
|
|
34716
34726
|
# Describes the placement of an instance.
|
34717
34727
|
#
|
34718
34728
|
# @!attribute [rw] group_name
|
34719
|
-
# The name of the placement group the instance is in.
|
34729
|
+
# The name of the placement group that the instance is in.
|
34720
34730
|
# @return [String]
|
34721
34731
|
#
|
34722
34732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementResponse AWS API Documentation
|
@@ -42267,7 +42277,7 @@ module Aws::EC2
|
|
42267
42277
|
# is the default allocation strategy.
|
42268
42278
|
#
|
42269
42279
|
# If the allocation strategy is `diversified`, EC2 Fleet launches
|
42270
|
-
# instances from all the Spot Instance pools that you specify.
|
42280
|
+
# instances from all of the Spot Instance pools that you specify.
|
42271
42281
|
#
|
42272
42282
|
# If the allocation strategy is `capacity-optimized`, EC2 Fleet
|
42273
42283
|
# launches instances from Spot Instance pools with optimal capacity
|
@@ -42345,7 +42355,7 @@ module Aws::EC2
|
|
42345
42355
|
# is the default allocation strategy.
|
42346
42356
|
#
|
42347
42357
|
# If the allocation strategy is `diversified`, EC2 Fleet launches
|
42348
|
-
# instances from all the Spot Instance pools that you specify.
|
42358
|
+
# instances from all of the Spot Instance pools that you specify.
|
42349
42359
|
#
|
42350
42360
|
# If the allocation strategy is `capacity-optimized`, EC2 Fleet
|
42351
42361
|
# launches instances from Spot Instance pools with optimal capacity
|
@@ -43064,13 +43074,13 @@ module Aws::EC2
|
|
43064
43074
|
# of 0 and add capacity later.
|
43065
43075
|
#
|
43066
43076
|
# You can use the On-Demand Instance `MaxTotalPrice` parameter, the Spot
|
43067
|
-
# Instance `MaxTotalPrice`, or both to ensure your fleet cost does
|
43068
|
-
# exceed your budget. If you set a maximum price per hour for the
|
43077
|
+
# Instance `MaxTotalPrice`, or both to ensure that your fleet cost does
|
43078
|
+
# not exceed your budget. If you set a maximum price per hour for the
|
43069
43079
|
# On-Demand Instances and Spot Instances in your request, EC2 Fleet will
|
43070
|
-
# launch instances until it reaches the maximum amount you're
|
43071
|
-
# to pay. When the maximum amount you're willing to pay is
|
43072
|
-
# fleet stops launching instances even if it hasn’t met the
|
43073
|
-
# capacity. The `MaxTotalPrice` parameters are located in and
|
43080
|
+
# launch instances until it reaches the maximum amount that you're
|
43081
|
+
# willing to pay. When the maximum amount you're willing to pay is
|
43082
|
+
# reached, the fleet stops launching instances even if it hasn’t met the
|
43083
|
+
# target capacity. The `MaxTotalPrice` parameters are located in and
|
43074
43084
|
#
|
43075
43085
|
# @!attribute [rw] total_target_capacity
|
43076
43086
|
# The number of units to request, filled using
|
@@ -43116,9 +43126,9 @@ module Aws::EC2
|
|
43116
43126
|
# your fleet cost does not exceed your budget. If you set a maximum
|
43117
43127
|
# price per hour for the On-Demand Instances and Spot Instances in your
|
43118
43128
|
# request, EC2 Fleet will launch instances until it reaches the maximum
|
43119
|
-
# amount you're willing to pay. When the maximum amount you're
|
43120
|
-
# to pay is reached, the fleet stops launching instances even if
|
43121
|
-
# hasn’t met the target capacity. The `MaxTotalPrice` parameters are
|
43129
|
+
# amount that you're willing to pay. When the maximum amount you're
|
43130
|
+
# willing to pay is reached, the fleet stops launching instances even if
|
43131
|
+
# it hasn’t met the target capacity. The `MaxTotalPrice` parameters are
|
43122
43132
|
# located in and .
|
43123
43133
|
#
|
43124
43134
|
# @note When making an API call, you may pass TargetCapacitySpecificationRequest
|
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.126.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: 2019-12-
|
11
|
+
date: 2019-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|