aws-sdk-ec2 1.247.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.
@@ -41,7 +41,7 @@ module Aws::EC2
41
41
  data[:dhcp_configurations]
42
42
  end
43
43
 
44
- # The ID of the AWS account that owns the DHCP options set.
44
+ # The ID of the account that owns the DHCP options set.
45
45
  # @return [String]
46
46
  def owner_id
47
47
  data[:owner_id]
@@ -270,8 +270,8 @@ module Aws::EC2
270
270
  # if its value is an empty string.
271
271
  #
272
272
  # If you omit this parameter, we delete all user-defined tags for the
273
- # specified resources. We do not delete AWS-generated tags (tags that
274
- # have the `aws:` prefix).
273
+ # specified resources. We do not delete Amazon Web Services-generated
274
+ # tags (tags that have the `aws:` prefix).
275
275
  # @return [Tag::Collection]
276
276
  def delete_tags(options = {})
277
277
  batch = []
@@ -458,8 +458,8 @@ module Aws::EC2
458
458
  # if its value is an empty string.
459
459
  #
460
460
  # If you omit this parameter, we delete all user-defined tags for the
461
- # specified resources. We do not delete AWS-generated tags (tags that
462
- # have the `aws:` prefix).
461
+ # specified resources. We do not delete Amazon Web Services-generated
462
+ # tags (tags that have the `aws:` prefix).
463
463
  # @return [Tag::Collection]
464
464
  def delete_tags(options = {})
465
465
  batch = []
@@ -669,7 +669,7 @@ module Aws::EC2
669
669
  # no_reboot: false,
670
670
  # tag_specifications: [
671
671
  # {
672
- # 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, 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, 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
672
+ # 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
673
673
  # tags: [
674
674
  # {
675
675
  # key: "String",
@@ -794,8 +794,8 @@ module Aws::EC2
794
794
  # if its value is an empty string.
795
795
  #
796
796
  # If you omit this parameter, we delete all user-defined tags for the
797
- # specified resources. We do not delete AWS-generated tags (tags that
798
- # have the `aws:` prefix).
797
+ # specified resources. We do not delete Amazon Web Services-generated
798
+ # tags (tags that have the `aws:` prefix).
799
799
  # @return [Tag::Collection]
800
800
  def delete_tags(options = {})
801
801
  batch = []
@@ -1703,8 +1703,8 @@ module Aws::EC2
1703
1703
  # if its value is an empty string.
1704
1704
  #
1705
1705
  # If you omit this parameter, we delete all user-defined tags for the
1706
- # specified resources. We do not delete AWS-generated tags (tags that
1707
- # have the `aws:` prefix).
1706
+ # specified resources. We do not delete Amazon Web Services-generated
1707
+ # tags (tags that have the `aws:` prefix).
1708
1708
  # @return [void]
1709
1709
  def batch_delete_tags!(options = {})
1710
1710
  batch_enum.each do |batch|
@@ -41,7 +41,7 @@ module Aws::EC2
41
41
  data[:attachments]
42
42
  end
43
43
 
44
- # The ID of the AWS account that owns the internet gateway.
44
+ # The ID of the account that owns the internet gateway.
45
45
  # @return [String]
46
46
  def owner_id
47
47
  data[:owner_id]
@@ -270,8 +270,8 @@ module Aws::EC2
270
270
  # if its value is an empty string.
271
271
  #
272
272
  # If you omit this parameter, we delete all user-defined tags for the
273
- # specified resources. We do not delete AWS-generated tags (tags that
274
- # have the `aws:` prefix).
273
+ # specified resources. We do not delete Amazon Web Services-generated
274
+ # tags (tags that have the `aws:` prefix).
275
275
  # @return [Tag::Collection]
276
276
  def delete_tags(options = {})
277
277
  batch = []
@@ -43,8 +43,8 @@ module Aws::EC2
43
43
 
44
44
  # If you used CreateKeyPair to create the key pair, this is the SHA-1
45
45
  # digest of the DER encoded private key. If you used ImportKeyPair to
46
- # provide AWS the public key, this is the MD5 public key fingerprint as
47
- # specified in section 4 of RFC4716.
46
+ # provide Amazon Web Services the public key, this is the MD5 public key
47
+ # fingerprint as specified in section 4 of RFC4716.
48
48
  # @return [String]
