aws-sdk-ec2 1.246.0 → 1.250.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.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +20 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-ec2.rb +1 -1
 - data/lib/aws-sdk-ec2/client.rb +1185 -349
 - data/lib/aws-sdk-ec2/client_api.rb +317 -4
 - data/lib/aws-sdk-ec2/dhcp_options.rb +2 -2
 - data/lib/aws-sdk-ec2/image.rb +2 -2
 - data/lib/aws-sdk-ec2/instance.rb +5 -5
 - data/lib/aws-sdk-ec2/internet_gateway.rb +2 -2
 - data/lib/aws-sdk-ec2/key_pair_info.rb +2 -2
 - data/lib/aws-sdk-ec2/nat_gateway.rb +2 -2
 - data/lib/aws-sdk-ec2/network_acl.rb +2 -2
 - data/lib/aws-sdk-ec2/network_interface.rb +2 -2
 - data/lib/aws-sdk-ec2/resource.rb +58 -48
 - data/lib/aws-sdk-ec2/route_table.rb +2 -2
 - data/lib/aws-sdk-ec2/security_group.rb +52 -18
 - data/lib/aws-sdk-ec2/snapshot.rb +40 -37
 - data/lib/aws-sdk-ec2/subnet.rb +4 -4
 - data/lib/aws-sdk-ec2/tag.rb +2 -2
 - data/lib/aws-sdk-ec2/types.rb +1475 -245
 - data/lib/aws-sdk-ec2/volume.rb +15 -16
 - data/lib/aws-sdk-ec2/vpc.rb +15 -14
 - metadata +2 -2
 
| 
         @@ -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  
     | 
| 
       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 = []
         
     | 
    
        data/lib/aws-sdk-ec2/image.rb
    CHANGED
    
    | 
         @@ -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  
     | 
| 
       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 = []
         
     | 
    
        data/lib/aws-sdk-ec2/instance.rb
    CHANGED
    
    | 
         @@ -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- 
     | 
| 
      
 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  
     | 
| 
       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  
     | 
| 
       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|
         
     | 
| 
         @@ -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  
     | 
| 
       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  
     | 
| 
       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  
     | 
| 
       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 = []
         
     | 
| 
         @@ -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  
     | 
| 
       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 = []
         
     | 
| 
         @@ -406,8 +406,8 @@ module Aws::EC2 
     | 
|
| 
       406 
406 
     | 
    
         
             
                #   if its value is an empty string.
         
     | 
| 
       407 
407 
     | 
    
         
             
                #
         
     | 
| 
       408 
408 
     | 
    
         
             
                #   If you omit this parameter, we delete all user-defined tags for the
         
     | 
| 
       409 
     | 
    
         
            -
                #   specified resources. We do not delete  
     | 
| 
       410 
     | 
    
         
            -
                #   have the `aws:` prefix).
         
     | 
| 
      
 409 
     | 
    
         
            +
                #   specified resources. We do not delete Amazon Web Services-generated
         
     | 
| 
      
 410 
     | 
    
         
            +
                #   tags (tags that have the `aws:` prefix).
         
     | 
| 
       411 
411 
     | 
    
         
             
                # @return [Tag::Collection]
         
     | 
| 
       412 
412 
     | 
    
         
             
                def delete_tags(options = {})
         
     | 
| 
       413 
413 
     | 
    
         
             
                  batch = []
         
     | 
    
        data/lib/aws-sdk-ec2/resource.rb
    CHANGED
    
    | 
         @@ -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- 
     | 
| 
      
 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",
         
     | 
| 
         @@ -180,7 +180,7 @@ module Aws::EC2 
     | 
|
| 
       180 
180 
     | 
    
         
             
                #     ],
         
     | 
| 
       181 
181 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       182 
182 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
184 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       185 
185 
     | 
    
         
             
                #           {
         
     | 
| 
       186 
186 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -551,7 +551,7 @@ module Aws::EC2 
     | 
|
| 
       551 
551 
     | 
    
         
             
                #   internetgateway = ec2.create_internet_gateway({
         
     | 
| 
       552 
552 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       553 
553 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
555 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       556 
556 
     | 
    
         
             
                #           {
         
     | 
| 
       557 
557 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -587,7 +587,7 @@ module Aws::EC2 
     | 
|
| 
       587 
587 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       588 
588 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       589 
589 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
591 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       592 
592 
     | 
    
         
             
                #           {
         
     | 
| 
       593 
593 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -628,7 +628,7 @@ module Aws::EC2 
     | 
|
| 
       628 
628 
     | 
    
         
             
                #     subnet_id: "SubnetId", # required
         
     | 
| 
       629 
629 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       630 
630 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
632 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       633 
633 
     | 
    
         
             
                #           {
         
     | 
| 
       634 
634 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -685,7 +685,7 @@ module Aws::EC2 
     | 
|
| 
       685 
685 
     | 
    
         
             
                #     vpc_id: "VpcId", # required
         
     | 
| 
       686 
686 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       687 
687 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
689 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       690 
690 
     | 
    
         
             
                #           {
         
     | 
| 
       691 
691 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -739,7 +739,7 @@ module Aws::EC2 
     | 
|
| 
       739 
739 
     | 
    
         
             
                #     subnet_id: "SubnetId", # required
         
     | 
| 
       740 
740 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       741 
741 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
743 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       744 
744 
     | 
    
         
             
                #           {
         
     | 
| 
       745 
745 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -836,7 +836,7 @@ module Aws::EC2 
     | 
|
| 
       836 
