aws-sdk-ec2 1.250.0 → 1.251.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.
@@ -164,6 +164,18 @@ module Aws::EC2
164
164
  # associate_carrier_ip_address: false,
165
165
  # interface_type: "String",
166
166
  # network_card_index: 1,
167
+ # ipv_4_prefixes: [
168
+ # {
169
+ # ipv_4_prefix: "String",
170
+ # },
171
+ # ],
172
+ # ipv_4_prefix_count: 1,
173
+ # ipv_6_prefixes: [
174
+ # {
175
+ # ipv_6_prefix: "String",
176
+ # },
177
+ # ],
178
+ # ipv_6_prefix_count: 1,
167
179
  # },
168
180
  # ],
169
181
  # private_ip_address: "String",
@@ -648,8 +660,8 @@ module Aws::EC2
648
660
  # disassociate it.
649
661
  # @option options [String] :client_token
650
662
  # Unique, case-sensitive identifier that you provide to ensure the
651
- # idempotency of the request. For more information, see [How to Ensure
652
- # Idempotency][1].
663
+ # idempotency of the request. For more information, see [How to ensure
664
+ # idempotency][1].
653
665
  #
654
666
  # Constraint: Maximum 64 ASCII characters.
655
667
  #
@@ -735,6 +747,18 @@ module Aws::EC2
735
747
  # },
736
748
  # ],
737
749
  # secondary_private_ip_address_count: 1,
750
+ # ipv_4_prefixes: [
751
+ # {
752
+ # ipv_4_prefix: "String",
753
+ # },
754
+ # ],
755
+ # ipv_4_prefix_count: 1,
756
+ # ipv_6_prefixes: [
757
+ # {
758
+ # ipv_6_prefix: "String",
759
+ # },
760
+ # ],
761
+ # ipv_6_prefix_count: 1,
738
762
  # interface_type: "efa", # accepts efa, branch, trunk
739
763
  # subnet_id: "SubnetId", # required
740
764
  # tag_specifications: [
@@ -793,6 +817,22 @@ module Aws::EC2
793
817
  #
794
818
  #
795
819
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
820
+ # @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
821
+ # One or moreIPv4 Prefix Delegation prefixes assigned to the network
822
+ # interface. You cannot use this option if you use the `Ipv4PrefixCount`
823
+ # option.
824
+ # @option options [Integer] :ipv_4_prefix_count
825
+ # The number of IPv4 Prefix Delegation prefixes that AWS automatically
826
+ # assigns to the network interface. You cannot use this option if you
827
+ # use the `Ipv4 Prefixes` option.
828
+ # @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
829
+ # One or moreIPv6 Prefix Delegation prefixes assigned to the network
830
+ # interface. You cannot use this option if you use the `Ipv6PrefixCount`
831
+ # option.
832
+ # @option options [Integer] :ipv_6_prefix_count
833
+ # The number of IPv6 Prefix Delegation prefixes that AWS automatically
834
+ # assigns to the network interface. You cannot use this option if you
835
+ # use the `Ipv6Prefixes` option.
796
836
  # @option options [String] :interface_type
797
837
  # Indicates the type of network interface. To create an Elastic Fabric
798
838
  # Adapter (EFA), specify `efa`. For more information, see [ Elastic
@@ -1044,11 +1084,11 @@ module Aws::EC2
1044
1084
  # ],
1045
1085
  # availability_zone: "String",
1046
1086
  # availability_zone_id: "String",
1047
- # cidr_block: "String", # required
1048
1087
  # ipv_6_cidr_block: "String",
1049
1088
  # outpost_arn: "String",
1050
1089
  # vpc_id: "VpcId", # required
1051
1090
  # dry_run: false,
1091
+ # cidr_block: "String", # required
1052
1092
  # })
1053
1093
  # @param [Hash] options ({})
1054
1094
  # @option options [Array<Types::TagSpecification>] :tag_specifications
@@ -1056,9 +1096,9 @@ module Aws::EC2
1056
1096
  # @option options [String] :availability_zone
1057
1097
  # The Availability Zone or Local Zone for the subnet.
1058
1098
  #
1059
- # Default: AWS selects one for you. If you create more than one subnet
1060
- # in your VPC, we do not necessarily select a different zone for each
1061
- # subnet.
1099
+ # Default: Amazon Web Services selects one for you. If you create more
1100
+ # than one subnet in your VPC, we do not necessarily select a different
1101
+ # zone for each subnet.
1062
1102
  #
1063
1103
  # To create a subnet in a Local Zone, set this value to the Local Zone
1064
1104
  # ID, for example `us-west-2-lax-1a`. For information about the Regions
@@ -1073,11 +1113,6 @@ module Aws::EC2
1073
1113
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
1074
1114
  # @option options [String] :availability_zone_id
1075
1115
  # The AZ ID or the Local Zone ID of the subnet.
1076
- # @option options [required, String] :cidr_block
1077
- # The IPv4 network range for the subnet, in CIDR notation. For example,
1078
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
1079
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
1080
- # `100.68.0.0/18`.
1081
1116
  # @option options [String] :ipv_6_cidr_block
1082
1117
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
1083
1118
  # size must use a /64 prefix length.
@@ -1092,6 +1127,11 @@ module Aws::EC2
1092
1127
  # without actually making the request, and provides an error response.
1093
1128
  # If you have the required permissions, the error response is
1094
1129
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1130
+ # @option options [required, String] :cidr_block
1131
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
1132
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
1133
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
1134
+ # `100.68.0.0/18`.
1095
1135
  # @return [Subnet]
1096
1136
  def create_subnet(options = {})
1097
1137
  resp = @client.create_subnet(options)
@@ -1454,9 +1494,9 @@ module Aws::EC2
1454
1494
  # If you have the required permissions, the error response is
1455
1495
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1456
1496
  # @option options [String] :peer_owner_id
1457
- # The AWS account ID of the owner of the accepter VPC.
1497
+ # The account ID of the owner of the accepter VPC.
1458
1498
  #
1459
- # Default: Your AWS account ID
1499
+ # Default: Your account ID
1460
1500
  # @option options [String] :peer_vpc_id
1461
1501
  # The ID of the VPC with which you are creating the VPC peering
1462
1502
  # connection. You must specify this parameter in the request.
@@ -1784,8 +1824,7 @@ module Aws::EC2
1784
1824
  #
1785
1825
  # * `value` - The value for one of the options.
1786
1826
  #
1787
- # * `owner-id` - The ID of the AWS account that owns the DHCP options
1788
- # set.
1827
+ # * `owner-id` - The ID of the account that owns the DHCP options set.
1789
1828
  #
1790
1829
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
1791
1830
  # the resource. Use the tag key in the filter name and the tag value
@@ -2343,8 +2382,7 @@ module Aws::EC2
2343
2382
  #
2344
2383
  # * `internet-gateway-id` - The ID of the Internet gateway.
2345
2384
  #
2346
- # * `owner-id` - The ID of the AWS account that owns the internet
2347
- # gateway.
2385
+ # * `owner-id` - The ID of the account that owns the internet gateway.
2348
2386
  #
2349
2387
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
2350
2388
  # the resource. Use the tag key in the filter name and the tag value
@@ -2583,7 +2621,7 @@ module Aws::EC2
2583
2621
  #
2584
2622
  # * `network-acl-id` - The ID of the network ACL.
2585
2623
  #
2586
- # * `owner-id` - The ID of the AWS account that owns the network ACL.
2624
+ # * `owner-id` - The ID of the account that owns the network ACL.
2587
2625
  #
2588
2626
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
2589
2627
  # the resource. Use the tag key in the filter name and the tag value
@@ -2901,7 +2939,7 @@ module Aws::EC2
2901
2939
  # route table for the VPC (`true` \| `false`). Route tables that do
2902
2940
  # not have an association ID are not returned in the response.
2903
2941
  #
2904
- # * `owner-id` - The ID of the AWS account that owns the route table.
2942
+ # * `owner-id` - The ID of the account that owns the route table.
2905
2943
  #
2906
2944
  # * `route-table-id` - The ID of the route table.
2907
2945
  #
@@ -2911,8 +2949,8 @@ module Aws::EC2
2911
2949
  # * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
2912
2950
  # in a route in the route table.
2913
2951
  #
2914
- # * `route.destination-prefix-list-id` - The ID (prefix) of the AWS
2915
- # service specified in a route in the table.
2952
+ # * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
2953
+ # Web Service specified in a route in the table.
2916
2954
  #
2917
2955
  # * `route.egress-only-internet-gateway-id` - The ID of an egress-only
2918
2956
  # Internet gateway specified in a route in the route table.
@@ -3274,7 +3312,7 @@ module Aws::EC2
3274
3312
  #
3275
3313
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
3276
3314
  #
3277
- # * `owner-id` - The ID of the AWS account that owns the subnet.
3315
+ # * `owner-id` - The ID of the account that owns the subnet.
3278
3316
  #
3279
3317
  # * `state` - The state of the subnet (`pending` \| `available`).
3280
3318
  #
@@ -3542,8 +3580,8 @@ module Aws::EC2
3542
3580
  # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
3543
3581
  # VPC.
3544
3582
  #
3545
- # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
3546
- # the accepter VPC.
3583
+ # * `accepter-vpc-info.owner-id` - The ID of the account that owns the
3584
+ # accepter VPC.
3547
3585
  #
3548
3586
  # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
3549
3587
  #
@@ -3553,8 +3591,8 @@ module Aws::EC2
3553
3591
  # * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
3554
3592
  # requester's VPC.
3555
3593
  #
3556
- # * `requester-vpc-info.owner-id` - The AWS account ID of the owner of
3557
- # the requester VPC.
3594
+ # * `requester-vpc-info.owner-id` - The ID of the account that owns the
3595
+ # requester VPC.
3558
3596
  #
3559
3597
  # * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
3560
3598
  #
@@ -3648,9 +3686,9 @@ module Aws::EC2
3648
3686
  # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
3649
3687
  # block associated with the VPC.
3650
3688
  #
3651
- # * `isDefault` - Indicates whether the VPC is the default VPC.
3689
+ # * `is-default` - Indicates whether the VPC is the default VPC.
3652
3690
  #
3653
- # * `owner-id` - The ID of the AWS account that owns the VPC.
3691
+ # * `owner-id` - The ID of the account that owns the VPC.
3654
3692
  #
3655
3693
  # * `state` - The state of the VPC (`pending` \| `available`).
3656
3694
  #
@@ -48,7 +48,7 @@ module Aws::EC2
48
48
  data[:destination_ipv_6_cidr_block]
49
49
  end
50
50
 
51
- # The prefix of the AWS service.
51
+ # The prefix of the Amazon Web Service.
52
52
  # @return [String]
53
53
  def destination_prefix_list_id
54
54
  data[:destination_prefix_list_id]
@@ -72,7 +72,7 @@ module Aws::EC2
72
72
  data[:instance_id]
73
73
  end
74
74
 
75
- # The AWS account ID of the owner of the instance.
75
+ # The ID of account that owns the instance.
76
76
  # @return [String]
77
77
  def instance_owner_id
78
78
  data[:instance_owner_id]
@@ -53,7 +53,7 @@ module Aws::EC2
53
53
  data[:vpc_id]
54
54
  end
