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
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 2496b7b06359f697b51ccd816285feee7baf3617817c75d3eefb71fc7de00696
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 53e3364b97564b30028d817287833610b9c27cceaf2ac602e5e5a8b4410c755d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: e4a81a78579de61fdc0cdbc59d7876b9f90bad324cf30feba7938bc498bd05d83e5a1946db5e789a5adfcaabb9506e9c25bd0887283a76b9ae8ca3671f485ae8
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 8791b02867c1d169369a27f9803137baef130ca95be2946e15612b2bebc7a623bbd829260bdca2a2f11438e60c8cb6e691d07feda03decc71816d2e1716f7d5e
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,26 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.250.0 (2021-07-20)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - Added idempotency to the CreateVolume API using the ClientToken request parameter
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.249.0 (2021-07-15)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - This feature enables customers  to specify weekly recurring time window(s) for scheduled events that reboot, stop or terminate EC2 instances.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            1.248.0 (2021-07-07)
         
     | 
| 
      
 15 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Feature - This release adds resource ids and tagging support for VPC security group rules.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            1.247.0 (2021-07-02)
         
     | 
| 
      
 20 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            * Feature - This release removes network-insights-boundary
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
       4 
24 
     | 
    
         
             
            1.246.0 (2021-07-01)
         
     | 
| 
       5 
25 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
26 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.250.0
         
     | 
    
        data/lib/aws-sdk-ec2.rb
    CHANGED
    
    
    
        data/lib/aws-sdk-ec2/client.rb
    CHANGED
    
    | 
         @@ -842,7 +842,7 @@ module Aws::EC2 
     | 
|
| 
       842 
842 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       843 
843 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       844 
844 
     | 
    
         
             
                #       {
         
     | 
| 
       845 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 845 
     | 
    
         
            +
                #         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
         
     | 
| 
       846 
846 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       847 
847 
     | 
    
         
             
                #           {
         
     | 
| 
       848 
848 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -955,7 +955,7 @@ module Aws::EC2 
     | 
|
| 
       955 
955 
     | 
    
         
             
                #     quantity: 1, # required
         
     | 
| 
       956 
956 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       957 
957 
     | 
    
         
             
                #       {
         
     | 
| 
       958 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 958 
     | 
    
         
            +
                #         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
         
     | 
| 
       959 
959 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       960 
960 
     | 
    
         
             
                #           {
         
     | 
| 
       961 
961 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -1474,26 +1474,26 @@ module Aws::EC2 
     | 
|
| 
       1474 
1474 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       1475 
1475 
     | 
    
         
             
                end
         
     | 
| 
       1476 
1476 
     | 
    
         | 
| 
       1477 
     | 
    
         
            -
                # Associates an  
     | 
| 
       1478 
     | 
    
         
            -
                #  
     | 
| 
       1479 
     | 
    
         
            -
                #  
     | 
| 
       1480 
     | 
    
         
            -
                #  
     | 
| 
       1481 
     | 
    
         
            -
                #  
     | 
| 
      
 1477 
     | 
    
         
            +
                # Associates an Identity and Access Management (IAM) role with an
         
     | 
| 
      
 1478 
     | 
    
         
            +
                # Certificate Manager (ACM) certificate. This enables the certificate to
         
     | 
| 
      
 1479 
     | 
    
         
            +
                # be used by the ACM for Nitro Enclaves application inside an enclave.
         
     | 
| 
      
 1480 
     | 
    
         
            +
                # For more information, see [Certificate Manager for Nitro Enclaves][1]
         
     | 
| 
      
 1481 
     | 
    
         
            +
                # in the *Amazon Web Services Nitro Enclaves User Guide*.
         
     | 
| 
       1482 
1482 
     | 
    
         
             
                #
         
     | 
| 
       1483 
1483 
     | 
    
         
             
                # When the IAM role is associated with the ACM certificate, the
         
     | 
| 
       1484 
1484 
     | 
    
         
             
                # certificate, certificate chain, and encrypted private key are placed
         
     | 
| 
       1485 
1485 
     | 
    
         
             
                # in an Amazon S3 bucket that only the associated IAM role can access.
         
     | 
| 
       1486 
     | 
    
         
            -
                # The private key of the certificate is encrypted with an  
     | 
| 
       1487 
     | 
    
         
            -
                #  
     | 
| 
      
 1486 
     | 
    
         
            +
                # The private key of the certificate is encrypted with an Amazon Web
         
     | 
| 
      
 1487 
     | 
    
         
            +
                # Services managed key that has an attached attestation-based key
         
     | 
| 
       1488 
1488 
     | 
    
         
             
                # policy.
         
     | 
| 
       1489 
1489 
     | 
    
         
             
                #
         
     | 
| 
       1490 
1490 
     | 
    
         
             
                # To enable the IAM role to access the Amazon S3 object, you must grant
         
     | 
| 
       1491 
1491 
     | 
    
         
             
                # it permission to call `s3:GetObject` on the Amazon S3 bucket returned
         
     | 
| 
       1492 
     | 
    
         
            -
                # by the command. To enable the IAM role to access the  
     | 
| 
       1493 
     | 
    
         
            -
                #  
     | 
| 
       1494 
     | 
    
         
            -
                #  
     | 
| 
       1495 
     | 
    
         
            -
                #  
     | 
| 
       1496 
     | 
    
         
            -
                #  
     | 
| 
      
 1492 
     | 
    
         
            +
                # by the command. To enable the IAM role to access the KMS key, you must
         
     | 
| 
      
 1493 
     | 
    
         
            +
                # grant it permission to call `kms:Decrypt` on the KMS key returned by
         
     | 
| 
      
 1494 
     | 
    
         
            +
                # the command. For more information, see [ Grant the role permission to
         
     | 
| 
      
 1495 
     | 
    
         
            +
                # access the certificate and encryption key][2] in the *Amazon Web
         
     | 
| 
      
 1496 
     | 
    
         
            +
                # Services Nitro Enclaves User Guide*.
         
     | 
| 
       1497 
1497 
     | 
    
         
             
                #
         
     | 
| 
       1498 
1498 
     | 
    
         
             
                #
         
     | 
| 
       1499 
1499 
     | 
    
         
             
                #
         
     | 
| 
         @@ -1609,6 +1609,81 @@ module Aws::EC2 
     | 
|
| 
       1609 
1609 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       1610 
1610 
     | 
    
         
             
                end
         
     | 
| 
       1611 
1611 
     | 
    
         | 
| 
      
 1612 
     | 
    
         
            +
                # Associates one or more targets with an event window. Only one type of
         
     | 
| 
      
 1613 
     | 
    
         
            +
                # target (instance IDs, Dedicated Host IDs, or tags) can be specified
         
     | 
| 
      
 1614 
     | 
    
         
            +
                # with an event window.
         
     | 
| 
      
 1615 
     | 
    
         
            +
                #
         
     | 
| 
      
 1616 
     | 
    
         
            +
                # For more information, see [Define event windows for scheduled
         
     | 
| 
      
 1617 
     | 
    
         
            +
                # events][1] in the *Amazon EC2 User Guide*.
         
     | 
| 
      
 1618 
     | 
    
         
            +
                #
         
     | 
| 
      
 1619 
     | 
    
         
            +
                #
         
     | 
| 
      
 1620 
     | 
    
         
            +
                #
         
     | 
| 
      
 1621 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
         
     | 
| 
      
 1622 
     | 
    
         
            +
                #
         
     | 
| 
      
 1623 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 1624 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 1625 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 1626 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 1627 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 1628 
     | 
    
         
            +
                #
         
     | 
| 
      
 1629 
     | 
    
         
            +
                # @option params [required, String] :instance_event_window_id
         
     | 
| 
      
 1630 
     | 
    
         
            +
                #   The ID of the event window.
         
     | 
| 
      
 1631 
     | 
    
         
            +
                #
         
     | 
| 
      
 1632 
     | 
    
         
            +
                # @option params [required, Types::InstanceEventWindowAssociationRequest] :association_target
         
     | 
| 
      
 1633 
     | 
    
         
            +
                #   One or more targets associated with the specified event window.
         
     | 
| 
      
 1634 
     | 
    
         
            +
                #
         
     | 
| 
      
 1635 
     | 
    
         
            +
                # @return [Types::AssociateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 1636 
     | 
    
         
            +
                #
         
     | 
| 
      
 1637 
     | 
    
         
            +
                #   * {Types::AssociateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
         
     | 
| 
      
 1638 
     | 
    
         
            +
                #
         
     | 
| 
      
 1639 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 1640 
     | 
    
         
            +
                #
         
     | 
| 
      
 1641 
     | 
    
         
            +
                #   resp = client.associate_instance_event_window({
         
     | 
| 
      
 1642 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 1643 
     | 
    
         
            +
                #     instance_event_window_id: "InstanceEventWindowId", # required
         
     | 
| 
      
 1644 
     | 
    
         
            +
                #     association_target: { # required
         
     | 
| 
      
 1645 
     | 
    
         
            +
                #       instance_ids: ["InstanceId"],
         
     | 
| 
      
 1646 
     | 
    
         
            +
                #       instance_tags: [
         
     | 
| 
      
 1647 
     | 
    
         
            +
                #         {
         
     | 
| 
      
 1648 
     | 
    
         
            +
                #           key: "String",
         
     | 
| 
      
 1649 
     | 
    
         
            +
                #           value: "String",
         
     | 
| 
      
 1650 
     | 
    
         
            +
                #         },
         
     | 
| 
      
 1651 
     | 
    
         
            +
                #       ],
         
     | 
| 
      
 1652 
     | 
    
         
            +
                #       dedicated_host_ids: ["DedicatedHostId"],
         
     | 
| 
      
 1653 
     | 
    
         
            +
                #     },
         
     | 
| 
      
 1654 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 1655 
     | 
    
         
            +
                #
         
     | 
| 
      
 1656 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 1657 
     | 
    
         
            +
                #
         
     | 
| 
      
 1658 
     | 
    
         
            +
                #   resp.instance_event_window.instance_event_window_id #=> String
         
     | 
| 
      
 1659 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges #=> Array
         
     | 
| 
      
 1660 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 1661 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_hour #=> Integer
         
     | 
| 
      
 1662 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 1663 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_hour #=> Integer
         
     | 
| 
      
 1664 
     | 
    
         
            +
                #   resp.instance_event_window.name #=> String
         
     | 
| 
      
 1665 
     | 
    
         
            +
                #   resp.instance_event_window.cron_expression #=> String
         
     | 
| 
      
 1666 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids #=> Array
         
     | 
| 
      
 1667 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids[0] #=> String
         
     | 
| 
      
 1668 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags #=> Array
         
     | 
| 
      
 1669 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].key #=> String
         
     | 
| 
      
 1670 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].value #=> String
         
     | 
| 
      
 1671 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids #=> Array
         
     | 
| 
      
 1672 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
         
     | 
| 
      
 1673 
     | 
    
         
            +
                #   resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
         
     | 
| 
      
 1674 
     | 
    
         
            +
                #   resp.instance_event_window.tags #=> Array
         
     | 
| 
      
 1675 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].key #=> String
         
     | 
| 
      
 1676 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].value #=> String
         
     | 
| 
      
 1677 
     | 
    
         
            +
                #
         
     | 
| 
      
 1678 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateInstanceEventWindow AWS API Documentation
         
     | 
| 
      
 1679 
     | 
    
         
            +
                #
         
     | 
| 
      
 1680 
     | 
    
         
            +
                # @overload associate_instance_event_window(params = {})
         
     | 
| 
      
 1681 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 1682 
     | 
    
         
            +
                def associate_instance_event_window(params = {}, options = {})
         
     | 
| 
      
 1683 
     | 
    
         
            +
                  req = build_request(:associate_instance_event_window, params)
         
     | 
| 
      
 1684 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 1685 
     | 
    
         
            +
                end
         
     | 
| 
      
 1686 
     | 
    
         
            +
             
     | 
| 
       1612 
1687 
     | 
    
         
             
                # Associates a subnet in your VPC or an internet gateway or virtual
         
     | 
| 
       1613 
1688 
     | 
    
         
             
                # private gateway attached to your VPC with a route table in your VPC.
         
     | 
| 
       1614 
1689 
     | 
    
         
             
                # This association causes traffic from the subnet or gateway to be
         
     | 
| 
         @@ -2182,13 +2257,13 @@ module Aws::EC2 
     | 
|
| 
       2182 
2257 
     | 
    
         
             
                # encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       2183 
2258 
     | 
    
         
             
                #
         
     | 
| 
       2184 
2259 
     | 
    
         
             
                # After you attach an EBS volume, you must make it available. For more
         
     | 
| 
       2185 
     | 
    
         
            -
                # information, see [ 
     | 
| 
      
 2260 
     | 
    
         
            +
                # information, see [Make an EBS volume available for use][2].
         
     | 
| 
       2186 
2261 
     | 
    
         
             
                #
         
     | 
| 
       2187 
     | 
    
         
            -
                # If a volume has an  
     | 
| 
      
 2262 
     | 
    
         
            +
                # If a volume has an Marketplace product code:
         
     | 
| 
       2188 
2263 
     | 
    
         
             
                #
         
     | 
| 
       2189 
2264 
     | 
    
         
             
                # * The volume can be attached only to a stopped instance.
         
     | 
| 
       2190 
2265 
     | 
    
         
             
                #
         
     | 
| 
       2191 
     | 
    
         
            -
                # *  
     | 
| 
      
 2266 
     | 
    
         
            +
                # * Marketplace product codes are copied from the volume to the
         
     | 
| 
       2192 
2267 
     | 
    
         
             
                #   instance.
         
     | 
| 
       2193 
2268 
     | 
    
         
             
                #
         
     | 
| 
       2194 
2269 
     | 
    
         
             
                # * You must be subscribed to the product.
         
     | 
| 
         @@ -2197,8 +2272,8 @@ module Aws::EC2 
     | 
|
| 
       2197 
2272 
     | 
    
         
             
                #   the product. For example, you can't detach a volume from a Windows
         
     | 
| 
       2198 
2273 
     | 
    
         
             
                #   instance and attach it to a Linux instance.
         
     | 
| 
       2199 
2274 
     | 
    
         
             
                #
         
     | 
| 
       2200 
     | 
    
         
            -
                # For more information, see [ 
     | 
| 
       2201 
     | 
    
         
            -
                # *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
      
 2275 
     | 
    
         
            +
                # For more information, see [Attach an Amazon EBS volume to an
         
     | 
| 
      
 2276 
     | 
    
         
            +
                # instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       2202 
2277 
     | 
    
         
             
                #
         
     | 
| 
       2203 
2278 
     | 
    
         
             
                #
         
     | 
| 
       2204 
2279 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2400,12 +2475,12 @@ module Aws::EC2 
     | 
|
| 
       2400 
2475 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       2401 
2476 
     | 
    
         
             
                end
         
     | 
| 
       2402 
2477 
     | 
    
         | 
| 
       2403 
     | 
    
         
            -
                # \[VPC only\] Adds the specified egress rules to a security 
     | 
| 
       2404 
     | 
    
         
            -
                # use with a VPC.
         
     | 
| 
      
 2478 
     | 
    
         
            +
                # \[VPC only\] Adds the specified outbound (egress) rules to a security
         
     | 
| 
      
 2479 
     | 
    
         
            +
                # group for use with a VPC.
         
     | 
| 
       2405 
2480 
     | 
    
         
             
                #
         
     | 
| 
       2406 
2481 
     | 
    
         
             
                # An outbound rule permits instances to send traffic to the specified
         
     | 
| 
       2407 
     | 
    
         
            -
                # IPv4 or IPv6 CIDR address ranges, or to the instances  
     | 
| 
       2408 
     | 
    
         
            -
                # the specified destination security groups.
         
     | 
| 
      
 2482 
     | 
    
         
            +
                # IPv4 or IPv6 CIDR address ranges, or to the instances that are
         
     | 
| 
      
 2483 
     | 
    
         
            +
                # associated with the specified destination security groups.
         
     | 
| 
       2409 
2484 
     | 
    
         
             
                #
         
     | 
| 
       2410 
2485 
     | 
    
         
             
                # You specify a protocol for each rule (for example, TCP). For the TCP
         
     | 
| 
       2411 
2486 
     | 
    
         
             
                # and UDP protocols, you must also specify the destination port or port
         
     | 
| 
         @@ -2416,8 +2491,8 @@ module Aws::EC2 
     | 
|
| 
       2416 
2491 
     | 
    
         
             
                # Rule changes are propagated to affected instances as quickly as
         
     | 
| 
       2417 
2492 
     | 
    
         
             
                # possible. However, a small delay might occur.
         
     | 
| 
       2418 
2493 
     | 
    
         
             
                #
         
     | 
| 
       2419 
     | 
    
         
            -
                # For  
     | 
| 
       2420 
     | 
    
         
            -
                #  
     | 
| 
      
 2494 
     | 
    
         
            +
                # For information about VPC security group quotas, see [Amazon VPC
         
     | 
| 
      
 2495 
     | 
    
         
            +
                # quotas][1].
         
     | 
| 
       2421 
2496 
     | 
    
         
             
                #
         
     | 
| 
       2422 
2497 
     | 
    
         
             
                #
         
     | 
| 
       2423 
2498 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2436,6 +2511,9 @@ module Aws::EC2 
     | 
|
| 
       2436 
2511 
     | 
    
         
             
                #   The sets of IP permissions. You can't specify a destination security
         
     | 
| 
       2437 
2512 
     | 
    
         
             
                #   group and a CIDR IP address range in the same set of permissions.
         
     | 
| 
       2438 
2513 
     | 
    
         
             
                #
         
     | 
| 
      
 2514 
     | 
    
         
            +
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
      
 2515 
     | 
    
         
            +
                #   The tags applied to the security group rule.
         
     | 
| 
      
 2516 
     | 
    
         
            +
                #
         
     | 
| 
       2439 
2517 
     | 
    
         
             
                # @option params [String] :cidr_ip
         
     | 
| 
       2440 
2518 
     | 
    
         
             
                #   Not supported. Use a set of IP permissions to specify the CIDR.
         
     | 
| 
       2441 
2519 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2457,7 +2535,10 @@ module Aws::EC2 
     | 
|
| 
       2457 
2535 
     | 
    
         
             
                #   Not supported. Use a set of IP permissions to specify a destination
         
     | 
| 
       2458 
2536 
     | 
    
         
             
                #   security group.
         
     | 
| 
       2459 
2537 
     | 
    
         
             
                #
         
     | 
| 
       2460 
     | 
    
         
            -
                # @return [ 
     | 
| 
      
 2538 
     | 
    
         
            +
                # @return [Types::AuthorizeSecurityGroupEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 2539 
     | 
    
         
            +
                #
         
     | 
| 
      
 2540 
     | 
    
         
            +
                #   * {Types::AuthorizeSecurityGroupEgressResult#return #return} => Boolean
         
     | 
| 
      
 2541 
     | 
    
         
            +
                #   * {Types::AuthorizeSecurityGroupEgressResult#security_group_rules #security_group_rules} => Array<Types::SecurityGroupRule>
         
     | 
| 
       2461 
2542 
     | 
    
         
             
                #
         
     | 
| 
       2462 
2543 
     | 
    
         
             
                #
         
     | 
| 
       2463 
2544 
     | 
    
         
             
                # @example Example: To add a rule that allows outbound traffic to a specific address range
         
     | 
| 
         @@ -2549,6 +2630,17 @@ module Aws::EC2 
     | 
|
| 
       2549 
2630 
     | 
    
         
             
                #         ],
         
     | 
| 
       2550 
2631 
     | 
    
         
             
                #       },
         
     | 
| 
       2551 
2632 
     | 
    
         
             
                #     ],
         
     | 
| 
      
 2633 
     | 
    
         
            +
                #     tag_specifications: [
         
     | 
| 
      
 2634 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 2635 
     | 
    
         
            +
                #         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
         
     | 
| 
      
 2636 
     | 
    
         
            +
                #         tags: [
         
     | 
| 
      
 2637 
     | 
    
         
            +
                #           {
         
     | 
| 
      
 2638 
     | 
    
         
            +
                #             key: "String",
         
     | 
| 
      
 2639 
     | 
    
         
            +
                #             value: "String",
         
     | 
| 
      
 2640 
     | 
    
         
            +
                #           },
         
     | 
| 
      
 2641 
     | 
    
         
            +
                #         ],
         
     | 
| 
      
 2642 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 2643 
     | 
    
         
            +
                #     ],
         
     | 
| 
       2552 
2644 
     | 
    
         
             
                #     cidr_ip: "String",
         
     | 
| 
       2553 
2645 
     | 
    
         
             
                #     from_port: 1,
         
     | 
| 
       2554 
2646 
     | 
    
         
             
                #     ip_protocol: "String",
         
     | 
| 
         @@ -2557,6 +2649,30 @@ module Aws::EC2 
     | 
|
| 
       2557 
2649 
     | 
    
         
             
                #     source_security_group_owner_id: "String",
         
     | 
| 
       2558 
2650 
     | 
    
         
             
                #   })
         
     | 
| 
       2559 
2651 
     | 
    
         
             
                #
         
     | 
| 
      
 2652 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 2653 
     | 
    
         
            +
                #
         
     | 
| 
      
 2654 
     | 
    
         
            +
                #   resp.return #=> Boolean
         
     | 
| 
      
 2655 
     | 
    
         
            +
                #   resp.security_group_rules #=> Array
         
     | 
| 
      
 2656 
     | 
    
         
            +
                #   resp.security_group_rules[0].security_group_rule_id #=> String
         
     | 
| 
      
 2657 
     | 
    
         
            +
                #   resp.security_group_rules[0].group_id #=> String
         
     | 
| 
      
 2658 
     | 
    
         
            +
                #   resp.security_group_rules[0].group_owner_id #=> String
         
     | 
| 
      
 2659 
     | 
    
         
            +
                #   resp.security_group_rules[0].is_egress #=> Boolean
         
     | 
| 
      
 2660 
     | 
    
         
            +
                #   resp.security_group_rules[0].ip_protocol #=> String
         
     | 
| 
      
 2661 
     | 
    
         
            +
                #   resp.security_group_rules[0].from_port #=> Integer
         
     | 
| 
      
 2662 
     | 
    
         
            +
                #   resp.security_group_rules[0].to_port #=> Integer
         
     | 
| 
      
 2663 
     | 
    
         
            +
                #   resp.security_group_rules[0].cidr_ipv_4 #=> String
         
     | 
| 
      
 2664 
     | 
    
         
            +
                #   resp.security_group_rules[0].cidr_ipv_6 #=> String
         
     | 
| 
      
 2665 
     | 
    
         
            +
                #   resp.security_group_rules[0].prefix_list_id #=> String
         
     | 
| 
      
 2666 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.group_id #=> String
         
     | 
| 
      
 2667 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.peering_status #=> String
         
     | 
| 
      
 2668 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.user_id #=> String
         
     | 
| 
      
 2669 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
         
     | 
| 
      
 2670 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
         
     | 
| 
      
 2671 
     | 
    
         
            +
                #   resp.security_group_rules[0].description #=> String
         
     | 
| 
      
 2672 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags #=> Array
         
     | 
| 
      
 2673 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags[0].key #=> String
         
     | 
| 
      
 2674 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags[0].value #=> String
         
     | 
| 
      
 2675 
     | 
    
         
            +
                #
         
     | 
| 
       2560 
2676 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress AWS API Documentation
         
     | 
| 
       2561 
2677 
     | 
    
         
             
                #
         
     | 
| 
       2562 
2678 
     | 
    
         
             
                # @overload authorize_security_group_egress(params = {})
         
     | 
| 
         @@ -2566,11 +2682,11 @@ module Aws::EC2 
     | 
|
| 
       2566 
2682 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       2567 
2683 
     | 
    
         
             
                end
         
     | 
| 
       2568 
2684 
     | 
    
         | 
| 
       2569 
     | 
    
         
            -
                # Adds the specified ingress rules to a security group.
         
     | 
| 
      
 2685 
     | 
    
         
            +
                # Adds the specified inbound (ingress) rules to a security group.
         
     | 
| 
       2570 
2686 
     | 
    
         
             
                #
         
     | 
| 
       2571 
2687 
     | 
    
         
             
                # An inbound rule permits instances to receive traffic from the
         
     | 
| 
       2572 
     | 
    
         
            -
                # specified IPv4 or IPv6 CIDR address  
     | 
| 
       2573 
     | 
    
         
            -
                # associated with the specified destination security groups.
         
     | 
| 
      
 2688 
     | 
    
         
            +
                # specified IPv4 or IPv6 CIDR address range, or from the instances that
         
     | 
| 
      
 2689 
     | 
    
         
            +
                # are associated with the specified destination security groups.
         
     | 
| 
       2574 
2690 
     | 
    
         
             
                #
         
     | 
| 
       2575 
2691 
     | 
    
         
             
                # You specify a protocol for each rule (for example, TCP). For TCP and
         
     | 
| 
       2576 
2692 
     | 
    
         
             
                # UDP, you must also specify the destination port or port range. For
         
     | 
| 
         @@ -2580,8 +2696,8 @@ module Aws::EC2 
     | 
|
| 
       2580 
2696 
     | 
    
         
             
                # Rule changes are propagated to instances within the security group as
         
     | 
| 
       2581 
2697 
     | 
    
         
             
                # quickly as possible. However, a small delay might occur.
         
     | 
| 
       2582 
2698 
     | 
    
         
             
                #
         
     | 
| 
       2583 
     | 
    
         
            -
                # For more information about VPC security group  
     | 
| 
       2584 
     | 
    
         
            -
                #  
     | 
| 
      
 2699 
     | 
    
         
            +
                # For more information about VPC security group quotas, see [Amazon VPC
         
     | 
| 
      
 2700 
     | 
    
         
            +
                # quotas][1].
         
     | 
| 
       2585 
2701 
     | 
    
         
             
                #
         
     | 
| 
       2586 
2702 
     | 
    
         
             
                #
         
     | 
| 
       2587 
2703 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2641,13 +2757,14 @@ module Aws::EC2 
     | 
|
| 
       2641 
2757 
     | 
    
         
             
                #   EC2-VPC, the source security group must be in the same VPC.
         
     | 
| 
       2642 
2758 
     | 
    
         
             
                #
         
     | 
| 
       2643 
2759 
     | 
    
         
             
                # @option params [String] :source_security_group_owner_id
         
     | 
| 
       2644 
     | 
    
         
            -
                #   \[nondefault VPC\] The  
     | 
| 
       2645 
     | 
    
         
            -
                #   if the source security group is in a different 
     | 
| 
       2646 
     | 
    
         
            -
                #   specify this parameter in combination with the 
     | 
| 
       2647 
     | 
    
         
            -
                #   the CIDR IP address range, the IP protocol, the 
     | 
| 
       2648 
     | 
    
         
            -
                #   range, and the end of the port range. Creates rules 
     | 
| 
       2649 
     | 
    
         
            -
                #   ICMP, UDP, and TCP access. To create a rule with a 
     | 
| 
       2650 
     | 
    
         
            -
                #   protocol and port range, use a set of IP permissions 
     | 
| 
      
 2760 
     | 
    
         
            +
                #   \[nondefault VPC\] The Amazon Web Services account ID for the source
         
     | 
| 
      
 2761 
     | 
    
         
            +
                #   security group, if the source security group is in a different
         
     | 
| 
      
 2762 
     | 
    
         
            +
                #   account. You can't specify this parameter in combination with the
         
     | 
| 
      
 2763 
     | 
    
         
            +
                #   following parameters: the CIDR IP address range, the IP protocol, the
         
     | 
| 
      
 2764 
     | 
    
         
            +
                #   start of the port range, and the end of the port range. Creates rules
         
     | 
| 
      
 2765 
     | 
    
         
            +
                #   that grant full ICMP, UDP, and TCP access. To create a rule with a
         
     | 
| 
      
 2766 
     | 
    
         
            +
                #   specific IP protocol and port range, use a set of IP permissions
         
     | 
| 
      
 2767 
     | 
    
         
            +
                #   instead.
         
     | 
| 
       2651 
2768 
     | 
    
         
             
                #
         
     | 
| 
       2652 
2769 
     | 
    
         
             
                # @option params [Integer] :to_port
         
     | 
| 
       2653 
2770 
     | 
    
         
             
                #   The end of port range for the TCP and UDP protocols, or an ICMP code
         
     | 
| 
         @@ -2663,7 +2780,13 @@ module Aws::EC2 
     | 
|
| 
       2663 
2780 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       2664 
2781 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       2665 
2782 
     | 
    
         
             
                #
         
     | 
| 
       2666 
     | 
    
         
            -
                # @ 
     | 
| 
      
 2783 
     | 
    
         
            +
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
      
 2784 
     | 
    
         
            +
                #   \[VPC Only\] The tags applied to the security group rule.
         
     | 
| 
      
 2785 
     | 
    
         
            +
                #
         
     | 
| 
      
 2786 
     | 
    
         
            +
                # @return [Types::AuthorizeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 2787 
     | 
    
         
            +
                #
         
     | 
| 
      
 2788 
     | 
    
         
            +
                #   * {Types::AuthorizeSecurityGroupIngressResult#return #return} => Boolean
         
     | 