836 
     | 
    
         
             
                #     partition_count: 1,
         
     | 
| 
       837 
837 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       838 
838 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
840 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       841 
841 
     | 
    
         
             
                #           {
         
     | 
| 
       842 
842 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -880,7 +880,7 @@ module Aws::EC2 
     | 
|
| 
       880 
880 
     | 
    
         
             
                #     vpc_id: "VpcId", # required
         
     | 
| 
       881 
881 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       882 
882 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
884 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       885 
885 
     | 
    
         
             
                #           {
         
     | 
| 
       886 
886 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -918,7 +918,7 @@ module Aws::EC2 
     | 
|
| 
       918 
918 
     | 
    
         
             
                #     vpc_id: "VpcId",
         
     | 
| 
       919 
919 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       920 
920 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
922 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       923 
923 
     | 
    
         
             
                #           {
         
     | 
| 
       924 
924 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -974,7 +974,7 @@ module Aws::EC2 
     | 
|
| 
       974 
974 
     | 
    
         
             
                #     volume_id: "VolumeId", # required
         
     | 
| 
       975 
975 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       976 
976 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
978 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       979 
979 
     | 
    
         
             
                #           {
         
     | 
| 
       980 
980 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -989,7 +989,7 @@ module Aws::EC2 
     | 
|
| 
       989 
989 
     | 
    
         
             
                # @option options [String] :description
         
     | 
| 
       990 
990 
     | 
    
         
             
                #   A description for the snapshot.
         
     | 
| 
       991 
991 
     | 
    
         
             
                # @option options [String] :outpost_arn
         
     | 
| 
       992 
     | 
    
         
            -
                #   The Amazon Resource Name (ARN) of the  
     | 
| 
      
 992 
     | 
    
         
            +
                #   The Amazon Resource Name (ARN) of the Outpost on which to create a
         
     | 
| 
       993 
993 
     | 
    
         
             
                #   local snapshot.
         
     | 
| 
       994 
994 
     | 
    
         
             
                #
         
     | 
| 
       995 
995 
     | 
    
         
             
                #   * To create a snapshot of a volume in a Region, omit this parameter.
         
     | 
| 
         @@ -1003,14 +1003,14 @@ module Aws::EC2 
     | 
|
| 
       1003 
1003 
     | 
    
         
             
                #     snapshot on an Outpost, specify the ARN of the destination Outpost.
         
     | 
| 
       1004 
1004 
     | 
    
         
             
                #     The snapshot must be created on the same Outpost as the volume.
         
     | 
| 
       1005 
1005 
     | 
    
         
             
                #
         
     | 
| 
       1006 
     | 
    
         
            -
                #   For more information, see [  
     | 
| 
       1007 
     | 
    
         
            -
                #    
     | 
| 
      
 1006 
     | 
    
         
            +
                #   For more information, see [Create local snapshots from volumes on an
         
     | 
| 
      
 1007 
     | 
    
         
            +
                #   Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       1008 
1008 
     | 
    
         
             
                #
         
     | 
| 
       1009 
1009 
     | 
    
         
             
                #
         
     | 
| 
       1010 
1010 
     | 
    
         
             
                #
         
     | 
| 
       1011 
1011 
     | 
    
         
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
         
     | 
| 
       1012 
1012 
     | 
    
         
             
                # @option options [required, String] :volume_id
         
     | 
| 
       1013 
     | 
    
         
            -
                #   The ID of the EBS volume.
         
     | 
| 
      
 1013 
     | 
    
         
            +
                #   The ID of the Amazon EBS volume.
         
     | 
| 
       1014 
1014 
     | 
    
         
             
                # @option options [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
       1015 
1015 
     | 
    
         
             
                #   The tags to apply to the snapshot during creation.
         
     | 
| 
       1016 
1016 
     | 
    
         
             
                # @option options [Boolean] :dry_run
         
     | 
| 
         @@ -1033,7 +1033,7 @@ module Aws::EC2 
     | 
|
| 
       1033 
1033 
     | 
    
         
             
                #   subnet = ec2.create_subnet({
         
     | 
| 
       1034 
1034 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       1035 
1035 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
1037 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       1038 
1038 
     | 
    
         
             
                #           {
         
     | 
| 
       1039 
1039 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -1166,8 +1166,8 @@ module Aws::EC2 
     | 
|
| 
       1166 
1166 
     | 
    
         
             
                #   if its value is an empty string.
         
     | 
| 
       1167 
1167 
     | 
    
         
             
                #
         
     | 
| 
       1168 
1168 
     | 
    
         
             
                #   If you omit this parameter, we delete all user-defined tags for the
         
     | 
| 
       1169 
     | 
    
         
            -
                #   specified resources. We do not delete  
     | 
| 
       1170 
     | 
    
         
            -
                #   have the `aws:` prefix).
         
     | 
| 
      
 1169 
     | 
    
         
            +
                #   specified resources. We do not delete Amazon Web Services-generated
         
     | 
| 
      
 1170 
     | 
    
         
            +
                #   tags (tags that have the `aws:` prefix).
         
     | 
| 
       1171 
1171 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       1172 
1172 
     | 
    
         
             
                def delete_tags(options = {})
         
     | 
| 
       1173 
1173 
     | 
    
         
             
                  resp = @client.delete_tags(options)
         
     | 
| 
         @@ -1188,7 +1188,7 @@ module Aws::EC2 
     | 
|
| 
       1188 
