aws-sdk-ec2 1.646.0 → 1.647.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 +26 -1
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/instance.rb +24 -0
- data/lib/aws-sdk-ec2/types.rb +26 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/instance.rbs +1 -0
- 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: 25b4071b534beb2d1341be1103b6da6fcbc1aeec0b36802d0a84a89cb0d5dc15
|
|
4
|
+
data.tar.gz: 4497fe9e7bd1b7d0d0c5d71408f65554afe89ffb29c133eb2055f41274e4c6fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 913ff802c742ac3ed54f71f828896439e0f00b18409bee7011ab626c1199daa41ffeb7e23b3a2fca539660ab976bdaf1eb82f1474349062a44e4a598e1eb7fde
|
|
7
|
+
data.tar.gz: 8b824ef303458048b380d26ebb247037361ba847ee22c64990a636f2e22ef99e824b80b21899b9c6d3a241362a80560c5220ce87ab2d80c6087b528754b01bb3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.647.0 (2026-09-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - The CreateImage API now supports a BootModeOverride parameter to explicitly set UEFI boot mode on a new AMI, overriding the source instance's inherited boot mode.
|
|
8
|
+
|
|
4
9
|
1.646.0 (2026-09-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.647.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -9108,6 +9108,30 @@ module Aws::EC2
|
|
|
9108
9108
|
#
|
|
9109
9109
|
# Default: `regional` (for instances in Local Zones only)
|
|
9110
9110
|
#
|
|
9111
|
+
# @option params [String] :boot_mode_override
|
|
9112
|
+
# The boot mode of the new image, which overrides the default boot mode.
|
|
9113
|
+
# By default, if you do not specify this parameter, the new image
|
|
9114
|
+
# inherits the `boot-mode` from the source instance.
|
|
9115
|
+
#
|
|
9116
|
+
# A value of `uefi` indicates that the image only supports UEFI boot
|
|
9117
|
+
# mode. You can specify this parameter only if the
|
|
9118
|
+
# `current-instance-boot-mode` of the source instance is `uefi`. To find
|
|
9119
|
+
# the `boot-mode` or `current-instance-boot-mode` of an instance, see
|
|
9120
|
+
# [DescribeInstances][1].
|
|
9121
|
+
#
|
|
9122
|
+
# <note markdown="1"> The operating system contained in the AMI must be configured to
|
|
9123
|
+
# support the specified boot mode.
|
|
9124
|
+
#
|
|
9125
|
+
# </note>
|
|
9126
|
+
#
|
|
9127
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
|
9128
|
+
# boot modes][2] in the *Amazon EC2 User Guide*.
|
|
9129
|
+
#
|
|
9130
|
+
#
|
|
9131
|
+
#
|
|
9132
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
|
9133
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
9134
|
+
#
|
|
9111
9135
|
# @option params [Boolean] :dry_run
|
|
9112
9136
|
# Checks whether you have the required permissions for the action,
|
|
9113
9137
|
# without actually making the request, and provides an error response.
|
|
@@ -9210,6 +9234,7 @@ module Aws::EC2
|
|
|
9210
9234
|
# },
|
|
9211
9235
|
# ],
|
|
9212
9236
|
# snapshot_location: "regional", # accepts regional, local
|
|
9237
|
+
# boot_mode_override: "uefi", # accepts uefi
|
|
9213
9238
|
# dry_run: false,
|
|
9214
9239
|
# instance_id: "InstanceId", # required
|
|
9215
9240
|
# name: "ImageNameRequest", # required
|
|
@@ -77407,7 +77432,7 @@ module Aws::EC2
|
|
|
77407
77432
|
tracer: tracer
|
|
77408
77433
|
)
|
|
77409
77434
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
77410
|
-
context[:gem_version] = '1.
|
|
77435
|
+
context[:gem_version] = '1.647.0'
|
|
77411
77436
|
Seahorse::Client::Request.new(handlers, context)
|
|
77412
77437
|
end
|
|
77413
77438
|
|
|
@@ -291,6 +291,7 @@ module Aws::EC2
|
|
|
291
291
|
BlockPublicAccessMode = Shapes::StringShape.new(name: 'BlockPublicAccessMode')
|
|
292
292
|
BlockPublicAccessStates = Shapes::StructureShape.new(name: 'BlockPublicAccessStates')
|
|
293
293
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
294
|
+
BootModeOverrideValues = Shapes::StringShape.new(name: 'BootModeOverrideValues')
|
|
294
295
|
BootModeType = Shapes::StringShape.new(name: 'BootModeType')
|
|
295
296
|
BootModeTypeList = Shapes::ListShape.new(name: 'BootModeTypeList')
|
|
296
297
|
BootModeValues = Shapes::StringShape.new(name: 'BootModeValues')
|
|
@@ -6371,6 +6372,7 @@ module Aws::EC2
|
|
|
6371
6372
|
|
|
6372
6373
|
CreateImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
6373
6374
|
CreateImageRequest.add_member(:snapshot_location, Shapes::ShapeRef.new(shape: SnapshotLocationEnum, location_name: "SnapshotLocation"))
|
|
6375
|
+
CreateImageRequest.add_member(:boot_mode_override, Shapes::ShapeRef.new(shape: BootModeOverrideValues, location_name: "BootModeOverride"))
|
|
6374
6376
|
CreateImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
6375
6377
|
CreateImageRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
|
|
6376
6378
|
CreateImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: ImageNameRequest, required: true, location_name: "name"))
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -805,6 +805,7 @@ module Aws::EC2
|
|
|
805
805
|
# },
|
|
806
806
|
# ],
|
|
807
807
|
# snapshot_location: "regional", # accepts regional, local
|
|
808
|
+
# boot_mode_override: "uefi", # accepts uefi
|
|
808
809
|
# dry_run: false,
|
|
809
810
|
# name: "ImageNameRequest", # required
|
|
810
811
|
# description: "ImageDescriptionRequest",
|
|
@@ -875,6 +876,29 @@ module Aws::EC2
|
|
|
875
876
|
# `InvalidParameterValue` error.
|
|
876
877
|
#
|
|
877
878
|
# Default: `regional` (for instances in Local Zones only)
|
|
879
|
+
# @option options [String] :boot_mode_override
|
|
880
|
+
# The boot mode of the new image, which overrides the default boot mode.
|
|
881
|
+
# By default, if you do not specify this parameter, the new image
|
|
882
|
+
# inherits the `boot-mode` from the source instance.
|
|
883
|
+
#
|
|
884
|
+
# A value of `uefi` indicates that the image only supports UEFI boot
|
|
885
|
+
# mode. You can specify this parameter only if the
|
|
886
|
+
# `current-instance-boot-mode` of the source instance is `uefi`. To find
|
|
887
|
+
# the `boot-mode` or `current-instance-boot-mode` of an instance, see
|
|
888
|
+
# [DescribeInstances][1].
|
|
889
|
+
#
|
|
890
|
+
# <note markdown="1"> The operating system contained in the AMI must be configured to
|
|
891
|
+
# support the specified boot mode.
|
|
892
|
+
#
|
|
893
|
+
# </note>
|
|
894
|
+
#
|
|
895
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
|
896
|
+
# boot modes][2] in the *Amazon EC2 User Guide*.
|
|
897
|
+
#
|
|
898
|
+
#
|
|
899
|
+
#
|
|
900
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
|
901
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
878
902
|
# @option options [Boolean] :dry_run
|
|
879
903
|
# Checks whether you have the required permissions for the action,
|
|
880
904
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -11736,6 +11736,31 @@ module Aws::EC2
|
|
|
11736
11736
|
# Default: `regional` (for instances in Local Zones only)
|
|
11737
11737
|
# @return [String]
|
|
11738
11738
|
#
|
|
11739
|
+
# @!attribute [rw] boot_mode_override
|
|
11740
|
+
# The boot mode of the new image, which overrides the default boot
|
|
11741
|
+
# mode. By default, if you do not specify this parameter, the new
|
|
11742
|
+
# image inherits the `boot-mode` from the source instance.
|
|
11743
|
+
#
|
|
11744
|
+
# A value of `uefi` indicates that the image only supports UEFI boot
|
|
11745
|
+
# mode. You can specify this parameter only if the
|
|
11746
|
+
# `current-instance-boot-mode` of the source instance is `uefi`. To
|
|
11747
|
+
# find the `boot-mode` or `current-instance-boot-mode` of an instance,
|
|
11748
|
+
# see [DescribeInstances][1].
|
|
11749
|
+
#
|
|
11750
|
+
# <note markdown="1"> The operating system contained in the AMI must be configured to
|
|
11751
|
+
# support the specified boot mode.
|
|
11752
|
+
#
|
|
11753
|
+
# </note>
|
|
11754
|
+
#
|
|
11755
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
|
11756
|
+
# boot modes][2] in the *Amazon EC2 User Guide*.
|
|
11757
|
+
#
|
|
11758
|
+
#
|
|
11759
|
+
#
|
|
11760
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
|
11761
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
11762
|
+
# @return [String]
|
|
11763
|
+
#
|
|
11739
11764
|
# @!attribute [rw] dry_run
|
|
11740
11765
|
# Checks whether you have the required permissions for the action,
|
|
11741
11766
|
# without actually making the request, and provides an error response.
|
|
@@ -11801,6 +11826,7 @@ module Aws::EC2
|
|
|
11801
11826
|
class CreateImageRequest < Struct.new(
|
|
11802
11827
|
:tag_specifications,
|
|
11803
11828
|
:snapshot_location,
|
|
11829
|
+
:boot_mode_override,
|
|
11804
11830
|
:dry_run,
|
|
11805
11831
|
:instance_id,
|
|
11806
11832
|
:name,
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/instance.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -2531,6 +2531,7 @@ module Aws::EC2
|
|
|
2531
2531
|
class CreateImageRequest
|
|
2532
2532
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
2533
2533
|
attr_accessor snapshot_location: ("regional" | "local")
|
|
2534
|
+
attr_accessor boot_mode_override: ("uefi")
|
|
2534
2535
|
attr_accessor dry_run: bool
|
|
2535
2536
|
attr_accessor instance_id: ::String
|
|
2536
2537
|
attr_accessor name: ::String
|