| 
      
 2789 
     | 
    
         
            +
                #   * {Types::AuthorizeSecurityGroupIngressResult#security_group_rules #security_group_rules} => Array<Types::SecurityGroupRule>
         
     | 
| 
       2667 
2790 
     | 
    
         
             
                #
         
     | 
| 
       2668 
2791 
     | 
    
         
             
                #
         
     | 
| 
       2669 
2792 
     | 
    
         
             
                # @example Example: To add a rule that allows inbound SSH traffic from an IPv4 address range
         
     | 
| 
         @@ -2793,8 +2916,43 @@ module Aws::EC2 
     | 
|
| 
       2793 
2916 
     | 
    
         
             
                #     source_security_group_owner_id: "String",
         
     | 
| 
       2794 
2917 
     | 
    
         
             
                #     to_port: 1,
         
     | 
| 
       2795 
2918 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
      
 2919 
     | 
    
         
            +
                #     tag_specifications: [
         
     | 
| 
      
 2920 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 2921 
     | 
    
         
            +
                #         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
         
     | 
| 
      
 2922 
     | 
    
         
            +
                #         tags: [
         
     | 
| 
      
 2923 
     | 
    
         
            +
                #           {
         
     | 
| 
      
 2924 
     | 
    
         
            +
                #             key: "String",
         
     | 
| 
      
 2925 
     | 
    
         
            +
                #             value: "String",
         
     | 
| 
      
 2926 
     | 
    
         
            +
                #           },
         
     | 
| 
      
 2927 
     | 
    
         
            +
                #         ],
         
     | 
| 
      
 2928 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 2929 
     | 
    
         
            +
                #     ],
         
     | 
| 
       2796 
2930 
     | 
    
         
             
                #   })
         
     | 
| 
       2797 
2931 
     | 
    
         
             
                #
         
     | 
| 
      
 2932 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 2933 
     | 
    
         
            +
                #
         
     | 
| 
      
 2934 
     | 
    
         
            +
                #   resp.return #=> Boolean
         
     | 
| 
      
 2935 
     | 
    
         
            +
                #   resp.security_group_rules #=> Array
         
     | 
| 
      
 2936 
     | 
    
         
            +
                #   resp.security_group_rules[0].security_group_rule_id #=> String
         
     | 
| 
      
 2937 
     | 
    
         
            +
                #   resp.security_group_rules[0].group_id #=> String
         
     | 
| 
      
 2938 
     | 
    
         
            +
                #   resp.security_group_rules[0].group_owner_id #=> String
         
     | 
| 
      
 2939 
     | 
    
         
            +
                #   resp.security_group_rules[0].is_egress #=> Boolean
         
     | 
| 
      
 2940 
     | 
    
         
            +
                #   resp.security_group_rules[0].ip_protocol #=> String
         
     | 
| 
      
 2941 
     | 
    
         
            +
                #   resp.security_group_rules[0].from_port #=> Integer
         
     | 
| 
      
 2942 
     | 
    
         
            +
                #   resp.security_group_rules[0].to_port #=> Integer
         
     | 
| 
      
 2943 
     | 
    
         
            +
                #   resp.security_group_rules[0].cidr_ipv_4 #=> String
         
     | 
| 
      
 2944 
     | 
    
         
            +
                #   resp.security_group_rules[0].cidr_ipv_6 #=> String
         
     | 
| 
      
 2945 
     | 
    
         
            +
                #   resp.security_group_rules[0].prefix_list_id #=> String
         
     | 
| 
      
 2946 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.group_id #=> String
         
     | 
| 
      
 2947 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.peering_status #=> String
         
     | 
| 
      
 2948 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.user_id #=> String
         
     | 
| 
      
 2949 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
         
     | 
| 
      
 2950 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
         
     | 
| 
      
 2951 
     | 
    
         
            +
                #   resp.security_group_rules[0].description #=> String
         
     | 
| 
      
 2952 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags #=> Array
         
     | 
| 
      
 2953 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags[0].key #=> String
         
     | 
| 
      
 2954 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags[0].value #=> String
         
     | 
| 
      
 2955 
     | 
    
         
            +
                #
         
     | 
| 
       2798 
2956 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress AWS API Documentation
         
     | 
| 
       2799 
2957 
     | 
    
         
             
                #
         
     | 
| 
       2800 
2958 
     | 
    
         
             
                # @overload authorize_security_group_ingress(params = {})
         
     | 
| 
         @@ -3589,11 +3747,11 @@ module Aws::EC2 
     | 
|
| 
       3589 
3747 
     | 
    
         
             
                # When copying snapshots to a Region, copies of encrypted EBS snapshots
         
     | 
| 
       3590 
3748 
     | 
    
         
             
                # remain encrypted. Copies of unencrypted snapshots remain unencrypted,
         
     | 
| 
       3591 
3749 
     | 
    
         
             
                # unless you enable encryption for the snapshot copy operation. By
         
     | 
| 
       3592 
     | 
    
         
            -
                # default, encrypted snapshot copies use the default  
     | 
| 
       3593 
     | 
    
         
            -
                # Service ( 
     | 
| 
       3594 
     | 
    
         
            -
                #  
     | 
| 
       3595 
     | 
    
         
            -
                #  
     | 
| 
       3596 
     | 
    
         
            -
                #  
     | 
| 
      
 3750 
     | 
    
         
            +
                # default, encrypted snapshot copies use the default Key Management
         
     | 
| 
      
 3751 
     | 
    
         
            +
                # Service (KMS) KMS key; however, you can specify a different KMS key.
         
     | 
| 
      
 3752 
     | 
    
         
            +
                # To copy an encrypted snapshot that has been shared from another
         
     | 
| 
      
 3753 
     | 
    
         
            +
                # account, you must have permissions for the KMS key used to encrypt the
         
     | 
| 
      
 3754 
     | 
    
         
            +
                # snapshot.
         
     | 
| 
       3597 
3755 
     | 
    
         
             
                #
         
     | 
| 
       3598 
3756 
     | 
    
         
             
                # Snapshots copied to an Outpost are encrypted by default using the
         
     | 
| 
       3599 
3757 
     | 
    
         
             
                # default encryption key for the Region, or a different key that you
         
     | 
| 
         @@ -3605,7 +3763,7 @@ module Aws::EC2 
     | 
|
| 
       3605 
3763 
     | 
    
         
             
                # Snapshots created by copying another snapshot have an arbitrary volume
         
     | 
| 
       3606 
3764 
     | 
    
         
             
                # ID that should not be used for any purpose.
         
     | 
| 
       3607 
3765 
     | 
    
         
             
                #
         
     | 
| 
       3608 
     | 
    
         
            -
                # For more information, see [ 
     | 
| 
      
 3766 
     | 
    
         
            +
                # For more information, see [Copy an Amazon EBS snapshot][2] in the
         
     | 
| 
       3609 
3767 
     | 
    
         
             
                # *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       3610 
3768 
     | 
    
         
             
                #
         
     | 
| 
       3611 
3769 
     | 
    
         
             
                #
         
     | 
| 
         @@ -3619,12 +3777,14 @@ module Aws::EC2 
     | 
|
| 
       3619 
3777 
     | 
    
         
             
                # @option params [String] :destination_outpost_arn
         
     | 
| 
       3620 
3778 
     | 
    
         
             
                #   The Amazon Resource Name (ARN) of the Outpost to which to copy the
         
     | 
| 
       3621 
3779 
     | 
    
         
             
                #   snapshot. Only specify this parameter when copying a snapshot from an
         
     | 
| 
       3622 
     | 
    
         
            -
                #    
     | 
| 
       3623 
     | 
    
         
            -
                #   destination Outpost. You cannot copy a snapshot from an 
     | 
| 
       3624 
     | 
    
         
            -
                #   Region, from one Outpost to another, or within the same 
     | 
| 
      
 3780 
     | 
    
         
            +
                #   Amazon Web Services Region to an Outpost. The snapshot must be in the
         
     | 
| 
      
 3781 
     | 
    
         
            +
                #   Region for the destination Outpost. You cannot copy a snapshot from an
         
     | 
| 
      
 3782 
     | 
    
         
            +
                #   Outpost to a Region, from one Outpost to another, or within the same
         
     | 
| 
      
 3783 
     | 
    
         
            +
                #   Outpost.
         
     | 
| 
       3625 
3784 
     | 
    
         
             
                #
         
     | 
| 
       3626 
     | 
    
         
            -
                #   For more information, see [  
     | 
| 
       3627 
     | 
    
         
            -
                #   Outpost][1] in the *Amazon Elastic Compute Cloud User 
     | 
| 
      
 3785 
     | 
    
         
            +
                #   For more information, see [ Copy snapshots from an Amazon Web Services
         
     | 
| 
      
 3786 
     | 
    
         
            +
                #   Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
         
     | 
| 
      
 3787 
     | 
    
         
            +
                #   Guide*.
         
     | 
| 
       3628 
3788 
     | 
    
         
             
                #
         
     | 
| 
       3629 
3789 
     | 
    
         
             
                #
         
     | 
| 
       3630 
3790 
     | 
    
         
             
                #
         
     | 
| 
         @@ -3638,8 +3798,8 @@ module Aws::EC2 
     | 
|
| 
       3638 
3798 
     | 
    
         
             
                #
         
     | 
| 
       3639 
3799 
     | 
    
         
             
                #   The snapshot copy is sent to the regional endpoint that you sent the
         
     | 
| 
       3640 
3800 
     | 
    
         
             
                #   HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
         
     | 
| 
       3641 
     | 
    
         
            -
                #    
     | 
| 
       3642 
     | 
    
         
            -
                #    
     | 
| 
      
 3801 
     | 
    
         
            +
                #   CLI, this is specified using the `--region` parameter or the default
         
     | 
| 
      
 3802 
     | 
    
         
            +
                #   Region in your Amazon Web Services configuration file.
         
     | 
| 
       3643 
3803 
     | 
    
         
             
                #
         
     | 
| 
       3644 
3804 
     | 
    
         
             
                # @option params [Boolean] :encrypted
         
     | 
| 
       3645 
3805 
     | 
    
         
             
                #   To encrypt a copy of an unencrypted snapshot if encryption by default
         
     | 
| 
         @@ -3654,12 +3814,12 @@ module Aws::EC2 
     | 
|
| 
       3654 
3814 
     | 
    
         
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
         
     | 
| 
       3655 
3815 
     | 
    
         
             
                #
         
     | 
| 
       3656 
3816 
     | 
    
         
             
                # @option params [String] :kms_key_id
         
     | 
| 
       3657 
     | 
    
         
            -
                #   The identifier of the  
     | 
| 
       3658 
     | 
    
         
            -
                #    
     | 
| 
       3659 
     | 
    
         
            -
                #    
     | 
| 
       3660 
     | 
    
         
            -
                #    
     | 
| 
      
 3817 
     | 
    
         
            +
                #   The identifier of the Key Management Service (KMS) KMS key to use for
         
     | 
| 
      
 3818 
     | 
    
         
            +
                #   Amazon EBS encryption. If this parameter is not specified, your KMS
         
     | 
| 
      
 3819 
     | 
    
         
            +
                #   key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
         
     | 
| 
      
 3820 
     | 
    
         
            +
                #   state must be `true`.
         
     | 
| 
       3661 
3821 
     | 
    
         
             
                #
         
     | 
| 
       3662 
     | 
    
         
            -
                #   You can specify the  
     | 
| 
      
 3822 
     | 
    
         
            +
                #   You can specify the KMS key using any of the following:
         
     | 
| 
       3663 
3823 
     | 
    
         
             
                #
         
     | 
| 
       3664 
3824 
     | 
    
         
             
                #   * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
         
     | 
| 
       3665 
3825 
     | 
    
         
             
                #
         
     | 
| 
         @@ -3671,9 +3831,9 @@ module Aws::EC2 
     | 
|
| 
       3671 
3831 
     | 
    
         
             
                #   * Alias ARN. For example,
         
     | 
| 
       3672 
3832 
     | 
    
         
             
                #     arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
         
     | 
| 
       3673 
3833 
     | 
    
         
             
                #
         
     | 
| 
       3674 
     | 
    
         
            -
                #    
     | 
| 
       3675 
     | 
    
         
            -
                #   ID, alias, or ARN that is not valid, the 
     | 
| 
       3676 
     | 
    
         
            -
                #   complete, but eventually fails.
         
     | 
| 
      
 3834 
     | 
    
         
            +
                #   Amazon Web Services authenticates the KMS key asynchronously.
         
     | 
| 
      
 3835 
     | 
    
         
            +
                #   Therefore, if you specify an ID, alias, or ARN that is not valid, the
         
     | 
| 
      
 3836 
     | 
    
         
            +
                #   action can appear to complete, but eventually fails.
         
     | 
| 
       3677 
3837 
     | 
    
         
             
                #
         
     | 
| 
       3678 
3838 
     | 
    
         
             
                # @option params [String] :presigned_url
         
     | 
| 
       3679 
3839 
     | 
    
         
             
                #   When you copy an encrypted source snapshot using the Amazon EC2 Query
         
     | 
| 
         @@ -3683,13 +3843,14 @@ module Aws::EC2 
     | 
|
| 
       3683 
3843 
     | 
    
         
             
                #   The `PresignedUrl` should use the snapshot source endpoint, the
         
     | 
| 
       3684 
3844 
     | 
    
         
             
                #   `CopySnapshot` action, and include the `SourceRegion`,
         
     | 
| 
       3685 
3845 
     | 
    
         
             
                #   `SourceSnapshotId`, and `DestinationRegion` parameters. The
         
     | 
| 
       3686 
     | 
    
         
            -
                #   `PresignedUrl` must be signed using  
     | 
| 
       3687 
     | 
    
         
            -
                #   EBS snapshots are stored in Amazon S3, the signing 
     | 
| 
       3688 
     | 
    
         
            -
                #   parameter uses the same logic that is described in 
     | 
| 
       3689 
     | 
    
         
            -
                #   Requests: Using Query Parameters ( 
     | 
| 
       3690 
     | 
    
         
            -
                #   *Amazon Simple Storage Service API 
     | 
| 
       3691 
     | 
    
         
            -
                #   improperly signed `PresignedUrl` will cause 
     | 
| 
       3692 
     | 
    
         
            -
                #   asynchronously, and the snapshot will move 
     | 
| 
      
 3846 
     | 
    
         
            +
                #   `PresignedUrl` must be signed using Amazon Web Services Signature
         
     | 
| 
      
 3847 
     | 
    
         
            +
                #   Version 4. Because EBS snapshots are stored in Amazon S3, the signing
         
     | 
| 
      
 3848 
     | 
    
         
            +
                #   algorithm for this parameter uses the same logic that is described in
         
     | 
| 
      
 3849 
     | 
    
         
            +
                #   [Authenticating Requests: Using Query Parameters (Amazon Web Services
         
     | 
| 
      
 3850 
     | 
    
         
            +
                #   Signature Version 4)][2] in the *Amazon Simple Storage Service API
         
     | 
| 
      
 3851 
     | 
    
         
            +
                #   Reference*. An invalid or improperly signed `PresignedUrl` will cause
         
     | 
| 
      
 3852 
     | 
    
         
            +
                #   the copy operation to fail asynchronously, and the snapshot will move
         
     | 
| 
      
 3853 
     | 
    
         
            +
                #   to an `error` state.
         
     | 
| 
       3693 
3854 
     | 
    
         
             
                #
         
     | 
| 
       3694 
3855 
     | 
    
         
             
                #
         
     | 
| 
       3695 
3856 
     | 
    
         
             
                #
         
     | 
| 
         @@ -3772,7 +3933,7 @@ module Aws::EC2 
     | 
|
| 
       3772 
3933 
     | 
    
         
             
                #     source_snapshot_id: "String", # required
         
     | 
| 
       3773 
3934 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       3774 
3935 
     | 
    
         
             
                #       {
         
     | 
| 
       3775 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 3936 
     | 
    
         
            +
                #         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
         
     | 
| 
       3776 
3937 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       3777 
3938 
     | 
    
         
             
                #           {
         
     | 
| 
       3778 
3939 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -3961,7 +4122,7 @@ module Aws::EC2 
     | 
|
| 
       3961 
4122 
     | 
    
         
             
                #     instance_match_criteria: "open", # accepts open, targeted
         
     | 
| 
       3962 
4123 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       3963 
4124 
     | 
    
         
             
                #       {
         
     | 
| 
       3964 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 4125 
     | 
    
         
            +
                #         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
         
     | 
| 
       3965 
4126 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       3966 
4127 
     | 
    
         
             
                #           {
         
     | 
| 
       3967 
4128 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -4050,7 +4211,7 @@ module Aws::EC2 
     | 
|
| 
       4050 
4211 
     | 
    
         
             
                #     vpc_id: "VpcId", # required
         
     | 
| 
       4051 
4212 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       4052 
4213 
     | 
    
         
             
                #       {
         
     | 
| 
       4053 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 4214 
     | 
    
         
            +
                #         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
         
     | 
| 
       4054 
4215 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       4055 
4216 
     | 
    
         
             
                #           {
         
     | 
| 
       4056 
4217 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -4239,7 +4400,7 @@ module Aws::EC2 
     | 
|
| 
       4239 
4400 
     | 
    
         
             
                #     client_token: "String",
         
     | 
| 
       4240 
4401 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       4241 
4402 
     | 
    
         
             
                #       {
         
     | 
| 
       4242 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 4403 
     | 
    
         
            +
                #         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
         
     | 
| 
       4243 
4404 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       4244 
4405 
     | 
    
         
             
                #           {
         
     | 
| 
       4245 
4406 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -4456,7 +4617,7 @@ module Aws::EC2 
     | 
|
| 
       4456 
4617 
     | 
    
         
             
                #     type: "ipsec.1", # required, accepts ipsec.1
         
     | 
| 
       4457 
4618 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       4458 
4619 
     | 
    
         
             
                #       {
         
     | 
| 
       4459 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 4620 
     | 
    
         
            +
                #         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
         
     | 
| 
       4460 
4621 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       4461 
4622 
     | 
    
         
             
                #           {
         
     | 
| 
       4462 
4623 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -4740,7 +4901,7 @@ module Aws::EC2 
     | 
|
| 
       4740 
4901 
     | 
    
         
             
                #     ],
         
     | 
| 
       4741 
4902 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       4742 
4903 
     | 
    
         
             
                #       {
         
     | 
| 
       4743 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 4904 
     | 
    
         
            +
                #         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
         
     | 
| 
       4744 
4905 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       4745 
4906 
     | 
    
         
             
                #           {
         
     | 
| 
       4746 
4907 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -4814,7 +4975,7 @@ module Aws::EC2 
     | 
|
| 
       4814 
4975 
     | 
    
         
             
                #     vpc_id: "VpcId", # required
         
     | 
| 
       4815 
4976 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       4816 
4977 
     | 
    
         
             
                #       {
         
     | 
| 
       4817 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 4978 
     | 
    
         
            +
                #         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
         
     | 
| 
       4818 
4979 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       4819 
4980 
     | 
    
         
             
                #           {
         
     | 
| 
       4820 
4981 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5035,7 +5196,7 @@ module Aws::EC2 
     | 
|
| 
       5035 
5196 
     | 
    
         
             
                #     replace_unhealthy_instances: false,
         
     | 
| 
       5036 
5197 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       5037 
5198 
     | 
    
         
             
                #       {
         
     | 
| 
       5038 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 5199 
     | 
    
         
            +
                #         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
         
     | 
| 
       5039 
5200 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       5040 
5201 
     | 
    
         
             
                #           {
         
     | 
| 
       5041 
5202 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5242,7 +5403,7 @@ module Aws::EC2 
     | 
|
| 
       5242 
5403 
     | 
    
         
             
                #     log_format: "String",
         
     | 
| 
       5243 
5404 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       5244 
5405 
     | 
    
         
             
                #       {
         
     | 
| 
       5245 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 5406 
     | 
    
         
            +
                #         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
         
     | 
| 
       5246 
5407 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       5247 
5408 
     | 
    
         
             
                #           {
         
     | 
| 
       5248 
5409 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5341,7 +5502,7 @@ module Aws::EC2 
     | 
|
| 
       5341 
5502 
     | 
    
         
             
                #     client_token: "String",
         
     | 
| 
       5342 
5503 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       5343 
5504 
     | 
    
         
             
                #       {
         
     | 
| 
       5344 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 5505 
     | 
    
         
            +
                #         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
         
     | 
| 
       5345 
5506 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       5346 
5507 
     | 
    
         
             
                #           {
         
     | 
| 
       5347 
5508 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5495,7 +5656,7 @@ module Aws::EC2 
     | 
|
| 
       5495 
5656 
     | 
    
         
             
                #     no_reboot: false,
         
     | 
| 
       5496 
5657 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       5497 
5658 
     | 
    
         
             
                #       {
         
     | 
| 
       5498 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 5659 
     | 
    
         
            +
                #         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
         
     | 
| 
       5499 
5660 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       5500 
5661 
     | 
    
         
             
                #           {
         
     | 
| 
       5501 
5662 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5519,6 +5680,144 @@ module Aws::EC2 
     | 
|
| 
       5519 
5680 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       5520 
5681 
     | 
    
         
             
                end
         
     | 
| 
       5521 
5682 
     | 
    
         | 
| 
      
 5683 
     | 
    
         
            +
                # Creates an event window in which scheduled events for the associated
         
     | 
| 
      
 5684 
     | 
    
         
            +
                # Amazon EC2 instances can run.
         
     | 
| 
      
 5685 
     | 
    
         
            +
                #
         
     | 
| 
      
 5686 
     | 
    
         
            +
                # You can define either a set of time ranges or a cron expression when
         
     | 
| 
      
 5687 
     | 
    
         
            +
                # creating the event window, but not both. All event window times are in
         
     | 
| 
      
 5688 
     | 
    
         
            +
                # UTC.
         
     | 
| 
      
 5689 
     | 
    
         
            +
                #
         
     | 
| 
      
 5690 
     | 
    
         
            +
                # You can create up to 200 event windows per Amazon Web Services Region.
         
     | 
| 
      
 5691 
     | 
    
         
            +
                #
         
     | 
| 
      
 5692 
     | 
    
         
            +
                # When you create the event window, targets (instance IDs, Dedicated
         
     | 
| 
      
 5693 
     | 
    
         
            +
                # Host IDs, or tags) are not yet associated with it. To ensure that the
         
     | 
| 
      
 5694 
     | 
    
         
            +
                # event window can be used, you must associate one or more targets with
         
     | 
| 
      
 5695 
     | 
    
         
            +
                # it by using the AssociateInstanceEventWindow API.
         
     | 
| 
      
 5696 
     | 
    
         
            +
                #
         
     | 
| 
      
 5697 
     | 
    
         
            +
                # Event windows are applicable only for scheduled events that stop,
         
     | 
| 
      
 5698 
     | 
    
         
            +
                # reboot, or terminate instances.
         
     | 
| 
      
 5699 
     | 
    
         
            +
                #
         
     | 
| 
      
 5700 
     | 
    
         
            +
                #  Event windows are *not* applicable for:
         
     | 
| 
      
 5701 
     | 
    
         
            +
                #
         
     | 
| 
      
 5702 
     | 
    
         
            +
                #  * Expedited scheduled events and network maintenance events.
         
     | 
| 
      
 5703 
     | 
    
         
            +
                #
         
     | 
| 
      
 5704 
     | 
    
         
            +
                # * Unscheduled maintenance such as AutoRecovery and unplanned reboots.
         
     | 
| 
      
 5705 
     | 
    
         
            +
                #
         
     | 
| 
      
 5706 
     | 
    
         
            +
                # For more information, see [Define event windows for scheduled
         
     | 
| 
      
 5707 
     | 
    
         
            +
                # events][1] in the *Amazon EC2 User Guide*.
         
     | 
| 
      
 5708 
     | 
    
         
            +
                #
         
     | 
| 
      
 5709 
     | 
    
         
            +
                #
         
     | 
| 
      
 5710 
     | 
    
         
            +
                #
         
     | 
| 
      
 5711 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
         
     | 
| 
      
 5712 
     | 
    
         
            +
                #
         
     | 
| 
      
 5713 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 5714 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 5715 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 5716 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 5717 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 5718 
     | 
    
         
            +
                #
         
     | 
| 
      
 5719 
     | 
    
         
            +
                # @option params [String] :name
         
     | 
| 
      
 5720 
     | 
    
         
            +
                #   The name of the event window.
         
     | 
| 
      
 5721 
     | 
    
         
            +
                #
         
     | 
| 
      
 5722 
     | 
    
         
            +
                # @option params [Array<Types::InstanceEventWindowTimeRangeRequest>] :time_ranges
         
     | 
| 
      
 5723 
     | 
    
         
            +
                #   The time range for the event window. If you specify a time range, you
         
     | 
| 
      
 5724 
     | 
    
         
            +
                #   can't specify a cron expression.
         
     | 
| 
      
 5725 
     | 
    
         
            +
                #
         
     | 
| 
      
 5726 
     | 
    
         
            +
                # @option params [String] :cron_expression
         
     | 
| 
      
 5727 
     | 
    
         
            +
                #   The cron expression for the event window, for example, `* 0-4,20-23 *
         
     | 
| 
      
 5728 
     | 
    
         
            +
                #   * 1,5`. If you specify a cron expression, you can't specify a time
         
     | 
| 
      
 5729 
     | 
    
         
            +
                #   range.
         
     | 
| 
      
 5730 
     | 
    
         
            +
                #
         
     | 
| 
      
 5731 
     | 
    
         
            +
                #   Constraints:
         
     | 
| 
      
 5732 
     | 
    
         
            +
                #
         
     | 
| 
      
 5733 
     | 
    
         
            +
                #   * Only hour and day of the week values are supported.
         
     | 
| 
      
 5734 
     | 
    
         
            +
                #
         
     | 
| 
      
 5735 
     | 
    
         
            +
                #   * For day of the week values, you can specify either integers `0`
         
     | 
| 
      
 5736 
     | 
    
         
            +
                #     through `6`, or alternative single values `SUN` through `SAT`.
         
     | 
| 
      
 5737 
     | 
    
         
            +
                #
         
     | 
| 
      
 5738 
     | 
    
         
            +
                #   * The minute, month, and year must be specified by `*`.
         
     | 
| 
      
 5739 
     | 
    
         
            +
                #
         
     | 
| 
      
 5740 
     | 
    
         
            +
                #   * The hour value must be one or a multiple range, for example, `0-4`
         
     | 
| 
      
 5741 
     | 
    
         
            +
                #     or `0-4,20-23`.
         
     | 
| 
      
 5742 
     | 
    
         
            +
                #
         
     | 
| 
      
 5743 
     | 
    
         
            +
                #   * Each hour range must be >= 2 hours, for example, `0-2` or
         
     | 
| 
      
 5744 
     | 
    
         
            +
                #     `20-23`.
         
     | 
| 
      
 5745 
     | 
    
         
            +
                #
         
     | 
| 
      
 5746 
     | 
    
         
            +
                #   * The event window must be >= 4 hours. The combined total time
         
     | 
| 
      
 5747 
     | 
    
         
            +
                #     ranges in the event window must be >= 4 hours.
         
     | 
| 
      
 5748 
     | 
    
         
            +
                #
         
     | 
| 
      
 5749 
     | 
    
         
            +
                #   For more information about cron expressions, see [cron][1] on the
         
     | 
| 
      
 5750 
     | 
    
         
            +
                #   *Wikipedia website*.
         
     | 
| 
      
 5751 
     | 
    
         
            +
                #
         
     | 
| 
      
 5752 
     | 
    
         
            +
                #
         
     | 
| 
      
 5753 
     | 
    
         
            +
                #
         
     | 
| 
      
 5754 
     | 
    
         
            +
                #   [1]: https://en.wikipedia.org/wiki/Cron
         
     | 
| 
      
 5755 
     | 
    
         
            +
                #
         
     | 
| 
      
 5756 
     | 
    
         
            +
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
      
 5757 
     | 
    
         
            +
                #   The tags to apply to the event window.
         
     | 
| 
      
 5758 
     | 
    
         
            +
                #
         
     | 
| 
      
 5759 
     | 
    
         
            +
                # @return [Types::CreateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 5760 
     | 
    
         
            +
                #
         
     | 
| 
      
 5761 
     | 
    
         
            +
                #   * {Types::CreateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
         
     | 
| 
      
 5762 
     | 
    
         
            +
                #
         
     | 
| 
      
 5763 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 5764 
     | 
    
         
            +
                #
         
     | 
| 
      
 5765 
     | 
    
         
            +
                #   resp = client.create_instance_event_window({
         
     | 
| 
      
 5766 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 5767 
     | 
    
         
            +
                #     name: "String",
         
     | 
| 
      
 5768 
     | 
    
         
            +
                #     time_ranges: [
         
     | 
| 
      
 5769 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 5770 
     | 
    
         
            +
                #         start_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
         
     | 
| 
      
 5771 
     | 
    
         
            +
                #         start_hour: 1,
         
     | 
| 
      
 5772 
     | 
    
         
            +
                #         end_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
         
     | 
| 
      
 5773 
     | 
    
         
            +
                #         end_hour: 1,
         
     | 
| 
      
 5774 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 5775 
     | 
    
         
            +
                #     ],
         
     | 