49
49
  def key_fingerprint
50
50
  data[:key_fingerprint]
@@ -345,8 +345,8 @@ module Aws::EC2
345
345
  # if its value is an empty string.
346
346
  #
347
347
  # If you omit this parameter, we delete all user-defined tags for the
348
- # specified resources. We do not delete AWS-generated tags (tags that
349
- # have the `aws:` prefix).
348
+ # specified resources. We do not delete Amazon Web Services-generated
349
+ # tags (tags that have the `aws:` prefix).
350
350
  # @return [Tag::Collection]
351
351
  def delete_tags(options = {})
352
352
  batch = []
@@ -65,7 +65,7 @@ module Aws::EC2
65
65
  data[:vpc_id]
66
66
  end
67
67
 
68
- # The ID of the AWS account that owns the network ACL.
68
+ # The ID of the account that owns the network ACL.
69
69
  # @return [String]
70
70
  def owner_id
71
71
  data[:owner_id]
@@ -334,8 +334,8 @@ module Aws::EC2
334
334
  # if its value is an empty string.
335
335
  #
336
336
  # If you omit this parameter, we delete all user-defined tags for the
337
- # specified resources. We do not delete AWS-generated tags (tags that
338
- # have the `aws:` prefix).
337
+ # specified resources. We do not delete Amazon Web Services-generated
338
+ # tags (tags that have the `aws:` prefix).
339
339
  # @return [Tag::Collection]
340
340
  def delete_tags(options = {})
341
341
  batch = []
@@ -107,6 +107,20 @@ module Aws::EC2
107
107
  data[:private_ip_addresses]
108
108
  end
109
109
 
110
+ # The IPv4 Prefix Delegation prefixes that are assigned to the network
111
+ # interface.
112
+ # @return [Array<Types::Ipv4PrefixSpecification>]
113
+ def ipv_4_prefixes
114
+ data[:ipv_4_prefixes]
115
+ end
116
+
117
+ # The IPv6 Prefix Delegation prefixes that are assigned to the network
118
+ # interface.
119
+ # @return [Array<Types::Ipv6PrefixSpecification>]
120
+ def ipv_6_prefixes
121
+ data[:ipv_6_prefixes]
122
+ end
123
+
110
124
  # The alias or account ID of the principal or service that created the
111
125
  # network interface.
112
126
  # @return [String]
@@ -291,6 +305,8 @@ module Aws::EC2
291
305
  # allow_reassignment: false,
292
306
  # private_ip_addresses: ["String"],
293
307
  # secondary_private_ip_address_count: 1,
308
+ # ipv_4_prefixes: ["String"],
309
+ # ipv_4_prefix_count: 1,
294
310
  # })
295
311
  # @param [Hash] options ({})
296
312
  # @option options [Boolean] :allow_reassignment
@@ -308,6 +324,14 @@ module Aws::EC2
308
324
  # The number of secondary IP addresses to assign to the network
309
325
  # interface. You can't specify this parameter when also specifying
310
326
  # private IP addresses.
327
+ # @option options [Array<String>] :ipv_4_prefixes
328
+ # One or more IPv4 Prefix Delegation prefixes assigned to the network
329
+ # interface. You cannot use this option if you use the `Ipv4PrefixCount`
330
+ # option.
331
+ # @option options [Integer] :ipv_4_prefix_count
332
+ # The number of IPv4 Prefix Delegation prefixes that AWS automatically
333
+ # assigns to the network interface. You cannot use this option if you
334
+ # use the `Ipv4 Prefixes` option.
311
335
  # @return [Types::AssignPrivateIpAddressesResult]
312
336
  def assign_private_ip_addresses(options = {})
313
337
  options = options.merge(network_interface_id: @id)
@@ -406,8 +430,8 @@ module Aws::EC2
406
430
  # if its value is an empty string.
407
431
  #
408
432
  # If you omit this parameter, we delete all user-defined tags for the
409
- # specified resources. We do not delete AWS-generated tags (tags that
410
- # have the `aws:` prefix).
433
+ # specified resources. We do not delete Amazon Web Services-generated
434
+ # tags (tags that have the `aws:` prefix).
411
435
  # @return [Tag::Collection]
