aws-sdk-ec2 1.169.0 → 1.174.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.
@@ -900,7 +900,7 @@ module Aws::EC2
900
900
  #
901
901
  # To add instance store volumes to an Amazon EBS-backed instance, you
902
902
  # must add them when you launch the instance. For more information, see
903
- # [Updating the Block Device Mapping when Launching an Instance][1] in
903
+ # [Updating the block device mapping when launching an instance][1] in
904
904
  # the *Amazon Elastic Compute Cloud User Guide*.
905
905
  #
906
906
  #
@@ -937,7 +937,7 @@ module Aws::EC2
937
937
  # system shutdown).
938
938
  # @option options [Types::AttributeValue] :instance_type
939
939
  # Changes the instance type to the specified value. For more
940
- # information, see [Instance Types][1]. If the instance type is not
940
+ # information, see [Instance types][1]. If the instance type is not
941
941
  # valid, the error returned is `InvalidInstanceAttributeValue`.
942
942
  #
943
943
  #
@@ -1216,8 +1216,8 @@ module Aws::EC2
1216
1216
  # @option options [Boolean] :hibernate
1217
1217
  # Hibernates the instance if the instance was enabled for hibernation at
1218
1218
  # launch. If the instance cannot hibernate successfully, a normal
1219
- # shutdown occurs. For more information, see [Hibernate Your
1220
- # Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1219
+ # shutdown occurs. For more information, see [Hibernate your
1220
+ # instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1221
1221
  #
1222
1222
  # Default: `false`
1223
1223
  #
@@ -1757,8 +1757,8 @@ module Aws::EC2
1757
1757
  # @option options [Boolean] :hibernate
1758
1758
  # Hibernates the instance if the instance was enabled for hibernation at
1759
1759
  # launch. If the instance cannot hibernate successfully, a normal
1760
- # shutdown occurs. For more information, see [Hibernate Your
1761
- # Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1760
+ # shutdown occurs. For more information, see [Hibernate your
1761
+ # instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1762
1762
  #
1763
1763
  # Default: `false`
1764
1764
  #
@@ -227,7 +227,9 @@ module Aws::EC2
227
227
  # @param [Hash] options ({})
228
228
  # @option options [String] :cidr_block
229
229
  # The IPv4 network range to allow or deny, in CIDR notation (for example
230
- # `172.16.0.0/24`).
230
+ # `172.16.0.0/24`). We modify the specified CIDR block to its canonical
231
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
232
+ # `100.68.0.0/18`.
231
233
  # @option options [Boolean] :dry_run
232
234
  # Checks whether you have the required permissions for the action,
233
235
  # without actually making the request, and provides an error response.
@@ -44,11 +44,24 @@ module Aws::EC2
44
44
  # values: ["String"],
45
45
  # },
46
46
  # ],
47
+ # tag_specifications: [
48
+ # {
49
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
50
+ # tags: [
51
+ # {
52
+ # key: "String",
53
+ # value: "String",
54
+ # },
55
+ # ],
56
+ # },
57
+ # ],
47
58
  # dry_run: false,
48
59
  # })
49
60
  # @param [Hash] options ({})
50
61
  # @option options [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
51
62
  # A DHCP configuration option.
63
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
64
+ # The tags to assign to the DHCP option.
52
65
  # @option options [Boolean] :dry_run
53
66
  # Checks whether you have the required permissions for the action,
54
67
  # without actually making the request, and provides an error response.
@@ -221,7 +234,7 @@ module Aws::EC2
221
234
  # The ID of the AMI. An AMI ID is required to launch an instance and
222
235
  # must be specified here or in a launch template.
223
236
  # @option options [String] :instance_type
224
- # The instance type. For more information, see [Instance Types][1] in
237
+ # The instance type. For more information, see [Instance types][1] in
225
238
  # the *Amazon Elastic Compute Cloud User Guide*.
226
239
  #
227
240
  # Default: `m1.small`
@@ -339,7 +352,7 @@ module Aws::EC2
339
352
  # part of the network interface.
340
353
  # @option options [String] :user_data
341
354
  # The user data to make available to the instance. For more information,
342
- # see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
355
+ # see [Running commands on your Linux instance at launch][1] (Linux) and
343
356
  # [Adding User Data][2] (Windows). If you are using a command line tool,