| 
      
 5776 
     | 
    
         
            +
                #     cron_expression: "InstanceEventWindowCronExpression",
         
     | 
| 
      
 5777 
     | 
    
         
            +
                #     tag_specifications: [
         
     | 
| 
      
 5778 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 5779 
     | 
    
         
            +
                #         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
         
     | 
| 
      
 5780 
     | 
    
         
            +
                #         tags: [
         
     | 
| 
      
 5781 
     | 
    
         
            +
                #           {
         
     | 
| 
      
 5782 
     | 
    
         
            +
                #             key: "String",
         
     | 
| 
      
 5783 
     | 
    
         
            +
                #             value: "String",
         
     | 
| 
      
 5784 
     | 
    
         
            +
                #           },
         
     | 
| 
      
 5785 
     | 
    
         
            +
                #         ],
         
     | 
| 
      
 5786 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 5787 
     | 
    
         
            +
                #     ],
         
     | 
| 
      
 5788 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 5789 
     | 
    
         
            +
                #
         
     | 
| 
      
 5790 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 5791 
     | 
    
         
            +
                #
         
     | 
| 
      
 5792 
     | 
    
         
            +
                #   resp.instance_event_window.instance_event_window_id #=> String
         
     | 
| 
      
 5793 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges #=> Array
         
     | 
| 
      
 5794 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 5795 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_hour #=> Integer
         
     | 
| 
      
 5796 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 5797 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_hour #=> Integer
         
     | 
| 
      
 5798 
     | 
    
         
            +
                #   resp.instance_event_window.name #=> String
         
     | 
| 
      
 5799 
     | 
    
         
            +
                #   resp.instance_event_window.cron_expression #=> String
         
     | 
| 
      
 5800 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids #=> Array
         
     | 
| 
      
 5801 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids[0] #=> String
         
     | 
| 
      
 5802 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags #=> Array
         
     | 
| 
      
 5803 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].key #=> String
         
     | 
| 
      
 5804 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].value #=> String
         
     | 
| 
      
 5805 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids #=> Array
         
     | 
| 
      
 5806 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
         
     | 
| 
      
 5807 
     | 
    
         
            +
                #   resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
         
     | 
| 
      
 5808 
     | 
    
         
            +
                #   resp.instance_event_window.tags #=> Array
         
     | 
| 
      
 5809 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].key #=> String
         
     | 
| 
      
 5810 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].value #=> String
         
     | 
| 
      
 5811 
     | 
    
         
            +
                #
         
     | 
| 
      
 5812 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceEventWindow AWS API Documentation
         
     | 
| 
      
 5813 
     | 
    
         
            +
                #
         
     | 
| 
      
 5814 
     | 
    
         
            +
                # @overload create_instance_event_window(params = {})
         
     | 
| 
      
 5815 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 5816 
     | 
    
         
            +
                def create_instance_event_window(params = {}, options = {})
         
     | 
| 
      
 5817 
     | 
    
         
            +
                  req = build_request(:create_instance_event_window, params)
         
     | 
| 
      
 5818 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 5819 
     | 
    
         
            +
                end
         
     | 
| 
      
 5820 
     | 
    
         
            +
             
     | 
| 
       5522 
5821 
     | 
    
         
             
                # Exports a running or stopped instance to an Amazon S3 bucket.
         
     | 
| 
       5523 
5822 
     | 
    
         
             
                #
         
     | 
| 
       5524 
5823 
     | 
    
         
             
                # For information about the supported operating systems, image formats,
         
     | 
| 
         @@ -5564,7 +5863,7 @@ module Aws::EC2 
     | 
|
| 
       5564 
5863 
     | 
    
         
             
                #     target_environment: "citrix", # required, accepts citrix, vmware, microsoft
         
     | 
| 
       5565 
5864 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       5566 
5865 
     | 
    
         
             
                #       {
         
     | 
| 
       5567 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 5866 
     | 
    
         
            +
                #         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
         
     | 
| 
       5568 
5867 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       5569 
5868 
     | 
    
         
             
                #           {
         
     | 
| 
       5570 
5869 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5647,7 +5946,7 @@ module Aws::EC2 
     | 
|
| 
       5647 
5946 
     | 
    
         
             
                #   resp = client.create_internet_gateway({
         
     | 
| 
       5648 
5947 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       5649 
5948 
     | 
    
         
             
                #       {
         
     | 
| 
       5650 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 5949 
     | 
    
         
            +
                #         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
         
     | 
| 
       5651 
5950 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       5652 
5951 
     | 
    
         
             
                #           {
         
     | 
| 
       5653 
5952 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5736,7 +6035,7 @@ module Aws::EC2 
     | 
|
| 
       5736 
6035 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       5737 
6036 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       5738 
6037 
     | 
    
         
             
                #       {
         
     | 
| 
       5739 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 6038 
     | 
    
         
            +
                #         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
         
     | 
| 
       5740 
6039 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       5741 
6040 
     | 
    
         
             
                #           {
         
     | 
| 
       5742 
6041 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -5938,7 +6237,7 @@ module Aws::EC2 
     | 
|
| 
       5938 
6237 
     | 
    
         
             
                #       user_data: "String",
         
     | 
| 
       5939 
6238 
     | 
    
         
             
                #       tag_specifications: [
         
     | 
| 
       5940 
6239 
     | 
    
         
             
                #         {
         
     | 
| 
       5941 
     | 
    
         
            -
                #           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- 
     | 
| 
      
 6240 
     | 
    
         
            +
                #           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
         
     | 
| 
       5942 
6241 
     | 
    
         
             
                #           tags: [
         
     | 
| 
       5943 
6242 
     | 
    
         
             
                #             {
         
     | 
| 
       5944 
6243 
     | 
    
         
             
                #               key: "String",
         
     | 
| 
         @@ -6003,7 +6302,7 @@ module Aws::EC2 
     | 
|
| 
       6003 
6302 
     | 
    
         
             
                #     },
         
     | 
| 
       6004 
6303 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       6005 
6304 
     | 
    
         
             
                #       {
         
     | 
| 
       6006 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 6305 
     | 
    
         
            +
                #         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
         
     | 
| 
       6007 
6306 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       6008 
6307 
     | 
    
         
             
                #           {
         
     | 
| 
       6009 
6308 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -6224,7 +6523,7 @@ module Aws::EC2 
     | 
|
| 
       6224 
6523 
     | 
    
         
             
                #       user_data: "String",
         
     | 
| 
       6225 
6524 
     | 
    
         
             
                #       tag_specifications: [
         
     | 
| 
       6226 
6525 
     | 
    
         
             
                #         {
         
     | 
| 
       6227 
     | 
    
         
            -
                #           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- 
     | 
| 
      
 6526 
     | 
    
         
            +
                #           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
         
     | 
| 
       6228 
6527 
     | 
    
         
             
                #           tags: [
         
     | 
| 
       6229 
6528 
     | 
    
         
             
                #             {
         
     | 
| 
       6230 
6529 
     | 
    
         
             
                #               key: "String",
         
     | 
| 
         @@ -6351,7 +6650,7 @@ module Aws::EC2 
     | 
|
| 
       6351 
6650 
     | 
    
         
             
                #   resp.launch_template_version.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
         
     | 
| 
       6352 
6651 
     | 
    
         
             
                #   resp.launch_template_version.launch_template_data.user_data #=> String
         
     | 
| 
       6353 
6652 
     | 
    
         
             
                #   resp.launch_template_version.launch_template_data.tag_specifications #=> Array
         
     | 
| 
       6354 
     | 
    
         
            -
                #   resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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- 
     | 
| 
      
 6653 
     | 
    
         
            +
                #   resp.launch_template_version.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
         
     | 
| 
       6355 
6654 
     | 
    
         
             
                #   resp.launch_template_version.launch_template_data.tag_specifications[0].tags #=> Array
         
     | 
| 
       6356 
6655 
     | 
    
         
             
                #   resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].key #=> String
         
     | 
| 
       6357 
6656 
     | 
    
         
             
                #   resp.launch_template_version.launch_template_data.tag_specifications[0].tags[0].value #=> String
         
     | 
| 
         @@ -6476,7 +6775,7 @@ module Aws::EC2 
     | 
|
| 
       6476 
6775 
     | 
    
         
             
                #     vpc_id: "VpcId", # required
         
     | 
| 
       6477 
6776 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       6478 
6777 
     | 
    
         
             
                #       {
         
     | 
| 
       6479 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 6778 
     | 
    
         
            +
                #         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
         
     | 
| 
       6480 
6779 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       6481 
6780 
     | 
    
         
             
                #           {
         
     | 
| 
       6482 
6781 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -6575,7 +6874,7 @@ module Aws::EC2 
     | 
|
| 
       6575 
6874 
     | 
    
         
             
                #     max_entries: 1, # required
         
     | 
| 
       6576 
6875 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       6577 
6876 
     | 
    
         
             
                #       {
         
     | 
| 
       6578 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 6877 
     | 
    
         
            +
                #         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
         
     | 
| 
       6579 
6878 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       6580 
6879 
     | 
    
         
             
                #           {
         
     | 
| 
       6581 
6880 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -6712,7 +7011,7 @@ module Aws::EC2 
     | 
|
| 
       6712 
7011 
     | 
    
         
             
                #     subnet_id: "SubnetId", # required
         
     | 
| 
       6713 
7012 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       6714 
7013 
     | 
    
         
             
                #       {
         
     | 
| 
       6715 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 7014 
     | 
    
         
            +
                #         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
         
     | 
| 
       6716 
7015 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       6717 
7016 
     | 
    
         
             
                #           {
         
     | 
| 
       6718 
7017 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -6831,7 +7130,7 @@ module Aws::EC2 
     | 
|
| 
       6831 
7130 
     | 
    
         
             
                #     vpc_id: "VpcId", # required
         
     | 
| 
       6832 
7131 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       6833 
7132 
     | 
    
         
             
                #       {
         
     | 
| 
       6834 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 7133 
     | 
    
         
            +
                #         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
         
     | 
| 
       6835 
7134 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       6836 
7135 
     | 
    
         
             
                #           {
         
     | 
| 
       6837 
7136 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -7067,7 +7366,7 @@ module Aws::EC2 
     | 
|
| 
       7067 
7366 
     | 
    
         
             
                #     destination_port: 1,
         
     | 
| 
       7068 
7367 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       7069 
7368 
     | 
    
         
             
                #       {
         
     | 
| 
       7070 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 7369 
     | 
    
         
            +
                #         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
         
     | 
| 
       7071 
7370 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       7072 
7371 
     | 
    
         
             
                #           {
         
     | 
| 
       7073 
7372 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -7268,7 +7567,7 @@ module Aws::EC2 
     | 
|
| 
       7268 
7567 
     | 
    
         
             
                #     subnet_id: "SubnetId", # required
         
     | 
| 
       7269 
7568 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       7270 
7569 
     | 
    
         
             
                #       {
         
     | 
| 
       7271 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 7570 
     | 
    
         
            +
                #         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
         
     | 
| 
       7272 
7571 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       7273 
7572 
     | 
    
         
             
                #           {
         
     | 
| 
       7274 
7573 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -7466,7 +7765,7 @@ module Aws::EC2 
     | 
|
| 
       7466 
7765 
     | 
    
         
             
                #     partition_count: 1,
         
     | 
| 
       7467 
7766 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       7468 
7767 
     | 
    
         
             
                #       {
         
     | 
| 
       7469 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 7768 
     | 
    
         
            +
                #         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
         
     | 
| 
       7470 
7769 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       7471 
7770 
     | 
    
         
             
                #           {
         
     | 
| 
       7472 
7771 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -7506,7 +7805,7 @@ module Aws::EC2 
     | 
|
| 
       7506 
7805 
     | 
    
         
             
                #
         
     | 
| 
       7507 
7806 
     | 
    
         
             
                #
         
     | 
| 
       7508 
7807 
     | 
    
         
             
                #
         
     | 
| 
       7509 
     | 
    
         
            -
                # [1]: https://docs.aws.amazon.com/
         
     | 
| 
      
 7808 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root
         
     | 
| 
       7510 
7809 
     | 
    
         
             
                #
         
     | 
| 
       7511 
7810 
     | 
    
         
             
                # @option params [required, String] :instance_id
         
     | 
| 
       7512 
7811 
     | 
    
         
             
                #   The ID of the instance for which to replace the root volume.
         
     | 
| 
         @@ -7520,7 +7819,7 @@ module Aws::EC2 
     | 
|
| 
       7520 
7819 
     | 
    
         
             
                #   Unique, case-sensitive identifier you provide to ensure the
         
     | 
| 
       7521 
7820 
     | 
    
         
             
                #   idempotency of the request. If you do not specify a client token, a
         
     | 
| 
       7522 
7821 
     | 
    
         
             
                #   randomly generated token is used for the request to ensure
         
     | 
| 
       7523 
     | 
    
         
            -
                #   idempotency. For more information, see [Ensuring  
     | 
| 
      
 7822 
     | 
    
         
            +
                #   idempotency. For more information, see [Ensuring idempotency][1].
         
     | 
| 
       7524 
7823 
     | 
    
         
             
                #
         
     | 
| 
       7525 
7824 
     | 
    
         
             
                #   **A suitable default value is auto-generated.** You should normally
         
     | 
| 
       7526 
7825 
     | 
    
         
             
                #   not need to pass this option.**
         
     | 
| 
         @@ -7551,7 +7850,7 @@ module Aws::EC2 
     | 
|
| 
       7551 
7850 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       7552 
7851 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       7553 
7852 
     | 
    
         
             
                #       {
         
     | 
| 
       7554 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 7853 
     | 
    
         
            +
                #         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
         
     | 
| 
       7555 
7854 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       7556 
7855 
     | 
    
         
             
                #           {
         
     | 
| 
       7557 
7856 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -7742,7 +8041,7 @@ module Aws::EC2 
     | 
|
| 
       7742 
8041 
     | 
    
         
             
                #     name: "String",
         
     | 
| 
       7743 
8042 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       7744 
8043 
     | 
    
         
             
                #       {
         
     | 
| 
       7745 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 8044 
     | 
    
         
            +
                #         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
         
     | 
| 
       7746 
8045 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       7747 
8046 
     | 
    
         
             
                #           {
         
     | 
| 
       7748 
8047 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -7966,7 +8265,7 @@ module Aws::EC2 
     | 
|
| 
       7966 
8265 
     | 
    
         
             
                #     vpc_id: "VpcId", # required
         
     | 
| 
       7967 
8266 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       7968 
8267 
     | 
    
         
             
                #       {
         
     | 
| 
       7969 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 8268 
     | 
    
         
            +
                #         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
         
     | 
| 
       7970 
8269 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       7971 
8270 
     | 
    
         
             
                #           {
         
     | 
| 
       7972 
8271 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -8116,7 +8415,7 @@ module Aws::EC2 
     | 
|
| 
       8116 
8415 
     | 
    
         
             
                #     vpc_id: "VpcId",
         
     | 
| 
       8117 
8416 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       8118 
8417 
     | 
    
         
             
                #       {
         
     | 
| 
       8119 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 8418 
     | 
    
         
            +
                #         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
         
     | 
| 
       8120 
8419 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       8121 
8420 
     | 
    
         
             
                #           {
         
     | 
| 
       8122 
8421 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -8155,22 +8454,23 @@ module Aws::EC2 
     | 
|
| 
       8155 
8454 
     | 
    
         
             
                # stored on the same Outpost as the volume, or in the Region for that
         
     | 
| 
       8156 
8455 
     | 
    
         
             
                # Outpost.
         
     | 
| 
       8157 
8456 
     | 
    
         
             
                #
         
     | 
| 
       8158 
     | 
    
         
            -
                # When a snapshot is created, any  
     | 
| 
      
 8457 
     | 
    
         
            +
                # When a snapshot is created, any Marketplace product codes that are
         
     | 
| 
       8159 
8458 
     | 
    
         
             
                # associated with the source volume are propagated to the snapshot.
         
     | 
| 
       8160 
8459 
     | 
    
         
             
                #
         
     | 
| 
       8161 
8460 
     | 
    
         
             
                # You can take a snapshot of an attached volume that is in use. However,
         
     | 
| 
       8162 
     | 
    
         
            -
                # snapshots only capture data that has been written to your EBS 
     | 
| 
       8163 
     | 
    
         
            -
                # at the time the snapshot command is issued; this might exclude 
     | 
| 
       8164 
     | 
    
         
            -
                # data that has been cached by any applications or the operating 
     | 
| 
       8165 
     | 
    
         
            -
                # If you can pause any file systems on the volume long enough to 
     | 
| 
       8166 
     | 
    
         
            -
                # snapshot, your snapshot should be complete. However, if you 
     | 
| 
       8167 
     | 
    
         
            -
                # pause all file writes to the volume, you should unmount the 
     | 
| 
       8168 
     | 
    
         
            -
                # from within the instance, issue the snapshot command, and then 
     | 
| 
       8169 
     | 
    
         
            -
                # the volume to ensure a consistent and complete snapshot. You 
     | 
| 
       8170 
     | 
    
         
            -
                # remount and use your volume while the snapshot status is 
     | 
| 
       8171 
     | 
    
         
            -
                #
         
     | 
| 
       8172 
     | 
    
         
            -
                # 
     | 
| 
       8173 
     | 
    
         
            -
                #  
     | 
| 
      
 8461 
     | 
    
         
            +
                # snapshots only capture data that has been written to your Amazon EBS
         
     | 
| 
      
 8462 
     | 
    
         
            +
                # volume at the time the snapshot command is issued; this might exclude
         
     | 
| 
      
 8463 
     | 
    
         
            +
                # any data that has been cached by any applications or the operating
         
     | 
| 
      
 8464 
     | 
    
         
            +
                # system. If you can pause any file systems on the volume long enough to
         
     | 
| 
      
 8465 
     | 
    
         
            +
                # take a snapshot, your snapshot should be complete. However, if you
         
     | 
| 
      
 8466 
     | 
    
         
            +
                # cannot pause all file writes to the volume, you should unmount the
         
     | 
| 
      
 8467 
     | 
    
         
            +
                # volume from within the instance, issue the snapshot command, and then
         
     | 
| 
      
 8468 
     | 
    
         
            +
                # remount the volume to ensure a consistent and complete snapshot. You
         
     | 
| 
      
 8469 
     | 
    
         
            +
                # may remount and use your volume while the snapshot status is
         
     | 
| 
      
 8470 
     | 
    
         
            +
                # `pending`.
         
     | 
| 
      
 8471 
     | 
    
         
            +
                #
         
     | 
| 
      
 8472 
     | 
    
         
            +
                # To create a snapshot for Amazon EBS volumes that serve as root
         
     | 
| 
      
 8473 
     | 
    
         
            +
                # devices, you should stop the instance before taking the snapshot.
         
     | 
| 
       8174 
8474 
     | 
    
         
             
                #
         
     | 
| 
       8175 
8475 
     | 
    
         
             
                # Snapshots that are taken from encrypted volumes are automatically
         
     | 
| 
       8176 
8476 
     | 
    
         
             
                # encrypted. Volumes that are created from encrypted snapshots are also
         
     | 
| 
         @@ -8178,7 +8478,7 @@ module Aws::EC2 
     | 
|
| 
       8178 
8478 
     | 
    
         
             
                # snapshots always remain protected.
         
     | 
| 
       8179 
8479 
     | 
    
         
             
                #
         
     | 
| 
       8180 
8480 
     | 
    
         
             
                # You can tag your snapshots during creation. For more information, see
         
     | 
| 
       8181 
     | 
    
         
            -
                # [ 
     | 
| 
      
 8481 
     | 
    
         
            +
                # [Tag your Amazon EC2 resources][1] in the *Amazon Elastic Compute
         
     | 
| 
       8182 
8482 
     | 
    
         
             
                # Cloud User Guide*.
         
     | 
| 
       8183 
8483 
     | 
    
         
             
                #
         
     | 
| 
       8184 
8484 
     | 
    
         
             
                # For more information, see [Amazon Elastic Block Store][2] and [Amazon
         
     | 
| 
         @@ -8194,7 +8494,7 @@ module Aws::EC2 
     | 
|
| 
       8194 
8494 
     | 
    
         
             
                #   A description for the snapshot.
         
     | 
| 
       8195 
8495 
     | 
    
         
             
                #
         
     | 
| 
       8196 
8496 
     | 
    
         
             
                # @option params [String] :outpost_arn
         
     | 
| 
       8197 
     | 
    
         
            -
                #   The Amazon Resource Name (ARN) of the  
     | 
| 
      
 8497 
     | 
    
         
            +
                #   The Amazon Resource Name (ARN) of the Outpost on which to create a
         
     | 
| 
       8198 
8498 
     | 
    
         
             
                #   local snapshot.
         
     | 
| 
       8199 
8499 
     | 
    
         
             
                #
         
     | 
| 
       8200 
8500 
     | 
    
         
             
                #   * To create a snapshot of a volume in a Region, omit this parameter.
         
     | 
| 
         @@ -8208,15 +8508,15 @@ module Aws::EC2 
     | 
|
| 
       8208 
8508 
     | 
    
         
             
                #     snapshot on an Outpost, specify the ARN of the destination Outpost.
         
     | 
| 
       8209 
8509 
     | 
    
         
             
                #     The snapshot must be created on the same Outpost as the volume.
         
     | 
| 
       8210 
8510 
     | 
    
         
             
                #
         
     | 
| 
       8211 
     | 
    
         
            -
                #   For more information, see [  
     | 
| 
       8212 
     | 
    
         
            -
                #    
     | 
| 
      
 8511 
     | 
    
         
            +
                #   For more information, see [Create local snapshots from volumes on an
         
     | 
| 
      
 8512 
     | 
    
         
            +
                #   Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       8213 
8513 
     | 
    
         
             
                #
         
     | 
| 
       8214 
8514 
     | 
    
         
             
                #
         
     | 
| 
       8215 
8515 
     | 
    
         
             
                #
         
     | 
| 
       8216 
8516 
     | 
    
         
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
         
     | 
| 
       8217 
8517 
     | 
    
         
             
                #
         
     | 
| 
       8218 
8518 
     | 
    
         
             
                # @option params [required, String] :volume_id
         
     | 
| 
       8219 
     | 
    
         
            -
                #   The ID of the EBS volume.
         
     | 
| 
      
 8519 
     | 
    
         
            +
                #   The ID of the Amazon EBS volume.
         
     | 
| 
       8220 
8520 
     | 
    
         
             
                #
         
     | 
| 
       8221 
8521 
     | 
    
         
             
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
       8222 
8522 
     | 
    
         
             
                #   The tags to apply to the snapshot during creation.
         
     | 
| 
         @@ -8277,7 +8577,7 @@ module Aws::EC2 
     | 
|
| 
       8277 
8577 
     | 
    
         
             
                #     volume_id: "VolumeId", # required
         
     | 
| 
       8278 
8578 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       8279 
8579 
     | 
    
         
             
                #       {
         
     | 
| 
       8280 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 8580 
     | 
    
         
            +
                #         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
         
     | 
| 
       8281 
8581 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       8282 
8582 
     | 
    
         
             
                #           {
         
     | 
| 
       8283 
8583 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -8339,8 +8639,8 @@ module Aws::EC2 
     | 
|
| 
       8339 
8639 
     | 
    
         
             
                #   snapshots.
         
     | 
| 
       8340 
8640 
     | 
    
         
             
                #
         
     | 
| 
       8341 
8641 
     | 
    
         
             
                # @option params [String] :outpost_arn
         
     | 
| 
       8342 
     | 
    
         
            -
                #   The Amazon Resource Name (ARN) of the  
     | 
| 
       8343 
     | 
    
         
            -
                #    
     | 
| 
      
 8642 
     | 
    
         
            +
                #   The Amazon Resource Name (ARN) of the Outpost on which to create the
         
     | 
| 
      
 8643 
     | 
    
         
            +
                #   local snapshots.
         
     | 
| 
       8344 
8644 
     | 
    
         
             
                #
         
     | 
| 
       8345 
8645 
     | 
    
         
             
                #   * To create snapshots from an instance in a Region, omit this
         
     | 
| 
       8346 
8646 
     | 
    
         
             
                #     parameter. The snapshots are created in the same Region as the
         
     | 
| 
         @@ -8354,7 +8654,7 @@ module Aws::EC2 
     | 
|
| 
       8354 
8654 
     | 
    
         
             
                #     snapshots on an Outpost, specify the ARN of the destination Outpost.
         
     | 
| 
       8355 
8655 
     | 
    
         
             
                #     The snapshots must be created on the same Outpost as the instance.
         
     | 
| 
       8356 
8656 
     | 
    
         
             
                #
         
     | 
| 
       8357 
     | 
    
         
            -
                #   For more information, see [  
     | 
| 
      
 8657 
     | 
    
         
            +
                #   For more information, see [ Create multi-volume local snapshots from
         
     | 
| 
       8358 
8658 
     | 
    
         
             
                #   instances on an Outpost][1] in the *Amazon Elastic Compute Cloud User
         
     | 
| 
       8359 
8659 
     | 
    
         
             
                #   Guide*.
         
     | 
| 
       8360 
8660 
     | 
    
         
             
                #
         
     | 
| 
         @@ -8389,7 +8689,7 @@ module Aws::EC2 
     | 
|
| 
       8389 
8689 
     | 
    
         
             
                #     outpost_arn: "String",
         
     | 
| 
       8390 
8690 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       8391 
8691 
     | 
    
         
             
                #       {
         
     | 
| 
       8392 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 8692 
     | 
    
         
            +
                #         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
         
     | 
| 
       8393 
8693 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       8394 
8694 
     | 
    
         
             
                #           {
         
     | 
| 
       8395 
8695 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -8679,7 +8979,7 @@ module Aws::EC2 
     | 
|
| 
       8679 
8979 
     | 
    
         
             
                #   resp = client.create_subnet({
         
     | 
| 
       8680 
8980 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       8681 
8981 
     | 
    
         
             
                #       {
         
     | 
| 
       8682 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 8982 
     | 
    
         
            +
                #         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
         
     | 
| 
       8683 
8983 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       8684 
8984 
     | 
    
         
             
                #           {
         
     | 
| 
       8685 
8985 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -8859,7 +9159,7 @@ module Aws::EC2 
     | 
|
| 
       8859 
9159 
     | 
    
         
             
                #     description: "String",
         
     | 
| 
       8860 
9160 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       8861 
9161 
     | 
    
         
             
                #       {
         
     | 
| 
       8862 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9162 
     | 
    
         
            +
                #         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
         
     | 
| 
       8863 
9163 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       8864 
9164 
     | 
    
         
             
                #           {
         
     | 
| 
       8865 
9165 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9133,7 +9433,7 @@ module Aws::EC2 
     | 
|
| 
       9133 
9433 
     | 
    
         
             
                #     description: "String",
         
     | 
| 
       9134 
9434 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9135 
9435 
     | 
    
         
             
                #       {
         
     | 
| 
       9136 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9436 
     | 
    
         
            +
                #         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
         
     | 
| 
       9137 
9437 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9138 
9438 
     | 
    
         
             
                #           {
         
     | 
| 
       9139 
9439 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9232,7 +9532,7 @@ module Aws::EC2 
     | 
|
| 
       9232 
9532 
     | 
    
         
             
                #     description: "String",
         
     | 
| 
       9233 
9533 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9234 
9534 
     | 
    
         
             
                #       {
         
     | 
| 
       9235 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9535 
     | 
    
         
            +
                #         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
         
     | 
| 
       9236 
9536 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9237 
9537 
     | 
    
         
             
                #           {
         
     | 
| 
       9238 
9538 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9326,7 +9626,7 @@ module Aws::EC2 
     | 
|
| 
       9326 
9626 
     | 
    
         
             
                #     },
         
     | 
| 
       9327 
9627 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9328 
9628 
     | 
    
         
             
                #       {
         
     | 
| 
       9329 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9629 
     | 
    
         
            +
                #         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
         
     | 
| 
       9330 
9630 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9331 
9631 
     | 
    
         
             
                #           {
         
     | 
| 
       9332 
9632 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9407,7 +9707,7 @@ module Aws::EC2 
     | 
|
| 
       9407 
9707 
     | 
    
         
             
                #     },
         
     | 
| 
       9408 
9708 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9409 
9709 
     | 
    
         
             
                #       {
         
     | 
| 
       9410 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9710 
     | 
    
         
            +
                #         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
         
     | 
| 
       9411 
9711 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9412 
9712 
     | 
    
         
             
                #           {
         
     | 
| 
       9413 
9713 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9501,7 +9801,7 @@ module Aws::EC2 
     | 
|
| 
       9501 
9801 
     | 
    
         
             
                #     inside_cidr_blocks: ["String"], # required
         
     | 
| 
       9502 
9802 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9503 
9803 
     | 
    
         
             
                #       {
         
     | 
| 
       9504 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9804 
     | 
    
         
            +
                #         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
         
     | 
| 
       9505 
9805 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9506 
9806 
     | 
    
         
             
                #           {
         
     | 
| 
       9507 
9807 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9583,7 +9883,7 @@ module Aws::EC2 
     | 
|
| 
       9583 
9883 
     | 
    
         
             
                #     },
         
     | 