1188 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       1189 
1189 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       1190 
1190 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 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, 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 
1192 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       1193 
1193 
     | 
    
         
             
                #           {
         
     | 
| 
       1194 
1194 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -1199,6 +1199,7 @@ module Aws::EC2 
     | 
|
| 
       1199 
1199 
     | 
    
         
             
                #     ],
         
     | 
| 
       1200 
1200 
     | 
    
         
             
                #     multi_attach_enabled: false,
         
     | 
| 
       1201 
1201 
     | 
    
         
             
                #     throughput: 1,
         
     | 
| 
      
 1202 
     | 
    
         
            +
                #     client_token: "String",
         
     | 
| 
       1202 
1203 
     | 
    
         
             
                #   })
         
     | 
| 
       1203 
1204 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       1204 
1205 
     | 
    
         
             
                # @option options [required, String] :availability_zone
         
     | 
| 
         @@ -1234,9 +1235,9 @@ module Aws::EC2 
     | 
|
| 
       1234 
1235 
     | 
    
         
             
                #
         
     | 
| 
       1235 
1236 
     | 
    
         
             
                #   * `io2`\: 100-64,000 IOPS
         
     | 
| 
       1236 
1237 
     | 
    
         
             
                #
         
     | 
| 
       1237 
     | 
    
         
            -
                #    
     | 
| 
       1238 
     | 
    
         
            -
                #    
     | 
| 
       1239 
     | 
    
         
            -
                #    
     | 
| 
      
 1238 
     | 
    
         
            +
                #   `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
         
     | 
| 
      
 1239 
     | 
    
         
            +
                #   built on the Nitro System][1]. Other instance families support
         
     | 
| 
      
 1240 
     | 
    
         
            +
                #   performance up to 32,000 IOPS.
         
     | 
| 
       1240 
1241 
     | 
    
         
             
                #
         
     | 
| 
       1241 
1242 
     | 
    
         
             
                #   This parameter is required for `io1` and `io2` volumes. The default
         
     | 
| 
       1242 
1243 
     | 
    
         
             
                #   for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
         
     | 
| 
         @@ -1246,12 +1247,12 @@ module Aws::EC2 
     | 
|
| 
       1246 
1247 
     | 
    
         
             
                #
         
     | 
| 
       1247 
1248 
     | 
    
         
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
         
     | 
| 
       1248 
1249 
     | 
    
         
             
                # @option options [String] :kms_key_id
         
     | 
| 
       1249 
     | 
    
         
            -
                #   The identifier of the  
     | 
| 
       1250 
     | 
    
         
            -
                #    
     | 
| 
       1251 
     | 
    
         
            -
                #    
     | 
| 
       1252 
     | 
    
         
            -
                #    
     | 
| 
      
 1250 
     | 
    
         
            +
                #   The identifier of the Key Management Service (KMS) KMS key to use for
         
     | 
| 
      
 1251 
     | 
    
         
            +
                #   Amazon EBS encryption. If this parameter is not specified, your KMS
         
     | 
| 
      
 1252 
     | 
    
         
            +
                #   key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
         
     | 
| 
      
 1253 
     | 
    
         
            +
                #   state must be `true`.
         
     | 
| 
       1253 
1254 
     | 
    
         
             
                #
         
     | 
| 
       1254 
     | 
    
         
            -
                #   You can specify the  
     | 
| 
      
 1255 
     | 
    
         
            +
                #   You can specify the KMS key using any of the following:
         
     | 
| 
       1255 
1256 
     | 
    
         
             
                #
         
     | 
| 
       1256 
1257 
     | 
    
         
             
                #   * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
         
     | 
| 
       1257 
1258 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1263,9 +1264,9 @@ module Aws::EC2 
     | 
|
| 
       1263 
1264 
     | 
    
         
             
                #   * Alias ARN. For example,
         
     | 
| 
       1264 
1265 
     | 
    
         
             
                #     arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
         
     | 
| 
       1265 
1266 
     | 
    
         
             
                #
         
     | 
| 
       1266 
     | 
    
         
            -
                #    
     | 
| 
       1267 
     | 
    
         
            -
                #   ID, alias, or ARN that is not valid, the 
     | 
| 
       1268 
     | 
    
         
            -
                #   complete, but eventually fails.
         
     | 
| 
      
 1267 
     | 
    
         
            +
                #   Amazon Web Services authenticates the KMS key asynchronously.
         
     | 
| 
      
 1268 
     | 
    
         
            +
                #   Therefore, if you specify an ID, alias, or ARN that is not valid, the
         
     | 
| 
      
 1269 
     | 
    
         
            +
                #   action can appear to complete, but eventually fails.
         
     | 
| 
       1269 
1270 
     | 
    
         
             
                # @option options [String] :outpost_arn
         
     | 
| 
       1270 
1271 
     | 
    
         
             
                #   The Amazon Resource Name (ARN) of the Outpost.
         
     | 
| 
       1271 
1272 
     | 
    
         
             
                # @option options [Integer] :size
         
     | 
| 
         @@ -1333,6 +1334,14 @@ module Aws::EC2 
     | 
|
| 
       1333 
1334 
     | 
    
         
             
                #   This parameter is valid only for `gp3` volumes.
         
     | 
| 
       1334 
1335 
     | 
    
         
             
                #
         
     | 
| 
       1335 
1336 
     | 
    
         
             
                #   Valid Range: Minimum value of 125. Maximum value of 1000.
         
     | 
| 
      
 1337 
     | 
    
         
            +
                # @option options [String] :client_token
         
     | 