55
55
 
56
- # The ID of the AWS account that owns the route table.
56
+ # The ID of the account that owns the route table.
57
57
  # @return [String]
58
58
  def owner_id
59
59
  data[:owner_id]
@@ -100,7 +100,7 @@ module Aws::EC2
100
100
  data[:vpc_id]
101
101
  end
102
102
 
103
- # The ID of the AWS account that owns the subnet.
103
+ # The ID of the account that owns the subnet.
104
104
  # @return [String]
105
105
  def owner_id
106
106
  data[:owner_id]
@@ -358,6 +358,18 @@ module Aws::EC2
358
358
  # associate_carrier_ip_address: false,
359
359
  # interface_type: "String",
360
360
  # network_card_index: 1,
361
+ # ipv_4_prefixes: [
362
+ # {
363
+ # ipv_4_prefix: "String",
364
+ # },
365
+ # ],
366
+ # ipv_4_prefix_count: 1,
367
+ # ipv_6_prefixes: [
368
+ # {
369
+ # ipv_6_prefix: "String",
370
+ # },
371
+ # ],
372
+ # ipv_6_prefix_count: 1,
361
373
  # },
362
374
  # ],
363
375
  # private_ip_address: "String",
@@ -756,6 +768,18 @@ module Aws::EC2
756
768
  # },
757
769
  # ],
758
770
  # secondary_private_ip_address_count: 1,
771
+ # ipv_4_prefixes: [
772
+ # {
773
+ # ipv_4_prefix: "String",
774
+ # },
775
+ # ],
776
+ # ipv_4_prefix_count: 1,
777
+ # ipv_6_prefixes: [
778
+ # {
779
+ # ipv_6_prefix: "String",
780
+ # },
781
+ # ],
782
+ # ipv_6_prefix_count: 1,
759
783
  # interface_type: "efa", # accepts efa, branch, trunk
760
784
  # tag_specifications: [
761
785
  # {
@@ -813,6 +837,22 @@ module Aws::EC2
813
837
  #
814
838
  #
815
839
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
840
+ # @option options [Array<Types::Ipv4PrefixSpecificationRequest>] :ipv_4_prefixes
841
+ # One or moreIPv4 Prefix Delegation prefixes assigned to the network
842
+ # interface. You cannot use this option if you use the `Ipv4PrefixCount`
843
+ # option.
844
+ # @option options [Integer] :ipv_4_prefix_count
845
+ # The number of IPv4 Prefix Delegation prefixes that AWS automatically
846
+ # assigns to the network interface. You cannot use this option if you
847
+ # use the `Ipv4 Prefixes` option.
848
+ # @option options [Array<Types::Ipv6PrefixSpecificationRequest>] :ipv_6_prefixes
849
+ # One or moreIPv6 Prefix Delegation prefixes assigned to the network
850
+ # interface. You cannot use this option if you use the `Ipv6PrefixCount`
851
+ # option.
852
+ # @option options [Integer] :ipv_6_prefix_count
853
+ # The number of IPv6 Prefix Delegation prefixes that AWS automatically
854
+ # assigns to the network interface. You cannot use this option if you
855
+ # use the `Ipv6Prefixes` option.
816
856
  # @option options [String] :interface_type
817
857
  # Indicates the type of network interface. To create an Elastic Fabric
818
858
  # Adapter (EFA), specify `efa`. For more information, see [ Elastic
@@ -999,7 +999,7 @@ module Aws::EC2
999
999
  # @return [String]
1000
1000
  #
1001
1001
  # @!attribute [rw] destination_prefix_list_id
1002
- # The prefix of the AWS service.
1002
+ # The prefix of the Amazon Web Service.
1003
1003
  # @return [String]
1004
1004
  #
1005
1005
  # @!attribute [rw] egress_only_internet_gateway_id
@@ -1164,6 +1164,8 @@ module Aws::EC2
1164
1164
  # {
1165
1165
  # ipv_6_address_count: 1,
1166
1166
  # ipv_6_addresses: ["String"],
1167
+ # ipv_6_prefix_count: 1,
1168
+ # ipv_6_prefixes: ["String"],
1167
1169
  # network_interface_id: "NetworkInterfaceId", # required
1168
1170
  # }
1169
1171
  #
@@ -1182,6 +1184,18 @@ module Aws::EC2
1182
1184
  # of IPv6 addresses.
1183
1185
  # @return [Array<String>]
1184
1186
  #
1187
+ # @!attribute [rw] ipv_6_prefix_count
1188
+ # The number of IPv6 Prefix Delegation prefixes that AWS automatically
1189
+ # assigns to the network interface. You cannot use this option if you
1190
+ # use the `Ipv6Prefixes` option.
1191
+ # @return [Integer]
1192
+ #
1193
+ # @!attribute [rw] ipv_6_prefixes
1194
+ # One or more IPv6 Prefix Delegation prefixes assigned to the network
1195
+ # interface. You cannot use this option if you use the
1196
+ # `Ipv6PrefixCount` option.
1197
+ # @return [Array<String>]
1198
+ #
1185
1199
  # @!attribute [rw] network_interface_id
1186
1200
  # The ID of the network interface.
1187
1201
  # @return [String]
@@ -1191,6 +1205,8 @@ module Aws::EC2
1191
1205
  class AssignIpv6AddressesRequest < Struct.new(
1192
1206
  :ipv_6_address_count,
1193
1207
  :ipv_6_addresses,
1208
+ :ipv_6_prefix_count,
1209
+ :ipv_6_prefixes,
1194
1210
  :network_interface_id)
1195
1211
  SENSITIVE = []
1196
1212
  include Aws::Structure
@@ -1202,6 +1218,11 @@ module Aws::EC2
1202
1218
  # the request are not included.
1203
1219
  # @return [Array<String>]
1204
1220
  #
1221
+ # @!attribute [rw] assigned_ipv_6_prefixes
1222
+ # The IPv6 Prefix Delegation prefixes that are assigned to the network
1223
+ # interface.
1224
+ # @return [Array<String>]
1225
+ #
1205
1226
  # @!attribute [rw] network_interface_id
1206
1227
  # The ID of the network interface.
1207
1228
  # @return [String]
@@ -1210,6 +1231,7 @@ module Aws::EC2
1210
1231
  #
1211
1232
  class AssignIpv6AddressesResult < Struct.new(
1212
1233
  :assigned_ipv_6_addresses,
1234
+ :assigned_ipv_6_prefixes,
1213
1235
  :network_interface_id)
1214
1236
  SENSITIVE = []
1215
1237
  include Aws::Structure
@@ -1225,6 +1247,8 @@ module Aws::EC2
1225
1247
  # network_interface_id: "NetworkInterfaceId", # required
1226
1248
  # private_ip_addresses: ["String"],
1227
1249
  # secondary_private_ip_address_count: 1,
1250
+ # ipv_4_prefixes: ["String"],
1251
+ # ipv_4_prefix_count: 1,
1228
1252
  # }
1229
1253
  #
1230
1254
  # @!attribute [rw] allow_reassignment
@@ -1252,13 +1276,27 @@ module Aws::EC2
1252
1276
  # private IP addresses.
1253
1277
  # @return [Integer]
1254
1278
  #
1279
+ # @!attribute [rw] ipv_4_prefixes
1280
+ # One or more IPv4 Prefix Delegation prefixes assigned to the network
1281
+ # interface. You cannot use this option if you use the
1282
+ # `Ipv4PrefixCount` option.
1283
+ # @return [Array<String>]
1284
+ #
1285
+ # @!attribute [rw] ipv_4_prefix_count
1286
+ # The number of IPv4 Prefix Delegation prefixes that AWS automatically
1287
+ # assigns to the network interface. You cannot use this option if you
1288
+ # use the `Ipv4 Prefixes` option.
1289
+ # @return [Integer]
1290
+ #
1255
1291
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesRequest AWS API Documentation
1256
1292
  #
1257
1293
  class AssignPrivateIpAddressesRequest < Struct.new(
1258
1294
  :allow_reassignment,
1259
1295
  :network_interface_id,
1260
1296
  :private_ip_addresses,
1261
- :secondary_private_ip_address_count)
1297
+ :secondary_private_ip_address_count,
1298
+ :ipv_4_prefixes,
1299
+ :ipv_4_prefix_count)
1262
1300
  SENSITIVE = []
1263
1301
  include Aws::Structure
1264
1302
  end
@@ -1271,11 +1309,17 @@ module Aws::EC2
1271
1309
  # The private IP addresses assigned to the network interface.
1272
1310
  # @return [Array<Types::AssignedPrivateIpAddress>]
1273
1311
  #
1312
+ # @!attribute [rw] assigned_ipv_4_prefixes
1313
+ # The IPv4 Prefix Delegation prefixes that are assigned to the network
1314
+ # interface.
1315
+ # @return [Array<Types::Ipv4PrefixSpecification>]
1316
+ #
1274
1317
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesResult AWS API Documentation
1275
1318
  #
1276
1319
  class AssignPrivateIpAddressesResult < Struct.new(
1277
1320
  :network_interface_id,
1278
- :assigned_private_ip_addresses)
1321
+ :assigned_private_ip_addresses,
1322
+ :assigned_ipv_4_prefixes)
1279
1323
  SENSITIVE = []
1280
1324
  include Aws::Structure
1281
1325
  end
@@ -4091,7 +4135,7 @@ module Aws::EC2
4091
4135
  # @return [String]
4092
4136
  #
4093
4137
  # @!attribute [rw] owner_id
4094
- # The AWS account ID of the owner of the carrier gateway.
4138
+ # The account ID of the owner of the carrier gateway.
4095
4139
  # @return [String]
4096
4140
  #
4097
4141
  # @!attribute [rw] tags
@@ -5802,8 +5846,8 @@ module Aws::EC2
5802
5846
  #
5803
5847
  # @!attribute [rw] client_token
5804
5848
  # Unique, case-sensitive identifier that you provide to ensure the
5805
- # idempotency of the request. For more information, see [How to Ensure
5806
- # Idempotency][1].
5849
+ # idempotency of the request. For more information, see [How to ensure
5850
+ # idempotency][1].
5807
5851
  #
5808
5852
  # **A suitable default value is auto-generated.** You should normally
5809
5853
  # not need to pass this option.
@@ -6399,8 +6443,8 @@ module Aws::EC2
6399
6443
  #
6400
6444
  # @!attribute [rw] client_token
6401
6445
  # Unique, case-sensitive identifier that you provide to ensure the
6402
- # idempotency of the request. For more information, see [How to Ensure
6403
- # Idempotency][1].
6446
+ # idempotency of the request. For more information, see [How to ensure
6447
+ # idempotency][1].
6404
6448
  #
6405
6449
  #
6406
6450
  #
@@ -6814,8 +6858,8 @@ module Aws::EC2
6814
6858
  #
6815
6859
  # @!attribute [rw] client_token
6816
6860
  # Unique, case-sensitive identifier that you provide to ensure the
6817
- # idempotency of the request. For more information, see [How to Ensure
6818
- # Idempotency][1].
6861
+ # idempotency of the request. For more information, see [How to ensure
6862
+ # idempotency][1].
6819
6863
  #
6820
6864
  #
6821
6865
  #