| 
       9584 
9884 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9585 
9885 
     | 
    
         
             
                #       {
         
     | 
| 
       9586 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9886 
     | 
    
         
            +
                #         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
         
     | 
| 
       9587 
9887 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9588 
9888 
     | 
    
         
             
                #           {
         
     | 
| 
       9589 
9889 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9662,7 +9962,7 @@ module Aws::EC2 
     | 
|
| 
       9662 
9962 
     | 
    
         
             
                #     peer_region: "String", # required
         
     | 
| 
       9663 
9963 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9664 
9964 
     | 
    
         
             
                #       {
         
     | 
| 
       9665 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 9965 
     | 
    
         
            +
                #         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
         
     | 
| 
       9666 
9966 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9667 
9967 
     | 
    
         
             
                #           {
         
     | 
| 
       9668 
9968 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9834,7 +10134,7 @@ module Aws::EC2 
     | 
|
| 
       9834 
10134 
     | 
    
         
             
                #     transit_gateway_id: "TransitGatewayId", # required
         
     | 
| 
       9835 
10135 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9836 
10136 
     | 
    
         
             
                #       {
         
     | 
| 
       9837 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 10137 
     | 
    
         
            +
                #         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
         
     | 
| 
       9838 
10138 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9839 
10139 
     | 
    
         
             
                #           {
         
     | 
| 
       9840 
10140 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9917,7 +10217,7 @@ module Aws::EC2 
     | 
|
| 
       9917 
10217 
     | 
    
         
             
                #     },
         
     | 
| 
       9918 
10218 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       9919 
10219 
     | 
    
         
             
                #       {
         
     | 
| 
       9920 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 10220 
     | 
    
         
            +
                #         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
         
     | 
| 
       9921 
10221 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       9922 
10222 
     | 
    
         
             
                #           {
         
     | 
| 
       9923 
10223 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -9959,7 +10259,7 @@ module Aws::EC2 
     | 
|
| 
       9959 
10259 
     | 
    
         
             
                # Availability Zone.
         
     | 
| 
       9960 
10260 
     | 
    
         
             
                #
         
     | 
| 
       9961 
10261 
     | 
    
         
             
                # You can create a new empty volume or restore a volume from an EBS
         
     | 
| 
       9962 
     | 
    
         
            -
                # snapshot. Any  
     | 
| 
      
 10262 
     | 
    
         
            +
                # snapshot. Any Marketplace product codes from the snapshot are
         
     | 
| 
       9963 
10263 
     | 
    
         
             
                # propagated to the volume.
         
     | 
| 
       9964 
10264 
     | 
    
         
             
                #
         
     | 
| 
       9965 
10265 
     | 
    
         
             
                # You can create encrypted volumes. Encrypted volumes must be attached
         
     | 
| 
         @@ -9969,10 +10269,10 @@ module Aws::EC2 
     | 
|
| 
       9969 
10269 
     | 
    
         
             
                # Elastic Compute Cloud User Guide*.
         
     | 
| 
       9970 
10270 
     | 
    
         
             
                #
         
     | 
| 
       9971 
10271 
     | 
    
         
             
                # You can tag your volumes during creation. For more information, see
         
     | 
| 
       9972 
     | 
    
         
            -
                # [ 
     | 
| 
      
 10272 
     | 
    
         
            +
                # [Tag your Amazon EC2 resources][2] in the *Amazon Elastic Compute
         
     | 
| 
       9973 
10273 
     | 
    
         
             
                # Cloud User Guide*.
         
     | 
| 
       9974 
10274 
     | 
    
         
             
                #
         
     | 
| 
       9975 
     | 
    
         
            -
                # For more information, see [ 
     | 
| 
      
 10275 
     | 
    
         
            +
                # For more information, see [Create an Amazon EBS volume][3] in the
         
     | 
| 
       9976 
10276 
     | 
    
         
             
                # *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       9977 
10277 
     | 
    
         
             
                #
         
     | 
| 
       9978 
10278 
     | 
    
         
             
                #
         
     | 
| 
         @@ -10016,9 +10316,9 @@ module Aws::EC2 
     | 
|
| 
       10016 
10316 
     | 
    
         
             
                #
         
     | 
| 
       10017 
10317 
     | 
    
         
             
                #   * `io2`\: 100-64,000 IOPS
         
     | 
| 
       10018 
10318 
     | 
    
         
             
                #
         
     | 
| 
       10019 
     | 
    
         
            -
                #    
     | 
| 
       10020 
     | 
    
         
            -
                #    
     | 
| 
       10021 
     | 
    
         
            -
                #    
     | 
| 
      
 10319 
     | 
    
         
            +
                #   `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
         
     | 
| 
      
 10320 
     | 
    
         
            +
                #   built on the Nitro System][1]. Other instance families support
         
     | 
| 
      
 10321 
     | 
    
         
            +
                #   performance up to 32,000 IOPS.
         
     | 
| 
       10022 
10322 
     | 
    
         
             
                #
         
     | 
| 
       10023 
10323 
     | 
    
         
             
                #   This parameter is required for `io1` and `io2` volumes. The default
         
     | 
| 
       10024 
10324 
     | 
    
         
             
                #   for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
         
     | 
| 
         @@ -10029,12 +10329,12 @@ module Aws::EC2 
     | 
|
| 
       10029 
10329 
     | 
    
         
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
         
     | 
| 
       10030 
10330 
     | 
    
         
             
                #
         
     | 
| 
       10031 
10331 
     | 
    
         
             
                # @option params [String] :kms_key_id
         
     | 
| 
       10032 
     | 
    
         
            -
                #   The identifier of the  
     | 
| 
       10033 
     | 
    
         
            -
                #    
     | 
| 
       10034 
     | 
    
         
            -
                #    
     | 
| 
       10035 
     | 
    
         
            -
                #    
     | 
| 
      
 10332 
     | 
    
         
            +
                #   The identifier of the Key Management Service (KMS) KMS key to use for
         
     | 
| 
      
 10333 
     | 
    
         
            +
                #   Amazon EBS encryption. If this parameter is not specified, your KMS
         
     | 
| 
      
 10334 
     | 
    
         
            +
                #   key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
         
     | 
| 
      
 10335 
     | 
    
         
            +
                #   state must be `true`.
         
     | 
| 
       10036 
10336 
     | 
    
         
             
                #
         
     | 
| 
       10037 
     | 
    
         
            -
                #   You can specify the  
     | 
| 
      
 10337 
     | 
    
         
            +
                #   You can specify the KMS key using any of the following:
         
     | 
| 
       10038 
10338 
     | 
    
         
             
                #
         
     | 
| 
       10039 
10339 
     | 
    
         
             
                #   * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
         
     | 
| 
       10040 
10340 
     | 
    
         
             
                #
         
     | 
| 
         @@ -10046,9 +10346,9 @@ module Aws::EC2 
     | 
|
| 
       10046 
10346 
     | 
    
         
             
                #   * Alias ARN. For example,
         
     | 
| 
       10047 
10347 
     | 
    
         
             
                #     arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
         
     | 
| 
       10048 
10348 
     | 
    
         
             
                #
         
     | 
| 
       10049 
     | 
    
         
            -
                #    
     | 
| 
       10050 
     | 
    
         
            -
                #   ID, alias, or ARN that is not valid, the 
     | 
| 
       10051 
     | 
    
         
            -
                #   complete, but eventually fails.
         
     | 
| 
      
 10349 
     | 
    
         
            +
                #   Amazon Web Services authenticates the KMS key asynchronously.
         
     | 
| 
      
 10350 
     | 
    
         
            +
                #   Therefore, if you specify an ID, alias, or ARN that is not valid, the
         
     | 
| 
      
 10351 
     | 
    
         
            +
                #   action can appear to complete, but eventually fails.
         
     | 
| 
       10052 
10352 
     | 
    
         
             
                #
         
     | 
| 
       10053 
10353 
     | 
    
         
             
                # @option params [String] :outpost_arn
         
     | 
| 
       10054 
10354 
     | 
    
         
             
                #   The Amazon Resource Name (ARN) of the Outpost.
         
     | 
| 
         @@ -10125,6 +10425,18 @@ module Aws::EC2 
     | 
|
| 
       10125 
10425 
     | 
    
         
             
                #
         
     | 
| 
       10126 
10426 
     | 
    
         
             
                #   Valid Range: Minimum value of 125. Maximum value of 1000.
         
     | 
| 
       10127 
10427 
     | 
    
         
             
                #
         
     | 
| 
      
 10428 
     | 
    
         
            +
                # @option params [String] :client_token
         
     | 
| 
      
 10429 
     | 
    
         
            +
                #   Unique, case-sensitive identifier that you provide to ensure the
         
     | 
| 
      
 10430 
     | 
    
         
            +
                #   idempotency of the request. For more information, see [Ensure
         
     | 
| 
      
 10431 
     | 
    
         
            +
                #   Idempotency][1].
         
     | 
| 
      
 10432 
     | 
    
         
            +
                #
         
     | 
| 
      
 10433 
     | 
    
         
            +
                #   **A suitable default value is auto-generated.** You should normally
         
     | 
| 
      
 10434 
     | 
    
         
            +
                #   not need to pass this option.**
         
     | 
| 
      
 10435 
     | 
    
         
            +
                #
         
     | 
| 
      
 10436 
     | 
    
         
            +
                #
         
     | 
| 
      
 10437 
     | 
    
         
            +
                #
         
     | 
| 
      
 10438 
     | 
    
         
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
         
     | 
| 
      
 10439 
     | 
    
         
            +
                #
         
     | 
| 
       10128 
10440 
     | 
    
         
             
                # @return [Types::Volume] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       10129 
10441 
     | 
    
         
             
                #
         
     | 
| 
       10130 
10442 
     | 
    
         
             
                #   * {Types::Volume#attachments #attachments} => Array<Types::VolumeAttachment>
         
     | 
| 
         @@ -10210,7 +10522,7 @@ module Aws::EC2 
     | 
|
| 
       10210 
10522 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       10211 
10523 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       10212 
10524 
     | 
    
         
             
                #       {
         
     | 
| 
       10213 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 10525 
     | 
    
         
            +
                #         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
         
     | 
| 
       10214 
10526 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       10215 
10527 
     | 
    
         
             
                #           {
         
     | 
| 
       10216 
10528 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -10221,6 +10533,7 @@ module Aws::EC2 
     | 
|
| 
       10221 
10533 
     | 
    
         
             
                #     ],
         
     | 
| 
       10222 
10534 
     | 
    
         
             
                #     multi_attach_enabled: false,
         
     | 
| 
       10223 
10535 
     | 
    
         
             
                #     throughput: 1,
         
     | 
| 
      
 10536 
     | 
    
         
            +
                #     client_token: "String",
         
     | 
| 
       10224 
10537 
     | 
    
         
             
                #   })
         
     | 
| 
       10225 
10538 
     | 
    
         
             
                #
         
     | 
| 
       10226 
10539 
     | 
    
         
             
                # @example Response structure
         
     | 
| 
         @@ -10373,7 +10686,7 @@ module Aws::EC2 
     | 
|
| 
       10373 
10686 
     | 
    
         
             
                #     ipv_6_cidr_block_network_border_group: "String",
         
     | 
| 
       10374 
10687 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       10375 
10688 
     | 
    
         
             
                #       {
         
     | 
| 
       10376 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 10689 
     | 
    
         
            +
                #         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
         
     | 
| 
       10377 
10690 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       10378 
10691 
     | 
    
         
             
                #           {
         
     | 
| 
       10379 
10692 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -10530,7 +10843,7 @@ module Aws::EC2 
     | 
|
| 
       10530 
10843 
     | 
    
         
             
                #     private_dns_enabled: false,
         
     | 
| 
       10531 
10844 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       10532 
10845 
     | 
    
         
             
                #       {
         
     | 
| 
       10533 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 10846 
     | 
    
         
            +
                #         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
         
     | 
| 
       10534 
10847 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       10535 
10848 
     | 
    
         
             
                #           {
         
     | 
| 
       10536 
10849 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -10736,7 +11049,7 @@ module Aws::EC2 
     | 
|
| 
       10736 
11049 
     | 
    
         
             
                #     client_token: "String",
         
     | 
| 
       10737 
11050 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       10738 
11051 
     | 
    
         
             
                #       {
         
     | 
| 
       10739 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 11052 
     | 
    
         
            +
                #         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
         
     | 
| 
       10740 
11053 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       10741 
11054 
     | 
    
         
             
                #           {
         
     | 
| 
       10742 
11055 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -10849,7 +11162,7 @@ module Aws::EC2 
     | 
|
| 
       10849 
11162 
     | 
    
         
             
                #     peer_region: "String",
         
     | 
| 
       10850 
11163 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       10851 
11164 
     | 
    
         
             
                #       {
         
     | 
| 
       10852 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 11165 
     | 
    
         
            +
                #         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
         
     | 
| 
       10853 
11166 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       10854 
11167 
     | 
    
         
             
                #           {
         
     | 
| 
       10855 
11168 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -11025,7 +11338,7 @@ module Aws::EC2 
     | 
|
| 
       11025 
11338 
     | 
    
         
             
                #     },
         
     | 
| 
       11026 
11339 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       11027 
11340 
     | 
    
         
             
                #       {
         
     | 
| 
       11028 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 11341 
     | 
    
         
            +
                #         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
         
     | 
| 
       11029 
11342 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       11030 
11343 
     | 
    
         
             
                #           {
         
     | 
| 
       11031 
11344 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -11186,7 +11499,7 @@ module Aws::EC2 
     | 
|
| 
       11186 
11499 
     | 
    
         
             
                #     type: "ipsec.1", # required, accepts ipsec.1
         
     | 
| 
       11187 
11500 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       11188 
11501 
     | 
    
         
             
                #       {
         
     | 
| 
       11189 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 11502 
     | 
    
         
            +
                #         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
         
     | 
| 
       11190 
11503 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       11191 
11504 
     | 
    
         
             
                #           {
         
     | 
| 
       11192 
11505 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -11631,6 +11944,54 @@ module Aws::EC2 
     | 
|
| 
       11631 
11944 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       11632 
11945 
     | 
    
         
             
                end
         
     | 
| 
       11633 
11946 
     | 
    
         | 
| 
      
 11947 
     | 
    
         
            +
                # Deletes the specified event window.
         
     | 
| 
      
 11948 
     | 
    
         
            +
                #
         
     | 
| 
      
 11949 
     | 
    
         
            +
                # For more information, see [Define event windows for scheduled
         
     | 
| 
      
 11950 
     | 
    
         
            +
                # events][1] in the *Amazon EC2 User Guide*.
         
     | 
| 
      
 11951 
     | 
    
         
            +
                #
         
     | 
| 
      
 11952 
     | 
    
         
            +
                #
         
     | 
| 
      
 11953 
     | 
    
         
            +
                #
         
     | 
| 
      
 11954 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
         
     | 
| 
      
 11955 
     | 
    
         
            +
                #
         
     | 
| 
      
 11956 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 11957 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 11958 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 11959 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 11960 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 11961 
     | 
    
         
            +
                #
         
     | 
| 
      
 11962 
     | 
    
         
            +
                # @option params [Boolean] :force_delete
         
     | 
| 
      
 11963 
     | 
    
         
            +
                #   Specify `true` to force delete the event window. Use the force delete
         
     | 
| 
      
 11964 
     | 
    
         
            +
                #   parameter if the event window is currently associated with targets.
         
     | 
| 
      
 11965 
     | 
    
         
            +
                #
         
     | 
| 
      
 11966 
     | 
    
         
            +
                # @option params [required, String] :instance_event_window_id
         
     | 
| 
      
 11967 
     | 
    
         
            +
                #   The ID of the event window.
         
     | 
| 
      
 11968 
     | 
    
         
            +
                #
         
     | 
| 
      
 11969 
     | 
    
         
            +
                # @return [Types::DeleteInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 11970 
     | 
    
         
            +
                #
         
     | 
| 
      
 11971 
     | 
    
         
            +
                #   * {Types::DeleteInstanceEventWindowResult#instance_event_window_state #instance_event_window_state} => Types::InstanceEventWindowStateChange
         
     | 
| 
      
 11972 
     | 
    
         
            +
                #
         
     | 
| 
      
 11973 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 11974 
     | 
    
         
            +
                #
         
     | 
| 
      
 11975 
     | 
    
         
            +
                #   resp = client.delete_instance_event_window({
         
     | 
| 
      
 11976 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 11977 
     | 
    
         
            +
                #     force_delete: false,
         
     | 
| 
      
 11978 
     | 
    
         
            +
                #     instance_event_window_id: "InstanceEventWindowId", # required
         
     | 
| 
      
 11979 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 11980 
     | 
    
         
            +
                #
         
     | 
| 
      
 11981 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 11982 
     | 
    
         
            +
                #
         
     | 
| 
      
 11983 
     | 
    
         
            +
                #   resp.instance_event_window_state.instance_event_window_id #=> String
         
     | 
| 
      
 11984 
     | 
    
         
            +
                #   resp.instance_event_window_state.state #=> String, one of "creating", "deleting", "active", "deleted"
         
     | 
| 
      
 11985 
     | 
    
         
            +
                #
         
     | 
| 
      
 11986 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInstanceEventWindow AWS API Documentation
         
     | 
| 
      
 11987 
     | 
    
         
            +
                #
         
     | 
| 
      
 11988 
     | 
    
         
            +
                # @overload delete_instance_event_window(params = {})
         
     | 
| 
      
 11989 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 11990 
     | 
    
         
            +
                def delete_instance_event_window(params = {}, options = {})
         
     | 
| 
      
 11991 
     | 
    
         
            +
                  req = build_request(:delete_instance_event_window, params)
         
     | 
| 
      
 11992 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 11993 
     | 
    
         
            +
                end
         
     | 
| 
      
 11994 
     | 
    
         
            +
             
     | 
| 
       11634 
11995 
     | 
    
         
             
                # Deletes the specified internet gateway. You must detach the internet
         
     | 
| 
       11635 
11996 
     | 
    
         
             
                # gateway from the VPC before you can delete it.
         
     | 
| 
       11636 
11997 
     | 
    
         
             
                #
         
     | 
| 
         @@ -12549,7 +12910,7 @@ module Aws::EC2 
     | 
|
| 
       12549 
12910 
     | 
    
         
             
                # by a registered AMI. You must first de-register the AMI before you can
         
     | 
| 
       12550 
12911 
     | 
    
         
             
                # delete the snapshot.
         
     | 
| 
       12551 
12912 
     | 
    
         
             
                #
         
     | 
| 
       12552 
     | 
    
         
            -
                # For more information, see [ 
     | 
| 
      
 12913 
     | 
    
         
            +
                # For more information, see [Delete an Amazon EBS snapshot][1] in the
         
     | 
| 
       12553 
12914 
     | 
    
         
             
                # *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       12554 
12915 
     | 
    
         
             
                #
         
     | 
| 
       12555 
12916 
     | 
    
         
             
                #
         
     | 
| 
         @@ -12699,8 +13060,8 @@ module Aws::EC2 
     | 
|
| 
       12699 
13060 
     | 
    
         
             
                #   if its value is an empty string.
         
     | 
| 
       12700 
13061 
     | 
    
         
             
                #
         
     | 
| 
       12701 
13062 
     | 
    
         
             
                #   If you omit this parameter, we delete all user-defined tags for the
         
     | 
| 
       12702 
     | 
    
         
            -
                #   specified resources. We do not delete  
     | 
| 
       12703 
     | 
    
         
            -
                #   have the `aws:` prefix).
         
     | 
| 
      
 13063 
     | 
    
         
            +
                #   specified resources. We do not delete Amazon Web Services-generated
         
     | 
| 
      
 13064 
     | 
    
         
            +
                #   tags (tags that have the `aws:` prefix).
         
     | 
| 
       12704 
13065 
     | 
    
         
             
                #
         
     | 
| 
       12705 
13066 
     | 
    
         
             
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         
     | 
| 
       12706 
13067 
     | 
    
         
             
                #
         
     | 
| 
         @@ -13326,7 +13687,7 @@ module Aws::EC2 
     | 
|
| 
       13326 
13687 
     | 
    
         
             
                #
         
     | 
| 
       13327 
13688 
     | 
    
         
             
                # The volume can remain in the `deleting` state for several minutes.
         
     | 
| 
       13328 
13689 
     | 
    
         
             
                #
         
     | 
| 
       13329 
     | 
    
         
            -
                # For more information, see [ 
     | 
| 
      
 13690 
     | 
    
         
            +
                # For more information, see [Delete an Amazon EBS volume][1] in the
         
     | 
| 
       13330 
13691 
     | 
    
         
             
                # *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       13331 
13692 
     | 
    
         
             
                #
         
     | 
| 
       13332 
13693 
     | 
    
         
             
                #
         
     | 
| 
         @@ -13783,6 +14144,8 @@ module Aws::EC2 
     | 
|
| 
       13783 
14144 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       13784 
14145 
     | 
    
         
             
                end
         
     | 
| 
       13785 
14146 
     | 
    
         | 
| 
      
 14147 
     | 
    
         
            +
                # c
         
     | 
| 
      
 14148 
     | 
    
         
            +
                #
         
     | 
| 
       13786 
14149 
     | 
    
         
             
                # Deregisters tag keys to prevent tags that have the specified tag keys
         
     | 
| 
       13787 
14150 
     | 
    
         
             
                # from being included in scheduled event notifications for resources in
         
     | 
| 
       13788 
14151 
     | 
    
         
             
                # the Region.
         
     | 
| 
         @@ -16142,7 +16505,7 @@ module Aws::EC2 
     | 
|
| 
       16142 
16505 
     | 
    
         
             
                #
         
     | 
| 
       16143 
16506 
     | 
    
         
             
                #   * `availability-zone`\: The Availability Zone of the snapshot.
         
     | 
| 
       16144 
16507 
     | 
    
         
             
                #
         
     | 
| 
       16145 
     | 
    
         
            -
                #   * `owner-id`\: The ID of the  
     | 
| 
      
 16508 
     | 
    
         
            +
                #   * `owner-id`\: The ID of the account that enabled fast snapshot
         
     | 
| 
       16146 
16509 
     | 
    
         
             
                #     restore on the snapshot.
         
     | 
| 
       16147 
16510 
     | 
    
         
             
                #
         
     | 
| 
       16148 
16511 
     | 
    
         
             
                #   * `snapshot-id`\: The ID of the snapshot.
         
     | 
| 
         @@ -18126,6 +18489,131 @@ module Aws::EC2 
     | 
|
| 
       18126 
18489 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       18127 
18490 
     | 
    
         
             
                end
         
     | 
| 
       18128 
18491 
     | 
    
         | 
| 
      
 18492 
     | 
    
         
            +
                # Describes the specified event windows or all event windows.
         
     | 
| 
      
 18493 
     | 
    
         
            +
                #
         
     | 
| 
      
 18494 
     | 
    
         
            +
                # If you specify event window IDs, the output includes information for
         
     | 
| 
      
 18495 
     | 
    
         
            +
                # only the specified event windows. If you specify filters, the output
         
     | 
| 
      
 18496 
     | 
    
         
            +
                # includes information for only those event windows that meet the filter
         
     | 
| 
      
 18497 
     | 
    
         
            +
                # criteria. If you do not specify event windows IDs or filters, the
         
     | 
| 
      
 18498 
     | 
    
         
            +
                # output includes information for all event windows, which can affect
         
     | 
| 
      
 18499 
     | 
    
         
            +
                # performance. We recommend that you use pagination to ensure that the
         
     | 
| 
      
 18500 
     | 
    
         
            +
                # operation returns quickly and successfully.
         
     | 
| 
      
 18501 
     | 
    
         
            +
                #
         
     | 
| 
      
 18502 
     | 
    
         
            +
                # For more information, see [Define event windows for scheduled
         
     | 
| 
      
 18503 
     | 
    
         
            +
                # events][1] in the *Amazon EC2 User Guide*.
         
     | 
| 
      
 18504 
     | 
    
         
            +
                #
         
     | 
| 
      
 18505 
     | 
    
         
            +
                #
         
     | 
| 
      
 18506 
     | 
    
         
            +
                #
         
     | 
| 
      
 18507 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
         
     | 
| 
      
 18508 
     | 
    
         
            +
                #
         
     | 
| 
      
 18509 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 18510 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 18511 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 18512 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 18513 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 18514 
     | 
    
         
            +
                #
         
     | 
| 
      
 18515 
     | 
    
         
            +
                # @option params [Array<String>] :instance_event_window_ids
         
     | 
| 
      
 18516 
     | 
    
         
            +
                #   The IDs of the event windows.
         
     | 
| 
      
 18517 
     | 
    
         
            +
                #
         
     | 
| 
      
 18518 
     | 
    
         
            +
                # @option params [Array<Types::Filter>] :filters
         
     | 
| 
      
 18519 
     | 
    
         
            +
                #   One or more filters.
         
     | 
| 
      
 18520 
     | 
    
         
            +
                #
         
     | 
| 
      
 18521 
     | 
    
         
            +
                #   * `dedicated-host-id` - The event windows associated with the
         
     | 
| 
      
 18522 
     | 
    
         
            +
                #     specified Dedicated Host ID.
         
     | 
| 
      
 18523 
     | 
    
         
            +
                #
         
     | 
| 
      
 18524 
     | 
    
         
            +
                #   * `event-window-name` - The event windows associated with the
         
     | 
| 
      
 18525 
     | 
    
         
            +
                #     specified names.
         
     | 
| 
      
 18526 
     | 
    
         
            +
                #
         
     | 
| 
      
 18527 
     | 
    
         
            +
                #   * `instance-id` - The event windows associated with the specified
         
     | 
| 
      
 18528 
     | 
    
         
            +
                #     instance ID.
         
     | 
| 
      
 18529 
     | 
    
         
            +
                #
         
     | 
| 
      
 18530 
     | 
    
         
            +
                #   * `instance-tag` - The event windows associated with the specified tag
         
     | 
| 
      
 18531 
     | 
    
         
            +
                #     and value.
         
     | 
| 
      
 18532 
     | 
    
         
            +
                #
         
     | 
| 
      
 18533 
     | 
    
         
            +
                #   * `instance-tag-key` - The event windows associated with the specified
         
     | 
| 
      
 18534 
     | 
    
         
            +
                #     tag key, regardless of the value.
         
     | 
| 
      
 18535 
     | 
    
         
            +
                #
         
     | 
| 
      
 18536 
     | 
    
         
            +
                #   * `instance-tag-value` - The event windows associated with the
         
     | 
| 
      
 18537 
     | 
    
         
            +
                #     specified tag value, regardless of the key.
         
     | 
| 
      
 18538 
     | 
    
         
            +
                #
         
     | 
| 
      
 18539 
     | 
    
         
            +
                #   * `tag`\:<key> - The key/value combination of a tag assigned to
         
     | 
| 
      
 18540 
     | 
    
         
            +
                #     the event window. Use the tag key in the filter name and the tag
         
     | 
| 
      
 18541 
     | 
    
         
            +
                #     value as the filter value. For example, to find all resources that
         
     | 
| 
      
 18542 
     | 
    
         
            +
                #     have a tag with the key `Owner` and the value `CMX`, specify
         
     | 
| 
      
 18543 
     | 
    
         
            +
                #     `tag:Owner` for the filter name and `CMX` for the filter value.
         
     | 
| 
      
 18544 
     | 
    
         
            +
                #
         
     | 
| 
      
 18545 
     | 
    
         
            +
                #   * `tag-key` - The key of a tag assigned to the event window. Use this
         
     | 
| 
      
 18546 
     | 
    
         
            +
                #     filter to find all event windows that have a tag with a specific
         
     | 
| 
      
 18547 
     | 
    
         
            +
                #     key, regardless of the tag value.
         
     | 
| 
      
 18548 
     | 
    
         
            +
                #
         
     | 
| 
      
 18549 
     | 
    
         
            +
                #   * `tag-value` - The value of a tag assigned to the event window. Use
         
     | 
| 
      
 18550 
     | 
    
         
            +
                #     this filter to find all event windows that have a tag with a
         
     | 
| 
      
 18551 
     | 
    
         
            +
                #     specific value, regardless of the tag key.
         
     | 
| 
      
 18552 
     | 
    
         
            +
                #
         
     | 
| 
      
 18553 
     | 
    
         
            +
                # @option params [Integer] :max_results
         
     | 
| 
      
 18554 
     | 
    
         
            +
                #   The maximum number of results to return in a single call. To retrieve
         
     | 
| 
      
 18555 
     | 
    
         
            +
                #   the remaining results, make another call with the returned `NextToken`
         
     | 
| 
      
 18556 
     | 
    
         
            +
                #   value. This value can be between 20 and 500. You cannot specify this
         
     | 
| 
      
 18557 
     | 
    
         
            +
                #   parameter and the event window IDs parameter in the same call.
         
     | 
| 
      
 18558 
     | 
    
         
            +
                #
         
     | 
| 
      
 18559 
     | 
    
         
            +
                # @option params [String] :next_token
         
     | 
| 
      
 18560 
     | 
    
         
            +
                #   The token to request the next page of results.
         
     | 
| 
      
 18561 
     | 
    
         
            +
                #
         
     | 