| 
      
 1338 
     | 
    
         
            +
                #   Unique, case-sensitive identifier that you provide to ensure the
         
     | 
| 
      
 1339 
     | 
    
         
            +
                #   idempotency of the request. For more information, see [Ensure
         
     | 
| 
      
 1340 
     | 
    
         
            +
                #   Idempotency][1].
         
     | 
| 
      
 1341 
     | 
    
         
            +
                #
         
     | 
| 
      
 1342 
     | 
    
         
            +
                #
         
     | 
| 
      
 1343 
     | 
    
         
            +
                #
         
     | 
| 
      
 1344 
     | 
    
         
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
         
     | 
| 
       1336 
1345 
     | 
    
         
             
                # @return [Volume]
         
     | 
| 
       1337 
1346 
     | 
    
         
             
                def create_volume(options = {})
         
     | 
| 
       1338 
1347 
     | 
    
         
             
                  resp = @client.create_volume(options)
         
     | 
| 
         @@ -1355,7 +1364,7 @@ module Aws::EC2 
     | 
|
| 
       1355 
1364 
     | 
    
         
             
                #     ipv_6_cidr_block_network_border_group: "String",
         
     | 
| 
       1356 
1365 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       1357 
1366 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 1367 
     | 
    
         
            +
                #         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 
1368 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       1360 
1369 
     | 
    
         
             
                #           {
         
     | 
| 
       1361 
1370 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -1428,7 +1437,7 @@ module Aws::EC2 
     | 
|
| 
       1428 
1437 
     | 
    
         
             
                #     peer_region: "String",
         
     | 
| 
       1429 
1438 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       1430 
1439 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 1440 
     | 
    
         
            +
                #         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 
1441 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       1433 
1442 
     | 
    
         
             
                #           {
         
     | 
| 
       1434 
1443 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -1500,7 +1509,7 @@ module Aws::EC2 
     | 
|
| 
       1500 
1509 
     | 
    
         
             
                #     public_key_material: "data", # required
         
     | 
| 
       1501 
1510 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       1502 
1511 
     | 
    
         
             
                #       {
         
     | 
| 
       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- 
     | 
| 
      
 1512 
     | 
    
         
            +
                #         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 
1513 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       1505 
1514 
     | 
    
         
             
                #           {
         
     | 
| 
       1506 
1515 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -2418,7 +2427,7 @@ module Aws::EC2 
     | 
|
| 
       2418 
2427 
     | 
    
         
             
                # @option options [Array<String>] :key_names
         
     | 
| 
       2419 
2428 
     | 
    
         
             
                #   The key pair names.
         
     | 
| 
       2420 
2429 
     | 
    
         
             
                #
         
     | 
| 
       2421 
     | 
    
         
            -
                #   Default: Describes all your key pairs.
         
     | 
| 
      
 2430 
     | 
    
         
            +
                #   Default: Describes all of your key pairs.
         
     | 
| 
       2422 
2431 
     | 
    
         
             
                # @option options [Array<String>] :key_pair_ids
         
     | 
| 
       2423 
2432 
     | 
    
         
             
                #   The IDs of the key pairs.
         
     | 
| 
       2424 
2433 
     | 
    
         
             
                # @option options [Boolean] :dry_run
         
     | 
| 
         @@ -3028,8 +3037,8 @@ module Aws::EC2 
     | 
|
| 
       3028 
3037 
     | 
    
         
             
                #   * `egress.ip-permission.to-port` - For an outbound rule, the end of
         
     | 
| 
       3029 
3038 
     | 
    
         
             
                #     port range for the TCP and UDP protocols, or an ICMP code.
         
     | 
| 
       3030 
3039 
     | 
    
         
             
                #
         
     | 
| 
       3031 
     | 
    
         
            -
                #   * `egress.ip-permission.user-id` - The ID of an  
     | 
| 
       3032 
     | 
    
         
            -
                #     been referenced in an outbound security group rule.
         
     | 
| 
      
 3040 
     | 
    
         
            +
                #   * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
         
     | 
| 
      
 3041 
     | 
    
         
            +
                #     account that has been referenced in an outbound security group rule.
         
     | 
| 
       3033 
3042 
     | 
    
         
             
                #
         
     | 
| 
       3034 
3043 
     | 
    
         
             
                #   * `group-id` - The ID of the security group.
         
     | 
| 
       3035 
3044 
     | 
    
         
             
                #
         
     | 
| 
         @@ -3060,10 +3069,11 @@ module Aws::EC2 
     | 
|
| 
       3060 
3069 
     | 
    
         
             
                #   * `ip-permission.to-port` - For an inbound rule, the end of port range
         
     | 
| 
       3061 
3070 
     | 
    
         
             
                #     for the TCP and UDP protocols, or an ICMP code.
         
     | 
| 
       3062 
3071 
     | 
    
         
             
                #
         
     | 
| 
       3063 
     | 
    
         
            -
                #   * `ip-permission.user-id` - The ID of an  
     | 
| 
       3064 
     | 
    
         
            -
                #     referenced in an inbound security group rule.
         
     | 
| 
      
 3072 
     | 
    
         
            +
                #   * `ip-permission.user-id` - The ID of an Amazon Web Services account
         
     | 
| 
      
 3073 
     | 
    
         
            +
                #     that has been referenced in an inbound security group rule.
         
     | 
| 
       3065 
3074 
     | 
    
         
             
                #
         
     | 
| 
       3066 
     | 
    
         
            -
                #   * `owner-id` - The  
     | 