412
436
  def delete_tags(options = {})
413
437
  batch = []
@@ -573,13 +597,17 @@ module Aws::EC2
573
597
  # @example Request syntax with placeholder values
574
598
  #
575
599
  # network_interface.unassign_private_ip_addresses({
576
- # private_ip_addresses: ["String"], # required
600
+ # private_ip_addresses: ["String"],
601
+ # ipv_4_prefixes: ["String"],
577
602
  # })
578
603
  # @param [Hash] options ({})
579
- # @option options [required, Array<String>] :private_ip_addresses
604
+ # @option options [Array<String>] :private_ip_addresses
580
605
  # The secondary private IP addresses to unassign from the network
581
606
  # interface. You can specify this option multiple times to unassign more
582
607
  # than one IP address.
608
+ # @option options [Array<String>] :ipv_4_prefixes
609
+ # The IPv4 Prefix Delegation prefixes to unassign from the network
610
+ # interface.
583
611
  # @return [EmptyStructure]
584
612
  def unassign_private_ip_addresses(options = {})
585
613
  options = options.merge(network_interface_id: @id)
@@ -46,7 +46,7 @@ module Aws::EC2
46
46
  # ],
47
47
  # tag_specifications: [
48
48
  # {
49
- # 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, 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, 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
49
+ # 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
50
50
  # tags: [
51
51
  # {
52
52
  # key: "String",
@@ -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",
@@ -180,7 +192,7 @@ module Aws::EC2
180
192
  # ],
181
193
  # tag_specifications: [
182
194
  # {
183
- # 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, 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, 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
195
+ # 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
184
196
  # tags: [
185
197
  # {
186
198
  # key: "String",
@@ -551,7 +563,7 @@ module Aws::EC2
551
563
  # internetgateway = ec2.create_internet_gateway({
552
564
  # tag_specifications: [
553
565
  # {
554
- # 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, 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, 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
566
+ # 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
555
567
  # tags: [
556
568
  # {
557
569
  # key: "String",
@@ -587,7 +599,7 @@ module Aws::EC2
587
599
  # dry_run: false,
588
600
  # tag_specifications: [
589
601
  # {
590
- # 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, 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, 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
602
+ # 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
591
603
  # tags: [
592
604
  # {
593
605
  # key: "String",
@@ -628,7 +640,7 @@ module Aws::EC2
628
640
  # subnet_id: "SubnetId", # required
629
641
  # tag_specifications: [
630
642
  # {
631
- # 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, 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, 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
643
+ # 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
632
644
  # tags: [
633
645
  # {
634
646
  # key: "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
  #
@@ -685,7 +697,7 @@ module Aws::EC2
685
697
  # vpc_id: "VpcId", # required
686
698
  # tag_specifications: [
687
699
  # {
688
- # 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, 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, 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
700
+ # 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
689
701
  # tags: [
690
702
  # {
691
703
  # key: "String",