| 
      
 18562 
     | 
    
         
            +
                # @return [Types::DescribeInstanceEventWindowsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 18563 
     | 
    
         
            +
                #
         
     | 
| 
      
 18564 
     | 
    
         
            +
                #   * {Types::DescribeInstanceEventWindowsResult#instance_event_windows #instance_event_windows} => Array<Types::InstanceEventWindow>
         
     | 
| 
      
 18565 
     | 
    
         
            +
                #   * {Types::DescribeInstanceEventWindowsResult#next_token #next_token} => String
         
     | 
| 
      
 18566 
     | 
    
         
            +
                #
         
     | 
| 
      
 18567 
     | 
    
         
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         
     | 
| 
      
 18568 
     | 
    
         
            +
                #
         
     | 
| 
      
 18569 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 18570 
     | 
    
         
            +
                #
         
     | 
| 
      
 18571 
     | 
    
         
            +
                #   resp = client.describe_instance_event_windows({
         
     | 
| 
      
 18572 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 18573 
     | 
    
         
            +
                #     instance_event_window_ids: ["InstanceEventWindowId"],
         
     | 
| 
      
 18574 
     | 
    
         
            +
                #     filters: [
         
     | 
| 
      
 18575 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 18576 
     | 
    
         
            +
                #         name: "String",
         
     | 
| 
      
 18577 
     | 
    
         
            +
                #         values: ["String"],
         
     | 
| 
      
 18578 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 18579 
     | 
    
         
            +
                #     ],
         
     | 
| 
      
 18580 
     | 
    
         
            +
                #     max_results: 1,
         
     | 
| 
      
 18581 
     | 
    
         
            +
                #     next_token: "String",
         
     | 
| 
      
 18582 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 18583 
     | 
    
         
            +
                #
         
     | 
| 
      
 18584 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 18585 
     | 
    
         
            +
                #
         
     | 
| 
      
 18586 
     | 
    
         
            +
                #   resp.instance_event_windows #=> Array
         
     | 
| 
      
 18587 
     | 
    
         
            +
                #   resp.instance_event_windows[0].instance_event_window_id #=> String
         
     | 
| 
      
 18588 
     | 
    
         
            +
                #   resp.instance_event_windows[0].time_ranges #=> Array
         
     | 
| 
      
 18589 
     | 
    
         
            +
                #   resp.instance_event_windows[0].time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 18590 
     | 
    
         
            +
                #   resp.instance_event_windows[0].time_ranges[0].start_hour #=> Integer
         
     | 
| 
      
 18591 
     | 
    
         
            +
                #   resp.instance_event_windows[0].time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 18592 
     | 
    
         
            +
                #   resp.instance_event_windows[0].time_ranges[0].end_hour #=> Integer
         
     | 
| 
      
 18593 
     | 
    
         
            +
                #   resp.instance_event_windows[0].name #=> String
         
     | 
| 
      
 18594 
     | 
    
         
            +
                #   resp.instance_event_windows[0].cron_expression #=> String
         
     | 
| 
      
 18595 
     | 
    
         
            +
                #   resp.instance_event_windows[0].association_target.instance_ids #=> Array
         
     | 
| 
      
 18596 
     | 
    
         
            +
                #   resp.instance_event_windows[0].association_target.instance_ids[0] #=> String
         
     | 
| 
      
 18597 
     | 
    
         
            +
                #   resp.instance_event_windows[0].association_target.tags #=> Array
         
     | 
| 
      
 18598 
     | 
    
         
            +
                #   resp.instance_event_windows[0].association_target.tags[0].key #=> String
         
     | 
| 
      
 18599 
     | 
    
         
            +
                #   resp.instance_event_windows[0].association_target.tags[0].value #=> String
         
     | 
| 
      
 18600 
     | 
    
         
            +
                #   resp.instance_event_windows[0].association_target.dedicated_host_ids #=> Array
         
     | 
| 
      
 18601 
     | 
    
         
            +
                #   resp.instance_event_windows[0].association_target.dedicated_host_ids[0] #=> String
         
     | 
| 
      
 18602 
     | 
    
         
            +
                #   resp.instance_event_windows[0].state #=> String, one of "creating", "deleting", "active", "deleted"
         
     | 
| 
      
 18603 
     | 
    
         
            +
                #   resp.instance_event_windows[0].tags #=> Array
         
     | 
| 
      
 18604 
     | 
    
         
            +
                #   resp.instance_event_windows[0].tags[0].key #=> String
         
     | 
| 
      
 18605 
     | 
    
         
            +
                #   resp.instance_event_windows[0].tags[0].value #=> String
         
     | 
| 
      
 18606 
     | 
    
         
            +
                #   resp.next_token #=> String
         
     | 
| 
      
 18607 
     | 
    
         
            +
                #
         
     | 
| 
      
 18608 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceEventWindows AWS API Documentation
         
     | 
| 
      
 18609 
     | 
    
         
            +
                #
         
     | 
| 
      
 18610 
     | 
    
         
            +
                # @overload describe_instance_event_windows(params = {})
         
     | 
| 
      
 18611 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 18612 
     | 
    
         
            +
                def describe_instance_event_windows(params = {}, options = {})
         
     | 
| 
      
 18613 
     | 
    
         
            +
                  req = build_request(:describe_instance_event_windows, params)
         
     | 
| 
      
 18614 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 18615 
     | 
    
         
            +
                end
         
     | 
| 
      
 18616 
     | 
    
         
            +
             
     | 
| 
       18129 
18617 
     | 
    
         
             
                # Describes the status of the specified instances or all of your
         
     | 
| 
       18130 
18618 
     | 
    
         
             
                # instances. By default, only running instances are described, unless
         
     | 
| 
       18131 
18619 
     | 
    
         
             
                # you specifically indicate to return the status of all instances.
         
     | 
| 
         @@ -19467,7 +19955,7 @@ module Aws::EC2 
     | 
|
| 
       19467 
19955 
     | 
    
         
             
                # @option params [Array<String>] :key_names
         
     | 
| 
       19468 
19956 
     | 
    
         
             
                #   The key pair names.
         
     | 
| 
       19469 
19957 
     | 
    
         
             
                #
         
     | 
| 
       19470 
     | 
    
         
            -
                #   Default: Describes all your key pairs.
         
     | 
| 
      
 19958 
     | 
    
         
            +
                #   Default: Describes all of your key pairs.
         
     | 
| 
       19471 
19959 
     | 
    
         
             
                #
         
     | 
| 
       19472 
19960 
     | 
    
         
             
                # @option params [Array<String>] :key_pair_ids
         
     | 
| 
       19473 
19961 
     | 
    
         
             
                #   The IDs of the key pairs.
         
     | 
| 
         @@ -19766,7 +20254,7 @@ module Aws::EC2 
     | 
|
| 
       19766 
20254 
     | 
    
         
             
                #   resp.launch_template_versions[0].launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
         
     | 
| 
       19767 
20255 
     | 
    
         
             
                #   resp.launch_template_versions[0].launch_template_data.user_data #=> String
         
     | 
| 
       19768 
20256 
     | 
    
         
             
                #   resp.launch_template_versions[0].launch_template_data.tag_specifications #=> Array
         
     | 
| 
       19769 
     | 
    
         
            -
                #   resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "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- 
     | 
| 
      
 20257 
     | 
    
         
            +
                #   resp.launch_template_versions[0].launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
         
     | 
| 
       19770 
20258 
     | 
    
         
             
                #   resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags #=> Array
         
     | 
| 
       19771 
20259 
     | 
    
         
             
                #   resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].key #=> String
         
     | 
| 
       19772 
20260 
     | 
    
         
             
                #   resp.launch_template_versions[0].launch_template_data.tag_specifications[0].tags[0].value #=> String
         
     | 
| 
         @@ -22215,7 +22703,7 @@ module Aws::EC2 
     | 
|
| 
       22215 
22703 
     | 
    
         
             
                #
         
     | 
| 
       22216 
22704 
     | 
    
         
             
                #
         
     | 
| 
       22217 
22705 
     | 
    
         
             
                #
         
     | 
| 
       22218 
     | 
    
         
            -
                # [1]: https://docs.aws.amazon.com/
         
     | 
| 
      
 22706 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root
         
     | 
| 
       22219 
22707 
     | 
    
         
             
                #
         
     | 
| 
       22220 
22708 
     | 
    
         
             
                # @option params [Array<String>] :replace_root_volume_task_ids
         
     | 
| 
       22221 
22709 
     | 
    
         
             
                #   The ID of the root volume replacement task to view.
         
     | 
| 
         @@ -23407,6 +23895,94 @@ module Aws::EC2 
     | 
|
| 
       23407 
23895 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       23408 
23896 
     | 
    
         
             
                end
         
     | 
| 
       23409 
23897 
     | 
    
         | 
| 
      
 23898 
     | 
    
         
            +
                # Describes one or more of your security group rules.
         
     | 
| 
      
 23899 
     | 
    
         
            +
                #
         
     | 
| 
      
 23900 
     | 
    
         
            +
                # @option params [Array<Types::Filter>] :filters
         
     | 
| 
      
 23901 
     | 
    
         
            +
                #   One or more filters.
         
     | 
| 
      
 23902 
     | 
    
         
            +
                #
         
     | 
| 
      
 23903 
     | 
    
         
            +
                #   * `group-id` - The ID of the security group.
         
     | 
| 
      
 23904 
     | 
    
         
            +
                #
         
     | 
| 
      
 23905 
     | 
    
         
            +
                #   * `security-group-rule-id` - The ID of the security group rule.
         
     | 
| 
      
 23906 
     | 
    
         
            +
                #
         
     | 
| 
      
 23907 
     | 
    
         
            +
                #   * `tag`\:<key> - The key/value combination of a tag assigned to
         
     | 
| 
      
 23908 
     | 
    
         
            +
                #     the resource. Use the tag key in the filter name and the tag value
         
     | 
| 
      
 23909 
     | 
    
         
            +
                #     as the filter value. For example, to find all resources that have a
         
     | 
| 
      
 23910 
     | 
    
         
            +
                #     tag with the key `Owner` and the value `TeamA`, specify `tag:Owner`
         
     | 
| 
      
 23911 
     | 
    
         
            +
                #     for the filter name and `TeamA` for the filter value.
         
     | 
| 
      
 23912 
     | 
    
         
            +
                #
         
     | 
| 
      
 23913 
     | 
    
         
            +
                # @option params [Array<String>] :security_group_rule_ids
         
     | 
| 
      
 23914 
     | 
    
         
            +
                #   The IDs of the security group rules.
         
     | 
| 
      
 23915 
     | 
    
         
            +
                #
         
     | 
| 
      
 23916 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 23917 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 23918 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 23919 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 23920 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 23921 
     | 
    
         
            +
                #
         
     | 
| 
      
 23922 
     | 
    
         
            +
                # @option params [String] :next_token
         
     | 
| 
      
 23923 
     | 
    
         
            +
                #   The token for the next page of results.
         
     | 
| 
      
 23924 
     | 
    
         
            +
                #
         
     | 
| 
      
 23925 
     | 
    
         
            +
                # @option params [Integer] :max_results
         
     | 
| 
      
 23926 
     | 
    
         
            +
                #   The maximum number of results to return in a single call. To retrieve
         
     | 
| 
      
 23927 
     | 
    
         
            +
                #   the remaining results, make another request with the returned
         
     | 
| 
      
 23928 
     | 
    
         
            +
                #   `NextToken` value. This value can be between 5 and 1000. If this
         
     | 
| 
      
 23929 
     | 
    
         
            +
                #   parameter is not specified, then all results are returned.
         
     | 
| 
      
 23930 
     | 
    
         
            +
                #
         
     | 
| 
      
 23931 
     | 
    
         
            +
                # @return [Types::DescribeSecurityGroupRulesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 23932 
     | 
    
         
            +
                #
         
     | 
| 
      
 23933 
     | 
    
         
            +
                #   * {Types::DescribeSecurityGroupRulesResult#security_group_rules #security_group_rules} => Array<Types::SecurityGroupRule>
         
     | 
| 
      
 23934 
     | 
    
         
            +
                #   * {Types::DescribeSecurityGroupRulesResult#next_token #next_token} => String
         
     | 
| 
      
 23935 
     | 
    
         
            +
                #
         
     | 
| 
      
 23936 
     | 
    
         
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         
     | 
| 
      
 23937 
     | 
    
         
            +
                #
         
     | 
| 
      
 23938 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 23939 
     | 
    
         
            +
                #
         
     | 
| 
      
 23940 
     | 
    
         
            +
                #   resp = client.describe_security_group_rules({
         
     | 
| 
      
 23941 
     | 
    
         
            +
                #     filters: [
         
     | 
| 
      
 23942 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 23943 
     | 
    
         
            +
                #         name: "String",
         
     | 
| 
      
 23944 
     | 
    
         
            +
                #         values: ["String"],
         
     | 
| 
      
 23945 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 23946 
     | 
    
         
            +
                #     ],
         
     | 
| 
      
 23947 
     | 
    
         
            +
                #     security_group_rule_ids: ["String"],
         
     | 
| 
      
 23948 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 23949 
     | 
    
         
            +
                #     next_token: "String",
         
     | 
| 
      
 23950 
     | 
    
         
            +
                #     max_results: 1,
         
     | 
| 
      
 23951 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 23952 
     | 
    
         
            +
                #
         
     | 
| 
      
 23953 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 23954 
     | 
    
         
            +
                #
         
     | 
| 
      
 23955 
     | 
    
         
            +
                #   resp.security_group_rules #=> Array
         
     | 
| 
      
 23956 
     | 
    
         
            +
                #   resp.security_group_rules[0].security_group_rule_id #=> String
         
     | 
| 
      
 23957 
     | 
    
         
            +
                #   resp.security_group_rules[0].group_id #=> String
         
     | 
| 
      
 23958 
     | 
    
         
            +
                #   resp.security_group_rules[0].group_owner_id #=> String
         
     | 
| 
      
 23959 
     | 
    
         
            +
                #   resp.security_group_rules[0].is_egress #=> Boolean
         
     | 
| 
      
 23960 
     | 
    
         
            +
                #   resp.security_group_rules[0].ip_protocol #=> String
         
     | 
| 
      
 23961 
     | 
    
         
            +
                #   resp.security_group_rules[0].from_port #=> Integer
         
     | 
| 
      
 23962 
     | 
    
         
            +
                #   resp.security_group_rules[0].to_port #=> Integer
         
     | 
| 
      
 23963 
     | 
    
         
            +
                #   resp.security_group_rules[0].cidr_ipv_4 #=> String
         
     | 
| 
      
 23964 
     | 
    
         
            +
                #   resp.security_group_rules[0].cidr_ipv_6 #=> String
         
     | 
| 
      
 23965 
     | 
    
         
            +
                #   resp.security_group_rules[0].prefix_list_id #=> String
         
     | 
| 
      
 23966 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.group_id #=> String
         
     | 
| 
      
 23967 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.peering_status #=> String
         
     | 
| 
      
 23968 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.user_id #=> String
         
     | 
| 
      
 23969 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.vpc_id #=> String
         
     | 
| 
      
 23970 
     | 
    
         
            +
                #   resp.security_group_rules[0].referenced_group_info.vpc_peering_connection_id #=> String
         
     | 
| 
      
 23971 
     | 
    
         
            +
                #   resp.security_group_rules[0].description #=> String
         
     | 
| 
      
 23972 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags #=> Array
         
     | 
| 
      
 23973 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags[0].key #=> String
         
     | 
| 
      
 23974 
     | 
    
         
            +
                #   resp.security_group_rules[0].tags[0].value #=> String
         
     | 
| 
      
 23975 
     | 
    
         
            +
                #   resp.next_token #=> String
         
     | 
| 
      
 23976 
     | 
    
         
            +
                #
         
     | 
| 
      
 23977 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupRules AWS API Documentation
         
     | 
| 
      
 23978 
     | 
    
         
            +
                #
         
     | 
| 
      
 23979 
     | 
    
         
            +
                # @overload describe_security_group_rules(params = {})
         
     | 
| 
      
 23980 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 23981 
     | 
    
         
            +
                def describe_security_group_rules(params = {}, options = {})
         
     | 
| 
      
 23982 
     | 
    
         
            +
                  req = build_request(:describe_security_group_rules, params)
         
     | 
| 
      
 23983 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 23984 
     | 
    
         
            +
                end
         
     | 
| 
      
 23985 
     | 
    
         
            +
             
     | 
| 
       23410 
23986 
     | 
    
         
             
                # Describes the specified security groups or all of your security
         
     | 
| 
       23411 
23987 
     | 
    
         
             
                # groups.
         
     | 
| 
       23412 
23988 
     | 
    
         
             
                #
         
     | 
| 
         @@ -23453,8 +24029,8 @@ module Aws::EC2 
     | 
|
| 
       23453 
24029 
     | 
    
         
             
                #   * `egress.ip-permission.to-port` - For an outbound rule, the end of
         
     | 
| 
       23454 
24030 
     | 
    
         
             
                #     port range for the TCP and UDP protocols, or an ICMP code.
         
     | 
| 
       23455 
24031 
     | 
    
         
             
                #
         
     | 
| 
       23456 
     | 
    
         
            -
                #   * `egress.ip-permission.user-id` - The ID of an  
     | 
| 
       23457 
     | 
    
         
            -
                #     been referenced in an outbound security group rule.
         
     | 
| 
      
 24032 
     | 
    
         
            +
                #   * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
         
     | 
| 
      
 24033 
     | 
    
         
            +
                #     account that has been referenced in an outbound security group rule.
         
     | 
| 
       23458 
24034 
     | 
    
         
             
                #
         
     | 
| 
       23459 
24035 
     | 
    
         
             
                #   * `group-id` - The ID of the security group.
         
     | 
| 
       23460 
24036 
     | 
    
         
             
                #
         
     | 
| 
         @@ -23485,10 +24061,11 @@ module Aws::EC2 
     | 
|
| 
       23485 
24061 
     | 
    
         
             
                #   * `ip-permission.to-port` - For an inbound rule, the end of port range
         
     | 
| 
       23486 
24062 
     | 
    
         
             
                #     for the TCP and UDP protocols, or an ICMP code.
         
     | 
| 
       23487 
24063 
     | 
    
         
             
                #
         
     | 
| 
       23488 
     | 
    
         
            -
                #   * `ip-permission.user-id` - The ID of an  
     | 
| 
       23489 
     | 
    
         
            -
                #     referenced in an inbound security group rule.
         
     | 
| 
      
 24064 
     | 
    
         
            +
                #   * `ip-permission.user-id` - The ID of an Amazon Web Services account
         
     | 
| 
      
 24065 
     | 
    
         
            +
                #     that has been referenced in an inbound security group rule.
         
     | 
| 
       23490 
24066 
     | 
    
         
             
                #
         
     | 
| 
       23491 
     | 
    
         
            -
                #   * `owner-id` - The  
     | 
| 
      
 24067 
     | 
    
         
            +
                #   * `owner-id` - The Amazon Web Services account ID of the owner of the
         
     | 
| 
      
 24068 
     | 
    
         
            +
                #     security group.
         
     | 
| 
       23492 
24069 
     | 
    
         
             
                #
         
     | 
| 
       23493 
24070 
     | 
    
         
             
                #   * `tag`\:<key> - The key/value combination of a tag assigned to
         
     | 
| 
       23494 
24071 
     | 
    
         
             
                #     the resource. Use the tag key in the filter name and the tag value
         
     | 
| 
         @@ -23507,7 +24084,7 @@ module Aws::EC2 
     | 
|
| 
       23507 
24084 
     | 
    
         
             
                #   The IDs of the security groups. Required for security groups in a
         
     | 
| 
       23508 
24085 
     | 
    
         
             
                #   nondefault VPC.
         
     | 
| 
       23509 
24086 
     | 
    
         
             
                #
         
     | 
| 
       23510 
     | 
    
         
            -
                #   Default: Describes all your security groups.
         
     | 
| 
      
 24087 
     | 
    
         
            +
                #   Default: Describes all of your security groups.
         
     | 
| 
       23511 
24088 
     | 
    
         
             
                #
         
     | 
| 
       23512 
24089 
     | 
    
         
             
                # @option params [Array<String>] :group_names
         
     | 
| 
       23513 
24090 
     | 
    
         
             
                #   \[EC2-Classic and default VPC only\] The names of the security groups.
         
     | 
| 
         @@ -23515,7 +24092,7 @@ module Aws::EC2 
     | 
|
| 
       23515 
24092 
     | 
    
         
             
                #   ID. For security groups in a nondefault VPC, use the `group-name`
         
     | 
| 
       23516 
24093 
     | 
    
         
             
                #   filter to describe security groups by name.
         
     | 
| 
       23517 
24094 
     | 
    
         
             
                #
         
     | 
| 
       23518 
     | 
    
         
            -
                #   Default: Describes all your security groups.
         
     | 
| 
      
 24095 
     | 
    
         
            +
                #   Default: Describes all of your security groups.
         
     | 
| 
       23519 
24096 
     | 
    
         
             
                #
         
     | 
| 
       23520 
24097 
     | 
    
         
             
                # @option params [Boolean] :dry_run
         
     | 
| 
       23521 
24098 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
         @@ -23735,25 +24312,25 @@ module Aws::EC2 
     | 
|
| 
       23735 
24312 
     | 
    
         
             
                # EBS snapshots available to you.
         
     | 
| 
       23736 
24313 
     | 
    
         
             
                #
         
     | 
| 
       23737 
24314 
     | 
    
         
             
                # The snapshots available to you include public snapshots, private
         
     | 
| 
       23738 
     | 
    
         
            -
                # snapshots that you own, and private snapshots owned by other  
     | 
| 
       23739 
     | 
    
         
            -
                #  
     | 
| 
      
 24315 
     | 
    
         
            +
                # snapshots that you own, and private snapshots owned by other accounts
         
     | 
| 
      
 24316 
     | 
    
         
            +
                # for which you have explicit create volume permissions.
         
     | 
| 
       23740 
24317 
     | 
    
         
             
                #
         
     | 
| 
       23741 
24318 
     | 
    
         
             
                # The create volume permissions fall into the following categories:
         
     | 
| 
       23742 
24319 
     | 
    
         
             
                #
         
     | 
| 
       23743 
24320 
     | 
    
         
             
                # * *public*\: The owner of the snapshot granted create volume
         
     | 
| 
       23744 
     | 
    
         
            -
                #   permissions for the snapshot to the `all` group. All  
     | 
| 
       23745 
     | 
    
         
            -
                #    
     | 
| 
      
 24321 
     | 
    
         
            +
                #   permissions for the snapshot to the `all` group. All accounts have
         
     | 
| 
      
 24322 
     | 
    
         
            +
                #   create volume permissions for these snapshots.
         
     | 
| 
       23746 
24323 
     | 
    
         
             
                #
         
     | 
| 
       23747 
24324 
     | 
    
         
             
                # * *explicit*\: The owner of the snapshot granted create volume
         
     | 
| 
       23748 
     | 
    
         
            -
                #   permissions to a specific  
     | 
| 
      
 24325 
     | 
    
         
            +
                #   permissions to a specific account.
         
     | 
| 
       23749 
24326 
     | 
    
         
             
                #
         
     | 
| 
       23750 
     | 
    
         
            -
                # * *implicit*\: An  
     | 
| 
       23751 
     | 
    
         
            -
                #    
     | 
| 
      
 24327 
     | 
    
         
            +
                # * *implicit*\: An account has implicit create volume permissions for
         
     | 
| 
      
 24328 
     | 
    
         
            +
                #   all snapshots it owns.
         
     | 
| 
       23752 
24329 
     | 
    
         
             
                #
         
     | 
| 
       23753 
24330 
     | 
    
         
             
                # The list of snapshots returned can be filtered by specifying snapshot
         
     | 
| 
       23754 
     | 
    
         
            -
                # IDs, snapshot owners, or  
     | 
| 
       23755 
     | 
    
         
            -
                #  
     | 
| 
       23756 
     | 
    
         
            -
                #  
     | 
| 
      
 24331 
     | 
    
         
            +
                # IDs, snapshot owners, or accounts with create volume permissions. If
         
     | 
| 
      
 24332 
     | 
    
         
            +
                # no options are specified, Amazon EC2 returns all snapshots for which
         
     | 
| 
      
 24333 
     | 
    
         
            +
                # you have create volume permissions.
         
     | 
| 
       23757 
24334 
     | 
    
         
             
                #
         
     | 
| 
       23758 
24335 
     | 
    
         
             
                # If you specify one or more snapshot IDs, only snapshots that have the
         
     | 
| 
       23759 
24336 
     | 
    
         
             
                # specified IDs are returned. If you specify an invalid snapshot ID, an
         
     | 
| 
         @@ -23762,12 +24339,12 @@ module Aws::EC2 
     | 
|
| 
       23762 
24339 
     | 
    
         
             
                #
         
     | 
| 
       23763 
24340 
     | 
    
         
             
                # If you specify one or more snapshot owners using the `OwnerIds`
         
     | 
| 
       23764 
24341 
     | 
    
         
             
                # option, only snapshots from the specified owners and for which you
         
     | 
| 
       23765 
     | 
    
         
            -
                # have access are returned. The results can include the  
     | 
| 
       23766 
     | 
    
         
            -
                #  
     | 
| 
      
 24342 
     | 
    
         
            +
                # have access are returned. The results can include the account IDs of
         
     | 
| 
      
 24343 
     | 
    
         
            +
                # the specified owners, `amazon` for snapshots owned by Amazon, or
         
     | 
| 
       23767 
24344 
     | 
    
         
             
                # `self` for snapshots that you own.
         
     | 
| 
       23768 
24345 
     | 
    
         
             
                #
         
     | 
| 
       23769 
24346 
     | 
    
         
             
                # If you specify a list of restorable users, only snapshots with create
         
     | 
| 
       23770 
     | 
    
         
            -
                # snapshot permissions for those users are returned. You can specify 
     | 
| 
      
 24347 
     | 
    
         
            +
                # snapshot permissions for those users are returned. You can specify
         
     | 
| 
       23771 
24348 
     | 
    
         
             
                # account IDs (if you own the snapshots), `self` for snapshots for which
         
     | 
| 
       23772 
24349 
     | 
    
         
             
                # you own or have explicit permissions, or `all` for public snapshots.
         
     | 
| 
       23773 
24350 
     | 
    
         
             
                #
         
     | 
| 
         @@ -23798,12 +24375,12 @@ module Aws::EC2 
     | 
|
| 
       23798 
24375 
     | 
    
         
             
                #     `false`)
         
     | 
| 
       23799 
24376 
     | 
    
         
             
                #
         
     | 
| 
       23800 
24377 
     | 
    
         
             
                #   * `owner-alias` - The owner alias, from an Amazon-maintained list
         
     | 
| 
       23801 
     | 
    
         
            -
                #     (`amazon`). This is not the user-configured  
     | 
| 
       23802 
     | 
    
         
            -
                #      
     | 
| 
       23803 
     | 
    
         
            -
                #      
     | 
| 
      
 24378 
     | 
    
         
            +
                #     (`amazon`). This is not the user-configured account alias set using
         
     | 
| 
      
 24379 
     | 
    
         
            +
                #     the IAM console. We recommend that you use the related parameter
         
     | 
| 
      
 24380 
     | 
    
         
            +
                #     instead of this filter.
         
     | 
| 
       23804 
24381 
     | 
    
         
             
                #
         
     | 
| 
       23805 
     | 
    
         
            -
                #   * `owner-id` - The  
     | 
| 
       23806 
     | 
    
         
            -
                #      
     | 
| 
      
 24382 
     | 
    
         
            +
                #   * `owner-id` - The account ID of the owner. We recommend that you use
         
     | 
| 
      
 24383 
     | 
    
         
            +
                #     the related parameter instead of this filter.
         
     | 
| 
       23807 
24384 
     | 
    
         
             
                #
         
     | 
| 
       23808 
24385 
     | 
    
         
             
                #   * `progress` - The progress of the snapshot, as a percentage (for
         
     | 
| 
       23809 
24386 
     | 
    
         
             
                #     example, 80%).
         
     | 
| 
         @@ -23850,10 +24427,10 @@ module Aws::EC2 
     | 
|
| 
       23850 
24427 
     | 
    
         
             
                #
         
     | 
| 
       23851 
24428 
     | 
    
         
             
                # @option params [Array<String>] :owner_ids
         
     | 
| 
       23852 
24429 
     | 
    
         
             
                #   Scopes the results to snapshots with the specified owners. You can
         
     | 
| 
       23853 
     | 
    
         
            -
                #   specify a combination of  
     | 
| 
      
 24430 
     | 
    
         
            +
                #   specify a combination of account IDs, `self`, and `amazon`.
         
     | 
| 
       23854 
24431 
     | 
    
         
             
                #
         
     | 
| 
       23855 
24432 
     | 
    
         
             
                # @option params [Array<String>] :restorable_by_user_ids
         
     | 
| 
       23856 
     | 
    
         
            -
                #   The IDs of the  
     | 
| 
      
 24433 
     | 
    
         
            +
                #   The IDs of the accounts that can create volumes from the snapshot.
         
     | 
| 
       23857 
24434 
     | 
    
         
             
                #
         
     | 
| 
       23858 