@@ -6892,14 +6936,14 @@ module Aws::EC2
6892
6936
  #
6893
6937
  # @!attribute [rw] log_format
6894
6938
  # The fields to include in the flow log record, in the order in which
6895
- # they should appear. For a list of available fields, see [Flow Log
6896
- # Records][1]. If you omit this parameter, the flow log is created
6939
+ # they should appear. For a list of available fields, see [Flow log
6940
+ # records][1]. If you omit this parameter, the flow log is created
6897
6941
  # using the default format. If you specify this parameter, you must
6898
6942
  # specify at least one field.
6899
6943
  #
6900
6944
  # Specify the fields using the `$\{field-id\}` format, separated by
6901
- # spaces. For the AWS CLI, use single quotation marks (' ') to
6902
- # surround the parameter value.
6945
+ # spaces. For the CLI, use single quotation marks (' ') to surround
6946
+ # the parameter value.
6903
6947
  #
6904
6948
  #
6905
6949
  #
@@ -7519,6 +7563,18 @@ module Aws::EC2
7519
7563
  # secondary_private_ip_address_count: 1,
7520
7564
  # subnet_id: "SubnetId",
7521
7565
  # network_card_index: 1,
7566
+ # ipv_4_prefixes: [
7567
+ # {
7568
+ # ipv_4_prefix: "String",
7569
+ # },
7570
+ # ],
7571
+ # ipv_4_prefix_count: 1,
7572
+ # ipv_6_prefixes: [
7573
+ # {
7574
+ # ipv_6_prefix: "String",
7575
+ # },
7576
+ # ],
7577
+ # ipv_6_prefix_count: 1,
7522
7578
  # },
7523
7579
  # ],
7524
7580
  # image_id: "ImageId",
@@ -7746,6 +7802,18 @@ module Aws::EC2
7746
7802
  # secondary_private_ip_address_count: 1,
7747
7803
  # subnet_id: "SubnetId",
7748
7804
  # network_card_index: 1,
7805
+ # ipv_4_prefixes: [
7806
+ # {
7807
+ # ipv_4_prefix: "String",
7808
+ # },
7809
+ # ],
7810
+ # ipv_4_prefix_count: 1,
7811
+ # ipv_6_prefixes: [
7812
+ # {
7813
+ # ipv_6_prefix: "String",
7814
+ # },
7815
+ # ],
7816
+ # ipv_6_prefix_count: 1,
7749
7817
  # },
7750
7818
  # ],
7751
7819
  # image_id: "ImageId",
@@ -8162,8 +8230,8 @@ module Aws::EC2
8162
8230
  #
8163
8231
  # @!attribute [rw] client_token
8164
8232
  # Unique, case-sensitive identifier that you provide to ensure the
8165
- # idempotency of the request. For more information, see [How to Ensure
8166
- # Idempotency][1].
8233
+ # idempotency of the request. For more information, see [How to ensure
8234
+ # idempotency][1].
8167
8235
  #
8168
8236
  # Constraint: Maximum 64 ASCII characters.
8169
8237
  #
@@ -8411,20 +8479,22 @@ module Aws::EC2
8411
8479
  # }
8412
8480
  #
8413
8481
  # @!attribute [rw] source_ip
8414
- # The IP address of the AWS resource that is the source of the path.
8482
+ # The IP address of the Amazon Web Services resource that is the
8483
+ # source of the path.
8415
8484
  # @return [String]
8416
8485
  #
8417
8486
  # @!attribute [rw] destination_ip
8418
- # The IP address of the AWS resource that is the destination of the
8419
- # path.
8487
+ # The IP address of the Amazon Web Services resource that is the
8488
+ # destination of the path.
8420
8489
  # @return [String]
8421
8490
  #
8422
8491
  # @!attribute [rw] source
8423
- # The AWS resource that is the source of the path.
8492
+ # The Amazon Web Services resource that is the source of the path.
8424
8493
  # @return [String]
8425
8494
  #
8426
8495
  # @!attribute [rw] destination
8427
- # The AWS resource that is the destination of the path.
8496
+ # The Amazon Web Services resource that is the destination of the
8497
+ # path.
8428
8498
  # @return [String]
8429
8499
  #
8430
8500
  # @!attribute [rw] protocol
@@ -8448,8 +8518,8 @@ module Aws::EC2
8448
8518
  #
8449
8519
  # @!attribute [rw] client_token
8450
8520
  # Unique, case-sensitive identifier that you provide to ensure the
8451
- # idempotency of the request. For more information, see [How to Ensure
8452
- # Idempotency][1].
8521
+ # idempotency of the request. For more information, see [How to ensure
8522
+ # idempotency][1].
8453
8523
  #
8454
8524
  # **A suitable default value is auto-generated.** You should normally
8455
8525
  # not need to pass this option.
@@ -8572,6 +8642,18 @@ module Aws::EC2
8572
8642
  # },
8573
8643
  # ],
8574
8644
  # secondary_private_ip_address_count: 1,
8645
+ # ipv_4_prefixes: [
8646
+ # {
8647
+ # ipv_4_prefix: "String",
8648
+ # },
8649
+ # ],
8650
+ # ipv_4_prefix_count: 1,
8651
+ # ipv_6_prefixes: [
8652
+ # {
8653
+ # ipv_6_prefix: "String",
8654
+ # },
8655
+ # ],
8656
+ # ipv_6_prefix_count: 1,
8575
8657
  # interface_type: "efa", # accepts efa, branch, trunk
8576
8658
  # subnet_id: "SubnetId", # required
8577
8659
  # tag_specifications: [
@@ -8647,6 +8729,30 @@ module Aws::EC2
8647
8729
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
8648
8730
  # @return [Integer]
8649
8731
  #
8732
+ # @!attribute [rw] ipv_4_prefixes
8733
+ # One or moreIPv4 Prefix Delegation prefixes assigned to the network
8734
+ # interface. You cannot use this option if you use the
8735
+ # `Ipv4PrefixCount` option.
8736
+ # @return [Array<Types::Ipv4PrefixSpecificationRequest>]
8737
+ #
8738
+ # @!attribute [rw] ipv_4_prefix_count
8739
+ # The number of IPv4 Prefix Delegation prefixes that AWS automatically
8740
+ # assigns to the network interface. You cannot use this option if you
8741
+ # use the `Ipv4 Prefixes` option.
8742
+ # @return [Integer]
8743
+ #
8744
+ # @!attribute [rw] ipv_6_prefixes
8745
+ # One or moreIPv6 Prefix Delegation prefixes assigned to the network
8746
+ # interface. You cannot use this option if you use the
8747
+ # `Ipv6PrefixCount` option.
8748
+ # @return [Array<Types::Ipv6PrefixSpecificationRequest>]
8749
+ #
8750
+ # @!attribute [rw] ipv_6_prefix_count
8751
+ # The number of IPv6 Prefix Delegation prefixes that AWS automatically
8752
+ # assigns to the network interface. You cannot use this option if you
8753
+ # use the `Ipv6Prefixes` option.
8754
+ # @return [Integer]
8755
+ #
8650
8756
  # @!attribute [rw] interface_type
8651
8757
  # Indicates the type of network interface. To create an Elastic Fabric
8652
8758
  # Adapter (EFA), specify `efa`. For more information, see [ Elastic
@@ -8693,6 +8799,10 @@ module Aws::EC2
8693
8799
  :private_ip_address,
8694
8800
  :private_ip_addresses,
8695
8801
  :secondary_private_ip_address_count,
8802
+ :ipv_4_prefixes,
8803
+ :ipv_4_prefix_count,
8804
+ :ipv_6_prefixes,
8805
+ :ipv_6_prefix_count,
8696
8806
  :interface_type,
8697
8807
  :subnet_id,
8698
8808
  :tag_specifications,
@@ -9587,6 +9697,95 @@ module Aws::EC2
9587
9697
  include Aws::Structure
9588
9698
  end
9589
9699
 
9700
+ # @note When making an API call, you may pass CreateSubnetCidrReservationRequest
9701
+ # data as a hash:
9702
+ #
9703
+ # {
9704
+ # tag_specifications: [
9705
+ # {
9706
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9707
+ # tags: [
9708
+ # {
9709
+ # key: "String",
9710
+ # value: "String",
9711
+ # },
9712
+ # ],
9713
+ # },
9714
+ # ],
9715
+ # subnet_id: "SubnetId", # required
9716
+ # cidr: "String", # required
9717
+ # reservation_type: "prefix", # required, accepts prefix, explicit
9718
+ # description: "String",
9719
+ # dry_run: false,
9720
+ # }
9721
+ #
9722
+ # @!attribute [rw] tag_specifications
9723
+ # The tags to assign to the subnet CIDR reservation.
9724
+ # @return [Array<Types::TagSpecification>]
9725
+ #
9726
+ # @!attribute [rw] subnet_id
9727
+ # The ID of the subnet.
9728
+ # @return [String]
9729
+ #
9730
+ # @!attribute [rw] cidr
9731
+ # The IPv4 or IPV6 CIDR range to reserve.
9732
+ # @return [String]
9733
+ #
9734
+ # @!attribute [rw] reservation_type
9735
+ # The type of reservation.
9736
+ #
9737
+ # The following are valid values:
9738
+ #
9739
+ # * `prefix`\: The Amazon EC2 Prefix Delegation feature assigns the IP
9740
+ # addresses to network interfaces that are associated with an
9741
+ # instance. For information about Prefix Delegation, see [Prefix
9742
+ # Delegation for Amazon EC2 network interfaces][1] in the *Amazon
9743
+ # Elastic Compute Cloud User Guide*.
9744
+ #
9745
+ # * `explicit`\: You manually assign the IP addresses to resources
9746
+ # that reside in your subnet.
9747
+ #
9748
+ #
9749
+ #
9750
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation.html
9751
+ # @return [String]
9752
+ #
9753
+ # @!attribute [rw] description
9754
+ # The description to assign to the subnet CIDR reservation.
9755
+ # @return [String]
9756
+ #
9757
+ # @!attribute [rw] dry_run
9758
+ # Checks whether you have the required permissions for the action,
9759
+ # without actually making the request, and provides an error response.
9760
+ # If you have the required permissions, the error response is
9761
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9762
+ # @return [Boolean]
9763
+ #
9764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetCidrReservationRequest AWS API Documentation
9765
+ #
9766
+ class CreateSubnetCidrReservationRequest < Struct.new(
9767
+ :tag_specifications,
9768
+ :subnet_id,
9769
+ :cidr,
9770
+ :reservation_type,
9771
+ :description,
9772
+ :dry_run)
9773
+ SENSITIVE = []
9774
+ include Aws::Structure
9775
+ end
9776
+
9777
+ # @!attribute [rw] subnet_cidr_reservation
9778
+ # Information about the created subnet CIDR reservation.
9779
+ # @return [Types::SubnetCidrReservation]
9780
+ #
9781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetCidrReservationResult AWS API Documentation
9782
+ #
9783
+ class CreateSubnetCidrReservationResult < Struct.new(
9784
+ :subnet_cidr_reservation)
9785
+ SENSITIVE = []
9786
+ include Aws::Structure
9787
+ end
9788
+
9590
9789
  # @note When making an API call, you may pass CreateSubnetRequest
9591
9790
  # data as a hash:
