aws-sdk-ec2 1.341.0 → 1.343.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +55 -8
- data/lib/aws-sdk-ec2/client_api.rb +5 -0
- data/lib/aws-sdk-ec2/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-ec2/endpoint_provider.rb +116 -0
- data/lib/aws-sdk-ec2/endpoints.rb +7603 -0
- data/lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb +17 -12
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +1152 -0
- data/lib/aws-sdk-ec2/types.rb +46 -4
- data/lib/aws-sdk-ec2.rb +5 -1
- metadata +8 -4
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -11326,6 +11326,8 @@ module Aws::EC2
|
|
11326
11326
|
# ],
|
11327
11327
|
# },
|
11328
11328
|
# ],
|
11329
|
+
# image_id: "ImageId",
|
11330
|
+
# delete_replaced_root_volume: false,
|
11329
11331
|
# }
|
11330
11332
|
#
|
11331
11333
|
# @!attribute [rw] instance_id
|
@@ -11334,8 +11336,12 @@ module Aws::EC2
|
|
11334
11336
|
#
|
11335
11337
|
# @!attribute [rw] snapshot_id
|
11336
11338
|
# The ID of the snapshot from which to restore the replacement root
|
11337
|
-
# volume.
|
11338
|
-
#
|
11339
|
+
# volume. The specified snapshot must be a snapshot that you
|
11340
|
+
# previously created from the original root volume.
|
11341
|
+
#
|
11342
|
+
# If you want to restore the replacement root volume to the initial
|
11343
|
+
# launch state, or if you want to restore the replacement root volume
|
11344
|
+
# from an AMI, omit this parameter.
|
11339
11345
|
# @return [String]
|
11340
11346
|
#
|
11341
11347
|
# @!attribute [rw] client_token
|
@@ -11363,6 +11369,24 @@ module Aws::EC2
|
|
11363
11369
|
# The tags to apply to the root volume replacement task.
|
11364
11370
|
# @return [Array<Types::TagSpecification>]
|
11365
11371
|
#
|
11372
|
+
# @!attribute [rw] image_id
|
11373
|
+
# The ID of the AMI to use to restore the root volume. The specified
|
11374
|
+
# AMI must have the same product code, billing information,
|
11375
|
+
# architecture type, and virtualization type as that of the instance.
|
11376
|
+
#
|
11377
|
+
# If you want to restore the replacement volume from a specific
|
11378
|
+
# snapshot, or if you want to restore it to its launch state, omit
|
11379
|
+
# this parameter.
|
11380
|
+
# @return [String]
|
11381
|
+
#
|
11382
|
+
# @!attribute [rw] delete_replaced_root_volume
|
11383
|
+
# Indicates whether to automatically delete the original root volume
|
11384
|
+
# after the root volume replacement task completes. To delete the
|
11385
|
+
# original root volume, specify `true`. If you choose to keep the
|
11386
|
+
# original root volume after the replacement task completes, you must
|
11387
|
+
# manually delete it when you no longer need it.
|
11388
|
+
# @return [Boolean]
|
11389
|
+
#
|
11366
11390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTaskRequest AWS API Documentation
|
11367
11391
|
#
|
11368
11392
|
class CreateReplaceRootVolumeTaskRequest < Struct.new(
|
@@ -11370,7 +11394,9 @@ module Aws::EC2
|
|
11370
11394
|
:snapshot_id,
|
11371
11395
|
:client_token,
|
11372
11396
|
:dry_run,
|
11373
|
-
:tag_specifications
|
11397
|
+
:tag_specifications,
|
11398
|
+
:image_id,
|
11399
|
+
:delete_replaced_root_volume)
|
11374
11400
|
SENSITIVE = []
|
11375
11401
|
include Aws::Structure
|
11376
11402
|
end
|
@@ -57568,6 +57594,19 @@ module Aws::EC2
|
|
57568
57594
|
# The tags assigned to the task.
|
57569
57595
|
# @return [Array<Types::Tag>]
|
57570
57596
|
#
|
57597
|
+
# @!attribute [rw] image_id
|
57598
|
+
# The ID of the AMI used to create the replacement root volume.
|
57599
|
+
# @return [String]
|
57600
|
+
#
|
57601
|
+
# @!attribute [rw] snapshot_id
|
57602
|
+
# The ID of the snapshot used to create the replacement root volume.
|
57603
|
+
# @return [String]
|
57604
|
+
#
|
57605
|
+
# @!attribute [rw] delete_replaced_root_volume
|
57606
|
+
# Indicates whether the original root volume is to be deleted after
|
57607
|
+
# the root volume replacement task completes.
|
57608
|
+
# @return [Boolean]
|
57609
|
+
#
|
57571
57610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRootVolumeTask AWS API Documentation
|
57572
57611
|
#
|
57573
57612
|
class ReplaceRootVolumeTask < Struct.new(
|
@@ -57576,7 +57615,10 @@ module Aws::EC2
|
|
57576
57615
|
:task_state,
|
57577
57616
|
:start_time,
|
57578
57617
|
:complete_time,
|
57579
|
-
:tags
|
57618
|
+
:tags,
|
57619
|
+
:image_id,
|
57620
|
+
:snapshot_id,
|
57621
|
+
:delete_replaced_root_volume)
|
57580
57622
|
SENSITIVE = []
|
57581
57623
|
include Aws::Structure
|
57582
57624
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
@@ -13,10 +13,14 @@ require 'aws-sdk-core'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-ec2/types'
|
15
15
|
require_relative 'aws-sdk-ec2/client_api'
|
16
|
+
require_relative 'aws-sdk-ec2/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-ec2/client'
|
17
18
|
require_relative 'aws-sdk-ec2/errors'
|
18
19
|
require_relative 'aws-sdk-ec2/waiters'
|
19
20
|
require_relative 'aws-sdk-ec2/resource'
|
21
|
+
require_relative 'aws-sdk-ec2/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-ec2/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-ec2/endpoints'
|
20
24
|
require_relative 'aws-sdk-ec2/classic_address'
|
21
25
|
require_relative 'aws-sdk-ec2/dhcp_options'
|
22
26
|
require_relative 'aws-sdk-ec2/image'
|
@@ -72,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
|
|
72
76
|
# @!group service
|
73
77
|
module Aws::EC2
|
74
78
|
|
75
|
-
GEM_VERSION = '1.
|
79
|
+
GEM_VERSION = '1.343.0'
|
76
80
|
|
77
81
|
end
|
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.343.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: 2022-10-
|
11
|
+
date: 2022-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.165.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.165.0
|
47
47
|
description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
|
48
48
|
This gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
@@ -63,6 +63,9 @@ files:
|
|
63
63
|
- lib/aws-sdk-ec2/customizations/instance.rb
|
64
64
|
- lib/aws-sdk-ec2/customizations/resource.rb
|
65
65
|
- lib/aws-sdk-ec2/dhcp_options.rb
|
66
|
+
- lib/aws-sdk-ec2/endpoint_parameters.rb
|
67
|
+
- lib/aws-sdk-ec2/endpoint_provider.rb
|
68
|
+
- lib/aws-sdk-ec2/endpoints.rb
|
66
69
|
- lib/aws-sdk-ec2/errors.rb
|
67
70
|
- lib/aws-sdk-ec2/image.rb
|
68
71
|
- lib/aws-sdk-ec2/instance.rb
|
@@ -75,6 +78,7 @@ files:
|
|
75
78
|
- lib/aws-sdk-ec2/network_interface_association.rb
|
76
79
|
- lib/aws-sdk-ec2/placement_group.rb
|
77
80
|
- lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb
|
81
|
+
- lib/aws-sdk-ec2/plugins/endpoints.rb
|
78
82
|
- lib/aws-sdk-ec2/plugins/region_validation.rb
|
79
83
|
- lib/aws-sdk-ec2/resource.rb
|
80
84
|
- lib/aws-sdk-ec2/route.rb
|