@@ -735,11 +747,23 @@ 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: [
741
765
  # {
742
- # 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, 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, 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
766
+ # 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
743
767
  # tags: [
744
768
  # {
745
769
  # key: "String",
@@ -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
@@ -836,7 +876,7 @@ module Aws::EC2
836
876
  # partition_count: 1,
837
877
  # tag_specifications: [
838
878
  # {
839
- # 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, 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, 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
879
+ # 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
840
880
  # tags: [
841
881
  # {
842
882
  # key: "String",
@@ -880,7 +920,7 @@ module Aws::EC2
880
920
  # vpc_id: "VpcId", # required
881
921
  # tag_specifications: [
882
922
  # {
883
- # 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, 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, 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
923
+ # 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
884
924
  # tags: [
885
925
  # {
886
926
  # key: "String",
@@ -918,7 +958,7 @@ module Aws::EC2
918
958
  # vpc_id: "VpcId",
919
959
  # tag_specifications: [
920
960
  # {
921
- # 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, 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, 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
961
+ # 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
922
962
  # tags: [
923
963
  # {
924
964
  # key: "String",
@@ -974,7 +1014,7 @@ module Aws::EC2
974
1014
  # volume_id: "VolumeId", # required
975
1015
  # tag_specifications: [
976
1016
  # {
977
- # 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, 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, 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
1017
+ # 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
978
1018
  # tags: [
979
1019
  # {
980
1020
  # key: "String",
@@ -989,7 +1029,7 @@ module Aws::EC2
989
1029
  # @option options [String] :description
990
1030
  # A description for the snapshot.
991
1031
  # @option options [String] :outpost_arn
992
- # The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
1032
+ # The Amazon Resource Name (ARN) of the Outpost on which to create a
993
1033
  # local snapshot.
994
1034
  #
995
1035
  # * To create a snapshot of a volume in a Region, omit this parameter.
@@ -1003,14 +1043,14 @@ module Aws::EC2
1003
1043
  # snapshot on an Outpost, specify the ARN of the destination Outpost.
1004
1044
  # The snapshot must be created on the same Outpost as the volume.
1005
1045
  #
1006
- # For more information, see [ Creating local snapshots from volumes on
1007
- # an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
1046
+ # For more information, see [Create local snapshots from volumes on an
1047
+ # Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
1008
1048
  #
1009
1049
  #
1010
1050
  #
1011
1051
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
1012
1052
  # @option options [required, String] :volume_id
1013
- # The ID of the EBS volume.
1053
+ # The ID of the Amazon EBS volume.
1014
1054
  # @option options [Array<Types::TagSpecification>] :tag_specifications
1015
1055
  # The tags to apply to the snapshot during creation.
1016
1056
  # @option options [Boolean] :dry_run
@@ -1033,7 +1073,7 @@ module Aws::EC2
1033
1073
  # subnet = ec2.create_subnet({
1034
1074
  # tag_specifications: [
1035
1075
  # {
1036
- # 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, 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, 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
1076
+ # 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
1037
1077
  # tags: [
1038
1078
  # {
1039
1079
  # key: "String",
@@ -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)
@@ -1166,8 +1206,8 @@ module Aws::EC2
1166
1206
  # if its value is an empty string.
1167
1207
  #
1168
1208
  # If you omit this parameter, we delete all user-defined tags for the
1169
- # specified resources. We do not delete AWS-generated tags (tags that
1170
- # have the `aws:` prefix).
1209
+ # specified resources. We do not delete Amazon Web Services-generated
1210
+ # tags (tags that have the `aws:` prefix).
1171
1211
  # @return [EmptyStructure]
1172
1212
  def delete_tags(options = {})
1173
1213
  resp = @client.delete_tags(options)
@@ -1188,7 +1228,7 @@ module Aws::EC2
1188
1228
  # dry_run: false,
1189
1229
  # tag_specifications: [
1190
1230
  # {
1191
- # 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, 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, 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
1231
+ # 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
1192
1232
  # tags: [
1193
1233
  # {
1194
1234
  # key: "String",
@@ -1199,6 +1239,7 @@ module Aws::EC2
1199
1239
  # ],
1200
1240
  # multi_attach_enabled: false,
1201
1241
  # throughput: 1,
1242
+ # client_token: "String",
1202
1243
  # })
1203
1244
  # @param [Hash] options ({})
1204
1245
  # @option options [required, String] :availability_zone
@@ -1234,9 +1275,9 @@ module Aws::EC2
1234
1275
  #
1235
1276
  # * `io2`\: 100-64,000 IOPS
1236
1277
  #
1237
- # For `io1` and `io2` volumes, we guarantee 64,000 IOPS only for
1238
- # [Instances built on the Nitro System][1]. Other instance families
1239
- # guarantee performance up to 32,000 IOPS.
1278
+ # `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
1279
+ # built on the Nitro System][1]. Other instance families support
1280
+ # performance up to 32,000 IOPS.
1240
1281
  #
1241
1282
  # This parameter is required for `io1` and `io2` volumes. The default
1242
1283
  # for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
@@ -1246,12 +1287,12 @@ module Aws::EC2
1246
1287
  #
1247
1288
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
1248
1289
  # @option options [String] :kms_key_id