24435 
     | 
    
         
             
                # @option params [Array<String>] :snapshot_ids
         
     | 
| 
       23859 
24436 
     | 
    
         
             
                #   The snapshot IDs.
         
     | 
| 
         @@ -24412,7 +24989,7 @@ module Aws::EC2 
     | 
|
| 
       24412 
24989 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].user_data #=> String
         
     | 
| 
       24413 
24990 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].weighted_capacity #=> Float
         
     | 
| 
       24414 
24991 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications #=> Array
         
     | 
| 
       24415 
     | 
    
         
            -
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "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- 
     | 
| 
      
 24992 
     | 
    
         
            +
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].resource_type #=> String, one of "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"
         
     | 
| 
       24416 
24993 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags #=> Array
         
     | 
| 
       24417 
24994 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].key #=> String
         
     | 
| 
       24418 
24995 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].tag_specifications[0].tags[0].value #=> String
         
     | 
| 
         @@ -24445,7 +25022,7 @@ module Aws::EC2 
     | 
|
| 
       24445 
25022 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
         
     | 
| 
       24446 
25023 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.context #=> String
         
     | 
| 
       24447 
25024 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
         
     | 
| 
       24448 
     | 
    
         
            -
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "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- 
     | 
| 
      
 25025 
     | 
    
         
            +
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].resource_type #=> String, one of "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"
         
     | 
| 
       24449 
25026 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
         
     | 
| 
       24450 
25027 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
         
     | 
| 
       24451 
25028 
     | 
    
         
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
         
     | 
| 
         @@ -25415,7 +25992,7 @@ module Aws::EC2 
     | 
|
| 
       25415 
25992 
     | 
    
         
             
                #   resp.tags #=> Array
         
     | 
| 
       25416 
25993 
     | 
    
         
             
                #   resp.tags[0].key #=> String
         
     | 
| 
       25417 
25994 
     | 
    
         
             
                #   resp.tags[0].resource_id #=> String
         
     | 
| 
       25418 
     | 
    
         
            -
                #   resp.tags[0].resource_type #=> String, one of "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- 
     | 
| 
      
 25995 
     | 
    
         
            +
                #   resp.tags[0].resource_type #=> String, one of "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"
         
     | 
| 
       25419 
25996 
     | 
    
         
             
                #   resp.tags[0].value #=> String
         
     | 
| 
       25420 
25997 
     | 
    
         
             
                #
         
     | 
| 
       25421 
25998 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags AWS API Documentation
         
     | 
| 
         @@ -26579,8 +27156,8 @@ module Aws::EC2 
     | 
|
| 
       26579 
27156 
     | 
    
         
             
                # check fails, the overall status is `impaired`. If the status is
         
     | 
| 
       26580 
27157 
     | 
    
         
             
                # `insufficient-data`, then the checks might still be taking place on
         
     | 
| 
       26581 
27158 
     | 
    
         
             
                # your volume at the time. We recommend that you retry the request. For
         
     | 
| 
       26582 
     | 
    
         
            -
                # more information about volume status, see [ 
     | 
| 
       26583 
     | 
    
         
            -
                #  
     | 
| 
      
 27159 
     | 
    
         
            +
                # more information about volume status, see [Monitor the status of your
         
     | 
| 
      
 27160 
     | 
    
         
            +
                # volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       26584 
27161 
     | 
    
         
             
                #
         
     | 
| 
       26585 
27162 
     | 
    
         
             
                # *Events*\: Reflect the cause of a volume status and might require you
         
     | 
| 
       26586 
27163 
     | 
    
         
             
                # to take action. For example, if your volume returns an `impaired`
         
     | 
| 
         @@ -27045,13 +27622,13 @@ module Aws::EC2 
     | 
|
| 
       27045 
27622 
     | 
    
         
             
                # You can also use CloudWatch Events to check the status of a
         
     | 
| 
       27046 
27623 
     | 
    
         
             
                # modification to an EBS volume. For information about CloudWatch
         
     | 
| 
       27047 
27624 
     | 
    
         
             
                # Events, see the [Amazon CloudWatch Events User Guide][1]. For more
         
     | 
| 
       27048 
     | 
    
         
            -
                # information, see [ 
     | 
| 
       27049 
     | 
    
         
            -
                # Elastic Compute Cloud User Guide*.
         
     | 
| 
      
 27625 
     | 
    
         
            +
                # information, see [Monitor the progress of volume modifications][2] in
         
     | 
| 
      
 27626 
     | 
    
         
            +
                # the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       27050 
27627 
     | 
    
         
             
                #
         
     | 
| 
       27051 
27628 
     | 
    
         
             
                #
         
     | 
| 
       27052 
27629 
     | 
    
         
             
                #
         
     | 
| 
       27053 
27630 
     | 
    
         
             
                # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
         
     | 
| 
       27054 
     | 
    
         
            -
                # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ 
     | 
| 
      
 27631 
     | 
    
         
            +
                # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
         
     | 
| 
       27055 
27632 
     | 
    
         
             
                #
         
     | 
| 
       27056 
27633 
     | 
    
         
             
                # @option params [Boolean] :dry_run
         
     | 
| 
       27057 
27634 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
         @@ -28601,10 +29178,10 @@ module Aws::EC2 
     | 
|
| 
       28601 
29178 
     | 
    
         
             
                # root device of an instance, it can't be detached while the instance
         
     | 
| 
       28602 
29179 
     | 
    
         
             
                # is running. To detach the root volume, stop the instance first.
         
     | 
| 
       28603 
29180 
     | 
    
         
             
                #
         
     | 
| 
       28604 
     | 
    
         
            -
                # When a volume with an  
     | 
| 
      
 29181 
     | 
    
         
            +
                # When a volume with an Marketplace product code is detached from an
         
     | 
| 
       28605 
29182 
     | 
    
         
             
                # instance, the product code is no longer associated with the instance.
         
     | 
| 
       28606 
29183 
     | 
    
         
             
                #
         
     | 
| 
       28607 
     | 
    
         
            -
                # For more information, see [ 
     | 
| 
      
 29184 
     | 
    
         
            +
                # For more information, see [Detach an Amazon EBS volume][1] in the
         
     | 
| 
       28608 
29185 
     | 
    
         
             
                # *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       28609 
29186 
     | 
    
         
             
                #
         
     | 
| 
       28610 
29187 
     | 
    
         
             
                #
         
     | 
| 
         @@ -29194,14 +29771,13 @@ module Aws::EC2 
     | 
|
| 
       29194 
29771 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       29195 
29772 
     | 
    
         
             
                end
         
     | 
| 
       29196 
29773 
     | 
    
         | 
| 
       29197 
     | 
    
         
            -
                # Disassociates an IAM role from an  
     | 
| 
      
 29774 
     | 
    
         
            +
                # Disassociates an IAM role from an Certificate Manager (ACM)
         
     | 
| 
       29198 
29775 
     | 
    
         
             
                # certificate. Disassociating an IAM role from an ACM certificate
         
     | 
| 
       29199 
29776 
     | 
    
         
             
                # removes the Amazon S3 object that contains the certificate,
         
     | 
| 
       29200 
29777 
     | 
    
         
             
                # certificate chain, and encrypted private key from the Amazon S3
         
     | 
| 
       29201 
     | 
    
         
            -
                # bucket. It also revokes the IAM role's permission to use the  
     | 
| 
       29202 
     | 
    
         
            -
                #  
     | 
| 
       29203 
     | 
    
         
            -
                #  
     | 
| 
       29204 
     | 
    
         
            -
                # the certificate.
         
     | 
| 
      
 29778 
     | 
    
         
            +
                # bucket. It also revokes the IAM role's permission to use the KMS key
         
     | 
| 
      
 29779 
     | 
    
         
            +
                # used to encrypt the private key. This effectively revokes the role's
         
     | 
| 
      
 29780 
     | 
    
         
            +
                # permission to use the certificate.
         
     | 
| 
       29205 
29781 
     | 
    
         
             
                #
         
     | 
| 
       29206 
29782 
     | 
    
         
             
                # @option params [String] :certificate_arn
         
     | 
| 
       29207 
29783 
     | 
    
         
             
                #   The ARN of the ACM certificate from which to disassociate the IAM
         
     | 
| 
         @@ -29299,6 +29875,79 @@ module Aws::EC2 
     | 
|
| 
       29299 
29875 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       29300 
29876 
     | 
    
         
             
                end
         
     | 
| 
       29301 
29877 
     | 
    
         | 
| 
      
 29878 
     | 
    
         
            +
                # Disassociates one or more targets from an event window.
         
     | 
| 
      
 29879 
     | 
    
         
            +
                #
         
     | 
| 
      
 29880 
     | 
    
         
            +
                # For more information, see [Define event windows for scheduled
         
     | 
| 
      
 29881 
     | 
    
         
            +
                # events][1] in the *Amazon EC2 User Guide*.
         
     | 
| 
      
 29882 
     | 
    
         
            +
                #
         
     | 
| 
      
 29883 
     | 
    
         
            +
                #
         
     | 
| 
      
 29884 
     | 
    
         
            +
                #
         
     | 
| 
      
 29885 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
         
     | 
| 
      
 29886 
     | 
    
         
            +
                #
         
     | 
| 
      
 29887 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 29888 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 29889 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 29890 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 29891 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 29892 
     | 
    
         
            +
                #
         
     | 
| 
      
 29893 
     | 
    
         
            +
                # @option params [required, String] :instance_event_window_id
         
     | 
| 
      
 29894 
     | 
    
         
            +
                #   The ID of the event window.
         
     | 
| 
      
 29895 
     | 
    
         
            +
                #
         
     | 
| 
      
 29896 
     | 
    
         
            +
                # @option params [required, Types::InstanceEventWindowDisassociationRequest] :association_target
         
     | 
| 
      
 29897 
     | 
    
         
            +
                #   One or more targets to disassociate from the specified event window.
         
     | 
| 
      
 29898 
     | 
    
         
            +
                #
         
     | 
| 
      
 29899 
     | 
    
         
            +
                # @return [Types::DisassociateInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 29900 
     | 
    
         
            +
                #
         
     | 
| 
      
 29901 
     | 
    
         
            +
                #   * {Types::DisassociateInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
         
     | 
| 
      
 29902 
     | 
    
         
            +
                #
         
     | 
| 
      
 29903 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 29904 
     | 
    
         
            +
                #
         
     | 
| 
      
 29905 
     | 
    
         
            +
                #   resp = client.disassociate_instance_event_window({
         
     | 
| 
      
 29906 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 29907 
     | 
    
         
            +
                #     instance_event_window_id: "InstanceEventWindowId", # required
         
     | 
| 
      
 29908 
     | 
    
         
            +
                #     association_target: { # required
         
     | 
| 
      
 29909 
     | 
    
         
            +
                #       instance_ids: ["InstanceId"],
         
     | 
| 
      
 29910 
     | 
    
         
            +
                #       instance_tags: [
         
     | 
| 
      
 29911 
     | 
    
         
            +
                #         {
         
     | 
| 
      
 29912 
     | 
    
         
            +
                #           key: "String",
         
     | 
| 
      
 29913 
     | 
    
         
            +
                #           value: "String",
         
     | 
| 
      
 29914 
     | 
    
         
            +
                #         },
         
     | 
| 
      
 29915 
     | 
    
         
            +
                #       ],
         
     | 
| 
      
 29916 
     | 
    
         
            +
                #       dedicated_host_ids: ["DedicatedHostId"],
         
     | 
| 
      
 29917 
     | 
    
         
            +
                #     },
         
     | 
| 
      
 29918 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 29919 
     | 
    
         
            +
                #
         
     | 
| 
      
 29920 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 29921 
     | 
    
         
            +
                #
         
     | 
| 
      
 29922 
     | 
    
         
            +
                #   resp.instance_event_window.instance_event_window_id #=> String
         
     | 
| 
      
 29923 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges #=> Array
         
     | 
| 
      
 29924 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 29925 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_hour #=> Integer
         
     | 
| 
      
 29926 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 29927 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_hour #=> Integer
         
     | 
| 
      
 29928 
     | 
    
         
            +
                #   resp.instance_event_window.name #=> String
         
     | 
| 
      
 29929 
     | 
    
         
            +
                #   resp.instance_event_window.cron_expression #=> String
         
     | 
| 
      
 29930 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids #=> Array
         
     | 
| 
      
 29931 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids[0] #=> String
         
     | 
| 
      
 29932 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags #=> Array
         
     | 
| 
      
 29933 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].key #=> String
         
     | 
| 
      
 29934 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].value #=> String
         
     | 
| 
      
 29935 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids #=> Array
         
     | 
| 
      
 29936 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
         
     | 
| 
      
 29937 
     | 
    
         
            +
                #   resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
         
     | 
| 
      
 29938 
     | 
    
         
            +
                #   resp.instance_event_window.tags #=> Array
         
     | 
| 
      
 29939 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].key #=> String
         
     | 
| 
      
 29940 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].value #=> String
         
     | 
| 
      
 29941 
     | 
    
         
            +
                #
         
     | 
| 
      
 29942 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateInstanceEventWindow AWS API Documentation
         
     | 
| 
      
 29943 
     | 
    
         
            +
                #
         
     | 
| 
      
 29944 
     | 
    
         
            +
                # @overload disassociate_instance_event_window(params = {})
         
     | 
| 
      
 29945 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 29946 
     | 
    
         
            +
                def disassociate_instance_event_window(params = {}, options = {})
         
     | 
| 
      
 29947 
     | 
    
         
            +
                  req = build_request(:disassociate_instance_event_window, params)
         
     | 
| 
      
 29948 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 29949 
     | 
    
         
            +
                end
         
     | 
| 
      
 29950 
     | 
    
         
            +
             
     | 
| 
       29302 
29951 
     | 
    
         
             
                # Disassociates a subnet or gateway from a route table.
         
     | 
| 
       29303 
29952 
     | 
    
         
             
                #
         
     | 
| 
       29304 
29953 
     | 
    
         
             
                # After you perform this action, the subnet no longer uses the routes in
         
     | 
| 
         @@ -29580,12 +30229,12 @@ module Aws::EC2 
     | 
|
| 
       29580 
30229 
     | 
    
         
             
                # Region.
         
     | 
| 
       29581 
30230 
     | 
    
         
             
                #
         
     | 
| 
       29582 
30231 
     | 
    
         
             
                # After you enable encryption by default, the EBS volumes that you
         
     | 
| 
       29583 
     | 
    
         
            -
                # create are always encrypted, either using the default  
     | 
| 
       29584 
     | 
    
         
            -
                # that you specified when you created each volume. For more 
     | 
| 
       29585 
     | 
    
         
            -
                # see [Amazon EBS encryption][1] in the *Amazon Elastic 
     | 
| 
       29586 
     | 
    
         
            -
                # User Guide*.
         
     | 
| 
      
 30232 
     | 
    
         
            +
                # create are always encrypted, either using the default KMS key or the
         
     | 
| 
      
 30233 
     | 
    
         
            +
                # KMS key that you specified when you created each volume. For more
         
     | 
| 
      
 30234 
     | 
    
         
            +
                # information, see [Amazon EBS encryption][1] in the *Amazon Elastic
         
     | 
| 
      
 30235 
     | 
    
         
            +
                # Compute Cloud User Guide*.
         
     | 
| 
       29587 
30236 
     | 
    
         
             
                #
         
     | 
| 
       29588 
     | 
    
         
            -
                # You can specify the default  
     | 
| 
      
 30237 
     | 
    
         
            +
                # You can specify the default KMS key for encryption by default using
         
     | 
| 
       29589 
30238 
     | 
    
         
             
                # ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
         
     | 
| 
       29590 
30239 
     | 
    
         
             
                #
         
     | 
| 
       29591 
30240 
     | 
    
         
             
                # Enabling encryption by default has no effect on the encryption status
         
     | 
| 
         @@ -29650,7 +30299,7 @@ module Aws::EC2 
     | 
|
| 
       29650 
30299 
     | 
    
         
             
                # @option params [required, Array<String>] :source_snapshot_ids
         
     | 
| 
       29651 
30300 
     | 
    
         
             
                #   The IDs of one or more snapshots. For example,
         
     | 
| 
       29652 
30301 
     | 
    
         
             
                #   `snap-1234567890abcdef0`. You can specify a snapshot that was shared
         
     | 
| 
       29653 
     | 
    
         
            -
                #   with you from another  
     | 
| 
      
 30302 
     | 
    
         
            +
                #   with you from another account.
         
     | 
| 
       29654 
30303 
     | 
    
         
             
                #
         
     | 
| 
       29655 
30304 
     | 
    
         
             
                # @option params [Boolean] :dry_run
         
     | 
| 
       29656 
30305 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
         @@ -30156,7 +30805,7 @@ module Aws::EC2 
     | 
|
| 
       30156 
30805 
     | 
    
         
             
                #     role_name: "String",
         
     | 
| 
       30157 
30806 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       30158 
30807 
     | 
    
         
             
                #       {
         
     | 
| 
       30159 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 30808 
     | 
    
         
            +
                #         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
         
     | 
| 
       30160 
30809 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       30161 
30810 
     | 
    
         
             
                #           {
         
     | 
| 
       30162 
30811 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -30277,12 +30926,11 @@ module Aws::EC2 
     | 
|
| 
       30277 
30926 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       30278 
30927 
     | 
    
         
             
                end
         
     | 
| 
       30279 
30928 
     | 
    
         | 
| 
       30280 
     | 
    
         
            -
                # Returns the IAM roles that are associated with the specified  
     | 
| 
       30281 
     | 
    
         
            -
                #  
     | 
| 
       30282 
     | 
    
         
            -
                # Amazon S3  
     | 
| 
       30283 
     | 
    
         
            -
                #  
     | 
| 
       30284 
     | 
    
         
            -
                #  
     | 
| 
       30285 
     | 
    
         
            -
                # (CMK) that's used to encrypt the private key.
         
     | 
| 
      
 30929 
     | 
    
         
            +
                # Returns the IAM roles that are associated with the specified ACM (ACM)
         
     | 
| 
      
 30930 
     | 
    
         
            +
                # certificate. It also returns the name of the Amazon S3 bucket and the
         
     | 
| 
      
 30931 
     | 
    
         
            +
                # Amazon S3 object key where the certificate, certificate chain, and
         
     | 
| 
      
 30932 
     | 
    
         
            +
                # encrypted private key bundle are stored, and the ARN of the KMS key
         
     | 
| 
      
 30933 
     | 
    
         
            +
                # that's used to encrypt the private key.
         
     | 
| 
       30286 
30934 
     | 
    
         
             
                #
         
     | 
| 
       30287 
30935 
     | 
    
         
             
                # @option params [String] :certificate_arn
         
     | 
| 
       30288 
30936 
     | 
    
         
             
                #   The ARN of the ACM certificate for which to view the associated IAM
         
     | 
| 
         @@ -30694,9 +31342,9 @@ module Aws::EC2 
     | 
|
| 
       30694 
31342 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       30695 
31343 
     | 
    
         
             
                end
         
     | 
| 
       30696 
31344 
     | 
    
         | 
| 
       30697 
     | 
    
         
            -
                # Describes the default  
     | 
| 
       30698 
     | 
    
         
            -
                #  
     | 
| 
       30699 
     | 
    
         
            -
                #  
     | 
| 
      
 31345 
     | 
    
         
            +
                # Describes the default KMS key for EBS encryption by default for your
         
     | 
| 
      
 31346 
     | 
    
         
            +
                # account in this Region. You can change the default KMS key for
         
     | 
| 
      
 31347 
     | 
    
         
            +
                # encryption by default using ModifyEbsDefaultKmsKeyId or
         
     | 
| 
       30700 
31348 
     | 
    
         
             
                # ResetEbsDefaultKmsKeyId.
         
     | 
| 
       30701 
31349 
     | 
    
         
             
                #
         
     | 
| 
       30702 
31350 
     | 
    
         
             
                # For more information, see [Amazon EBS encryption][1] in the *Amazon
         
     | 
| 
         @@ -31095,7 +31743,7 @@ module Aws::EC2 
     | 
|
| 
       31095 
31743 
     | 
    
         
             
                #   resp.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
         
     | 
| 
       31096 
31744 
     | 
    
         
             
                #   resp.launch_template_data.user_data #=> String
         
     | 
| 
       31097 
31745 
     | 
    
         
             
                #   resp.launch_template_data.tag_specifications #=> Array
         
     | 
| 
       31098 
     | 
    
         
            -
                #   resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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- 
     | 
| 
      
 31746 
     | 
    
         
            +
                #   resp.launch_template_data.tag_specifications[0].resource_type #=> String, one of "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"
         
     | 
| 
       31099 
31747 
     | 
    
         
             
                #   resp.launch_template_data.tag_specifications[0].tags #=> Array
         
     | 
| 
       31100 
31748 
     | 
    
         
             
                #   resp.launch_template_data.tag_specifications[0].tags[0].key #=> String
         
     | 
| 
       31101 
31749 
     | 
    
         
             
                #   resp.launch_template_data.tag_specifications[0].tags[0].value #=> String
         
     | 
| 
         @@ -32029,7 +32677,7 @@ module Aws::EC2 
     | 
|
| 
       32029 
32677 
     | 
    
         
             
                #     ],
         
     | 
| 
       32030 
32678 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       32031 
32679 
     | 
    
         
             
                #       {
         
     | 
| 
       32032 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 32680 
     | 
    
         
            +
                #         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
         
     | 
| 
       32033 
32681 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       32034 
32682 
     | 
    
         
             
                #           {
         
     | 
| 
       32035 
32683 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -32211,11 +32859,12 @@ module Aws::EC2 
     | 
|
| 
       32211 
32859 
     | 
    
         
             
                end
         
     | 
| 
       32212 
32860 
     | 
    
         | 
| 
       32213 
32861 
     | 
    
         
             
                # Imports the public key from an RSA key pair that you created with a
         
     | 
| 
       32214 
     | 
    
         
            -
                # third-party tool. Compare this with CreateKeyPair, in which  
     | 
| 
       32215 
     | 
    
         
            -
                # creates the key pair and gives the keys to you ( 
     | 
| 
       32216 
     | 
    
         
            -
                # the public key). With ImportKeyPair, you 
     | 
| 
       32217 
     | 
    
         
            -
                #  
     | 
| 
       32218 
     | 
    
         
            -
                # you and  
     | 
| 
      
 32862 
     | 
    
         
            +
                # third-party tool. Compare this with CreateKeyPair, in which Amazon Web
         
     | 
| 
      
 32863 
     | 
    
         
            +
                # Services creates the key pair and gives the keys to you (Amazon Web
         
     | 
| 
      
 32864 
     | 
    
         
            +
                # Services keeps a copy of the public key). With ImportKeyPair, you
         
     | 
| 
      
 32865 
     | 
    
         
            +
                # create the key pair and give Amazon Web Services just the public key.
         
     | 
| 
      
 32866 
     | 
    
         
            +
                # The private key is never transferred between you and Amazon Web
         
     | 
| 
      
 32867 
     | 
    
         
            +
                # Services.
         
     | 
| 
       32219 
32868 
     | 
    
         
             
                #
         
     | 
| 
       32220 
32869 
     | 
    
         
             
                # For more information about key pairs, see [Key Pairs][1] in the
         
     | 
| 
       32221 
32870 
     | 
    
         
             
                # *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
         @@ -32255,7 +32904,7 @@ module Aws::EC2 
     | 
|
| 
       32255 
32904 
     | 
    
         
             
                #     public_key_material: "data", # required
         
     | 
| 
       32256 
32905 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       32257 
32906 
     | 
    
         
             
                #       {
         
     | 
| 
       32258 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 32907 
     | 
    
         
            +
                #         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
         
     | 
| 
       32259 
32908 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       32260 
32909 
     | 
    
         
             
                #           {
         
     | 
| 
       32261 
32910 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -32398,7 +33047,7 @@ module Aws::EC2 
     | 
|
| 
       32398 
33047 
     | 
    
         
             
                #     role_name: "String",
         
     | 
| 
       32399 
33048 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       32400 
33049 
     | 
    
         
             
                #       {
         
     | 
| 
       32401 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 33050 
     | 
    
         
            +
                #         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
         
     | 
| 
       32402 
33051 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       32403 
33052 
     | 
    
         
             
                #           {
         
     | 
| 
       32404 
33053 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -32898,18 +33547,20 @@ module Aws::EC2 
     | 
|
| 
       32898 
33547 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       32899 
33548 
     | 
    
         
             
                end
         
     | 
| 
       32900 
33549 
     | 
    
         | 
| 
       32901 
     | 
    
         
            -
                # Changes the default  
     | 
| 
       32902 
     | 
    
         
            -
                #  
     | 
| 
      
 33550 
     | 
    
         
            +
                # Changes the default KMS key for EBS encryption by default for your
         
     | 
| 
      
 33551 
     | 
    
         
            +
                # account in this Region.
         
     | 
| 
       32903 
33552 
     | 
    
         
             
                #
         
     | 
| 
       32904 
     | 
    
         
            -
                #  
     | 
| 
       32905 
     | 
    
         
            -
                # encryption by default. If you change 
     | 
| 
       32906 
     | 
    
         
            -
                #  
     | 
| 
       32907 
     | 
    
         
            -
                #  
     | 
| 
       32908 
     | 
    
         
            -
                #  
     | 
| 
      
 33553 
     | 
    
         
            +
                # Amazon Web Services creates a unique Amazon Web Services managed KMS
         
     | 
| 
      
 33554 
     | 
    
         
            +
                # key in each Region for use with encryption by default. If you change
         
     | 
| 
      
 33555 
     | 
    
         
            +
                # the default KMS key to a symmetric customer managed KMS key, it is
         
     | 
| 
      
 33556 
     | 
    
         
            +
                # used instead of the Amazon Web Services managed KMS key. To reset the
         
     | 
| 
      
 33557 
     | 
    
         
            +
                # default KMS key to the Amazon Web Services managed KMS key for EBS,
         
     | 
| 
      
 33558 
     | 
    
         
            +
                # use ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric
         
     | 
| 
      
 33559 
     | 
    
         
            +
                # KMS keys.
         
     | 
| 
       32909 
33560 
     | 
    
         
             
                #
         
     | 
| 
       32910 
     | 
    
         
            -
                # If you delete or disable the customer managed  
     | 
| 
       32911 
     | 
    
         
            -
                # for use with encryption by default, your instances will fail 
     | 
| 
       32912 
     | 
    
         
            -
                # launch.
         
     | 
| 
      
 33561 
     | 
    
         
            +
                # If you delete or disable the customer managed KMS key that you
         
     | 
| 
      
 33562 
     | 
    
         
            +
                # specified for use with encryption by default, your instances will fail
         
     | 
| 
      
 33563 
     | 
    
         
            +
                # to launch.
         
     | 
| 
       32913 
33564 
     | 
    
         
             
                #
         
     | 
| 
       32914 
33565 
     | 
    
         
             
                # For more information, see [Amazon EBS encryption][1] in the *Amazon
         
     | 
| 
       32915 
33566 
     | 
    
         
             
                # Elastic Compute Cloud User Guide*.
         
     | 
| 
         @@ -32919,12 +33570,12 @@ module Aws::EC2 
     | 
|
| 
       32919 
33570 
     | 
    
         
             
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
         
     | 
| 
       32920 
33571 
     | 
    
         
             
                #
         
     | 
| 
       32921 
33572 
     | 
    
         
             
                # @option params [required, String] :kms_key_id
         
     | 
| 
       32922 
     | 
    
         
            -
                #   The identifier of the  
     | 
| 
       32923 
     | 
    
         
            -
                #    
     | 
| 
       32924 
     | 
    
         
            -
                #    
     | 
| 
       32925 
     | 
    
         
            -
                #    
     | 
| 
      
 33573 
     | 
    
         
            +
                #   The identifier of the Key Management Service (KMS) KMS key to use for
         
     | 
| 
      
 33574 
     | 
    
         
            +
                #   Amazon EBS encryption. If this parameter is not specified, your KMS
         
     | 
| 
      
 33575 
     | 
    
         
            +
                #   key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
         
     | 
| 
      
 33576 
     | 
    
         
            +
                #   state must be `true`.
         
     | 
| 
       32926 
33577 
     | 
    
         
             
                #
         
     | 
| 
       32927 
     | 
    
         
            -
                #   You can specify the  
     | 
| 
      
 33578 
     | 
    
         
            +
                #   You can specify the KMS key using any of the following:
         
     | 
| 
       32928 
33579 
     | 
    
         
             
                #
         
     | 
| 
       32929 
33580 
     | 
    
         
             
                #   * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
         
     | 
| 
       32930 
33581 
     | 
    
         
             
                #
         
     | 
| 
         @@ -32936,11 +33587,11 @@ module Aws::EC2 
     | 
|
| 
       32936 
33587 
     | 
    
         
             
                #   * Alias ARN. For example,
         
     | 
| 
       32937 
33588 
     | 
    
         
             
                #     arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
         
     | 
| 
       32938 
33589 
     | 
    
         
             
                #
         
     | 
| 
       32939 
     | 
    
         
            -
                #    
     | 
| 
       32940 
     | 
    
         
            -
                #   ID, alias, or ARN that is not valid, the 
     | 