9592
9791
  #
@@ -9604,11 +9803,11 @@ module Aws::EC2
9604
9803
  # ],
9605
9804
  # availability_zone: "String",
9606
9805
  # availability_zone_id: "String",
9607
- # cidr_block: "String", # required
9608
9806
  # ipv_6_cidr_block: "String",
9609
9807
  # outpost_arn: "String",
9610
9808
  # vpc_id: "VpcId", # required
9611
9809
  # dry_run: false,
9810
+ # cidr_block: "String", # required
9612
9811
  # }
9613
9812
  #
9614
9813
  # @!attribute [rw] tag_specifications
@@ -9618,9 +9817,9 @@ module Aws::EC2
9618
9817
  # @!attribute [rw] availability_zone
9619
9818
  # The Availability Zone or Local Zone for the subnet.
9620
9819
  #
9621
- # Default: AWS selects one for you. If you create more than one subnet
9622
- # in your VPC, we do not necessarily select a different zone for each
9623
- # subnet.
9820
+ # Default: Amazon Web Services selects one for you. If you create more
9821
+ # than one subnet in your VPC, we do not necessarily select a
9822
+ # different zone for each subnet.
9624
9823
  #
9625
9824
  # To create a subnet in a Local Zone, set this value to the Local Zone
9626
9825
  # ID, for example `us-west-2-lax-1a`. For information about the
@@ -9639,13 +9838,6 @@ module Aws::EC2
9639
9838
  # The AZ ID or the Local Zone ID of the subnet.
9640
9839
  # @return [String]
9641
9840
  #
9642
- # @!attribute [rw] cidr_block
9643
- # The IPv4 network range for the subnet, in CIDR notation. For
9644
- # example, `10.0.0.0/24`. We modify the specified CIDR block to its
9645
- # canonical form; for example, if you specify `100.68.0.18/18`, we
9646
- # modify it to `100.68.0.0/18`.
9647
- # @return [String]
9648
- #
9649
9841
  # @!attribute [rw] ipv_6_cidr_block
9650
9842
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
9651
9843
  # size must use a /64 prefix length.
@@ -9668,17 +9860,24 @@ module Aws::EC2
9668
9860
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9669
9861
  # @return [Boolean]
9670
9862
  #
9863
+ # @!attribute [rw] cidr_block
9864
+ # The IPv4 network range for the subnet, in CIDR notation. For
9865
+ # example, `10.0.0.0/24`. We modify the specified CIDR block to its
9866
+ # canonical form; for example, if you specify `100.68.0.18/18`, we
9867
+ # modify it to `100.68.0.0/18`.
9868
+ # @return [String]
9869
+ #
9671
9870
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest AWS API Documentation
9672
9871
  #
9673
9872
  class CreateSubnetRequest < Struct.new(
9674
9873
  :tag_specifications,
9675
9874
  :availability_zone,
9676
9875
  :availability_zone_id,
9677
- :cidr_block,
9678
9876
  :ipv_6_cidr_block,
9679
9877
  :outpost_arn,
9680
9878
  :vpc_id,
9681
- :dry_run)
9879
+ :dry_run,
9880
+ :cidr_block)
9682
9881
  SENSITIVE = []
9683
9882
  include Aws::Structure
9684
9883
  end
@@ -11534,9 +11733,9 @@ module Aws::EC2
11534
11733
  # @return [Boolean]
11535
11734
  #
11536
11735
  # @!attribute [rw] peer_owner_id
11537
- # The AWS account ID of the owner of the accepter VPC.
11736
+ # The account ID of the owner of the accepter VPC.
11538
11737
  #
11539
- # Default: Your AWS account ID
11738
+ # Default: Your account ID
11540
11739
  # @return [String]
11541
11740
  #
11542
11741
  # @!attribute [rw] peer_vpc_id
@@ -13398,6 +13597,46 @@ module Aws::EC2
13398
13597
  include Aws::Structure
13399
13598
  end
13400
13599
 
13600
+ # @note When making an API call, you may pass DeleteSubnetCidrReservationRequest
13601
+ # data as a hash:
13602
+ #
13603
+ # {
13604
+ # subnet_cidr_reservation_id: "SubnetCidrReservationId", # required
13605
+ # dry_run: false,
13606
+ # }
13607
+ #
13608
+ # @!attribute [rw] subnet_cidr_reservation_id
13609
+ # The ID of the subnet CIDR reservation.
13610
+ # @return [String]
13611
+ #
13612
+ # @!attribute [rw] dry_run
13613
+ # Checks whether you have the required permissions for the action,
13614
+ # without actually making the request, and provides an error response.
13615
+ # If you have the required permissions, the error response is
13616
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
13617
+ # @return [Boolean]
13618
+ #
13619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetCidrReservationRequest AWS API Documentation
13620
+ #
13621
+ class DeleteSubnetCidrReservationRequest < Struct.new(
13622
+ :subnet_cidr_reservation_id,
13623
+ :dry_run)
13624
+ SENSITIVE = []
13625
+ include Aws::Structure
13626
+ end
13627
+
13628
+ # @!attribute [rw] deleted_subnet_cidr_reservation
13629
+ # Information about the deleted subnet CIDR reservation.
13630
+ # @return [Types::SubnetCidrReservation]
13631
+ #
13632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetCidrReservationResult AWS API Documentation
13633
+ #
13634
+ class DeleteSubnetCidrReservationResult < Struct.new(
13635
+ :deleted_subnet_cidr_reservation)
13636
+ SENSITIVE = []
13637
+ include Aws::Structure
13638
+ end
13639
+
13401
13640
  # @note When making an API call, you may pass DeleteSubnetRequest
13402
13641
  # data as a hash:
13403
13642
  #
@@ -15234,8 +15473,7 @@ module Aws::EC2
15234
15473
  # * `state` - The state of the carrier gateway (`pending` \| `failed`
15235
15474
  # \| `available` \| `deleting` \| `deleted`).
15236
15475
  #
15237
- # * `owner-id` - The AWS account ID of the owner of the carrier
15238
- # gateway.
15476
+ # * `owner-id` - The account ID of the owner of the carrier gateway.
15239
15477
  #
15240
15478
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned
15241
15479
  # to the resource. Use the tag key in the filter name and the tag
@@ -16018,8 +16256,7 @@ module Aws::EC2
16018
16256
  #
16019
16257
  # * `value` - The value for one of the options.
16020
16258
  #
16021
- # * `owner-id` - The ID of the AWS account that owns the DHCP options
16022
- # set.
16259
+ # * `owner-id` - The ID of the account that owns the DHCP options set.
16023
16260
  #
16024
16261
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned
16025
16262
  # to the resource. Use the tag key in the filter name and the tag
@@ -18965,8 +19202,7 @@ module Aws::EC2
18965
19202
  #
18966
19203
  # * `internet-gateway-id` - The ID of the Internet gateway.
18967
19204
  #
18968
- # * `owner-id` - The ID of the AWS account that owns the internet
18969
- # gateway.
19205
+ # * `owner-id` - The ID of the account that owns the internet gateway.
18970
19206
  #
18971
19207
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned
18972
19208
  # to the resource. Use the tag key in the filter name and the tag
@@ -20198,7 +20434,7 @@ module Aws::EC2
20198
20434
  #
20199
20435
  # * `network-acl-id` - The ID of the network ACL.
20200
20436
  #
20201
- # * `owner-id` - The ID of the AWS account that owns the network ACL.
20437
+ # * `owner-id` - The ID of the account that owns the network ACL.
20202
20438
  #
20203
20439
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned
20204
20440
  # to the resource. Use the tag key in the filter name and the tag
@@ -21737,7 +21973,7 @@ module Aws::EC2
21737
21973
  # route table for the VPC (`true` \| `false`). Route tables that do
21738
21974
  # not have an association ID are not returned in the response.
21739
21975
  #
21740
- # * `owner-id` - The ID of the AWS account that owns the route table.
21976
+ # * `owner-id` - The ID of the account that owns the route table.
21741
21977
  #
21742
21978
  # * `route-table-id` - The ID of the route table.
21743
21979
  #
@@ -21747,8 +21983,8 @@ module Aws::EC2
21747
21983
  # * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range
21748
21984
  # specified in a route in the route table.
21749
21985
  #
21750
- # * `route.destination-prefix-list-id` - The ID (prefix) of the AWS
21751
- # service specified in a route in the table.
21986
+ # * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
21987
+ # Web Service specified in a route in the table.
21752
21988
  #
21753
21989
  # * `route.egress-only-internet-gateway-id` - The ID of an egress-only
21754
21990
  # Internet gateway specified in a route in the route table.
@@ -23329,7 +23565,7 @@ module Aws::EC2
23329
23565
  #
23330
23566
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
23331
23567
  #
23332
- # * `owner-id` - The ID of the AWS account that owns the subnet.
23568
+ # * `owner-id` - The ID of the account that owns the subnet.
23333
23569
  #
23334
23570
  # * `state` - The state of the subnet (`pending` \| `available`).
23335
23571
  #
@@ -25667,8 +25903,8 @@ module Aws::EC2
25667
25903
  # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the
25668
25904
  # accepter VPC.
25669
25905
  #
25670
- # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
25671
- # the accepter VPC.
25906
+ # * `accepter-vpc-info.owner-id` - The ID of the account that owns the
25907
+ # accepter VPC.
25672
25908
  #
25673
25909
  # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
25674
25910
  #
@@ -25678,7 +25914,7 @@ module Aws::EC2
25678
25914
  # * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
25679
25915
  # requester's VPC.
25680
25916
  #
25681
- # * `requester-vpc-info.owner-id` - The AWS account ID of the owner of
25917
+ # * `requester-vpc-info.owner-id` - The ID of the account that owns
25682
25918
  # the requester VPC.
25683
25919
  #
25684
25920
  # * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
@@ -25804,9 +26040,9 @@ module Aws::EC2
25804
26040
  # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
25805
26041
  # block associated with the VPC.
25806
26042
  #
25807
- # * `isDefault` - Indicates whether the VPC is the default VPC.
26043
+ # * `is-default` - Indicates whether the VPC is the default VPC.
25808
26044
  #
25809
- # * `owner-id` - The ID of the AWS account that owns the VPC.
26045
+ # * `owner-id` - The ID of the account that owns the VPC.
25810
26046
  #
25811
26047
  # * `state` - The state of the VPC (`pending` \| `available`).
25812
26048
  #
@@ -26317,7 +26553,7 @@ module Aws::EC2
26317
26553
  # @return [String]
26318
26554
  #
26319
26555
  # @!attribute [rw] owner_id
26320
- # The ID of the AWS account that owns the DHCP options set.
26556
+ # The ID of the account that owns the DHCP options set.
26321
26557
  # @return [String]
26322
26558
  #
26323
26559
  # @!attribute [rw] tags
@@ -31529,6 +31765,97 @@ module Aws::EC2
31529
31765
  include Aws::Structure
31530
31766
  end
31531
31767
 