1249
- # The identifier of the AWS Key Management Service (AWS KMS) customer
1250
- # master key (CMK) to use for Amazon EBS encryption. If this parameter
1251
- # is not specified, your AWS managed CMK for EBS is used. If `KmsKeyId`
1252
- # is specified, the encrypted state must be `true`.
1290
+ # The identifier of the Key Management Service (KMS) KMS key to use for
1291
+ # Amazon EBS encryption. If this parameter is not specified, your KMS
1292
+ # key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
1293
+ # state must be `true`.
1253
1294
  #
1254
- # You can specify the CMK using any of the following:
1295
+ # You can specify the KMS key using any of the following:
1255
1296
  #
1256
1297
  # * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
1257
1298
  #
@@ -1263,9 +1304,9 @@ module Aws::EC2
1263
1304
  # * Alias ARN. For example,
1264
1305
  # arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
1265
1306
  #
1266
- # AWS authenticates the CMK asynchronously. Therefore, if you specify an
1267
- # ID, alias, or ARN that is not valid, the action can appear to
1268
- # complete, but eventually fails.
1307
+ # Amazon Web Services authenticates the KMS key asynchronously.
1308
+ # Therefore, if you specify an ID, alias, or ARN that is not valid, the
1309
+ # action can appear to complete, but eventually fails.
1269
1310
  # @option options [String] :outpost_arn
1270
1311
  # The Amazon Resource Name (ARN) of the Outpost.
1271
1312
  # @option options [Integer] :size
@@ -1333,6 +1374,14 @@ module Aws::EC2
1333
1374
  # This parameter is valid only for `gp3` volumes.
1334
1375
  #
1335
1376
  # Valid Range: Minimum value of 125. Maximum value of 1000.
1377
+ # @option options [String] :client_token
1378
+ # Unique, case-sensitive identifier that you provide to ensure the
1379
+ # idempotency of the request. For more information, see [Ensure
1380
+ # Idempotency][1].
1381
+ #
1382
+ #
1383
+ #
1384
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1336
1385
  # @return [Volume]
1337
1386
  def create_volume(options = {})
1338
1387
  resp = @client.create_volume(options)
@@ -1355,7 +1404,7 @@ module Aws::EC2
1355
1404
  # ipv_6_cidr_block_network_border_group: "String",
1356
1405
  # tag_specifications: [
1357
1406
  # {
1358
- # 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, 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, 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
1407
+ # 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
1359
1408
  # tags: [
1360
1409
  # {
1361
1410
  # key: "String",
@@ -1428,7 +1477,7 @@ module Aws::EC2
1428
1477
  # peer_region: "String",
1429
1478
  # tag_specifications: [
1430
1479
  # {
1431
- # 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, 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, 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
1480
+ # 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
1432
1481
  # tags: [
1433
1482
  # {
1434
1483
  # key: "String",
@@ -1445,9 +1494,9 @@ module Aws::EC2
1445
1494
  # If you have the required permissions, the error response is
1446
1495
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1447
1496
  # @option options [String] :peer_owner_id
1448
- # The AWS account ID of the owner of the accepter VPC.
1497
+ # The account ID of the owner of the accepter VPC.
1449
1498
  #
1450
- # Default: Your AWS account ID
1499
+ # Default: Your account ID
1451
1500
  # @option options [String] :peer_vpc_id
1452
1501
  # The ID of the VPC with which you are creating the VPC peering
1453
1502
  # connection. You must specify this parameter in the request.
@@ -1500,7 +1549,7 @@ module Aws::EC2
1500
1549
  # public_key_material: "data", # required
1501
1550
  # tag_specifications: [
1502
1551
  # {
1503
- # 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, 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, 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
1552
+ # 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
1504
1553
  # tags: [
1505
1554
  # {
1506
1555
  # key: "String",
@@ -1775,8 +1824,7 @@ module Aws::EC2
1775
1824
  #
1776
1825
  # * `value` - The value for one of the options.
1777
1826
  #
1778
- # * `owner-id` - The ID of the AWS account that owns the DHCP options
1779
- # set.
1827
+ # * `owner-id` - The ID of the account that owns the DHCP options set.
1780
1828
  #
1781
1829
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
1782
1830
  # the resource. Use the tag key in the filter name and the tag value
@@ -2334,8 +2382,7 @@ module Aws::EC2
2334
2382
  #
2335
2383
  # * `internet-gateway-id` - The ID of the Internet gateway.
