aws-sdk-ec2 1.524.0 → 1.525.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 +49 -8
- data/lib/aws-sdk-ec2/client_api.rb +6 -0
- data/lib/aws-sdk-ec2/types.rb +87 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +4 -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: bea30de5d1ce0cdc97e96f43acf5593b033e6c087a6c0f75c57ec239af035304
|
4
|
+
data.tar.gz: 3463c0a078f08868bc1aa77741c56e8a1be6e520bb10c8c6fb39ff79ada44786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47a2a4f026c625e8809e09552c0444edb7e18c1387b9e4486cbcc7507fe5a6a6fccf76a71b6892ca2474f7559309c993867d3a742433407dea535f0d5c13c7e9
|
7
|
+
data.tar.gz: aabbc89ee942490aa559cc33c4e45c3a11fb3c1b3ff7dd268d9b5e484e6ab34760559995caee17f1bb545d931d562b6c6ffcf31ac17de4afba76e9996140903b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.525.0 (2025-05-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release expands the ModifyInstanceMaintenanceOptions API to enable or disable instance migration during customer-initiated reboots for EC2 Scheduled Reboot Events.
|
8
|
+
|
4
9
|
1.524.0 (2025-05-19)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.525.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -27844,15 +27844,22 @@ module Aws::EC2
|
|
27844
27844
|
# * Local Zone
|
27845
27845
|
# * Supported instance types
|
27846
27846
|
#
|
27847
|
-
# *
|
27848
|
-
# `hpc7a.24xlarge` \| `hpc7a.48xlarge` \| `hpc7a.96xlarge` \|
|
27849
|
-
# `hpc7g.4xlarge` \| `hpc7g.8xlarge` \| `hpc7g.16xlarge`
|
27847
|
+
# * Returns 3 network nodes in the response
|
27850
27848
|
#
|
27851
|
-
#
|
27852
|
-
#
|
27849
|
+
# * `hpc6a.48xlarge` \| `hpc6id.32xlarge` \| `hpc7a.12xlarge` \|
|
27850
|
+
# `hpc7a.24xlarge` \| `hpc7a.48xlarge` \| `hpc7a.96xlarge` \|
|
27851
|
+
# `hpc7g.4xlarge` \| `hpc7g.8xlarge` \| `hpc7g.16xlarge`
|
27853
27852
|
#
|
27854
|
-
#
|
27855
|
-
#
|
27853
|
+
# * `p3dn.24xlarge` \| `p4d.24xlarge` \| `p4de.24xlarge` \|
|
27854
|
+
# `p5.48xlarge` \| `p5e.48xlarge` \| `p5en.48xlarge`
|
27855
|
+
#
|
27856
|
+
# * `trn1.2xlarge` \| `trn1.32xlarge` \| `trn1n.32xlarge` \|
|
27857
|
+
# `trn2.48xlarge` \| `trn2u.48xlarge`
|
27858
|
+
# * Returns 4 network nodes in the response
|
27859
|
+
#
|
27860
|
+
# * `p6-b200.48xlarge`
|
27861
|
+
#
|
27862
|
+
# ^
|
27856
27863
|
#
|
27857
27864
|
# For more information, see [Amazon EC2 instance topology][1] in the
|
27858
27865
|
# *Amazon EC2 User Guide*.
|
@@ -28207,6 +28214,9 @@ module Aws::EC2
|
|
28207
28214
|
# * `processor-info.supported-features` - The supported CPU features
|
28208
28215
|
# (`amd-sev-snp`).
|
28209
28216
|
#
|
28217
|
+
# * `reboot-migration-support` - Indicates whether enabling reboot
|
28218
|
+
# migration is supported (`supported` \| `unsupported`).
|
28219
|
+
#
|
28210
28220
|
# * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
|
28211
28221
|
#
|
28212
28222
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
@@ -28382,6 +28392,7 @@ module Aws::EC2
|
|
28382
28392
|
# resp.instance_types[0].neuron_info.neuron_devices[0].memory_info.size_in_mi_b #=> Integer
|
28383
28393
|
# resp.instance_types[0].neuron_info.total_neuron_device_memory_in_mi_b #=> Integer
|
28384
28394
|
# resp.instance_types[0].phc_support #=> String, one of "unsupported", "supported"
|
28395
|
+
# resp.instance_types[0].reboot_migration_support #=> String, one of "unsupported", "supported"
|
28385
28396
|
# resp.next_token #=> String
|
28386
28397
|
#
|
28387
28398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes AWS API Documentation
|
@@ -29123,6 +29134,7 @@ module Aws::EC2
|
|
29123
29134
|
# resp.reservations[0].instances[0].ipv_6_address #=> String
|
29124
29135
|
# resp.reservations[0].instances[0].tpm_support #=> String
|
29125
29136
|
# resp.reservations[0].instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
|
29137
|
+
# resp.reservations[0].instances[0].maintenance_options.reboot_migration #=> String, one of "disabled", "default"
|
29126
29138
|
# resp.reservations[0].instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
|
29127
29139
|
# resp.reservations[0].instances[0].network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
|
29128
29140
|
# resp.reservations[0].instances[0].operator.managed #=> Boolean
|
@@ -53021,9 +53033,14 @@ module Aws::EC2
|
|
53021
53033
|
# for an unsupported instance type. For more information, see
|
53022
53034
|
# [Simplified automatic recovery][1].
|
53023
53035
|
#
|
53036
|
+
# Modifies the reboot migration behavior during a user-initiated reboot
|
53037
|
+
# of an instance that has a pending `system-reboot` event. For more
|
53038
|
+
# information, see [Enable or disable reboot migration][2].
|
53039
|
+
#
|
53024
53040
|
#
|
53025
53041
|
#
|
53026
53042
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery
|
53043
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
53027
53044
|
#
|
53028
53045
|
# @option params [required, String] :instance_id
|
53029
53046
|
# The ID of the instance.
|
@@ -53032,6 +53049,26 @@ module Aws::EC2
|
|
53032
53049
|
# Disables the automatic recovery behavior of your instance or sets it
|
53033
53050
|
# to default.
|
53034
53051
|
#
|
53052
|
+
# @option params [String] :reboot_migration
|
53053
|
+
# Specifies whether to attempt reboot migration during a user-initiated
|
53054
|
+
# reboot of an instance that has a scheduled `system-reboot` event:
|
53055
|
+
#
|
53056
|
+
# * `default` - Amazon EC2 attempts to migrate the instance to new
|
53057
|
+
# hardware (reboot migration). If successful, the `system-reboot`
|
53058
|
+
# event is cleared. If unsuccessful, an in-place reboot occurs and the
|
53059
|
+
# event remains scheduled.
|
53060
|
+
#
|
53061
|
+
# * `disabled` - Amazon EC2 keeps the instance on the same hardware
|
53062
|
+
# (in-place reboot). The `system-reboot` event remains scheduled.
|
53063
|
+
#
|
53064
|
+
# This setting only applies to supported instances that have a scheduled
|
53065
|
+
# reboot event. For more information, see [Enable or disable reboot
|
53066
|
+
# migration][1] in the *Amazon EC2 User Guide*.
|
53067
|
+
#
|
53068
|
+
#
|
53069
|
+
#
|
53070
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
53071
|
+
#
|
53035
53072
|
# @option params [Boolean] :dry_run
|
53036
53073
|
# Checks whether you have the required permissions for the action,
|
53037
53074
|
# without actually making the request, and provides an error response.
|
@@ -53042,12 +53079,14 @@ module Aws::EC2
|
|
53042
53079
|
#
|
53043
53080
|
# * {Types::ModifyInstanceMaintenanceOptionsResult#instance_id #instance_id} => String
|
53044
53081
|
# * {Types::ModifyInstanceMaintenanceOptionsResult#auto_recovery #auto_recovery} => String
|
53082
|
+
# * {Types::ModifyInstanceMaintenanceOptionsResult#reboot_migration #reboot_migration} => String
|
53045
53083
|
#
|
53046
53084
|
# @example Request syntax with placeholder values
|
53047
53085
|
#
|
53048
53086
|
# resp = client.modify_instance_maintenance_options({
|
53049
53087
|
# instance_id: "InstanceId", # required
|
53050
53088
|
# auto_recovery: "disabled", # accepts disabled, default
|
53089
|
+
# reboot_migration: "disabled", # accepts disabled, default
|
53051
53090
|
# dry_run: false,
|
53052
53091
|
# })
|
53053
53092
|
#
|
@@ -53055,6 +53094,7 @@ module Aws::EC2
|
|
53055
53094
|
#
|
53056
53095
|
# resp.instance_id #=> String
|
53057
53096
|
# resp.auto_recovery #=> String, one of "disabled", "default"
|
53097
|
+
# resp.reboot_migration #=> String, one of "disabled", "default"
|
53058
53098
|
#
|
53059
53099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptions AWS API Documentation
|
53060
53100
|
#
|
@@ -63188,6 +63228,7 @@ module Aws::EC2
|
|
63188
63228
|
# resp.instances[0].ipv_6_address #=> String
|
63189
63229
|
# resp.instances[0].tpm_support #=> String
|
63190
63230
|
# resp.instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
|
63231
|
+
# resp.instances[0].maintenance_options.reboot_migration #=> String, one of "disabled", "default"
|
63191
63232
|
# resp.instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
|
63192
63233
|
# resp.instances[0].network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
|
63193
63234
|
# resp.instances[0].operator.managed #=> Boolean
|
@@ -65847,7 +65888,7 @@ module Aws::EC2
|
|
65847
65888
|
tracer: tracer
|
65848
65889
|
)
|
65849
65890
|
context[:gem_name] = 'aws-sdk-ec2'
|
65850
|
-
context[:gem_version] = '1.
|
65891
|
+
context[:gem_version] = '1.525.0'
|
65851
65892
|
Seahorse::Client::Request.new(handlers, context)
|
65852
65893
|
end
|
65853
65894
|
|
@@ -1921,6 +1921,7 @@ module Aws::EC2
|
|
1921
1921
|
InstanceNetworkPerformanceOptionsRequest = Shapes::StructureShape.new(name: 'InstanceNetworkPerformanceOptionsRequest')
|
1922
1922
|
InstancePrivateIpAddress = Shapes::StructureShape.new(name: 'InstancePrivateIpAddress')
|
1923
1923
|
InstancePrivateIpAddressList = Shapes::ListShape.new(name: 'InstancePrivateIpAddressList')
|
1924
|
+
InstanceRebootMigrationState = Shapes::StringShape.new(name: 'InstanceRebootMigrationState')
|
1924
1925
|
InstanceRequirements = Shapes::StructureShape.new(name: 'InstanceRequirements')
|
1925
1926
|
InstanceRequirementsRequest = Shapes::StructureShape.new(name: 'InstanceRequirementsRequest')
|
1926
1927
|
InstanceRequirementsWithMetadataRequest = Shapes::StructureShape.new(name: 'InstanceRequirementsWithMetadataRequest')
|
@@ -2722,6 +2723,7 @@ module Aws::EC2
|
|
2722
2723
|
RdsDbProxyArn = Shapes::StringShape.new(name: 'RdsDbProxyArn')
|
2723
2724
|
ReasonCodesList = Shapes::ListShape.new(name: 'ReasonCodesList')
|
2724
2725
|
RebootInstancesRequest = Shapes::StructureShape.new(name: 'RebootInstancesRequest')
|
2726
|
+
RebootMigrationSupport = Shapes::StringShape.new(name: 'RebootMigrationSupport')
|
2725
2727
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
2726
2728
|
RecurringChargeFrequency = Shapes::StringShape.new(name: 'RecurringChargeFrequency')
|
2727
2729
|
RecurringChargesList = Shapes::ListShape.new(name: 'RecurringChargesList')
|
@@ -11252,6 +11254,7 @@ module Aws::EC2
|
|
11252
11254
|
InstanceList.member = Shapes::ShapeRef.new(shape: Instance, location_name: "item")
|
11253
11255
|
|
11254
11256
|
InstanceMaintenanceOptions.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "autoRecovery"))
|
11257
|
+
InstanceMaintenanceOptions.add_member(:reboot_migration, Shapes::ShapeRef.new(shape: InstanceRebootMigrationState, location_name: "rebootMigration"))
|
11255
11258
|
InstanceMaintenanceOptions.struct_class = Types::InstanceMaintenanceOptions
|
11256
11259
|
|
11257
11260
|
InstanceMaintenanceOptionsRequest.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "AutoRecovery"))
|
@@ -11533,6 +11536,7 @@ module Aws::EC2
|
|
11533
11536
|
InstanceTypeInfo.add_member(:media_accelerator_info, Shapes::ShapeRef.new(shape: MediaAcceleratorInfo, location_name: "mediaAcceleratorInfo"))
|
11534
11537
|
InstanceTypeInfo.add_member(:neuron_info, Shapes::ShapeRef.new(shape: NeuronInfo, location_name: "neuronInfo"))
|
11535
11538
|
InstanceTypeInfo.add_member(:phc_support, Shapes::ShapeRef.new(shape: PhcSupport, location_name: "phcSupport"))
|
11539
|
+
InstanceTypeInfo.add_member(:reboot_migration_support, Shapes::ShapeRef.new(shape: RebootMigrationSupport, location_name: "rebootMigrationSupport"))
|
11536
11540
|
InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
|
11537
11541
|
|
11538
11542
|
InstanceTypeInfoFromInstanceRequirements.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
@@ -12801,11 +12805,13 @@ module Aws::EC2
|
|
12801
12805
|
|
12802
12806
|
ModifyInstanceMaintenanceOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
12803
12807
|
ModifyInstanceMaintenanceOptionsRequest.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "AutoRecovery"))
|
12808
|
+
ModifyInstanceMaintenanceOptionsRequest.add_member(:reboot_migration, Shapes::ShapeRef.new(shape: InstanceRebootMigrationState, location_name: "RebootMigration"))
|
12804
12809
|
ModifyInstanceMaintenanceOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12805
12810
|
ModifyInstanceMaintenanceOptionsRequest.struct_class = Types::ModifyInstanceMaintenanceOptionsRequest
|
12806
12811
|
|
12807
12812
|
ModifyInstanceMaintenanceOptionsResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
12808
12813
|
ModifyInstanceMaintenanceOptionsResult.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "autoRecovery"))
|
12814
|
+
ModifyInstanceMaintenanceOptionsResult.add_member(:reboot_migration, Shapes::ShapeRef.new(shape: InstanceRebootMigrationState, location_name: "rebootMigration"))
|
12809
12815
|
ModifyInstanceMaintenanceOptionsResult.struct_class = Types::ModifyInstanceMaintenanceOptionsResult
|
12810
12816
|
|
12811
12817
|
ModifyInstanceMetadataDefaultsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: MetadataDefaultHttpTokensState, location_name: "HttpTokens"))
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -23133,6 +23133,9 @@ module Aws::EC2
|
|
23133
23133
|
# * `processor-info.supported-features` - The supported CPU features
|
23134
23134
|
# (`amd-sev-snp`).
|
23135
23135
|
#
|
23136
|
+
# * `reboot-migration-support` - Indicates whether enabling reboot
|
23137
|
+
# migration is supported (`supported` \| `unsupported`).
|
23138
|
+
#
|
23136
23139
|
# * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
|
23137
23140
|
#
|
23138
23141
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
@@ -44892,10 +44895,33 @@ module Aws::EC2
|
|
44892
44895
|
# your instance.
|
44893
44896
|
# @return [String]
|
44894
44897
|
#
|
44898
|
+
# @!attribute [rw] reboot_migration
|
44899
|
+
# Specifies whether to attempt reboot migration during a
|
44900
|
+
# user-initiated reboot of an instance that has a scheduled
|
44901
|
+
# `system-reboot` event:
|
44902
|
+
#
|
44903
|
+
# * `default` - Amazon EC2 attempts to migrate the instance to new
|
44904
|
+
# hardware (reboot migration). If successful, the `system-reboot`
|
44905
|
+
# event is cleared. If unsuccessful, an in-place reboot occurs and
|
44906
|
+
# the event remains scheduled.
|
44907
|
+
#
|
44908
|
+
# * `disabled` - Amazon EC2 keeps the instance on the same hardware
|
44909
|
+
# (in-place reboot). The `system-reboot` event remains scheduled.
|
44910
|
+
#
|
44911
|
+
# This setting only applies to supported instances that have a
|
44912
|
+
# scheduled reboot event. For more information, see [Enable or disable
|
44913
|
+
# reboot migration][1] in the *Amazon EC2 User Guide*.
|
44914
|
+
#
|
44915
|
+
#
|
44916
|
+
#
|
44917
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
44918
|
+
# @return [String]
|
44919
|
+
#
|
44895
44920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMaintenanceOptions AWS API Documentation
|
44896
44921
|
#
|
44897
44922
|
class InstanceMaintenanceOptions < Struct.new(
|
44898
|
-
:auto_recovery
|
44923
|
+
:auto_recovery,
|
44924
|
+
:reboot_migration)
|
44899
44925
|
SENSITIVE = []
|
44900
44926
|
include Aws::Structure
|
44901
44927
|
end
|
@@ -47167,6 +47193,17 @@ module Aws::EC2
|
|
47167
47193
|
# clock (PHC) is supported.
|
47168
47194
|
# @return [String]
|
47169
47195
|
#
|
47196
|
+
# @!attribute [rw] reboot_migration_support
|
47197
|
+
# Indicates whether reboot migration during a user-initiated reboot is
|
47198
|
+
# supported for instances that have a scheduled `system-reboot` event.
|
47199
|
+
# For more information, see [Enable or disable reboot migration][1] in
|
47200
|
+
# the *Amazon EC2 User Guide*.
|
47201
|
+
#
|
47202
|
+
#
|
47203
|
+
#
|
47204
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
47205
|
+
# @return [String]
|
47206
|
+
#
|
47170
47207
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceTypeInfo AWS API Documentation
|
47171
47208
|
#
|
47172
47209
|
class InstanceTypeInfo < Struct.new(
|
@@ -47199,7 +47236,8 @@ module Aws::EC2
|
|
47199
47236
|
:nitro_tpm_info,
|
47200
47237
|
:media_accelerator_info,
|
47201
47238
|
:neuron_info,
|
47202
|
-
:phc_support
|
47239
|
+
:phc_support,
|
47240
|
+
:reboot_migration_support)
|
47203
47241
|
SENSITIVE = []
|
47204
47242
|
include Aws::Structure
|
47205
47243
|
end
|
@@ -54008,6 +54046,28 @@ module Aws::EC2
|
|
54008
54046
|
# to default.
|
54009
54047
|
# @return [String]
|
54010
54048
|
#
|
54049
|
+
# @!attribute [rw] reboot_migration
|
54050
|
+
# Specifies whether to attempt reboot migration during a
|
54051
|
+
# user-initiated reboot of an instance that has a scheduled
|
54052
|
+
# `system-reboot` event:
|
54053
|
+
#
|
54054
|
+
# * `default` - Amazon EC2 attempts to migrate the instance to new
|
54055
|
+
# hardware (reboot migration). If successful, the `system-reboot`
|
54056
|
+
# event is cleared. If unsuccessful, an in-place reboot occurs and
|
54057
|
+
# the event remains scheduled.
|
54058
|
+
#
|
54059
|
+
# * `disabled` - Amazon EC2 keeps the instance on the same hardware
|
54060
|
+
# (in-place reboot). The `system-reboot` event remains scheduled.
|
54061
|
+
#
|
54062
|
+
# This setting only applies to supported instances that have a
|
54063
|
+
# scheduled reboot event. For more information, see [Enable or disable
|
54064
|
+
# reboot migration][1] in the *Amazon EC2 User Guide*.
|
54065
|
+
#
|
54066
|
+
#
|
54067
|
+
#
|
54068
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
54069
|
+
# @return [String]
|
54070
|
+
#
|
54011
54071
|
# @!attribute [rw] dry_run
|
54012
54072
|
# Checks whether you have the required permissions for the action,
|
54013
54073
|
# without actually making the request, and provides an error response.
|
@@ -54020,6 +54080,7 @@ module Aws::EC2
|
|
54020
54080
|
class ModifyInstanceMaintenanceOptionsRequest < Struct.new(
|
54021
54081
|
:instance_id,
|
54022
54082
|
:auto_recovery,
|
54083
|
+
:reboot_migration,
|
54023
54084
|
:dry_run)
|
54024
54085
|
SENSITIVE = []
|
54025
54086
|
include Aws::Structure
|
@@ -54034,11 +54095,34 @@ module Aws::EC2
|
|
54034
54095
|
# your instance.
|
54035
54096
|
# @return [String]
|
54036
54097
|
#
|
54098
|
+
# @!attribute [rw] reboot_migration
|
54099
|
+
# Specifies whether to attempt reboot migration during a
|
54100
|
+
# user-initiated reboot of an instance that has a scheduled
|
54101
|
+
# `system-reboot` event:
|
54102
|
+
#
|
54103
|
+
# * `default` - Amazon EC2 attempts to migrate the instance to new
|
54104
|
+
# hardware (reboot migration). If successful, the `system-reboot`
|
54105
|
+
# event is cleared. If unsuccessful, an in-place reboot occurs and
|
54106
|
+
# the event remains scheduled.
|
54107
|
+
#
|
54108
|
+
# * `disabled` - Amazon EC2 keeps the instance on the same hardware
|
54109
|
+
# (in-place reboot). The `system-reboot` event remains scheduled.
|
54110
|
+
#
|
54111
|
+
# This setting only applies to supported instances that have a
|
54112
|
+
# scheduled reboot event. For more information, see [Enable or disable
|
54113
|
+
# reboot migration][1] in the *Amazon EC2 User Guide*.
|
54114
|
+
#
|
54115
|
+
#
|
54116
|
+
#
|
54117
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
54118
|
+
# @return [String]
|
54119
|
+
#
|
54037
54120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptionsResult AWS API Documentation
|
54038
54121
|
#
|
54039
54122
|
class ModifyInstanceMaintenanceOptionsResult < Struct.new(
|
54040
54123
|
:instance_id,
|
54041
|
-
:auto_recovery
|
54124
|
+
:auto_recovery,
|
54125
|
+
:reboot_migration)
|
54042
54126
|
SENSITIVE = []
|
54043
54127
|
include Aws::Structure
|
54044
54128
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -11192,11 +11192,13 @@ module Aws
|
|
11192
11192
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyInstanceMaintenanceOptionsResult]
|
11193
11193
|
def instance_id: () -> ::String
|
11194
11194
|
def auto_recovery: () -> ("disabled" | "default")
|
11195
|
+
def reboot_migration: () -> ("disabled" | "default")
|
11195
11196
|
end
|
11196
11197
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_instance_maintenance_options-instance_method
|
11197
11198
|
def modify_instance_maintenance_options: (
|
11198
11199
|
instance_id: ::String,
|
11199
11200
|
?auto_recovery: ("disabled" | "default"),
|
11201
|
+
?reboot_migration: ("disabled" | "default"),
|
11200
11202
|
?dry_run: bool
|
11201
11203
|
) -> _ModifyInstanceMaintenanceOptionsResponseSuccess
|
11202
11204
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceMaintenanceOptionsResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -9948,6 +9948,7 @@ module Aws::EC2
|
|
9948
9948
|
|
9949
9949
|
class InstanceMaintenanceOptions
|
9950
9950
|
attr_accessor auto_recovery: ("disabled" | "default")
|
9951
|
+
attr_accessor reboot_migration: ("disabled" | "default")
|
9951
9952
|
SENSITIVE: []
|
9952
9953
|
end
|
9953
9954
|
|
@@ -10263,6 +10264,7 @@ module Aws::EC2
|
|
10263
10264
|
attr_accessor media_accelerator_info: Types::MediaAcceleratorInfo
|
10264
10265
|
attr_accessor neuron_info: Types::NeuronInfo
|
10265
10266
|
attr_accessor phc_support: ("unsupported" | "supported")
|
10267
|
+
attr_accessor reboot_migration_support: ("unsupported" | "supported")
|
10266
10268
|
SENSITIVE: []
|
10267
10269
|
end
|
10268
10270
|
|
@@ -11669,6 +11671,7 @@ module Aws::EC2
|
|
11669
11671
|
class ModifyInstanceMaintenanceOptionsRequest
|
11670
11672
|
attr_accessor instance_id: ::String
|
11671
11673
|
attr_accessor auto_recovery: ("disabled" | "default")
|
11674
|
+
attr_accessor reboot_migration: ("disabled" | "default")
|
11672
11675
|
attr_accessor dry_run: bool
|
11673
11676
|
SENSITIVE: []
|
11674
11677
|
end
|
@@ -11676,6 +11679,7 @@ module Aws::EC2
|
|
11676
11679
|
class ModifyInstanceMaintenanceOptionsResult
|
11677
11680
|
attr_accessor instance_id: ::String
|
11678
11681
|
attr_accessor auto_recovery: ("disabled" | "default")
|
11682
|
+
attr_accessor reboot_migration: ("disabled" | "default")
|
11679
11683
|
SENSITIVE: []
|
11680
11684
|
end
|
11681
11685
|
|