344
357
  # base64-encoding is performed for you, and you can load the text from a
345
358
  # file. Otherwise, you must provide base64-encoded text. User data is
@@ -457,7 +470,7 @@ module Aws::EC2
457
470
  # The credit option for CPU usage of the burstable performance instance.
458
471
  # Valid values are `standard` and `unlimited`. To change this attribute
459
472
  # after launch, use [ ModifyInstanceCreditSpecification][1]. For more
460
- # information, see [Burstable Performance Instances][2] in the *Amazon
473
+ # information, see [Burstable performance instances][2] in the *Amazon
461
474
  # Elastic Compute Cloud User Guide*.
462
475
  #
463
476
  # Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
@@ -468,7 +481,7 @@ module Aws::EC2
468
481
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
469
482
  # @option options [Types::CpuOptionsRequest] :cpu_options
470
483
  # The CPU options for the instance. For more information, see
471
- # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
484
+ # [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
472
485
  # Guide*.
473
486
  #
474
487
  #
@@ -482,7 +495,7 @@ module Aws::EC2
482
495
  # platform, Availability Zone).
483
496
  # @option options [Types::HibernationOptionsRequest] :hibernation_options
484
497
  # Indicates whether an instance is enabled for hibernation. For more
485
- # information, see [Hibernate Your Instance][1] in the *Amazon Elastic
498
+ # information, see [Hibernate your instance][1] in the *Amazon Elastic
486
499
  # Compute Cloud User Guide*.
487
500
  #
488
501
  #
@@ -492,7 +505,7 @@ module Aws::EC2
492
505
  # The license configurations.
493
506
  # @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
494
507
  # The metadata options for the instance. For more information, see
495
- # [Instance Metadata and User Data][1].
508
+ # [Instance metadata and user data][1].
496
509
  #
497
510
  #
498
511
  #
@@ -514,9 +527,22 @@ module Aws::EC2
514
527
  # @example Request syntax with placeholder values
515
528
  #
516
529
  # internetgateway = ec2.create_internet_gateway({
530
+ # tag_specifications: [
531
+ # {
532
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
533
+ # tags: [
534
+ # {
535
+ # key: "String",
536
+ # value: "String",
537
+ # },
538
+ # ],
539
+ # },
540
+ # ],
517
541
  # dry_run: false,
518
542
  # })
519
543
  # @param [Hash] options ({})
544
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
545
+ # The tags to assign to the internet gateway.
520
546
  # @option options [Boolean] :dry_run
521
547
  # Checks whether you have the required permissions for the action,
522
548
  # without actually making the request, and provides an error response.
@@ -629,6 +655,17 @@ module Aws::EC2
629
655
  # networkacl = ec2.create_network_acl({
630
656
  # dry_run: false,
631
657
  # vpc_id: "VpcId", # required
658
+ # tag_specifications: [
659
+ # {
660
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
661
+ # tags: [
662
+ # {
663
+ # key: "String",
664
+ # value: "String",
665
+ # },
666
+ # ],
667
+ # },
668
+ # ],
632
669
  # })
633
670
  # @param [Hash] options ({})
634
671
  # @option options [Boolean] :dry_run
@@ -638,6 +675,8 @@ module Aws::EC2
638
675
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
639
676
  # @option options [required, String] :vpc_id
640
677
  # The ID of the VPC.
678
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
679
+ # The tags to assign to the network ACL.
641
680
  # @return [NetworkAcl]
642
681
  def create_network_acl(options = {})
643
682
  resp = @client.create_network_acl(options)
@@ -670,6 +709,17 @@ module Aws::EC2
670
709
  # secondary_private_ip_address_count: 1,
671
710
  # interface_type: "efa", # accepts efa
672
711
  # subnet_id: "SubnetId", # required
712
+ # tag_specifications: [
713
+ # {
714
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
715
+ # tags: [
716
+ # {
717
+ # key: "String",
718
+ # value: "String",
719
+ # },
720
+ # ],
721
+ # },
722
+ # ],
673
723
  # })
674
724
  # @param [Hash] options ({})
675
725
  # @option options [String] :description
@@ -724,6 +774,8 @@ module Aws::EC2
724
774
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
725
775
  # @option options [required, String] :subnet_id
726
776
  # The ID of the subnet to associate with the network interface.