31768
+ # @note When making an API call, you may pass GetSubnetCidrReservationsRequest
31769
+ # data as a hash:
31770
+ #
31771
+ # {
31772
+ # filters: [
31773
+ # {
31774
+ # name: "String",
31775
+ # values: ["String"],
31776
+ # },
31777
+ # ],
31778
+ # subnet_id: "SubnetId", # required
31779
+ # dry_run: false,
31780
+ # next_token: "String",
31781
+ # max_results: 1,
31782
+ # }
31783
+ #
31784
+ # @!attribute [rw] filters
31785
+ # One or more filters.
31786
+ #
31787
+ # * `reservationType` - The type of reservation (`prefix` \|
31788
+ # `explicit`).
31789
+ #
31790
+ # * `subnet-id` - The ID of the subnet.
31791
+ #
31792
+ # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned
31793
+ # to the resource. Use the tag key in the filter name and the tag
31794
+ # value as the filter value. For example, to find all resources that
31795
+ # have a tag with the key `Owner` and the value `TeamA`, specify
31796
+ # `tag:Owner` for the filter name and `TeamA` for the filter value.
31797
+ #
31798
+ # * `tag-key` - The key of a tag assigned to the resource. Use this
31799
+ # filter to find all resources assigned a tag with a specific key,
31800
+ # regardless of the tag value.
31801
+ # @return [Array<Types::Filter>]
31802
+ #
31803
+ # @!attribute [rw] subnet_id
31804
+ # The ID of the subnet.
31805
+ # @return [String]
31806
+ #
31807
+ # @!attribute [rw] dry_run
31808
+ # Checks whether you have the required permissions for the action,
31809
+ # without actually making the request, and provides an error response.
31810
+ # If you have the required permissions, the error response is
31811
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31812
+ # @return [Boolean]
31813
+ #
31814
+ # @!attribute [rw] next_token
31815
+ # The token for the next page of results.
31816
+ # @return [String]
31817
+ #
31818
+ # @!attribute [rw] max_results
31819
+ # The maximum number of results to return with a single call. To
31820
+ # retrieve the remaining results, make another call with the returned
31821
+ # `nextToken` value.
31822
+ # @return [Integer]
31823
+ #
31824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSubnetCidrReservationsRequest AWS API Documentation
31825
+ #
31826
+ class GetSubnetCidrReservationsRequest < Struct.new(
31827
+ :filters,
31828
+ :subnet_id,
31829
+ :dry_run,
31830
+ :next_token,
31831
+ :max_results)
31832
+ SENSITIVE = []
31833
+ include Aws::Structure
31834
+ end
31835
+
31836
+ # @!attribute [rw] subnet_ipv_4_cidr_reservations
31837
+ # Information about the IPv4 subnet CIDR reservations.
31838
+ # @return [Array<Types::SubnetCidrReservation>]
31839
+ #
31840
+ # @!attribute [rw] subnet_ipv_6_cidr_reservations
31841
+ # Information about the IPv6 subnet CIDR reservations.
31842
+ # @return [Array<Types::SubnetCidrReservation>]
31843
+ #
31844
+ # @!attribute [rw] next_token
31845
+ # The token to use to retrieve the next page of results. This value is
31846
+ # `null` when there are no more results to return.
31847
+ # @return [String]
31848
+ #
31849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSubnetCidrReservationsResult AWS API Documentation
31850
+ #
31851
+ class GetSubnetCidrReservationsResult < Struct.new(
31852
+ :subnet_ipv_4_cidr_reservations,
31853
+ :subnet_ipv_6_cidr_reservations,
31854
+ :next_token)
31855
+ SENSITIVE = []
31856
+ include Aws::Structure
31857
+ end
31858
+
31532
31859
  # @note When making an API call, you may pass GetTransitGatewayAttachmentPropagationsRequest
31533
31860
  # data as a hash:
31534
31861
  #
@@ -34874,6 +35201,21 @@ module Aws::EC2
34874
35201
  include Aws::Structure
34875
35202
  end
34876
35203
 
35204
+ # Information about an IPv4 delegated prefix.
35205
+ #
35206
+ # @!attribute [rw] ipv_4_prefix
35207
+ # One or more IPv4 delegated prefixes assigned to the network
35208
+ # interface.
35209
+ # @return [String]
35210
+ #
35211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceIpv4Prefix AWS API Documentation
35212
+ #
35213
+ class InstanceIpv4Prefix < Struct.new(
35214
+ :ipv_4_prefix)
35215
+ SENSITIVE = []
35216
+ include Aws::Structure
35217
+ end
35218
+
34877
35219
  # Describes an IPv6 address.
34878
35220
  #
34879
35221
  # @note When making an API call, you may pass InstanceIpv6Address
@@ -34916,6 +35258,21 @@ module Aws::EC2
34916
35258
  include Aws::Structure
34917
35259
  end
34918
35260
 
35261
+ # Information about an IPv6 delegated prefix.
35262
+ #
35263
+ # @!attribute [rw] ipv_6_prefix
35264
+ # One or more IPv6 delegated prefixes assigned to the network
35265
+ # interface.
35266
+ # @return [String]
35267
+ #
35268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceIpv6Prefix AWS API Documentation
35269
+ #
35270
+ class InstanceIpv6Prefix < Struct.new(
35271
+ :ipv_6_prefix)
35272
+ SENSITIVE = []
35273
+ include Aws::Structure
35274
+ end
35275
+
34919
35276
  # Describes the market (purchasing) option for the instances.
34920
35277
  #
34921
35278
  # @note When making an API call, you may pass InstanceMarketOptionsRequest
@@ -35160,6 +35517,16 @@ module Aws::EC2
35160
35517
  # Valid values: `interface` \| `efa` \| `trunk`
35161
35518
  # @return [String]
35162
35519
  #
35520
+ # @!attribute [rw] ipv_4_prefixes
35521
+ # The IPv4 delegated prefixes that are assigned to the network
35522
+ # interface.
35523
+ # @return [Array<Types::InstanceIpv4Prefix>]
35524
+ #
35525
+ # @!attribute [rw] ipv_6_prefixes
35526
+ # The IPv6 delegated prefixes that are assigned to the network
35527
+ # interface.
35528
+ # @return [Array<Types::InstanceIpv6Prefix>]
35529
+ #
35163
35530
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterface AWS API Documentation
35164
35531
  #
35165
35532
  class InstanceNetworkInterface < Struct.new(
@@ -35178,7 +35545,9 @@ module Aws::EC2
35178
35545
  :status,
35179
35546
  :subnet_id,
35180
35547
  :vpc_id,
35181
- :interface_type)
35548
+ :interface_type,
35549
+ :ipv_4_prefixes,
35550
+ :ipv_6_prefixes)
35182
35551
  SENSITIVE = []
35183
35552
  include Aws::Structure
35184
35553
  end
@@ -35284,6 +35653,18 @@ module Aws::EC2
35284
35653
  # associate_carrier_ip_address: false,
35285
35654
  # interface_type: "String",
35286
35655
  # network_card_index: 1,
35656
+ # ipv_4_prefixes: [
35657
+ # {
35658
+ # ipv_4_prefix: "String",
35659
+ # },
35660
+ # ],
35661
+ # ipv_4_prefix_count: 1,
35662
+ # ipv_6_prefixes: [
35663
+ # {
35664
+ # ipv_6_prefix: "String",
35665
+ # },
35666
+ # ],
35667
+ # ipv_6_prefix_count: 1,
35287
35668
  # }
35288
35669
  #
35289
35670
  # @!attribute [rw] associate_public_ip_address
@@ -35410,6 +35791,30 @@ module Aws::EC2
35410
35791
  # network card index 0. The default is network card index 0.
35411
35792
  # @return [Integer]
35412
35793
  #
35794
+ # @!attribute [rw] ipv_4_prefixes
35795
+ # One or more IPv4 delegated prefixes to be assigned to the network
35796
+ # interface. You cannot use this option if you use the
35797
+ # `Ipv4PrefixCount` option.
35798
+ # @return [Array<Types::Ipv4PrefixSpecificationRequest>]
35799
+ #
35800
+ # @!attribute [rw] ipv_4_prefix_count
35801
+ # The number of IPv4 delegated prefixes to be automatically assigned
35802
+ # to the network interface. You cannot use this option if you use the
35803
+ # `Ipv4Prefix` option.
35804
+ # @return [Integer]
35805
+ #
35806
+ # @!attribute [rw] ipv_6_prefixes
35807
+ # One or more IPv6 delegated prefixes to be assigned to the network
35808
+ # interface. You cannot use this option if you use the
35809
+ # `Ipv6PrefixCount` option.
35810
+ # @return [Array<Types::Ipv6PrefixSpecificationRequest>]
35811
+ #
35812
+ # @!attribute [rw] ipv_6_prefix_count
35813
+ # The number of IPv6 delegated prefixes to be automatically assigned
35814
+ # to the network interface. You cannot use this option if you use the
35815
+ # `Ipv6Prefix` option.
35816
+ # @return [Integer]
35817
+ #
35413
35818
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceSpecification AWS API Documentation
35414
35819
  #
35415
35820
  class InstanceNetworkInterfaceSpecification < Struct.new(
@@ -35427,7 +35832,11 @@ module Aws::EC2
35427
35832
  :subnet_id,
35428
35833
  :associate_carrier_ip_address,
35429
35834
  :interface_type,
35430
- :network_card_index)
35835
+ :network_card_index,
35836
+ :ipv_4_prefixes,
35837
+ :ipv_4_prefix_count,
35838
+ :ipv_6_prefixes,
35839
+ :ipv_6_prefix_count)
35431
35840
  SENSITIVE = []
35432
35841
  include Aws::Structure
35433
35842
  end
@@ -35973,7 +36382,7 @@ module Aws::EC2
35973
36382
  # @return [String]
35974
36383
  #
35975
36384
  # @!attribute [rw] owner_id
35976
- # The ID of the AWS account that owns the internet gateway.
36385
+ # The ID of the account that owns the internet gateway.
35977
36386
  # @return [String]
35978
36387
  #
35979
36388
  # @!attribute [rw] tags
@@ -36146,6 +36555,67 @@ module Aws::EC2
36146
36555
  include Aws::Structure
36147
36556
  end
36148
36557
 
36558
+ # Describes an IPv4 Prefix Delegation.
36559
+ #
36560
+ # @!attribute [rw] ipv_4_prefix
36561
+ # The IPv4 Prefix Delegation prefix. For information, see [Prefix
36562
+ # Delegation][1] in the *Amazon Elastic Compute Cloud User Guide*.
36563
+ #
36564
+ #
36565
+ #
36566
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation
36567
+ # @return [String]
36568
+ #
36569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv4PrefixSpecification AWS API Documentation
36570
+ #
36571
+ class Ipv4PrefixSpecification < Struct.new(
36572
+ :ipv_4_prefix)
36573
+ SENSITIVE = []
36574
+ include Aws::Structure
36575
+ end
36576
+
36577
+ # Describes the IPv4 Prefix Delegation option for a network interface.
36578
+ #
36579
+ # @note When making an API call, you may pass Ipv4PrefixSpecificationRequest
36580
+ # data as a hash:
36581
+ #
36582
+ # {
36583
+ # ipv_4_prefix: "String",
36584
+ # }
36585
+ #
36586
+ # @!attribute [rw] ipv_4_prefix
36587
+ # The IPv4 Prefix Delegation prefix. For information, see [Prefix
36588
+ # Delegation][1] in the *Amazon Elastic Compute Cloud User Guide*.
36589
+ #
36590
+ #
36591
+ #
36592
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-prefix-delegation
36593
+ # @return [String]
36594
+ #
36595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv4PrefixSpecificationRequest AWS API Documentation
36596
+ #
36597
+ class Ipv4PrefixSpecificationRequest < Struct.new(
36598
+ :ipv_4_prefix)
36599
+ SENSITIVE = []
36600
+ include Aws::Structure
36601
+ end
36602
+
36603
+ # Information about the IPv4 delegated prefixes assigned to a network
36604
+ # interface.
36605
+ #
36606
+ # @!attribute [rw] ipv_4_prefix
36607
+ # One or more IPv4 delegated prefixes assigned to the network
36608
+ # interface.
36609
+ # @return [String]
36610
+ #
36611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv4PrefixSpecificationResponse AWS API Documentation
36612
+ #
36613
+ class Ipv4PrefixSpecificationResponse < Struct.new(
36614
+ :ipv_4_prefix)
36615
+ SENSITIVE = []
36616
+ include Aws::Structure
36617
+ end
36618
+
36149
36619
  # Describes an IPv6 CIDR block association.
