aws-sdk-ec2 1.257.0 → 1.261.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +87 -60
- data/lib/aws-sdk-ec2/client_api.rb +11 -1
- data/lib/aws-sdk-ec2/network_interface.rb +6 -10
- data/lib/aws-sdk-ec2/resource.rb +13 -14
- data/lib/aws-sdk-ec2/subnet.rb +7 -8
- data/lib/aws-sdk-ec2/types.rb +179 -112
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +5 -5
@@ -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')
|
@@ -1424,6 +1425,7 @@ module Aws::EC2
|
|
1424
1425
|
LaunchTemplateInstanceMetadataOptions = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMetadataOptions')
|
1425
1426
|
LaunchTemplateInstanceMetadataOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMetadataOptionsRequest')
|
1426
1427
|
LaunchTemplateInstanceMetadataOptionsState = Shapes::StringShape.new(name: 'LaunchTemplateInstanceMetadataOptionsState')
|
1428
|
+
LaunchTemplateInstanceMetadataProtocolIpv6 = Shapes::StringShape.new(name: 'LaunchTemplateInstanceMetadataProtocolIpv6')
|
1427
1429
|
LaunchTemplateInstanceNetworkInterfaceSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecification')
|
1428
1430
|
LaunchTemplateInstanceNetworkInterfaceSpecificationList = Shapes::ListShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationList')
|
1429
1431
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationRequest')
|
@@ -4062,7 +4064,6 @@ module Aws::EC2
|
|
4062
4064
|
CreateVpcPeeringConnectionResult.add_member(:vpc_peering_connection, Shapes::ShapeRef.new(shape: VpcPeeringConnection, location_name: "vpcPeeringConnection"))
|
4063
4065
|
CreateVpcPeeringConnectionResult.struct_class = Types::CreateVpcPeeringConnectionResult
|
4064
4066
|
|
4065
|
-
CreateVpcRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
4066
4067
|
CreateVpcRequest.add_member(:amazon_provided_ipv_6_cidr_block, Shapes::ShapeRef.new(shape: Boolean, location_name: "amazonProvidedIpv6CidrBlock"))
|
4067
4068
|
CreateVpcRequest.add_member(:ipv_6_pool, Shapes::ShapeRef.new(shape: Ipv6PoolEc2Id, location_name: "Ipv6Pool"))
|
4068
4069
|
CreateVpcRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
@@ -4070,6 +4071,7 @@ module Aws::EC2
|
|
4070
4071
|
CreateVpcRequest.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "instanceTenancy"))
|
4071
4072
|
CreateVpcRequest.add_member(:ipv_6_cidr_block_network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlockNetworkBorderGroup"))
|
4072
4073
|
CreateVpcRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4074
|
+
CreateVpcRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
4073
4075
|
CreateVpcRequest.struct_class = Types::CreateVpcRequest
|
4074
4076
|
|
4075
4077
|
CreateVpcResult.add_member(:vpc, Shapes::ShapeRef.new(shape: Vpc, location_name: "vpc"))
|
@@ -7163,6 +7165,7 @@ module Aws::EC2
|
|
7163
7165
|
ImportImageRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListRequest, location_name: "LicenseSpecifications"))
|
7164
7166
|
ImportImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
7165
7167
|
ImportImageRequest.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "UsageOperation"))
|
7168
|
+
ImportImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
|
7166
7169
|
ImportImageRequest.struct_class = Types::ImportImageRequest
|
7167
7170
|
|
7168
7171
|
ImportImageResult.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "architecture"))
|
@@ -7199,6 +7202,7 @@ module Aws::EC2
|
|
7199
7202
|
ImportImageTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
7200
7203
|
ImportImageTask.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListResponse, location_name: "licenseSpecifications"))
|
7201
7204
|
ImportImageTask.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
|
7205
|
+
ImportImageTask.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
7202
7206
|
ImportImageTask.struct_class = Types::ImportImageTask
|
7203
7207
|
|
7204
7208
|
ImportImageTaskList.member = Shapes::ShapeRef.new(shape: ImportImageTask, location_name: "item")
|
@@ -7512,12 +7516,14 @@ module Aws::EC2
|
|
7512
7516
|
InstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokensState, location_name: "HttpTokens"))
|
7513
7517
|
InstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "HttpPutResponseHopLimit"))
|
7514
7518
|
InstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: InstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
7519
|
+
InstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: InstanceMetadataProtocolState, location_name: "HttpProtocolIpv6"))
|
7515
7520
|
InstanceMetadataOptionsRequest.struct_class = Types::InstanceMetadataOptionsRequest
|
7516
7521
|
|
7517
7522
|
InstanceMetadataOptionsResponse.add_member(:state, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsState, location_name: "state"))
|
7518
7523
|
InstanceMetadataOptionsResponse.add_member(:http_tokens, Shapes::ShapeRef.new(shape: HttpTokensState, location_name: "httpTokens"))
|
7519
7524
|
InstanceMetadataOptionsResponse.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "httpPutResponseHopLimit"))
|
7520
7525
|
InstanceMetadataOptionsResponse.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: InstanceMetadataEndpointState, location_name: "httpEndpoint"))
|
7526
|
+
InstanceMetadataOptionsResponse.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: InstanceMetadataProtocolState, location_name: "httpProtocolIpv6"))
|
7521
7527
|
InstanceMetadataOptionsResponse.struct_class = Types::InstanceMetadataOptionsResponse
|
7522
7528
|
|
7523
7529
|
InstanceMonitoring.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
@@ -7965,11 +7971,13 @@ module Aws::EC2
|
|
7965
7971
|
LaunchTemplateInstanceMetadataOptions.add_member(:http_tokens, Shapes::ShapeRef.new(shape: LaunchTemplateHttpTokensState, location_name: "httpTokens"))
|
7966
7972
|
LaunchTemplateInstanceMetadataOptions.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "httpPutResponseHopLimit"))
|
7967
7973
|
LaunchTemplateInstanceMetadataOptions.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataEndpointState, location_name: "httpEndpoint"))
|
7974
|
+
LaunchTemplateInstanceMetadataOptions.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataProtocolIpv6, location_name: "httpProtocolIpv6"))
|
7968
7975
|
LaunchTemplateInstanceMetadataOptions.struct_class = Types::LaunchTemplateInstanceMetadataOptions
|
7969
7976
|
|
7970
7977
|
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: LaunchTemplateHttpTokensState, location_name: "HttpTokens"))
|
7971
7978
|
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "HttpPutResponseHopLimit"))
|
7972
7979
|
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
7980
|
+
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataProtocolIpv6, location_name: "HttpProtocolIpv6"))
|
7973
7981
|
LaunchTemplateInstanceMetadataOptionsRequest.struct_class = Types::LaunchTemplateInstanceMetadataOptionsRequest
|
7974
7982
|
|
7975
7983
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:associate_carrier_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateCarrierIpAddress"))
|
@@ -8423,6 +8431,7 @@ module Aws::EC2
|
|
8423
8431
|
ModifyInstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "HttpPutResponseHopLimit"))
|
8424
8432
|
ModifyInstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: InstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
8425
8433
|
ModifyInstanceMetadataOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8434
|
+
ModifyInstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: InstanceMetadataProtocolState, location_name: "HttpProtocolIpv6"))
|
8426
8435
|
ModifyInstanceMetadataOptionsRequest.struct_class = Types::ModifyInstanceMetadataOptionsRequest
|
8427
8436
|
|
8428
8437
|
ModifyInstanceMetadataOptionsResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
@@ -8457,6 +8466,7 @@ module Aws::EC2
|
|
8457
8466
|
ModifyManagedPrefixListRequest.add_member(:prefix_list_name, Shapes::ShapeRef.new(shape: String, location_name: "PrefixListName"))
|
8458
8467
|
ModifyManagedPrefixListRequest.add_member(:add_entries, Shapes::ShapeRef.new(shape: AddPrefixListEntries, location_name: "AddEntry"))
|
8459
8468
|
ModifyManagedPrefixListRequest.add_member(:remove_entries, Shapes::ShapeRef.new(shape: RemovePrefixListEntries, location_name: "RemoveEntry"))
|
8469
|
+
ModifyManagedPrefixListRequest.add_member(:max_entries, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxEntries"))
|
8460
8470
|
ModifyManagedPrefixListRequest.struct_class = Types::ModifyManagedPrefixListRequest
|
8461
8471
|
|
8462
8472
|
ModifyManagedPrefixListResult.add_member(:prefix_list, Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "prefixList"))
|
@@ -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
|
@@ -1406,7 +1405,6 @@ module Aws::EC2
|
|
1406
1405
|
# @example Request syntax with placeholder values
|
1407
1406
|
#
|
1408
1407
|
# vpc = ec2.create_vpc({
|
1409
|
-
# cidr_block: "String", # required
|
1410
1408
|
# amazon_provided_ipv_6_cidr_block: false,
|
1411
1409
|
# ipv_6_pool: "Ipv6PoolEc2Id",
|
1412
1410
|
# ipv_6_cidr_block: "String",
|
@@ -1424,13 +1422,9 @@ module Aws::EC2
|
|
1424
1422
|
# ],
|
1425
1423
|
# },
|
1426
1424
|
# ],
|
1425
|
+
# cidr_block: "String", # required
|
1427
1426
|
# })
|
1428
1427
|
# @param [Hash] options ({})
|
1429
|
-
# @option options [required, String] :cidr_block
|
1430
|
-
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
1431
|
-
# `10.0.0.0/16`. We modify the specified CIDR block to its canonical
|
1432
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1433
|
-
# `100.68.0.0/18`.
|
1434
1428
|
# @option options [Boolean] :amazon_provided_ipv_6_cidr_block
|
1435
1429
|
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
1436
1430
|
# for the VPC. You cannot specify the range of IP addresses, or the size
|
@@ -1468,6 +1462,11 @@ module Aws::EC2
|
|
1468
1462
|
# parameter.
|
1469
1463
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1470
1464
|
# The tags to assign to the VPC.
|
1465
|
+
# @option options [required, String] :cidr_block
|
1466
|
+
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
1467
|
+
# `10.0.0.0/16`. We modify the specified CIDR block to its canonical
|
1468
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1469
|
+
# `100.68.0.0/18`.
|
1471
1470
|
# @return [Vpc]
|
1472
1471
|
def create_vpc(options = {})
|
1473
1472
|
resp = @client.create_vpc(options)
|
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
|
@@ -7676,6 +7672,7 @@ module Aws::EC2
|
|
7676
7672
|
# http_tokens: "optional", # accepts optional, required
|
7677
7673
|
# http_put_response_hop_limit: 1,
|
7678
7674
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
7675
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
7679
7676
|
# },
|
7680
7677
|
# enclave_options: {
|
7681
7678
|
# enabled: false,
|
@@ -7915,6 +7912,7 @@ module Aws::EC2
|
|
7915
7912
|
# http_tokens: "optional", # accepts optional, required
|
7916
7913
|
# http_put_response_hop_limit: 1,
|
7917
7914
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
7915
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
7918
7916
|
# },
|
7919
7917
|
# enclave_options: {
|
7920
7918
|
# enabled: false,
|
@@ -8749,25 +8747,23 @@ module Aws::EC2
|
|
8749
8747
|
# @return [Integer]
|
8750
8748
|
#
|
8751
8749
|
# @!attribute [rw] ipv_4_prefixes
|
8752
|
-
# One or
|
8753
|
-
#
|
8754
|
-
# `Ipv4PrefixCount` option.
|
8750
|
+
# One or more IPv4 prefixes assigned to the network interface. You
|
8751
|
+
# cannot use this option if you use the `Ipv4PrefixCount` option.
|
8755
8752
|
# @return [Array<Types::Ipv4PrefixSpecificationRequest>]
|
8756
8753
|
#
|
8757
8754
|
# @!attribute [rw] ipv_4_prefix_count
|
8758
|
-
# The number of IPv4
|
8755
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
8759
8756
|
# assigns to the network interface. You cannot use this option if you
|
8760
8757
|
# use the `Ipv4 Prefixes` option.
|
8761
8758
|
# @return [Integer]
|
8762
8759
|
#
|
8763
8760
|
# @!attribute [rw] ipv_6_prefixes
|
8764
|
-
# One or
|
8765
|
-
#
|
8766
|
-
# `Ipv6PrefixCount` option.
|
8761
|
+
# One or more IPv6 prefixes assigned to the network interface. You
|
8762
|
+
# cannot use this option if you use the `Ipv6PrefixCount` option.
|
8767
8763
|
# @return [Array<Types::Ipv6PrefixSpecificationRequest>]
|
8768
8764
|
#
|
8769
8765
|
# @!attribute [rw] ipv_6_prefix_count
|
8770
|
-
# The number of IPv6
|
8766
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
8771
8767
|
# assigns to the network interface. You cannot use this option if you
|
8772
8768
|
# use the `Ipv6Prefixes` option.
|
8773
8769
|
# @return [Integer]
|
@@ -10520,7 +10516,7 @@ module Aws::EC2
|
|
10520
10516
|
#
|
10521
10517
|
# @!attribute [rw] transport_transit_gateway_attachment_id
|
10522
10518
|
# The ID of the transit gateway attachment. You can specify a VPC
|
10523
|
-
# attachment or
|
10519
|
+
# attachment or Amazon Web Services Direct Connect attachment.
|
10524
10520
|
# @return [String]
|
10525
10521
|
#
|
10526
10522
|
# @!attribute [rw] options
|
@@ -10717,7 +10713,8 @@ module Aws::EC2
|
|
10717
10713
|
# @return [String]
|
10718
10714
|
#
|
10719
10715
|
# @!attribute [rw] peer_account_id
|
10720
|
-
# The
|
10716
|
+
# The ID of the Amazon Web Services account that owns the peer transit
|
10717
|
+
# gateway.
|
10721
10718
|
# @return [String]
|
10722
10719
|
#
|
10723
10720
|
# @!attribute [rw] peer_region
|
@@ -11809,7 +11806,6 @@ module Aws::EC2
|
|
11809
11806
|
# data as a hash:
|
11810
11807
|
#
|
11811
11808
|
# {
|
11812
|
-
# cidr_block: "String", # required
|
11813
11809
|
# amazon_provided_ipv_6_cidr_block: false,
|
11814
11810
|
# ipv_6_pool: "Ipv6PoolEc2Id",
|
11815
11811
|
# ipv_6_cidr_block: "String",
|
@@ -11827,15 +11823,9 @@ module Aws::EC2
|
|
11827
11823
|
# ],
|
11828
11824
|
# },
|
11829
11825
|
# ],
|
11826
|
+
# cidr_block: "String", # required
|
11830
11827
|
# }
|
11831
11828
|
#
|
11832
|
-
# @!attribute [rw] cidr_block
|
11833
|
-
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
11834
|
-
# `10.0.0.0/16`. We modify the specified CIDR block to its canonical
|
11835
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
11836
|
-
# `100.68.0.0/18`.
|
11837
|
-
# @return [String]
|
11838
|
-
#
|
11839
11829
|
# @!attribute [rw] amazon_provided_ipv_6_cidr_block
|
11840
11830
|
# Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
|
11841
11831
|
# for the VPC. You cannot specify the range of IP addresses, or the
|
@@ -11888,17 +11878,24 @@ module Aws::EC2
|
|
11888
11878
|
# The tags to assign to the VPC.
|
11889
11879
|
# @return [Array<Types::TagSpecification>]
|
11890
11880
|
#
|
11881
|
+
# @!attribute [rw] cidr_block
|
11882
|
+
# The IPv4 network range for the VPC, in CIDR notation. For example,
|
11883
|
+
# `10.0.0.0/16`. We modify the specified CIDR block to its canonical
|
11884
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
11885
|
+
# `100.68.0.0/18`.
|
11886
|
+
# @return [String]
|
11887
|
+
#
|
11891
11888
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcRequest AWS API Documentation
|
11892
11889
|
#
|
11893
11890
|
class CreateVpcRequest < Struct.new(
|
11894
|
-
:cidr_block,
|
11895
11891
|
:amazon_provided_ipv_6_cidr_block,
|
11896
11892
|
:ipv_6_pool,
|
11897
11893
|
:ipv_6_cidr_block,
|
11898
11894
|
:dry_run,
|
11899
11895
|
:instance_tenancy,
|
11900
11896
|
:ipv_6_cidr_block_network_border_group,
|
11901
|
-
:tag_specifications
|
11897
|
+
:tag_specifications,
|
11898
|
+
:cidr_block)
|
11902
11899
|
SENSITIVE = []
|
11903
11900
|
include Aws::Structure
|
11904
11901
|
end
|
@@ -24050,8 +24047,8 @@ module Aws::EC2
|
|
24050
24047
|
#
|
24051
24048
|
# * `resource-id` - The ID of the resource.
|
24052
24049
|
#
|
24053
|
-
# * `resource-owner-id` - The ID of the
|
24054
|
-
# resource.
|
24050
|
+
# * `resource-owner-id` - The ID of the Amazon Web Services account
|
24051
|
+
# that owns the resource.
|
24055
24052
|
#
|
24056
24053
|
# * `resource-type` - The resource type. Valid values are `vpc` \|
|
24057
24054
|
# `vpn` \| `direct-connect-gateway` \| `peering` \| `connect`.
|
@@ -24065,8 +24062,8 @@ module Aws::EC2
|
|
24065
24062
|
#
|
24066
24063
|
# * `transit-gateway-id` - The ID of the transit gateway.
|
24067
24064
|
#
|
24068
|
-
# * `transit-gateway-owner-id` - The ID of the
|
24069
|
-
# the transit gateway.
|
24065
|
+
# * `transit-gateway-owner-id` - The ID of the Amazon Web Services
|
24066
|
+
# account that owns the transit gateway.
|
24070
24067
|
# @return [Array<Types::Filter>]
|
24071
24068
|
#
|
24072
24069
|
# @!attribute [rw] max_results
|
@@ -24385,10 +24382,10 @@ module Aws::EC2
|
|
24385
24382
|
# * `transit-gateway-attachment-id` - The ID of the transit gateway
|
24386
24383
|
# attachment.
|
24387
24384
|
#
|
24388
|
-
# * `local-owner-id` - The ID of your
|
24385
|
+
# * `local-owner-id` - The ID of your Amazon Web Services account.
|
24389
24386
|
#
|
24390
|
-
# * `remote-owner-id` - The ID of the
|
24391
|
-
# that owns the transit gateway.
|
24387
|
+
# * `remote-owner-id` - The ID of the Amazon Web Services account in
|
24388
|
+
# the remote Region that owns the transit gateway.
|
24392
24389
|
#
|
24393
24390
|
# * `state` - The state of the peering attachment. Valid values are
|
24394
24391
|
# `available` \| `deleted` \| `deleting` \| `failed` \| `failing` \|
|
@@ -24674,8 +24671,8 @@ module Aws::EC2
|
|
24674
24671
|
# * `options.vpn-ecmp-support` - Indicates whether Equal Cost
|
24675
24672
|
# Multipath Protocol support is enabled (`enable` \| `disable`).
|
24676
24673
|
#
|
24677
|
-
# * `owner-id` - The ID of the
|
24678
|
-
# gateway.
|
24674
|
+
# * `owner-id` - The ID of the Amazon Web Services account that owns
|
24675
|
+
# the transit gateway.
|
24679
24676
|
#
|
24680
24677
|
# * `state` - The state of the transit gateway (`available` \|
|
24681
24678
|
# `deleted` \| `deleting` \| `modifying` \| `pending`).
|
@@ -27499,7 +27496,7 @@ module Aws::EC2
|
|
27499
27496
|
# }
|
27500
27497
|
#
|
27501
27498
|
# @!attribute [rw] association_id
|
27502
|
-
# The ID
|
27499
|
+
# The ID of the association
|
27503
27500
|
# @return [String]
|
27504
27501
|
#
|
27505
27502
|
# @!attribute [rw] client_token
|
@@ -33418,6 +33415,7 @@ module Aws::EC2
|
|
33418
33415
|
# },
|
33419
33416
|
# ],
|
33420
33417
|
# usage_operation: "String",
|
33418
|
+
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi
|
33421
33419
|
# }
|
33422
33420
|
#
|
33423
33421
|
# @!attribute [rw] architecture
|
@@ -33556,6 +33554,10 @@ module Aws::EC2
|
|
33556
33554
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html
|
33557
33555
|
# @return [String]
|
33558
33556
|
#
|
33557
|
+
# @!attribute [rw] boot_mode
|
33558
|
+
# The boot mode of the virtual machine.
|
33559
|
+
# @return [String]
|
33560
|
+
#
|
33559
33561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageRequest AWS API Documentation
|
33560
33562
|
#
|
33561
33563
|
class ImportImageRequest < Struct.new(
|
@@ -33573,7 +33575,8 @@ module Aws::EC2
|
|
33573
33575
|
:role_name,
|
33574
33576
|
:license_specifications,
|
33575
33577
|
:tag_specifications,
|
33576
|
-
:usage_operation
|
33578
|
+
:usage_operation,
|
33579
|
+
:boot_mode)
|
33577
33580
|
SENSITIVE = []
|
33578
33581
|
include Aws::Structure
|
33579
33582
|
end
|
@@ -33739,6 +33742,10 @@ module Aws::EC2
|
|
33739
33742
|
# The usage operation value.
|
33740
33743
|
# @return [String]
|
33741
33744
|
#
|
33745
|
+
# @!attribute [rw] boot_mode
|
33746
|
+
# The boot mode of the virtual machine.
|
33747
|
+
# @return [String]
|
33748
|
+
#
|
33742
33749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageTask AWS API Documentation
|
33743
33750
|
#
|
33744
33751
|
class ImportImageTask < Struct.new(
|
@@ -33757,7 +33764,8 @@ module Aws::EC2
|
|
33757
33764
|
:status_message,
|
33758
33765
|
:tags,
|
33759
33766
|
:license_specifications,
|
33760
|
-
:usage_operation
|
33767
|
+
:usage_operation,
|
33768
|
+
:boot_mode)
|
33761
33769
|
SENSITIVE = []
|
33762
33770
|
include Aws::Structure
|
33763
33771
|
end
|
@@ -35381,6 +35389,7 @@ module Aws::EC2
|
|
35381
35389
|
# http_tokens: "optional", # accepts optional, required
|
35382
35390
|
# http_put_response_hop_limit: 1,
|
35383
35391
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
35392
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
35384
35393
|
# }
|
35385
35394
|
#
|
35386
35395
|
# @!attribute [rw] http_tokens
|
@@ -35422,12 +35431,18 @@ module Aws::EC2
|
|
35422
35431
|
# </note>
|
35423
35432
|
# @return [String]
|
35424
35433
|
#
|
35434
|
+
# @!attribute [rw] http_protocol_ipv_6
|
35435
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
35436
|
+
# service.
|
35437
|
+
# @return [String]
|
35438
|
+
#
|
35425
35439
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMetadataOptionsRequest AWS API Documentation
|
35426
35440
|
#
|
35427
35441
|
class InstanceMetadataOptionsRequest < Struct.new(
|
35428
35442
|
:http_tokens,
|
35429
35443
|
:http_put_response_hop_limit,
|
35430
|
-
:http_endpoint
|
35444
|
+
:http_endpoint,
|
35445
|
+
:http_protocol_ipv_6)
|
35431
35446
|
SENSITIVE = []
|
35432
35447
|
include Aws::Structure
|
35433
35448
|
end
|
@@ -35483,13 +35498,19 @@ module Aws::EC2
|
|
35483
35498
|
# </note>
|
35484
35499
|
# @return [String]
|
35485
35500
|
#
|
35501
|
+
# @!attribute [rw] http_protocol_ipv_6
|
35502
|
+
# Whether or not the IPv6 endpoint for the instance metadata service
|
35503
|
+
# is enabled or disabled.
|
35504
|
+
# @return [String]
|
35505
|
+
#
|
35486
35506
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMetadataOptionsResponse AWS API Documentation
|
35487
35507
|
#
|
35488
35508
|
class InstanceMetadataOptionsResponse < Struct.new(
|
35489
35509
|
:state,
|
35490
35510
|
:http_tokens,
|
35491
35511
|
:http_put_response_hop_limit,
|
35492
|
-
:http_endpoint
|
35512
|
+
:http_endpoint,
|
35513
|
+
:http_protocol_ipv_6)
|
35493
35514
|
SENSITIVE = []
|
35494
35515
|
include Aws::Structure
|
35495
35516
|
end
|
@@ -35856,6 +35877,16 @@ module Aws::EC2
|
|
35856
35877
|
# The index of the network card. Some instance types support multiple
|
35857
35878
|
# network cards. The primary network interface must be assigned to
|
35858
35879
|
# network card index 0. The default is network card index 0.
|
35880
|
+
#
|
35881
|
+
# If you are using [RequestSpotInstances][1] to create Spot Instances,
|
35882
|
+
# omit this parameter because you can’t specify the network card index
|
35883
|
+
# when using this API. To specify the network card index, use
|
35884
|
+
# [RunInstances][2].
|
35885
|
+
#
|
35886
|
+
#
|
35887
|
+
#
|
35888
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
35889
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
35859
35890
|
# @return [Integer]
|
35860
35891
|
#
|
35861
35892
|
# @!attribute [rw] ipv_4_prefixes
|
@@ -36623,15 +36654,16 @@ module Aws::EC2
|
|
36623
36654
|
include Aws::Structure
|
36624
36655
|
end
|
36625
36656
|
|
36626
|
-
# Describes an IPv4
|
36657
|
+
# Describes an IPv4 prefix.
|
36627
36658
|
#
|
36628
36659
|
# @!attribute [rw] ipv_4_prefix
|
36629
|
-
# The IPv4
|
36630
|
-
#
|
36660
|
+
# The IPv4 prefix. For information, see [ Assigning prefixes to Amazon
|
36661
|
+
# EC2 network interfaces][1] in the *Amazon Elastic Compute Cloud User
|
36662
|
+
# Guide*.
|
36631
36663
|
#
|
36632
36664
|
#
|
36633
36665
|
#
|
36634
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-
|
36666
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html
|
36635
36667
|
# @return [String]
|
36636
36668
|
#
|
36637
36669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv4PrefixSpecification AWS API Documentation
|
@@ -36642,7 +36674,7 @@ module Aws::EC2
|
|
36642
36674
|
include Aws::Structure
|
36643
36675
|
end
|
36644
36676
|
|
36645
|
-
# Describes the IPv4
|
36677
|
+
# Describes the IPv4 prefix option for a network interface.
|
36646
36678
|
#
|
36647
36679
|
# @note When making an API call, you may pass Ipv4PrefixSpecificationRequest
|
36648
36680
|
# data as a hash:
|
@@ -36652,12 +36684,13 @@ module Aws::EC2
|
|
36652
36684
|
# }
|
36653
36685
|
#
|
36654
36686
|
# @!attribute [rw] ipv_4_prefix
|
36655
|
-
# The IPv4
|
36656
|
-
#
|
36687
|
+
# The IPv4 prefix. For information, see [ Assigning prefixes to Amazon
|
36688
|
+
# EC2 network interfaces][1] in the *Amazon Elastic Compute Cloud User
|
36689
|
+
# Guide*.
|
36657
36690
|
#
|
36658
36691
|
#
|
36659
36692
|
#
|
36660
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-
|
36693
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-eni.html
|
36661
36694
|
# @return [String]
|
36662
36695
|
#
|
36663
36696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv4PrefixSpecificationRequest AWS API Documentation
|
@@ -36746,10 +36779,10 @@ module Aws::EC2
|
|
36746
36779
|
include Aws::Structure
|
36747
36780
|
end
|
36748
36781
|
|
36749
|
-
# Describes the IPv6
|
36782
|
+
# Describes the IPv6 prefix.
|
36750
36783
|
#
|
36751
36784
|
# @!attribute [rw] ipv_6_prefix
|
36752
|
-
# The IPv6
|
36785
|
+
# The IPv6 prefix.
|
36753
36786
|
# @return [String]
|
36754
36787
|
#
|
36755
36788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6PrefixSpecification AWS API Documentation
|
@@ -36760,7 +36793,7 @@ module Aws::EC2
|
|
36760
36793
|
include Aws::Structure
|
36761
36794
|
end
|
36762
36795
|
|
36763
|
-
# Describes the IPv4
|
36796
|
+
# Describes the IPv4 prefix option for a network interface.
|
36764
36797
|
#
|
36765
36798
|
# @note When making an API call, you may pass Ipv6PrefixSpecificationRequest
|
36766
36799
|
# data as a hash:
|
@@ -36770,7 +36803,7 @@ module Aws::EC2
|
|
36770
36803
|
# }
|
36771
36804
|
#
|
36772
36805
|
# @!attribute [rw] ipv_6_prefix
|
36773
|
-
# The IPv6
|
36806
|
+
# The IPv6 prefix.
|
36774
36807
|
# @return [String]
|
36775
36808
|
#
|
36776
36809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6PrefixSpecificationRequest AWS API Documentation
|
@@ -37875,13 +37908,21 @@ module Aws::EC2
|
|
37875
37908
|
# </note>
|
37876
37909
|
# @return [String]
|
37877
37910
|
#
|
37911
|
+
# @!attribute [rw] http_protocol_ipv_6
|
37912
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
37913
|
+
# service.
|
37914
|
+
#
|
37915
|
+
# Default: `disabled`
|
37916
|
+
# @return [String]
|
37917
|
+
#
|
37878
37918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptions AWS API Documentation
|
37879
37919
|
#
|
37880
37920
|
class LaunchTemplateInstanceMetadataOptions < Struct.new(
|
37881
37921
|
:state,
|
37882
37922
|
:http_tokens,
|
37883
37923
|
:http_put_response_hop_limit,
|
37884
|
-
:http_endpoint
|
37924
|
+
:http_endpoint,
|
37925
|
+
:http_protocol_ipv_6)
|
37885
37926
|
SENSITIVE = []
|
37886
37927
|
include Aws::Structure
|
37887
37928
|
end
|
@@ -37901,6 +37942,7 @@ module Aws::EC2
|
|
37901
37942
|
# http_tokens: "optional", # accepts optional, required
|
37902
37943
|
# http_put_response_hop_limit: 1,
|
37903
37944
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
37945
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
37904
37946
|
# }
|
37905
37947
|
#
|
37906
37948
|
# @!attribute [rw] http_tokens
|
@@ -37942,12 +37984,20 @@ module Aws::EC2
|
|
37942
37984
|
# </note>
|
37943
37985
|
# @return [String]
|
37944
37986
|
#
|
37987
|
+
# @!attribute [rw] http_protocol_ipv_6
|
37988
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
37989
|
+
# service.
|
37990
|
+
#
|
37991
|
+
# Default: `disabled`
|
37992
|
+
# @return [String]
|
37993
|
+
#
|
37945
37994
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptionsRequest AWS API Documentation
|
37946
37995
|
#
|
37947
37996
|
class LaunchTemplateInstanceMetadataOptionsRequest < Struct.new(
|
37948
37997
|
:http_tokens,
|
37949
37998
|
:http_put_response_hop_limit,
|
37950
|
-
:http_endpoint
|
37999
|
+
:http_endpoint,
|
38000
|
+
:http_protocol_ipv_6)
|
37951
38001
|
SENSITIVE = []
|
37952
38002
|
include Aws::Structure
|
37953
38003
|
end
|
@@ -38028,22 +38078,20 @@ module Aws::EC2
|
|
38028
38078
|
# @return [Integer]
|
38029
38079
|
#
|
38030
38080
|
# @!attribute [rw] ipv_4_prefixes
|
38031
|
-
# One or more IPv4
|
38032
|
-
# interface.
|
38081
|
+
# One or more IPv4 prefixes assigned to the network interface.
|
38033
38082
|
# @return [Array<Types::Ipv4PrefixSpecificationResponse>]
|
38034
38083
|
#
|
38035
38084
|
# @!attribute [rw] ipv_4_prefix_count
|
38036
|
-
# The number of IPv4
|
38085
|
+
# The number of IPv4 prefixes that Amazon Web Services automatically
|
38037
38086
|
# assigned to the network interface.
|
38038
38087
|
# @return [Integer]
|
38039
38088
|
#
|
38040
38089
|
# @!attribute [rw] ipv_6_prefixes
|
38041
|
-
# One or more IPv6
|
38042
|
-
# interface.
|
38090
|
+
# One or more IPv6 prefixes assigned to the network interface.
|
38043
38091
|
# @return [Array<Types::Ipv6PrefixSpecificationResponse>]
|
38044
38092
|
#
|
38045
38093
|
# @!attribute [rw] ipv_6_prefix_count
|
38046
|
-
# The number of IPv6
|
38094
|
+
# The number of IPv6 prefixes that Amazon Web Services automatically
|
38047
38095
|
# assigned to the network interface.
|
38048
38096
|
# @return [Integer]
|
38049
38097
|
#
|
@@ -38209,26 +38257,24 @@ module Aws::EC2
|
|
38209
38257
|
# @return [Integer]
|
38210
38258
|
#
|
38211
38259
|
# @!attribute [rw] ipv_4_prefixes
|
38212
|
-
# One or more IPv4
|
38213
|
-
#
|
38214
|
-
# `Ipv4PrefixCount` option.
|
38260
|
+
# One or more IPv4 prefixes to be assigned to the network interface.
|
38261
|
+
# You cannot use this option if you use the `Ipv4PrefixCount` option.
|
38215
38262
|
# @return [Array<Types::Ipv4PrefixSpecificationRequest>]
|
38216
38263
|
#
|
38217
38264
|
# @!attribute [rw] ipv_4_prefix_count
|
38218
|
-
# The number of IPv4
|
38219
|
-
#
|
38265
|
+
# The number of IPv4 prefixes to be automatically assigned to the
|
38266
|
+
# network interface. You cannot use this option if you use the
|
38220
38267
|
# `Ipv4Prefix` option.
|
38221
38268
|
# @return [Integer]
|
38222
38269
|
#
|
38223
38270
|
# @!attribute [rw] ipv_6_prefixes
|
38224
|
-
# One or more IPv6
|
38225
|
-
#
|
38226
|
-
# `Ipv6PrefixCount` option.
|
38271
|
+
# One or more IPv6 prefixes to be assigned to the network interface.
|
38272
|
+
# You cannot use this option if you use the `Ipv6PrefixCount` option.
|
38227
38273
|
# @return [Array<Types::Ipv6PrefixSpecificationRequest>]
|
38228
38274
|
#
|
38229
38275
|
# @!attribute [rw] ipv_6_prefix_count
|
38230
|
-
# The number of IPv6
|
38231
|
-
#
|
38276
|
+
# The number of IPv6 prefixes to be automatically assigned to the
|
38277
|
+
# network interface. You cannot use this option if you use the
|
38232
38278
|
# `Ipv6Prefix` option.
|
38233
38279
|
# @return [Integer]
|
38234
38280
|
#
|
@@ -40672,6 +40718,7 @@ module Aws::EC2
|
|
40672
40718
|
# http_put_response_hop_limit: 1,
|
40673
40719
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
40674
40720
|
# dry_run: false,
|
40721
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
40675
40722
|
# }
|
40676
40723
|
#
|
40677
40724
|
# @!attribute [rw] instance_id
|
@@ -40723,6 +40770,11 @@ module Aws::EC2
|
|
40723
40770
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
40724
40771
|
# @return [Boolean]
|
40725
40772
|
#
|
40773
|
+
# @!attribute [rw] http_protocol_ipv_6
|
40774
|
+
# Enables or disables the IPv6 endpoint for the instance metadata
|
40775
|
+
# service.
|
40776
|
+
# @return [String]
|
40777
|
+
#
|
40726
40778
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataOptionsRequest AWS API Documentation
|
40727
40779
|
#
|
40728
40780
|
class ModifyInstanceMetadataOptionsRequest < Struct.new(
|
@@ -40730,7 +40782,8 @@ module Aws::EC2
|
|
40730
40782
|
:http_tokens,
|
40731
40783
|
:http_put_response_hop_limit,
|
40732
40784
|
:http_endpoint,
|
40733
|
-
:dry_run
|
40785
|
+
:dry_run,
|
40786
|
+
:http_protocol_ipv_6)
|
40734
40787
|
SENSITIVE = []
|
40735
40788
|
include Aws::Structure
|
40736
40789
|
end
|
@@ -40913,6 +40966,7 @@ module Aws::EC2
|
|
40913
40966
|
# cidr: "String", # required
|
40914
40967
|
# },
|
40915
40968
|
# ],
|
40969
|
+
# max_entries: 1,
|
40916
40970
|
# }
|
40917
40971
|
#
|
40918
40972
|
# @!attribute [rw] dry_run
|
@@ -40942,6 +40996,12 @@ module Aws::EC2
|
|
40942
40996
|
# One or more entries to remove from the prefix list.
|
40943
40997
|
# @return [Array<Types::RemovePrefixListEntry>]
|
40944
40998
|
#
|
40999
|
+
# @!attribute [rw] max_entries
|
41000
|
+
# The maximum number of entries for the prefix list. You cannot modify
|
41001
|
+
# the entries of a prefix list and modify the size of a prefix list at
|
41002
|
+
# the same time.
|
41003
|
+
# @return [Integer]
|
41004
|
+
#
|
40945
41005
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyManagedPrefixListRequest AWS API Documentation
|
40946
41006
|
#
|
40947
41007
|
class ModifyManagedPrefixListRequest < Struct.new(
|
@@ -40950,7 +41010,8 @@ module Aws::EC2
|
|
40950
41010
|
:current_version,
|
40951
41011
|
:prefix_list_name,
|
40952
41012
|
:add_entries,
|
40953
|
-
:remove_entries
|
41013
|
+
:remove_entries,
|
41014
|
+
:max_entries)
|
40954
41015
|
SENSITIVE = []
|
40955
41016
|
include Aws::Structure
|
40956
41017
|
end
|
@@ -41871,10 +41932,6 @@ module Aws::EC2
|
|
41871
41932
|
#
|
41872
41933
|
# @!attribute [rw] options
|
41873
41934
|
# The new VPC attachment options.
|
41874
|
-
#
|
41875
|
-
# <note markdown="1"> You cannot modify the IPv6 options.
|
41876
|
-
#
|
41877
|
-
# </note>
|
41878
41935
|
# @return [Types::ModifyTransitGatewayVpcAttachmentRequestOptions]
|
41879
41936
|
#
|
41880
41937
|
# @!attribute [rw] dry_run
|
@@ -43782,13 +43839,11 @@ module Aws::EC2
|
|
43782
43839
|
# @return [Array<Types::NetworkInterfacePrivateIpAddress>]
|
43783
43840
|
#
|
43784
43841
|
# @!attribute [rw] ipv_4_prefixes
|
43785
|
-
# The IPv4
|
43786
|
-
# interface.
|
43842
|
+
# The IPv4 prefixes that are assigned to the network interface.
|
43787
43843
|
# @return [Array<Types::Ipv4PrefixSpecification>]
|
43788
43844
|
#
|
43789
43845
|
# @!attribute [rw] ipv_6_prefixes
|
43790
|
-
# The IPv6
|
43791
|
-
# interface.
|
43846
|
+
# The IPv6 prefixes that are assigned to the network interface.
|
43792
43847
|
# @return [Array<Types::Ipv6PrefixSpecification>]
|
43793
43848
|
#
|
43794
43849
|
# @!attribute [rw] requester_id
|
@@ -44414,7 +44469,8 @@ module Aws::EC2
|
|
44414
44469
|
# @return [String]
|
44415
44470
|
#
|
44416
44471
|
# @!attribute [rw] owner_id
|
44417
|
-
# The
|
44472
|
+
# The ID of the Amazon Web Services account that owns the transit
|
44473
|
+
# gateway.
|
44418
44474
|
# @return [String]
|
44419
44475
|
#
|
44420
44476
|
# @!attribute [rw] region
|
@@ -47322,6 +47378,7 @@ module Aws::EC2
|
|
47322
47378
|
# http_tokens: "optional", # accepts optional, required
|
47323
47379
|
# http_put_response_hop_limit: 1,
|
47324
47380
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
47381
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
47325
47382
|
# },
|
47326
47383
|
# enclave_options: {
|
47327
47384
|
# enabled: false,
|
@@ -47433,14 +47490,22 @@ module Aws::EC2
|
|
47433
47490
|
# @return [String]
|
47434
47491
|
#
|
47435
47492
|
# @!attribute [rw] user_data
|
47436
|
-
# The
|
47437
|
-
#
|
47438
|
-
#
|
47493
|
+
# The user data to make available to the instance. You must provide
|
47494
|
+
# base64-encoded text. User data is limited to 16 KB. For more
|
47495
|
+
# information, see [Running Commands on Your Linux Instance at
|
47496
|
+
# Launch][1] (Linux) or [Adding User Data][2] (Windows).
|
47497
|
+
#
|
47498
|
+
# If you are creating the launch template for use with Batch, the user
|
47499
|
+
# data must be provided in the [ MIME multi-part archive format][3].
|
47500
|
+
# For more information, see [Amazon EC2 user data in launch
|
47501
|
+
# templates][4] in the *Batch User Guide*.
|
47439
47502
|
#
|
47440
47503
|
#
|
47441
47504
|
#
|
47442
47505
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
47443
47506
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data
|
47507
|
+
# [3]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive
|
47508
|
+
# [4]: https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html
|
47444
47509
|
# @return [String]
|
47445
47510
|
#
|
47446
47511
|
# @!attribute [rw] tag_specifications
|
@@ -50084,6 +50149,7 @@ module Aws::EC2
|
|
50084
50149
|
# http_tokens: "optional", # accepts optional, required
|
50085
50150
|
# http_put_response_hop_limit: 1,
|
50086
50151
|
# http_endpoint: "disabled", # accepts disabled, enabled
|
50152
|
+
# http_protocol_ipv_6: "disabled", # accepts disabled, enabled
|
50087
50153
|
# },
|
50088
50154
|
# enclave_options: {
|
50089
50155
|
# enabled: false,
|
@@ -51626,10 +51692,6 @@ module Aws::EC2
|
|
51626
51692
|
# * `source-type` - The source type. Valid values are `igmp` \|
|
51627
51693
|
# `static`.
|
51628
51694
|
#
|
51629
|
-
# * `state` - The state of the subnet association. Valid values are
|
51630
|
-
# `associated` \| `associated` \| `disassociated` \|
|
51631
|
-
# `disassociating`.
|
51632
|
-
#
|
51633
51695
|
# * `subnet-id` - The ID of the subnet.
|
51634
51696
|
#
|
51635
51697
|
# * `transit-gateway-attachment-id` - The id of the transit gateway
|
@@ -55680,7 +55742,8 @@ module Aws::EC2
|
|
55680
55742
|
# @return [String]
|
55681
55743
|
#
|
55682
55744
|
# @!attribute [rw] owner_id
|
55683
|
-
# The ID of the
|
55745
|
+
# The ID of the Amazon Web Services account that owns the transit
|
55746
|
+
# gateway.
|
55684
55747
|
# @return [String]
|
55685
55748
|
#
|
55686
55749
|
# @!attribute [rw] description
|
@@ -55761,11 +55824,12 @@ module Aws::EC2
|
|
55761
55824
|
# @return [String]
|
55762
55825
|
#
|
55763
55826
|
# @!attribute [rw] transit_gateway_owner_id
|
55764
|
-
# The ID of the
|
55827
|
+
# The ID of the Amazon Web Services account that owns the transit
|
55828
|
+
# gateway.
|
55765
55829
|
# @return [String]
|
55766
55830
|
#
|
55767
55831
|
# @!attribute [rw] resource_owner_id
|
55768
|
-
# The ID of the
|
55832
|
+
# The ID of the Amazon Web Services account that owns the resource.
|
55769
55833
|
# @return [String]
|
55770
55834
|
#
|
55771
55835
|
# @!attribute [rw] resource_type
|
@@ -56101,8 +56165,8 @@ module Aws::EC2
|
|
56101
56165
|
# @return [String]
|
56102
56166
|
#
|
56103
56167
|
# @!attribute [rw] owner_id
|
56104
|
-
# The ID of the
|
56105
|
-
# domain.
|
56168
|
+
# The ID of the Amazon Web Services account that owns the transit
|
56169
|
+
# gateway multicast domain.
|
56106
56170
|
# @return [String]
|
56107
56171
|
#
|
56108
56172
|
# @!attribute [rw] options
|
@@ -56152,8 +56216,8 @@ module Aws::EC2
|
|
56152
56216
|
# @return [String]
|
56153
56217
|
#
|
56154
56218
|
# @!attribute [rw] resource_owner_id
|
56155
|
-
# The ID of the
|
56156
|
-
# domain association resource.
|
56219
|
+
# The ID of the Amazon Web Services account that owns the transit
|
56220
|
+
# gateway multicast domain association resource.
|
56157
56221
|
# @return [String]
|
56158
56222
|
#
|
56159
56223
|
# @!attribute [rw] subnet
|
@@ -56191,7 +56255,7 @@ module Aws::EC2
|
|
56191
56255
|
# @return [String]
|
56192
56256
|
#
|
56193
56257
|
# @!attribute [rw] resource_owner_id
|
56194
|
-
# The ID of the
|
56258
|
+
# The ID of the Amazon Web Services account that owns the resource.
|
56195
56259
|
# @return [String]
|
56196
56260
|
#
|
56197
56261
|
# @!attribute [rw] subnets
|
@@ -56261,8 +56325,8 @@ module Aws::EC2
|
|
56261
56325
|
# @return [String]
|
56262
56326
|
#
|
56263
56327
|
# @!attribute [rw] resource_owner_id
|
56264
|
-
# The ID of the
|
56265
|
-
# domain group resource.
|
56328
|
+
# The ID of the Amazon Web Services account that owns the transit
|
56329
|
+
# gateway multicast domain group resource.
|
56266
56330
|
# @return [String]
|
56267
56331
|
#
|
56268
56332
|
# @!attribute [rw] network_interface_id
|
@@ -56814,7 +56878,7 @@ module Aws::EC2
|
|
56814
56878
|
# @return [String]
|
56815
56879
|
#
|
56816
56880
|
# @!attribute [rw] vpc_owner_id
|
56817
|
-
# The ID of the
|
56881
|
+
# The ID of the Amazon Web Services account that owns the VPC.
|
56818
56882
|
# @return [String]
|
56819
56883
|
#
|
56820
56884
|
# @!attribute [rw] state
|
@@ -56878,6 +56942,11 @@ module Aws::EC2
|
|
56878
56942
|
include Aws::Structure
|
56879
56943
|
end
|
56880
56944
|
|
56945
|
+
# <note markdown="1"> Currently available in **limited preview only**. If you are interested
|
56946
|
+
# in using this feature, contact your account manager.
|
56947
|
+
#
|
56948
|
+
# </note>
|
56949
|
+
#
|
56881
56950
|
# Information about an association between a branch network interface
|
56882
56951
|
# with a trunk network interface.
|
56883
56952
|
#
|
@@ -56906,7 +56975,7 @@ module Aws::EC2
|
|
56906
56975
|
# @return [Integer]
|
56907
56976
|
#
|
56908
56977
|
# @!attribute [rw] tags
|
56909
|
-
# The tags.
|
56978
|
+
# The tags for the trunk interface association.
|
56910
56979
|
# @return [Array<Types::Tag>]
|
56911
56980
|
#
|
56912
56981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrunkInterfaceAssociation AWS API Documentation
|
@@ -57053,8 +57122,7 @@ module Aws::EC2
|
|
57053
57122
|
# @return [Array<String>]
|
57054
57123
|
#
|
57055
57124
|
# @!attribute [rw] ipv_6_prefixes
|
57056
|
-
# One or
|
57057
|
-
# network interface.
|
57125
|
+
# One or more IPv6 prefixes to unassign from the network interface.
|
57058
57126
|
# @return [Array<String>]
|
57059
57127
|
#
|
57060
57128
|
# @!attribute [rw] network_interface_id
|
@@ -57081,8 +57149,8 @@ module Aws::EC2
|
|
57081
57149
|
# @return [Array<String>]
|
57082
57150
|
#
|
57083
57151
|
# @!attribute [rw] unassigned_ipv_6_prefixes
|
57084
|
-
# The IPv4
|
57085
|
-
#
|
57152
|
+
# The IPv4 prefixes that have been unassigned from the network
|
57153
|
+
# interface.
|
57086
57154
|
# @return [Array<String>]
|
57087
57155
|
#
|
57088
57156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesResult AWS API Documentation
|
@@ -57117,8 +57185,7 @@ module Aws::EC2
|
|
57117
57185
|
# @return [Array<String>]
|
57118
57186
|
#
|
57119
57187
|
# @!attribute [rw] ipv_4_prefixes
|
57120
|
-
# The IPv4
|
57121
|
-
# interface.
|
57188
|
+
# The IPv4 prefixes to unassign from the network interface.
|
57122
57189
|
# @return [Array<String>]
|
57123
57190
|
#
|
57124
57191
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesRequest AWS API Documentation
|