| 
      
 3075 
     | 
    
         
            +
                #   * `owner-id` - The Amazon Web Services account ID of the owner of the
         
     | 
| 
      
 3076 
     | 
    
         
            +
                #     security group.
         
     | 
| 
       3067 
3077 
     | 
    
         
             
                #
         
     | 
| 
       3068 
3078 
     | 
    
         
             
                #   * `tag`\:<key> - The key/value combination of a tag assigned to
         
     | 
| 
       3069 
3079 
     | 
    
         
             
                #     the resource. Use the tag key in the filter name and the tag value
         
     | 
| 
         @@ -3081,14 +3091,14 @@ module Aws::EC2 
     | 
|
| 
       3081 
3091 
     | 
    
         
             
                #   The IDs of the security groups. Required for security groups in a
         
     | 
| 
       3082 
3092 
     | 
    
         
             
                #   nondefault VPC.
         
     | 
| 
       3083 
3093 
     | 
    
         
             
                #
         
     | 
| 
       3084 
     | 
    
         
            -
                #   Default: Describes all your security groups.
         
     | 
| 
      
 3094 
     | 
    
         
            +
                #   Default: Describes all of your security groups.
         
     | 
| 
       3085 
3095 
     | 
    
         
             
                # @option options [Array<String>] :group_names
         
     | 
| 
       3086 
3096 
     | 
    
         
             
                #   \[EC2-Classic and default VPC only\] The names of the security groups.
         
     | 
| 
       3087 
3097 
     | 
    
         
             
                #   You can specify either the security group name or the security group
         
     | 
| 
       3088 
3098 
     | 
    
         
             
                #   ID. For security groups in a nondefault VPC, use the `group-name`
         
     | 
| 
       3089 
3099 
     | 
    
         
             
                #   filter to describe security groups by name.
         
     | 
| 
       3090 
3100 
     | 
    
         
             
                #
         
     | 
| 
       3091 
     | 
    
         
            -
                #   Default: Describes all your security groups.
         
     | 
| 
      
 3101 
     | 
    
         
            +
                #   Default: Describes all of your security groups.
         
     | 
| 
       3092 
3102 
     | 
    
         
             
                # @option options [Boolean] :dry_run
         
     | 
| 
       3093 
3103 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
       3094 
3104 
     | 
    
         
             
                #   without actually making the request, and provides an error response.
         
     | 
| 
         @@ -3146,12 +3156,12 @@ module Aws::EC2 
     | 
|
| 
       3146 
3156 
     | 
    
         
             
                #     `false`)
         
     | 
| 
       3147 
3157 
     | 
    
         
             
                #
         
     | 
| 
       3148 
3158 
     | 
    
         
             
                #   * `owner-alias` - The owner alias, from an Amazon-maintained list
         
     | 
| 
       3149 
     | 
    
         
            -
                #     (`amazon`). This is not the user-configured  
     | 
| 
       3150 
     | 
    
         
            -
                #      
     | 
| 
       3151 
     | 
    
         
            -
                #      
     | 
| 
      
 3159 
     | 
    
         
            +
                #     (`amazon`). This is not the user-configured account alias set using
         
     | 
| 
      
 3160 
     | 
    
         
            +
                #     the IAM console. We recommend that you use the related parameter
         
     | 
| 
      
 3161 
     | 
    
         
            +
                #     instead of this filter.
         
     | 
| 
       3152 
3162 
     | 
    
         
             
                #
         
     | 
| 
       3153 
     | 
    
         
            -
                #   * `owner-id` - The  
     | 
| 
       3154 
     | 
    
         
            -
                #      
     | 
| 
      
 3163 
     | 
    
         
            +
                #   * `owner-id` - The account ID of the owner. We recommend that you use
         
     | 
| 
      
 3164 
     | 
    
         
            +
                #     the related parameter instead of this filter.
         
     | 
| 
       3155 
3165 
     | 
    
         
             
                #
         
     | 
| 
       3156 
3166 
     | 
    
         
             
                #   * `progress` - The progress of the snapshot, as a percentage (for
         
     | 
| 
       3157 
3167 
     | 
    
         
             
                #     example, 80%).
         
     | 
| 
         @@ -3178,9 +3188,9 @@ module Aws::EC2 
     | 
|
| 
       3178 
3188 
     | 
    
         
             
                #   * `volume-size` - The size of the volume, in GiB.
         
     | 
| 
       3179 
3189 
     | 
    
         
             
                # @option options [Array<String>] :owner_ids
         
     | 
| 
       3180 
3190 
     | 
    
         
             
                #   Scopes the results to snapshots with the specified owners. You can
         
     | 
| 
       3181 
     | 
    
         
            -
                #   specify a combination of  
     | 
| 
      
 3191 
     | 
    
         
            +
                #   specify a combination of account IDs, `self`, and `amazon`.
         
     | 
| 
       3182 
3192 
     | 
    
         
             
                # @option options [Array<String>] :restorable_by_user_ids
         
     | 
| 
       3183 
     | 
    
         
            -
                #   The IDs of the  
     | 
| 
      
 3193 
     | 
    
         
            +
                #   The IDs of the accounts that can create volumes from the snapshot.
         
     | 
| 
       3184 
3194 
     | 
    
         
             
                # @option options [Array<String>] :snapshot_ids
         
     | 
| 
       3185 
3195 
     | 
    
         
             
                #   The snapshot IDs.
         
     | 
| 
       3186 
3196 
     | 
    
         
             
                #
         
     | 