777
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
778
+ # The tags to apply to the new network interface.
727
779
  # @return [NetworkInterface]
728
780
  def create_network_interface(options = {})
729
781
  resp = @client.create_network_interface(options)
@@ -810,6 +862,17 @@ module Aws::EC2
810
862
  # description: "String", # required
811
863
  # group_name: "String", # required
812
864
  # vpc_id: "VpcId",
865
+ # tag_specifications: [
866
+ # {
867
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
868
+ # tags: [
869
+ # {
870
+ # key: "String",
871
+ # value: "String",
872
+ # },
873
+ # ],
874
+ # },
875
+ # ],
813
876
  # dry_run: false,
814
877
  # })
815
878
  # @param [Hash] options ({})
@@ -833,6 +896,8 @@ module Aws::EC2
833
896
  # .\_-:/()#,@\[\]+=&amp;;\\\{\\}!$*
834
897
  # @option options [String] :vpc_id
835
898
  # \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
899
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
900
+ # The tags to assign to the security group.
836
901
  # @option options [Boolean] :dry_run
837
902
  # Checks whether you have the required permissions for the action,
838
903
  # without actually making the request, and provides an error response.
@@ -890,6 +955,17 @@ module Aws::EC2
890
955
  # @example Request syntax with placeholder values
891
956
  #
892
957
  # subnet = ec2.create_subnet({
958
+ # tag_specifications: [
959
+ # {
960
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
961
+ # tags: [
962
+ # {
963
+ # key: "String",
964
+ # value: "String",
965
+ # },
966
+ # ],
967
+ # },
968
+ # ],
893
969
  # availability_zone: "String",
894
970
  # availability_zone_id: "String",
895
971
  # cidr_block: "String", # required
@@ -899,6 +975,8 @@ module Aws::EC2
899
975
  # dry_run: false,
900
976
  # })
901
977
  # @param [Hash] options ({})
978
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
979
+ # The tags to assign to the subnet.
902
980
  # @option options [String] :availability_zone
903
981
  # The Availability Zone or Local Zone for the subnet.
904
982
  #
@@ -921,7 +999,9 @@ module Aws::EC2
921
999
  # The AZ ID or the Local Zone ID of the subnet.
922
1000
  # @option options [required, String] :cidr_block
923
1001
  # The IPv4 network range for the subnet, in CIDR notation. For example,
924
- # `10.0.0.0/24`.
1002
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
1003
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
1004
+ # `100.68.0.0/18`.
925
1005
  # @option options [String] :ipv_6_cidr_block
926
1006
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
927
1007
  # size must use a /64 prefix length.
@@ -1157,11 +1237,24 @@ module Aws::EC2
1157
1237
  # dry_run: false,
1158
1238
  # instance_tenancy: "default", # accepts default, dedicated, host
1159
1239
  # ipv_6_cidr_block_network_border_group: "String",
1240
+ # tag_specifications: [
1241
+ # {
1242
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1243
+ # tags: [
1244
+ # {
1245
+ # key: "String",
1246
+ # value: "String",
1247
+ # },
1248
+ # ],
1249
+ # },
1250
+ # ],
1160
1251
  # })
1161
1252
  # @param [Hash] options ({})
1162
1253
  # @option options [required, String] :cidr_block
1163
1254
  # The IPv4 network range for the VPC, in CIDR notation. For example,
1164
- # `10.0.0.0/16`.
1255
+ # `10.0.0.0/16`. We modify the specified CIDR block to its canonical
1256
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
1257
+ # `100.68.0.0/18`.
1165
1258
  # @option options [Boolean] :amazon_provided_ipv_6_cidr_block
1166
1259
  # Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
1167
1260
  # for the VPC. You cannot specify the range of IP addresses, or the size
@@ -1197,6 +1290,8 @@ module Aws::EC2
1197
1290
  #
1198
1291
  # You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
1199
1292
  # parameter.
1293
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
1294
+ # The tags to assign to the VPC.
1200
1295
  # @return [Vpc]
1201
1296
  def create_vpc(options = {})
1202
1297
  resp = @client.create_vpc(options)
@@ -2422,9 +2517,6 @@ module Aws::EC2
2422
2517
  # * `attachment.instance-owner-id` - The owner ID of the instance to
2423
2518
  # which the network interface is attached.
2424
2519
  #