36150
36620
  #
36151
36621
  # @!attribute [rw] ipv_6_cidr
@@ -36208,6 +36678,57 @@ module Aws::EC2
36208
36678
  include Aws::Structure
36209
36679
  end
36210
36680
 
36681
+ # Describes the IPv6 Prefix Delegation.
36682
+ #
36683
+ # @!attribute [rw] ipv_6_prefix
36684
+ # The IPv6 Prefix Delegation prefix.
36685
+ # @return [String]
36686
+ #
36687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6PrefixSpecification AWS API Documentation
36688
+ #
36689
+ class Ipv6PrefixSpecification < Struct.new(
36690
+ :ipv_6_prefix)
36691
+ SENSITIVE = []
36692
+ include Aws::Structure
36693
+ end
36694
+
36695
+ # Describes the IPv4 Prefix Delegation option for a network interface.
36696
+ #
36697
+ # @note When making an API call, you may pass Ipv6PrefixSpecificationRequest
36698
+ # data as a hash:
36699
+ #
36700
+ # {
36701
+ # ipv_6_prefix: "String",
36702
+ # }
36703
+ #
36704
+ # @!attribute [rw] ipv_6_prefix
36705
+ # The IPv6 Prefix Delegation prefix.
36706
+ # @return [String]
36707
+ #
36708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6PrefixSpecificationRequest AWS API Documentation
36709
+ #
36710
+ class Ipv6PrefixSpecificationRequest < Struct.new(
36711
+ :ipv_6_prefix)
36712
+ SENSITIVE = []
36713
+ include Aws::Structure
36714
+ end
36715
+
36716
+ # Information about the IPv6 delegated prefixes assigned to a network
36717
+ # interface.
36718
+ #
36719
+ # @!attribute [rw] ipv_6_prefix
36720
+ # One or more IPv6 delegated prefixes assigned to the network
36721
+ # interface.
36722
+ # @return [String]
36723
+ #
36724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6PrefixSpecificationResponse AWS API Documentation
36725
+ #
36726
+ class Ipv6PrefixSpecificationResponse < Struct.new(
36727
+ :ipv_6_prefix)
36728
+ SENSITIVE = []
36729
+ include Aws::Structure
36730
+ end
36731
+
36211
36732
  # \[EC2-VPC only\] Describes an IPv6 range.
36212
36733
  #
36213
36734
  # @note When making an API call, you may pass Ipv6Range
@@ -36820,8 +37341,7 @@ module Aws::EC2
36820
37341
  # @return [Integer]
36821
37342
  #
36822
37343
  # @!attribute [rw] kms_key_id
36823
- # The ARN of the AWS Key Management Service (AWS KMS) CMK used for
36824
- # encryption.
37344
+ # The ARN of the Key Management Service (KMS) CMK used for encryption.
36825
37345
  # @return [String]
36826
37346
  #
36827
37347
  # @!attribute [rw] snapshot_id
@@ -36911,8 +37431,8 @@ module Aws::EC2
36911
37431
  # @return [Integer]
36912
37432
  #
36913
37433
  # @!attribute [rw] kms_key_id
36914
- # The ARN of the symmetric AWS Key Management Service (AWS KMS) CMK
36915
- # used for encryption.
37434
+ # The ARN of the symmetric Key Management Service (KMS) CMK used for
37435
+ # encryption.
36916
37436
  # @return [String]
36917
37437
  #
36918
37438
  # @!attribute [rw] snapshot_id
@@ -37018,11 +37538,13 @@ module Aws::EC2
37018
37538
  include Aws::Structure
37019
37539
  end
37020
37540
 
37021
- # Indicates whether the instance is enabled for AWS Nitro Enclaves.
37541
+ # Indicates whether the instance is enabled for Amazon Web Services
37542
+ # Nitro Enclaves.
37022
37543
  #
37023
37544
  # @!attribute [rw] enabled
37024
- # If this parameter is set to `true`, the instance is enabled for AWS
37025
- # Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
37545
+ # If this parameter is set to `true`, the instance is enabled for
37546
+ # Amazon Web Services Nitro Enclaves; otherwise, it is not enabled for
37547
+ # Amazon Web Services Nitro Enclaves.
37026
37548
  # @return [Boolean]
37027
37549
  #
37028
37550
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEnclaveOptions AWS API Documentation
@@ -37033,9 +37555,10 @@ module Aws::EC2
37033
37555
  include Aws::Structure
37034
37556
  end
37035
37557
 
37036
- # Indicates whether the instance is enabled for AWS Nitro Enclaves. For
37037
- # more information, see [ What is AWS Nitro Enclaves?][1] in the *AWS
37038
- # Nitro Enclaves User Guide*.
37558
+ # Indicates whether the instance is enabled for Amazon Web Services
37559
+ # Nitro Enclaves. For more information, see [ What is Amazon Web
37560
+ # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
37561
+ # Enclaves User Guide*.
37039
37562
  #
37040
37563
  #
37041
37564
  #
@@ -37049,8 +37572,8 @@ module Aws::EC2
37049
37572
  # }
37050
37573
  #
37051
37574
  # @!attribute [rw] enabled
37052
- # To enable the instance for AWS Nitro Enclaves, set this parameter to
37053
- # `true`.
37575
+ # To enable the instance for Amazon Web Services Nitro Enclaves, set
37576
+ # this parameter to `true`.
37054
37577
  # @return [Boolean]
37055
37578
  #
37056
37579
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEnclaveOptionsRequest AWS API Documentation
@@ -37347,7 +37870,7 @@ module Aws::EC2
37347
37870
  # Use this option when you launch an instance in a Wavelength Zone and
37348
37871
  # want to associate a Carrier IP address with the network interface.
37349
37872
  # For more information about Carrier IP addresses, see [Carrier IP
37350
- # addresses][1] in the *AWS Wavelength Developer Guide*.
37873
+ # addresses][1] in the *Wavelength Developer Guide*.
37351
37874
  #
37352
37875
  #
37353
37876
  #
@@ -37413,6 +37936,26 @@ module Aws::EC2
37413
37936
  # The index of the network card.
37414
37937
  # @return [Integer]
37415
37938
  #
37939
+ # @!attribute [rw] ipv_4_prefixes
37940
+ # One or more IPv4 delegated prefixes assigned to the network
37941
+ # interface.
37942
+ # @return [Array<Types::Ipv4PrefixSpecificationResponse>]
37943
+ #
37944
+ # @!attribute [rw] ipv_4_prefix_count
37945
+ # The number of IPv4 delegated prefixes that AWS automatically
37946
+ # assigned to the network interface.
37947
+ # @return [Integer]
37948
+ #
37949
+ # @!attribute [rw] ipv_6_prefixes
37950
+ # One or more IPv6 delegated prefixes assigned to the network
37951
+ # interface.
37952
+ # @return [Array<Types::Ipv6PrefixSpecificationResponse>]
37953
+ #
37954
+ # @!attribute [rw] ipv_6_prefix_count
37955
+ # The number of IPv6 delegated prefixes that AWS automatically
37956
+ # assigned to the network interface.
37957
+ # @return [Integer]
37958
+ #
37416
37959
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecification AWS API Documentation
37417
37960
  #
37418
37961
  class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
@@ -37430,7 +37973,11 @@ module Aws::EC2
37430
37973
  :private_ip_addresses,
37431
37974
  :secondary_private_ip_address_count,
37432
37975
  :subnet_id,
37433
- :network_card_index)
37976
+ :network_card_index,
37977
+ :ipv_4_prefixes,
37978
+ :ipv_4_prefix_count,
37979
+ :ipv_6_prefixes,
37980
+ :ipv_6_prefix_count)
37434
37981
  SENSITIVE = []
37435
37982
  include Aws::Structure
37436
37983
  end
@@ -37465,6 +38012,18 @@ module Aws::EC2
37465
38012
  # secondary_private_ip_address_count: 1,
37466
38013
  # subnet_id: "SubnetId",
37467
38014
  # network_card_index: 1,
38015
+ # ipv_4_prefixes: [
38016
+ # {
38017
+ # ipv_4_prefix: "String",
38018
+ # },
38019
+ # ],
38020
+ # ipv_4_prefix_count: 1,
38021
+ # ipv_6_prefixes: [
38022
+ # {
38023
+ # ipv_6_prefix: "String",
38024
+ # },
38025
+ # ],
38026
+ # ipv_6_prefix_count: 1,
37468
38027
  # }
37469
38028
  #
37470
38029
  # @!attribute [rw] associate_carrier_ip_address
@@ -37474,7 +38033,7 @@ module Aws::EC2
37474
38033
  # Use this option when you launch an instance in a Wavelength Zone and
37475
38034
  # want to associate a Carrier IP address with the network interface.
37476
38035
  # For more information about Carrier IP addresses, see [Carrier IP
37477
- # addresses][1] in the *AWS Wavelength Developer Guide*.
38036
+ # addresses][1] in the *Wavelength Developer Guide*.
37478
38037
  #
37479
38038
  #
37480
38039
  #
@@ -37558,6 +38117,30 @@ module Aws::EC2
37558
38117
  # network card index 0. The default is network card index 0.
37559
38118
  # @return [Integer]
37560
38119
  #
38120
+ # @!attribute [rw] ipv_4_prefixes
38121
+ # One or more IPv4 delegated prefixes to be assigned to the network
38122
+ # interface. You cannot use this option if you use the
38123
+ # `Ipv4PrefixCount` option.
38124
+ # @return [Array<Types::Ipv4PrefixSpecificationRequest>]
38125
+ #
38126
+ # @!attribute [rw] ipv_4_prefix_count
38127
+ # The number of IPv4 delegated prefixes to be automatically assigned
38128
+ # to the network interface. You cannot use this option if you use the
38129
+ # `Ipv4Prefix` option.
38130
+ # @return [Integer]
38131
+ #
38132
+ # @!attribute [rw] ipv_6_prefixes
38133
+ # One or more IPv6 delegated prefixes to be assigned to the network
38134
+ # interface. You cannot use this option if you use the
38135
+ # `Ipv6PrefixCount` option.
38136
+ # @return [Array<Types::Ipv6PrefixSpecificationRequest>]
38137
+ #
38138
+ # @!attribute [rw] ipv_6_prefix_count
38139
+ # The number of IPv6 delegated prefixes to be automatically assigned
38140
+ # to the network interface. You cannot use this option if you use the
38141
+ # `Ipv6Prefix` option.
38142
+ # @return [Integer]
38143
+ #
37561
38144
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecificationRequest AWS API Documentation
37562
38145
  #
