aws-sdk-ec2 1.156.0 → 1.157.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 +25 -4
- data/lib/aws-sdk-ec2/client_api.rb +14 -0
- data/lib/aws-sdk-ec2/types.rb +63 -2
- 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: cb38953d91dde1c1d7fbfb277e83c36c4b78b8c25e7bc6ad577d4adf7e4e34b1
|
4
|
+
data.tar.gz: a4d9d951dfd737481c720cdd87dd5c9953c34bffbaf8e2144c8a9051a7817b3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac45ce6b3e70d29946570d439386fdd7c8e219c30616a2f5a555078f68976d4aa54d3dd49b4191281bfa9d762631fe31b0d4e32509d9f86884e6aaf28b8191a0
|
7
|
+
data.tar.gz: 74d0d0515814ae18eb5fe32b3e1839917d5ed120eb2f35a8353ea37caac437c90b3f374d4cf444ff8b440025889eab16cf4957a5f8e3fe9cf78fa33ff13b7454
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -109,7 +109,7 @@ module Aws::EC2
|
|
109
109
|
# @option options [required, String] :region
|
110
110
|
# The AWS region to connect to. The configured `:region` is
|
111
111
|
# used to determine the service `:endpoint`. When not passed,
|
112
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
113
113
|
#
|
114
114
|
# * `Aws.config[:region]`
|
115
115
|
# * `ENV['AWS_REGION']`
|
@@ -165,7 +165,7 @@ module Aws::EC2
|
|
165
165
|
# @option options [String] :endpoint
|
166
166
|
# The client endpoint is normally constructed from the `:region`
|
167
167
|
# option. You should only configure an `:endpoint` when connecting
|
168
|
-
# to test endpoints. This should be
|
168
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
169
169
|
#
|
170
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
171
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -5213,7 +5213,13 @@ module Aws::EC2
|
|
5213
5213
|
# Creates a launch template. A launch template contains the parameters
|
5214
5214
|
# to launch an instance. When you launch an instance using RunInstances,
|
5215
5215
|
# you can specify a launch template instead of providing the launch
|
5216
|
-
# parameters in the request.
|
5216
|
+
# parameters in the request. For more information, see [Launching an
|
5217
|
+
# instance from a launch template][1]in the *Amazon Elastic Compute
|
5218
|
+
# Cloud User Guide*.
|
5219
|
+
#
|
5220
|
+
#
|
5221
|
+
#
|
5222
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html
|
5217
5223
|
#
|
5218
5224
|
# @option params [Boolean] :dry_run
|
5219
5225
|
# Checks whether you have the required permissions for the action,
|
@@ -5247,6 +5253,7 @@ module Aws::EC2
|
|
5247
5253
|
# @return [Types::CreateLaunchTemplateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5248
5254
|
#
|
5249
5255
|
# * {Types::CreateLaunchTemplateResult#launch_template #launch_template} => Types::LaunchTemplate
|
5256
|
+
# * {Types::CreateLaunchTemplateResult#warning #warning} => Types::ValidationWarning
|
5250
5257
|
#
|
5251
5258
|
#
|
5252
5259
|
# @example Example: To create a launch template
|
@@ -5455,6 +5462,9 @@ module Aws::EC2
|
|
5455
5462
|
# resp.launch_template.tags #=> Array
|
5456
5463
|
# resp.launch_template.tags[0].key #=> String
|
5457
5464
|
# resp.launch_template.tags[0].value #=> String
|
5465
|
+
# resp.warning.errors #=> Array
|
5466
|
+
# resp.warning.errors[0].code #=> String
|
5467
|
+
# resp.warning.errors[0].message #=> String
|
5458
5468
|
#
|
5459
5469
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplate AWS API Documentation
|
5460
5470
|
#
|
@@ -5473,6 +5483,13 @@ module Aws::EC2
|
|
5473
5483
|
# created. You cannot specify, change, or replace the numbering of
|
5474
5484
|
# launch template versions.
|
5475
5485
|
#
|
5486
|
+
# For more information, see [Managing launch template versions][1]in the
|
5487
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
5488
|
+
#
|
5489
|
+
#
|
5490
|
+
#
|
5491
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#manage-launch-template-versions
|
5492
|
+
#
|
5476
5493
|
# @option params [Boolean] :dry_run
|
5477
5494
|
# Checks whether you have the required permissions for the action,
|
5478
5495
|
# without actually making the request, and provides an error response.
|
@@ -5515,6 +5532,7 @@ module Aws::EC2
|
|
5515
5532
|
# @return [Types::CreateLaunchTemplateVersionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5516
5533
|
#
|
5517
5534
|
# * {Types::CreateLaunchTemplateVersionResult#launch_template_version #launch_template_version} => Types::LaunchTemplateVersion
|
5535
|
+
# * {Types::CreateLaunchTemplateVersionResult#warning #warning} => Types::ValidationWarning
|
5518
5536
|
#
|
5519
5537
|
#
|
5520
5538
|
# @example Example: To create a launch template version
|
@@ -5791,6 +5809,9 @@ module Aws::EC2
|
|
5791
5809
|
# resp.launch_template_version.launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
|
5792
5810
|
# resp.launch_template_version.launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
|
5793
5811
|
# resp.launch_template_version.launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
5812
|
+
# resp.warning.errors #=> Array
|
5813
|
+
# resp.warning.errors[0].code #=> String
|
5814
|
+
# resp.warning.errors[0].message #=> String
|
5794
5815
|
#
|
5795
5816
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion AWS API Documentation
|
5796
5817
|
#
|
@@ -36854,7 +36875,7 @@ module Aws::EC2
|
|
36854
36875
|
params: params,
|
36855
36876
|
config: config)
|
36856
36877
|
context[:gem_name] = 'aws-sdk-ec2'
|
36857
|
-
context[:gem_version] = '1.
|
36878
|
+
context[:gem_version] = '1.157.0'
|
36858
36879
|
Seahorse::Client::Request.new(handlers, context)
|
36859
36880
|
end
|
36860
36881
|
|
@@ -845,6 +845,7 @@ module Aws::EC2
|
|
845
845
|
EnableVpcClassicLinkResult = Shapes::StructureShape.new(name: 'EnableVpcClassicLinkResult')
|
846
846
|
EndDateType = Shapes::StringShape.new(name: 'EndDateType')
|
847
847
|
EndpointSet = Shapes::ListShape.new(name: 'EndpointSet')
|
848
|
+
ErrorSet = Shapes::ListShape.new(name: 'ErrorSet')
|
848
849
|
EventCode = Shapes::StringShape.new(name: 'EventCode')
|
849
850
|
EventInformation = Shapes::StructureShape.new(name: 'EventInformation')
|
850
851
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
@@ -1915,6 +1916,8 @@ module Aws::EC2
|
|
1915
1916
|
UserIdStringList = Shapes::ListShape.new(name: 'UserIdStringList')
|
1916
1917
|
VCpuCount = Shapes::IntegerShape.new(name: 'VCpuCount')
|
1917
1918
|
VCpuInfo = Shapes::StructureShape.new(name: 'VCpuInfo')
|
1919
|
+
ValidationError = Shapes::StructureShape.new(name: 'ValidationError')
|
1920
|
+
ValidationWarning = Shapes::StructureShape.new(name: 'ValidationWarning')
|
1918
1921
|
ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
|
1919
1922
|
VersionDescription = Shapes::StringShape.new(name: 'VersionDescription')
|
1920
1923
|
VersionStringList = Shapes::ListShape.new(name: 'VersionStringList')
|
@@ -2984,6 +2987,7 @@ module Aws::EC2
|
|
2984
2987
|
CreateLaunchTemplateRequest.struct_class = Types::CreateLaunchTemplateRequest
|
2985
2988
|
|
2986
2989
|
CreateLaunchTemplateResult.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplate, location_name: "launchTemplate"))
|
2990
|
+
CreateLaunchTemplateResult.add_member(:warning, Shapes::ShapeRef.new(shape: ValidationWarning, location_name: "warning"))
|
2987
2991
|
CreateLaunchTemplateResult.struct_class = Types::CreateLaunchTemplateResult
|
2988
2992
|
|
2989
2993
|
CreateLaunchTemplateVersionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -2996,6 +3000,7 @@ module Aws::EC2
|
|
2996
3000
|
CreateLaunchTemplateVersionRequest.struct_class = Types::CreateLaunchTemplateVersionRequest
|
2997
3001
|
|
2998
3002
|
CreateLaunchTemplateVersionResult.add_member(:launch_template_version, Shapes::ShapeRef.new(shape: LaunchTemplateVersion, location_name: "launchTemplateVersion"))
|
3003
|
+
CreateLaunchTemplateVersionResult.add_member(:warning, Shapes::ShapeRef.new(shape: ValidationWarning, location_name: "warning"))
|
2999
3004
|
CreateLaunchTemplateVersionResult.struct_class = Types::CreateLaunchTemplateVersionResult
|
3000
3005
|
|
3001
3006
|
CreateLocalGatewayRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
@@ -5372,6 +5377,8 @@ module Aws::EC2
|
|
5372
5377
|
|
5373
5378
|
EndpointSet.member = Shapes::ShapeRef.new(shape: ClientVpnEndpoint, location_name: "item")
|
5374
5379
|
|
5380
|
+
ErrorSet.member = Shapes::ShapeRef.new(shape: ValidationError, location_name: "item")
|
5381
|
+
|
5375
5382
|
EventInformation.add_member(:event_description, Shapes::ShapeRef.new(shape: String, location_name: "eventDescription"))
|
5376
5383
|
EventInformation.add_member(:event_sub_type, Shapes::ShapeRef.new(shape: String, location_name: "eventSubType"))
|
5377
5384
|
EventInformation.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
@@ -9468,6 +9475,13 @@ module Aws::EC2
|
|
9468
9475
|
VCpuInfo.add_member(:valid_threads_per_core, Shapes::ShapeRef.new(shape: ThreadsPerCoreList, location_name: "validThreadsPerCore"))
|
9469
9476
|
VCpuInfo.struct_class = Types::VCpuInfo
|
9470
9477
|
|
9478
|
+
ValidationError.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
|
9479
|
+
ValidationError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
9480
|
+
ValidationError.struct_class = Types::ValidationError
|
9481
|
+
|
9482
|
+
ValidationWarning.add_member(:errors, Shapes::ShapeRef.new(shape: ErrorSet, location_name: "errorSet"))
|
9483
|
+
ValidationWarning.struct_class = Types::ValidationWarning
|
9484
|
+
|
9471
9485
|
ValueStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
9472
9486
|
|
9473
9487
|
VersionStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -6123,10 +6123,17 @@ module Aws::EC2
|
|
6123
6123
|
# Information about the launch template.
|
6124
6124
|
# @return [Types::LaunchTemplate]
|
6125
6125
|
#
|
6126
|
+
# @!attribute [rw] warning
|
6127
|
+
# If the launch template contains parameters or parameter combinations
|
6128
|
+
# that are not valid, an error code and an error message are returned
|
6129
|
+
# for each issue that's found.
|
6130
|
+
# @return [Types::ValidationWarning]
|
6131
|
+
#
|
6126
6132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateResult AWS API Documentation
|
6127
6133
|
#
|
6128
6134
|
class CreateLaunchTemplateResult < Struct.new(
|
6129
|
-
:launch_template
|
6135
|
+
:launch_template,
|
6136
|
+
:warning)
|
6130
6137
|
include Aws::Structure
|
6131
6138
|
end
|
6132
6139
|
|
@@ -6335,10 +6342,17 @@ module Aws::EC2
|
|
6335
6342
|
# Information about the launch template version.
|
6336
6343
|
# @return [Types::LaunchTemplateVersion]
|
6337
6344
|
#
|
6345
|
+
# @!attribute [rw] warning
|
6346
|
+
# If the new version of the launch template contains parameters or
|
6347
|
+
# parameter combinations that are not valid, an error code and an
|
6348
|
+
# error message are returned for each issue that's found.
|
6349
|
+
# @return [Types::ValidationWarning]
|
6350
|
+
#
|
6338
6351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionResult AWS API Documentation
|
6339
6352
|
#
|
6340
6353
|
class CreateLaunchTemplateVersionResult < Struct.new(
|
6341
|
-
:launch_template_version
|
6354
|
+
:launch_template_version,
|
6355
|
+
:warning)
|
6342
6356
|
include Aws::Structure
|
6343
6357
|
end
|
6344
6358
|
|
@@ -46845,6 +46859,53 @@ module Aws::EC2
|
|
46845
46859
|
include Aws::Structure
|
46846
46860
|
end
|
46847
46861
|
|
46862
|
+
# The error code and error message that is returned for a parameter or
|
46863
|
+
# parameter combination that is not valid when a new launch template or
|
46864
|
+
# new version of a launch template is created.
|
46865
|
+
#
|
46866
|
+
# @!attribute [rw] code
|
46867
|
+
# The error code that indicates why the parameter or parameter
|
46868
|
+
# combination is not valid. For more information about error codes,
|
46869
|
+
# see [Error Codes][1].
|
46870
|
+
#
|
46871
|
+
#
|
46872
|
+
#
|
46873
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html
|
46874
|
+
# @return [String]
|
46875
|
+
#
|
46876
|
+
# @!attribute [rw] message
|
46877
|
+
# The error message that describes why the parameter or parameter
|
46878
|
+
# combination is not valid. For more information about error messages,
|
46879
|
+
# see [Error Codes][1].
|
46880
|
+
#
|
46881
|
+
#
|
46882
|
+
#
|
46883
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html.html
|
46884
|
+
# @return [String]
|
46885
|
+
#
|
46886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidationError AWS API Documentation
|
46887
|
+
#
|
46888
|
+
class ValidationError < Struct.new(
|
46889
|
+
:code,
|
46890
|
+
:message)
|
46891
|
+
include Aws::Structure
|
46892
|
+
end
|
46893
|
+
|
46894
|
+
# The error codes and error messages that are returned for the
|
46895
|
+
# parameters or parameter combinations that are not valid when a new
|
46896
|
+
# launch template or new version of a launch template is created.
|
46897
|
+
#
|
46898
|
+
# @!attribute [rw] errors
|
46899
|
+
# The error codes and error messages.
|
46900
|
+
# @return [Array<Types::ValidationError>]
|
46901
|
+
#
|
46902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ValidationWarning AWS API Documentation
|
46903
|
+
#
|
46904
|
+
class ValidationWarning < Struct.new(
|
46905
|
+
:errors)
|
46906
|
+
include Aws::Structure
|
46907
|
+
end
|
46908
|
+
|
46848
46909
|
# Describes telemetry for a VPN tunnel.
|
46849
46910
|
#
|
46850
46911
|
# @!attribute [rw] accepted_route_count
|
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.157.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-05-
|
11
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|