aws-sdk-ec2 1.629.0 → 1.630.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +20 -6
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +19 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3dc83e9ba3bc698c6ce2eae230961ea371b2c7f8a2961205e8ceccbfd1b0280b
|
|
4
|
+
data.tar.gz: 79d19009a7b7c5f091ce13137dc77d8e901f0bf9b5b2550c5f0279fbb3d96794
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '069676da6baa8e7dd67802489880dd1ad9bcf7490ff083ac5508096cb476817b3208c43d297ceb97fc8bfa6585232ef18829ea30d7e3a67024a1b24b2694f353'
|
|
7
|
+
data.tar.gz: 541d24fad89591ad7be8b439c31cf33c9b06d180a79bb2202868c058b162607398142b20d604f55707be0b39c42c95d009eabd69f2e9215d8ae29cc0f707c4ad
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.630.0 (2026-07-08)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Replace Root Volume now supports a VolumeId parameter. This allows the customer to pass in a pre-prepared volume as the target root volume for an RRV workflow.
|
|
8
|
+
|
|
4
9
|
1.629.0 (2026-07-07)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.630.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -13702,8 +13702,9 @@ module Aws::EC2
|
|
|
13702
13702
|
# Replaces the EBS-backed root volume for a `running` instance with a
|
|
13703
13703
|
# new volume that is restored to the original root volume's launch
|
|
13704
13704
|
# state, that is restored to a specific snapshot taken from the original
|
|
13705
|
-
# root volume,
|
|
13706
|
-
# characteristics as that of the instance
|
|
13705
|
+
# root volume, that is restored from an AMI that has the same key
|
|
13706
|
+
# characteristics as that of the instance, or that is replaced by a
|
|
13707
|
+
# specified volume.
|
|
13707
13708
|
#
|
|
13708
13709
|
# For more information, see [Replace a root volume][1] in the *Amazon
|
|
13709
13710
|
# EC2 User Guide*.
|
|
@@ -13721,8 +13722,9 @@ module Aws::EC2
|
|
|
13721
13722
|
# created from the original root volume.
|
|
13722
13723
|
#
|
|
13723
13724
|
# If you want to restore the replacement root volume to the initial
|
|
13724
|
-
# launch state,
|
|
13725
|
-
#
|
|
13725
|
+
# launch state, if you want to restore the replacement root volume from
|
|
13726
|
+
# an AMI, or if you want to replace the root volume with a specified
|
|
13727
|
+
# volume, omit this parameter.
|
|
13726
13728
|
#
|
|
13727
13729
|
# @option params [String] :client_token
|
|
13728
13730
|
# Unique, case-sensitive identifier you provide to ensure the
|
|
@@ -13752,7 +13754,8 @@ module Aws::EC2
|
|
|
13752
13754
|
# type, and virtualization type as that of the instance.
|
|
13753
13755
|
#
|
|
13754
13756
|
# If you want to restore the replacement volume from a specific
|
|
13755
|
-
# snapshot,
|
|
13757
|
+
# snapshot, if you want to restore it to its launch state, or if you
|
|
13758
|
+
# want to replace the root volume with a specified volume, omit this
|
|
13756
13759
|
# parameter.
|
|
13757
13760
|
#
|
|
13758
13761
|
# @option params [Boolean] :delete_replaced_root_volume
|
|
@@ -13793,6 +13796,16 @@ module Aws::EC2
|
|
|
13793
13796
|
#
|
|
13794
13797
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
|
|
13795
13798
|
#
|
|
13799
|
+
# @option params [String] :volume_id
|
|
13800
|
+
# The ID of the volume to use as the replacement root volume. The
|
|
13801
|
+
# specified volume must be in the same Availability Zone as the
|
|
13802
|
+
# instance, must be in the `available` state, and must not be attached
|
|
13803
|
+
# to an instance. If the original root volume is encrypted, the
|
|
13804
|
+
# specified volume must also be encrypted.
|
|
13805
|
+
#
|
|
13806
|
+
# If you want to restore the replacement root volume from a specific
|
|
13807
|
+
# snapshot, an AMI, or to its launch state, omit this parameter.
|
|
13808
|
+
#
|
|
13796
13809
|
# @return [Types::CreateReplaceRootVolumeTaskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
13797
13810
|
#
|
|
13798
13811
|
# * {Types::CreateReplaceRootVolumeTaskResult#replace_root_volume_task #replace_root_volume_task} => Types::ReplaceRootVolumeTask
|
|
@@ -13818,6 +13831,7 @@ module Aws::EC2
|
|
|
13818
13831
|
# image_id: "ImageId",
|
|
13819
13832
|
# delete_replaced_root_volume: false,
|
|
13820
13833
|
# volume_initialization_rate: 1,
|
|
13834
|
+
# volume_id: "VolumeId",
|
|
13821
13835
|
# })
|
|
13822
13836
|
#
|
|
13823
13837
|
# @example Response structure
|
|
@@ -74375,7 +74389,7 @@ module Aws::EC2
|
|
|
74375
74389
|
tracer: tracer
|
|
74376
74390
|
)
|
|
74377
74391
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
74378
|
-
context[:gem_version] = '1.
|
|
74392
|
+
context[:gem_version] = '1.630.0'
|
|
74379
74393
|
Seahorse::Client::Request.new(handlers, context)
|
|
74380
74394
|
end
|
|
74381
74395
|
|
|
@@ -6511,6 +6511,7 @@ module Aws::EC2
|
|
|
6511
6511
|
CreateReplaceRootVolumeTaskRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId"))
|
|
6512
6512
|
CreateReplaceRootVolumeTaskRequest.add_member(:delete_replaced_root_volume, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteReplacedRootVolume"))
|
|
6513
6513
|
CreateReplaceRootVolumeTaskRequest.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: Long, location_name: "VolumeInitializationRate"))
|
|
6514
|
+
CreateReplaceRootVolumeTaskRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
|
|
6514
6515
|
CreateReplaceRootVolumeTaskRequest.struct_class = Types::CreateReplaceRootVolumeTaskRequest
|
|
6515
6516
|
|
|
6516
6517
|
CreateReplaceRootVolumeTaskResult.add_member(:replace_root_volume_task, Shapes::ShapeRef.new(shape: ReplaceRootVolumeTask, location_name: "replaceRootVolumeTask"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -13735,8 +13735,9 @@ module Aws::EC2
|
|
|
13735
13735
|
# previously created from the original root volume.
|
|
13736
13736
|
#
|
|
13737
13737
|
# If you want to restore the replacement root volume to the initial
|
|
13738
|
-
# launch state,
|
|
13739
|
-
# from an AMI,
|
|
13738
|
+
# launch state, if you want to restore the replacement root volume
|
|
13739
|
+
# from an AMI, or if you want to replace the root volume with a
|
|
13740
|
+
# specified volume, omit this parameter.
|
|
13740
13741
|
# @return [String]
|
|
13741
13742
|
#
|
|
13742
13743
|
# @!attribute [rw] client_token
|
|
@@ -13770,8 +13771,9 @@ module Aws::EC2
|
|
|
13770
13771
|
# architecture type, and virtualization type as that of the instance.
|
|
13771
13772
|
#
|
|
13772
13773
|
# If you want to restore the replacement volume from a specific
|
|
13773
|
-
# snapshot,
|
|
13774
|
-
# this
|
|
13774
|
+
# snapshot, if you want to restore it to its launch state, or if you
|
|
13775
|
+
# want to replace the root volume with a specified volume, omit this
|
|
13776
|
+
# parameter.
|
|
13775
13777
|
# @return [String]
|
|
13776
13778
|
#
|
|
13777
13779
|
# @!attribute [rw] delete_replaced_root_volume
|
|
@@ -13816,6 +13818,17 @@ module Aws::EC2
|
|
|
13816
13818
|
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
|
|
13817
13819
|
# @return [Integer]
|
|
13818
13820
|
#
|
|
13821
|
+
# @!attribute [rw] volume_id
|
|
13822
|
+
# The ID of the volume to use as the replacement root volume. The
|
|
13823
|
+
# specified volume must be in the same Availability Zone as the
|
|
13824
|
+
# instance, must be in the `available` state, and must not be attached
|
|
13825
|
+
# to an instance. If the original root volume is encrypted, the
|
|
13826
|
+
# specified volume must also be encrypted.
|
|
13827
|
+
#
|
|
13828
|
+
# If you want to restore the replacement root volume from a specific
|
|
13829
|
+
# snapshot, an AMI, or to its launch state, omit this parameter.
|
|
13830
|
+
# @return [String]
|
|
13831
|
+
#
|
|
13819
13832
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTaskRequest AWS API Documentation
|
|
13820
13833
|
#
|
|
13821
13834
|
class CreateReplaceRootVolumeTaskRequest < Struct.new(
|
|
@@ -13826,7 +13839,8 @@ module Aws::EC2
|
|
|
13826
13839
|
:tag_specifications,
|
|
13827
13840
|
:image_id,
|
|
13828
13841
|
:delete_replaced_root_volume,
|
|
13829
|
-
:volume_initialization_rate
|
|
13842
|
+
:volume_initialization_rate,
|
|
13843
|
+
:volume_id)
|
|
13830
13844
|
SENSITIVE = []
|
|
13831
13845
|
include Aws::Structure
|
|
13832
13846
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -2676,7 +2676,8 @@ module Aws
|
|
|
2676
2676
|
],
|
|
2677
2677
|
?image_id: ::String,
|
|
2678
2678
|
?delete_replaced_root_volume: bool,
|
|
2679
|
-
?volume_initialization_rate: ::Integer
|
|
2679
|
+
?volume_initialization_rate: ::Integer,
|
|
2680
|
+
?volume_id: ::String
|
|
2680
2681
|
) -> _CreateReplaceRootVolumeTaskResponseSuccess
|
|
2681
2682
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateReplaceRootVolumeTaskResponseSuccess
|
|
2682
2683
|
|
data/sig/types.rbs
CHANGED