aws-sdk-ec2 1.39.0 → 1.40.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 +201 -174
- data/lib/aws-sdk-ec2/client_api.rb +19 -0
- data/lib/aws-sdk-ec2/instance.rb +10 -10
- data/lib/aws-sdk-ec2/placement_group.rb +7 -7
- data/lib/aws-sdk-ec2/resource.rb +82 -72
- data/lib/aws-sdk-ec2/subnet.rb +16 -12
- data/lib/aws-sdk-ec2/types.rb +325 -163
- data/lib/aws-sdk-ec2/volume.rb +5 -5
- data/lib/aws-sdk-ec2/vpc.rb +48 -42
- 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: d44b12a19f8008945cbc6ac3b51d8fefcafb7519
|
4
|
+
data.tar.gz: 7cc6db85c475a65aad1df18515c6565f91b059bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f6e11df50db43f8649e4f005390c4f754cc78130cb635426456afbd45e535f2c2b6dc29f3e36cf3c8a84e3605530a2c5d86e4e42ba6aa4669b5a13da8d93230
|
7
|
+
data.tar.gz: f5d5087f959564c661f0bc357497d77fc61853b8f416ed747ee1d17d1d9fd39c5d75f5903f0b7319662856e544c199ce379a72b70cb057b309f5f774956767d5
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1777,13 +1777,6 @@ module Aws::EC2
|
|
1777
1777
|
#
|
1778
1778
|
# </note>
|
1779
1779
|
#
|
1780
|
-
# For more information, see [Creating an Instance Store-Backed Windows
|
1781
|
-
# AMI][1].
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
1785
|
-
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Creating_InstanceStoreBacked_WinAMI.html
|
1786
|
-
#
|
1787
1780
|
# @option params [required, String] :instance_id
|
1788
1781
|
# The ID of the instance to bundle.
|
1789
1782
|
#
|
@@ -3108,8 +3101,10 @@ module Aws::EC2
|
|
3108
3101
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
3109
3102
|
#
|
3110
3103
|
# @option params [Types::SpotOptionsRequest] :spot_options
|
3111
|
-
#
|
3112
|
-
#
|
3104
|
+
# Describes the configuration of Spot Instances in an EC2 Fleet.
|
3105
|
+
#
|
3106
|
+
# @option params [Types::OnDemandOptionsRequest] :on_demand_options
|
3107
|
+
# The allocation strategy of On-Demand Instances in an EC2 Fleet.
|
3113
3108
|
#
|
3114
3109
|
# @option params [String] :excess_capacity_termination_policy
|
3115
3110
|
# Indicates whether running instances should be terminated if the total
|
@@ -3176,6 +3171,10 @@ module Aws::EC2
|
|
3176
3171
|
# spot_options: {
|
3177
3172
|
# allocation_strategy: "lowest-price", # accepts lowest-price, diversified
|
3178
3173
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
3174
|
+
# instance_pools_to_use_count: 1,
|
3175
|
+
# },
|
3176
|
+
# on_demand_options: {
|
3177
|
+
# allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
|
3179
3178
|
# },
|
3180
3179
|
# excess_capacity_termination_policy: "no-termination", # accepts no-termination, termination
|
3181
3180
|
# launch_template_configs: [ # required
|
@@ -3192,6 +3191,7 @@ module Aws::EC2
|
|
3192
3191
|
# subnet_id: "String",
|
3193
3192
|
# availability_zone: "String",
|
3194
3193
|
# weighted_capacity: 1.0,
|
3194
|
+
# priority: 1.0,
|
3195
3195
|
# },
|
3196
3196
|
# ],
|
3197
3197
|
# },
|
@@ -8296,11 +8296,11 @@ module Aws::EC2
|
|
8296
8296
|
#
|
8297
8297
|
# * `public-ip` - The Elastic IP address.
|
8298
8298
|
#
|
8299
|
-
# * `tag
|
8300
|
-
#
|
8301
|
-
#
|
8302
|
-
#
|
8303
|
-
# filter value.
|
8299
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
8300
|
+
# the resource. Use the tag key in the filter name and the tag value
|
8301
|
+
# as the filter value. For example, to find all resources that have a
|
8302
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
8303
|
+
# for the filter name and `TeamA` for the filter value.
|
8304
8304
|
#
|
8305
8305
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
8306
8306
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -8721,8 +8721,11 @@ module Aws::EC2
|
|
8721
8721
|
#
|
8722
8722
|
# * `instance-id` - The ID of the instance.
|
8723
8723
|
#
|
8724
|
-
# * `tag
|
8725
|
-
#
|
8724
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
8725
|
+
# the resource. Use the tag key in the filter name and the tag value
|
8726
|
+
# as the filter value. For example, to find all resources that have a
|
8727
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
8728
|
+
# for the filter name and `TeamA` for the filter value.
|
8726
8729
|
#
|
8727
8730
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
8728
8731
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -8902,11 +8905,11 @@ module Aws::EC2
|
|
8902
8905
|
# * `type` - The type of customer gateway. Currently, the only supported
|
8903
8906
|
# type is `ipsec.1`.
|
8904
8907
|
#
|
8905
|
-
# * `tag
|
8906
|
-
#
|
8907
|
-
#
|
8908
|
-
#
|
8909
|
-
# filter value.
|
8908
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
8909
|
+
# the resource. Use the tag key in the filter name and the tag value
|
8910
|
+
# as the filter value. For example, to find all resources that have a
|
8911
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
8912
|
+
# for the filter name and `TeamA` for the filter value.
|
8910
8913
|
#
|
8911
8914
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
8912
8915
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -9003,11 +9006,11 @@ module Aws::EC2
|
|
9003
9006
|
#
|
9004
9007
|
# * `value` - The value for one of the options.
|
9005
9008
|
#
|
9006
|
-
# * `tag
|
9007
|
-
#
|
9008
|
-
#
|
9009
|
-
#
|
9010
|
-
# filter value.
|
9009
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
9010
|
+
# the resource. Use the tag key in the filter name and the tag value
|
9011
|
+
# as the filter value. For example, to find all resources that have a
|
9012
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
9013
|
+
# for the filter name and `TeamA` for the filter value.
|
9011
9014
|
#
|
9012
9015
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
9013
9016
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -9481,6 +9484,7 @@ module Aws::EC2
|
|
9481
9484
|
# resp.fleets[0].launch_template_configs[0].overrides[0].subnet_id #=> String
|
9482
9485
|
# resp.fleets[0].launch_template_configs[0].overrides[0].availability_zone #=> String
|
9483
9486
|
# resp.fleets[0].launch_template_configs[0].overrides[0].weighted_capacity #=> Float
|
9487
|
+
# resp.fleets[0].launch_template_configs[0].overrides[0].priority #=> Float
|
9484
9488
|
# resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
|
9485
9489
|
# resp.fleets[0].target_capacity_specification.on_demand_target_capacity #=> Integer
|
9486
9490
|
# resp.fleets[0].target_capacity_specification.spot_target_capacity #=> Integer
|
@@ -9492,6 +9496,8 @@ module Aws::EC2
|
|
9492
9496
|
# resp.fleets[0].replace_unhealthy_instances #=> Boolean
|
9493
9497
|
# resp.fleets[0].spot_options.allocation_strategy #=> String, one of "lowest-price", "diversified"
|
9494
9498
|
# resp.fleets[0].spot_options.instance_interruption_behavior #=> String, one of "hibernate", "stop", "terminate"
|
9499
|
+
# resp.fleets[0].spot_options.instance_pools_to_use_count #=> Integer
|
9500
|
+
# resp.fleets[0].on_demand_options.allocation_strategy #=> String, one of "lowest-price", "prioritized"
|
9495
9501
|
# resp.fleets[0].tags #=> Array
|
9496
9502
|
# resp.fleets[0].tags[0].key #=> String
|
9497
9503
|
# resp.fleets[0].tags[0].value #=> String
|
@@ -9666,11 +9672,11 @@ module Aws::EC2
|
|
9666
9672
|
# * `state` - The state of the AFI (`pending` \| `failed` \| `available`
|
9667
9673
|
# \| `unavailable`).
|
9668
9674
|
#
|
9669
|
-
# * `tag
|
9670
|
-
#
|
9671
|
-
#
|
9672
|
-
#
|
9673
|
-
# filter value.
|
9675
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
9676
|
+
# the resource. Use the tag key in the filter name and the tag value
|
9677
|
+
# as the filter value. For example, to find all resources that have a
|
9678
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
9679
|
+
# for the filter name and `TeamA` for the filter value.
|
9674
9680
|
#
|
9675
9681
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
9676
9682
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -9741,16 +9747,16 @@ module Aws::EC2
|
|
9741
9747
|
req.send_request(options)
|
9742
9748
|
end
|
9743
9749
|
|
9744
|
-
# Describes the Dedicated Host
|
9750
|
+
# Describes the Dedicated Host reservations that are available to
|
9745
9751
|
# purchase.
|
9746
9752
|
#
|
9747
|
-
# The results describe all the Dedicated Host
|
9753
|
+
# The results describe all the Dedicated Host reservation offerings,
|
9748
9754
|
# including offerings that may not match the instance family and region
|
9749
9755
|
# of your Dedicated Hosts. When purchasing an offering, ensure that the
|
9750
|
-
#
|
9751
|
-
# Dedicated
|
9752
|
-
# supported instance types, see [Dedicated Hosts
|
9753
|
-
# *Amazon Elastic Compute Cloud User Guide*.
|
9756
|
+
# instance family and Region of the offering matches that of the
|
9757
|
+
# Dedicated Hosts with which it is to be associated . For more
|
9758
|
+
# information about supported instance types, see [Dedicated Hosts
|
9759
|
+
# Overview][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
9754
9760
|
#
|
9755
9761
|
#
|
9756
9762
|
#
|
@@ -9759,25 +9765,25 @@ module Aws::EC2
|
|
9759
9765
|
# @option params [Array<Types::Filter>] :filter
|
9760
9766
|
# One or more filters.
|
9761
9767
|
#
|
9762
|
-
# * `instance-family` - The instance family of the offering (
|
9763
|
-
# `m4`).
|
9768
|
+
# * `instance-family` - The instance family of the offering (for
|
9769
|
+
# example, `m4`).
|
9764
9770
|
#
|
9765
9771
|
# * `payment-option` - The payment option (`NoUpfront` \|
|
9766
9772
|
# `PartialUpfront` \| `AllUpfront`).
|
9767
9773
|
#
|
9768
9774
|
# @option params [Integer] :max_duration
|
9769
|
-
# This is the maximum duration of the reservation
|
9770
|
-
#
|
9771
|
-
#
|
9772
|
-
#
|
9773
|
-
#
|
9775
|
+
# This is the maximum duration of the reservation to purchase, specified
|
9776
|
+
# in seconds. Reservations are available in one-year and three-year
|
9777
|
+
# terms. The number of seconds specified must be the number of seconds
|
9778
|
+
# in a year (365x24x60x60) times one of the supported durations (1 or
|
9779
|
+
# 3). For example, specify 94608000 for three years.
|
9774
9780
|
#
|
9775
9781
|
# @option params [Integer] :max_results
|
9776
9782
|
# The maximum number of results to return for the request in a single
|
9777
9783
|
# page. The remaining results can be seen by sending another request
|
9778
9784
|
# with the returned `nextToken` value. This value can be between 5 and
|
9779
|
-
# 500
|
9780
|
-
#
|
9785
|
+
# 500. If `maxResults` is given a larger value than 500, you receive an
|
9786
|
+
# error.
|
9781
9787
|
#
|
9782
9788
|
# @option params [Integer] :min_duration
|
9783
9789
|
# This is the minimum duration of the reservation you'd like to
|
@@ -9834,13 +9840,13 @@ module Aws::EC2
|
|
9834
9840
|
req.send_request(options)
|
9835
9841
|
end
|
9836
9842
|
|
9837
|
-
# Describes
|
9838
|
-
#
|
9843
|
+
# Describes reservations that are associated with Dedicated Hosts in
|
9844
|
+
# your account.
|
9839
9845
|
#
|
9840
9846
|
# @option params [Array<Types::Filter>] :filter
|
9841
9847
|
# One or more filters.
|
9842
9848
|
#
|
9843
|
-
# * `instance-family` - The instance family (
|
9849
|
+
# * `instance-family` - The instance family (for example, `m4`).
|
9844
9850
|
#
|
9845
9851
|
# * `payment-option` - The payment option (`NoUpfront` \|
|
9846
9852
|
# `PartialUpfront` \| `AllUpfront`).
|
@@ -9855,8 +9861,8 @@ module Aws::EC2
|
|
9855
9861
|
# The maximum number of results to return for the request in a single
|
9856
9862
|
# page. The remaining results can be seen by sending another request
|
9857
9863
|
# with the returned `nextToken` value. This value can be between 5 and
|
9858
|
-
# 500
|
9859
|
-
#
|
9864
|
+
# 500.If `maxResults` is given a larger value than 500, you receive an
|
9865
|
+
# error.
|
9860
9866
|
#
|
9861
9867
|
# @option params [String] :next_token
|
9862
9868
|
# The token to use to retrieve the next page of results.
|
@@ -9912,8 +9918,8 @@ module Aws::EC2
|
|
9912
9918
|
#
|
9913
9919
|
# The results describe only the Dedicated Hosts in the region you're
|
9914
9920
|
# currently using. All listed instances consume capacity on your
|
9915
|
-
# Dedicated Host. Dedicated Hosts that have recently been released
|
9916
|
-
#
|
9921
|
+
# Dedicated Host. Dedicated Hosts that have recently been released are
|
9922
|
+
# listed with the state `released`.
|
9917
9923
|
#
|
9918
9924
|
# @option params [Array<Types::Filter>] :filter
|
9919
9925
|
# One or more filters.
|
@@ -9923,7 +9929,7 @@ module Aws::EC2
|
|
9923
9929
|
#
|
9924
9930
|
# * `availability-zone` - The Availability Zone of the host.
|
9925
9931
|
#
|
9926
|
-
# * `client-token` - The idempotency token you provided when you
|
9932
|
+
# * `client-token` - The idempotency token that you provided when you
|
9927
9933
|
# allocated the host.
|
9928
9934
|
#
|
9929
9935
|
# * `host-reservation-id` - The ID of the reservation assigned to this
|
@@ -9948,9 +9954,9 @@ module Aws::EC2
|
|
9948
9954
|
# The maximum number of results to return for the request in a single
|
9949
9955
|
# page. The remaining results can be seen by sending another request
|
9950
9956
|
# with the returned `nextToken` value. This value can be between 5 and
|
9951
|
-
# 500
|
9952
|
-
#
|
9953
|
-
#
|
9957
|
+
# 500. If `maxResults` is given a larger value than 500, you receive an
|
9958
|
+
# error. You cannot specify this parameter and the host IDs parameter in
|
9959
|
+
# the same request.
|
9954
9960
|
#
|
9955
9961
|
# @option params [String] :next_token
|
9956
9962
|
# The token to retrieve the next page of results.
|
@@ -10413,11 +10419,11 @@ module Aws::EC2
|
|
10413
10419
|
# * `sriov-net-support` - A value of `simple` indicates that enhanced
|
10414
10420
|
# networking with the Intel 82599 VF interface is enabled.
|
10415
10421
|
#
|
10416
|
-
# * `tag
|
10417
|
-
#
|
10418
|
-
#
|
10419
|
-
#
|
10420
|
-
# filter value.
|
10422
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
10423
|
+
# the resource. Use the tag key in the filter name and the tag value
|
10424
|
+
# as the filter value. For example, to find all resources that have a
|
10425
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
10426
|
+
# for the filter name and `TeamA` for the filter value.
|
10421
10427
|
#
|
10422
10428
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
10423
10429
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -10997,7 +11003,7 @@ module Aws::EC2
|
|
10997
11003
|
# (for example, `2014-09-15T17:15:20.000Z`).
|
10998
11004
|
#
|
10999
11005
|
# * `instance-state-code` - The code for the instance state, as a 16-bit
|
11000
|
-
# unsigned integer. The high byte is
|
11006
|
+
# unsigned integer. The high byte is used for internal purposes and
|
11001
11007
|
# should be ignored. The low byte is set based on the state
|
11002
11008
|
# represented. The valid values are 0 (pending), 16 (running), 32
|
11003
11009
|
# (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
|
@@ -11217,7 +11223,7 @@ module Aws::EC2
|
|
11217
11223
|
# a Scheduled Instance (`spot` \| `scheduled`).
|
11218
11224
|
#
|
11219
11225
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
11220
|
-
# unsigned integer. The high byte is
|
11226
|
+
# unsigned integer. The high byte is used for internal purposes and
|
11221
11227
|
# should be ignored. The low byte is set based on the state
|
11222
11228
|
# represented. The valid values are: 0 (pending), 16 (running), 32
|
11223
11229
|
# (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).
|
@@ -11403,14 +11409,14 @@ module Aws::EC2
|
|
11403
11409
|
#
|
11404
11410
|
# * `subnet-id` - The ID of the subnet for the instance.
|
11405
11411
|
#
|
11406
|
-
# * `tag
|
11407
|
-
#
|
11408
|
-
#
|
11409
|
-
#
|
11410
|
-
# filter value.
|
11412
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
11413
|
+
# the resource. Use the tag key in the filter name and the tag value
|
11414
|
+
# as the filter value. For example, to find all resources that have a
|
11415
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
11416
|
+
# for the filter name and `TeamA` for the filter value.
|
11411
11417
|
#
|
11412
11418
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
11413
|
-
# filter to find all resources
|
11419
|
+
# filter to find all resources that have a tag with a specific key,
|
11414
11420
|
# regardless of the tag value.
|
11415
11421
|
#
|
11416
11422
|
# * `tenancy` - The tenancy of an instance (`dedicated` \| `default` \|
|
@@ -11652,11 +11658,11 @@ module Aws::EC2
|
|
11652
11658
|
#
|
11653
11659
|
# * `internet-gateway-id` - The ID of the Internet gateway.
|
11654
11660
|
#
|
11655
|
-
# * `tag
|
11656
|
-
#
|
11657
|
-
#
|
11658
|
-
#
|
11659
|
-
# filter value.
|
11661
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
11662
|
+
# the resource. Use the tag key in the filter name and the tag value
|
11663
|
+
# as the filter value. For example, to find all resources that have a
|
11664
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
11665
|
+
# for the filter name and `TeamA` for the filter value.
|
11660
11666
|
#
|
11661
11667
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
11662
11668
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -12072,11 +12078,11 @@ module Aws::EC2
|
|
12072
12078
|
#
|
12073
12079
|
# * `launch-template-name` - The name of the launch template.
|
12074
12080
|
#
|
12075
|
-
# * `tag
|
12076
|
-
#
|
12077
|
-
#
|
12078
|
-
#
|
12079
|
-
# filter value.
|
12081
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
12082
|
+
# the resource. Use the tag key in the filter name and the tag value
|
12083
|
+
# as the filter value. For example, to find all resources that have a
|
12084
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
12085
|
+
# for the filter name and `TeamA` for the filter value.
|
12080
12086
|
#
|
12081
12087
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
12082
12088
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -12259,11 +12265,11 @@ module Aws::EC2
|
|
12259
12265
|
#
|
12260
12266
|
# * `subnet-id` - The ID of the subnet in which the NAT gateway resides.
|
12261
12267
|
#
|
12262
|
-
# * `tag
|
12263
|
-
#
|
12264
|
-
#
|
12265
|
-
#
|
12266
|
-
# filter value.
|
12268
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
12269
|
+
# the resource. Use the tag key in the filter name and the tag value
|
12270
|
+
# as the filter value. For example, to find all resources that have a
|
12271
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
12272
|
+
# for the filter name and `TeamA` for the filter value.
|
12267
12273
|
#
|
12268
12274
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
12269
12275
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -12428,11 +12434,11 @@ module Aws::EC2
|
|
12428
12434
|
#
|
12429
12435
|
# * `network-acl-id` - The ID of the network ACL.
|
12430
12436
|
#
|
12431
|
-
# * `tag
|
12432
|
-
#
|
12433
|
-
#
|
12434
|
-
#
|
12435
|
-
# filter value.
|
12437
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
12438
|
+
# the resource. Use the tag key in the filter name and the tag value
|
12439
|
+
# as the filter value. For example, to find all resources that have a
|
12440
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
12441
|
+
# for the filter name and `TeamA` for the filter value.
|
12436
12442
|
#
|
12437
12443
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
12438
12444
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -12856,11 +12862,11 @@ module Aws::EC2
|
|
12856
12862
|
#
|
12857
12863
|
# * `subnet-id` - The ID of the subnet for the network interface.
|
12858
12864
|
#
|
12859
|
-
# * `tag
|
12860
|
-
#
|
12861
|
-
#
|
12862
|
-
#
|
12863
|
-
# filter value.
|
12865
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
12866
|
+
# the resource. Use the tag key in the filter name and the tag value
|
12867
|
+
# as the filter value. For example, to find all resources that have a
|
12868
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
12869
|
+
# for the filter name and `TeamA` for the filter value.
|
12864
12870
|
#
|
12865
12871
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
12866
12872
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -13401,11 +13407,11 @@ module Aws::EC2
|
|
13401
13407
|
# * `state` - The state of the Reserved Instance (`payment-pending` \|
|
13402
13408
|
# `active` \| `payment-failed` \| `retired`).
|
13403
13409
|
#
|
13404
|
-
# * `tag
|
13405
|
-
#
|
13406
|
-
#
|
13407
|
-
#
|
13408
|
-
# filter value.
|
13410
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
13411
|
+
# the resource. Use the tag key in the filter name and the tag value
|
13412
|
+
# as the filter value. For example, to find all resources that have a
|
13413
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
13414
|
+
# for the filter name and `TeamA` for the filter value.
|
13409
13415
|
#
|
13410
13416
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
13411
13417
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -13954,11 +13960,11 @@ module Aws::EC2
|
|
13954
13960
|
# * `route.vpc-peering-connection-id` - The ID of a VPC peering
|
13955
13961
|
# connection specified in a route in the table.
|
13956
13962
|
#
|
13957
|
-
# * `tag
|
13958
|
-
#
|
13959
|
-
#
|
13960
|
-
#
|
13961
|
-
# filter value.
|
13963
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
13964
|
+
# the resource. Use the tag key in the filter name and the tag value
|
13965
|
+
# as the filter value. For example, to find all resources that have a
|
13966
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
13967
|
+
# for the filter name and `TeamA` for the filter value.
|
13962
13968
|
#
|
13963
13969
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
13964
13970
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -14516,6 +14522,12 @@ module Aws::EC2
|
|
14516
14522
|
#
|
14517
14523
|
# * `owner-id` - The AWS account ID of the owner of the security group.
|
14518
14524
|
#
|
14525
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
14526
|
+
# the resource. Use the tag key in the filter name and the tag value
|
14527
|
+
# as the filter value. For example, to find all resources that have a
|
14528
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
14529
|
+
# for the filter name and `TeamA` for the filter value.
|
14530
|
+
#
|
14519
14531
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
14520
14532
|
# filter to find all resources assigned a tag with a specific key,
|
14521
14533
|
# regardless of the tag value.
|
@@ -14820,11 +14832,11 @@ module Aws::EC2
|
|
14820
14832
|
# * `status` - The status of the snapshot (`pending` \| `completed` \|
|
14821
14833
|
# `error`).
|
14822
14834
|
#
|
14823
|
-
# * `tag
|
14824
|
-
#
|
14825
|
-
#
|
14826
|
-
#
|
14827
|
-
# filter value.
|
14835
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
14836
|
+
# the resource. Use the tag key in the filter name and the tag value
|
14837
|
+
# as the filter value. For example, to find all resources that have a
|
14838
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
14839
|
+
# for the filter name and `TeamA` for the filter value.
|
14828
14840
|
#
|
14829
14841
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
14830
14842
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -15344,6 +15356,7 @@ module Aws::EC2
|
|
15344
15356
|
# resp.spot_fleet_request_configs[0].activity_status #=> String, one of "error", "pending_fulfillment", "pending_termination", "fulfilled"
|
15345
15357
|
# resp.spot_fleet_request_configs[0].create_time #=> Time
|
15346
15358
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.allocation_strategy #=> String, one of "lowestPrice", "diversified"
|
15359
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_allocation_strategy #=> String, one of "lowestPrice", "prioritized"
|
15347
15360
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.client_token #=> String
|
15348
15361
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.excess_capacity_termination_policy #=> String, one of "noTermination", "default"
|
15349
15362
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.fulfilled_capacity #=> Float
|
@@ -15413,6 +15426,7 @@ module Aws::EC2
|
|
15413
15426
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].subnet_id #=> String
|
15414
15427
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].availability_zone #=> String
|
15415
15428
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].weighted_capacity #=> Float
|
15429
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_template_configs[0].overrides[0].priority #=> Float
|
15416
15430
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.spot_price #=> String
|
15417
15431
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.target_capacity #=> Integer
|
15418
15432
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.on_demand_target_capacity #=> Integer
|
@@ -15426,6 +15440,7 @@ module Aws::EC2
|
|
15426
15440
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.classic_load_balancers_config.classic_load_balancers[0].name #=> String
|
15427
15441
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups #=> Array
|
15428
15442
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
|
15443
|
+
# resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
|
15429
15444
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_id #=> String
|
15430
15445
|
# resp.spot_fleet_request_configs[0].spot_fleet_request_state #=> String, one of "submitted", "active", "cancelled", "failed", "cancelled_running", "cancelled_terminating", "modifying"
|
15431
15446
|
#
|
@@ -15551,11 +15566,11 @@ module Aws::EC2
|
|
15551
15566
|
# * `status-message` - The message explaining the status of the Spot
|
15552
15567
|
# Instance request.
|
15553
15568
|
#
|
15554
|
-
# * `tag
|
15555
|
-
#
|
15556
|
-
#
|
15557
|
-
#
|
15558
|
-
# filter value.
|
15569
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
15570
|
+
# the resource. Use the tag key in the filter name and the tag value
|
15571
|
+
# as the filter value. For example, to find all resources that have a
|
15572
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
15573
|
+
# for the filter name and `TeamA` for the filter value.
|
15559
15574
|
#
|
15560
15575
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
15561
15576
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -16009,11 +16024,11 @@ module Aws::EC2
|
|
16009
16024
|
#
|
16010
16025
|
# * `subnet-id` - The ID of the subnet.
|
16011
16026
|
#
|
16012
|
-
# * `tag
|
16013
|
-
#
|
16014
|
-
#
|
16015
|
-
#
|
16016
|
-
# filter value.
|
16027
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
16028
|
+
# the resource. Use the tag key in the filter name and the tag value
|
16029
|
+
# as the filter value. For example, to find all resources that have a
|
16030
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
16031
|
+
# for the filter name and `TeamA` for the filter value.
|
16017
16032
|
#
|
16018
16033
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
16019
16034
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -16563,11 +16578,11 @@ module Aws::EC2
|
|
16563
16578
|
# * `status` - The status of the volume (`creating` \| `available` \|
|
16564
16579
|
# `in-use` \| `deleting` \| `deleted` \| `error`).
|
16565
16580
|
#
|
16566
|
-
# * `tag
|
16567
|
-
#
|
16568
|
-
#
|
16569
|
-
#
|
16570
|
-
# filter value.
|
16581
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
16582
|
+
# the resource. Use the tag key in the filter name and the tag value
|
16583
|
+
# as the filter value. For example, to find all resources that have a
|
16584
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
16585
|
+
# for the filter name and `TeamA` for the filter value.
|
16571
16586
|
#
|
16572
16587
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
16573
16588
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -16923,11 +16938,11 @@ module Aws::EC2
|
|
16923
16938
|
# * `is-classic-link-enabled` - Whether the VPC is enabled for
|
16924
16939
|
# ClassicLink (`true` \| `false`).
|
16925
16940
|
#
|
16926
|
-
# * `tag
|
16927
|
-
#
|
16928
|
-
#
|
16929
|
-
#
|
16930
|
-
# filter value.
|
16941
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
16942
|
+
# the resource. Use the tag key in the filter name and the tag value
|
16943
|
+
# as the filter value. For example, to find all resources that have a
|
16944
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
16945
|
+
# for the filter name and `TeamA` for the filter value.
|
16931
16946
|
#
|
16932
16947
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
16933
16948
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -17524,11 +17539,11 @@ module Aws::EC2
|
|
17524
17539
|
# * `status-message` - A message that provides more information about
|
17525
17540
|
# the status of the VPC peering connection, if applicable.
|
17526
17541
|
#
|
17527
|
-
# * `tag
|
17528
|
-
#
|
17529
|
-
#
|
17530
|
-
#
|
17531
|
-
# filter value.
|
17542
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
17543
|
+
# the resource. Use the tag key in the filter name and the tag value
|
17544
|
+
# as the filter value. For example, to find all resources that have a
|
17545
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
17546
|
+
# for the filter name and `TeamA` for the filter value.
|
17532
17547
|
#
|
17533
17548
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
17534
17549
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -17640,11 +17655,11 @@ module Aws::EC2
|
|
17640
17655
|
#
|
17641
17656
|
# * `state` - The state of the VPC (`pending` \| `available`).
|
17642
17657
|
#
|
17643
|
-
# * `tag
|
17644
|
-
#
|
17645
|
-
#
|
17646
|
-
#
|
17647
|
-
# filter value.
|
17658
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
17659
|
+
# the resource. Use the tag key in the filter name and the tag value
|
17660
|
+
# as the filter value. For example, to find all resources that have a
|
17661
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
17662
|
+
# for the filter name and `TeamA` for the filter value.
|
17648
17663
|
#
|
17649
17664
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
17650
17665
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -17774,11 +17789,11 @@ module Aws::EC2
|
|
17774
17789
|
# * `bgp-asn` - The BGP Autonomous System Number (ASN) associated with a
|
17775
17790
|
# BGP device.
|
17776
17791
|
#
|
17777
|
-
# * `tag
|
17778
|
-
#
|
17779
|
-
#
|
17780
|
-
#
|
17781
|
-
# filter value.
|
17792
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
17793
|
+
# the resource. Use the tag key in the filter name and the tag value
|
17794
|
+
# as the filter value. For example, to find all resources that have a
|
17795
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
17796
|
+
# for the filter name and `TeamA` for the filter value.
|
17782
17797
|
#
|
17783
17798
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
17784
17799
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -17881,11 +17896,11 @@ module Aws::EC2
|
|
17881
17896
|
# * `state` - The state of the virtual private gateway (`pending` \|
|
17882
17897
|
# `available` \| `deleting` \| `deleted`).
|
17883
17898
|
#
|
17884
|
-
# * `tag
|
17885
|
-
#
|
17886
|
-
#
|
17887
|
-
#
|
17888
|
-
# filter value.
|
17899
|
+
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
17900
|
+
# the resource. Use the tag key in the filter name and the tag value
|
17901
|
+
# as the filter value. For example, to find all resources that have a
|
17902
|
+
# tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
|
17903
|
+
# for the filter name and `TeamA` for the filter value.
|
17889
17904
|
#
|
17890
17905
|
# * `tag-key` - The key of a tag assigned to the resource. Use this
|
17891
17906
|
# filter to find all resources assigned a tag with a specific key,
|
@@ -18865,8 +18880,8 @@ module Aws::EC2
|
|
18865
18880
|
# result in the offering being purchased.
|
18866
18881
|
#
|
18867
18882
|
# @option params [required, Array<String>] :host_id_set
|
18868
|
-
# The
|
18869
|
-
# associated
|
18883
|
+
# The IDs of the Dedicated Hosts with which the reservation is
|
18884
|
+
# associated.
|
18870
18885
|
#
|
18871
18886
|
# @option params [required, String] :offering_id
|
18872
18887
|
# The offering ID of the reservation.
|
@@ -19847,19 +19862,19 @@ module Aws::EC2
|
|
19847
19862
|
end
|
19848
19863
|
|
19849
19864
|
# Modify the auto-placement setting of a Dedicated Host. When
|
19850
|
-
# auto-placement is enabled,
|
19851
|
-
#
|
19852
|
-
#
|
19853
|
-
#
|
19854
|
-
#
|
19855
|
-
#
|
19856
|
-
#
|
19865
|
+
# auto-placement is enabled, any instances that you launch with a
|
19866
|
+
# tenancy of `host` but without a specific host ID are placed onto any
|
19867
|
+
# available Dedicated Host in your account that has auto-placement
|
19868
|
+
# enabled. When auto-placement is disabled, you need to provide a host
|
19869
|
+
# ID ito have the instance launch onto a specific host. If no host ID is
|
19870
|
+
# provided, the instance is launched onto a suitable host with
|
19871
|
+
# auto-placement enabled.
|
19857
19872
|
#
|
19858
19873
|
# @option params [required, String] :auto_placement
|
19859
19874
|
# Specify whether to enable or disable auto-placement.
|
19860
19875
|
#
|
19861
19876
|
# @option params [required, Array<String>] :host_ids
|
19862
|
-
# The
|
19877
|
+
# The IDs of the Dedicated Hosts to modify.
|
19863
19878
|
#
|
19864
19879
|
# @return [Types::ModifyHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
19865
19880
|
#
|
@@ -21797,15 +21812,15 @@ module Aws::EC2
|
|
21797
21812
|
# supported currency is `USD`.
|
21798
21813
|
#
|
21799
21814
|
# @option params [required, Array<String>] :host_id_set
|
21800
|
-
# The
|
21801
|
-
# associated
|
21815
|
+
# The IDs of the Dedicated Hosts with which the reservation will be
|
21816
|
+
# associated.
|
21802
21817
|
#
|
21803
21818
|
# @option params [String] :limit_price
|
21804
21819
|
# The specified limit is checked against the total upfront cost of the
|
21805
21820
|
# reservation (calculated as the offering's upfront cost multiplied by
|
21806
21821
|
# the host count). If the total upfront cost is greater than the
|
21807
|
-
# specified price limit, the request
|
21808
|
-
#
|
21822
|
+
# specified price limit, the request fails. This is used to ensure that
|
21823
|
+
# the purchase does not exceed the expected upfront cost of the
|
21809
21824
|
# purchase. At this time, the only supported currency is `USD`. For
|
21810
21825
|
# example, to indicate a limit price of USD 100, specify 100.00.
|
21811
21826
|
#
|
@@ -22128,9 +22143,14 @@ module Aws::EC2
|
|
22128
22143
|
# SUSE Linux Enterprise Server (SLES), use the EC2 billing product code
|
22129
22144
|
# associated with an AMI to verify the subscription status for package
|
22130
22145
|
# updates. Creating an AMI from an EBS snapshot does not maintain this
|
22131
|
-
# billing code, and
|
22132
|
-
#
|
22133
|
-
#
|
22146
|
+
# billing code, and instances launched from such an AMI are not able to
|
22147
|
+
# connect to package update infrastructure. If you purchase a Reserved
|
22148
|
+
# Instance offering for one of these Linux distributions and launch
|
22149
|
+
# instances using an AMI that does not contain the required billing
|
22150
|
+
# code, your Reserved Instance is not applied to these instances.
|
22151
|
+
#
|
22152
|
+
# To create an AMI for operating systems that require a billing code,
|
22153
|
+
# see CreateImage.
|
22134
22154
|
#
|
22135
22155
|
# If needed, you can deregister an AMI at any time. Any modifications
|
22136
22156
|
# you make to an AMI backed by an instance store volume invalidates its
|
@@ -22412,19 +22432,19 @@ module Aws::EC2
|
|
22412
22432
|
# When you no longer want to use an On-Demand Dedicated Host it can be
|
22413
22433
|
# released. On-Demand billing is stopped and the host goes into
|
22414
22434
|
# `released` state. The host ID of Dedicated Hosts that have been
|
22415
|
-
# released can no longer be specified in another request,
|
22435
|
+
# released can no longer be specified in another request, for example,
|
22416
22436
|
# ModifyHosts. You must stop or terminate all instances on a host before
|
22417
22437
|
# it can be released.
|
22418
22438
|
#
|
22419
|
-
# When Dedicated Hosts are released, it
|
22439
|
+
# When Dedicated Hosts are released, it may take some time for them to
|
22420
22440
|
# stop counting toward your limit and you may receive capacity errors
|
22421
|
-
# when trying to allocate new Dedicated
|
22422
|
-
#
|
22441
|
+
# when trying to allocate new Dedicated Hosts. Wait a few minutes and
|
22442
|
+
# then try again.
|
22423
22443
|
#
|
22424
|
-
# Released hosts
|
22444
|
+
# Released hosts still appear in a DescribeHosts response.
|
22425
22445
|
#
|
22426
22446
|
# @option params [required, Array<String>] :host_ids
|
22427
|
-
# The IDs of the Dedicated Hosts
|
22447
|
+
# The IDs of the Dedicated Hosts to release.
|
22428
22448
|
#
|
22429
22449
|
# @return [Types::ReleaseHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
22430
22450
|
#
|
@@ -23108,6 +23128,7 @@ module Aws::EC2
|
|
23108
23128
|
# dry_run: false,
|
23109
23129
|
# spot_fleet_request_config: { # required
|
23110
23130
|
# allocation_strategy: "lowestPrice", # accepts lowestPrice, diversified
|
23131
|
+
# on_demand_allocation_strategy: "lowestPrice", # accepts lowestPrice, prioritized
|
23111
23132
|
# client_token: "String",
|
23112
23133
|
# excess_capacity_termination_policy: "noTermination", # accepts noTermination, default
|
23113
23134
|
# fulfilled_capacity: 1.0,
|
@@ -23212,6 +23233,7 @@ module Aws::EC2
|
|
23212
23233
|
# subnet_id: "String",
|
23213
23234
|
# availability_zone: "String",
|
23214
23235
|
# weighted_capacity: 1.0,
|
23236
|
+
# priority: 1.0,
|
23215
23237
|
# },
|
23216
23238
|
# ],
|
23217
23239
|
# },
|
@@ -23241,6 +23263,7 @@ module Aws::EC2
|
|
23241
23263
|
# ],
|
23242
23264
|
# },
|
23243
23265
|
# },
|
23266
|
+
# instance_pools_to_use_count: 1,
|
23244
23267
|
# },
|
23245
23268
|
# })
|
23246
23269
|
#
|
@@ -24409,6 +24432,10 @@ module Aws::EC2
|
|
24409
24432
|
# @option params [Types::InstanceMarketOptionsRequest] :instance_market_options
|
24410
24433
|
# The market (purchasing) option for the instances.
|
24411
24434
|
#
|
24435
|
+
# For RunInstances, persistent Spot Instance requests are only supported
|
24436
|
+
# when **InstanceInterruptionBehavior** is set to either `hibernate` or
|
24437
|
+
# `stop`.
|
24438
|
+
#
|
24412
24439
|
# @option params [Types::CreditSpecificationRequest] :credit_specification
|
24413
24440
|
# The credit option for CPU usage of the instance. Valid values are
|
24414
24441
|
# `standard` and `unlimited`. To change this attribute after launch, use
|
@@ -25594,7 +25621,7 @@ module Aws::EC2
|
|
25594
25621
|
params: params,
|
25595
25622
|
config: config)
|
25596
25623
|
context[:gem_name] = 'aws-sdk-ec2'
|
25597
|
-
context[:gem_version] = '1.
|
25624
|
+
context[:gem_version] = '1.40.0'
|
25598
25625
|
Seahorse::Client::Request.new(handlers, context)
|
25599
25626
|
end
|
25600
25627
|
|