2425
- # * `attachment.nat-gateway-id` - The ID of the NAT gateway to which the
2426
- # network interface is attached.
2427
- #
2428
2520
  # * `attachment.status` - The status of the attachment (`attaching` \|
2429
2521
  # `attached` \| `detaching` \| `detached`).
2430
2522
  #
@@ -2761,8 +2853,8 @@ module Aws::EC2
2761
2853
  # * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
2762
2854
  # outbound security group rule.
2763
2855
  #
2764
- # * `egress.ip-permission.prefix-list-id` - The ID (prefix) of the AWS
2765
- # service to which a security group rule allows outbound access.
2856
+ # * `egress.ip-permission.prefix-list-id` - The ID of a prefix list to
2857
+ # which a security group rule allows outbound access.
2766
2858
  #
2767
2859
  # * `egress.ip-permission.protocol` - The IP protocol for an outbound
2768
2860
  # security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
@@ -2792,8 +2884,8 @@ module Aws::EC2
2792
2884
  # * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
2793
2885
  # security group rule.
2794
2886
  #
2795
- # * `ip-permission.prefix-list-id` - The ID (prefix) of the AWS service
2796
- # from which a security group rule allows inbound access.
2887
+ # * `ip-permission.prefix-list-id` - The ID of a prefix list from which
2888
+ # a security group rule allows inbound access.
2797
2889
  #
2798
2890
  # * `ip-permission.protocol` - The IP protocol for an inbound security
2799
2891
  # group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
@@ -264,12 +264,15 @@ module Aws::EC2
264
264
  #
265
265
  # route.delete({
266
266
  # destination_ipv_6_cidr_block: "String",
267
+ # destination_prefix_list_id: "PrefixListResourceId",
267
268
  # dry_run: false,
268
269
  # })
269
270
  # @param [Hash] options ({})
270
271
  # @option options [String] :destination_ipv_6_cidr_block
271
272
  # The IPv6 CIDR range for the route. The value you specify must match
272
273
  # the CIDR for the route exactly.
274
+ # @option options [String] :destination_prefix_list_id
275
+ # The ID of the prefix list for the route.
273
276
  # @option options [Boolean] :dry_run
274
277
  # Checks whether you have the required permissions for the action,
275
278
  # without actually making the request, and provides an error response.
@@ -289,6 +292,7 @@ module Aws::EC2
289
292
  #
290
293
  # route.replace({
291
294
  # destination_ipv_6_cidr_block: "String",
295
+ # destination_prefix_list_id: "PrefixListResourceId",
292
296
  # dry_run: false,
293
297
  # egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
294
298
  # gateway_id: "RouteGatewayId",
@@ -305,6 +309,8 @@ module Aws::EC2
305
309
  # The IPv6 CIDR address block used for the destination match. The value
306
310
  # that you provide must match the CIDR of an existing route in the
307
311
  # table.
312
+ # @option options [String] :destination_prefix_list_id
313
+ # The ID of the prefix list for the route.
308
314
  # @option options [Boolean] :dry_run
309
315
  # Checks whether you have the required permissions for the action,
310
316
  # without actually making the request, and provides an error response.
@@ -225,6 +225,7 @@ module Aws::EC2
225
225
  # route = route_table.create_route({
226
226
  # destination_cidr_block: "String",
227
227
  # destination_ipv_6_cidr_block: "String",
228
+ # destination_prefix_list_id: "PrefixListResourceId",
228
229
  # dry_run: false,
229
230
  # egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
230
231
  # gateway_id: "RouteGatewayId",
@@ -238,10 +239,14 @@ module Aws::EC2
238
239
  # @param [Hash] options ({})
239
240
  # @option options [String] :destination_cidr_block
240
241
  # The IPv4 CIDR address block used for the destination match. Routing
241
- # decisions are based on the most specific match.
242
+ # decisions are based on the most specific match. We modify the
243
+ # specified CIDR block to its canonical form; for example, if you
244
+ # specify `100.68.0.18/18`, we modify it to `100.68.0.0/18`.
242
245
  # @option options [String] :destination_ipv_6_cidr_block
243
246
  # The IPv6 CIDR block used for the destination match. Routing decisions
244
247
  # are based on the most specific match.
248
+ # @option options [String] :destination_prefix_list_id
249
+ # The ID of a prefix list used for the destination match.
245
250
  # @option options [Boolean] :dry_run
