aws-sdk-ec2 1.525.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +90 -3
- data/lib/aws-sdk-ec2/client_api.rb +29 -0
- data/lib/aws-sdk-ec2/network_interface.rb +28 -1
- data/lib/aws-sdk-ec2/types.rb +150 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/network_interface.rbs +6 -0
- data/sig/types.rbs +23 -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
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
|
@@ -33520,12 +33526,18 @@ module Aws::EC2
|
|
33520
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"
|
33521
33527
|
# resp.network_interfaces[0].ipv_6_addresses #=> Array
|
33522
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
|
33523
33530
|
# resp.network_interfaces[0].ipv_6_addresses[0].is_primary_ipv_6 #=> Boolean
|
33524
33531
|
# resp.network_interfaces[0].mac_address #=> String
|
33525
33532
|
# resp.network_interfaces[0].network_interface_id #=> String
|
33526
33533
|
# resp.network_interfaces[0].outpost_arn #=> String
|
33527
33534
|
# resp.network_interfaces[0].owner_id #=> String
|
33528
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
|
33529
33541
|
# resp.network_interfaces[0].private_ip_address #=> String
|
33530
33542
|
# resp.network_interfaces[0].private_ip_addresses #=> Array
|
33531
33543
|
# resp.network_interfaces[0].private_ip_addresses[0].association.allocation_id #=> String
|
@@ -43562,6 +43574,15 @@ module Aws::EC2
|
|
43562
43574
|
# This is an idempotent operation. If you perform the operation more
|
43563
43575
|
# than once, Amazon EC2 doesn't return an error.
|
43564
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
|
+
#
|
43565
43586
|
# @option params [String] :association_id
|
43566
43587
|
# The association ID. This parameter is required.
|
43567
43588
|
#
|
@@ -54447,6 +54468,72 @@ module Aws::EC2
|
|
54447
54468
|
req.send_request(options)
|
54448
54469
|
end
|
54449
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
|
+
|
54450
54537
|
# Modifies the configuration of your Reserved Instances, such as the
|
54451
54538
|
# Availability Zone, instance count, or instance type. The Reserved
|
54452
54539
|
# Instances to be modified must be identical, except for Availability
|
@@ -65247,9 +65334,9 @@ module Aws::EC2
|
|
65247
65334
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
65248
65335
|
# set to `true` are automatically deleted. For more information about
|
65249
65336
|
# the differences between stopping and terminating instances, see
|
65250
|
-
# [
|
65337
|
+
# [Instance lifecycle][2] in the *Amazon EC2 User Guide*.
|
65251
65338
|
#
|
65252
|
-
# For information about troubleshooting, see [Troubleshooting
|
65339
|
+
# For more information about troubleshooting, see [Troubleshooting
|
65253
65340
|
# terminating your instance][3] in the *Amazon EC2 User Guide*.
|
65254
65341
|
#
|
65255
65342
|
#
|
@@ -65888,7 +65975,7 @@ module Aws::EC2
|
|
65888
65975
|
tracer: tracer
|
65889
65976
|
)
|
65890
65977
|
context[:gem_name] = 'aws-sdk-ec2'
|
65891
|
-
context[:gem_version] = '1.
|
65978
|
+
context[:gem_version] = '1.526.0'
|
65892
65979
|
Seahorse::Client::Request.new(handlers, context)
|
65893
65980
|
end
|
65894
65981
|
|
@@ -2361,6 +2361,8 @@ module Aws::EC2
|
|
2361
2361
|
ModifyNetworkInterfaceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyNetworkInterfaceAttributeRequest')
|
2362
2362
|
ModifyPrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsRequest')
|
2363
2363
|
ModifyPrivateDnsNameOptionsResult = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsResult')
|
2364
|
+
ModifyPublicIpDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'ModifyPublicIpDnsNameOptionsRequest')
|
2365
|
+
ModifyPublicIpDnsNameOptionsResult = Shapes::StructureShape.new(name: 'ModifyPublicIpDnsNameOptionsResult')
|
2364
2366
|
ModifyReservedInstancesRequest = Shapes::StructureShape.new(name: 'ModifyReservedInstancesRequest')
|
2365
2367
|
ModifyReservedInstancesResult = Shapes::StructureShape.new(name: 'ModifyReservedInstancesResult')
|
2366
2368
|
ModifyRouteServerRequest = Shapes::StructureShape.new(name: 'ModifyRouteServerRequest')
|
@@ -2695,6 +2697,8 @@ module Aws::EC2
|
|
2695
2697
|
ProvisionedBandwidth = Shapes::StructureShape.new(name: 'ProvisionedBandwidth')
|
2696
2698
|
PtrUpdateStatus = Shapes::StructureShape.new(name: 'PtrUpdateStatus')
|
2697
2699
|
PublicIpAddress = Shapes::StringShape.new(name: 'PublicIpAddress')
|
2700
|
+
PublicIpDnsNameOptions = Shapes::StructureShape.new(name: 'PublicIpDnsNameOptions')
|
2701
|
+
PublicIpDnsOption = Shapes::StringShape.new(name: 'PublicIpDnsOption')
|
2698
2702
|
PublicIpStringList = Shapes::ListShape.new(name: 'PublicIpStringList')
|
2699
2703
|
PublicIpv4Pool = Shapes::StructureShape.new(name: 'PublicIpv4Pool')
|
2700
2704
|
PublicIpv4PoolIdStringList = Shapes::ListShape.new(name: 'PublicIpv4PoolIdStringList')
|
@@ -12974,6 +12978,14 @@ module Aws::EC2
|
|
12974
12978
|
ModifyPrivateDnsNameOptionsResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
12975
12979
|
ModifyPrivateDnsNameOptionsResult.struct_class = Types::ModifyPrivateDnsNameOptionsResult
|
12976
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
|
+
|
12977
12989
|
ModifyReservedInstancesRequest.add_member(:reserved_instances_ids, Shapes::ShapeRef.new(shape: ReservedInstancesIdStringList, required: true, location_name: "ReservedInstancesId"))
|
12978
12990
|
ModifyReservedInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
12979
12991
|
ModifyReservedInstancesRequest.add_member(:target_configurations, Shapes::ShapeRef.new(shape: ReservedInstancesConfigurationList, required: true, location_name: "ReservedInstancesConfigurationSetItemType"))
|
@@ -13684,6 +13696,8 @@ module Aws::EC2
|
|
13684
13696
|
NetworkInterface.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
13685
13697
|
NetworkInterface.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
13686
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"))
|
13687
13701
|
NetworkInterface.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
13688
13702
|
NetworkInterface.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: NetworkInterfacePrivateIpAddressList, location_name: "privateIpAddressesSet"))
|
13689
13703
|
NetworkInterface.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixesList, location_name: "ipv4PrefixSet"))
|
@@ -13741,6 +13755,7 @@ module Aws::EC2
|
|
13741
13755
|
NetworkInterfaceIdSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
13742
13756
|
|
13743
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"))
|
13744
13759
|
NetworkInterfaceIpv6Address.add_member(:is_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPrimaryIpv6"))
|
13745
13760
|
NetworkInterfaceIpv6Address.struct_class = Types::NetworkInterfaceIpv6Address
|
13746
13761
|
|
@@ -14238,6 +14253,12 @@ module Aws::EC2
|
|
14238
14253
|
PtrUpdateStatus.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
14239
14254
|
PtrUpdateStatus.struct_class = Types::PtrUpdateStatus
|
14240
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
|
+
|
14241
14262
|
PublicIpStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "PublicIp")
|
14242
14263
|
|
14243
14264
|
PublicIpv4Pool.add_member(:pool_id, Shapes::ShapeRef.new(shape: String, location_name: "poolId"))
|
@@ -22949,6 +22970,14 @@ module Aws::EC2
|
|
22949
22970
|
o.output = Shapes::ShapeRef.new(shape: ModifyPrivateDnsNameOptionsResult)
|
22950
22971
|
end)
|
22951
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
|
+
|
22952
22981
|
api.add_operation(:modify_reserved_instances, Seahorse::Model::Operation.new.tap do |o|
|
22953
22982
|
o.name = "ModifyReservedInstances"
|
22954
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
@@ -55160,6 +55160,65 @@ module Aws::EC2
|
|
55160
55160
|
include Aws::Structure
|
55161
55161
|
end
|
55162
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
|
+
|
55163
55222
|
# Contains the parameters for ModifyReservedInstances.
|
55164
55223
|
#
|
55165
55224
|
# @!attribute [rw] reserved_instances_ids
|
@@ -58974,9 +59033,35 @@ module Aws::EC2
|
|
58974
59033
|
# @return [String]
|
58975
59034
|
#
|
58976
59035
|
# @!attribute [rw] private_dns_name
|
58977
|
-
# 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
|
58978
59043
|
# @return [String]
|
58979
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
|
59053
|
+
# @return [String]
|
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
|
+
#
|
58980
59065
|
# @!attribute [rw] private_ip_address
|
58981
59066
|
# The IPv4 address of the network interface within the subnet.
|
58982
59067
|
# @return [String]
|
@@ -59061,6 +59146,8 @@ module Aws::EC2
|
|
59061
59146
|
:outpost_arn,
|
59062
59147
|
:owner_id,
|
59063
59148
|
:private_dns_name,
|
59149
|
+
:public_dns_name,
|
59150
|
+
:public_ip_dns_name_options,
|
59064
59151
|
:private_ip_address,
|
59065
59152
|
:private_ip_addresses,
|
59066
59153
|
:ipv_4_prefixes,
|
@@ -59270,6 +59357,18 @@ module Aws::EC2
|
|
59270
59357
|
# The IPv6 address.
|
59271
59358
|
# @return [String]
|
59272
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
|
+
#
|
59273
59372
|
# @!attribute [rw] is_primary_ipv_6
|
59274
59373
|
# Determines if an IPv6 address associated with a network interface is
|
59275
59374
|
# the primary IPv6 address. When you enable an IPv6 GUA address to be
|
@@ -59287,6 +59386,7 @@ module Aws::EC2
|
|
59287
59386
|
#
|
59288
59387
|
class NetworkInterfaceIpv6Address < Struct.new(
|
59289
59388
|
:ipv_6_address,
|
59389
|
+
:public_ipv_6_dns_name,
|
59290
59390
|
:is_primary_ipv_6)
|
59291
59391
|
SENSITIVE = []
|
59292
59392
|
include Aws::Structure
|
@@ -61497,6 +61597,55 @@ module Aws::EC2
|
|
61497
61597
|
include Aws::Structure
|
61498
61598
|
end
|
61499
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
|
+
|
61500
61649
|
# Describes an IPv4 address pool.
|
61501
61650
|
#
|
61502
61651
|
# @!attribute [rw] pool_id
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -11477,6 +11477,18 @@ module Aws
|
|
11477
11477
|
) -> _ModifyPrivateDnsNameOptionsResponseSuccess
|
11478
11478
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyPrivateDnsNameOptionsResponseSuccess
|
11479
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
|
+
|
11480
11492
|
interface _ModifyReservedInstancesResponseSuccess
|
11481
11493
|
include ::Seahorse::Client::_ResponseSuccess[Types::ModifyReservedInstancesResult]
|
11482
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
@@ -11897,6 +11897,18 @@ module Aws::EC2
|
|
11897
11897
|
SENSITIVE: []
|
11898
11898
|
end
|
11899
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
|
+
|
11900
11912
|
class ModifyReservedInstancesRequest
|
11901
11913
|
attr_accessor reserved_instances_ids: ::Array[::String]
|
11902
11914
|
attr_accessor client_token: ::String
|
@@ -12778,6 +12790,8 @@ module Aws::EC2
|
|
12778
12790
|
attr_accessor outpost_arn: ::String
|
12779
12791
|
attr_accessor owner_id: ::String
|
12780
12792
|
attr_accessor private_dns_name: ::String
|
12793
|
+
attr_accessor public_dns_name: ::String
|
12794
|
+
attr_accessor public_ip_dns_name_options: Types::PublicIpDnsNameOptions
|
12781
12795
|
attr_accessor private_ip_address: ::String
|
12782
12796
|
attr_accessor private_ip_addresses: ::Array[Types::NetworkInterfacePrivateIpAddress]
|
12783
12797
|
attr_accessor ipv_4_prefixes: ::Array[Types::Ipv4PrefixSpecification]
|
@@ -12843,6 +12857,7 @@ module Aws::EC2
|
|
12843
12857
|
|
12844
12858
|
class NetworkInterfaceIpv6Address
|
12845
12859
|
attr_accessor ipv_6_address: ::String
|
12860
|
+
attr_accessor public_ipv_6_dns_name: ::String
|
12846
12861
|
attr_accessor is_primary_ipv_6: bool
|
12847
12862
|
SENSITIVE: []
|
12848
12863
|
end
|
@@ -13375,6 +13390,14 @@ module Aws::EC2
|
|
13375
13390
|
SENSITIVE: []
|
13376
13391
|
end
|
13377
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
|
+
|
13378
13401
|
class PublicIpv4Pool
|
13379
13402
|
attr_accessor pool_id: ::String
|
13380
13403
|
attr_accessor description: ::String
|