aws-sdk-ec2 1.628.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28d42c96402c1f1a6258778c764b8832912351481b4c7b394138703c9fa1ec45
4
- data.tar.gz: 1c0142bccffe706e44b0601bfdb7751729b7ddeca921d5c9c8cbe4474c2a2735
3
+ metadata.gz: 3dc83e9ba3bc698c6ce2eae230961ea371b2c7f8a2961205e8ceccbfd1b0280b
4
+ data.tar.gz: 79d19009a7b7c5f091ce13137dc77d8e901f0bf9b5b2550c5f0279fbb3d96794
5
5
  SHA512:
6
- metadata.gz: bf4f21dd86d26c061dc642306f1d67733a23aac06e977d43fae038269b5f9f69928df22d45e013c8a2d16e676484ba150e3968b067af425410846b6ec554d81b
7
- data.tar.gz: 7ab20826f74c1c470d91979c79d256c289d75d229c4f9c502847a7ed4889e19b1b53c8ca662a9eaee704019a9fb834592d66024506a8ccc971db94b45546d380
6
+ metadata.gz: '069676da6baa8e7dd67802489880dd1ad9bcf7490ff083ac5508096cb476817b3208c43d297ceb97fc8bfa6585232ef18829ea30d7e3a67024a1b24b2694f353'
7
+ data.tar.gz: 541d24fad89591ad7be8b439c31cf33c9b06d180a79bb2202868c058b162607398142b20d604f55707be0b39c42c95d009eabd69f2e9215d8ae29cc0f707c4ad
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.629.0 (2026-07-07)
10
+ ------------------
11
+
12
+ * Feature - This launch surfaces the public SSM parameter associated with public AMIs in the AMI metadata.
13
+
4
14
  1.628.0 (2026-07-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.628.0
1
+ 1.630.0
@@ -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, or that is restored from an AMI that has the same key
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, or if you want to restore the replacement root volume
13725
- # from an AMI, omit this parameter.
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, or if you want to restore it to its launch state, omit this
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
@@ -30343,6 +30357,27 @@ module Aws::EC2
30343
30357
  #
30344
30358
  # * `image-id` - The ID of the image.
30345
30359
  #
30360
+ # * `image-watermark.source-image-creation-time` - The creation date of
30361
+ # the source AMI, in the ISO 8601 format in the UTC time zone (`
30362
+ # YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a wildcard (`*`),
30363
+ # for example, `2021-09-29T*`, which matches an entire day.
30364
+ #
30365
+ # * `image-watermark.source-image-id` - The ID of the AMI to which the
30366
+ # watermark was originally attached.
30367
+ #
30368
+ # * `image-watermark.source-image-region` - The Region where the
30369
+ # watermark was originally attached.
30370
+ #
30371
+ # * `image-watermark.watermark-creation-time` - The date and time the
30372
+ # watermark was attached to the AMI, in the ISO 8601 format in the UTC
30373
+ # time zone (` YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a
30374
+ # wildcard (`*`), for example, `2021-09-29T*`, which matches an entire
30375
+ # day.
30376
+ #
30377
+ # * `image-watermark.watermark-key` - The watermark identifier, in
30378
+ # `accountId:watermarkName` format (for example,
30379
+ # `123456789012:approvedAmi`).
30380
+ #
30346
30381
  # * `image-type` - The image type (`machine` \| `kernel` \| `ramdisk`).
30347
30382
  #
30348
30383
  # * `is-public` - A Boolean that indicates whether the image is public.
@@ -30369,6 +30404,12 @@ module Aws::EC2
30369
30404
  #
30370
30405
  # * `product-code.type` - The type of the product code (`marketplace`).
30371
30406
  #
30407
+ # * `public-ssm-parameter-name` - The name of a public Systems Manager
30408
+ # parameter associated with the AMI. The parameter must be in a
30409
+ # trusted Amazon Web Services namespace under `aws/service/`. Returns
30410
+ # all AMIs that have ever been associated with the parameter,
30411
+ # including previous versions.
30412
+ #
30372
30413
  # * `ramdisk-id` - The RAM disk ID.
30373
30414
  #
30374
30415
  # * `root-device-name` - The device name of the root device volume (for
@@ -30531,6 +30572,7 @@ module Aws::EC2
30531
30572
  # resp.images[0].source_image_id #=> String
30532
30573
  # resp.images[0].source_image_region #=> String
30533
30574
  # resp.images[0].free_tier_eligible #=> Boolean
30575
+ # resp.images[0].public_ssm_parameter_name #=> String
30534
30576
  # resp.images[0].image_watermarks #=> Array
30535
30577
  # resp.images[0].image_watermarks[0].watermark_key #=> String
30536
30578
  # resp.images[0].image_watermarks[0].source_image_region #=> String
@@ -74347,7 +74389,7 @@ module Aws::EC2
74347
74389
  tracer: tracer
74348
74390
  )
