aws-sdk-ec2 1.144.0 → 1.145.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 +14 -6
- data/lib/aws-sdk-ec2/client_api.rb +1 -1
- data/lib/aws-sdk-ec2/instance.rb +2 -1
- data/lib/aws-sdk-ec2/placement_group.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +6 -2
- data/lib/aws-sdk-ec2/subnet.rb +6 -2
- data/lib/aws-sdk-ec2/types.rb +26 -9
- data/lib/aws-sdk-ec2/vpc.rb +1 -0
- 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: 32d8951baa36ccef8860a92cfc2bece595b33305
|
4
|
+
data.tar.gz: 7adc027e332290217ee7276bf0a9d413a48c3b49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da8725b7c682d7fdb9acdaad22fa4d27a1b7cd9f0f777bd66551a3b1c79857f7ccbed6136b0689580b9b21a0243bf81bed488f2fb7a7443a4495a7d5af398bbf
|
7
|
+
data.tar.gz: 0c8d489a0c4e379545df2e32824270ab69dc3fd6371825f66f2c72477154f2e583a57e8532c37055ba30022c864a85816f1b455bc76e0c2aa5d50ff1d5517dc9
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -15987,6 +15987,7 @@ module Aws::EC2
|
|
15987
15987
|
# running, if applicable.
|
15988
15988
|
#
|
15989
15989
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
15990
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
15990
15991
|
#
|
15991
15992
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
15992
15993
|
# the instance. Specified as an ARN.
|
@@ -32643,9 +32644,10 @@ module Aws::EC2
|
|
32643
32644
|
# are in different Spot pools, you can improve the availability of your
|
32644
32645
|
# fleet.
|
32645
32646
|
#
|
32646
|
-
# You can specify tags for the Spot Fleet and
|
32647
|
-
# tag other resource types in a Spot Fleet
|
32648
|
-
# `spot-fleet-request` and `instance` resource
|
32647
|
+
# You can specify tags for the Spot Fleet request and instances launched
|
32648
|
+
# by the fleet. You cannot tag other resource types in a Spot Fleet
|
32649
|
+
# request because only the `spot-fleet-request` and `instance` resource
|
32650
|
+
# types are supported.
|
32649
32651
|
#
|
32650
32652
|
# For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
|
32651
32653
|
# User Guide for Linux Instances*.
|
@@ -34182,11 +34184,17 @@ module Aws::EC2
|
|
34182
34184
|
#
|
34183
34185
|
# @option params [String] :client_token
|
34184
34186
|
# Unique, case-sensitive identifier you provide to ensure the
|
34185
|
-
# idempotency of the request.
|
34186
|
-
#
|
34187
|
+
# idempotency of the request. If you do not specify a client token, a
|
34188
|
+
# randomly generated token is used for the request to ensure
|
34189
|
+
# idempotency.
|
34190
|
+
#
|
34191
|
+
# For more information, see [Ensuring Idempotency][1].
|
34187
34192
|
#
|
34188
34193
|
# Constraints: Maximum 64 ASCII characters
|
34189
34194
|
#
|
34195
|
+
# **A suitable default value is auto-generated.** You should normally
|
34196
|
+
# not need to pass this option.**
|
34197
|
+
#
|
34190
34198
|
#
|
34191
34199
|
#
|
34192
34200
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
@@ -36017,7 +36025,7 @@ module Aws::EC2
|
|
36017
36025
|
params: params,
|
36018
36026
|
config: config)
|
36019
36027
|
context[:gem_name] = 'aws-sdk-ec2'
|
36020
|
-
context[:gem_version] = '1.
|
36028
|
+
context[:gem_version] = '1.145.0'
|
36021
36029
|
Seahorse::Client::Request.new(handlers, context)
|
36022
36030
|
end
|
36023
36031
|
|
@@ -8310,7 +8310,7 @@ module Aws::EC2
|
|
8310
8310
|
RunInstancesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "SubnetId"))
|
8311
8311
|
RunInstancesRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "UserData"))
|
8312
8312
|
RunInstancesRequest.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "additionalInfo"))
|
8313
|
-
RunInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
8313
|
+
RunInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
8314
8314
|
RunInstancesRequest.add_member(:disable_api_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableApiTermination"))
|
8315
8315
|
RunInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
8316
8316
|
RunInstancesRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -195,7 +195,8 @@ module Aws::EC2
|
|
195
195
|
data[:ena_support]
|
196
196
|
end
|
197
197
|
|
198
|
-
# The hypervisor type of the instance.
|
198
|
+
# The hypervisor type of the instance. The value `xen` is used for both
|
199
|
+
# Xen and Nitro hypervisors.
|
199
200
|
# @return [String]
|
200
201
|
def hypervisor
|
201
202
|
data[:hypervisor]
|
@@ -273,6 +273,7 @@ module Aws::EC2
|
|
273
273
|
# running, if applicable.
|
274
274
|
#
|
275
275
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
276
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
276
277
|
#
|
277
278
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
278
279
|
# the instance. Specified as an ARN.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -339,8 +339,11 @@ module Aws::EC2
|
|
339
339
|
# Reserved.
|
340
340
|
# @option options [String] :client_token
|
341
341
|
# Unique, case-sensitive identifier you provide to ensure the
|
342
|
-
# idempotency of the request.
|
343
|
-
#
|
342
|
+
# idempotency of the request. If you do not specify a client token, a
|
343
|
+
# randomly generated token is used for the request to ensure
|
344
|
+
# idempotency.
|
345
|
+
#
|
346
|
+
# For more information, see [Ensuring Idempotency][1].
|
344
347
|
#
|
345
348
|
# Constraints: Maximum 64 ASCII characters
|
346
349
|
#
|
@@ -1696,6 +1699,7 @@ module Aws::EC2
|
|
1696
1699
|
# running, if applicable.
|
1697
1700
|
#
|
1698
1701
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
1702
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
1699
1703
|
#
|
1700
1704
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
1701
1705
|
# the instance. Specified as an ARN.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -536,8 +536,11 @@ module Aws::EC2
|
|
536
536
|
# Reserved.
|
537
537
|
# @option options [String] :client_token
|
538
538
|
# Unique, case-sensitive identifier you provide to ensure the
|
539
|
-
# idempotency of the request.
|
540
|
-
#
|
539
|
+
# idempotency of the request. If you do not specify a client token, a
|
540
|
+
# randomly generated token is used for the request to ensure
|
541
|
+
# idempotency.
|
542
|
+
#
|
543
|
+
# For more information, see [Ensuring Idempotency][1].
|
541
544
|
#
|
542
545
|
# Constraints: Maximum 64 ASCII characters
|
543
546
|
#
|
@@ -931,6 +934,7 @@ module Aws::EC2
|
|
931
934
|
# running, if applicable.
|
932
935
|
#
|
933
936
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
937
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
934
938
|
#
|
935
939
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
936
940
|
# the instance. Specified as an ARN.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -14698,7 +14698,8 @@ module Aws::EC2
|
|
14698
14698
|
# running, if applicable.
|
14699
14699
|
#
|
14700
14700
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \|
|
14701
|
-
# `xen`).
|
14701
|
+
# `xen`). The value `xen` is used for both Xen and Nitro
|
14702
|
+
# hypervisors.
|
14702
14703
|
#
|
14703
14704
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
14704
14705
|
# the instance. Specified as an ARN.
|
@@ -27534,7 +27535,8 @@ module Aws::EC2
|
|
27534
27535
|
# @return [Boolean]
|
27535
27536
|
#
|
27536
27537
|
# @!attribute [rw] hypervisor
|
27537
|
-
# The hypervisor type of the instance.
|
27538
|
+
# The hypervisor type of the instance. The value `xen` is used for
|
27539
|
+
# both Xen and Nitro hypervisors.
|
27538
27540
|
# @return [String]
|
27539
27541
|
#
|
27540
27542
|
# @!attribute [rw] iam_instance_profile
|
@@ -40157,11 +40159,17 @@ module Aws::EC2
|
|
40157
40159
|
#
|
40158
40160
|
# @!attribute [rw] client_token
|
40159
40161
|
# Unique, case-sensitive identifier you provide to ensure the
|
40160
|
-
# idempotency of the request.
|
40161
|
-
#
|
40162
|
+
# idempotency of the request. If you do not specify a client token, a
|
40163
|
+
# randomly generated token is used for the request to ensure
|
40164
|
+
# idempotency.
|
40165
|
+
#
|
40166
|
+
# For more information, see [Ensuring Idempotency][1].
|
40162
40167
|
#
|
40163
40168
|
# Constraints: Maximum 64 ASCII characters
|
40164
40169
|
#
|
40170
|
+
# **A suitable default value is auto-generated.** You should normally
|
40171
|
+
# not need to pass this option.
|
40172
|
+
#
|
40165
40173
|
#
|
40166
40174
|
#
|
40167
40175
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
@@ -42908,13 +42916,16 @@ module Aws::EC2
|
|
42908
42916
|
# The key-value pair for tagging the Spot Fleet request on creation.
|
42909
42917
|
# The value for `ResourceType` must be `spot-fleet-request`, otherwise
|
42910
42918
|
# the Spot Fleet request fails. To tag instances at launch, specify
|
42911
|
-
# the tags in the [launch template][1]
|
42912
|
-
#
|
42919
|
+
# the tags in the [launch template][1] (valid only if you use
|
42920
|
+
# `LaunchTemplateConfigs`) or in the [ `SpotFleetTagSpecification`
|
42921
|
+
# ][2] (valid only if you use `LaunchSpecifications`). For information
|
42922
|
+
# about tagging after launch, see [Tagging Your Resources][3].
|
42913
42923
|
#
|
42914
42924
|
#
|
42915
42925
|
#
|
42916
42926
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
|
42917
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/
|
42927
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html
|
42928
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
|
42918
42929
|
# @return [Array<Types::TagSpecification>]
|
42919
42930
|
#
|
42920
42931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
|
@@ -42962,8 +42973,14 @@ module Aws::EC2
|
|
42962
42973
|
# }
|
42963
42974
|
#
|
42964
42975
|
# @!attribute [rw] resource_type
|
42965
|
-
# The type of resource. Currently, the only resource
|
42966
|
-
# supported
|
42976
|
+
# The type of resource. Currently, the only resource type that is
|
42977
|
+
# supported is `instance`. To tag the Spot Fleet request on creation,
|
42978
|
+
# use the `TagSpecifications` parameter in [
|
42979
|
+
# `SpotFleetRequestConfigData` ][1].
|
42980
|
+
#
|
42981
|
+
#
|
42982
|
+
#
|
42983
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html
|
42967
42984
|
# @return [String]
|
42968
42985
|
#
|
42969
42986
|
# @!attribute [rw] tags
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -900,6 +900,7 @@ module Aws::EC2
|
|
900
900
|
# running, if applicable.
|
901
901
|
#
|
902
902
|
# * `hypervisor` - The hypervisor type of the instance (`ovm` \| `xen`).
|
903
|
+
# The value `xen` is used for both Xen and Nitro hypervisors.
|
903
904
|
#
|
904
905
|
# * `iam-instance-profile.arn` - The instance profile associated with
|
905
906
|
# the instance. Specified as an ARN.
|
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.145.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-02-
|
11
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|