| 
       32941 
     | 
    
         
            -
                #   complete, but eventually fails.
         
     | 
| 
      
 33590 
     | 
    
         
            +
                #   Amazon Web Services authenticates the KMS key asynchronously.
         
     | 
| 
      
 33591 
     | 
    
         
            +
                #   Therefore, if you specify an ID, alias, or ARN that is not valid, the
         
     | 
| 
      
 33592 
     | 
    
         
            +
                #   action can appear to complete, but eventually fails.
         
     | 
| 
       32942 
33593 
     | 
    
         
             
                #
         
     | 
| 
       32943 
     | 
    
         
            -
                #   Amazon EBS does not support asymmetric  
     | 
| 
      
 33594 
     | 
    
         
            +
                #   Amazon EBS does not support asymmetric KMS keys.
         
     | 
| 
       32944 
33595 
     | 
    
         
             
                #
         
     | 
| 
       32945 
33596 
     | 
    
         
             
                # @option params [Boolean] :dry_run
         
     | 
| 
       32946 
33597 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
         @@ -33916,6 +34567,120 @@ module Aws::EC2 
     | 
|
| 
       33916 
34567 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       33917 
34568 
     | 
    
         
             
                end
         
     | 
| 
       33918 
34569 
     | 
    
         | 
| 
      
 34570 
     | 
    
         
            +
                # Modifies the specified event window.
         
     | 
| 
      
 34571 
     | 
    
         
            +
                #
         
     | 
| 
      
 34572 
     | 
    
         
            +
                # You can define either a set of time ranges or a cron expression when
         
     | 
| 
      
 34573 
     | 
    
         
            +
                # modifying the event window, but not both.
         
     | 
| 
      
 34574 
     | 
    
         
            +
                #
         
     | 
| 
      
 34575 
     | 
    
         
            +
                # To modify the targets associated with the event window, use the
         
     | 
| 
      
 34576 
     | 
    
         
            +
                # AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.
         
     | 
| 
      
 34577 
     | 
    
         
            +
                #
         
     | 
| 
      
 34578 
     | 
    
         
            +
                # If Amazon Web Services has already scheduled an event, modifying an
         
     | 
| 
      
 34579 
     | 
    
         
            +
                # event window won't change the time of the scheduled event.
         
     | 
| 
      
 34580 
     | 
    
         
            +
                #
         
     | 
| 
      
 34581 
     | 
    
         
            +
                # For more information, see [Define event windows for scheduled
         
     | 
| 
      
 34582 
     | 
    
         
            +
                # events][1] in the *Amazon EC2 User Guide*.
         
     | 
| 
      
 34583 
     | 
    
         
            +
                #
         
     | 
| 
      
 34584 
     | 
    
         
            +
                #
         
     | 
| 
      
 34585 
     | 
    
         
            +
                #
         
     | 
| 
      
 34586 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/monitoring-instances-status-check_sched.html#event-windows
         
     | 
| 
      
 34587 
     | 
    
         
            +
                #
         
     | 
| 
      
 34588 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 34589 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 34590 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 34591 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 34592 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 34593 
     | 
    
         
            +
                #
         
     | 
| 
      
 34594 
     | 
    
         
            +
                # @option params [String] :name
         
     | 
| 
      
 34595 
     | 
    
         
            +
                #   The name of the event window.
         
     | 
| 
      
 34596 
     | 
    
         
            +
                #
         
     | 
| 
      
 34597 
     | 
    
         
            +
                # @option params [required, String] :instance_event_window_id
         
     | 
| 
      
 34598 
     | 
    
         
            +
                #   The ID of the event window.
         
     | 
| 
      
 34599 
     | 
    
         
            +
                #
         
     | 
| 
      
 34600 
     | 
    
         
            +
                # @option params [Array<Types::InstanceEventWindowTimeRangeRequest>] :time_ranges
         
     | 
| 
      
 34601 
     | 
    
         
            +
                #   The time ranges of the event window.
         
     | 
| 
      
 34602 
     | 
    
         
            +
                #
         
     | 
| 
      
 34603 
     | 
    
         
            +
                # @option params [String] :cron_expression
         
     | 
| 
      
 34604 
     | 
    
         
            +
                #   The cron expression of the event window, for example, `* 0-4,20-23 * *
         
     | 
| 
      
 34605 
     | 
    
         
            +
                #   1,5`.
         
     | 
| 
      
 34606 
     | 
    
         
            +
                #
         
     | 
| 
      
 34607 
     | 
    
         
            +
                #   Constraints:
         
     | 
| 
      
 34608 
     | 
    
         
            +
                #
         
     | 
| 
      
 34609 
     | 
    
         
            +
                #   * Only hour and day of the week values are supported.
         
     | 
| 
      
 34610 
     | 
    
         
            +
                #
         
     | 
| 
      
 34611 
     | 
    
         
            +
                #   * For day of the week values, you can specify either integers `0`
         
     | 
| 
      
 34612 
     | 
    
         
            +
                #     through `6`, or alternative single values `SUN` through `SAT`.
         
     | 
| 
      
 34613 
     | 
    
         
            +
                #
         
     | 
| 
      
 34614 
     | 
    
         
            +
                #   * The minute, month, and year must be specified by `*`.
         
     | 
| 
      
 34615 
     | 
    
         
            +
                #
         
     | 
| 
      
 34616 
     | 
    
         
            +
                #   * The hour value must be one or a multiple range, for example, `0-4`
         
     | 
| 
      
 34617 
     | 
    
         
            +
                #     or `0-4,20-23`.
         
     | 
| 
      
 34618 
     | 
    
         
            +
                #
         
     | 
| 
      
 34619 
     | 
    
         
            +
                #   * Each hour range must be >= 2 hours, for example, `0-2` or
         
     | 
| 
      
 34620 
     | 
    
         
            +
                #     `20-23`.
         
     | 
| 
      
 34621 
     | 
    
         
            +
                #
         
     | 
| 
      
 34622 
     | 
    
         
            +
                #   * The event window must be >= 4 hours. The combined total time
         
     | 
| 
      
 34623 
     | 
    
         
            +
                #     ranges in the event window must be >= 4 hours.
         
     | 
| 
      
 34624 
     | 
    
         
            +
                #
         
     | 
| 
      
 34625 
     | 
    
         
            +
                #   For more information about cron expressions, see [cron][1] on the
         
     | 
| 
      
 34626 
     | 
    
         
            +
                #   *Wikipedia website*.
         
     | 
| 
      
 34627 
     | 
    
         
            +
                #
         
     | 
| 
      
 34628 
     | 
    
         
            +
                #
         
     | 
| 
      
 34629 
     | 
    
         
            +
                #
         
     | 
| 
      
 34630 
     | 
    
         
            +
                #   [1]: https://en.wikipedia.org/wiki/Cron
         
     | 
| 
      
 34631 
     | 
    
         
            +
                #
         
     | 
| 
      
 34632 
     | 
    
         
            +
                # @return [Types::ModifyInstanceEventWindowResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 34633 
     | 
    
         
            +
                #
         
     | 
| 
      
 34634 
     | 
    
         
            +
                #   * {Types::ModifyInstanceEventWindowResult#instance_event_window #instance_event_window} => Types::InstanceEventWindow
         
     | 
| 
      
 34635 
     | 
    
         
            +
                #
         
     | 
| 
      
 34636 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 34637 
     | 
    
         
            +
                #
         
     | 
| 
      
 34638 
     | 
    
         
            +
                #   resp = client.modify_instance_event_window({
         
     | 
| 
      
 34639 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 34640 
     | 
    
         
            +
                #     name: "String",
         
     | 
| 
      
 34641 
     | 
    
         
            +
                #     instance_event_window_id: "InstanceEventWindowId", # required
         
     | 
| 
      
 34642 
     | 
    
         
            +
                #     time_ranges: [
         
     | 
| 
      
 34643 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 34644 
     | 
    
         
            +
                #         start_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
         
     | 
| 
      
 34645 
     | 
    
         
            +
                #         start_hour: 1,
         
     | 
| 
      
 34646 
     | 
    
         
            +
                #         end_week_day: "sunday", # accepts sunday, monday, tuesday, wednesday, thursday, friday, saturday
         
     | 
| 
      
 34647 
     | 
    
         
            +
                #         end_hour: 1,
         
     | 
| 
      
 34648 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 34649 
     | 
    
         
            +
                #     ],
         
     | 
| 
      
 34650 
     | 
    
         
            +
                #     cron_expression: "InstanceEventWindowCronExpression",
         
     | 
| 
      
 34651 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 34652 
     | 
    
         
            +
                #
         
     | 
| 
      
 34653 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 34654 
     | 
    
         
            +
                #
         
     | 
| 
      
 34655 
     | 
    
         
            +
                #   resp.instance_event_window.instance_event_window_id #=> String
         
     | 
| 
      
 34656 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges #=> Array
         
     | 
| 
      
 34657 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 34658 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].start_hour #=> Integer
         
     | 
| 
      
 34659 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_week_day #=> String, one of "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"
         
     | 
| 
      
 34660 
     | 
    
         
            +
                #   resp.instance_event_window.time_ranges[0].end_hour #=> Integer
         
     | 
| 
      
 34661 
     | 
    
         
            +
                #   resp.instance_event_window.name #=> String
         
     | 
| 
      
 34662 
     | 
    
         
            +
                #   resp.instance_event_window.cron_expression #=> String
         
     | 
| 
      
 34663 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids #=> Array
         
     | 
| 
      
 34664 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.instance_ids[0] #=> String
         
     | 
| 
      
 34665 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags #=> Array
         
     | 
| 
      
 34666 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].key #=> String
         
     | 
| 
      
 34667 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.tags[0].value #=> String
         
     | 
| 
      
 34668 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids #=> Array
         
     | 
| 
      
 34669 
     | 
    
         
            +
                #   resp.instance_event_window.association_target.dedicated_host_ids[0] #=> String
         
     | 
| 
      
 34670 
     | 
    
         
            +
                #   resp.instance_event_window.state #=> String, one of "creating", "deleting", "active", "deleted"
         
     | 
| 
      
 34671 
     | 
    
         
            +
                #   resp.instance_event_window.tags #=> Array
         
     | 
| 
      
 34672 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].key #=> String
         
     | 
| 
      
 34673 
     | 
    
         
            +
                #   resp.instance_event_window.tags[0].value #=> String
         
     | 
| 
      
 34674 
     | 
    
         
            +
                #
         
     | 
| 
      
 34675 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventWindow AWS API Documentation
         
     | 
| 
      
 34676 
     | 
    
         
            +
                #
         
     | 
| 
      
 34677 
     | 
    
         
            +
                # @overload modify_instance_event_window(params = {})
         
     | 
| 
      
 34678 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 34679 
     | 
    
         
            +
                def modify_instance_event_window(params = {}, options = {})
         
     | 
| 
      
 34680 
     | 
    
         
            +
                  req = build_request(:modify_instance_event_window, params)
         
     | 
| 
      
 34681 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 34682 
     | 
    
         
            +
                end
         
     | 
| 
      
 34683 
     | 
    
         
            +
             
     | 
| 
       33919 
34684 
     | 
    
         
             
                # Modify the instance metadata parameters on a running or stopped
         
     | 
| 
       33920 
34685 
     | 
    
         
             
                # instance. When you modify the parameters on a stopped instance, they
         
     | 
| 
       33921 
34686 
     | 
    
         
             
                # are applied when the instance is started. When you modify the
         
     | 
| 
         @@ -34429,20 +35194,72 @@ module Aws::EC2 
     | 
|
| 
       34429 
35194 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       34430 
35195 
     | 
    
         
             
                end
         
     | 
| 
       34431 
35196 
     | 
    
         | 
| 
      
 35197 
     | 
    
         
            +
                # Modifies the rules of a security group.
         
     | 
| 
      
 35198 
     | 
    
         
            +
                #
         
     | 
| 
      
 35199 
     | 
    
         
            +
                # @option params [required, String] :group_id
         
     | 
| 
      
 35200 
     | 
    
         
            +
                #   The ID of the security group.
         
     | 
| 
      
 35201 
     | 
    
         
            +
                #
         
     | 
| 
      
 35202 
     | 
    
         
            +
                # @option params [required, Array<Types::SecurityGroupRuleUpdate>] :security_group_rules
         
     | 
| 
      
 35203 
     | 
    
         
            +
                #   Information about the security group properties to update.
         
     | 
| 
      
 35204 
     | 
    
         
            +
                #
         
     | 
| 
      
 35205 
     | 
    
         
            +
                # @option params [Boolean] :dry_run
         
     | 
| 
      
 35206 
     | 
    
         
            +
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
      
 35207 
     | 
    
         
            +
                #   without actually making the request, and provides an error response.
         
     | 
| 
      
 35208 
     | 
    
         
            +
                #   If you have the required permissions, the error response is
         
     | 
| 
      
 35209 
     | 
    
         
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
      
 35210 
     | 
    
         
            +
                #
         
     | 
| 
      
 35211 
     | 
    
         
            +
                # @return [Types::ModifySecurityGroupRulesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 35212 
     | 
    
         
            +
                #
         
     | 
| 
      
 35213 
     | 
    
         
            +
                #   * {Types::ModifySecurityGroupRulesResult#return #return} => Boolean
         
     | 
| 
      
 35214 
     | 
    
         
            +
                #
         
     | 
| 
      
 35215 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 35216 
     | 
    
         
            +
                #
         
     | 
| 
      
 35217 
     | 
    
         
            +
                #   resp = client.modify_security_group_rules({
         
     | 
| 
      
 35218 
     | 
    
         
            +
                #     group_id: "SecurityGroupId", # required
         
     | 
| 
      
 35219 
     | 
    
         
            +
                #     security_group_rules: [ # required
         
     | 
| 
      
 35220 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 35221 
     | 
    
         
            +
                #         security_group_rule_id: "SecurityGroupRuleId",
         
     | 
| 
      
 35222 
     | 
    
         
            +
                #         security_group_rule: {
         
     | 
| 
      
 35223 
     | 
    
         
            +
                #           ip_protocol: "String",
         
     | 
| 
      
 35224 
     | 
    
         
            +
                #           from_port: 1,
         
     | 
| 
      
 35225 
     | 
    
         
            +
                #           to_port: 1,
         
     | 
| 
      
 35226 
     | 
    
         
            +
                #           cidr_ipv_4: "String",
         
     | 
| 
      
 35227 
     | 
    
         
            +
                #           cidr_ipv_6: "String",
         
     | 
| 
      
 35228 
     | 
    
         
            +
                #           prefix_list_id: "PrefixListResourceId",
         
     | 
| 
      
 35229 
     | 
    
         
            +
                #           referenced_group_id: "SecurityGroupId",
         
     | 
| 
      
 35230 
     | 
    
         
            +
                #           description: "String",
         
     | 
| 
      
 35231 
     | 
    
         
            +
                #         },
         
     | 
| 
      
 35232 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 35233 
     | 
    
         
            +
                #     ],
         
     | 
| 
      
 35234 
     | 
    
         
            +
                #     dry_run: false,
         
     | 
| 
      
 35235 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 35236 
     | 
    
         
            +
                #
         
     | 
| 
      
 35237 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 35238 
     | 
    
         
            +
                #
         
     | 
| 
      
 35239 
     | 
    
         
            +
                #   resp.return #=> Boolean
         
     | 
| 
      
 35240 
     | 
    
         
            +
                #
         
     | 
| 
      
 35241 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySecurityGroupRules AWS API Documentation
         
     | 
| 
      
 35242 
     | 
    
         
            +
                #
         
     | 
| 
      
 35243 
     | 
    
         
            +
                # @overload modify_security_group_rules(params = {})
         
     | 
| 
      
 35244 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 35245 
     | 
    
         
            +
                def modify_security_group_rules(params = {}, options = {})
         
     | 
| 
      
 35246 
     | 
    
         
            +
                  req = build_request(:modify_security_group_rules, params)
         
     | 
| 
      
 35247 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 35248 
     | 
    
         
            +
                end
         
     | 
| 
      
 35249 
     | 
    
         
            +
             
     | 
| 
       34432 
35250 
     | 
    
         
             
                # Adds or removes permission settings for the specified snapshot. You
         
     | 
| 
       34433 
     | 
    
         
            -
                # may add or remove specified  
     | 
| 
      
 35251 
     | 
    
         
            +
                # may add or remove specified account IDs from a snapshot's list of
         
     | 
| 
       34434 
35252 
     | 
    
         
             
                # create volume permissions, but you cannot do both in a single
         
     | 
| 
       34435 
35253 
     | 
    
         
             
                # operation. If you need to both add and remove account IDs for a
         
     | 
| 
       34436 
35254 
     | 
    
         
             
                # snapshot, you must use multiple operations. You can make up to 500
         
     | 
| 
       34437 
35255 
     | 
    
         
             
                # modifications to a snapshot in a single operation.
         
     | 
| 
       34438 
35256 
     | 
    
         
             
                #
         
     | 
| 
       34439 
     | 
    
         
            -
                # Encrypted snapshots and snapshots with  
     | 
| 
       34440 
     | 
    
         
            -
                # cannot be made public. Snapshots encrypted with your default  
     | 
| 
      
 35257 
     | 
    
         
            +
                # Encrypted snapshots and snapshots with Marketplace product codes
         
     | 
| 
      
 35258 
     | 
    
         
            +
                # cannot be made public. Snapshots encrypted with your default KMS key
         
     | 
| 
       34441 
35259 
     | 
    
         
             
                # cannot be shared with other accounts.
         
     | 
| 
       34442 
35260 
     | 
    
         
             
                #
         
     | 
| 
       34443 
     | 
    
         
            -
                # For more information about modifying snapshot permissions, see
         
     | 
| 
       34444 
     | 
    
         
            -
                #  
     | 
| 
       34445 
     | 
    
         
            -
                # Guide*.
         
     | 
| 
      
 35261 
     | 
    
         
            +
                # For more information about modifying snapshot permissions, see [Share
         
     | 
| 
      
 35262 
     | 
    
         
            +
                # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       34446 
35263 
     | 
    
         
             
                #
         
     | 
| 
       34447 
35264 
     | 
    
         
             
                #
         
     | 
| 
       34448 
35265 
     | 
    
         
             
                #
         
     | 
| 
         @@ -35242,45 +36059,38 @@ module Aws::EC2 
     | 
|
| 
       35242 
36059 
     | 
    
         
             
                # volume size, volume type, and IOPS capacity. If your EBS volume is
         
     | 
| 
       35243 
36060 
     | 
    
         
             
                # attached to a current-generation EC2 instance type, you might be able
         
     | 
| 
       35244 
36061 
     | 
    
         
             
                # to apply these changes without stopping the instance or detaching the
         
     | 
| 
       35245 
     | 
    
         
            -
                # volume from it. For more information about modifying  
     | 
| 
       35246 
     | 
    
         
            -
                #  
     | 
| 
       35247 
     | 
    
         
            -
                #  
     | 
| 
       35248 
     | 
    
         
            -
                # running Windows, see [Modifying the size, IOPS, or type of an EBS
         
     | 
| 
       35249 
     | 
    
         
            -
                # volume on Windows][2].
         
     | 
| 
      
 36062 
     | 
    
         
            +
                # volume from it. For more information about modifying EBS volumes, see
         
     | 
| 
      
 36063 
     | 
    
         
            +
                # [Amazon EBS Elastic Volumes][1] (Linux instances) or [Amazon EBS
         
     | 
| 
      
 36064 
     | 
    
         
            +
                # Elastic Volumes][2] (Windows instances).
         
     | 
| 
       35250 
36065 
     | 
    
         
             
                #
         
     | 
| 
       35251 
36066 
     | 
    
         
             
                # When you complete a resize operation on your volume, you need to
         
     | 
| 
       35252 
36067 
     | 
    
         
             
                # extend the volume's file-system size to take advantage of the new
         
     | 
| 
       35253 
     | 
    
         
            -
                # storage capacity. For information  
     | 
| 
       35254 
     | 
    
         
            -
                #  
     | 
| 
       35255 
     | 
    
         
            -
                # extending a Windows file system, see [Extending a Windows file
         
     | 
| 
       35256 
     | 
    
         
            -
                # system][4].
         
     | 
| 
      
 36068 
     | 
    
         
            +
                # storage capacity. For more information, see [Extend a Linux file
         
     | 
| 
      
 36069 
     | 
    
         
            +
                # system][3] or [Extend a Windows file system][4].
         
     | 
| 
       35257 
36070 
     | 
    
         
             
                #
         
     | 
| 
       35258 
36071 
     | 
    
         
             
                # You can use CloudWatch Events to check the status of a modification to
         
     | 
| 
       35259 
36072 
     | 
    
         
             
                # an EBS volume. For information about CloudWatch Events, see the
         
     | 
| 
       35260 
36073 
     | 
    
         
             
                # [Amazon CloudWatch Events User Guide][5]. You can also track the
         
     | 
| 
       35261 
36074 
     | 
    
         
             
                # status of a modification using DescribeVolumesModifications. For
         
     | 
| 
       35262 
36075 
     | 
    
         
             
                # information about tracking status changes using either method, see
         
     | 
| 
       35263 
     | 
    
         
            -
                # [ 
     | 
| 
      
 36076 
     | 
    
         
            +
                # [Monitor the progress of volume modifications][6].
         
     | 
| 
       35264 
36077 
     | 
    
         
             
                #
         
     | 
| 
       35265 
36078 
     | 
    
         
             
                # With previous-generation instance types, resizing an EBS volume might
         
     | 
| 
       35266 
36079 
     | 
    
         
             
                # require detaching and reattaching the volume or stopping and
         
     | 
| 
       35267 
     | 
    
         
            -
                # restarting the instance. 
     | 
| 
       35268 
     | 
    
         
            -
                # Volumes][7] (Linux) or [Amazon EBS Elastic Volumes][8] (Windows).
         
     | 
| 
      
 36080 
     | 
    
         
            +
                # restarting the instance.
         
     | 
| 
       35269 
36081 
     | 
    
         
             
                #
         
     | 
| 
       35270 
36082 
     | 
    
         
             
                # If you reach the maximum volume modification rate per volume limit,
         
     | 
| 
       35271 
     | 
    
         
            -
                # you  
     | 
| 
       35272 
     | 
    
         
            -
                #  
     | 
| 
      
 36083 
     | 
    
         
            +
                # you must wait at least six hours before applying further modifications
         
     | 
| 
      
 36084 
     | 
    
         
            +
                # to the affected EBS volume.
         
     | 
| 
       35273 
36085 
     | 
    
         
             
                #
         
     | 
| 
       35274 
36086 
     | 
    
         
             
                #
         
     | 
| 
       35275 
36087 
     | 
    
         
             
                #
         
     | 
| 
       35276 
     | 
    
         
            -
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs- 
     | 
| 
       35277 
     | 
    
         
            -
                # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs- 
     | 
| 
      
 36088 
     | 
    
         
            +
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html
         
     | 
| 
      
 36089 
     | 
    
         
            +
                # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html
         
     | 
| 
       35278 
36090 
     | 
    
         
             
                # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux
         
     | 
| 
       35279 
36091 
     | 
    
         
             
                # [4]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html#recognize-expanded-volume-windows
         
     | 
| 
       35280 
36092 
     | 
    
         
             
                # [5]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
         
     | 
| 
       35281 
     | 
    
         
            -
                # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ 
     | 
| 
       35282 
     | 
    
         
            -
                # [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html
         
     | 
| 
       35283 
     | 
    
         
            -
                # [8]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html
         
     | 
| 
      
 36093 
     | 
    
         
            +
                # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
         
     | 
| 
       35284 
36094 
     | 
    
         
             
                #
         
     | 
| 
       35285 
36095 
     | 
    
         
             
                # @option params [Boolean] :dry_run
         
     | 
| 
       35286 
36096 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
         @@ -35305,14 +36115,14 @@ module Aws::EC2 
     | 
|
| 
       35305 
36115 
     | 
    
         
             
                #
         
     | 
| 
       35306 
36116 
     | 
    
         
             
                #   * `standard`\: 1-1,024
         
     | 
| 
       35307 
36117 
     | 
    
         
             
                #
         
     | 
| 
       35308 
     | 
    
         
            -
                #   Default:  
     | 
| 
      
 36118 
     | 
    
         
            +
                #   Default: The existing size is retained.
         
     | 
| 
       35309 
36119 
     | 
    
         
             
                #
         
     | 
| 
       35310 
36120 
     | 
    
         
             
                # @option params [String] :volume_type
         
     | 
| 
       35311 
36121 
     | 
    
         
             
                #   The target EBS volume type of the volume. For more information, see
         
     | 
| 
       35312 
36122 
     | 
    
         
             
                #   [Amazon EBS volume types][1] in the *Amazon Elastic Compute Cloud User
         
     | 
| 
       35313 
36123 
     | 
    
         
             
                #   Guide*.
         
     | 
| 
       35314 
36124 
     | 
    
         
             
                #
         
     | 
| 
       35315 
     | 
    
         
            -
                #   Default:  
     | 
| 
      
 36125 
     | 
    
         
            +
                #   Default: The existing type is retained.
         
     | 
| 
       35316 
36126 
     | 
    
         
             
                #
         
     | 
| 
       35317 
36127 
     | 
    
         
             
                #
         
     | 
| 
       35318 
36128 
     | 
    
         
             
                #
         
     | 
| 
         @@ -35330,16 +36140,16 @@ module Aws::EC2 
     | 
|
| 
       35330 
36140 
     | 
    
         
             
                #
         
     | 
| 
       35331 
36141 
     | 
    
         
             
                #   * `io2`\: 100-64,000 IOPS
         
     | 
| 
       35332 
36142 
     | 
    
         
             
                #
         
     | 
| 
       35333 
     | 
    
         
            -
                #   Default:  
     | 
| 
       35334 
     | 
    
         
            -
                #    
     | 
| 
       35335 
     | 
    
         
            -
                #    
     | 
| 
      
 36143 
     | 
    
         
            +
                #   Default: The existing value is retained if you keep the same volume
         
     | 
| 
      
 36144 
     | 
    
         
            +
                #   type. If you change the volume type to `io1`, `io2`, or `gp3`, the
         
     | 
| 
      
 36145 
     | 
    
         
            +
                #   default is 3,000.
         
     | 
| 
       35336 
36146 
     | 
    
         
             
                #
         
     | 
| 
       35337 
36147 
     | 
    
         
             
                # @option params [Integer] :throughput
         
     | 
| 
       35338 
36148 
     | 
    
         
             
                #   The target throughput of the volume, in MiB/s. This parameter is valid
         
     | 
| 
       35339 
36149 
     | 
    
         
             
                #   only for `gp3` volumes. The maximum value is 1,000.
         
     | 
| 
       35340 
36150 
     | 
    
         
             
                #
         
     | 
| 
       35341 
     | 
    
         
            -
                #   Default:  
     | 
| 
       35342 
     | 
    
         
            -
                #    
     | 
| 
      
 36151 
     | 
    
         
            +
                #   Default: The existing value is retained if the source and target
         
     | 
| 
      
 36152 
     | 
    
         
            +
                #   volume type is `gp3`. Otherwise, the default value is 125.
         
     | 
| 
       35343 
36153 
     | 
    
         
             
                #
         
     | 
| 
       35344 
36154 
     | 
    
         
             
                #   Valid Range: Minimum value of 125. Maximum value of 1000.
         
     | 
| 
       35345 
36155 
     | 
    
         
             
                #
         
     | 
| 
         @@ -36641,7 +37451,7 @@ module Aws::EC2 
     | 
|
| 
       36641 
37451 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       36642 
37452 
     | 
    
         
             
                #     pool_tag_specifications: [
         
     | 
| 
       36643 
37453 
     | 
    
         
             
                #       {
         
     | 
| 
       36644 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 37454 
     | 
    
         
            +
                #         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
         
     | 
| 
       36645 
37455 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       36646 
37456 
     | 
    
         
             
                #           {
         
     | 
| 
       36647 
37457 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -36725,7 +37535,7 @@ module Aws::EC2 
     | 
|
| 
       36725 
37535 
     | 
    
         
             
                #     offering_id: "OfferingId", # required
         
     | 
| 
       36726 
37536 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       36727 
37537 
     | 
    
         
             
                #       {
         
     | 
| 
       36728 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 37538 
     | 
    
         
            +
                #         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
         
     | 
| 
       36729 
37539 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       36730 
37540 
     | 
    
         
             
                #           {
         
     | 
| 
       36731 
37541 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -38591,7 +39401,7 @@ module Aws::EC2 
     | 
|
| 
       38591 
39401 
     | 
    
         
             
                #           weighted_capacity: 1.0,
         
     | 
| 
       38592 
39402 
     | 
    
         
             
                #           tag_specifications: [
         
     | 
| 
       38593 
39403 
     | 
    
         
             
                #             {
         
     | 
| 
       38594 
     | 
    
         
            -
                #               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- 
     | 
| 
      
 39404 
     | 
    
         
            +
                #               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
         
     | 
| 
       38595 
39405 
     | 
    
         
             
                #               tags: [
         
     | 
| 
       38596 
39406 
     | 
    
         
             
                #                 {
         
     | 
| 
       38597 
39407 
     | 
    
         
             
                #                   key: "String",
         
     | 