74349
74391
  context[:gem_name] = 'aws-sdk-ec2'
74350
- context[:gem_version] = '1.628.0'
74392
+ context[:gem_version] = '1.630.0'
74351
74393
  Seahorse::Client::Request.new(handlers, context)
74352
74394
  end
74353
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"))
@@ -12357,6 +12358,7 @@ module Aws::EC2
12357
12358
  Image.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageId"))
12358
12359
  Image.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageRegion"))
12359
12360
  Image.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: Boolean, location_name: "freeTierEligible"))
12361
+ Image.add_member(:public_ssm_parameter_name, Shapes::ShapeRef.new(shape: String, location_name: "publicSsmParameterName"))
12360
12362
  Image.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkList, location_name: "imageWatermarkSet"))
12361
12363
  Image.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
12362
12364
  Image.add_member(:image_location, Shapes::ShapeRef.new(shape: String, location_name: "imageLocation"))
@@ -264,6 +264,13 @@ module Aws::EC2
264
264
  data[:free_tier_eligible]
265
265
  end
266
266
 
267
+ # The name of the public Systems Manager parameter that resolves to this
268
+ # AMI, under the `aws/service/` namespace.
269
+ # @return [String]
270
+ def public_ssm_parameter_name
271
+ data[:public_ssm_parameter_name]
272
+ end
273
+
267
274
  # The watermarks attached to the AMI.
268
275
  # @return [Array<Types::ImageWatermark>]
269
276
  def image_watermarks
@@ -2498,6 +2498,27 @@ module Aws::EC2
2498
2498
  #
2499
2499
  # * `image-id` - The ID of the image.
2500
2500
  #
2501
+ # * `image-watermark.source-image-creation-time` - The creation date of
2502
+ # the source AMI, in the ISO 8601 format in the UTC time zone (`
2503
+ # YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a wildcard (`*`),
2504
+ # for example, `2021-09-29T*`, which matches an entire day.
2505
+ #
2506
+ # * `image-watermark.source-image-id` - The ID of the AMI to which the
2507
+ # watermark was originally attached.
2508
+ #
2509
+ # * `image-watermark.source-image-region` - The Region where the
2510
+ # watermark was originally attached.
2511
+ #
2512
+ # * `image-watermark.watermark-creation-time` - The date and time the
2513
+ # watermark was attached to the AMI, in the ISO 8601 format in the UTC
2514
+ # time zone (` YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a
2515
+ # wildcard (`*`), for example, `2021-09-29T*`, which matches an entire
2516
+ # day.
2517
+ #
2518
+ # * `image-watermark.watermark-key` - The watermark identifier, in
2519
+ # `accountId:watermarkName` format (for example,
2520
+ # `123456789012:approvedAmi`).
2521
+ #
2501
2522
  # * `image-type` - The image type (`machine` \| `kernel` \| `ramdisk`).
2502
2523
  #
2503
2524
  # * `is-public` - A Boolean that indicates whether the image is public.
@@ -2524,6 +2545,12 @@ module Aws::EC2
2524
2545
  #
2525
2546
  # * `product-code.type` - The type of the product code (`marketplace`).
2526
2547
  #
2548
+ # * `public-ssm-parameter-name` - The name of a public Systems Manager
2549
+ # parameter associated with the AMI. The parameter must be in a
2550
+ # trusted Amazon Web Services namespace under `aws/service/`. Returns
2551
+ # all AMIs that have ever been associated with the parameter,
2552
+ # including previous versions.
2553
+ #
2527
2554
  # * `ramdisk-id` - The RAM disk ID.
2528
2555
  #
2529
2556
  # * `root-device-name` - The device name of the root device volume (for
@@ -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, or if you want to restore the replacement root volume
13739
- # from an AMI, omit this parameter.
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, or if you want to restore it to its launch state, omit
13774
- # this parameter.
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
@@ -25776,6 +25790,27 @@ module Aws::EC2
25776
25790
  #
25777
25791
  # * `image-id` - The ID of the image.
25778
25792
  #
