aws-sdk-ec2 1.524.0 → 1.526.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 +138 -10
- data/lib/aws-sdk-ec2/client_api.rb +35 -0
- data/lib/aws-sdk-ec2/network_interface.rb +28 -1
- data/lib/aws-sdk-ec2/types.rb +237 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/network_interface.rbs +6 -0
- data/sig/types.rbs +27 -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: 71a2f871f7f71eadc9b19b0fe2c7fd6c04d14675f8ba7a1d74f764723fcd205d
|
4
|
+
data.tar.gz: 2a084d98b5a5b7991c4b14e36dab5129337a548648020912c7be675ff372ee4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1be823d87da377728ae042c6e864d98e4530b86cacb134f061c14f3f0e0c98681be8af03d14c4851a59ddd4609c4ceba898ea30666e46e1b4f1caab33b6c9dd9
|
7
|
+
data.tar.gz: 8c7873e4d17c52b2dcd00729726e09a9f34da4f2eecf738bf12aee428fe356f01657adeac7dea83d9a9da4b421fb0ed4a08abeddc1963421b6088326d71efb95
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.526.0 (2025-05-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Release of Dualstack and Ipv6-only EC2 Public DNS hostnames
|
8
|
+
|
9
|
+
1.525.0 (2025-05-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release expands the ModifyInstanceMaintenanceOptions API to enable or disable instance migration during customer-initiated reboots for EC2 Scheduled Reboot Events.
|
13
|
+
|
4
14
|
1.524.0 (2025-05-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.526.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -11891,12 +11891,18 @@ module Aws::EC2
|
|
11891
11891
|
# resp.network_interface.interface_type #=> String, one of "interface", "natGateway", "efa", "efa-only", "trunk", "load_balancer", "network_load_balancer", "vpc_endpoint", "branch", "transit_gateway", "lambda", "quicksight", "global_accelerator_managed", "api_gateway_managed", "gateway_load_balancer", "gateway_load_balancer_endpoint", "iot_rules_managed", "aws_codestar_connections_managed"
|
11892
11892
|
# resp.network_interface.ipv_6_addresses #=> Array
|
11893
11893
|
# resp.network_interface.ipv_6_addresses[0].ipv_6_address #=> String
|
11894
|
+
# resp.network_interface.ipv_6_addresses[0].public_ipv_6_dns_name #=> String
|
11894
11895
|
# resp.network_interface.ipv_6_addresses[0].is_primary_ipv_6 #=> Boolean
|
11895
11896
|
# resp.network_interface.mac_address #=> String
|
11896
11897
|
# resp.network_interface.network_interface_id #=> String
|
11897
11898
|
# resp.network_interface.outpost_arn #=> String
|
11898
11899
|
# resp.network_interface.owner_id #=> String
|
11899
11900
|
# resp.network_interface.private_dns_name #=> String
|
11901
|
+
# resp.network_interface.public_dns_name #=> String
|
11902
|
+
# resp.network_interface.public_ip_dns_name_options.dns_hostname_type #=> String
|
11903
|
+
# resp.network_interface.public_ip_dns_name_options.public_ipv_4_dns_name #=> String
|
11904
|
+
# resp.network_interface.public_ip_dns_name_options.public_ipv_6_dns_name #=> String
|
11905
|
+
# resp.network_interface.public_ip_dns_name_options.public_dual_stack_dns_name #=> String
|
11900
11906
|
# resp.network_interface.private_ip_address #=> String
|
11901
11907
|
# resp.network_interface.private_ip_addresses #=> Array
|
11902
11908
|
# resp.network_interface.private_ip_addresses[0].association.allocation_id #=> String
|
@@ -27844,15 +27850,22 @@ module Aws::EC2
|
|
27844
27850
|
# * Local Zone
|
27845
27851
|
# * Supported instance types
|
27846
27852
|
#
|
27847
|
-
# *
|
27848
|
-
# `hpc7a.24xlarge` \| `hpc7a.48xlarge` \| `hpc7a.96xlarge` \|
|
27849
|
-
# `hpc7g.4xlarge` \| `hpc7g.8xlarge` \| `hpc7g.16xlarge`
|
27853
|
+
# * Returns 3 network nodes in the response
|
27850
27854
|
#
|
27851
|
-
#
|
27852
|
-
#
|
27855
|
+
# * `hpc6a.48xlarge` \| `hpc6id.32xlarge` \| `hpc7a.12xlarge` \|
|
27856
|
+
# `hpc7a.24xlarge` \| `hpc7a.48xlarge` \| `hpc7a.96xlarge` \|
|
27857
|
+
# `hpc7g.4xlarge` \| `hpc7g.8xlarge` \| `hpc7g.16xlarge`
|
27853
27858
|
#
|
27854
|
-
#
|
27855
|
-
#
|
27859
|
+
# * `p3dn.24xlarge` \| `p4d.24xlarge` \| `p4de.24xlarge` \|
|
27860
|
+
# `p5.48xlarge` \| `p5e.48xlarge` \| `p5en.48xlarge`
|
27861
|
+
#
|
27862
|
+
# * `trn1.2xlarge` \| `trn1.32xlarge` \| `trn1n.32xlarge` \|
|
27863
|
+
# `trn2.48xlarge` \| `trn2u.48xlarge`
|
27864
|
+
# * Returns 4 network nodes in the response
|
27865
|
+
#
|
27866
|
+
# * `p6-b200.48xlarge`
|
27867
|
+
#
|
27868
|
+
# ^
|
27856
27869
|
#
|
27857
27870
|
# For more information, see [Amazon EC2 instance topology][1] in the
|
27858
27871
|
# *Amazon EC2 User Guide*.
|
@@ -28207,6 +28220,9 @@ module Aws::EC2
|
|
28207
28220
|
# * `processor-info.supported-features` - The supported CPU features
|
28208
28221
|
# (`amd-sev-snp`).
|
28209
28222
|
#
|
28223
|
+
# * `reboot-migration-support` - Indicates whether enabling reboot
|
28224
|
+
# migration is supported (`supported` \| `unsupported`).
|
28225
|
+
#
|
28210
28226
|
# * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
|
28211
28227
|
#
|
28212
28228
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
@@ -28382,6 +28398,7 @@ module Aws::EC2
|
|
28382
28398
|
# resp.instance_types[0].neuron_info.neuron_devices[0].memory_info.size_in_mi_b #=> Integer
|
28383
28399
|
# resp.instance_types[0].neuron_info.total_neuron_device_memory_in_mi_b #=> Integer
|
28384
28400
|
# resp.instance_types[0].phc_support #=> String, one of "unsupported", "supported"
|
28401
|
+
# resp.instance_types[0].reboot_migration_support #=> String, one of "unsupported", "supported"
|
28385
28402
|
# resp.next_token #=> String
|
28386
28403
|
#
|
28387
28404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes AWS API Documentation
|
@@ -29123,6 +29140,7 @@ module Aws::EC2
|
|
29123
29140
|
# resp.reservations[0].instances[0].ipv_6_address #=> String
|
29124
29141
|
# resp.reservations[0].instances[0].tpm_support #=> String
|
29125
29142
|
# resp.reservations[0].instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
|
29143
|
+
# resp.reservations[0].instances[0].maintenance_options.reboot_migration #=> String, one of "disabled", "default"
|
29126
29144
|
# resp.reservations[0].instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
|
29127
29145
|
# resp.reservations[0].instances[0].network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
|
29128
29146
|
# resp.reservations[0].instances[0].operator.managed #=> Boolean
|
@@ -33508,12 +33526,18 @@ module Aws::EC2
|
|
33508
33526
|
# resp.network_interfaces[0].interface_type #=> String, one of "interface", "natGateway", "efa", "efa-only", "trunk", "load_balancer", "network_load_balancer", "vpc_endpoint", "branch", "transit_gateway", "lambda", "quicksight", "global_accelerator_managed", "api_gateway_managed", "gateway_load_balancer", "gateway_load_balancer_endpoint", "iot_rules_managed", "aws_codestar_connections_managed"
|
33509
33527
|
# resp.network_interfaces[0].ipv_6_addresses #=> Array
|
33510
33528
|
# resp.network_interfaces[0].ipv_6_addresses[0].ipv_6_address #=> String
|
33529
|
+
# resp.network_interfaces[0].ipv_6_addresses[0].public_ipv_6_dns_name #=> String
|
33511
33530
|
# resp.network_interfaces[0].ipv_6_addresses[0].is_primary_ipv_6 #=> Boolean
|
33512
33531
|
# resp.network_interfaces[0].mac_address #=> String
|
33513
33532
|
# resp.network_interfaces[0].network_interface_id #=> String
|
33514
33533
|
# resp.network_interfaces[0].outpost_arn #=> String
|
33515
33534
|
# resp.network_interfaces[0].owner_id #=> String
|
33516
33535
|
# resp.network_interfaces[0].private_dns_name #=> String
|
33536
|
+
# resp.network_interfaces[0].public_dns_name #=> String
|
33537
|
+
# resp.network_interfaces[0].public_ip_dns_name_options.dns_hostname_type #=> String
|
33538
|
+
# resp.network_interfaces[0].public_ip_dns_name_options.public_ipv_4_dns_name #=> String
|
33539
|
+
# resp.network_interfaces[0].public_ip_dns_name_options.public_ipv_6_dns_name #=> String
|
33540
|
+
# resp.network_interfaces[0].public_ip_dns_name_options.public_dual_stack_dns_name #=> String
|
33517
33541
|
# resp.network_interfaces[0].private_ip_address #=> String
|
33518
33542
|
# resp.network_interfaces[0].private_ip_addresses #=> Array
|
33519
33543
|
# resp.network_interfaces[0].private_ip_addresses[0].association.allocation_id #=> String
|
@@ -43550,6 +43574,15 @@ module Aws::EC2
|
|
43550
43574
|
# This is an idempotent operation. If you perform the operation more
|
43551
43575
|
# than once, Amazon EC2 doesn't return an error.
|
43552
43576
|
#
|
43577
|
+
# An address cannot be disassociated if the all of the following
|
43578
|
+
# conditions are met:
|
43579
|
+
#
|
43580
|
+
# * Network interface has a `publicDualStackDnsName` publicDnsName
|
43581
|
+
#
|
43582
|
+
# * Public IPv4 address is the primary public IPv4 address
|
43583
|
+
#
|
43584
|
+
# * Network interface only has one remaining public IPv4 address
|
43585
|
+
#
|
43553
43586
|
# @option params [String] :association_id
|
43554
43587
|
# The association ID. This parameter is required.
|
43555
43588
|
#
|
@@ -53021,9 +53054,14 @@ module Aws::EC2
|
|
53021
53054
|
# for an unsupported instance type. For more information, see
|
53022
53055
|
# [Simplified automatic recovery][1].
|
53023
53056
|
#
|
53057
|
+
# Modifies the reboot migration behavior during a user-initiated reboot
|
53058
|
+
# of an instance that has a pending `system-reboot` event. For more
|
53059
|
+
# information, see [Enable or disable reboot migration][2].
|
53060
|
+
#
|
53024
53061
|
#
|
53025
53062
|
#
|
53026
53063
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html#instance-configuration-recovery
|
53064
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
53027
53065
|
#
|
53028
53066
|
# @option params [required, String] :instance_id
|
53029
53067
|
# The ID of the instance.
|
@@ -53032,6 +53070,26 @@ module Aws::EC2
|
|
53032
53070
|
# Disables the automatic recovery behavior of your instance or sets it
|
53033
53071
|
# to default.
|
53034
53072
|
#
|
53073
|
+
# @option params [String] :reboot_migration
|
53074
|
+
# Specifies whether to attempt reboot migration during a user-initiated
|
53075
|
+
# reboot of an instance that has a scheduled `system-reboot` event:
|
53076
|
+
#
|
53077
|
+
# * `default` - Amazon EC2 attempts to migrate the instance to new
|
53078
|
+
# hardware (reboot migration). If successful, the `system-reboot`
|
53079
|
+
# event is cleared. If unsuccessful, an in-place reboot occurs and the
|
53080
|
+
# event remains scheduled.
|
53081
|
+
#
|
53082
|
+
# * `disabled` - Amazon EC2 keeps the instance on the same hardware
|
53083
|
+
# (in-place reboot). The `system-reboot` event remains scheduled.
|
53084
|
+
#
|
53085
|
+
# This setting only applies to supported instances that have a scheduled
|
53086
|
+
# reboot event. For more information, see [Enable or disable reboot
|
53087
|
+
# migration][1] in the *Amazon EC2 User Guide*.
|
53088
|
+
#
|
53089
|
+
#
|
53090
|
+
#
|
53091
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/schedevents_actions_reboot.html#reboot-migration
|
53092
|
+
#
|
53035
53093
|
# @option params [Boolean] :dry_run
|
53036
53094
|
# Checks whether you have the required permissions for the action,
|
53037
53095
|
# without actually making the request, and provides an error response.
|
@@ -53042,12 +53100,14 @@ module Aws::EC2
|
|
53042
53100
|
#
|
53043
53101
|
# * {Types::ModifyInstanceMaintenanceOptionsResult#instance_id #instance_id} => String
|
53044
53102
|
# * {Types::ModifyInstanceMaintenanceOptionsResult#auto_recovery #auto_recovery} => String
|
53103
|
+
# * {Types::ModifyInstanceMaintenanceOptionsResult#reboot_migration #reboot_migration} => String
|
53045
53104
|
#
|
53046
53105
|
# @example Request syntax with placeholder values
|
53047
53106
|
#
|
53048
53107
|
# resp = client.modify_instance_maintenance_options({
|
53049
53108
|
# instance_id: "InstanceId", # required
|
53050
53109
|
# auto_recovery: "disabled", # accepts disabled, default
|
53110
|
+
# reboot_migration: "disabled", # accepts disabled, default
|
53051
53111
|
# dry_run: false,
|
53052
53112
|
# })
|
53053
53113
|
#
|
@@ -53055,6 +53115,7 @@ module Aws::EC2
|
|
53055
53115
|
#
|
53056
53116
|
# resp.instance_id #=> String
|
53057
53117
|
# resp.auto_recovery #=> String, one of "disabled", "default"
|
53118
|
+
# resp.reboot_migration #=> String, one of "disabled", "default"
|
53058
53119
|
#
|
53059
53120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptions AWS API Documentation
|
53060
53121
|
#
|
@@ -54407,6 +54468,72 @@ module Aws::EC2
|
|
54407
54468
|
req.send_request(options)
|
54408
54469
|
end
|
54409
54470
|
|
54471
|
+
# Modify public hostname options for a network interface. For more
|
54472
|
+
# information, see [EC2 instance hostnames, DNS names, and domains][1]
|
54473
|
+
# in the *Amazon EC2 User Guide*.
|
54474
|
+
#
|
54475
|
+
#
|
54476
|
+
#
|
54477
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
54478
|
+
#
|
54479
|
+
# @option params [required, String] :network_interface_id
|
54480
|
+
# A network interface ID.
|
54481
|
+
#
|
54482
|
+
# @option params [required, String] :hostname_type
|
54483
|
+
# The public hostname type. For more information, see [EC2 instance
|
54484
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User Guide*.
|
54485
|
+
#
|
54486
|
+
# * `public-dual-stack-dns-name`: A dual-stack public hostname for a
|
54487
|
+
# network interface. Requests from within the VPC resolve to both the
|
54488
|
+
# private IPv4 address and the IPv6 Global Unicast Address of the
|
54489
|
+
# network interface. Requests from the internet resolve to both the
|
54490
|
+
# public IPv4 and the IPv6 GUA address of the network interface.
|
54491
|
+
#
|
54492
|
+
# * `public-ipv4-dns-name`: An IPv4-enabled public hostname for a
|
54493
|
+
# network interface. Requests from within the VPC resolve to the
|
54494
|
+
# private primary IPv4 address of the network interface. Requests from
|
54495
|
+
# the internet resolve to the public IPv4 address of the network
|
54496
|
+
# interface.
|
54497
|
+
#
|
54498
|
+
# * `public-ipv6-dns-name`: An IPv6-enabled public hostname for a
|
54499
|
+
# network interface. Requests from within the VPC or from the internet
|
54500
|
+
# resolve to the IPv6 GUA of the network interface.
|
54501
|
+
#
|
54502
|
+
#
|
54503
|
+
#
|
54504
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
54505
|
+
#
|
54506
|
+
# @option params [Boolean] :dry_run
|
54507
|
+
# Checks whether you have the required permissions for the operation,
|
54508
|
+
# without actually making the request, and provides an error response.
|
54509
|
+
# If you have the required permissions, the error response is
|
54510
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
54511
|
+
#
|
54512
|
+
# @return [Types::ModifyPublicIpDnsNameOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
54513
|
+
#
|
54514
|
+
# * {Types::ModifyPublicIpDnsNameOptionsResult#successful #successful} => Boolean
|
54515
|
+
#
|
54516
|
+
# @example Request syntax with placeholder values
|
54517
|
+
#
|
54518
|
+
# resp = client.modify_public_ip_dns_name_options({
|
54519
|
+
# network_interface_id: "NetworkInterfaceId", # required
|
54520
|
+
# hostname_type: "public-dual-stack-dns-name", # required, accepts public-dual-stack-dns-name, public-ipv4-dns-name, public-ipv6-dns-name
|
54521
|
+
# dry_run: false,
|
54522
|
+
# })
|
54523
|
+
#
|
54524
|
+
# @example Response structure
|
54525
|
+
#
|
54526
|
+
# resp.successful #=> Boolean
|
54527
|
+
#
|
54528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPublicIpDnsNameOptions AWS API Documentation
|
54529
|
+
#
|
54530
|
+
# @overload modify_public_ip_dns_name_options(params = {})
|
54531
|
+
# @param [Hash] params ({})
|
54532
|
+
def modify_public_ip_dns_name_options(params = {}, options = {})
|
54533
|
+
req = build_request(:modify_public_ip_dns_name_options, params)
|
54534
|
+
req.send_request(options)
|
54535
|
+
end
|
54536
|
+
|
54410
54537
|
# Modifies the configuration of your Reserved Instances, such as the
|
54411
54538
|
# Availability Zone, instance count, or instance type. The Reserved
|
54412
54539
|
# Instances to be modified must be identical, except for Availability
|
@@ -63188,6 +63315,7 @@ module Aws::EC2
|
|
63188
63315
|
# resp.instances[0].ipv_6_address #=> String
|
63189
63316
|
# resp.instances[0].tpm_support #=> String
|
63190
63317
|
# resp.instances[0].maintenance_options.auto_recovery #=> String, one of "disabled", "default"
|
63318
|
+
# resp.instances[0].maintenance_options.reboot_migration #=> String, one of "disabled", "default"
|
63191
63319
|
# resp.instances[0].current_instance_boot_mode #=> String, one of "legacy-bios", "uefi"
|
63192
63320
|
# resp.instances[0].network_performance_options.bandwidth_weighting #=> String, one of "default", "vpc-1", "ebs-1"
|
63193
63321
|
# resp.instances[0].operator.managed #=> Boolean
|
@@ -65206,9 +65334,9 @@ module Aws::EC2
|
|
65206
65334
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
65207
65335
|
# set to `true` are automatically deleted. For more information about
|
65208
65336
|
# the differences between stopping and terminating instances, see
|
65209
|
-
# [
|
65337
|
+
# [Instance lifecycle][2] in the *Amazon EC2 User Guide*.
|
65210
65338
|
#
|
65211
|
-
# For information about troubleshooting, see [Troubleshooting
|
65339
|
+
# For more information about troubleshooting, see [Troubleshooting
|
65212
65340
|
# terminating your instance][3] in the *Amazon EC2 User Guide*.
|
65213
65341
|
#
|
65214
65342
|
#
|
@@ -65847,7 +65975,7 @@ module Aws::EC2
|
|
65847
65975
|
tracer: tracer
|
65848
65976
|
)
|
65849
65977
|
context[:gem_name] = 'aws-sdk-ec2'
|
65850
|
-
context[:gem_version] = '1.
|
65978
|
+
context[:gem_version] = '1.526.0'
|
65851
65979
|
Seahorse::Client::Request.new(handlers, context)
|
65852
65980
|
end
|
65853
65981
|
|
@@ -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')
|
@@ -2360,6 +2361,8 @@ module Aws::EC2
|
|
2360
2361
|
ModifyNetworkInterfaceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyNetworkInterfaceAttributeRequest')
|
2361
2362
|
ModifyPrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsRequest')
|
2362
2363
|
ModifyPrivateDnsNameOptionsResult = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsResult')
|
2364
|
+
ModifyPublicIpDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'ModifyPublicIpDnsNameOptionsRequest')
|
2365
|
+
ModifyPublicIpDnsNameOptionsResult = Shapes::StructureShape.new(name: 'ModifyPublicIpDnsNameOptionsResult')
|
2363
2366
|
ModifyReservedInstancesRequest = Shapes::StructureShape.new(name: 'ModifyReservedInstancesRequest')
|
2364
2367
|
ModifyReservedInstancesResult = Shapes::StructureShape.new(name: 'ModifyReservedInstancesResult')
|
2365
2368
|
ModifyRouteServerRequest = Shapes::StructureShape.new(name: 'ModifyRouteServerRequest')
|
@@ -2694,6 +2697,8 @@ module Aws::EC2
|
|
2694
2697
|
ProvisionedBandwidth = Shapes::StructureShape.new(name: 'ProvisionedBandwidth')
|
2695
2698
|
PtrUpdateStatus = Shapes::StructureShape.new(name: 'PtrUpdateStatus')
|
2696
2699
|
PublicIpAddress = Shapes::StringShape.new(name: 'PublicIpAddress')
|
2700
|
+
PublicIpDnsNameOptions = Shapes::StructureShape.new(name: 'PublicIpDnsNameOptions')
|
2701
|
+
PublicIpDnsOption = Shapes::StringShape.new(name: 'PublicIpDnsOption')
|
2697
2702
|
PublicIpStringList = Shapes::ListShape.new(name: 'PublicIpStringList')
|
2698
2703
|
PublicIpv4Pool = Shapes::StructureShape.new(name: 'PublicIpv4Pool')
|
2699
2704
|
PublicIpv4PoolIdStringList = Shapes::ListShape.new(name: 'PublicIpv4PoolIdStringList')
|
@@ -2722,6 +2727,7 @@ module Aws::EC2
|
|
2722
2727
|
RdsDbProxyArn = Shapes::StringShape.new(name: 'RdsDbProxyArn')
|
2723
2728
|
ReasonCodesList = Shapes::ListShape.new(name: 'ReasonCodesList')
|
2724
2729
|
RebootInstancesRequest = Shapes::StructureShape.new(name: 'RebootInstancesRequest')
|
2730
|
+
RebootMigrationSupport = Shapes::StringShape.new(name: 'RebootMigrationSupport')
|
2725
2731
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
2726
2732
|
RecurringChargeFrequency = Shapes::StringShape.new(name: 'RecurringChargeFrequency')
|
2727
2733
|
RecurringChargesList = Shapes::ListShape.new(name: 'RecurringChargesList')
|
@@ -11252,6 +11258,7 @@ module Aws::EC2
|
|
11252
11258
|
InstanceList.member = Shapes::ShapeRef.new(shape: Instance, location_name: "item")
|
11253
11259
|
|
11254
11260
|
InstanceMaintenanceOptions.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "autoRecovery"))
|
11261
|
+
InstanceMaintenanceOptions.add_member(:reboot_migration, Shapes::ShapeRef.new(shape: InstanceRebootMigrationState, location_name: "rebootMigration"))
|
11255
11262
|
InstanceMaintenanceOptions.struct_class = Types::InstanceMaintenanceOptions
|
11256
11263
|
|
11257
11264
|
InstanceMaintenanceOptionsRequest.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "AutoRecovery"))
|
@@ -11533,6 +11540,7 @@ module Aws::EC2
|
|
11533
11540
|
InstanceTypeInfo.add_member(:media_accelerator_info, Shapes::ShapeRef.new(shape: MediaAcceleratorInfo, location_name: "mediaAcceleratorInfo"))
|
11534
11541
|
InstanceTypeInfo.add_member(:neuron_info, Shapes::ShapeRef.new(shape: NeuronInfo, location_name: "neuronInfo"))
|
11535
11542
|
InstanceTypeInfo.add_member(:phc_support, Shapes::ShapeRef.new(shape: PhcSupport, location_name: "phcSupport"))
|
11543
|
+
InstanceTypeInfo.add_member(:reboot_migration_support, Shapes::ShapeRef.new(shape: RebootMigrationSupport, location_name: "rebootMigrationSupport"))
|
11536
11544
|
InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
|
11537
11545
|
|
11538
11546
|
InstanceTypeInfoFromInstanceRequirements.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
@@ -12801,11 +12809,13 @@ module Aws::EC2
|
|
12801
12809
|
|
12802
12810
|
ModifyInstanceMaintenanceOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
12803
12811
|
ModifyInstanceMaintenanceOptionsRequest.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "AutoRecovery"))
|
12812
|
+
ModifyInstanceMaintenanceOptionsRequest.add_member(:reboot_migration, Shapes::ShapeRef.new(shape: InstanceRebootMigrationState, location_name: "RebootMigration"))
|
12804
12813
|
ModifyInstanceMaintenanceOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12805
12814
|
ModifyInstanceMaintenanceOptionsRequest.struct_class = Types::ModifyInstanceMaintenanceOptionsRequest
|
12806
12815
|
|
12807
12816
|
ModifyInstanceMaintenanceOptionsResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
12808
12817
|
ModifyInstanceMaintenanceOptionsResult.add_member(:auto_recovery, Shapes::ShapeRef.new(shape: InstanceAutoRecoveryState, location_name: "autoRecovery"))
|
12818
|
+
ModifyInstanceMaintenanceOptionsResult.add_member(:reboot_migration, Shapes::ShapeRef.new(shape: InstanceRebootMigrationState, location_name: "rebootMigration"))
|
12809
12819
|
ModifyInstanceMaintenanceOptionsResult.struct_class = Types::ModifyInstanceMaintenanceOptionsResult
|
12810
12820
|
|
12811
12821
|
ModifyInstanceMetadataDefaultsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: MetadataDefaultHttpTokensState, location_name: "HttpTokens"))
|
@@ -12968,6 +12978,14 @@ module Aws::EC2
|
|
12968
12978
|
ModifyPrivateDnsNameOptionsResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
12969
12979
|
ModifyPrivateDnsNameOptionsResult.struct_class = Types::ModifyPrivateDnsNameOptionsResult
|
12970
12980
|
|
12981
|
+
ModifyPublicIpDnsNameOptionsRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "NetworkInterfaceId"))
|
12982
|
+
ModifyPublicIpDnsNameOptionsRequest.add_member(:hostname_type, Shapes::ShapeRef.new(shape: PublicIpDnsOption, required: true, location_name: "HostnameType"))
|
12983
|
+
ModifyPublicIpDnsNameOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
12984
|
+
ModifyPublicIpDnsNameOptionsRequest.struct_class = Types::ModifyPublicIpDnsNameOptionsRequest
|
12985
|
+
|
12986
|
+
ModifyPublicIpDnsNameOptionsResult.add_member(:successful, Shapes::ShapeRef.new(shape: Boolean, location_name: "successful"))
|
12987
|
+
ModifyPublicIpDnsNameOptionsResult.struct_class = Types::ModifyPublicIpDnsNameOptionsResult
|
12988
|
+
|
12971
12989
|
ModifyReservedInstancesRequest.add_member(:reserved_instances_ids, Shapes::ShapeRef.new(shape: ReservedInstancesIdStringList, required: true, location_name: "ReservedInstancesId"))
|
12972
12990
|
ModifyReservedInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
12973
12991
|
ModifyReservedInstancesRequest.add_member(:target_configurations, Shapes::ShapeRef.new(shape: ReservedInstancesConfigurationList, required: true, location_name: "ReservedInstancesConfigurationSetItemType"))
|
@@ -13678,6 +13696,8 @@ module Aws::EC2
|
|
13678
13696
|
NetworkInterface.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
13679
13697
|
NetworkInterface.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
13680
13698
|
NetworkInterface.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
|
13699
|
+
NetworkInterface.add_member(:public_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicDnsName"))
|
13700
|
+
NetworkInterface.add_member(:public_ip_dns_name_options, Shapes::ShapeRef.new(shape: PublicIpDnsNameOptions, location_name: "publicIpDnsNameOptions"))
|
13681
13701
|
NetworkInterface.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
13682
13702
|
NetworkInterface.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: NetworkInterfacePrivateIpAddressList, location_name: "privateIpAddressesSet"))
|
13683
13703
|
NetworkInterface.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixesList, location_name: "ipv4PrefixSet"))
|
@@ -13735,6 +13755,7 @@ module Aws::EC2
|
|
13735
13755
|
NetworkInterfaceIdSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
13736
13756
|
|
13737
13757
|
NetworkInterfaceIpv6Address.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
13758
|
+
NetworkInterfaceIpv6Address.add_member(:public_ipv_6_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicIpv6DnsName"))
|
13738
13759
|
NetworkInterfaceIpv6Address.add_member(:is_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPrimaryIpv6"))
|
13739
13760
|
NetworkInterfaceIpv6Address.struct_class = Types::NetworkInterfaceIpv6Address
|
13740
13761
|
|
@@ -14232,6 +14253,12 @@ module Aws::EC2
|
|
14232
14253
|
PtrUpdateStatus.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
14233
14254
|
PtrUpdateStatus.struct_class = Types::PtrUpdateStatus
|
14234
14255
|
|
14256
|
+
PublicIpDnsNameOptions.add_member(:dns_hostname_type, Shapes::ShapeRef.new(shape: String, location_name: "dnsHostnameType"))
|
14257
|
+
PublicIpDnsNameOptions.add_member(:public_ipv_4_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicIpv4DnsName"))
|
14258
|
+
PublicIpDnsNameOptions.add_member(:public_ipv_6_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicIpv6DnsName"))
|
14259
|
+
PublicIpDnsNameOptions.add_member(:public_dual_stack_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicDualStackDnsName"))
|
14260
|
+
PublicIpDnsNameOptions.struct_class = Types::PublicIpDnsNameOptions
|
14261
|
+
|
14235
14262
|
PublicIpStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "PublicIp")
|
14236
14263
|
|
14237
14264
|
PublicIpv4Pool.add_member(:pool_id, Shapes::ShapeRef.new(shape: String, location_name: "poolId"))
|
@@ -22943,6 +22970,14 @@ module Aws::EC2
|
|
22943
22970
|
o.output = Shapes::ShapeRef.new(shape: ModifyPrivateDnsNameOptionsResult)
|
22944
22971
|
end)
|
22945
22972
|
|
22973
|
+
api.add_operation(:modify_public_ip_dns_name_options, Seahorse::Model::Operation.new.tap do |o|
|
22974
|
+
o.name = "ModifyPublicIpDnsNameOptions"
|
22975
|
+
o.http_method = "POST"
|
22976
|
+
o.http_request_uri = "/"
|
22977
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyPublicIpDnsNameOptionsRequest)
|
22978
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyPublicIpDnsNameOptionsResult)
|
22979
|
+
end)
|
22980
|
+
|
22946
22981
|
api.add_operation(:modify_reserved_instances, Seahorse::Model::Operation.new.tap do |o|
|
22947
22982
|
o.name = "ModifyReservedInstances"
|
22948
22983
|
o.http_method = "POST"
|
@@ -103,12 +103,39 @@ module Aws::EC2
|
|
103
103
|
data[:owner_id]
|
104
104
|
end
|
105
105
|
|
106
|
-
# The private
|
106
|
+
# The private hostname. For more information, see [EC2 instance
|
107
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User Guide*.
|
108
|
+
#
|
109
|
+
#
|
110
|
+
#
|
111
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
107
112
|
# @return [String]
|
108
113
|
def private_dns_name
|
109
114
|
data[:private_dns_name]
|
110
115
|
end
|
111
116
|
|
117
|
+
# A public hostname. For more information, see [EC2 instance hostnames,
|
118
|
+
# DNS names, and domains][1] in the *Amazon EC2 User Guide*.
|
119
|
+
#
|
120
|
+
#
|
121
|
+
#
|
122
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
123
|
+
# @return [String]
|
124
|
+
def public_dns_name
|
125
|
+
data[:public_dns_name]
|
126
|
+
end
|
127
|
+
|
128
|
+
# Public hostname type options. For more information, see [EC2 instance
|
129
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User Guide*.
|
130
|
+
#
|
131
|
+
#
|
132
|
+
#
|
133
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
134
|
+
# @return [Types::PublicIpDnsNameOptions]
|
135
|
+
def public_ip_dns_name_options
|
136
|
+
data[:public_ip_dns_name_options]
|
137
|
+
end
|
138
|
+
|
112
139
|
# The IPv4 address of the network interface within the subnet.
|
113
140
|
# @return [String]
|
114
141
|
def private_ip_address
|
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
|
@@ -55076,6 +55160,65 @@ module Aws::EC2
|
|
55076
55160
|
include Aws::Structure
|
55077
55161
|
end
|
55078
55162
|
|
55163
|
+
# @!attribute [rw] network_interface_id
|
55164
|
+
# A network interface ID.
|
55165
|
+
# @return [String]
|
55166
|
+
#
|
55167
|
+
# @!attribute [rw] hostname_type
|
55168
|
+
# The public hostname type. For more information, see [EC2 instance
|
55169
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User
|
55170
|
+
# Guide*.
|
55171
|
+
#
|
55172
|
+
# * `public-dual-stack-dns-name`: A dual-stack public hostname for a
|
55173
|
+
# network interface. Requests from within the VPC resolve to both
|
55174
|
+
# the private IPv4 address and the IPv6 Global Unicast Address of
|
55175
|
+
# the network interface. Requests from the internet resolve to both
|
55176
|
+
# the public IPv4 and the IPv6 GUA address of the network interface.
|
55177
|
+
#
|
55178
|
+
# * `public-ipv4-dns-name`: An IPv4-enabled public hostname for a
|
55179
|
+
# network interface. Requests from within the VPC resolve to the
|
55180
|
+
# private primary IPv4 address of the network interface. Requests
|
55181
|
+
# from the internet resolve to the public IPv4 address of the
|
55182
|
+
# network interface.
|
55183
|
+
#
|
55184
|
+
# * `public-ipv6-dns-name`: An IPv6-enabled public hostname for a
|
55185
|
+
# network interface. Requests from within the VPC or from the
|
55186
|
+
# internet resolve to the IPv6 GUA of the network interface.
|
55187
|
+
#
|
55188
|
+
#
|
55189
|
+
#
|
55190
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
55191
|
+
# @return [String]
|
55192
|
+
#
|
55193
|
+
# @!attribute [rw] dry_run
|
55194
|
+
# Checks whether you have the required permissions for the operation,
|
55195
|
+
# without actually making the request, and provides an error response.
|
55196
|
+
# If you have the required permissions, the error response is
|
55197
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
55198
|
+
# @return [Boolean]
|
55199
|
+
#
|
55200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPublicIpDnsNameOptionsRequest AWS API Documentation
|
55201
|
+
#
|
55202
|
+
class ModifyPublicIpDnsNameOptionsRequest < Struct.new(
|
55203
|
+
:network_interface_id,
|
55204
|
+
:hostname_type,
|
55205
|
+
:dry_run)
|
55206
|
+
SENSITIVE = []
|
55207
|
+
include Aws::Structure
|
55208
|
+
end
|
55209
|
+
|
55210
|
+
# @!attribute [rw] successful
|
55211
|
+
# Whether or not the request was successful.
|
55212
|
+
# @return [Boolean]
|
55213
|
+
#
|
55214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPublicIpDnsNameOptionsResult AWS API Documentation
|
55215
|
+
#
|
55216
|
+
class ModifyPublicIpDnsNameOptionsResult < Struct.new(
|
55217
|
+
:successful)
|
55218
|
+
SENSITIVE = []
|
55219
|
+
include Aws::Structure
|
55220
|
+
end
|
55221
|
+
|
55079
55222
|
# Contains the parameters for ModifyReservedInstances.
|
55080
55223
|
#
|
55081
55224
|
# @!attribute [rw] reserved_instances_ids
|
@@ -58890,9 +59033,35 @@ module Aws::EC2
|
|
58890
59033
|
# @return [String]
|
58891
59034
|
#
|
58892
59035
|
# @!attribute [rw] private_dns_name
|
58893
|
-
# The private
|
59036
|
+
# The private hostname. For more information, see [EC2 instance
|
59037
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User
|
59038
|
+
# Guide*.
|
59039
|
+
#
|
59040
|
+
#
|
59041
|
+
#
|
59042
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
59043
|
+
# @return [String]
|
59044
|
+
#
|
59045
|
+
# @!attribute [rw] public_dns_name
|
59046
|
+
# A public hostname. For more information, see [EC2 instance
|
59047
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User
|
59048
|
+
# Guide*.
|
59049
|
+
#
|
59050
|
+
#
|
59051
|
+
#
|
59052
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
58894
59053
|
# @return [String]
|
58895
59054
|
#
|
59055
|
+
# @!attribute [rw] public_ip_dns_name_options
|
59056
|
+
# Public hostname type options. For more information, see [EC2
|
59057
|
+
# instance hostnames, DNS names, and domains][1] in the *Amazon EC2
|
59058
|
+
# User Guide*.
|
59059
|
+
#
|
59060
|
+
#
|
59061
|
+
#
|
59062
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
59063
|
+
# @return [Types::PublicIpDnsNameOptions]
|
59064
|
+
#
|
58896
59065
|
# @!attribute [rw] private_ip_address
|
58897
59066
|
# The IPv4 address of the network interface within the subnet.
|
58898
59067
|
# @return [String]
|
@@ -58977,6 +59146,8 @@ module Aws::EC2
|
|
58977
59146
|
:outpost_arn,
|
58978
59147
|
:owner_id,
|
58979
59148
|
:private_dns_name,
|
59149
|
+
:public_dns_name,
|
59150
|
+
:public_ip_dns_name_options,
|
58980
59151
|
:private_ip_address,
|
58981
59152
|
:private_ip_addresses,
|
58982
59153
|
:ipv_4_prefixes,
|
@@ -59186,6 +59357,18 @@ module Aws::EC2
|
|
59186
59357
|
# The IPv6 address.
|
59187
59358
|
# @return [String]
|
59188
59359
|
#
|
59360
|
+
# @!attribute [rw] public_ipv_6_dns_name
|
59361
|
+
# An IPv6-enabled public hostname for a network interface. Requests
|
59362
|
+
# from within the VPC or from the internet resolve to the IPv6 GUA of
|
59363
|
+
# the network interface. For more information, see [EC2 instance
|
59364
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User
|
59365
|
+
# Guide*.
|
59366
|
+
#
|
59367
|
+
#
|
59368
|
+
#
|
59369
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
59370
|
+
# @return [String]
|
59371
|
+
#
|
59189
59372
|
# @!attribute [rw] is_primary_ipv_6
|
59190
59373
|
# Determines if an IPv6 address associated with a network interface is
|
59191
59374
|
# the primary IPv6 address. When you enable an IPv6 GUA address to be
|
@@ -59203,6 +59386,7 @@ module Aws::EC2
|
|
59203
59386
|
#
|
59204
59387
|
class NetworkInterfaceIpv6Address < Struct.new(
|
59205
59388
|
:ipv_6_address,
|
59389
|
+
:public_ipv_6_dns_name,
|
59206
59390
|
:is_primary_ipv_6)
|
59207
59391
|
SENSITIVE = []
|
59208
59392
|
include Aws::Structure
|
@@ -61413,6 +61597,55 @@ module Aws::EC2
|
|
61413
61597
|
include Aws::Structure
|
61414
61598
|
end
|
61415
61599
|
|
61600
|
+
# Public hostname type options. For more information, see [EC2 instance
|
61601
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User Guide*.
|
61602
|
+
#
|
61603
|
+
#
|
61604
|
+
#
|
61605
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
61606
|
+
#
|
61607
|
+
# @!attribute [rw] dns_hostname_type
|
61608
|
+
# The public hostname type. For more information, see [EC2 instance
|
61609
|
+
# hostnames, DNS names, and domains][1] in the *Amazon EC2 User
|
61610
|
+
# Guide*.
|
61611
|
+
#
|
61612
|
+
#
|
61613
|
+
#
|
61614
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-naming.html
|
61615
|
+
# @return [String]
|
61616
|
+
#
|
61617
|
+
# @!attribute [rw] public_ipv_4_dns_name
|
61618
|
+
# An IPv4-enabled public hostname for a network interface. Requests
|
61619
|
+
# from within the VPC resolve to the private primary IPv4 address of
|
61620
|
+
# the network interface. Requests from the internet resolve to the
|
61621
|
+
# public IPv4 address of the network interface.
|
61622
|
+
# @return [String]
|
61623
|
+
#
|
61624
|
+
# @!attribute [rw] public_ipv_6_dns_name
|
61625
|
+
# An IPv6-enabled public hostname for a network interface. Requests
|
61626
|
+
# from within the VPC or from the internet resolve to the IPv6 GUA of
|
61627
|
+
# the network interface.
|
61628
|
+
# @return [String]
|
61629
|
+
#
|
61630
|
+
# @!attribute [rw] public_dual_stack_dns_name
|
61631
|
+
# A dual-stack public hostname for a network interface. Requests from
|
61632
|
+
# within the VPC resolve to both the private IPv4 address and the IPv6
|
61633
|
+
# Global Unicast Address of the network interface. Requests from the
|
61634
|
+
# internet resolve to both the public IPv4 and the IPv6 GUA address of
|
61635
|
+
# the network interface.
|
61636
|
+
# @return [String]
|
61637
|
+
#
|
61638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PublicIpDnsNameOptions AWS API Documentation
|
61639
|
+
#
|
61640
|
+
class PublicIpDnsNameOptions < Struct.new(
|
61641
|
+
:dns_hostname_type,
|
61642
|
+
:public_ipv_4_dns_name,
|
61643
|
+
:public_ipv_6_dns_name,
|
61644
|
+
:public_dual_stack_dns_name)
|
61645
|
+
SENSITIVE = []
|
61646
|
+
include Aws::Structure
|
61647
|
+
end
|
61648
|
+
|
61416
61649
|
# Describes an IPv4 address pool.
|
61417
61650
|
#
|
61418
61651
|
# @!attribute [rw] pool_id
|
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
|
@@ -11475,6 +11477,18 @@ module Aws
|
|
11475
11477
|
) -> _ModifyPrivateDnsNameOptionsResponseSuccess
|
11476
11478
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyPrivateDnsNameOptionsResponseSuccess
|
11477
11479
|
|
11480
|
+
interface _ModifyPublicIpDnsNameOptionsResponseSuccess
|
11481
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyPublicIpDnsNameOptionsResult]
|
11482
|
+
def successful: () -> bool
|
11483
|
+
end
|
11484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_public_ip_dns_name_options-instance_method
|
11485
|
+
def modify_public_ip_dns_name_options: (
|
11486
|
+
network_interface_id: ::String,
|
11487
|
+
hostname_type: ("public-dual-stack-dns-name" | "public-ipv4-dns-name" | "public-ipv6-dns-name"),
|
11488
|
+
?dry_run: bool
|
11489
|
+
) -> _ModifyPublicIpDnsNameOptionsResponseSuccess
|
11490
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyPublicIpDnsNameOptionsResponseSuccess
|
11491
|
+
|
11478
11492
|
interface _ModifyReservedInstancesResponseSuccess
|
11479
11493
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyReservedInstancesResult]
|
11480
11494
|
def reserved_instances_modification_id: () -> ::String
|
data/sig/network_interface.rbs
CHANGED
@@ -51,6 +51,12 @@ module Aws
|
|
51
51
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#private_dns_name-instance_method
|
52
52
|
def private_dns_name: () -> ::String
|
53
53
|
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#public_dns_name-instance_method
|
55
|
+
def public_dns_name: () -> ::String
|
56
|
+
|
57
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#public_ip_dns_name_options-instance_method
|
58
|
+
def public_ip_dns_name_options: () -> Types::PublicIpDnsNameOptions
|
59
|
+
|
54
60
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#private_ip_address-instance_method
|
55
61
|
def private_ip_address: () -> ::String
|
56
62
|
|
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
|
|
@@ -11893,6 +11897,18 @@ module Aws::EC2
|
|
11893
11897
|
SENSITIVE: []
|
11894
11898
|
end
|
11895
11899
|
|
11900
|
+
class ModifyPublicIpDnsNameOptionsRequest
|
11901
|
+
attr_accessor network_interface_id: ::String
|
11902
|
+
attr_accessor hostname_type: ("public-dual-stack-dns-name" | "public-ipv4-dns-name" | "public-ipv6-dns-name")
|
11903
|
+
attr_accessor dry_run: bool
|
11904
|
+
SENSITIVE: []
|
11905
|
+
end
|
11906
|
+
|
11907
|
+
class ModifyPublicIpDnsNameOptionsResult
|
11908
|
+
attr_accessor successful: bool
|
11909
|
+
SENSITIVE: []
|
11910
|
+
end
|
11911
|
+
|
11896
11912
|
class ModifyReservedInstancesRequest
|
11897
11913
|
attr_accessor reserved_instances_ids: ::Array[::String]
|
11898
11914
|
attr_accessor client_token: ::String
|
@@ -12774,6 +12790,8 @@ module Aws::EC2
|
|
12774
12790
|
attr_accessor outpost_arn: ::String
|
12775
12791
|
attr_accessor owner_id: ::String
|
12776
12792
|
attr_accessor private_dns_name: ::String
|
12793
|
+
attr_accessor public_dns_name: ::String
|
12794
|
+
attr_accessor public_ip_dns_name_options: Types::PublicIpDnsNameOptions
|
12777
12795
|
attr_accessor private_ip_address: ::String
|
12778
12796
|
attr_accessor private_ip_addresses: ::Array[Types::NetworkInterfacePrivateIpAddress]
|
12779
12797
|
attr_accessor ipv_4_prefixes: ::Array[Types::Ipv4PrefixSpecification]
|
@@ -12839,6 +12857,7 @@ module Aws::EC2
|
|
12839
12857
|
|
12840
12858
|
class NetworkInterfaceIpv6Address
|
12841
12859
|
attr_accessor ipv_6_address: ::String
|
12860
|
+
attr_accessor public_ipv_6_dns_name: ::String
|
12842
12861
|
attr_accessor is_primary_ipv_6: bool
|
12843
12862
|
SENSITIVE: []
|
12844
12863
|
end
|
@@ -13371,6 +13390,14 @@ module Aws::EC2
|
|
13371
13390
|
SENSITIVE: []
|
13372
13391
|
end
|
13373
13392
|
|
13393
|
+
class PublicIpDnsNameOptions
|
13394
|
+
attr_accessor dns_hostname_type: ::String
|
13395
|
+
attr_accessor public_ipv_4_dns_name: ::String
|
13396
|
+
attr_accessor public_ipv_6_dns_name: ::String
|
13397
|
+
attr_accessor public_dual_stack_dns_name: ::String
|
13398
|
+
SENSITIVE: []
|
13399
|
+
end
|
13400
|
+
|
13374
13401
|
class PublicIpv4Pool
|
13375
13402
|
attr_accessor pool_id: ::String
|
13376
13403
|
attr_accessor description: ::String
|