2336
2384
  #
2337
- # * `owner-id` - The ID of the AWS account that owns the internet
2338
- # gateway.
2385
+ # * `owner-id` - The ID of the account that owns the internet gateway.
2339
2386
  #
2340
2387
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
2341
2388
  # the resource. Use the tag key in the filter name and the tag value
@@ -2418,7 +2465,7 @@ module Aws::EC2
2418
2465
  # @option options [Array<String>] :key_names
2419
2466
  # The key pair names.
2420
2467
  #
2421
- # Default: Describes all your key pairs.
2468
+ # Default: Describes all of your key pairs.
2422
2469
  # @option options [Array<String>] :key_pair_ids
2423
2470
  # The IDs of the key pairs.
2424
2471
  # @option options [Boolean] :dry_run
@@ -2574,7 +2621,7 @@ module Aws::EC2
2574
2621
  #
2575
2622
  # * `network-acl-id` - The ID of the network ACL.
2576
2623
  #
2577
- # * `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.
2578
2625
  #
2579
2626
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
2580
2627
  # the resource. Use the tag key in the filter name and the tag value
@@ -2892,7 +2939,7 @@ module Aws::EC2
2892
2939
  # route table for the VPC (`true` \| `false`). Route tables that do
2893
2940
  # not have an association ID are not returned in the response.
2894
2941
  #
2895
- # * `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.
2896
2943
  #
2897
2944
  # * `route-table-id` - The ID of the route table.
2898
2945
  #
@@ -2902,8 +2949,8 @@ module Aws::EC2
2902
2949
  # * `route.destination-ipv6-cidr-block` - The IPv6 CIDR range specified
2903
2950
  # in a route in the route table.
2904
2951
  #
2905
- # * `route.destination-prefix-list-id` - The ID (prefix) of the AWS
2906
- # 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.
2907
2954
  #
2908
2955
  # * `route.egress-only-internet-gateway-id` - The ID of an egress-only
2909
2956
  # Internet gateway specified in a route in the route table.
@@ -3028,8 +3075,8 @@ module Aws::EC2
3028
3075
  # * `egress.ip-permission.to-port` - For an outbound rule, the end of
3029
3076
  # port range for the TCP and UDP protocols, or an ICMP code.
3030
3077
  #
3031
- # * `egress.ip-permission.user-id` - The ID of an AWS account that has
3032
- # been referenced in an outbound security group rule.
3078
+ # * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
3079
+ # account that has been referenced in an outbound security group rule.
3033
3080
  #
3034
3081
  # * `group-id` - The ID of the security group.
3035
3082
  #
@@ -3060,10 +3107,11 @@ module Aws::EC2
3060
3107
  # * `ip-permission.to-port` - For an inbound rule, the end of port range
3061
3108
  # for the TCP and UDP protocols, or an ICMP code.
3062
3109
  #
3063
- # * `ip-permission.user-id` - The ID of an AWS account that has been
3064
- # referenced in an inbound security group rule.
3110
+ # * `ip-permission.user-id` - The ID of an Amazon Web Services account
3111
+ # that has been referenced in an inbound security group rule.
3065
3112
  #
3066
- # * `owner-id` - The AWS account ID of the owner of the security group.
3113
+ # * `owner-id` - The Amazon Web Services account ID of the owner of the
3114
+ # security group.
3067
3115
  #
3068
3116
  # * `tag`\:&lt;key&gt; - The key/value combination of a tag assigned to
3069
3117
  # the resource. Use the tag key in the filter name and the tag value
@@ -3081,14 +3129,14 @@ module Aws::EC2
3081
3129
  # The IDs of the security groups. Required for security groups in a
3082
3130
  # nondefault VPC.
3083
3131
  #
3084
- # Default: Describes all your security groups.
3132
+ # Default: Describes all of your security groups.
3085
3133
  # @option options [Array<String>] :group_names
3086
3134
  # \[EC2-Classic and default VPC only\] The names of the security groups.
3087
3135
  # You can specify either the security group name or the security group
3088
3136
  # ID. For security groups in a nondefault VPC, use the `group-name`
3089
3137
  # filter to describe security groups by name.
3090
3138
  #