| 
         @@ -354,8 +354,8 @@ module Aws::EC2 
     | 
|
| 
       354 
354 
     | 
    
         
             
                #   if its value is an empty string.
         
     | 
| 
       355 
355 
     | 
    
         
             
                #
         
     | 
| 
       356 
356 
     | 
    
         
             
                #   If you omit this parameter, we delete all user-defined tags for the
         
     | 
| 
       357 
     | 
    
         
            -
                #   specified resources. We do not delete  
     | 
| 
       358 
     | 
    
         
            -
                #   have the `aws:` prefix).
         
     | 
| 
      
 357 
     | 
    
         
            +
                #   specified resources. We do not delete Amazon Web Services-generated
         
     | 
| 
      
 358 
     | 
    
         
            +
                #   tags (tags that have the `aws:` prefix).
         
     | 
| 
       359 
359 
     | 
    
         
             
                # @return [Tag::Collection]
         
     | 
| 
       360 
360 
     | 
    
         
             
                def delete_tags(options = {})
         
     | 
| 
       361 
361 
     | 
    
         
             
                  batch = []
         
     | 
| 
         @@ -53,7 +53,7 @@ module Aws::EC2 
     | 
|
| 
       53 
53 
     | 
    
         
             
                  data[:ip_permissions]
         
     | 
| 
       54 
54 
     | 
    
         
             
                end
         
     | 
| 
       55 
55 
     | 
    
         | 
| 
       56 
     | 
    
         
            -
                # The  
     | 
| 
      
 56 
     | 
    
         
            +
                # The Amazon Web Services account ID of the owner of the security group.
         
     | 
| 
       57 
57 
     | 
    
         
             
                # @return [String]
         
     | 
| 
       58 
58 
     | 
    
         
             
                def owner_id
         
     | 
| 
       59 
59 
     | 
    
         
             
                  data[:owner_id]
         
     | 
| 
         @@ -251,6 +251,17 @@ module Aws::EC2 
     | 
|
| 
       251 
251 
     | 
    
         
             
                #         ],
         
     | 
| 
       252 
252 
     | 
    
         
             
                #       },
         
     | 
| 
       253 
253 
     | 
    
         
             
                #     ],
         
     | 
| 
      
 254 
     | 
    
         
            +
                #     tag_specifications: [
         
     | 
| 
      
 255 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 256 
     | 
    
         
            +
                #         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
         
     | 
| 
      
 257 
     | 
    
         
            +
                #         tags: [
         
     | 
| 
      
 258 
     | 
    
         
            +
                #           {
         
     | 
| 
      
 259 
     | 
    
         
            +
                #             key: "String",
         
     | 
| 
      
 260 
     | 
    
         
            +
                #             value: "String",
         
     | 
| 
      
 261 
     | 
    
         
            +
                #           },
         
     | 
| 
      
 262 
     | 
    
         
            +
                #         ],
         
     | 
| 
      
 263 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 264 
     | 
    
         
            +
                #     ],
         
     | 
| 
       254 
265 
     | 
    
         
             
                #     cidr_ip: "String",
         
     | 
| 
       255 
266 
     | 
    
         
             
                #     from_port: 1,
         
     | 
| 
       256 
267 
     | 
    
         
             
                #     ip_protocol: "String",
         
     | 
| 
         @@ -267,6 +278,8 @@ module Aws::EC2 
     | 
|
| 
       267 
278 
     | 
    
         
             
                # @option options [Array<Types::IpPermission>] :ip_permissions
         
     | 
| 
       268 
279 
     | 
    
         
             
                #   The sets of IP permissions. You can't specify a destination security
         
     | 
| 
       269 
280 
     | 
    
         
             
                #   group and a CIDR IP address range in the same set of permissions.
         
     | 
| 
      
 281 
     | 
    
         
            +
                # @option options [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
      
 282 
     | 
    
         
            +
                #   The tags applied to the security group rule.
         
     | 
| 
       270 
283 
     | 
    
         
             
                # @option options [String] :cidr_ip
         
     | 
| 
       271 
284 
     | 
    
         
             
                #   Not supported. Use a set of IP permissions to specify the CIDR.
         
     | 
| 
       272 
285 
     | 
    
         
             
                # @option options [Integer] :from_port
         
     | 
| 
         @@ -282,7 +295,7 @@ module Aws::EC2 
     | 
|
| 
       282 
295 
     | 
    
         
             
                # @option options [String] :source_security_group_owner_id
         
     | 
| 
       283 
296 
     | 
    
         
             
                #   Not supported. Use a set of IP permissions to specify a destination
         
     | 
| 
       284 
297 
     | 
    
         
             
                #   security group.
         
     | 
| 
       285 
     | 
    
         
            -
                # @return [ 
     | 
| 
      
 298 
     | 
    
         
            +
                # @return [Types::AuthorizeSecurityGroupEgressResult]
         
     | 
| 
       286 
299 
     | 
    
         
             
                def authorize_egress(options = {})
         
     | 
| 
       287 
300 
     | 
    
         
             
                  options = options.merge(group_id: @id)
         
     | 
| 
       288 
301 
     | 
    
         
             
                  resp = @client.authorize_security_group_egress(options)
         
     | 
| 
         @@ -336,6 +349,17 @@ module Aws::EC2 
     | 
|
| 
       336 
349 
     | 
    
         
             
                #     source_security_group_owner_id: "String",
         
     | 
| 
       337 
350 
     | 
    
         
             
                #     to_port: 1,
         
     | 
| 
       338 