| 
         @@ -38652,7 +39462,7 @@ module Aws::EC2 
     | 
|
| 
       38652 
39462 
     | 
    
         
             
                #       context: "String",
         
     | 
| 
       38653 
39463 
     | 
    
         
             
                #       tag_specifications: [
         
     | 
| 
       38654 
39464 
     | 
    
         
             
                #         {
         
     | 
| 
       38655 
     | 
    
         
            -
                #           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- 
     | 
| 
      
 39465 
     | 
    
         
            +
                #           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
         
     | 
| 
       38656 
39466 
     | 
    
         
             
                #           tags: [
         
     | 
| 
       38657 
39467 
     | 
    
         
             
                #             {
         
     | 
| 
       38658 
39468 
     | 
    
         
             
                #               key: "String",
         
     | 
| 
         @@ -38929,7 +39739,7 @@ module Aws::EC2 
     | 
|
| 
       38929 
39739 
     | 
    
         
             
                #     valid_until: Time.now,
         
     | 
| 
       38930 
39740 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       38931 
39741 
     | 
    
         
             
                #       {
         
     | 
| 
       38932 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 39742 
     | 
    
         
            +
                #         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
         
     | 
| 
       38933 
39743 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       38934 
39744 
     | 
    
         
             
                #           {
         
     | 
| 
       38935 
39745 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -39077,13 +39887,14 @@ module Aws::EC2 
     | 
|
| 
       39077 
39887 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       39078 
39888 
     | 
    
         
             
                end
         
     | 
| 
       39079 
39889 
     | 
    
         | 
| 
       39080 
     | 
    
         
            -
                # Resets the default  
     | 
| 
       39081 
     | 
    
         
            -
                #  
     | 
| 
      
 39890 
     | 
    
         
            +
                # Resets the default KMS key for EBS encryption for your account in this
         
     | 
| 
      
 39891 
     | 
    
         
            +
                # Region to the Amazon Web Services managed KMS key for EBS.
         
     | 
| 
       39082 
39892 
     | 
    
         
             
                #
         
     | 
| 
       39083 
     | 
    
         
            -
                # After resetting the default  
     | 
| 
       39084 
     | 
    
         
            -
                # continue to encrypt by a customer managed  
     | 
| 
       39085 
     | 
    
         
            -
                # you create the volume. For more information, see 
     | 
| 
       39086 
     | 
    
         
            -
                # encryption][1] in the *Amazon Elastic Compute Cloud User 
     | 
| 
      
 39893 
     | 
    
         
            +
                # After resetting the default KMS key to the Amazon Web Services managed
         
     | 
| 
      
 39894 
     | 
    
         
            +
                # KMS key, you can continue to encrypt by a customer managed KMS key by
         
     | 
| 
      
 39895 
     | 
    
         
            +
                # specifying it when you create the volume. For more information, see
         
     | 
| 
      
 39896 
     | 
    
         
            +
                # [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud User
         
     | 
| 
      
 39897 
     | 
    
         
            +
                # Guide*.
         
     | 
| 
       39087 
39898 
     | 
    
         
             
                #
         
     | 
| 
       39088 
39899 
     | 
    
         
             
                #
         
     | 
| 
       39089 
39900 
     | 
    
         
             
                #
         
     | 
| 
         @@ -39311,9 +40122,8 @@ module Aws::EC2 
     | 
|
| 
       39311 
40122 
     | 
    
         | 
| 
       39312 
40123 
     | 
    
         
             
                # Resets permission settings for the specified snapshot.
         
     | 
| 
       39313 
40124 
     | 
    
         
             
                #
         
     | 
| 
       39314 
     | 
    
         
            -
                # For more information about modifying snapshot permissions, see
         
     | 
| 
       39315 
     | 
    
         
            -
                #  
     | 
| 
       39316 
     | 
    
         
            -
                # Guide*.
         
     | 
| 
      
 40125 
     | 
    
         
            +
                # For more information about modifying snapshot permissions, see [Share
         
     | 
| 
      
 40126 
     | 
    
         
            +
                # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
         
     | 
| 
       39317 
40127 
     | 
    
         
             
                #
         
     | 
| 
       39318 
40128 
     | 
    
         
             
                #
         
     | 
| 
       39319 
40129 
     | 
    
         
             
                #
         
     | 
| 
         @@ -39527,26 +40337,26 @@ module Aws::EC2 
     | 
|
| 
       39527 
40337 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       39528 
40338 
     | 
    
         
             
                end
         
     | 
| 
       39529 
40339 
     | 
    
         | 
| 
       39530 
     | 
    
         
            -
                # \[VPC only\] Removes the specified egress rules from a 
     | 
| 
       39531 
     | 
    
         
            -
                # for EC2-VPC. This action does not apply to security 
     | 
| 
       39532 
     | 
    
         
            -
                # EC2-Classic. 
     | 
| 
       39533 
     | 
    
         
            -
                # example, ports) must match the existing rule's values exactly.
         
     | 
| 
      
 40340 
     | 
    
         
            +
                # \[VPC only\] Removes the specified outbound (egress) rules from a
         
     | 
| 
      
 40341 
     | 
    
         
            +
                # security group for EC2-VPC. This action does not apply to security
         
     | 
| 
      
 40342 
     | 
    
         
            +
                # groups for use in EC2-Classic.
         
     | 
| 
       39534 
40343 
     | 
    
         
             
                #
         
     | 
| 
       39535 
     | 
    
         
            -
                #  
     | 
| 
      
 40344 
     | 
    
         
            +
                # You can specify rules using either rule IDs or security group rule
         
     | 
| 
      
 40345 
     | 
    
         
            +
                # properties. If you use rule properties, the values that you specify
         
     | 
| 
      
 40346 
     | 
    
         
            +
                # (for example, ports) must match the existing rule's values exactly.
         
     | 
| 
      
 40347 
     | 
    
         
            +
                # Each rule has a protocol, from and to ports, and destination (CIDR
         
     | 
| 
      
 40348 
     | 
    
         
            +
                # range, security group, or prefix list). For the TCP and UDP protocols,
         
     | 
| 
      
 40349 
     | 
    
         
            +
                # you must also specify the destination port or range of ports. For the
         
     | 
| 
      
 40350 
     | 
    
         
            +
                # ICMP protocol, you must also specify the ICMP type and code. If the
         
     | 
| 
      
 40351 
     | 
    
         
            +
                # security group rule has a description, you do not need to specify the
         
     | 
| 
      
 40352 
     | 
    
         
            +
                # description to revoke the rule.
         
     | 
| 
      
 40353 
     | 
    
         
            +
                #
         
     | 
| 
      
 40354 
     | 
    
         
            +
                # \[Default VPC\] If the values you specify do not match the existing
         
     | 
| 
       39536 
40355 
     | 
    
         
             
                # rule's values, no error is returned, and the output describes the
         
     | 
| 
       39537 
40356 
     | 
    
         
             
                # security group rules that were not revoked.
         
     | 
| 
       39538 
40357 
     | 
    
         
             
                #
         
     | 
| 
       39539 
     | 
    
         
            -
                # 
     | 
| 
       39540 
     | 
    
         
            -
                #  
     | 
| 
       39541 
     | 
    
         
            -
                #
         
     | 
| 
       39542 
     | 
    
         
            -
                #  </note>
         
     | 
| 
       39543 
     | 
    
         
            -
                #
         
     | 
| 
       39544 
     | 
    
         
            -
                # Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
         
     | 
| 
       39545 
     | 
    
         
            -
                # source security group. For the TCP and UDP protocols, you must also
         
     | 
| 
       39546 
     | 
    
         
            -
                # specify the destination port or range of ports. For the ICMP protocol,
         
     | 
| 
       39547 
     | 
    
         
            -
                # you must also specify the ICMP type and code. If the security group
         
     | 
| 
       39548 
     | 
    
         
            -
                # rule has a description, you do not have to specify the description to
         
     | 
| 
       39549 
     | 
    
         
            -
                # revoke the rule.
         
     | 
| 
      
 40358 
     | 
    
         
            +
                # Amazon Web Services recommends that you describe the security group to
         
     | 
| 
      
 40359 
     | 
    
         
            +
                # verify that the rules were removed.
         
     | 
| 
       39550 
40360 
     | 
    
         
             
                #
         
     | 
| 
       39551 
40361 
     | 
    
         
             
                # Rule changes are propagated to instances within the security group as
         
     | 
| 
       39552 
40362 
     | 
    
         
             
                # quickly as possible. However, a small delay might occur.
         
     | 
| 
         @@ -39564,6 +40374,9 @@ module Aws::EC2 
     | 
|
| 
       39564 
40374 
     | 
    
         
             
                #   The sets of IP permissions. You can't specify a destination security
         
     | 
| 
       39565 
40375 
     | 
    
         
             
                #   group and a CIDR IP address range in the same set of permissions.
         
     | 
| 
       39566 
40376 
     | 
    
         
             
                #
         
     | 
| 
      
 40377 
     | 
    
         
            +
                # @option params [Array<String>] :security_group_rule_ids
         
     | 
| 
      
 40378 
     | 
    
         
            +
                #   The IDs of the security group rules.
         
     | 
| 
      
 40379 
     | 
    
         
            +
                #
         
     | 
| 
       39567 
40380 
     | 
    
         
             
                # @option params [String] :cidr_ip
         
     | 
| 
       39568 
40381 
     | 
    
         
             
                #   Not supported. Use a set of IP permissions to specify the CIDR.
         
     | 
| 
       39569 
40382 
     | 
    
         
             
                #
         
     | 
| 
         @@ -39631,6 +40444,7 @@ module Aws::EC2 
     | 
|
| 
       39631 
40444 
     | 
    
         
             
                #         ],
         
     | 
| 
       39632 
40445 
     | 
    
         
             
                #       },
         
     | 
| 
       39633 
40446 
     | 
    
         
             
                #     ],
         
     | 
| 
      
 40447 
     | 
    
         
            +
                #     security_group_rule_ids: ["String"],
         
     | 
| 
       39634 
40448 
     | 
    
         
             
                #     cidr_ip: "String",
         
     | 
| 
       39635 
40449 
     | 
    
         
             
                #     from_port: 1,
         
     | 
| 
       39636 
40450 
     | 
    
         
             
                #     ip_protocol: "String",
         
     | 
| 
         @@ -39673,25 +40487,24 @@ module Aws::EC2 
     | 
|
| 
       39673 
40487 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       39674 
40488 
     | 
    
         
             
                end
         
     | 
| 
       39675 
40489 
     | 
    
         | 
| 
       39676 
     | 
    
         
            -
                # Removes the specified ingress rules from a security group. 
     | 
| 
       39677 
     | 
    
         
            -
                # rule, the values that you specify (for example, ports) must match the
         
     | 
| 
       39678 
     | 
    
         
            -
                # existing rule's values exactly.
         
     | 
| 
      
 40490 
     | 
    
         
            +
                # Removes the specified inbound (ingress) rules from a security group.
         
     | 
| 
       39679 
40491 
     | 
    
         
             
                #
         
     | 
| 
       39680 
     | 
    
         
            -
                #  
     | 
| 
      
 40492 
     | 
    
         
            +
                # You can specify rules using either rule IDs or security group rule
         
     | 
| 
      
 40493 
     | 
    
         
            +
                # properties. If you use rule properties, the values that you specify
         
     | 
| 
      
 40494 
     | 
    
         
            +
                # (for example, ports) must match the existing rule's values exactly.
         
     | 
| 
      
 40495 
     | 
    
         
            +
                # Each rule has a protocol, from and to ports, and source (CIDR range,
         
     | 
| 
      
 40496 
     | 
    
         
            +
                # security group, or prefix list). For the TCP and UDP protocols, you
         
     | 
| 
      
 40497 
     | 
    
         
            +
                # must also specify the destination port or range of ports. For the ICMP
         
     | 
| 
      
 40498 
     | 
    
         
            +
                # protocol, you must also specify the ICMP type and code. If the
         
     | 
| 
      
 40499 
     | 
    
         
            +
                # security group rule has a description, you do not need to specify the
         
     | 
| 
      
 40500 
     | 
    
         
            +
                # description to revoke the rule.
         
     | 
| 
      
 40501 
     | 
    
         
            +
                #
         
     | 
| 
      
 40502 
     | 
    
         
            +
                # \[EC2-Classic, default VPC\] If the values you specify do not match
         
     | 
| 
       39681 
40503 
     | 
    
         
             
                # the existing rule's values, no error is returned, and the output
         
     | 
| 
       39682 
40504 
     | 
    
         
             
                # describes the security group rules that were not revoked.
         
     | 
| 
       39683 
40505 
     | 
    
         
             
                #
         
     | 
| 
       39684 
     | 
    
         
            -
                # 
     | 
| 
       39685 
     | 
    
         
            -
                #  
     | 
| 
       39686 
     | 
    
         
            -
                #
         
     | 
| 
       39687 
     | 
    
         
            -
                #  </note>
         
     | 
| 
       39688 
     | 
    
         
            -
                #
         
     | 
| 
       39689 
     | 
    
         
            -
                # Each rule consists of the protocol and the CIDR range or source
         
     | 
| 
       39690 
     | 
    
         
            -
                # security group. For the TCP and UDP protocols, you must also specify
         
     | 
| 
       39691 
     | 
    
         
            -
                # the destination port or range of ports. For the ICMP protocol, you
         
     | 
| 
       39692 
     | 
    
         
            -
                # must also specify the ICMP type and code. If the security group rule
         
     | 
| 
       39693 
     | 
    
         
            -
                # has a description, you do not have to specify the description to
         
     | 
| 
       39694 
     | 
    
         
            -
                # revoke the rule.
         
     | 
| 
      
 40506 
     | 
    
         
            +
                # Amazon Web Services recommends that you describe the security group to
         
     | 
| 
      
 40507 
     | 
    
         
            +
                # verify that the rules were removed.
         
     | 
| 
       39695 
40508 
     | 
    
         
             
                #
         
     | 
| 
       39696 
40509 
     | 
    
         
             
                # Rule changes are propagated to instances within the security group as
         
     | 
| 
       39697 
40510 
     | 
    
         
             
                # quickly as possible. However, a small delay might occur.
         
     | 
| 
         @@ -39736,12 +40549,13 @@ module Aws::EC2 
     | 
|
| 
       39736 
40549 
     | 
    
         
             
                #   instead.
         
     | 
| 
       39737 
40550 
     | 
    
         
             
                #
         
     | 
| 
       39738 
40551 
     | 
    
         
             
                # @option params [String] :source_security_group_owner_id
         
     | 
| 
       39739 
     | 
    
         
            -
                #   \[EC2-Classic\] The  
     | 
| 
       39740 
     | 
    
         
            -
                #   the source security group is in a different 
     | 
| 
       39741 
     | 
    
         
            -
                #   specify this parameter in combination with the 
     | 
| 
       39742 
     | 
    
         
            -
                #   the CIDR IP address range, the IP protocol, the 
     | 
| 
       39743 
     | 
    
         
            -
                #   range, and the end of the port range. To revoke a 
     | 
| 
       39744 
     | 
    
         
            -
                #   IP protocol and port range, use a set of IP 
     | 
| 
      
 40552 
     | 
    
         
            +
                #   \[EC2-Classic\] The Amazon Web Services account ID of the source
         
     | 
| 
      
 40553 
     | 
    
         
            +
                #   security group, if the source security group is in a different
         
     | 
| 
      
 40554 
     | 
    
         
            +
                #   account. You can't specify this parameter in combination with the
         
     | 
| 
      
 40555 
     | 
    
         
            +
                #   following parameters: the CIDR IP address range, the IP protocol, the
         
     | 
| 
      
 40556 
     | 
    
         
            +
                #   start of the port range, and the end of the port range. To revoke a
         
     | 
| 
      
 40557 
     | 
    
         
            +
                #   specific rule for an IP protocol and port range, use a set of IP
         
     | 
| 
      
 40558 
     | 
    
         
            +
                #   permissions instead.
         
     | 
| 
       39745 
40559 
     | 
    
         
             
                #
         
     | 
| 
       39746 
40560 
     | 
    
         
             
                # @option params [Integer] :to_port
         
     | 
| 
       39747 
40561 
     | 
    
         
             
                #   The end of port range for the TCP and UDP protocols, or an ICMP code
         
     | 
| 
         @@ -39754,6 +40568,9 @@ module Aws::EC2 
     | 
|
| 
       39754 
40568 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       39755 
40569 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       39756 
40570 
     | 
    
         
             
                #
         
     | 
| 
      
 40571 
     | 
    
         
            +
                # @option params [Array<String>] :security_group_rule_ids
         
     | 
| 
      
 40572 
     | 
    
         
            +
                #   The IDs of the security group rules.
         
     | 
| 
      
 40573 
     | 
    
         
            +
                #
         
     | 
| 
       39757 
40574 
     | 
    
         
             
                # @return [Types::RevokeSecurityGroupIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       39758 
40575 
     | 
    
         
             
                #
         
     | 
| 
       39759 
40576 
     | 
    
         
             
                #   * {Types::RevokeSecurityGroupIngressResult#return #return} => Boolean
         
     | 
| 
         @@ -39807,6 +40624,7 @@ module Aws::EC2 
     | 
|
| 
       39807 
40624 
     | 
    
         
             
                #     source_security_group_owner_id: "String",
         
     | 
| 
       39808 
40625 
     | 
    
         
             
                #     to_port: 1,
         
     | 
| 
       39809 
40626 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
      
 40627 
     | 
    
         
            +
                #     security_group_rule_ids: ["String"],
         
     | 
| 
       39810 
40628 
     | 
    
         
             
                #   })
         
     | 
| 
       39811 
40629 
     | 
    
         
             
                #
         
     | 
| 
       39812 
40630 
     | 
    
         
             
                # @example Response structure
         
     | 
| 
         @@ -40396,7 +41214,7 @@ module Aws::EC2 
     | 
|
| 
       40396 
41214 
     | 
    
         
             
                #     ],
         
     | 
| 
       40397 
41215 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       40398 
41216 
     | 
    
         
             
                #       {
         
     | 
| 
       40399 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 41217 
     | 
    
         
            +
                #         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
         
     | 
| 
       40400 
41218 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       40401 
41219 
     | 
    
         
             
                #           {
         
     | 
| 
       40402 
41220 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -41232,7 +42050,7 @@ module Aws::EC2 
     | 
|
| 
       41232 
42050 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       41233 
42051 
     | 
    
         
             
                #     tag_specifications: [
         
     | 
| 
       41234 
42052 
     | 
    
         
             
                #       {
         
     | 
| 
       41235 
     | 
    
         
            -
                #         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- 
     | 
| 
      
 42053 
     | 
    
         
            +
                #         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
         
     | 
| 
       41236 
42054 
     | 
    
         
             
                #         tags: [
         
     | 
| 
       41237 
42055 
     | 
    
         
             
                #           {
         
     | 
| 
       41238 
42056 
     | 
    
         
             
                #             key: "String",
         
     | 
| 
         @@ -41988,11 +42806,9 @@ module Aws::EC2 
     | 
|
| 
       41988 
42806 
     | 
    
         | 
| 
       41989 
42807 
     | 
    
         
             
                # \[VPC only\] Updates the description of an egress (outbound) security
         
     | 
| 
       41990 
42808 
     | 
    
         
             
                # group rule. You can replace an existing description, or add a
         
     | 
| 
       41991 
     | 
    
         
            -
                # description to a rule that did not have one previously.
         
     | 
| 
       41992 
     | 
    
         
            -
                #
         
     | 
| 
       41993 
     | 
    
         
            -
                #  
     | 
| 
       41994 
     | 
    
         
            -
                # You can remove a description for a security group rule by omitting the
         
     | 
| 
       41995 
     | 
    
         
            -
                # description parameter in the request.
         
     | 
| 
      
 42809 
     | 
    
         
            +
                # description to a rule that did not have one previously. You can remove
         
     | 
| 
      
 42810 
     | 
    
         
            +
                # a description for a security group rule by omitting the description
         
     | 
| 
      
 42811 
     | 
    
         
            +
                # parameter in the request.
         
     | 
| 
       41996 
42812 
     | 
    
         
             
                #
         
     | 
| 
       41997 
42813 
     | 
    
         
             
                # @option params [Boolean] :dry_run
         
     | 
| 
       41998 
42814 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
         @@ -42010,8 +42826,13 @@ module Aws::EC2 
     | 
|
| 
       42010 
42826 
     | 
    
         
             
                #   either the security group ID or the security group name in the
         
     | 
| 
       42011 
42827 
     | 
    
         
             
                #   request.
         
     | 
| 
       42012 
42828 
     | 
    
         
             
                #
         
     | 
| 
       42013 
     | 
    
         
            -
                # @option params [ 
     | 
| 
       42014 
     | 
    
         
            -
                #   The IP permissions for the security group rule.
         
     | 
| 
      
 42829 
     | 
    
         
            +
                # @option params [Array<Types::IpPermission>] :ip_permissions
         
     | 
| 
      
 42830 
     | 
    
         
            +
                #   The IP permissions for the security group rule. You must specify
         
     | 
| 
      
 42831 
     | 
    
         
            +
                #   either the IP permissions or the description.
         
     | 
| 
      
 42832 
     | 
    
         
            +
                #
         
     | 
| 
      
 42833 
     | 
    
         
            +
                # @option params [Array<Types::SecurityGroupRuleDescription>] :security_group_rule_descriptions
         
     | 
| 
      
 42834 
     | 
    
         
            +
                #   The description for the egress security group rules. You must specify
         
     | 
| 
      
 42835 
     | 
    
         
            +
                #   either the description or the IP permissions.
         
     | 
| 
       42015 
42836 
     | 
    
         
             
                #
         
     | 
| 
       42016 
42837 
     | 
    
         
             
                # @return [Types::UpdateSecurityGroupRuleDescriptionsEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       42017 
42838 
     | 
    
         
             
                #
         
     | 
| 
         @@ -42049,7 +42870,7 @@ module Aws::EC2 
     | 
|
| 
       42049 
42870 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       42050 
42871 
     | 
    
         
             
                #     group_id: "SecurityGroupId",
         
     | 
| 
       42051 
42872 
     | 
    
         
             
                #     group_name: "SecurityGroupName",
         
     | 
| 
       42052 
     | 
    
         
            -
                #     ip_permissions: [ 
     | 
| 
      
 42873 
     | 
    
         
            +
                #     ip_permissions: [
         
     | 
| 
       42053 
42874 
     | 
    
         
             
                #       {
         
     | 
| 
       42054 
42875 
     | 
    
         
             
                #         from_port: 1,
         
     | 
| 
       42055 
42876 
     | 
    
         
             
                #         ip_protocol: "String",
         
     | 
| 
         @@ -42085,6 +42906,12 @@ module Aws::EC2 
     | 
|
| 
       42085 
42906 
     | 
    
         
             
                #         ],
         
     | 
| 
       42086 
42907 
     | 
    
         
             
                #       },
         
     | 
| 
       42087 
42908 
     | 
    
         
             
                #     ],
         
     | 
| 
      
 42909 
     | 
    
         
            +
                #     security_group_rule_descriptions: [
         
     | 
| 
      
 42910 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 42911 
     | 
    
         
            +
                #         security_group_rule_id: "String",
         
     | 
| 
      
 42912 
     | 
    
         
            +
                #         description: "String",
         
     | 
| 
      
 42913 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 42914 
     | 
    
         
            +
                #     ],
         
     | 
| 
       42088 
42915 
     | 
    
         
             
                #   })
         
     | 
| 
       42089 
42916 
     | 
    
         
             
                #
         
     | 
| 
       42090 
42917 
     | 
    
         
             
                # @example Response structure
         
     | 
| 
         @@ -42102,11 +42929,9 @@ module Aws::EC2 
     | 
|
| 
       42102 
42929 
     | 
    
         | 
| 
       42103 
42930 
     | 
    
         
             
                # Updates the description of an ingress (inbound) security group rule.
         
     | 
| 
       42104 
42931 
     | 
    
         
             
                # You can replace an existing description, or add a description to a
         
     | 
| 
       42105 
     | 
    
         
            -
                # rule that did not have one previously.
         
     | 
| 
       42106 
     | 
    
         
            -
                #
         
     | 
| 
       42107 
     | 
    
         
            -
                #  
     | 
| 
       42108 
     | 
    
         
            -
                # You can remove a description for a security group rule by omitting the
         
     | 
| 
       42109 
     | 
    
         
            -
                # description parameter in the request.
         
     | 
| 
      
 42932 
     | 
    
         
            +
                # rule that did not have one previously. You can remove a description
         
     | 
| 
      
 42933 
     | 
    
         
            +
                # for a security group rule by omitting the description parameter in the
         
     | 
| 
      
 42934 
     | 
    
         
            +
                # request.
         
     | 
| 
       42110 
42935 
     | 
    
         
             
                #
         
     | 
| 
       42111 
42936 
     | 
    
         
             
                # @option params [Boolean] :dry_run
         
     | 
| 
       42112 
42937 
     | 
    
         
             
                #   Checks whether you have the required permissions for the action,
         
     | 
| 
         @@ -42124,8 +42949,13 @@ module Aws::EC2 
     | 
|
| 
       42124 
42949 
     | 
    
         
             
                #   specify either the security group ID or the security group name in the
         
     | 
| 
       42125 
42950 
     | 
    
         
             
                #   request.
         
     | 
| 
       42126 
42951 
     | 
    
         
             
                #
         
     | 
| 
       42127 
     | 
    
         
            -
                # @option params [ 
     | 
| 
       42128 
     | 
    
         
            -
                #   The IP permissions for the security group rule.
         
     | 
| 
      
 42952 
     | 
    
         
            +
                # @option params [Array<Types::IpPermission>] :ip_permissions
         
     | 
| 
      
 42953 
     | 
    
         
            +
                #   The IP permissions for the security group rule. You must specify
         
     | 
| 
      
 42954 
     | 
    
         
            +
                #   either IP permissions or a description.
         
     | 
| 
      
 42955 
     | 
    
         
            +
                #
         
     | 
| 
      
 42956 
     | 
    
         
            +
                # @option params [Array<Types::SecurityGroupRuleDescription>] :security_group_rule_descriptions
         
     | 
| 
      
 42957 
     | 
    
         
            +
                #   \[VPC only\] The description for the ingress security group rules. You
         
     | 
| 
      
 42958 
     | 
    
         
            +
                #   must specify either a description or IP permissions.
         
     | 
| 
       42129 
42959 
     | 
    
         
             
                #
         
     | 
| 
       42130 
42960 
     | 
    
         
             
                # @return [Types::UpdateSecurityGroupRuleDescriptionsIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
       42131 
42961 
     | 
    
         
             
                #
         
     | 
| 
         @@ -42163,7 +42993,7 @@ module Aws::EC2 
     | 
|
| 
       42163 
42993 
     | 
    
         
             
                #     dry_run: false,
         
     | 
| 
       42164 
42994 
     | 
    
         
             
                #     group_id: "SecurityGroupId",
         
     | 
| 
       42165 
42995 
     | 
    
         
             
                #     group_name: "SecurityGroupName",
         
     | 
| 
       42166 
     | 
    
         
            -
                #     ip_permissions: [ 
     | 
| 
      
 42996 
     | 
    
         
            +
                #     ip_permissions: [
         
     | 
| 
       42167 
42997 
     | 
    
         
             
                #       {
         
     | 
| 
       42168 
42998 
     | 
    
         
             
                #         from_port: 1,
         
     | 
| 
       42169 
42999 
     | 
    
         
             
                #         ip_protocol: "String",
         
     | 
| 
         @@ -42199,6 +43029,12 @@ module Aws::EC2 
     | 
|
| 
       42199 
43029 
     | 
    
         
             
                #         ],
         
     | 
| 
       42200 
43030 
     | 
    
         
             
                #       },
         
     | 
| 
       42201 
43031 
     | 
    
         
             
                #     ],
         
     | 
| 
      
 43032 
     | 
    
         
            +
                #     security_group_rule_descriptions: [
         
     | 
| 
      
 43033 
     | 
    
         
            +
                #       {
         
     | 
| 
      
 43034 
     | 
    
         
            +
                #         security_group_rule_id: "String",
         
     | 
| 
      
 43035 
     | 
    
         
            +
                #         description: "String",
         
     | 
| 
      
 43036 
     | 
    
         
            +
                #       },
         
     | 
| 
      
 43037 
     | 
    
         
            +
                #     ],
         
     | 
| 
       42202 
43038 
     | 
    
         
             
                #   })
         
     | 
| 
       42203 
43039 
     | 
    
         
             
                #
         
     | 
| 
       42204 
43040 
     | 
    
         
             
                # @example Response structure
         
     | 
| 
         @@ -42273,7 +43109,7 @@ module Aws::EC2 
     | 
|
| 
       42273 
43109 
     | 
    
         
             
                    params: params,
         
     | 
| 
       42274 
43110 
     | 
    
         
             
                    config: config)
         
     | 
| 
       42275 
43111 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-ec2'
         
     | 
| 
       42276 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 43112 
     | 
    
         
            +
                  context[:gem_version] = '1.250.0'
         
     | 
| 
       42277 
43113 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       42278 
43114 
     | 
    
         
             
                end
         
     | 
| 
       42279 
43115 
     | 
    
         |