37563
38146
  class LaunchTemplateInstanceNetworkInterfaceSpecificationRequest < Struct.new(
@@ -37575,7 +38158,11 @@ module Aws::EC2
37575
38158
  :private_ip_addresses,
37576
38159
  :secondary_private_ip_address_count,
37577
38160
  :subnet_id,
37578
- :network_card_index)
38161
+ :network_card_index,
38162
+ :ipv_4_prefixes,
38163
+ :ipv_4_prefix_count,
38164
+ :ipv_6_prefixes,
38165
+ :ipv_6_prefix_count)
37579
38166
  SENSITIVE = []
37580
38167
  include Aws::Structure
37581
38168
  end
@@ -42711,7 +43298,7 @@ module Aws::EC2
42711
43298
  # @return [String]
42712
43299
  #
42713
43300
  # @!attribute [rw] owner_id
42714
- # The ID of the AWS account that owns the network ACL.
43301
+ # The ID of the account that owns the network ACL.
42715
43302
  # @return [String]
42716
43303
  #
42717
43304
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAcl AWS API Documentation
@@ -42908,8 +43495,8 @@ module Aws::EC2
42908
43495
  # @return [String]
42909
43496
  #
42910
43497
  # @!attribute [rw] filter_in_arns
42911
- # The Amazon Resource Names (ARN) of the AWS resources that the path
42912
- # must traverse.
43498
+ # The Amazon Resource Names (ARN) of the Amazon Web Services resources
43499
+ # that the path must traverse.
42913
43500
  # @return [Array<String>]
42914
43501
  #
42915
43502
  # @!attribute [rw] start_date
@@ -42988,20 +43575,22 @@ module Aws::EC2
42988
43575
  # @return [Time]
42989
43576
  #
42990
43577
  # @!attribute [rw] source
42991
- # The AWS resource that is the source of the path.
43578
+ # The Amazon Web Services resource that is the source of the path.
42992
43579
  # @return [String]
42993
43580
  #
42994
43581
  # @!attribute [rw] destination
42995
- # The AWS resource that is the destination of the path.
43582
+ # The Amazon Web Services resource that is the destination of the
43583
+ # path.
42996
43584
  # @return [String]
42997
43585
  #
42998
43586
  # @!attribute [rw] source_ip
42999
- # The IP address of the AWS resource that is the source of the path.
43587
+ # The IP address of the Amazon Web Services resource that is the
43588
+ # source of the path.
43000
43589
  # @return [String]
43001
43590
  #
43002
43591
  # @!attribute [rw] destination_ip
43003
- # The IP address of the AWS resource that is the destination of the
43004
- # path.
43592
+ # The IP address of the Amazon Web Services resource that is the
43593
+ # destination of the path.
43005
43594
  # @return [String]
43006
43595
  #
43007
43596
  # @!attribute [rw] protocol
@@ -43092,6 +43681,16 @@ module Aws::EC2
43092
43681
  # The private IPv4 addresses associated with the network interface.
43093
43682
  # @return [Array<Types::NetworkInterfacePrivateIpAddress>]
43094
43683
  #
43684
+ # @!attribute [rw] ipv_4_prefixes
43685
+ # The IPv4 Prefix Delegation prefixes that are assigned to the network
43686
+ # interface.
43687
+ # @return [Array<Types::Ipv4PrefixSpecification>]
43688
+ #
43689
+ # @!attribute [rw] ipv_6_prefixes
43690
+ # The IPv6 Prefix Delegation prefixes that are assigned to the network
43691
+ # interface.
43692
+ # @return [Array<Types::Ipv6PrefixSpecification>]
43693
+ #
43095
43694
  # @!attribute [rw] requester_id
43096
43695
  # The alias or account ID of the principal or service that created the
43097
43696
  # network interface.
@@ -43139,6 +43738,8 @@ module Aws::EC2
43139
43738
  :private_dns_name,
43140
43739
  :private_ip_address,
43141
43740
  :private_ip_addresses,
43741
+ :ipv_4_prefixes,
43742
+ :ipv_6_prefixes,
43142
43743
  :requester_id,
43143
43744
  :requester_managed,
43144
43745
  :source_dest_check,
@@ -46527,6 +47128,18 @@ module Aws::EC2
46527
47128
  # secondary_private_ip_address_count: 1,
46528
47129
  # subnet_id: "SubnetId",
46529
47130
  # network_card_index: 1,
47131
+ # ipv_4_prefixes: [
47132
+ # {
47133
+ # ipv_4_prefix: "String",
47134
+ # },
47135
+ # ],
47136
+ # ipv_4_prefix_count: 1,
47137
+ # ipv_6_prefixes: [
47138
+ # {
47139
+ # ipv_6_prefix: "String",
47140
+ # },
47141
+ # ],
47142
+ # ipv_6_prefix_count: 1,
46530
47143
  # },
46531
47144
  # ],
46532
47145
  # image_id: "ImageId",
@@ -46800,8 +47413,8 @@ module Aws::EC2
46800
47413
  # @!attribute [rw] hibernation_options
46801
47414
  # Indicates whether an instance is enabled for hibernation. This
46802
47415
  # parameter is valid only if the instance meets the [hibernation
46803
- # prerequisites][1]. For more information, see [Hibernate Your
46804
- # Instance][2] in the *Amazon Elastic Compute Cloud User Guide*.
47416
+ # prerequisites][1]. For more information, see [Hibernate your
47417
+ # instance][2] in the *Amazon Elastic Compute Cloud User Guide*.
46805
47418
  #
46806
47419
  #
46807
47420
  #
@@ -46811,7 +47424,7 @@ module Aws::EC2
46811
47424
  #
46812
47425
  # @!attribute [rw] metadata_options
46813
47426
  # The metadata options for the instance. For more information, see
46814
- # [Instance Metadata and User Data][1] in the *Amazon Elastic Compute
47427
+ # [Instance metadata and user data][1] in the *Amazon Elastic Compute
46815
47428
  # Cloud User Guide*.
46816
47429
  #
46817
47430
  #
@@ -46820,12 +47433,13 @@ module Aws::EC2
46820
47433
  # @return [Types::LaunchTemplateInstanceMetadataOptionsRequest]
46821
47434
  #
46822
47435
  # @!attribute [rw] enclave_options
46823
- # Indicates whether the instance is enabled for AWS Nitro Enclaves.
46824
- # For more information, see [ What is AWS Nitro Enclaves?][1] in the
46825
- # *AWS Nitro Enclaves User Guide*.
47436
+ # Indicates whether the instance is enabled for Amazon Web Services
47437
+ # Nitro Enclaves. For more information, see [ What is Amazon Web
47438
+ # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
47439
+ # Enclaves User Guide*.
46826
47440
  #
46827
- # You can't enable AWS Nitro Enclaves and hibernation on the same
46828
- # instance.
47441
+ # You can't enable Amazon Web Services Nitro Enclaves and hibernation
47442
+ # on the same instance.
46829
47443
  #
46830
47444
  #
46831
47445
  #
@@ -46951,6 +47565,18 @@ module Aws::EC2
46951
47565
  # associate_carrier_ip_address: false,
46952
47566
  # interface_type: "String",
46953
47567
  # network_card_index: 1,
47568
+ # ipv_4_prefixes: [
47569
+ # {
47570
+ # ipv_4_prefix: "String",
47571
+ # },
47572
+ # ],
47573
+ # ipv_4_prefix_count: 1,
47574
+ # ipv_6_prefixes: [
47575
+ # {
47576
+ # ipv_6_prefix: "String",
47577
+ # },
47578
+ # ],
47579
+ # ipv_6_prefix_count: 1,
46954
47580
  # },
46955
47581
  # ],
46956
47582
  # placement: {
@@ -47144,6 +47770,18 @@ module Aws::EC2
47144
47770
  # associate_carrier_ip_address: false,
47145
47771
  # interface_type: "String",
47146
47772
  # network_card_index: 1,
47773
+ # ipv_4_prefixes: [
47774
+ # {
47775
+ # ipv_4_prefix: "String",
47776
+ # },
47777
+ # ],
47778
+ # ipv_4_prefix_count: 1,
47779
+ # ipv_6_prefixes: [
47780
+ # {
47781
+ # ipv_6_prefix: "String",
47782
+ # },
47783
+ # ],
47784
+ # ipv_6_prefix_count: 1,
47147
47785
  # },
47148
47786
  # ],
47149
47787
  # placement: {
@@ -47390,6 +48028,18 @@ module Aws::EC2
47390
48028
  # associate_carrier_ip_address: false,
47391
48029
  # interface_type: "String",
47392
48030
  # network_card_index: 1,
48031
+ # ipv_4_prefixes: [
48032
+ # {
48033
+ # ipv_4_prefix: "String",
48034
+ # },
48035
+ # ],
48036
+ # ipv_4_prefix_count: 1,
48037
+ # ipv_6_prefixes: [
48038
+ # {
48039
+ # ipv_6_prefix: "String",
48040
+ # },
48041
+ # ],
48042
+ # ipv_6_prefix_count: 1,
47393
48043
  # },
47394
48044
  # ],
47395
48045
  # placement: {
@@ -48414,7 +49064,7 @@ module Aws::EC2
48414
49064
  #
48415
49065
  # @!attribute [rw] cpu_options
48416
49066
  # The CPU options for the instance. For more information, see
48417
- # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud
49067
+ # [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud
48418
49068
  # User Guide*.
48419
49069
  #
48420
49070
  #
@@ -48432,7 +49082,7 @@ module Aws::EC2
48432
49082
  #
48433
49083
  # @!attribute [rw] hibernation_options
48434
49084
  # Indicates whether an instance is configured for hibernation. For
48435
- # more information, see [Hibernate Your Instance][1] in the *Amazon
49085
+ # more information, see [Hibernate your instance][1] in the *Amazon
48436
49086
  # Elastic Compute Cloud User Guide*.
48437
49087
  #
48438
49088
  #
@@ -48442,7 +49092,7 @@ module Aws::EC2
48442
49092
  #
48443
49093
  # @!attribute [rw] metadata_options
48444
49094
  # The metadata options for the instance. For more information, see
48445
- # [Instance Metadata and User Data][1] in the *Amazon Elastic Compute
49095
+ # [Instance metadata and user data][1] in the *Amazon Elastic Compute
48446
49096
  # Cloud User Guide*.
48447
49097
  #
48448
49098
  #
@@ -48451,7 +49101,8 @@ module Aws::EC2
48451
49101
  # @return [Types::LaunchTemplateInstanceMetadataOptions]
48452
49102
  #
48453
49103
  # @!attribute [rw] enclave_options
48454
- # Indicates whether the instance is enabled for AWS Nitro Enclaves.
49104
+ # Indicates whether the instance is enabled for Amazon Web Services
49105
+ # Nitro Enclaves.
48455
49106
  # @return [Types::LaunchTemplateEnclaveOptions]