246
251
  # Checks whether you have the required permissions for the action,
247
252
  # without actually making the request, and provides an error response.
@@ -428,7 +428,7 @@ module Aws::EC2
428
428
  # The ID of the AMI. An AMI ID is required to launch an instance and
429
429
  # must be specified here or in a launch template.
430
430
  # @option options [String] :instance_type
431
- # The instance type. For more information, see [Instance Types][1] in
431
+ # The instance type. For more information, see [Instance types][1] in
432
432
  # the *Amazon Elastic Compute Cloud User Guide*.
433
433
  #
434
434
  # Default: `m1.small`
@@ -541,7 +541,7 @@ module Aws::EC2
541
541
  # Default: Amazon EC2 uses the default security group.
542
542
  # @option options [String] :user_data
543
543
  # The user data to make available to the instance. For more information,
544
- # see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
544
+ # see [Running commands on your Linux instance at launch][1] (Linux) and
545
545
  # [Adding User Data][2] (Windows). If you are using a command line tool,
546
546
  # base64-encoding is performed for you, and you can load the text from a
547
547
  # file. Otherwise, you must provide base64-encoded text. User data is
@@ -659,7 +659,7 @@ module Aws::EC2
659
659
  # The credit option for CPU usage of the burstable performance instance.
660
660
  # Valid values are `standard` and `unlimited`. To change this attribute
661
661
  # after launch, use [ ModifyInstanceCreditSpecification][1]. For more
662
- # information, see [Burstable Performance Instances][2] in the *Amazon
662
+ # information, see [Burstable performance instances][2] in the *Amazon
663
663
  # Elastic Compute Cloud User Guide*.
664
664
  #
665
665
  # Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
@@ -670,7 +670,7 @@ module Aws::EC2
670
670
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
671
671
  # @option options [Types::CpuOptionsRequest] :cpu_options
672
672
  # The CPU options for the instance. For more information, see
673
- # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
673
+ # [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
674
674
  # Guide*.
675
675
  #
676
676
  #
@@ -684,7 +684,7 @@ module Aws::EC2
684
684
  # platform, Availability Zone).
685
685
  # @option options [Types::HibernationOptionsRequest] :hibernation_options
686
686
  # Indicates whether an instance is enabled for hibernation. For more
687
- # information, see [Hibernate Your Instance][1] in the *Amazon Elastic
687
+ # information, see [Hibernate your instance][1] in the *Amazon Elastic
688
688
  # Compute Cloud User Guide*.
689
689
  #
690
690
  #
@@ -694,7 +694,7 @@ module Aws::EC2
694
694
  # The license configurations.
695
695
  # @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
696
696
  # The metadata options for the instance. For more information, see
697
- # [Instance Metadata and User Data][1].
697
+ # [Instance metadata and user data][1].
698
698
  #
699
699
  #
700
700
  #
@@ -735,6 +735,17 @@ module Aws::EC2
735
735
  # ],
736
736
  # secondary_private_ip_address_count: 1,
737
737
  # interface_type: "efa", # accepts efa
738
+ # tag_specifications: [
739
+ # {
740
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
741
+ # tags: [
742
+ # {
743
+ # key: "String",
744
+ # value: "String",
745
+ # },
746
+ # ],
747
+ # },
748
+ # ],
738
749
  # })
739
750
  # @param [Hash] options ({})
740
751
  # @option options [String] :description
@@ -787,6 +798,8 @@ module Aws::EC2
787
798
  #
788
799
  #
789
800
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
801
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
802
+ # The tags to apply to the new network interface.
790
803
  # @return [NetworkInterface]
791
804
  def create_network_interface(options = {})
792
805
  options = options.merge(subnet_id: @id)
@@ -1344,9 +1357,6 @@ module Aws::EC2
1344
1357
  # * `attachment.instance-owner-id` - The owner ID of the instance to
1345
1358
  # which the network interface is attached.
1346
1359
  #
1347
- # * `attachment.nat-gateway-id` - The ID of the NAT gateway to which the
1348
- # network interface is attached.
1349
- #
1350
1360
  # * `attachment.status` - The status of the attachment (`attaching` \|
1351
1361
  # `attached` \| `detaching` \| `detached`).
1352
1362
  #