aws-sdk-ec2 1.257.0 → 1.258.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +47 -31
- data/lib/aws-sdk-ec2/client_api.rb +4 -0
- data/lib/aws-sdk-ec2/network_interface.rb +6 -10
- data/lib/aws-sdk-ec2/resource.rb +7 -8
- data/lib/aws-sdk-ec2/subnet.rb +7 -8
- data/lib/aws-sdk-ec2/types.rb +74 -46
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc9bf015059c7c4a04b76d072672a81e06f3cd9322921522e66ddb122efb9201
|
4
|
+
data.tar.gz: aa17c667d1530ebd14d4b064fc9f6b8e9e715d5e4e0c0a01d0147fe9137b81d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 258908a746bd92a1a0de73661fd23e5dd82bde82d0c1659c50c23558f090586b2d6160d5828f821342f61a6fe4d632976ee010a2c2a87dad9e1b03c0ade1b68d
|
7
|
+
data.tar.gz: 9ea89888ba463936c4b36bfe4d857b084d2efa97dd0ad9f3bc7b9d8d6231699f01b2eb7cc213d14a79bee33491d300dfa87f6f968873c5866e08aaa07463c9a3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.258.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -1044,13 +1044,14 @@ module Aws::EC2
|
|
1044
1044
|
#
|
1045
1045
|
# You can optionally use Prefix Delegation on the network interface. You
|
1046
1046
|
# must specify either the IPV6 Prefix Delegation prefixes, or the IPv6
|
1047
|
-
# Prefix Delegation count. For information, see [
|
1048
|
-
# in the *Amazon Elastic Compute Cloud
|
1047
|
+
# Prefix Delegation count. For information, see [ Assigning prefixes to
|
1048
|
+
# Amazon EC2 network interfaces][2] in the *Amazon Elastic Compute Cloud
|
1049
|
+
# User Guide*.
|
1049
1050
|
#
|
1050
1051
|
#
|
1051
1052
|
#
|
1052
1053
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
1053
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-
|
1054
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html
|
1054
1055
|
#
|
1055
1056
|
# @option params [Integer] :ipv_6_address_count
|
1056
1057
|
# The number of additional IPv6 addresses to assign to the network
|
@@ -1066,14 +1067,13 @@ module Aws::EC2
|
|
1066
1067
|
# of IPv6 addresses.
|
1067
1068
|
#
|
1068
1069
|
# @option params [Integer] :ipv_6_prefix_count
|
1069
|
-
# The number of IPv6
|
1070
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
1070
1071
|
# assigns to the network interface. You cannot use this option if you
|
1071
1072
|
# use the `Ipv6Prefixes` option.
|
1072
1073
|
#
|
1073
1074
|
# @option params [Array<String>] :ipv_6_prefixes
|
1074
|
-
# One or more IPv6
|
1075
|
-
#
|
1076
|
-
# option.
|
1075
|
+
# One or more IPv6 prefixes assigned to the network interface. You
|
1076
|
+
# cannot use this option if you use the `Ipv6PrefixCount` option.
|
1077
1077
|
#
|
1078
1078
|
# @option params [required, String] :network_interface_id
|
1079
1079
|
# The ID of the network interface.
|
@@ -1137,14 +1137,15 @@ module Aws::EC2
|
|
1137
1137
|
#
|
1138
1138
|
# You can optionally use Prefix Delegation on the network interface. You
|
1139
1139
|
# must specify either the IPv4 Prefix Delegation prefixes, or the IPv4
|
1140
|
-
# Prefix Delegation count. For information, see [
|
1141
|
-
# in the *Amazon Elastic Compute Cloud
|
1140
|
+
# Prefix Delegation count. For information, see [ Assigning prefixes to
|
1141
|
+
# Amazon EC2 network interfaces][3] in the *Amazon Elastic Compute Cloud
|
1142
|
+
# User Guide*.
|
1142
1143
|
#
|
1143
1144
|
#
|
1144
1145
|
#
|
1145
1146
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
1146
1147
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
|
1147
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-
|
1148
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html
|
1148
1149
|
#
|
1149
1150
|
# @option params [Boolean] :allow_reassignment
|
1150
1151
|
# Indicates whether to allow an IP address that is already assigned to
|
@@ -1168,12 +1169,11 @@ module Aws::EC2
|
|
1168
1169
|
# private IP addresses.
|
1169
1170
|
#
|
1170
1171
|
# @option params [Array<String>] :ipv_4_prefixes
|
1171
|
-
# One or more IPv4
|
1172
|
-
#
|
1173
|
-
# option.
|
1172
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
1173
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
1174
1174
|
#
|
1175
1175
|
# @option params [Integer] :ipv_4_prefix_count
|
1176
|
-
# The number of IPv4
|
1176
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
1177
1177
|
# assigns to the network interface. You cannot use this option if you
|
1178
1178
|
# use the `Ipv4 Prefixes` option.
|
1179
1179
|
#
|
@@ -1946,6 +1946,11 @@ module Aws::EC2
|
|
1946
1946
|
req.send_request(options)
|
1947
1947
|
end
|
1948
1948
|
|
1949
|
+
# <note markdown="1"> This API action is currently in **limited preview only**. If you are
|
1950
|
+
# interested in using this feature, contact your account manager.
|
1951
|
+
#
|
1952
|
+
# </note>
|
1953
|
+
#
|
1949
1954
|
# Associates a branch network interface with a trunk network interface.
|
1950
1955
|
#
|
1951
1956
|
# Before you create the association, run the
|
@@ -1954,13 +1959,9 @@ module Aws::EC2
|
|
1954
1959
|
# network interface that you want to associate with the trunk network
|
1955
1960
|
# interface.
|
1956
1961
|
#
|
1957
|
-
# For more information, see [ Network interface trunking][2] in the
|
1958
|
-
# *Amazon Elastic Compute Cloud User Guide*.
|
1959
|
-
#
|
1960
1962
|
#
|
1961
1963
|
#
|
1962
1964
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html
|
1963
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/eni-trunking.html
|
1964
1965
|
#
|
1965
1966
|
# @option params [required, String] :branch_interface_id
|
1966
1967
|
# The ID of the branch network interface.
|
@@ -7547,22 +7548,20 @@ module Aws::EC2
|
|
7547
7548
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
7548
7549
|
#
|
7549
7550
|
# @option params [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
7550
|
-
# One or
|
7551
|
-
#
|
7552
|
-
# option.
|
7551
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
7552
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
7553
7553
|
#
|
7554
7554
|
# @option params [Integer] :ipv_4_prefix_count
|
7555
|
-
# The number of IPv4
|
7555
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
7556
7556
|
# assigns to the network interface. You cannot use this option if you
|
7557
7557
|
# use the `Ipv4 Prefixes` option.
|
7558
7558
|
#
|
7559
7559
|
# @option params [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
|
7560
|
-
# One or
|
7561
|
-
#
|
7562
|
-
# option.
|
7560
|
+
# One or more IPv6 prefixes assigned to the network interface. You
|
7561
|
+
# cannot use this option if you use the `Ipv6PrefixCount` option.
|
7563
7562
|
#
|
7564
7563
|
# @option params [Integer] :ipv_6_prefix_count
|
7565
|
-
# The number of IPv6
|
7564
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
7566
7565
|
# assigns to the network interface. You cannot use this option if you
|
7567
7566
|
# use the `Ipv6Prefixes` option.
|
7568
7567
|
#
|
@@ -19971,6 +19970,7 @@ module Aws::EC2
|
|
19971
19970
|
# resp.reservations[0].instances[0].metadata_options.http_tokens #=> String, one of "optional", "required"
|
19972
19971
|
# resp.reservations[0].instances[0].metadata_options.http_put_response_hop_limit #=> Integer
|
19973
19972
|
# resp.reservations[0].instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
19973
|
+
# resp.reservations[0].instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
|
19974
19974
|
# resp.reservations[0].instances[0].enclave_options.enabled #=> Boolean
|
19975
19975
|
# resp.reservations[0].instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
|
19976
19976
|
# resp.reservations[0].owner_id #=> String
|
@@ -27297,6 +27297,11 @@ module Aws::EC2
|
|
27297
27297
|
req.send_request(options)
|
27298
27298
|
end
|
27299
27299
|
|
27300
|
+
# <note markdown="1"> This API action is currently in **limited preview only**. If you are
|
27301
|
+
# interested in using this feature, contact your account manager.
|
27302
|
+
#
|
27303
|
+
# </note>
|
27304
|
+
#
|
27300
27305
|
# Describes one or more network interface trunk associations.
|
27301
27306
|
#
|
27302
27307
|
# @option params [Array<String>] :association_ids
|
@@ -30432,6 +30437,11 @@ module Aws::EC2
|
|
30432
30437
|
req.send_request(options)
|
30433
30438
|
end
|
30434
30439
|
|
30440
|
+
# <note markdown="1"> This API action is currently in **limited preview only**. If you are
|
30441
|
+
# interested in using this feature, contact your account manager.
|
30442
|
+
#
|
30443
|
+
# </note>
|
30444
|
+
#
|
30435
30445
|
# Removes an association between a branch network interface with a trunk
|
30436
30446
|
# network interface.
|
30437
30447
|
#
|
@@ -35162,6 +35172,10 @@ module Aws::EC2
|
|
35162
35172
|
# If you have the required permissions, the error response is
|
35163
35173
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
35164
35174
|
#
|
35175
|
+
# @option params [String] :http_protocol_ipv_6
|
35176
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
35177
|
+
# service.
|
35178
|
+
#
|
35165
35179
|
# @return [Types::ModifyInstanceMetadataOptionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
35166
35180
|
#
|
35167
35181
|
# * {Types::ModifyInstanceMetadataOptionsResult#instance_id #instance_id} => String
|
@@ -35175,6 +35189,7 @@ module Aws::EC2
|
|
35175
35189
|
# http_put_response_hop_limit: 1,
|
35176
35190
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
35177
35191
|
# dry_run: false,
|
35192
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
35178
35193
|
# })
|
35179
35194
|
#
|
35180
35195
|
# @example Response structure
|
@@ -35184,6 +35199,7 @@ module Aws::EC2
|
|
35184
35199
|
# resp.instance_metadata_options.http_tokens #=> String, one of "optional", "required"
|
35185
35200
|
# resp.instance_metadata_options.http_put_response_hop_limit #=> Integer
|
35186
35201
|
# resp.instance_metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
35202
|
+
# resp.instance_metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
|
35187
35203
|
#
|
35188
35204
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataOptions AWS API Documentation
|
35189
35205
|
#
|
@@ -41735,6 +41751,7 @@ module Aws::EC2
|
|
41735
41751
|
# http_tokens: "optional", # accepts optional, required
|
41736
41752
|
# http_put_response_hop_limit: 1,
|
41737
41753
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
41754
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
41738
41755
|
# },
|
41739
41756
|
# enclave_options: {
|
41740
41757
|
# enabled: false,
|
@@ -41868,6 +41885,7 @@ module Aws::EC2
|
|
41868
41885
|
# resp.instances[0].metadata_options.http_tokens #=> String, one of "optional", "required"
|
41869
41886
|
# resp.instances[0].metadata_options.http_put_response_hop_limit #=> Integer
|
41870
41887
|
# resp.instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
41888
|
+
# resp.instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
|
41871
41889
|
# resp.instances[0].enclave_options.enabled #=> Boolean
|
41872
41890
|
# resp.instances[0].boot_mode #=> String, one of "legacy-bios", "uefi"
|
41873
41891
|
# resp.owner_id #=> String
|
@@ -43167,8 +43185,7 @@ module Aws::EC2
|
|
43167
43185
|
# The IPv6 addresses to unassign from the network interface.
|
43168
43186
|
#
|
43169
43187
|
# @option params [Array<String>] :ipv_6_prefixes
|
43170
|
-
# One or
|
43171
|
-
# network interface.
|
43188
|
+
# One or more IPv6 prefixes to unassign from the network interface.
|
43172
43189
|
#
|
43173
43190
|
# @option params [required, String] :network_interface_id
|
43174
43191
|
# The ID of the network interface.
|
@@ -43216,8 +43233,7 @@ module Aws::EC2
|
|
43216
43233
|
# than one IP address.
|
43217
43234
|
#
|
43218
43235
|
# @option params [Array<String>] :ipv_4_prefixes
|
43219
|
-
# The IPv4
|
43220
|
-
# interface.
|
43236
|
+
# The IPv4 prefixes to unassign from the network interface.
|
43221
43237
|
#
|
43222
43238
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
43223
43239
|
#
|
@@ -43598,7 +43614,7 @@ module Aws::EC2
|
|
43598
43614
|
params: params,
|
43599
43615
|
config: config)
|
43600
43616
|
context[:gem_name] = 'aws-sdk-ec2'
|
43601
|
-
context[:gem_version] = '1.
|
43617
|
+
context[:gem_version] = '1.258.0'
|
43602
43618
|
Seahorse::Client::Request.new(handlers, context)
|
43603
43619
|
end
|
43604
43620
|
|
@@ -1292,6 +1292,7 @@ module Aws::EC2
|
|
1292
1292
|
InstanceMetadataOptionsRequest = Shapes::StructureShape.new(name: 'InstanceMetadataOptionsRequest')
|
1293
1293
|
InstanceMetadataOptionsResponse = Shapes::StructureShape.new(name: 'InstanceMetadataOptionsResponse')
|
1294
1294
|
InstanceMetadataOptionsState = Shapes::StringShape.new(name: 'InstanceMetadataOptionsState')
|
1295
|
+
InstanceMetadataProtocolState = Shapes::StringShape.new(name: 'InstanceMetadataProtocolState')
|
1295
1296
|
InstanceMonitoring = Shapes::StructureShape.new(name: 'InstanceMonitoring')
|
1296
1297
|
InstanceMonitoringList = Shapes::ListShape.new(name: 'InstanceMonitoringList')
|
1297
1298
|
InstanceNetworkInterface = Shapes::StructureShape.new(name: 'InstanceNetworkInterface')
|
@@ -7512,12 +7513,14 @@ module Aws::EC2
|
|
7512
7513
|
InstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokensState, location_name: "HttpTokens"))
|
7513
7514
|
InstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "HttpPutResponseHopLimit"))
|
7514
7515
|
InstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: InstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
7516
|
+
InstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: InstanceMetadataProtocolState, location_name: "HttpProtocolIpv6"))
|
7515
7517
|
InstanceMetadataOptionsRequest.struct_class = Types::InstanceMetadataOptionsRequest
|
7516
7518
|
|
7517
7519
|
InstanceMetadataOptionsResponse.add_member(:state, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsState, location_name: "state"))
|
7518
7520
|
InstanceMetadataOptionsResponse.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokensState, location_name: "httpTokens"))
|
7519
7521
|
InstanceMetadataOptionsResponse.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "httpPutResponseHopLimit"))
|
7520
7522
|
InstanceMetadataOptionsResponse.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: InstanceMetadataEndpointState, location_name: "httpEndpoint"))
|
7523
|
+
InstanceMetadataOptionsResponse.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: InstanceMetadataProtocolState, location_name: "httpProtocolIpv6"))
|
7521
7524
|
InstanceMetadataOptionsResponse.struct_class = Types::InstanceMetadataOptionsResponse
|
7522
7525
|
|
7523
7526
|
InstanceMonitoring.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
@@ -8423,6 +8426,7 @@ module Aws::EC2
|
|
8423
8426
|
ModifyInstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "HttpPutResponseHopLimit"))
|
8424
8427
|
ModifyInstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: InstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
8425
8428
|
ModifyInstanceMetadataOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8429
|
+
ModifyInstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: InstanceMetadataProtocolState, location_name: "HttpProtocolIpv6"))
|
8426
8430
|
ModifyInstanceMetadataOptionsRequest.struct_class = Types::ModifyInstanceMetadataOptionsRequest
|
8427
8431
|
|
8428
8432
|
ModifyInstanceMetadataOptionsResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
@@ -108,15 +108,13 @@ module Aws::EC2
|
|
108
108
|
data[:private_ip_addresses]
|
109
109
|
end
|
110
110
|
|
111
|
-
# The IPv4
|
112
|
-
# interface.
|
111
|
+
# The IPv4 prefixes that are assigned to the network interface.
|
113
112
|
# @return [Array<Types::Ipv4PrefixSpecification>]
|
114
113
|
def ipv_4_prefixes
|
115
114
|
data[:ipv_4_prefixes]
|
116
115
|
end
|
117
116
|
|
118
|
-
# The IPv6
|
119
|
-
# interface.
|
117
|
+
# The IPv6 prefixes that are assigned to the network interface.
|
120
118
|
# @return [Array<Types::Ipv6PrefixSpecification>]
|
121
119
|
def ipv_6_prefixes
|
122
120
|
data[:ipv_6_prefixes]
|
@@ -326,11 +324,10 @@ module Aws::EC2
|
|
326
324
|
# interface. You can't specify this parameter when also specifying
|
327
325
|
# private IP addresses.
|
328
326
|
# @option options [Array<String>] :ipv_4_prefixes
|
329
|
-
# One or more IPv4
|
330
|
-
#
|
331
|
-
# option.
|
327
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
328
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
332
329
|
# @option options [Integer] :ipv_4_prefix_count
|
333
|
-
# The number of IPv4
|
330
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
334
331
|
# assigns to the network interface. You cannot use this option if you
|
335
332
|
# use the `Ipv4 Prefixes` option.
|
336
333
|
# @return [Types::AssignPrivateIpAddressesResult]
|
@@ -607,8 +604,7 @@ module Aws::EC2
|
|
607
604
|
# interface. You can specify this option multiple times to unassign more
|
608
605
|
# than one IP address.
|
609
606
|
# @option options [Array<String>] :ipv_4_prefixes
|
610
|
-
# The IPv4
|
611
|
-
# interface.
|
607
|
+
# The IPv4 prefixes to unassign from the network interface.
|
612
608
|
# @return [EmptyStructure]
|
613
609
|
def unassign_private_ip_addresses(options = {})
|
614
610
|
options = options.merge(network_interface_id: @id)
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -242,6 +242,7 @@ module Aws::EC2
|
|
242
242
|
# http_tokens: "optional", # accepts optional, required
|
243
243
|
# http_put_response_hop_limit: 1,
|
244
244
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
245
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
245
246
|
# },
|
246
247
|
# enclave_options: {
|
247
248
|
# enabled: false,
|
@@ -829,19 +830,17 @@ module Aws::EC2
|
|
829
830
|
#
|
830
831
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
831
832
|
# @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
832
|
-
# One or
|
833
|
-
#
|
834
|
-
# option.
|
833
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
834
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
835
835
|
# @option options [Integer] :ipv_4_prefix_count
|
836
|
-
# The number of IPv4
|
836
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
837
837
|
# assigns to the network interface. You cannot use this option if you
|
838
838
|
# use the `Ipv4 Prefixes` option.
|
839
839
|
# @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
|
840
|
-
# One or
|
841
|
-
#
|
842
|
-
# option.
|
840
|
+
# One or more IPv6 prefixes assigned to the network interface. You
|
841
|
+
# cannot use this option if you use the `Ipv6PrefixCount` option.
|
843
842
|
# @option options [Integer] :ipv_6_prefix_count
|
844
|
-
# The number of IPv6
|
843
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
845
844
|
# assigns to the network interface. You cannot use this option if you
|
846
845
|
# use the `Ipv6Prefixes` option.
|
847
846
|
# @option options [String] :interface_type
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -436,6 +436,7 @@ module Aws::EC2
|
|
436
436
|
# http_tokens: "optional", # accepts optional, required
|
437
437
|
# http_put_response_hop_limit: 1,
|
438
438
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
439
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
439
440
|
# },
|
440
441
|
# enclave_options: {
|
441
442
|
# enabled: false,
|
@@ -843,19 +844,17 @@ module Aws::EC2
|
|
843
844
|
#
|
844
845
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
845
846
|
# @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
|
846
|
-
# One or
|
847
|
-
#
|
848
|
-
# option.
|
847
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
848
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
849
849
|
# @option options [Integer] :ipv_4_prefix_count
|
850
|
-
# The number of IPv4
|
850
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
851
851
|
# assigns to the network interface. You cannot use this option if you
|
852
852
|
# use the `Ipv4 Prefixes` option.
|
853
853
|
# @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
|
854
|
-
# One or
|
855
|
-
#
|
856
|
-
# option.
|
854
|
+
# One or more IPv6 prefixes assigned to the network interface. You
|
855
|
+
# cannot use this option if you use the `Ipv6PrefixCount` option.
|
857
856
|
# @option options [Integer] :ipv_6_prefix_count
|
858
|
-
# The number of IPv6
|
857
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
859
858
|
# assigns to the network interface. You cannot use this option if you
|
860
859
|
# use the `Ipv6Prefixes` option.
|
861
860
|
# @option options [String] :interface_type
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -1186,15 +1186,14 @@ module Aws::EC2
|
|
1186
1186
|
# @return [Array<String>]
|
1187
1187
|
#
|
1188
1188
|
# @!attribute [rw] ipv_6_prefix_count
|
1189
|
-
# The number of IPv6
|
1189
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
1190
1190
|
# assigns to the network interface. You cannot use this option if you
|
1191
1191
|
# use the `Ipv6Prefixes` option.
|
1192
1192
|
# @return [Integer]
|
1193
1193
|
#
|
1194
1194
|
# @!attribute [rw] ipv_6_prefixes
|
1195
|
-
# One or more IPv6
|
1196
|
-
#
|
1197
|
-
# `Ipv6PrefixCount` option.
|
1195
|
+
# One or more IPv6 prefixes assigned to the network interface. You
|
1196
|
+
# cannot use this option if you use the `Ipv6PrefixCount` option.
|
1198
1197
|
# @return [Array<String>]
|
1199
1198
|
#
|
1200
1199
|
# @!attribute [rw] network_interface_id
|
@@ -1220,8 +1219,7 @@ module Aws::EC2
|
|
1220
1219
|
# @return [Array<String>]
|
1221
1220
|
#
|
1222
1221
|
# @!attribute [rw] assigned_ipv_6_prefixes
|
1223
|
-
# The IPv6
|
1224
|
-
# interface.
|
1222
|
+
# The IPv6 prefixes that are assigned to the network interface.
|
1225
1223
|
# @return [Array<String>]
|
1226
1224
|
#
|
1227
1225
|
# @!attribute [rw] network_interface_id
|
@@ -1278,13 +1276,12 @@ module Aws::EC2
|
|
1278
1276
|
# @return [Integer]
|
1279
1277
|
#
|
1280
1278
|
# @!attribute [rw] ipv_4_prefixes
|
1281
|
-
# One or more IPv4
|
1282
|
-
#
|
1283
|
-
# `Ipv4PrefixCount` option.
|
1279
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
1280
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
1284
1281
|
# @return [Array<String>]
|
1285
1282
|
#
|
1286
1283
|
# @!attribute [rw] ipv_4_prefix_count
|
1287
|
-
# The number of IPv4
|
1284
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
1288
1285
|
# assigns to the network interface. You cannot use this option if you
|
1289
1286
|
# use the `Ipv4 Prefixes` option.
|
1290
1287
|
# @return [Integer]
|
@@ -1311,8 +1308,7 @@ module Aws::EC2
|
|
1311
1308
|
# @return [Array<Types::AssignedPrivateIpAddress>]
|
1312
1309
|
#
|
1313
1310
|
# @!attribute [rw] assigned_ipv_4_prefixes
|
1314
|
-
# The IPv4
|
1315
|
-
# interface.
|
1311
|
+
# The IPv4 prefixes that are assigned to the network interface.
|
1316
1312
|
# @return [Array<Types::Ipv4PrefixSpecification>]
|
1317
1313
|
#
|
1318
1314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesResult AWS API Documentation
|
@@ -8749,25 +8745,23 @@ module Aws::EC2
|
|
8749
8745
|
# @return [Integer]
|
8750
8746
|
#
|
8751
8747
|
# @!attribute [rw] ipv_4_prefixes
|
8752
|
-
# One or
|
8753
|
-
#
|
8754
|
-
# `Ipv4PrefixCount` option.
|
8748
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
8749
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
8755
8750
|
# @return [Array<Types::Ipv4PrefixSpecificationRequest>]
|
8756
8751
|
#
|
8757
8752
|
# @!attribute [rw] ipv_4_prefix_count
|
8758
|
-
# The number of IPv4
|
8753
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
8759
8754
|
# assigns to the network interface. You cannot use this option if you
|
8760
8755
|
# use the `Ipv4 Prefixes` option.
|
8761
8756
|
# @return [Integer]
|
8762
8757
|
#
|
8763
8758
|
# @!attribute [rw] ipv_6_prefixes
|
8764
|
-
# One or
|
8765
|
-
#
|
8766
|
-
# `Ipv6PrefixCount` option.
|
8759
|
+
# One or more IPv6 prefixes assigned to the network interface. You
|
8760
|
+
# cannot use this option if you use the `Ipv6PrefixCount` option.
|
8767
8761
|
# @return [Array<Types::Ipv6PrefixSpecificationRequest>]
|
8768
8762
|
#
|
8769
8763
|
# @!attribute [rw] ipv_6_prefix_count
|
8770
|
-
# The number of IPv6
|
8764
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
8771
8765
|
# assigns to the network interface. You cannot use this option if you
|
8772
8766
|
# use the `Ipv6Prefixes` option.
|
8773
8767
|
# @return [Integer]
|
@@ -35381,6 +35375,7 @@ module Aws::EC2
|
|
35381
35375
|
# http_tokens: "optional", # accepts optional, required
|
35382
35376
|
# http_put_response_hop_limit: 1,
|
35383
35377
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
35378
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
35384
35379
|
# }
|
35385
35380
|
#
|
35386
35381
|
# @!attribute [rw] http_tokens
|
@@ -35422,12 +35417,18 @@ module Aws::EC2
|
|
35422
35417
|
# </note>
|
35423
35418
|
# @return [String]
|
35424
35419
|
#
|
35420
|
+
# @!attribute [rw] http_protocol_ipv_6
|
35421
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
35422
|
+
# service.
|
35423
|
+
# @return [String]
|
35424
|
+
#
|
35425
35425
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMetadataOptionsRequest AWS API Documentation
|
35426
35426
|
#
|
35427
35427
|
class InstanceMetadataOptionsRequest < Struct.new(
|
35428
35428
|
:http_tokens,
|
35429
35429
|
:http_put_response_hop_limit,
|
35430
|
-
:http_endpoint
|
35430
|
+
:http_endpoint,
|
35431
|
+
:http_protocol_ipv_6)
|
35431
35432
|
SENSITIVE = []
|
35432
35433
|
include Aws::Structure
|
35433
35434
|
end
|
@@ -35483,13 +35484,19 @@ module Aws::EC2
|
|
35483
35484
|
# </note>
|
35484
35485
|
# @return [String]
|
35485
35486
|
#
|
35487
|
+
# @!attribute [rw] http_protocol_ipv_6
|
35488
|
+
# Whether or not the IPv6 endpoint for the instance metadata service
|
35489
|
+
# is enabled or disabled.
|
35490
|
+
# @return [String]
|
35491
|
+
#
|
35486
35492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMetadataOptionsResponse AWS API Documentation
|
35487
35493
|
#
|
35488
35494
|
class InstanceMetadataOptionsResponse < Struct.new(
|
35489
35495
|
:state,
|
35490
35496
|
:http_tokens,
|
35491
35497
|
:http_put_response_hop_limit,
|
35492
|
-
:http_endpoint
|
35498
|
+
:http_endpoint,
|
35499
|
+
:http_protocol_ipv_6)
|
35493
35500
|
SENSITIVE = []
|
35494
35501
|
include Aws::Structure
|
35495
35502
|
end
|
@@ -35856,6 +35863,16 @@ module Aws::EC2
|
|
35856
35863
|
# The index of the network card. Some instance types support multiple
|
35857
35864
|
# network cards. The primary network interface must be assigned to
|
35858
35865
|
# network card index 0. The default is network card index 0.
|
35866
|
+
#
|
35867
|
+
# If you are using [RequestSpotInstances][1] to create Spot Instances,
|
35868
|
+
# omit this parameter because you can’t specify the network card index
|
35869
|
+
# when using this API. To specify the network card index, use
|
35870
|
+
# [RunInstances][2].
|
35871
|
+
#
|
35872
|
+
#
|
35873
|
+
#
|
35874
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
35875
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
35859
35876
|
# @return [Integer]
|
35860
35877
|
#
|
35861
35878
|
# @!attribute [rw] ipv_4_prefixes
|
@@ -36623,15 +36640,16 @@ module Aws::EC2
|
|
36623
36640
|
include Aws::Structure
|
36624
36641
|
end
|
36625
36642
|
|
36626
|
-
# Describes an IPv4
|
36643
|
+
# Describes an IPv4 prefix.
|
36627
36644
|
#
|
36628
36645
|
# @!attribute [rw] ipv_4_prefix
|
36629
|
-
# The IPv4
|
36630
|
-
#
|
36646
|
+
# The IPv4 prefix. For information, see [ Assigning prefixes to Amazon
|
36647
|
+
# EC2 network interfaces][1] in the *Amazon Elastic Compute Cloud User
|
36648
|
+
# Guide*.
|
36631
36649
|
#
|
36632
36650
|
#
|
36633
36651
|
#
|
36634
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-
|
36652
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html
|
36635
36653
|
# @return [String]
|
36636
36654
|
#
|
36637
36655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv4PrefixSpecification AWS API Documentation
|
@@ -36642,7 +36660,7 @@ module Aws::EC2
|
|
36642
36660
|
include Aws::Structure
|
36643
36661
|
end
|
36644
36662
|
|
36645
|
-
# Describes the IPv4
|
36663
|
+
# Describes the IPv4 prefix option for a network interface.
|
36646
36664
|
#
|
36647
36665
|
# @note When making an API call, you may pass Ipv4PrefixSpecificationRequest
|
36648
36666
|
# data as a hash:
|
@@ -36652,12 +36670,13 @@ module Aws::EC2
|
|
36652
36670
|
# }
|
36653
36671
|
#
|
36654
36672
|
# @!attribute [rw] ipv_4_prefix
|
36655
|
-
# The IPv4
|
36656
|
-
#
|
36673
|
+
# The IPv4 prefix. For information, see [ Assigning prefixes to Amazon
|
36674
|
+
# EC2 network interfaces][1] in the *Amazon Elastic Compute Cloud User
|
36675
|
+
# Guide*.
|
36657
36676
|
#
|
36658
36677
|
#
|
36659
36678
|
#
|
36660
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-
|
36679
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html
|
36661
36680
|
# @return [String]
|
36662
36681
|
#
|
36663
36682
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv4PrefixSpecificationRequest AWS API Documentation
|
@@ -36746,10 +36765,10 @@ module Aws::EC2
|
|
36746
36765
|
include Aws::Structure
|
36747
36766
|
end
|
36748
36767
|
|
36749
|
-
# Describes the IPv6
|
36768
|
+
# Describes the IPv6 prefix.
|
36750
36769
|
#
|
36751
36770
|
# @!attribute [rw] ipv_6_prefix
|
36752
|
-
# The IPv6
|
36771
|
+
# The IPv6 prefix.
|
36753
36772
|
# @return [String]
|
36754
36773
|
#
|
36755
36774
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6PrefixSpecification AWS API Documentation
|
@@ -36760,7 +36779,7 @@ module Aws::EC2
|
|
36760
36779
|
include Aws::Structure
|
36761
36780
|
end
|
36762
36781
|
|
36763
|
-
# Describes the IPv4
|
36782
|
+
# Describes the IPv4 prefix option for a network interface.
|
36764
36783
|
#
|
36765
36784
|
# @note When making an API call, you may pass Ipv6PrefixSpecificationRequest
|
36766
36785
|
# data as a hash:
|
@@ -36770,7 +36789,7 @@ module Aws::EC2
|
|
36770
36789
|
# }
|
36771
36790
|
#
|
36772
36791
|
# @!attribute [rw] ipv_6_prefix
|
36773
|
-
# The IPv6
|
36792
|
+
# The IPv6 prefix.
|
36774
36793
|
# @return [String]
|
36775
36794
|
#
|
36776
36795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6PrefixSpecificationRequest AWS API Documentation
|
@@ -40672,6 +40691,7 @@ module Aws::EC2
|
|
40672
40691
|
# http_put_response_hop_limit: 1,
|
40673
40692
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
40674
40693
|
# dry_run: false,
|
40694
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
40675
40695
|
# }
|
40676
40696
|
#
|
40677
40697
|
# @!attribute [rw] instance_id
|
@@ -40723,6 +40743,11 @@ module Aws::EC2
|
|
40723
40743
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
40724
40744
|
# @return [Boolean]
|
40725
40745
|
#
|
40746
|
+
# @!attribute [rw] http_protocol_ipv_6
|
40747
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
40748
|
+
# service.
|
40749
|
+
# @return [String]
|
40750
|
+
#
|
40726
40751
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataOptionsRequest AWS API Documentation
|
40727
40752
|
#
|
40728
40753
|
class ModifyInstanceMetadataOptionsRequest < Struct.new(
|
@@ -40730,7 +40755,8 @@ module Aws::EC2
|
|
40730
40755
|
:http_tokens,
|
40731
40756
|
:http_put_response_hop_limit,
|
40732
40757
|
:http_endpoint,
|
40733
|
-
:dry_run
|
40758
|
+
:dry_run,
|
40759
|
+
:http_protocol_ipv_6)
|
40734
40760
|
SENSITIVE = []
|
40735
40761
|
include Aws::Structure
|
40736
40762
|
end
|
@@ -43782,13 +43808,11 @@ module Aws::EC2
|
|
43782
43808
|
# @return [Array<Types::NetworkInterfacePrivateIpAddress>]
|
43783
43809
|
#
|
43784
43810
|
# @!attribute [rw] ipv_4_prefixes
|
43785
|
-
# The IPv4
|
43786
|
-
# interface.
|
43811
|
+
# The IPv4 prefixes that are assigned to the network interface.
|
43787
43812
|
# @return [Array<Types::Ipv4PrefixSpecification>]
|
43788
43813
|
#
|
43789
43814
|
# @!attribute [rw] ipv_6_prefixes
|
43790
|
-
# The IPv6
|
43791
|
-
# interface.
|
43815
|
+
# The IPv6 prefixes that are assigned to the network interface.
|
43792
43816
|
# @return [Array<Types::Ipv6PrefixSpecification>]
|
43793
43817
|
#
|
43794
43818
|
# @!attribute [rw] requester_id
|
@@ -50084,6 +50108,7 @@ module Aws::EC2
|
|
50084
50108
|
# http_tokens: "optional", # accepts optional, required
|
50085
50109
|
# http_put_response_hop_limit: 1,
|
50086
50110
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
50111
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
50087
50112
|
# },
|
50088
50113
|
# enclave_options: {
|
50089
50114
|
# enabled: false,
|
@@ -56878,6 +56903,11 @@ module Aws::EC2
|
|
56878
56903
|
include Aws::Structure
|
56879
56904
|
end
|
56880
56905
|
|
56906
|
+
# <note markdown="1"> Currently available in **limited preview only**. If you are interested
|
56907
|
+
# in using this feature, contact your account manager.
|
56908
|
+
#
|
56909
|
+
# </note>
|
56910
|
+
#
|
56881
56911
|
# Information about an association between a branch network interface
|
56882
56912
|
# with a trunk network interface.
|
56883
56913
|
#
|
@@ -56906,7 +56936,7 @@ module Aws::EC2
|
|
56906
56936
|
# @return [Integer]
|
56907
56937
|
#
|
56908
56938
|
# @!attribute [rw] tags
|
56909
|
-
# The tags.
|
56939
|
+
# The tags for the trunk interface associaton.
|
56910
56940
|
# @return [Array<Types::Tag>]
|
56911
56941
|
#
|
56912
56942
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrunkInterfaceAssociation AWS API Documentation
|
@@ -57053,8 +57083,7 @@ module Aws::EC2
|
|
57053
57083
|
# @return [Array<String>]
|
57054
57084
|
#
|
57055
57085
|
# @!attribute [rw] ipv_6_prefixes
|
57056
|
-
# One or
|
57057
|
-
# network interface.
|
57086
|
+
# One or more IPv6 prefixes to unassign from the network interface.
|
57058
57087
|
# @return [Array<String>]
|
57059
57088
|
#
|
57060
57089
|
# @!attribute [rw] network_interface_id
|
@@ -57081,8 +57110,8 @@ module Aws::EC2
|
|
57081
57110
|
# @return [Array<String>]
|
57082
57111
|
#
|
57083
57112
|
# @!attribute [rw] unassigned_ipv_6_prefixes
|
57084
|
-
# The IPv4
|
57085
|
-
#
|
57113
|
+
# The IPv4 prefixes that have been unassigned from the network
|
57114
|
+
# interface.
|
57086
57115
|
# @return [Array<String>]
|
57087
57116
|
#
|
57088
57117
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesResult AWS API Documentation
|
@@ -57117,8 +57146,7 @@ module Aws::EC2
|
|
57117
57146
|
# @return [Array<String>]
|
57118
57147
|
#
|
57119
57148
|
# @!attribute [rw] ipv_4_prefixes
|
57120
|
-
# The IPv4
|
57121
|
-
# interface.
|
57149
|
+
# The IPv4 prefixes to unassign from the network interface.
|
57122
57150
|
# @return [Array<String>]
|
57123
57151
|
#
|
57124
57152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesRequest AWS API Documentation
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.258.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|