48456
49107
  #
48457
49108
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
@@ -48954,7 +49605,7 @@ module Aws::EC2
48954
49605
  # @return [String]
48955
49606
  #
48956
49607
  # @!attribute [rw] destination_prefix_list_id
48957
- # The prefix of the AWS service.
49608
+ # The prefix of the Amazon Web Service.
48958
49609
  # @return [String]
48959
49610
  #
48960
49611
  # @!attribute [rw] egress_only_internet_gateway_id
@@ -48970,7 +49621,7 @@ module Aws::EC2
48970
49621
  # @return [String]
48971
49622
  #
48972
49623
  # @!attribute [rw] instance_owner_id
48973
- # The AWS account ID of the owner of the instance.
49624
+ # The ID of account that owns the instance.
48974
49625
  # @return [String]
48975
49626
  #
48976
49627
  # @!attribute [rw] nat_gateway_id
@@ -49066,7 +49717,7 @@ module Aws::EC2
49066
49717
  # @return [String]
49067
49718
  #
49068
49719
  # @!attribute [rw] owner_id
49069
- # The ID of the AWS account that owns the route table.
49720
+ # The ID of the account that owns the route table.
49070
49721
  # @return [String]
49071
49722
  #
49072
49723
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTable AWS API Documentation
@@ -49254,6 +49905,18 @@ module Aws::EC2
49254
49905
  # associate_carrier_ip_address: false,
49255
49906
  # interface_type: "String",
49256
49907
  # network_card_index: 1,
49908
+ # ipv_4_prefixes: [
49909
+ # {
49910
+ # ipv_4_prefix: "String",
49911
+ # },
49912
+ # ],
49913
+ # ipv_4_prefix_count: 1,
49914
+ # ipv_6_prefixes: [
49915
+ # {
49916
+ # ipv_6_prefix: "String",
49917
+ # },
49918
+ # ],
49919
+ # ipv_6_prefix_count: 1,
49257
49920
  # },
49258
49921
  # ],
49259
49922
  # private_ip_address: "String",
@@ -52106,6 +52769,18 @@ module Aws::EC2
52106
52769
  # associate_carrier_ip_address: false,
52107
52770
  # interface_type: "String",
52108
52771
  # network_card_index: 1,
52772
+ # ipv_4_prefixes: [
52773
+ # {
52774
+ # ipv_4_prefix: "String",
52775
+ # },
52776
+ # ],
52777
+ # ipv_4_prefix_count: 1,
52778
+ # ipv_6_prefixes: [
52779
+ # {
52780
+ # ipv_6_prefix: "String",
52781
+ # },
52782
+ # ],
52783
+ # ipv_6_prefix_count: 1,
52109
52784
  # },
52110
52785
  # ],
52111
52786
  # placement: {
@@ -52420,6 +53095,18 @@ module Aws::EC2
52420
53095
  # associate_carrier_ip_address: false,
52421
53096
  # interface_type: "String",
52422
53097
  # network_card_index: 1,
53098
+ # ipv_4_prefixes: [
53099
+ # {
53100
+ # ipv_4_prefix: "String",
53101
+ # },
53102
+ # ],
53103
+ # ipv_4_prefix_count: 1,
53104
+ # ipv_6_prefixes: [
53105
+ # {
53106
+ # ipv_6_prefix: "String",
53107
+ # },
53108
+ # ],
53109
+ # ipv_6_prefix_count: 1,
52423
53110
  # },
52424
53111
  # ],
52425
53112
  # placement: {
@@ -53531,8 +54218,8 @@ module Aws::EC2
53531
54218
  #
53532
54219
  # @!attribute [rw] client_token
53533
54220
  # Unique, case-sensitive identifier that you provide to ensure the
53534
- # idempotency of the request. For more information, see [How to Ensure
53535
- # Idempotency][1].
54221
+ # idempotency of the request. For more information, see [How to ensure
54222
+ # idempotency][1].
53536
54223
  #
53537
54224
  # **A suitable default value is auto-generated.** You should normally
53538
54225
  # not need to pass this option.
@@ -53886,7 +54573,7 @@ module Aws::EC2
53886
54573
  # @return [String]
53887
54574
  #
53888
54575
  # @!attribute [rw] owner_id
53889
- # The ID of the AWS account that owns the subnet.
54576
+ # The ID of the account that owns the subnet.
53890
54577
  # @return [String]
53891
54578
  #
53892
54579
  # @!attribute [rw] assign_ipv_6_address_on_creation
@@ -53974,6 +54661,50 @@ module Aws::EC2
53974
54661
  include Aws::Structure
53975
54662
  end
53976
54663
 
54664
+ # Describes a subnet CIDR reservation.
54665
+ #
54666
+ # @!attribute [rw] subnet_cidr_reservation_id
54667
+ # The ID of the subnet CIDR reservation.
54668
+ # @return [String]
54669
+ #
54670
+ # @!attribute [rw] subnet_id
54671
+ # The ID of the subnet.
54672
+ # @return [String]
54673
+ #
54674
+ # @!attribute [rw] cidr
54675
+ # The CIDR that has been reserved.
54676
+ # @return [String]
54677
+ #
54678
+ # @!attribute [rw] reservation_type
54679
+ # The type of reservation.
54680
+ # @return [String]
54681
+ #
54682
+ # @!attribute [rw] owner_id
54683
+ # The ID of the account that owns the subnet CIDR reservation.
54684
+ # @return [String]
54685
+ #
54686
+ # @!attribute [rw] description
54687
+ # The description assigned to the subnet CIDR reservation.
54688
+ # @return [String]
54689
+ #
54690
+ # @!attribute [rw] tags
54691
+ # The tags assigned to the subnet CIDR reservation.
54692
+ # @return [Array<Types::Tag>]
54693
+ #
54694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetCidrReservation AWS API Documentation
54695
+ #
54696
+ class SubnetCidrReservation < Struct.new(
54697
+ :subnet_cidr_reservation_id,
54698
+ :subnet_id,
54699
+ :cidr,
54700
+ :reservation_type,
54701
+ :owner_id,
54702
+ :description,
54703
+ :tags)
54704
+ SENSITIVE = []
54705
+ include Aws::Structure
54706
+ end
54707
+
53977
54708
  # Describes an IPv6 CIDR block associated with a subnet.
53978
54709
  #
53979
54710
  # @!attribute [rw] association_id
@@ -56202,23 +56933,30 @@ module Aws::EC2
56202
56933
  # data as a hash:
56203
56934
  #
56204
56935
  # {
56936
+ # ipv_6_addresses: ["String"],
56937
+ # ipv_6_prefixes: ["String"],
56205
56938
  # network_interface_id: "NetworkInterfaceId", # required
56206
- # ipv_6_addresses: ["String"], # required
56207
56939
  # }
56208
56940
  #
56209
- # @!attribute [rw] network_interface_id
56210
- # The ID of the network interface.
56211
- # @return [String]
56212
- #
56213
56941
  # @!attribute [rw] ipv_6_addresses
56214
56942
  # The IPv6 addresses to unassign from the network interface.
56215
56943
  # @return [Array<String>]
56216
56944
  #
56945
+ # @!attribute [rw] ipv_6_prefixes
56946
+ # One or moreIPv6 Prefix Delegation prefixes to unassign from the
56947
+ # network interface.
56948
+ # @return [Array<String>]
56949
+ #
56950
+ # @!attribute [rw] network_interface_id
56951
+ # The ID of the network interface.
56952
+ # @return [String]
56953
+ #
56217
56954
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesRequest AWS API Documentation
56218
56955
  #
56219
56956
  class UnassignIpv6AddressesRequest < Struct.new(
56220
- :network_interface_id,
56221
- :ipv_6_addresses)
56957
+ :ipv_6_addresses,
56958
+ :ipv_6_prefixes,
56959
+ :network_interface_id)
56222
56960
  SENSITIVE = []
56223
56961
  include Aws::Structure
56224
56962
  end
@@ -56232,11 +56970,17 @@ module Aws::EC2
56232
56970
  # interface.
56233
56971
  # @return [Array<String>]
56234
56972
  #
56973
+ # @!attribute [rw] unassigned_ipv_6_prefixes
56974
+ # The IPv4 Prefix Delegation prefixes that have been unassigned from
56975
+ # the network interface.
56976
+ # @return [Array<String>]
56977
+ #
56235
56978
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesResult AWS API Documentation
56236
56979
  #
56237
56980
  class UnassignIpv6AddressesResult < Struct.new(
56238
56981
  :network_interface_id,
56239
- :unassigned_ipv_6_addresses)
56982
+ :unassigned_ipv_6_addresses,
56983
+ :unassigned_ipv_6_prefixes)
56240
56984
  SENSITIVE = []
56241
56985
  include Aws::Structure
56242
56986
  end
@@ -56248,7 +56992,8 @@ module Aws::EC2
56248
56992
  #
56249
56993
  # {
56250
56994
  # network_interface_id: "NetworkInterfaceId", # required
56251
- # private_ip_addresses: ["String"], # required
56995
+ # private_ip_addresses: ["String"],
56996
+ # ipv_4_prefixes: ["String"],
56252
56997
  # }
56253
56998
  #
56254
56999
  # @!attribute [rw] network_interface_id
@@ -56261,11 +57006,17 @@ module Aws::EC2
56261
57006
  # more than one IP address.
56262
57007
  # @return [Array<String>]
56263
57008
  #
57009
+ # @!attribute [rw] ipv_4_prefixes
57010
+ # The IPv4 Prefix Delegation prefixes to unassign from the network
57011
+ # interface.
57012
+ # @return [Array<String>]
57013
+ #
56264
57014
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesRequest AWS API Documentation
56265
57015
  #
56266
57016
  class UnassignPrivateIpAddressesRequest < Struct.new(
56267
57017
  :network_interface_id,
56268
- :private_ip_addresses)
57018
+ :private_ip_addresses,
57019
+ :ipv_4_prefixes)
56269
57020
  SENSITIVE = []
56270
57021
  include Aws::Structure
56271
57022
  end
@@ -56372,7 +57123,7 @@ module Aws::EC2
56372
57123
  end
56373
57124
 
56374
57125
  # Information about the error that occurred. For more information about
56375
- # errors, see [Error Codes][1].
57126
+ # errors, see [Error codes][1].
56376
57127
  #
56377
57128
  #
56378
57129
  #
@@ -57308,7 +58059,7 @@ module Aws::EC2
57308
58059
  # @return [String]
57309
58060
  #
57310
58061
  # @!attribute [rw] owner_id
57311
- # The ID of the AWS account that owns the VPC.
58062
+ # The ID of the account that owns the VPC.
57312
58063
  # @return [String]
57313
58064
  #
57314
58065
  # @!attribute [rw] instance_tenancy
@@ -57724,7 +58475,7 @@ module Aws::EC2
57724
58475
  # @return [Array<Types::CidrBlock>]
57725
58476
  #
57726
58477
  # @!attribute [rw] owner_id
57727
- # The AWS account ID of the VPC owner.
58478
+ # The ID of the account that owns the VPC.
57728
58479
  # @return [String]
57729
58480
  #
57730
58481
  # @!attribute [rw] peering_options