25793
+ # * `image-watermark.source-image-creation-time` - The creation date
25794
+ # of the source AMI, in the ISO 8601 format in the UTC time zone (`
25795
+ # YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use a wildcard (`*`),
25796
+ # for example, `2021-09-29T*`, which matches an entire day.
25797
+ #
25798
+ # * `image-watermark.source-image-id` - The ID of the AMI to which the
25799
+ # watermark was originally attached.
25800
+ #
25801
+ # * `image-watermark.source-image-region` - The Region where the
25802
+ # watermark was originally attached.
25803
+ #
25804
+ # * `image-watermark.watermark-creation-time` - The date and time the
25805
+ # watermark was attached to the AMI, in the ISO 8601 format in the
25806
+ # UTC time zone (` YYYY-MM-DDTHH:MM:SS.ssssss+HH:MM `). You can use
25807
+ # a wildcard (`*`), for example, `2021-09-29T*`, which matches an
25808
+ # entire day.
25809
+ #
25810
+ # * `image-watermark.watermark-key` - The watermark identifier, in
25811
+ # `accountId:watermarkName` format (for example,
25812
+ # `123456789012:approvedAmi`).
25813
+ #
25779
25814
  # * `image-type` - The image type (`machine` \| `kernel` \|
25780
25815
  # `ramdisk`).
25781
25816
  #
@@ -25806,6 +25841,12 @@ module Aws::EC2
25806
25841
  # * `product-code.type` - The type of the product code
25807
25842
  # (`marketplace`).
25808
25843
  #
25844
+ # * `public-ssm-parameter-name` - The name of a public Systems Manager
25845
+ # parameter associated with the AMI. The parameter must be in a
25846
+ # trusted Amazon Web Services namespace under `aws/service/`.
25847
+ # Returns all AMIs that have ever been associated with the
25848
+ # parameter, including previous versions.
25849
+ #
25809
25850
  # * `ramdisk-id` - The RAM disk ID.
25810
25851
  #
25811
25852
  # * `root-device-name` - The device name of the root device volume
@@ -48745,6 +48786,11 @@ module Aws::EC2
48745
48786
  # * If `false`, the AMI is not eligible for Free Tier.
48746
48787
  # @return [Boolean]
48747
48788
  #
48789
+ # @!attribute [rw] public_ssm_parameter_name
48790
+ # The name of the public Systems Manager parameter that resolves to
48791
+ # this AMI, under the `aws/service/` namespace.
48792
+ # @return [String]
48793
+ #
48748
48794
  # @!attribute [rw] image_watermarks
48749
48795
  # The watermarks attached to the AMI.
48750
48796
  # @return [Array<Types::ImageWatermark>]
@@ -48831,6 +48877,7 @@ module Aws::EC2
48831
48877
  :source_image_id,
48832
48878
  :source_image_region,
48833
48879
  :free_tier_eligible,
48880
+ :public_ssm_parameter_name,
48834
48881
  :image_watermarks,
48835
48882
  :image_id,
48836
48883
  :image_location,
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.628.0'
81
+ GEM_VERSION = '1.630.0'
82
82
 
83
83
  end
84
84
 
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/image.rbs CHANGED
@@ -93,6 +93,9 @@ module Aws
93
93
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#free_tier_eligible-instance_method
94
94
  def free_tier_eligible: () -> bool
95
95
 
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#public_ssm_parameter_name-instance_method
97
+ def public_ssm_parameter_name: () -> ::String
98
+
96
99
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#image_watermarks-instance_method
97
100
  def image_watermarks: () -> ::Array[Types::ImageWatermark]
98
101
 
data/sig/types.rbs CHANGED
@@ -2960,6 +2960,7 @@ module Aws::EC2
2960
2960
  attr_accessor image_id: ::String
2961
2961
  attr_accessor delete_replaced_root_volume: bool
2962
2962
  attr_accessor volume_initialization_rate: ::Integer
2963
+ attr_accessor volume_id: ::String
2963
2964
  SENSITIVE: []
2964
2965
  end
2965
2966
 
@@ -10786,6 +10787,7 @@ module Aws::EC2
10786
10787
  attr_accessor source_image_id: ::String
10787
10788
  attr_accessor source_image_region: ::String
10788
10789
  attr_accessor free_tier_eligible: bool
10790
+ attr_accessor public_ssm_parameter_name: ::String
10789
10791
  attr_accessor image_watermarks: ::Array[Types::ImageWatermark]
10790
10792
  attr_accessor image_id: ::String
10791
10793
  attr_accessor image_location: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.628.0
4
+ version: 1.630.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services