aws-sdk-ec2 1.175.0 → 1.176.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 +28 -7
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +33 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28444b06e74009b4681e3a8104d210a10596b863e7a8a8439bbcc419b77d9c01
|
4
|
+
data.tar.gz: 291f03d652d4fff891eb24d648094c47305616a50ab868523756c0ff953cde4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1430aff0392f2e70adb9a98ba22914abd41a26fb6c1a1dad090f674c0c216f31e5da8e4965110c4b36bae64e1353fe9ae4c0a1f4f32f7e9e21cf0c6d3a8cc59e
|
7
|
+
data.tar.gz: 7508368d9a582b7c63a7799c4e09eb14611e6e77d9ed6eb00d6d23f1973daae94bd1f9872a5f3c6ad137e838a2d01242416f48faaed63b7fa0507eed3f8b2413
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -7514,7 +7514,7 @@ module Aws::EC2
|
|
7514
7514
|
|
7515
7515
|
# Creates a data feed for Spot Instances, enabling you to view Spot
|
7516
7516
|
# Instance usage logs. You can create one data feed per AWS account. For
|
7517
|
-
# more information, see [Spot Instance
|
7517
|
+
# more information, see [Spot Instance data feed][1] in the *Amazon EC2
|
7518
7518
|
# User Guide for Linux Instances*.
|
7519
7519
|
#
|
7520
7520
|
#
|
@@ -21525,7 +21525,7 @@ module Aws::EC2
|
|
21525
21525
|
end
|
21526
21526
|
|
21527
21527
|
# Describes the data feed for Spot Instances. For more information, see
|
21528
|
-
# [Spot Instance
|
21528
|
+
# [Spot Instance data feed][1] in the *Amazon EC2 User Guide for Linux
|
21529
21529
|
# Instances*.
|
21530
21530
|
#
|
21531
21531
|
#
|
@@ -22108,7 +22108,7 @@ module Aws::EC2
|
|
22108
22108
|
# * `state` - The state of the Spot Instance request (`open` \| `active`
|
22109
22109
|
# \| `closed` \| `cancelled` \| `failed`). Spot request status
|
22110
22110
|
# information can help you track your Amazon EC2 Spot Instance
|
22111
|
-
# requests. For more information, see [Spot
|
22111
|
+
# requests. For more information, see [Spot request status][1] in the
|
22112
22112
|
# *Amazon EC2 User Guide for Linux Instances*.
|
22113
22113
|
#
|
22114
22114
|
# * `status-code` - The short code describing the most recent evaluation
|
@@ -22322,7 +22322,7 @@ module Aws::EC2
|
|
22322
22322
|
end
|
22323
22323
|
|
22324
22324
|
# Describes the Spot price history. For more information, see [Spot
|
22325
|
-
# Instance
|
22325
|
+
# Instance pricing history][1] in the *Amazon EC2 User Guide for Linux
|
22326
22326
|
# Instances*.
|
22327
22327
|
#
|
22328
22328
|
# When you specify a start and end time, this operation returns the
|
@@ -34296,7 +34296,7 @@ module Aws::EC2
|
|
34296
34296
|
# request because only the `spot-fleet-request` and `instance` resource
|
34297
34297
|
# types are supported.
|
34298
34298
|
#
|
34299
|
-
# For more information, see [Spot Fleet
|
34299
|
+
# For more information, see [Spot Fleet requests][1] in the *Amazon EC2
|
34300
34300
|
# User Guide for Linux Instances*.
|
34301
34301
|
#
|
34302
34302
|
#
|
@@ -34641,7 +34641,7 @@ module Aws::EC2
|
|
34641
34641
|
|
34642
34642
|
# Creates a Spot Instance request.
|
34643
34643
|
#
|
34644
|
-
# For more information, see [Spot Instance
|
34644
|
+
# For more information, see [Spot Instance requests][1] in the *Amazon
|
34645
34645
|
# EC2 User Guide for Linux Instances*.
|
34646
34646
|
#
|
34647
34647
|
#
|
@@ -34741,6 +34741,16 @@ module Aws::EC2
|
|
34741
34741
|
# remains active until it is canceled or this date is reached. The
|
34742
34742
|
# default end date is 7 days from the current date.
|
34743
34743
|
#
|
34744
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
34745
|
+
# The key-value pair for tagging the Spot Instance request on creation.
|
34746
|
+
# The value for `ResourceType` must be `spot-instances-request`,
|
34747
|
+
# otherwise the Spot Instance request fails. To tag the Spot Instance
|
34748
|
+
# request after it has been created, see [CreateTags][1].
|
34749
|
+
#
|
34750
|
+
#
|
34751
|
+
#
|
34752
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
34753
|
+
#
|
34744
34754
|
# @option params [String] :instance_interruption_behavior
|
34745
34755
|
# The behavior when a Spot Instance is interrupted. The default is
|
34746
34756
|
# `terminate`.
|
@@ -34880,6 +34890,17 @@ module Aws::EC2
|
|
34880
34890
|
# type: "one-time", # accepts one-time, persistent
|
34881
34891
|
# valid_from: Time.now,
|
34882
34892
|
# valid_until: Time.now,
|
34893
|
+
# tag_specifications: [
|
34894
|
+
# {
|
34895
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
34896
|
+
# tags: [
|
34897
|
+
# {
|
34898
|
+
# key: "String",
|
34899
|
+
# value: "String",
|
34900
|
+
# },
|
34901
|
+
# ],
|
34902
|
+
# },
|
34903
|
+
# ],
|
34883
34904
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
34884
34905
|
# })
|
34885
34906
|
#
|
@@ -37735,7 +37756,7 @@ module Aws::EC2
|
|
37735
37756
|
params: params,
|
37736
37757
|
config: config)
|
37737
37758
|
context[:gem_name] = 'aws-sdk-ec2'
|
37738
|
-
context[:gem_version] = '1.
|
37759
|
+
context[:gem_version] = '1.176.0'
|
37739
37760
|
Seahorse::Client::Request.new(handlers, context)
|
37740
37761
|
end
|
37741
37762
|
|
@@ -8256,6 +8256,7 @@ module Aws::EC2
|
|
8256
8256
|
RequestSpotInstancesRequest.add_member(:type, Shapes::ShapeRef.new(shape: SpotInstanceType, location_name: "type"))
|
8257
8257
|
RequestSpotInstancesRequest.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
|
8258
8258
|
RequestSpotInstancesRequest.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
|
8259
|
+
RequestSpotInstancesRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
8259
8260
|
RequestSpotInstancesRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
|
8260
8261
|
RequestSpotInstancesRequest.struct_class = Types::RequestSpotInstancesRequest
|
8261
8262
|
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -3190,6 +3190,9 @@ module Aws::EC2
|
|
3190
3190
|
# * `none` - The instance avoids running in a Capacity Reservation
|
3191
3191
|
# even if one is available. The instance runs as an On-Demand
|
3192
3192
|
# Instance.
|
3193
|
+
#
|
3194
|
+
# When `CapacityReservationPreference` is not specified, it defaults
|
3195
|
+
# to `open`.
|
3193
3196
|
# @return [String]
|
3194
3197
|
#
|
3195
3198
|
# @!attribute [rw] capacity_reservation_target
|
@@ -19813,8 +19816,8 @@ module Aws::EC2
|
|
19813
19816
|
# * `state` - The state of the Spot Instance request (`open` \|
|
19814
19817
|
# `active` \| `closed` \| `cancelled` \| `failed`). Spot request
|
19815
19818
|
# status information can help you track your Amazon EC2 Spot
|
19816
|
-
# Instance requests. For more information, see [Spot
|
19817
|
-
#
|
19819
|
+
# Instance requests. For more information, see [Spot request
|
19820
|
+
# status][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
19818
19821
|
#
|
19819
19822
|
# * `status-code` - The short code describing the most recent
|
19820
19823
|
# evaluation of your Spot Instance request.
|
@@ -40842,6 +40845,17 @@ module Aws::EC2
|
|
40842
40845
|
# type: "one-time", # accepts one-time, persistent
|
40843
40846
|
# valid_from: Time.now,
|
40844
40847
|
# valid_until: Time.now,
|
40848
|
+
# tag_specifications: [
|
40849
|
+
# {
|
40850
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
40851
|
+
# tags: [
|
40852
|
+
# {
|
40853
|
+
# key: "String",
|
40854
|
+
# value: "String",
|
40855
|
+
# },
|
40856
|
+
# ],
|
40857
|
+
# },
|
40858
|
+
# ],
|
40845
40859
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
40846
40860
|
# }
|
40847
40861
|
#
|
@@ -40951,6 +40965,18 @@ module Aws::EC2
|
|
40951
40965
|
# default end date is 7 days from the current date.
|
40952
40966
|
# @return [Time]
|
40953
40967
|
#
|
40968
|
+
# @!attribute [rw] tag_specifications
|
40969
|
+
# The key-value pair for tagging the Spot Instance request on
|
40970
|
+
# creation. The value for `ResourceType` must be
|
40971
|
+
# `spot-instances-request`, otherwise the Spot Instance request fails.
|
40972
|
+
# To tag the Spot Instance request after it has been created, see
|
40973
|
+
# [CreateTags][1].
|
40974
|
+
#
|
40975
|
+
#
|
40976
|
+
#
|
40977
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
40978
|
+
# @return [Array<Types::TagSpecification>]
|
40979
|
+
#
|
40954
40980
|
# @!attribute [rw] instance_interruption_behavior
|
40955
40981
|
# The behavior when a Spot Instance is interrupted. The default is
|
40956
40982
|
# `terminate`.
|
@@ -40970,6 +40996,7 @@ module Aws::EC2
|
|
40970
40996
|
:type,
|
40971
40997
|
:valid_from,
|
40972
40998
|
:valid_until,
|
40999
|
+
:tag_specifications,
|
40973
41000
|
:instance_interruption_behavior)
|
40974
41001
|
SENSITIVE = []
|
40975
41002
|
include Aws::Structure
|
@@ -45712,7 +45739,7 @@ module Aws::EC2
|
|
45712
45739
|
# The Amazon Resource Name (ARN) of an AWS Identity and Access
|
45713
45740
|
# Management (IAM) role that grants the Spot Fleet the permission to
|
45714
45741
|
# request, launch, terminate, and tag instances on your behalf. For
|
45715
|
-
# more information, see [Spot Fleet
|
45742
|
+
# more information, see [Spot Fleet prerequisites][1] in the *Amazon
|
45716
45743
|
# EC2 User Guide for Linux Instances*. Spot Fleet can terminate Spot
|
45717
45744
|
# Instances on your behalf when you cancel its Spot Fleet request
|
45718
45745
|
# using [CancelSpotFleetRequests][2] or when the Spot Fleet request
|
@@ -45989,7 +46016,7 @@ module Aws::EC2
|
|
45989
46016
|
# @!attribute [rw] state
|
45990
46017
|
# The state of the Spot Instance request. Spot status information
|
45991
46018
|
# helps track your Spot Instance requests. For more information, see
|
45992
|
-
# [Spot
|
46019
|
+
# [Spot status][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
45993
46020
|
#
|
45994
46021
|
#
|
45995
46022
|
#
|
@@ -46076,8 +46103,8 @@ module Aws::EC2
|
|
46076
46103
|
# Describes the status of a Spot Instance request.
|
46077
46104
|
#
|
46078
46105
|
# @!attribute [rw] code
|
46079
|
-
# The status code. For a list of status codes, see [Spot
|
46080
|
-
#
|
46106
|
+
# The status code. For a list of status codes, see [Spot status
|
46107
|
+
# codes][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
46081
46108
|
#
|
46082
46109
|
#
|
46083
46110
|
#
|
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.176.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: 2020-07-
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|