aws-sdk-ec2 1.168.0 → 1.173.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -641,7 +641,7 @@ module Aws::EC2
641
641
  # iops: 1,
642
642
  # snapshot_id: "String",
643
643
  # volume_size: 1,
644
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
644
+ # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
645
645
  # kms_key_id: "String",
646
646
  # encrypted: false,
647
647
  # },
@@ -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.
@@ -76,7 +89,7 @@ module Aws::EC2
76
89
  # iops: 1,
77
90
  # snapshot_id: "String",
78
91
  # volume_size: 1,
79
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
92
+ # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
80
93
  # kms_key_id: "String",
81
94
  # encrypted: false,
82
95
  # },
@@ -163,7 +176,7 @@ module Aws::EC2
163
176
  # ],
164
177
  # tag_specifications: [
165
178
  # {
166
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
179
+ # 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
167
180
  # tags: [
168
181
  # {
169
182
  # key: "String",
@@ -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.
@@ -539,7 +565,7 @@ module Aws::EC2
539
565
  # dry_run: false,
540
566
  # tag_specifications: [
541
567
  # {
542
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
568
+ # 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
543
569
  # tags: [
544
570
  # {
545
571
  # key: "String",
@@ -580,7 +606,7 @@ module Aws::EC2
580
606
  # subnet_id: "SubnetId", # required
581
607
  # tag_specifications: [
582
608
  # {
583
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
609
+ # 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
584
610
  # tags: [
585
611
  # {
586
612
  # key: "String",
@@ -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)
@@ -743,7 +795,7 @@ module Aws::EC2
743
795
  # partition_count: 1,
744
796
  # tag_specifications: [
745
797
  # {
746
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
798
+ # 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
747
799
  # tags: [
748
800
  # {
749
801
  # key: "String",
@@ -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.
@@ -854,7 +919,7 @@ module Aws::EC2
854
919
  # volume_id: "VolumeId", # required
855
920
  # tag_specifications: [
856
921
  # {
857
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
922
+ # 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
858
923
  # tags: [
859
924
  # {
860
925
  # key: "String",
@@ -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.
@@ -1028,11 +1108,11 @@ module Aws::EC2
1028
1108
  # outpost_arn: "String",
1029
1109
  # size: 1,
1030
1110
  # snapshot_id: "SnapshotId",
1031
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
1111
+ # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
1032
1112
  # dry_run: false,
1033
1113
  # tag_specifications: [
1034
1114
  # {
1035
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
1115
+ # 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
1036
1116
  # tags: [
1037
1117
  # {
1038
1118
  # key: "String",
@@ -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)
@@ -1276,7 +1371,7 @@ module Aws::EC2
1276
1371
  # public_key_material: "data", # required
1277
1372
  # tag_specifications: [
1278
1373
  # {
1279
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
1374
+ # 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
1280
1375
  # tags: [
1281
1376
  # {
1282
1377
  # key: "String",
@@ -1322,7 +1417,7 @@ module Aws::EC2
1322
1417
  # iops: 1,
1323
1418
  # snapshot_id: "String",
1324
1419
  # volume_size: 1,
1325
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1
1420
+ # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
1326
1421
  # kms_key_id: "String",
1327
1422
  # encrypted: false,
1328
1423
  # },
@@ -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.