351 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
      
 352 
     | 
    
         
            +
                #     tag_specifications: [
         
     | 
| 
      
 353 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 354 
     | 
    
         
            +
                #         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
         
     | 
| 
      
 355 
     | 
    
         
            +
                #         tags: [
         
     | 
| 
      
 356 
     | 
    
         
            +
                #           {
         
     | 
| 
      
 357 
     | 
    
         
            +
                #             key: "String",
         
     | 
| 
      
 358 
     | 
    
         
            +
                #             value: "String",
         
     | 
| 
      
 359 
     | 
    
         
            +
                #           },
         
     | 
| 
      
 360 
     | 
    
         
            +
                #         ],
         
     | 
| 
      
 361 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 362 
     | 
    
         
            +
                #     ],
         
     | 
| 
       339 
363 
     | 
    
         
             
                #   })
         
     | 
| 
       340 
364 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       341 
365 
     | 
    
         
             
                # @option options [String] :cidr_ip
         
     | 
| 
         @@ -381,13 +405,14 @@ module Aws::EC2 
     | 
|
| 
       381 
405 
     | 
    
         
             
                #   IP protocol and port range, use a set of IP permissions instead. For
         
     | 
| 
       382 
406 
     | 
    
         
             
                #   EC2-VPC, the source security group must be in the same VPC.
         
     | 
| 
       383 
407 
     | 
    
         
             
                # @option options [String] :source_security_group_owner_id
         
     | 
| 
       384 
     | 
    
         
            -
                #   \[nondefault VPC\] The  
     | 
| 
       385 
     | 
    
         
            -
                #   if the source security group is in a different 
     | 
| 
       386 
     | 
    
         
            -
                #   specify this parameter in combination with the 
     | 
| 
       387 
     | 
    
         
            -
                #   the CIDR IP address range, the IP protocol, the 
     | 
| 
       388 
     | 
    
         
            -
                #   range, and the end of the port range. Creates rules 
     | 
| 
       389 
     | 
    
         
            -
                #   ICMP, UDP, and TCP access. To create a rule with a 
     | 
| 
       390 
     | 
    
         
            -
                #   protocol and port range, use a set of IP permissions 
     | 
| 
      
 408 
     | 
    
         
            +
                #   \[nondefault VPC\] The Amazon Web Services account ID for the source
         
     | 
| 
      
 409 
     | 
    
         
            +
                #   security group, if the source security group is in a different
         
     | 
| 
      
 410 
     | 
    
         
            +
                #   account. You can't specify this parameter in combination with the
         
     | 
| 
      
 411 
     | 
    
         
            +
                #   following parameters: the CIDR IP address range, the IP protocol, the
         
     | 
| 
      
 412 
     | 
    
         
            +
                #   start of the port range, and the end of the port range. Creates rules
         
     | 
| 
      
 413 
     | 
    
         
            +
                #   that grant full ICMP, UDP, and TCP access. To create a rule with a
         
     | 
| 
      
 414 
     | 
    
         
            +
                #   specific IP protocol and port range, use a set of IP permissions
         
     | 
| 
      
 415 
     | 
    
         
            +
                #   instead.
         
     | 
| 
       391 
416 
     | 
    
         
             
                # @option options [Integer] :to_port
         
     | 
| 
       392 
417 
     | 
    
         
             
                #   The end of port range for the TCP and UDP protocols, or an ICMP code
         
     | 
| 
       393 
418 
     | 
    
         
             
                #   number. For the ICMP code number, use `-1` to specify all codes. If
         
     | 
| 
         @@ -400,7 +425,9 @@ module Aws::EC2 
     | 
|
| 
       400 
425 
     | 
    
         
             
                #   without actually making the request, and provides an error response.
         
     | 
| 
       401 
426 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       402 
427 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       403 
     | 
    
         
            -
                # @ 
     | 
| 
      
 428 
     | 
    
         
            +
                # @option options [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
      
 429 
     | 
    
         
            +
                #   \[VPC Only\] The tags applied to the security group rule.
         
     | 
| 
      
 430 
     | 
    
         
            +
                # @return [Types::AuthorizeSecurityGroupIngressResult]
         
     | 
| 
       404 
431 
     | 
    
         
             
                def authorize_ingress(options = {})
         
     | 
| 
       405 
432 
     | 
    
         
             
                  options = options.merge(group_id: @id)
         
     | 
| 
       406 
433 
     | 
    
         
             
                  resp = @client.authorize_security_group_ingress(options)
         
     | 
| 
         @@ -469,8 +496,8 @@ module Aws::EC2 
     | 
|
| 
       469 
496 
     | 
    
         
             
                #   if its value is an empty string.
         
     | 
| 
       470 
497 
     | 
    
         
             
                #
         
     | 
| 
       471 
498 
     | 
    
         
             
                #   If you omit this parameter, we delete all user-defined tags for the
         
     | 
| 
       472 
     | 
    
         
            -
                #   specified resources. We do not delete  
     | 
| 
       473 
     | 
    
         
            -
                #   have the `aws:` prefix).
         
     | 
| 
      
 499 
     | 
    
         
            +
                #   specified resources. We do not delete Amazon Web Services-generated
         
     | 
| 
      
 500 
     | 
    
         
            +
                #   tags (tags that have the `aws:` prefix).
         
     | 
| 
       474 
501 
     | 
    
         
             
                # @return [Tag::Collection]
         
     | 
| 
       475 
502 
     | 
    
         
             
                def delete_tags(options = {})
         
     | 
| 
       476 