3091
- # Default: Describes all your security groups.
3139
+ # Default: Describes all of your security groups.
3092
3140
  # @option options [Boolean] :dry_run
3093
3141
  # Checks whether you have the required permissions for the action,
3094
3142
  # without actually making the request, and provides an error response.
@@ -3146,12 +3194,12 @@ module Aws::EC2
3146
3194
  # `false`)
3147
3195
  #
3148
3196
  # * `owner-alias` - The owner alias, from an Amazon-maintained list
3149
- # (`amazon`). This is not the user-configured AWS account alias set
3150
- # using the IAM console. We recommend that you use the related
3151
- # parameter instead of this filter.
3197
+ # (`amazon`). This is not the user-configured account alias set using
3198
+ # the IAM console. We recommend that you use the related parameter
3199
+ # instead of this filter.
3152
3200
  #
3153
- # * `owner-id` - The AWS account ID of the owner. We recommend that you
3154
- # use the related parameter instead of this filter.
3201
+ # * `owner-id` - The account ID of the owner. We recommend that you use
3202
+ # the related parameter instead of this filter.
3155
3203
  #
3156
3204
  # * `progress` - The progress of the snapshot, as a percentage (for
3157
3205
  # example, 80%).
@@ -3178,9 +3226,9 @@ module Aws::EC2
3178
3226
  # * `volume-size` - The size of the volume, in GiB.
3179
3227
  # @option options [Array<String>] :owner_ids
3180
3228
  # Scopes the results to snapshots with the specified owners. You can
3181
- # specify a combination of AWS account IDs, `self`, and `amazon`.
3229
+ # specify a combination of account IDs, `self`, and `amazon`.
3182
3230
  # @option options [Array<String>] :restorable_by_user_ids
3183
- # The IDs of the AWS accounts that can create volumes from the snapshot.
3231
+ # The IDs of the accounts that can create volumes from the snapshot.
3184
3232
  # @option options [Array<String>] :snapshot_ids
3185
3233
  # The snapshot IDs.
3186
3234
  #
@@ -3264,7 +3312,7 @@ module Aws::EC2
3264
3312
  #
3265
3313
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
3266
3314
  #
3267
- # * `owner-id` - The ID of the AWS account that owns the subnet.
3315
+ # * `owner-id` - The ID of the account that owns the subnet.
3268
3316
  #
3269
3317
  # * `state` - The state of the subnet (`pending` \| `available`).
3270
3318
  #
@@ -3532,8 +3580,8 @@ module Aws::EC2
3532
3580
  # * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
3533
3581
  # VPC.
3534
3582
  #
3535
- # * `accepter-vpc-info.owner-id` - The AWS account ID of the owner of
3536
- # the accepter VPC.
3583
+ # * `accepter-vpc-info.owner-id` - The ID of the account that owns the
3584
+ # accepter VPC.
3537
3585
  #
3538
3586
  # * `accepter-vpc-info.vpc-id` - The ID of the accepter VPC.
3539
3587
  #
@@ -3543,8 +3591,8 @@ module Aws::EC2
3543
3591
  # * `requester-vpc-info.cidr-block` - The IPv4 CIDR block of the
3544
3592
  # requester's VPC.
3545
3593
  #
3546
- # * `requester-vpc-info.owner-id` - The AWS account ID of the owner of
3547
- # the requester VPC.
3594
+ # * `requester-vpc-info.owner-id` - The ID of the account that owns the
3595
+ # requester VPC.
3548
3596
  #
3549
3597
  # * `requester-vpc-info.vpc-id` - The ID of the requester VPC.
3550
3598
  #
@@ -3638,9 +3686,9 @@ module Aws::EC2
3638
3686
  # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
3639
3687
  # block associated with the VPC.
3640
3688
  #
3641
- # * `isDefault` - Indicates whether the VPC is the default VPC.
3689
+ # * `is-default` - Indicates whether the VPC is the default VPC.
3642
3690
  #
3643
- # * `owner-id` - The ID of the AWS account that owns the VPC.
3691
+ # * `owner-id` - The ID of the account that owns the VPC.
3644
3692
  #
3645
3693
  # * `state` - The state of the VPC (`pending` \| `available`).
3646
3694
  #