503 
     | 
    
         
             
                  batch = []
         
     | 
| 
         @@ -549,6 +576,7 @@ module Aws::EC2 
     | 
|
| 
       549 
576 
     | 
    
         
             
                #         ],
         
     | 
| 
       550 
577 
     | 
    
         
             
                #       },
         
     | 
| 
       551 
578 
     | 
    
         
             
                #     ],
         
     | 
| 
      
 579 
     | 
    
         
            +
                #     security_group_rule_ids: ["String"],
         
     | 
| 
       552 
580 
     | 
    
         
             
                #     cidr_ip: "String",
         
     | 
| 
       553 
581 
     | 
    
         
             
                #     from_port: 1,
         
     | 
| 
       554 
582 
     | 
    
         
             
                #     ip_protocol: "String",
         
     | 
| 
         @@ -565,6 +593,8 @@ module Aws::EC2 
     | 
|
| 
       565 
593 
     | 
    
         
             
                # @option options [Array<Types::IpPermission>] :ip_permissions
         
     | 
| 
       566 
594 
     | 
    
         
             
                #   The sets of IP permissions. You can't specify a destination security
         
     | 
| 
       567 
595 
     | 
    
         
             
                #   group and a CIDR IP address range in the same set of permissions.
         
     | 
| 
      
 596 
     | 
    
         
            +
                # @option options [Array<String>] :security_group_rule_ids
         
     | 
| 
      
 597 
     | 
    
         
            +
                #   The IDs of the security group rules.
         
     | 
| 
       568 
598 
     | 
    
         
             
                # @option options [String] :cidr_ip
         
     | 
| 
       569 
599 
     | 
    
         
             
                #   Not supported. Use a set of IP permissions to specify the CIDR.
         
     | 
| 
       570 
600 
     | 
    
         
             
                # @option options [Integer] :from_port
         
     | 
| 
         @@ -634,6 +664,7 @@ module Aws::EC2 
     | 
|
| 
       634 
664 
     | 
    
         
             
                #     source_security_group_owner_id: "String",
         
     | 
| 
       635 
665 
     | 
    
         
             
                #     to_port: 1,
         
     | 
| 
       636 
666 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
      
 667 
     | 
    
         
            +
                #     security_group_rule_ids: ["String"],
         
     | 
| 
       637 
668 
     | 
    
         
             
                #   })
         
     | 
| 
       638 
669 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       639 
670 
     | 
    
         
             
                # @option options [String] :cidr_ip
         
     | 
| 
         @@ -665,12 +696,13 @@ module Aws::EC2 
     | 
|
| 
       665 
696 
     | 
    
         
             
                #   rule for an IP protocol and port range, use a set of IP permissions
         
     | 
| 
       666 
697 
     | 
    
         
             
                #   instead.
         
     | 
| 
       667 
698 
     | 
    
         
             
                # @option options [String] :source_security_group_owner_id
         
     | 
| 
       668 
     | 
    
         
            -
                #   \[EC2-Classic\] The  
     | 
| 
       669 
     | 
    
         
            -
                #   the source security group is in a different 
     | 
| 
       670 
     | 
    
         
            -
                #   specify this parameter in combination with the 
     | 
| 
       671 
     | 
    
         
            -
                #   the CIDR IP address range, the IP protocol, the 
     | 
| 
       672 
     | 
    
         
            -
                #   range, and the end of the port range. To revoke a 
     | 
| 
       673 
     | 
    
         
            -
                #   IP protocol and port range, use a set of IP 
     | 
| 
      
 699 
     | 
    
         
            +
                #   \[EC2-Classic\] The Amazon Web Services account ID of the source
         
     | 
| 
      
 700 
     | 
    
         
            +
                #   security group, if the source security group is in a different
         
     | 
| 
      
 701 
     | 
    
         
            +
                #   account. You can't specify this parameter in combination with the
         
     | 
| 
      
 702 
     | 
    
         
            +
                #   following parameters: the CIDR IP address range, the IP protocol, the
         
     | 
| 
      
 703 
     | 
    
         
            +
                #   start of the port range, and the end of the port range. To revoke a
         
     | 
| 
      
 704 
     | 
    
         
            +
                #   specific rule for an IP protocol and port range, use a set of IP
         
     | 
| 
      
 705 
     | 
    
         
            +
                #   permissions instead.
         
     | 
| 
       674 
706 
     | 
    
         
             
                # @option options [Integer] :to_port
         
     | 
| 
       675 
707 
     | 
    
         
             
                #   The end of port range for the TCP and UDP protocols, or an ICMP code
         
     | 
| 
       676 
708 
     | 
    
         
             
                #   number. For the ICMP code number, use `-1` to specify all ICMP codes
         
     | 
| 
         @@ -680,6 +712,8 @@ module Aws::EC2 
     | 
|
| 
       680 
712 
     | 
    
         
             
                #   without actually making the request, and provides an error response.
         
     | 
| 
       681 
713 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       682 
714 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 715 
     | 
    
         
            +
                # @option options [Array<String>] :security_group_rule_ids
         
     | 
| 
      
 716 
     | 
    
         
            +
                #   The IDs of the security group rules.
         
     | 
| 
       683 
717 
     | 
    
         
             
                # @return [Types::RevokeSecurityGroupIngressResult]
         
     | 
| 
       684 
718 
     | 
    
         
             
                def revoke_ingress(options = {})
         
     | 
| 
       685 
719 
     | 
    
         
             
                  options = options.merge(group_id: @id)
         
     |