aws-sdk-ec2 1.317.0 → 1.320.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +78 -27
- data/lib/aws-sdk-ec2/client_api.rb +9 -1
- data/lib/aws-sdk-ec2/placement_group.rb +7 -0
- data/lib/aws-sdk-ec2/resource.rb +13 -0
- data/lib/aws-sdk-ec2/types.rb +145 -44
- data/lib/aws-sdk-ec2/vpc.rb +3 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- 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: 0c48529eb8484a61aba7af93999de4bea093cf8ffa3b94b2bd9f5b84fd3d366f
         | 
| 4 | 
            +
              data.tar.gz: 47228792e5b8c8963d69d5cbd781ddfbd0ce0a86c1e785e3d067d2d98be02147
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 30327b8eba350f26ccf79cb2c5be153d4b032a37185a87d5313f449f482c16ecef675eaf3b10bb0cd6454a489454b578148e9ceff24abc9f8fca5dc9967cfb76
         | 
| 7 | 
            +
              data.tar.gz: 9d011b8cd4120a0fc6ecce7f271d72521778cfb58d8907e1752050c223d3b0f8b78a008f103d03866a83d691e483d052a9deb72c848da9dac55249ccd453c9ba
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,21 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.320.0 (2022-06-28)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - This release adds a new spread placement group to EC2 Placement Groups: host level spread, which spread instances between physical hosts, available to Outpost customers only. CreatePlacementGroup and DescribePlacementGroups APIs were updated with a new parameter: SpreadLevel to support this feature.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            1.319.0 (2022-06-21)
         | 
| 10 | 
            +
            ------------------
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Feature - This release adds support for Private IP VPNs, a new feature allowing S2S VPN connections to use private ip addresses as the tunnel outside ip address over Direct Connect as transport.
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            1.318.0 (2022-06-13)
         | 
| 15 | 
            +
            ------------------
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 18 | 
            +
             | 
| 4 19 | 
             
            1.317.0 (2022-05-26)
         | 
| 5 20 | 
             
            ------------------
         | 
| 6 21 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.320.0
         | 
    
        data/lib/aws-sdk-ec2/client.rb
    CHANGED
    
    | @@ -4294,8 +4294,7 @@ module Aws::EC2 | |
| 4294 4294 | 
             
                #   instance.
         | 
| 4295 4295 | 
             
                #
         | 
| 4296 4296 | 
             
                # @option params [Boolean] :ephemeral_storage
         | 
| 4297 | 
            -
                #    | 
| 4298 | 
            -
                #   temporary, block-level storage.
         | 
| 4297 | 
            +
                #   *Deprecated.*
         | 
| 4299 4298 | 
             
                #
         | 
| 4300 4299 | 
             
                # @option params [Time,DateTime,Date,Integer,String] :end_date
         | 
| 4301 4300 | 
             
                #   The date and time at which the Capacity Reservation expires. When a
         | 
| @@ -4970,13 +4969,12 @@ module Aws::EC2 | |
| 4970 4969 | 
             
                  req.send_request(options)
         | 
| 4971 4970 | 
             
                end
         | 
| 4972 4971 |  | 
| 4973 | 
            -
                # Provides information to Amazon Web Services about your  | 
| 4974 | 
            -
                # gateway device. The customer gateway is the appliance at your | 
| 4975 | 
            -
                # the VPN connection.  | 
| 4976 | 
            -
                #  | 
| 4977 | 
            -
                #  | 
| 4978 | 
            -
                #  | 
| 4979 | 
            -
                # performing network address translation (NAT).
         | 
| 4972 | 
            +
                # Provides information to Amazon Web Services about your customer
         | 
| 4973 | 
            +
                # gateway device. The customer gateway device is the appliance at your
         | 
| 4974 | 
            +
                # end of the VPN connection. You must provide the IP address of the
         | 
| 4975 | 
            +
                # customer gateway device’s external interface. The IP address must be
         | 
| 4976 | 
            +
                # static and can be behind a device performing network address
         | 
| 4977 | 
            +
                # translation (NAT).
         | 
| 4980 4978 | 
             
                #
         | 
| 4981 4979 | 
             
                # For devices that use Border Gateway Protocol (BGP), you can also
         | 
| 4982 4980 | 
             
                # provide the device's BGP Autonomous System Number (ASN). You can use
         | 
| @@ -5000,8 +4998,9 @@ module Aws::EC2 | |
| 5000 4998 | 
             
                #   Default: 65000
         | 
| 5001 4999 | 
             
                #
         | 
| 5002 5000 | 
             
                # @option params [String] :public_ip
         | 
| 5003 | 
            -
                #   The Internet-routable IP address | 
| 5004 | 
            -
                #   interface. The address must be | 
| 5001 | 
            +
                #   *This member has been deprecated.* The Internet-routable IP address
         | 
| 5002 | 
            +
                #   for the customer gateway's outside interface. The address must be
         | 
| 5003 | 
            +
                #   static.
         | 
| 5005 5004 | 
             
                #
         | 
| 5006 5005 | 
             
                # @option params [String] :certificate_arn
         | 
| 5007 5006 | 
             
                #   The Amazon Resource Name (ARN) for the customer gateway certificate.
         | 
| @@ -5018,6 +5017,10 @@ module Aws::EC2 | |
| 5018 5017 | 
             
                #
         | 
| 5019 5018 | 
             
                #   Length Constraints: Up to 255 characters.
         | 
| 5020 5019 | 
             
                #
         | 
| 5020 | 
            +
                # @option params [String] :ip_address
         | 
| 5021 | 
            +
                #   IPv4 address for the customer gateway device's outside interface. The
         | 
| 5022 | 
            +
                #   address must be static.
         | 
| 5023 | 
            +
                #
         | 
| 5021 5024 | 
             
                # @option params [Boolean] :dry_run
         | 
| 5022 5025 | 
             
                #   Checks whether you have the required permissions for the action,
         | 
| 5023 5026 | 
             
                #   without actually making the request, and provides an error response.
         | 
| @@ -5069,6 +5072,7 @@ module Aws::EC2 | |
| 5069 5072 | 
             
                #       },
         | 
| 5070 5073 | 
             
                #     ],
         | 
| 5071 5074 | 
             
                #     device_name: "String",
         | 
| 5075 | 
            +
                #     ip_address: "String",
         | 
| 5072 5076 | 
             
                #     dry_run: false,
         | 
| 5073 5077 | 
             
                #   })
         | 
| 5074 5078 | 
             
                #
         | 
| @@ -7113,7 +7117,18 @@ module Aws::EC2 | |
| 7113 7117 | 
             
                #   The information for the launch template.
         | 
| 7114 7118 | 
             
                #
         | 
| 7115 7119 | 
             
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         | 
| 7116 | 
            -
                #   The tags to apply to the launch template  | 
| 7120 | 
            +
                #   The tags to apply to the launch template on creation. To tag the
         | 
| 7121 | 
            +
                #   launch template, the resource type must be `launch-template`.
         | 
| 7122 | 
            +
                #
         | 
| 7123 | 
            +
                #   <note markdown="1"> To specify the tags for the resources that are created when an
         | 
| 7124 | 
            +
                #   instance is launched, you must use the `TagSpecifications` parameter
         | 
| 7125 | 
            +
                #   in the [launch template data][1] structure.
         | 
| 7126 | 
            +
                #
         | 
| 7127 | 
            +
                #    </note>
         | 
| 7128 | 
            +
                #
         | 
| 7129 | 
            +
                #
         | 
| 7130 | 
            +
                #
         | 
| 7131 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html
         | 
| 7117 7132 | 
             
                #
         | 
| 7118 7133 | 
             
                # @return [Types::CreateLaunchTemplateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 7119 7134 | 
             
                #
         | 
| @@ -9219,6 +9234,13 @@ module Aws::EC2 | |
| 9219 9234 | 
             
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         | 
| 9220 9235 | 
             
                #   The tags to apply to the new placement group.
         | 
| 9221 9236 | 
             
                #
         | 
| 9237 | 
            +
                # @option params [String] :spread_level
         | 
| 9238 | 
            +
                #   Determines how placement groups spread instances.
         | 
| 9239 | 
            +
                #
         | 
| 9240 | 
            +
                #   * Host – You can use `host` only with Outpost placement groups.
         | 
| 9241 | 
            +
                #
         | 
| 9242 | 
            +
                #   * Rack – No usage restrictions.
         | 
| 9243 | 
            +
                #
         | 
| 9222 9244 | 
             
                # @return [Types::CreatePlacementGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 9223 9245 | 
             
                #
         | 
| 9224 9246 | 
             
                #   * {Types::CreatePlacementGroupResult#placement_group #placement_group} => Types::PlacementGroup
         | 
| @@ -9255,6 +9277,7 @@ module Aws::EC2 | |
| 9255 9277 | 
             
                #         ],
         | 
| 9256 9278 | 
             
                #       },
         | 
| 9257 9279 | 
             
                #     ],
         | 
| 9280 | 
            +
                #     spread_level: "host", # accepts host, rack
         | 
| 9258 9281 | 
             
                #   })
         | 
| 9259 9282 | 
             
                #
         | 
| 9260 9283 | 
             
                # @example Response structure
         | 
| @@ -9268,6 +9291,7 @@ module Aws::EC2 | |
| 9268 9291 | 
             
                #   resp.placement_group.tags[0].key #=> String
         | 
| 9269 9292 | 
             
                #   resp.placement_group.tags[0].value #=> String
         | 
| 9270 9293 | 
             
                #   resp.placement_group.group_arn #=> String
         | 
| 9294 | 
            +
                #   resp.placement_group.spread_level #=> String, one of "host", "rack"
         | 
| 9271 9295 | 
             
                #
         | 
| 9272 9296 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup AWS API Documentation
         | 
| 9273 9297 | 
             
                #
         | 
| @@ -9607,10 +9631,9 @@ module Aws::EC2 | |
| 9607 9631 |  | 
| 9608 9632 | 
             
                # Creates a route in a route table within a VPC.
         | 
| 9609 9633 | 
             
                #
         | 
| 9610 | 
            -
                # You must specify  | 
| 9611 | 
            -
                #  | 
| 9612 | 
            -
                #  | 
| 9613 | 
            -
                # transit gateway.
         | 
| 9634 | 
            +
                # You must specify either a destination CIDR block or a prefix list ID.
         | 
| 9635 | 
            +
                # You must also specify exactly one of the resources from the parameter
         | 
| 9636 | 
            +
                # list.
         | 
| 9614 9637 | 
             
                #
         | 
| 9615 9638 | 
             
                # When determining how to route traffic, we use the route with the most
         | 
| 9616 9639 | 
             
                # specific match. For example, traffic is destined for the IPv4 address
         | 
| @@ -11579,9 +11602,8 @@ module Aws::EC2 | |
| 11579 11602 |  | 
| 11580 11603 | 
             
                # Requests a transit gateway peering attachment between the specified
         | 
| 11581 11604 | 
             
                # transit gateway (requester) and a peer transit gateway (accepter). The
         | 
| 11582 | 
            -
                # transit  | 
| 11583 | 
            -
                #  | 
| 11584 | 
            -
                # account.
         | 
| 11605 | 
            +
                # peer transit gateway can be in your account or a different Amazon Web
         | 
| 11606 | 
            +
                # Services account.
         | 
| 11585 11607 | 
             
                #
         | 
| 11586 11608 | 
             
                # After you create the peering attachment, the owner of the accepter
         | 
| 11587 11609 | 
             
                # transit gateway must accept the attachment request.
         | 
| @@ -13029,6 +13051,8 @@ module Aws::EC2 | |
| 13029 13051 | 
             
                #       remote_ipv_4_network_cidr: "String",
         | 
| 13030 13052 | 
             
                #       local_ipv_6_network_cidr: "String",
         | 
| 13031 13053 | 
             
                #       remote_ipv_6_network_cidr: "String",
         | 
| 13054 | 
            +
                #       outside_ip_address_type: "String",
         | 
| 13055 | 
            +
                #       transport_transit_gateway_attachment_id: "TransitGatewayAttachmentId",
         | 
| 13032 13056 | 
             
                #     },
         | 
| 13033 13057 | 
             
                #     tag_specifications: [
         | 
| 13034 13058 | 
             
                #       {
         | 
| @@ -13062,6 +13086,8 @@ module Aws::EC2 | |
| 13062 13086 | 
             
                #   resp.vpn_connection.options.remote_ipv_4_network_cidr #=> String
         | 
| 13063 13087 | 
             
                #   resp.vpn_connection.options.local_ipv_6_network_cidr #=> String
         | 
| 13064 13088 | 
             
                #   resp.vpn_connection.options.remote_ipv_6_network_cidr #=> String
         | 
| 13089 | 
            +
                #   resp.vpn_connection.options.outside_ip_address_type #=> String
         | 
| 13090 | 
            +
                #   resp.vpn_connection.options.transport_transit_gateway_attachment_id #=> String
         | 
| 13065 13091 | 
             
                #   resp.vpn_connection.options.tunnel_inside_ip_version #=> String, one of "ipv4", "ipv6"
         | 
| 13066 13092 | 
             
                #   resp.vpn_connection.options.tunnel_options #=> Array
         | 
| 13067 13093 | 
             
                #   resp.vpn_connection.options.tunnel_options[0].outside_ip_address #=> String
         | 
| @@ -18240,8 +18266,8 @@ module Aws::EC2 | |
| 18240 18266 | 
             
                #
         | 
| 18241 18267 | 
             
                #   * `customer-gateway-id` - The ID of the customer gateway.
         | 
| 18242 18268 | 
             
                #
         | 
| 18243 | 
            -
                #   * `ip-address` - The IP address of the customer gateway's
         | 
| 18244 | 
            -
                #      | 
| 18269 | 
            +
                #   * `ip-address` - The IP address of the customer gateway device's
         | 
| 18270 | 
            +
                #     external interface.
         | 
| 18245 18271 | 
             
                #
         | 
| 18246 18272 | 
             
                #   * `state` - The state of the customer gateway (`pending` \|
         | 
| 18247 18273 | 
             
                #     `available` \| `deleting` \| `deleted`).
         | 
| @@ -22067,7 +22093,7 @@ module Aws::EC2 | |
| 22067 22093 | 
             
                #   ec2.describe_instances(filters:[{ name: 'tag-value', values: ['value1', 'value2'] }])
         | 
| 22068 22094 | 
             
                #
         | 
| 22069 22095 | 
             
                #   # filtering by key and value, key equals "key1" and value equals "value1" or "value2"
         | 
| 22070 | 
            -
                #   ec2.describe_instances(filters:[{ name: "tag:key1", values: ['value1'] }])
         | 
| 22096 | 
            +
                #   ec2.describe_instances(filters:[{ name: "tag:key1", values: ['value1', 'value2'] }])
         | 
| 22071 22097 | 
             
                #
         | 
| 22072 22098 | 
             
                # @example Request syntax with placeholder values
         | 
| 22073 22099 | 
             
                #
         | 
| @@ -24104,6 +24130,9 @@ module Aws::EC2 | |
| 24104 24130 | 
             
                #   * `entry.rule-action` - Allows or denies the matching traffic (`allow`
         | 
| 24105 24131 | 
             
                #     \| `deny`).
         | 
| 24106 24132 | 
             
                #
         | 
| 24133 | 
            +
                #   * `entry.egress` - A Boolean that indicates the type of rule. Specify
         | 
| 24134 | 
            +
                #     `true` for egress rules, or `false` for ingress rules.
         | 
| 24135 | 
            +
                #
         | 
| 24107 24136 | 
             
                #   * `entry.rule-number` - The number of an entry (in other words, rule)
         | 
| 24108 24137 | 
             
                #     in the set of ACL entries.
         | 
| 24109 24138 | 
             
                #
         | 
| @@ -25405,6 +25434,9 @@ module Aws::EC2 | |
| 25405 25434 | 
             
                #
         | 
| 25406 25435 | 
             
                #   * `group-arn` - The Amazon Resource Name (ARN) of the placement group.
         | 
| 25407 25436 | 
             
                #
         | 
| 25437 | 
            +
                #   * `spread-level` - The spread level for the placement group (`host` \|
         | 
| 25438 | 
            +
                #     `rack`).
         | 
| 25439 | 
            +
                #
         | 
| 25408 25440 | 
             
                #   * `state` - The state of the placement group (`pending` \| `available`
         | 
| 25409 25441 | 
             
                #     \| `deleting` \| `deleted`).
         | 
| 25410 25442 | 
             
                #
         | 
| @@ -25466,6 +25498,7 @@ module Aws::EC2 | |
| 25466 25498 | 
             
                #   resp.placement_groups[0].tags[0].key #=> String
         | 
| 25467 25499 | 
             
                #   resp.placement_groups[0].tags[0].value #=> String
         | 
| 25468 25500 | 
             
                #   resp.placement_groups[0].group_arn #=> String
         | 
| 25501 | 
            +
                #   resp.placement_groups[0].spread_level #=> String, one of "host", "rack"
         | 
| 25469 25502 | 
             
                #
         | 
| 25470 25503 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups AWS API Documentation
         | 
| 25471 25504 | 
             
                #
         | 
| @@ -32231,6 +32264,8 @@ module Aws::EC2 | |
| 32231 32264 | 
             
                #   resp.vpn_connections[0].options.remote_ipv_4_network_cidr #=> String
         | 
| 32232 32265 | 
             
                #   resp.vpn_connections[0].options.local_ipv_6_network_cidr #=> String
         | 
| 32233 32266 | 
             
                #   resp.vpn_connections[0].options.remote_ipv_6_network_cidr #=> String
         | 
| 32267 | 
            +
                #   resp.vpn_connections[0].options.outside_ip_address_type #=> String
         | 
| 32268 | 
            +
                #   resp.vpn_connections[0].options.transport_transit_gateway_attachment_id #=> String
         | 
| 32234 32269 | 
             
                #   resp.vpn_connections[0].options.tunnel_inside_ip_version #=> String, one of "ipv4", "ipv6"
         | 
| 32235 32270 | 
             
                #   resp.vpn_connections[0].options.tunnel_options #=> Array
         | 
| 32236 32271 | 
             
                #   resp.vpn_connections[0].options.tunnel_options[0].outside_ip_address #=> String
         | 
| @@ -42634,6 +42669,8 @@ module Aws::EC2 | |
| 42634 42669 | 
             
                #   resp.vpn_connection.options.remote_ipv_4_network_cidr #=> String
         | 
| 42635 42670 | 
             
                #   resp.vpn_connection.options.local_ipv_6_network_cidr #=> String
         | 
| 42636 42671 | 
             
                #   resp.vpn_connection.options.remote_ipv_6_network_cidr #=> String
         | 
| 42672 | 
            +
                #   resp.vpn_connection.options.outside_ip_address_type #=> String
         | 
| 42673 | 
            +
                #   resp.vpn_connection.options.transport_transit_gateway_attachment_id #=> String
         | 
| 42637 42674 | 
             
                #   resp.vpn_connection.options.tunnel_inside_ip_version #=> String, one of "ipv4", "ipv6"
         | 
| 42638 42675 | 
             
                #   resp.vpn_connection.options.tunnel_options #=> Array
         | 
| 42639 42676 | 
             
                #   resp.vpn_connection.options.tunnel_options[0].outside_ip_address #=> String
         | 
| @@ -42758,6 +42795,8 @@ module Aws::EC2 | |
| 42758 42795 | 
             
                #   resp.vpn_connection.options.remote_ipv_4_network_cidr #=> String
         | 
| 42759 42796 | 
             
                #   resp.vpn_connection.options.local_ipv_6_network_cidr #=> String
         | 
| 42760 42797 | 
             
                #   resp.vpn_connection.options.remote_ipv_6_network_cidr #=> String
         | 
| 42798 | 
            +
                #   resp.vpn_connection.options.outside_ip_address_type #=> String
         | 
| 42799 | 
            +
                #   resp.vpn_connection.options.transport_transit_gateway_attachment_id #=> String
         | 
| 42761 42800 | 
             
                #   resp.vpn_connection.options.tunnel_inside_ip_version #=> String, one of "ipv4", "ipv6"
         | 
| 42762 42801 | 
             
                #   resp.vpn_connection.options.tunnel_options #=> Array
         | 
| 42763 42802 | 
             
                #   resp.vpn_connection.options.tunnel_options[0].outside_ip_address #=> String
         | 
| @@ -42855,6 +42894,8 @@ module Aws::EC2 | |
| 42855 42894 | 
             
                #   resp.vpn_connection.options.remote_ipv_4_network_cidr #=> String
         | 
| 42856 42895 | 
             
                #   resp.vpn_connection.options.local_ipv_6_network_cidr #=> String
         | 
| 42857 42896 | 
             
                #   resp.vpn_connection.options.remote_ipv_6_network_cidr #=> String
         | 
| 42897 | 
            +
                #   resp.vpn_connection.options.outside_ip_address_type #=> String
         | 
| 42898 | 
            +
                #   resp.vpn_connection.options.transport_transit_gateway_attachment_id #=> String
         | 
| 42858 42899 | 
             
                #   resp.vpn_connection.options.tunnel_inside_ip_version #=> String, one of "ipv4", "ipv6"
         | 
| 42859 42900 | 
             
                #   resp.vpn_connection.options.tunnel_options #=> Array
         | 
| 42860 42901 | 
             
                #   resp.vpn_connection.options.tunnel_options[0].outside_ip_address #=> String
         | 
| @@ -43012,6 +43053,8 @@ module Aws::EC2 | |
| 43012 43053 | 
             
                #   resp.vpn_connection.options.remote_ipv_4_network_cidr #=> String
         | 
| 43013 43054 | 
             
                #   resp.vpn_connection.options.local_ipv_6_network_cidr #=> String
         | 
| 43014 43055 | 
             
                #   resp.vpn_connection.options.remote_ipv_6_network_cidr #=> String
         | 
| 43056 | 
            +
                #   resp.vpn_connection.options.outside_ip_address_type #=> String
         | 
| 43057 | 
            +
                #   resp.vpn_connection.options.transport_transit_gateway_attachment_id #=> String
         | 
| 43015 43058 | 
             
                #   resp.vpn_connection.options.tunnel_inside_ip_version #=> String, one of "ipv4", "ipv6"
         | 
| 43016 43059 | 
             
                #   resp.vpn_connection.options.tunnel_options #=> Array
         | 
| 43017 43060 | 
             
                #   resp.vpn_connection.options.tunnel_options[0].outside_ip_address #=> String
         | 
| @@ -44440,6 +44483,13 @@ module Aws::EC2 | |
| 44440 44483 | 
             
                # you might be able to recover it. For more information, see
         | 
| 44441 44484 | 
             
                # AllocateAddress.
         | 
| 44442 44485 | 
             
                #
         | 
| 44486 | 
            +
                # For more information, see [Elastic IP Addresses][1] in the *Amazon
         | 
| 44487 | 
            +
                # Elastic Compute Cloud User Guide*.
         | 
| 44488 | 
            +
                #
         | 
| 44489 | 
            +
                #
         | 
| 44490 | 
            +
                #
         | 
| 44491 | 
            +
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
         | 
| 44492 | 
            +
                #
         | 
| 44443 44493 | 
             
                # @option params [String] :allocation_id
         | 
| 44444 44494 | 
             
                #   \[EC2-VPC\] The allocation ID. Required for EC2-VPC.
         | 
| 44445 44495 | 
             
                #
         | 
| @@ -44813,10 +44863,11 @@ module Aws::EC2 | |
| 44813 44863 | 
             
                  req.send_request(options)
         | 
| 44814 44864 | 
             
                end
         | 
| 44815 44865 |  | 
| 44816 | 
            -
                # Replaces an existing route within a route table in a VPC. | 
| 44817 | 
            -
                # | 
| 44818 | 
            -
                #  | 
| 44819 | 
            -
                #  | 
| 44866 | 
            +
                # Replaces an existing route within a route table in a VPC.
         | 
| 44867 | 
            +
                #
         | 
| 44868 | 
            +
                # You must specify either a destination CIDR block or a prefix list ID.
         | 
| 44869 | 
            +
                # You must also specify exactly one of the resources from the parameter
         | 
| 44870 | 
            +
                # list, or reset the local route to its default target.
         | 
| 44820 44871 | 
             
                #
         | 
| 44821 44872 | 
             
                # For more information, see [Route tables][1] in the *Amazon Virtual
         | 
| 44822 44873 | 
             
                # Private Cloud User Guide*.
         | 
| @@ -49695,7 +49746,7 @@ module Aws::EC2 | |
| 49695 49746 | 
             
                    params: params,
         | 
| 49696 49747 | 
             
                    config: config)
         | 
| 49697 49748 | 
             
                  context[:gem_name] = 'aws-sdk-ec2'
         | 
| 49698 | 
            -
                  context[:gem_version] = '1. | 
| 49749 | 
            +
                  context[:gem_version] = '1.320.0'
         | 
| 49699 49750 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 49700 49751 | 
             
                end
         | 
| 49701 49752 |  | 
| @@ -2350,6 +2350,7 @@ module Aws::EC2 | |
| 2350 2350 | 
             
                SpotPlacementScoresTargetCapacity = Shapes::IntegerShape.new(name: 'SpotPlacementScoresTargetCapacity')
         | 
| 2351 2351 | 
             
                SpotPrice = Shapes::StructureShape.new(name: 'SpotPrice')
         | 
| 2352 2352 | 
             
                SpotPriceHistoryList = Shapes::ListShape.new(name: 'SpotPriceHistoryList')
         | 
| 2353 | 
            +
                SpreadLevel = Shapes::StringShape.new(name: 'SpreadLevel')
         | 
| 2353 2354 | 
             
                StaleIpPermission = Shapes::StructureShape.new(name: 'StaleIpPermission')
         | 
| 2354 2355 | 
             
                StaleIpPermissionSet = Shapes::ListShape.new(name: 'StaleIpPermissionSet')
         | 
| 2355 2356 | 
             
                StaleSecurityGroup = Shapes::StructureShape.new(name: 'StaleSecurityGroup')
         | 
| @@ -3890,11 +3891,12 @@ module Aws::EC2 | |
| 3890 3891 | 
             
                CreateClientVpnRouteResult.struct_class = Types::CreateClientVpnRouteResult
         | 
| 3891 3892 |  | 
| 3892 3893 | 
             
                CreateCustomerGatewayRequest.add_member(:bgp_asn, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "BgpAsn"))
         | 
| 3893 | 
            -
                CreateCustomerGatewayRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: " | 
| 3894 | 
            +
                CreateCustomerGatewayRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "PublicIp"))
         | 
| 3894 3895 | 
             
                CreateCustomerGatewayRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "CertificateArn"))
         | 
| 3895 3896 | 
             
                CreateCustomerGatewayRequest.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, required: true, location_name: "Type"))
         | 
| 3896 3897 | 
             
                CreateCustomerGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
         | 
| 3897 3898 | 
             
                CreateCustomerGatewayRequest.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "DeviceName"))
         | 
| 3899 | 
            +
                CreateCustomerGatewayRequest.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "IpAddress"))
         | 
| 3898 3900 | 
             
                CreateCustomerGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
         | 
| 3899 3901 | 
             
                CreateCustomerGatewayRequest.struct_class = Types::CreateCustomerGatewayRequest
         | 
| 3900 3902 |  | 
| @@ -4239,6 +4241,7 @@ module Aws::EC2 | |
| 4239 4241 | 
             
                CreatePlacementGroupRequest.add_member(:strategy, Shapes::ShapeRef.new(shape: PlacementStrategy, location_name: "strategy"))
         | 
| 4240 4242 | 
             
                CreatePlacementGroupRequest.add_member(:partition_count, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionCount"))
         | 
| 4241 4243 | 
             
                CreatePlacementGroupRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
         | 
| 4244 | 
            +
                CreatePlacementGroupRequest.add_member(:spread_level, Shapes::ShapeRef.new(shape: SpreadLevel, location_name: "SpreadLevel"))
         | 
| 4242 4245 | 
             
                CreatePlacementGroupRequest.struct_class = Types::CreatePlacementGroupRequest
         | 
| 4243 4246 |  | 
| 4244 4247 | 
             
                CreatePlacementGroupResult.add_member(:placement_group, Shapes::ShapeRef.new(shape: PlacementGroup, location_name: "placementGroup"))
         | 
| @@ -10567,6 +10570,7 @@ module Aws::EC2 | |
| 10567 10570 | 
             
                PlacementGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
         | 
| 10568 10571 | 
             
                PlacementGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
         | 
| 10569 10572 | 
             
                PlacementGroup.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "groupArn"))
         | 
| 10573 | 
            +
                PlacementGroup.add_member(:spread_level, Shapes::ShapeRef.new(shape: SpreadLevel, location_name: "spreadLevel"))
         | 
| 10570 10574 | 
             
                PlacementGroup.struct_class = Types::PlacementGroup
         | 
| 10571 10575 |  | 
| 10572 10576 | 
             
                PlacementGroupIdStringList.member = Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "GroupId")
         | 
| @@ -13197,6 +13201,8 @@ module Aws::EC2 | |
| 13197 13201 | 
             
                VpnConnectionOptions.add_member(:remote_ipv_4_network_cidr, Shapes::ShapeRef.new(shape: String, location_name: "remoteIpv4NetworkCidr"))
         | 
| 13198 13202 | 
             
                VpnConnectionOptions.add_member(:local_ipv_6_network_cidr, Shapes::ShapeRef.new(shape: String, location_name: "localIpv6NetworkCidr"))
         | 
| 13199 13203 | 
             
                VpnConnectionOptions.add_member(:remote_ipv_6_network_cidr, Shapes::ShapeRef.new(shape: String, location_name: "remoteIpv6NetworkCidr"))
         | 
| 13204 | 
            +
                VpnConnectionOptions.add_member(:outside_ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "outsideIpAddressType"))
         | 
| 13205 | 
            +
                VpnConnectionOptions.add_member(:transport_transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: String, location_name: "transportTransitGatewayAttachmentId"))
         | 
| 13200 13206 | 
             
                VpnConnectionOptions.add_member(:tunnel_inside_ip_version, Shapes::ShapeRef.new(shape: TunnelInsideIpVersion, location_name: "tunnelInsideIpVersion"))
         | 
| 13201 13207 | 
             
                VpnConnectionOptions.add_member(:tunnel_options, Shapes::ShapeRef.new(shape: TunnelOptionsList, location_name: "tunnelOptionSet"))
         | 
| 13202 13208 | 
             
                VpnConnectionOptions.struct_class = Types::VpnConnectionOptions
         | 
| @@ -13209,6 +13215,8 @@ module Aws::EC2 | |
| 13209 13215 | 
             
                VpnConnectionOptionsSpecification.add_member(:remote_ipv_4_network_cidr, Shapes::ShapeRef.new(shape: String, location_name: "RemoteIpv4NetworkCidr"))
         | 
| 13210 13216 | 
             
                VpnConnectionOptionsSpecification.add_member(:local_ipv_6_network_cidr, Shapes::ShapeRef.new(shape: String, location_name: "LocalIpv6NetworkCidr"))
         | 
| 13211 13217 | 
             
                VpnConnectionOptionsSpecification.add_member(:remote_ipv_6_network_cidr, Shapes::ShapeRef.new(shape: String, location_name: "RemoteIpv6NetworkCidr"))
         | 
| 13218 | 
            +
                VpnConnectionOptionsSpecification.add_member(:outside_ip_address_type, Shapes::ShapeRef.new(shape: String, location_name: "OutsideIpAddressType"))
         | 
| 13219 | 
            +
                VpnConnectionOptionsSpecification.add_member(:transport_transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "TransportTransitGatewayAttachmentId"))
         | 
| 13212 13220 | 
             
                VpnConnectionOptionsSpecification.struct_class = Types::VpnConnectionOptionsSpecification
         | 
| 13213 13221 |  | 
| 13214 13222 | 
             
                VpnGateway.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
         | 
| @@ -72,6 +72,13 @@ module Aws::EC2 | |
| 72 72 | 
             
                  data[:group_arn]
         | 
| 73 73 | 
             
                end
         | 
| 74 74 |  | 
| 75 | 
            +
                # The spread level for the placement group. *Only* Outpost placement
         | 
| 76 | 
            +
                # groups can be spread across hosts.
         | 
| 77 | 
            +
                # @return [String]
         | 
| 78 | 
            +
                def spread_level
         | 
| 79 | 
            +
                  data[:spread_level]
         | 
| 80 | 
            +
                end
         | 
| 81 | 
            +
             | 
| 75 82 | 
             
                # @!endgroup
         | 
| 76 83 |  | 
| 77 84 | 
             
                # @return [Client]
         | 
    
        data/lib/aws-sdk-ec2/resource.rb
    CHANGED
    
    | @@ -916,6 +916,7 @@ module Aws::EC2 | |
| 916 916 | 
             
                #         ],
         | 
| 917 917 | 
             
                #       },
         | 
| 918 918 | 
             
                #     ],
         | 
| 919 | 
            +
                #     spread_level: "host", # accepts host, rack
         | 
| 919 920 | 
             
                #   })
         | 
| 920 921 | 
             
                # @param [Hash] options ({})
         | 
| 921 922 | 
             
                # @option options [Boolean] :dry_run
         | 
| @@ -935,6 +936,12 @@ module Aws::EC2 | |
| 935 936 | 
             
                #   `partition`.
         | 
| 936 937 | 
             
                # @option options [Array<Types::TagSpecification>] :tag_specifications
         | 
| 937 938 | 
             
                #   The tags to apply to the new placement group.
         | 
| 939 | 
            +
                # @option options [String] :spread_level
         | 
| 940 | 
            +
                #   Determines how placement groups spread instances.
         | 
| 941 | 
            +
                #
         | 
| 942 | 
            +
                #   * Host – You can use `host` only with Outpost placement groups.
         | 
| 943 | 
            +
                #
         | 
| 944 | 
            +
                #   * Rack – No usage restrictions.
         | 
| 938 945 | 
             
                # @return [PlacementGroup]
         | 
| 939 946 | 
             
                def create_placement_group(options = {})
         | 
| 940 947 | 
             
                  @client.create_placement_group(options)
         | 
| @@ -2742,6 +2749,9 @@ module Aws::EC2 | |
| 2742 2749 | 
             
                #   * `entry.rule-action` - Allows or denies the matching traffic (`allow`
         | 
| 2743 2750 | 
             
                #     \| `deny`).
         | 
| 2744 2751 | 
             
                #
         | 
| 2752 | 
            +
                #   * `entry.egress` - A Boolean that indicates the type of rule. Specify
         | 
| 2753 | 
            +
                #     `true` for egress rules, or `false` for ingress rules.
         | 
| 2754 | 
            +
                #
         | 
| 2745 2755 | 
             
                #   * `entry.rule-number` - The number of an entry (in other words, rule)
         | 
| 2746 2756 | 
             
                #     in the set of ACL entries.
         | 
| 2747 2757 | 
             
                #
         | 
| @@ -2986,6 +2996,9 @@ module Aws::EC2 | |
| 2986 2996 | 
             
                #
         | 
| 2987 2997 | 
             
                #   * `group-arn` - The Amazon Resource Name (ARN) of the placement group.
         | 
| 2988 2998 | 
             
                #
         | 
| 2999 | 
            +
                #   * `spread-level` - The spread level for the placement group (`host` \|
         | 
| 3000 | 
            +
                #     `rack`).
         | 
| 3001 | 
            +
                #
         | 
| 2989 3002 | 
             
                #   * `state` - The state of the placement group (`pending` \| `available`
         | 
| 2990 3003 | 
             
                #     \| `deleting` \| `deleted`).
         | 
| 2991 3004 | 
             
                #
         | 
    
        data/lib/aws-sdk-ec2/types.rb
    CHANGED
    
    | @@ -4348,8 +4348,7 @@ module Aws::EC2 | |
| 4348 4348 | 
             
                #   @return [Boolean]
         | 
| 4349 4349 | 
             
                #
         | 
| 4350 4350 | 
             
                # @!attribute [rw] ephemeral_storage
         | 
| 4351 | 
            -
                #    | 
| 4352 | 
            -
                #   temporary, block-level storage.
         | 
| 4351 | 
            +
                #   *Deprecated.*
         | 
| 4353 4352 | 
             
                #   @return [Boolean]
         | 
| 4354 4353 | 
             
                #
         | 
| 4355 4354 | 
             
                # @!attribute [rw] state
         | 
| @@ -6766,8 +6765,7 @@ module Aws::EC2 | |
| 6766 6765 | 
             
                #   @return [Boolean]
         | 
| 6767 6766 | 
             
                #
         | 
| 6768 6767 | 
             
                # @!attribute [rw] ephemeral_storage
         | 
| 6769 | 
            -
                #    | 
| 6770 | 
            -
                #   temporary, block-level storage.
         | 
| 6768 | 
            +
                #   *Deprecated.*
         | 
| 6771 6769 | 
             
                #   @return [Boolean]
         | 
| 6772 6770 | 
             
                #
         | 
| 6773 6771 | 
             
                # @!attribute [rw] end_date
         | 
| @@ -7309,6 +7307,7 @@ module Aws::EC2 | |
| 7309 7307 | 
             
                #           },
         | 
| 7310 7308 | 
             
                #         ],
         | 
| 7311 7309 | 
             
                #         device_name: "String",
         | 
| 7310 | 
            +
                #         ip_address: "String",
         | 
| 7312 7311 | 
             
                #         dry_run: false,
         | 
| 7313 7312 | 
             
                #       }
         | 
| 7314 7313 | 
             
                #
         | 
| @@ -7319,8 +7318,9 @@ module Aws::EC2 | |
| 7319 7318 | 
             
                #   @return [Integer]
         | 
| 7320 7319 | 
             
                #
         | 
| 7321 7320 | 
             
                # @!attribute [rw] public_ip
         | 
| 7322 | 
            -
                #   The Internet-routable IP address | 
| 7323 | 
            -
                #   interface. The address must be | 
| 7321 | 
            +
                #   *This member has been deprecated.* The Internet-routable IP address
         | 
| 7322 | 
            +
                #   for the customer gateway's outside interface. The address must be
         | 
| 7323 | 
            +
                #   static.
         | 
| 7324 7324 | 
             
                #   @return [String]
         | 
| 7325 7325 | 
             
                #
         | 
| 7326 7326 | 
             
                # @!attribute [rw] certificate_arn
         | 
| @@ -7342,6 +7342,11 @@ module Aws::EC2 | |
| 7342 7342 | 
             
                #   Length Constraints: Up to 255 characters.
         | 
| 7343 7343 | 
             
                #   @return [String]
         | 
| 7344 7344 | 
             
                #
         | 
| 7345 | 
            +
                # @!attribute [rw] ip_address
         | 
| 7346 | 
            +
                #   IPv4 address for the customer gateway device's outside interface.
         | 
| 7347 | 
            +
                #   The address must be static.
         | 
| 7348 | 
            +
                #   @return [String]
         | 
| 7349 | 
            +
                #
         | 
| 7345 7350 | 
             
                # @!attribute [rw] dry_run
         | 
| 7346 7351 | 
             
                #   Checks whether you have the required permissions for the action,
         | 
| 7347 7352 | 
             
                #   without actually making the request, and provides an error response.
         | 
| @@ -7358,6 +7363,7 @@ module Aws::EC2 | |
| 7358 7363 | 
             
                  :type,
         | 
| 7359 7364 | 
             
                  :tag_specifications,
         | 
| 7360 7365 | 
             
                  :device_name,
         | 
| 7366 | 
            +
                  :ip_address,
         | 
| 7361 7367 | 
             
                  :dry_run)
         | 
| 7362 7368 | 
             
                  SENSITIVE = []
         | 
| 7363 7369 | 
             
                  include Aws::Structure
         | 
| @@ -9309,7 +9315,18 @@ module Aws::EC2 | |
| 9309 9315 | 
             
                #   @return [Types::RequestLaunchTemplateData]
         | 
| 9310 9316 | 
             
                #
         | 
| 9311 9317 | 
             
                # @!attribute [rw] tag_specifications
         | 
| 9312 | 
            -
                #   The tags to apply to the launch template  | 
| 9318 | 
            +
                #   The tags to apply to the launch template on creation. To tag the
         | 
| 9319 | 
            +
                #   launch template, the resource type must be `launch-template`.
         | 
| 9320 | 
            +
                #
         | 
| 9321 | 
            +
                #   <note markdown="1"> To specify the tags for the resources that are created when an
         | 
| 9322 | 
            +
                #   instance is launched, you must use the `TagSpecifications` parameter
         | 
| 9323 | 
            +
                #   in the [launch template data][1] structure.
         | 
| 9324 | 
            +
                #
         | 
| 9325 | 
            +
                #    </note>
         | 
| 9326 | 
            +
                #
         | 
| 9327 | 
            +
                #
         | 
| 9328 | 
            +
                #
         | 
| 9329 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html
         | 
| 9313 9330 | 
             
                #   @return [Array<Types::TagSpecification>]
         | 
| 9314 9331 | 
             
                #
         | 
| 9315 9332 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateRequest AWS API Documentation
         | 
| @@ -10664,6 +10681,7 @@ module Aws::EC2 | |
| 10664 10681 | 
             
                #             ],
         | 
| 10665 10682 | 
             
                #           },
         | 
| 10666 10683 | 
             
                #         ],
         | 
| 10684 | 
            +
                #         spread_level: "host", # accepts host, rack
         | 
| 10667 10685 | 
             
                #       }
         | 
| 10668 10686 | 
             
                #
         | 
| 10669 10687 | 
             
                # @!attribute [rw] dry_run
         | 
| @@ -10693,6 +10711,14 @@ module Aws::EC2 | |
| 10693 10711 | 
             
                #   The tags to apply to the new placement group.
         | 
| 10694 10712 | 
             
                #   @return [Array<Types::TagSpecification>]
         | 
| 10695 10713 | 
             
                #
         | 
| 10714 | 
            +
                # @!attribute [rw] spread_level
         | 
| 10715 | 
            +
                #   Determines how placement groups spread instances.
         | 
| 10716 | 
            +
                #
         | 
| 10717 | 
            +
                #   * Host – You can use `host` only with Outpost placement groups.
         | 
| 10718 | 
            +
                #
         | 
| 10719 | 
            +
                #   * Rack – No usage restrictions.
         | 
| 10720 | 
            +
                #   @return [String]
         | 
| 10721 | 
            +
                #
         | 
| 10696 10722 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupRequest AWS API Documentation
         | 
| 10697 10723 | 
             
                #
         | 
| 10698 10724 | 
             
                class CreatePlacementGroupRequest < Struct.new(
         | 
| @@ -10700,7 +10726,8 @@ module Aws::EC2 | |
| 10700 10726 | 
             
                  :group_name,
         | 
| 10701 10727 | 
             
                  :strategy,
         | 
| 10702 10728 | 
             
                  :partition_count,
         | 
| 10703 | 
            -
                  :tag_specifications | 
| 10729 | 
            +
                  :tag_specifications,
         | 
| 10730 | 
            +
                  :spread_level)
         | 
| 10704 10731 | 
             
                  SENSITIVE = []
         | 
| 10705 10732 | 
             
                  include Aws::Structure
         | 
| 10706 10733 | 
             
                end
         | 
| @@ -13919,6 +13946,8 @@ module Aws::EC2 | |
| 13919 13946 | 
             
                #           remote_ipv_4_network_cidr: "String",
         | 
| 13920 13947 | 
             
                #           local_ipv_6_network_cidr: "String",
         | 
| 13921 13948 | 
             
                #           remote_ipv_6_network_cidr: "String",
         | 
| 13949 | 
            +
                #           outside_ip_address_type: "String",
         | 
| 13950 | 
            +
                #           transport_transit_gateway_attachment_id: "TransitGatewayAttachmentId",
         | 
| 13922 13951 | 
             
                #         },
         | 
| 13923 13952 | 
             
                #         tag_specifications: [
         | 
| 13924 13953 | 
             
                #           {
         | 
| @@ -14149,8 +14178,7 @@ module Aws::EC2 | |
| 14149 14178 | 
             
                #   @return [String]
         | 
| 14150 14179 | 
             
                #
         | 
| 14151 14180 | 
             
                # @!attribute [rw] ip_address
         | 
| 14152 | 
            -
                #   The  | 
| 14153 | 
            -
                #   interface.
         | 
| 14181 | 
            +
                #   The IP address of the customer gateway device's outside interface.
         | 
| 14154 14182 | 
             
                #   @return [String]
         | 
| 14155 14183 | 
             
                #
         | 
| 14156 14184 | 
             
                # @!attribute [rw] certificate_arn
         | 
| @@ -18578,8 +18606,8 @@ module Aws::EC2 | |
| 18578 18606 | 
             
                #
         | 
| 18579 18607 | 
             
                #   * `customer-gateway-id` - The ID of the customer gateway.
         | 
| 18580 18608 | 
             
                #
         | 
| 18581 | 
            -
                #   * `ip-address` - The IP address of the customer gateway's
         | 
| 18582 | 
            -
                #      | 
| 18609 | 
            +
                #   * `ip-address` - The IP address of the customer gateway device's
         | 
| 18610 | 
            +
                #     external interface.
         | 
| 18583 18611 | 
             
                #
         | 
| 18584 18612 | 
             
                #   * `state` - The state of the customer gateway (`pending` \|
         | 
| 18585 18613 | 
             
                #     `available` \| `deleting` \| `deleted`).
         | 
| @@ -23305,6 +23333,9 @@ module Aws::EC2 | |
| 23305 23333 | 
             
                #   * `entry.rule-action` - Allows or denies the matching traffic
         | 
| 23306 23334 | 
             
                #     (`allow` \| `deny`).
         | 
| 23307 23335 | 
             
                #
         | 
| 23336 | 
            +
                #   * `entry.egress` - A Boolean that indicates the type of rule.
         | 
| 23337 | 
            +
                #     Specify `true` for egress rules, or `false` for ingress rules.
         | 
| 23338 | 
            +
                #
         | 
| 23308 23339 | 
             
                #   * `entry.rule-number` - The number of an entry (in other words,
         | 
| 23309 23340 | 
             
                #     rule) in the set of ACL entries.
         | 
| 23310 23341 | 
             
                #
         | 
| @@ -24087,6 +24118,9 @@ module Aws::EC2 | |
| 24087 24118 | 
             
                #   * `group-arn` - The Amazon Resource Name (ARN) of the placement
         | 
| 24088 24119 | 
             
                #     group.
         | 
| 24089 24120 | 
             
                #
         | 
| 24121 | 
            +
                #   * `spread-level` - The spread level for the placement group (`host`
         | 
| 24122 | 
            +
                #     \| `rack`).
         | 
| 24123 | 
            +
                #
         | 
| 24090 24124 | 
             
                #   * `state` - The state of the placement group (`pending` \|
         | 
| 24091 24125 | 
             
                #     `available` \| `deleting` \| `deleted`).
         | 
| 24092 24126 | 
             
                #
         | 
| @@ -32440,17 +32474,20 @@ module Aws::EC2 | |
| 32440 32474 | 
             
                #     and Amazon EC2 is attempting to maintain the target number of
         | 
| 32441 32475 | 
             
                #     running instances.
         | 
| 32442 32476 | 
             
                #
         | 
| 32443 | 
            -
                #   * ` | 
| 32444 | 
            -
                #      | 
| 32445 | 
            -
                #      | 
| 32477 | 
            +
                #   * `deleted` (EC2 Fleet) / `cancelled` (Spot Fleet) - The EC2 Fleet
         | 
| 32478 | 
            +
                #     is deleted or the Spot Fleet request is canceled and has no
         | 
| 32479 | 
            +
                #     running instances. The EC2 Fleet or Spot Fleet will be deleted two
         | 
| 32480 | 
            +
                #     days after its instances are terminated.
         | 
| 32446 32481 | 
             
                #
         | 
| 32447 | 
            -
                #   * ` | 
| 32448 | 
            -
                #      | 
| 32449 | 
            -
                #      | 
| 32450 | 
            -
                #      | 
| 32451 | 
            -
                #     are interrupted | 
| 32482 | 
            +
                #   * `deleted_running` (EC2 Fleet) / `cancelled_running` (Spot Fleet) -
         | 
| 32483 | 
            +
                #     The EC2 Fleet is deleted or the Spot Fleet request is canceled and
         | 
| 32484 | 
            +
                #     does not launch additional instances. Its existing instances
         | 
| 32485 | 
            +
                #     continue to run until they are interrupted or terminated. The
         | 
| 32486 | 
            +
                #     request remains in this state until all instances are interrupted
         | 
| 32487 | 
            +
                #     or terminated.
         | 
| 32452 32488 | 
             
                #
         | 
| 32453 | 
            -
                #   * ` | 
| 32489 | 
            +
                #   * `deleted_terminating` (EC2 Fleet) / `cancelled_terminating` (Spot
         | 
| 32490 | 
            +
                #     Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is
         | 
| 32454 32491 | 
             
                #     canceled and its instances are terminating. The request remains in
         | 
| 32455 32492 | 
             
                #     this state until all instances are terminated.
         | 
| 32456 32493 | 
             
                #
         | 
| @@ -41352,10 +41389,10 @@ module Aws::EC2 | |
| 41352 41389 | 
             
                #   * For instance types with hard disk drive (HDD) storage, specify
         | 
| 41353 41390 | 
             
                #     `hdd`.
         | 
| 41354 41391 | 
             
                #
         | 
| 41355 | 
            -
                #   * For instance types with solid state drive ( | 
| 41356 | 
            -
                #     ` | 
| 41392 | 
            +
                #   * For instance types with solid state drive (SSD) storage, specify
         | 
| 41393 | 
            +
                #     `ssd`.
         | 
| 41357 41394 | 
             
                #
         | 
| 41358 | 
            -
                #   Default: `hdd` and ` | 
| 41395 | 
            +
                #   Default: `hdd` and `ssd`
         | 
| 41359 41396 | 
             
                #   @return [Array<String>]
         | 
| 41360 41397 | 
             
                #
         | 
| 41361 41398 | 
             
                # @!attribute [rw] total_local_storage_gb
         | 
| @@ -41752,10 +41789,10 @@ module Aws::EC2 | |
| 41752 41789 | 
             
                #   * For instance types with hard disk drive (HDD) storage, specify
         | 
| 41753 41790 | 
             
                #     `hdd`.
         | 
| 41754 41791 | 
             
                #
         | 
| 41755 | 
            -
                #   * For instance types with solid state drive ( | 
| 41756 | 
            -
                #     ` | 
| 41792 | 
            +
                #   * For instance types with solid state drive (SSD) storage, specify
         | 
| 41793 | 
            +
                #     `ssd`.
         | 
| 41757 41794 | 
             
                #
         | 
| 41758 | 
            -
                #   Default: `hdd` and ` | 
| 41795 | 
            +
                #   Default: `hdd` and `ssd`
         | 
| 41759 41796 | 
             
                #   @return [Array<String>]
         | 
| 41760 41797 | 
             
                #
         | 
| 41761 41798 | 
             
                # @!attribute [rw] total_local_storage_gb
         | 
| @@ -45621,10 +45658,10 @@ module Aws::EC2 | |
| 45621 45658 | 
             
                  include Aws::Structure
         | 
| 45622 45659 | 
             
                end
         | 
| 45623 45660 |  | 
| 45624 | 
            -
                # The  | 
| 45661 | 
            +
                # The tags specification for the launch template.
         | 
| 45625 45662 | 
             
                #
         | 
| 45626 45663 | 
             
                # @!attribute [rw] resource_type
         | 
| 45627 | 
            -
                #   The type of resource.
         | 
| 45664 | 
            +
                #   The type of resource to tag.
         | 
| 45628 45665 | 
             
                #   @return [String]
         | 
| 45629 45666 | 
             
                #
         | 
| 45630 45667 | 
             
                # @!attribute [rw] tags
         | 
| @@ -45640,7 +45677,8 @@ module Aws::EC2 | |
| 45640 45677 | 
             
                  include Aws::Structure
         | 
| 45641 45678 | 
             
                end
         | 
| 45642 45679 |  | 
| 45643 | 
            -
                # The tags specification for the  | 
| 45680 | 
            +
                # The tags specification for the resources that are created during
         | 
| 45681 | 
            +
                # instance launch.
         | 
| 45644 45682 | 
             
                #
         | 
| 45645 45683 | 
             
                # @note When making an API call, you may pass LaunchTemplateTagSpecificationRequest
         | 
| 45646 45684 | 
             
                #   data as a hash:
         | 
| @@ -45656,10 +45694,14 @@ module Aws::EC2 | |
| 45656 45694 | 
             
                #       }
         | 
| 45657 45695 | 
             
                #
         | 
| 45658 45696 | 
             
                # @!attribute [rw] resource_type
         | 
| 45659 | 
            -
                #   The type of resource to tag. | 
| 45660 | 
            -
                # | 
| 45661 | 
            -
                #   ` | 
| 45662 | 
            -
                #    | 
| 45697 | 
            +
                #   The type of resource to tag.
         | 
| 45698 | 
            +
                #
         | 
| 45699 | 
            +
                #   The `Valid Values` are all the resource types that can be tagged.
         | 
| 45700 | 
            +
                #   However, when creating a launch template, you can specify tags for
         | 
| 45701 | 
            +
                #   the following resource types only: `instance` \| `volume` \|
         | 
| 45702 | 
            +
                #   `elastic-gpu` \| `network-interface` \| `spot-instances-request`
         | 
| 45703 | 
            +
                #
         | 
| 45704 | 
            +
                #   To tag a resource after it has been created, see [CreateTags][1].
         | 
| 45663 45705 | 
             
                #
         | 
| 45664 45706 | 
             
                #
         | 
| 45665 45707 | 
             
                #
         | 
| @@ -52823,7 +52865,7 @@ module Aws::EC2 | |
| 52823 52865 | 
             
                #   @return [Array<Types::AdditionalDetail>]
         | 
| 52824 52866 | 
             
                #
         | 
| 52825 52867 | 
             
                # @!attribute [rw] transit_gateway
         | 
| 52826 | 
            -
                #    | 
| 52868 | 
            +
                #   The transit gateway.
         | 
| 52827 52869 | 
             
                #   @return [Types::AnalysisComponent]
         | 
| 52828 52870 | 
             
                #
         | 
| 52829 52871 | 
             
                # @!attribute [rw] transit_gateway_route_table_route
         | 
| @@ -53420,6 +53462,11 @@ module Aws::EC2 | |
| 53420 53462 | 
             
                #   The Amazon Resource Name (ARN) of the placement group.
         | 
| 53421 53463 | 
             
                #   @return [String]
         | 
| 53422 53464 | 
             
                #
         | 
| 53465 | 
            +
                # @!attribute [rw] spread_level
         | 
| 53466 | 
            +
                #   The spread level for the placement group. *Only* Outpost placement
         | 
| 53467 | 
            +
                #   groups can be spread across hosts.
         | 
| 53468 | 
            +
                #   @return [String]
         | 
| 53469 | 
            +
                #
         | 
| 53423 53470 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementGroup AWS API Documentation
         | 
| 53424 53471 | 
             
                #
         | 
| 53425 53472 | 
             
                class PlacementGroup < Struct.new(
         | 
| @@ -53429,7 +53476,8 @@ module Aws::EC2 | |
| 53429 53476 | 
             
                  :partition_count,
         | 
| 53430 53477 | 
             
                  :group_id,
         | 
| 53431 53478 | 
             
                  :tags,
         | 
| 53432 | 
            -
                  :group_arn | 
| 53479 | 
            +
                  :group_arn,
         | 
| 53480 | 
            +
                  :spread_level)
         | 
| 53433 53481 | 
             
                  SENSITIVE = []
         | 
| 53434 53482 | 
             
                  include Aws::Structure
         | 
| 53435 53483 | 
             
                end
         | 
| @@ -56485,14 +56533,32 @@ module Aws::EC2 | |
| 56485 56533 | 
             
                #   @return [String]
         | 
| 56486 56534 | 
             
                #
         | 
| 56487 56535 | 
             
                # @!attribute [rw] tag_specifications
         | 
| 56488 | 
            -
                #   The tags to apply to the resources  | 
| 56489 | 
            -
                #    | 
| 56490 | 
            -
                # | 
| 56491 | 
            -
                #    | 
| 56536 | 
            +
                #   The tags to apply to the resources that are created during instance
         | 
| 56537 | 
            +
                #   launch.
         | 
| 56538 | 
            +
                #
         | 
| 56539 | 
            +
                #   You can specify tags for the following resources only:
         | 
| 56540 | 
            +
                #
         | 
| 56541 | 
            +
                #   * Instances
         | 
| 56542 | 
            +
                #
         | 
| 56543 | 
            +
                #   * Volumes
         | 
| 56544 | 
            +
                #
         | 
| 56545 | 
            +
                #   * Elastic graphics
         | 
| 56546 | 
            +
                #
         | 
| 56547 | 
            +
                #   * Spot Instance requests
         | 
| 56548 | 
            +
                #
         | 
| 56549 | 
            +
                #   * Network interfaces
         | 
| 56550 | 
            +
                #
         | 
| 56551 | 
            +
                #   To tag a resource after it has been created, see [CreateTags][1].
         | 
| 56552 | 
            +
                #
         | 
| 56553 | 
            +
                #   <note markdown="1"> To tag the launch template itself, you must use the
         | 
| 56554 | 
            +
                #   [TagSpecification][2] parameter.
         | 
| 56555 | 
            +
                #
         | 
| 56556 | 
            +
                #    </note>
         | 
| 56492 56557 | 
             
                #
         | 
| 56493 56558 | 
             
                #
         | 
| 56494 56559 | 
             
                #
         | 
| 56495 56560 | 
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
         | 
| 56561 | 
            +
                #   [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html
         | 
| 56496 56562 | 
             
                #   @return [Array<Types::LaunchTemplateTagSpecificationRequest>]
         | 
| 56497 56563 | 
             
                #
         | 
| 56498 56564 | 
             
                # @!attribute [rw] elastic_gpu_specifications
         | 
| @@ -56525,8 +56591,8 @@ module Aws::EC2 | |
| 56525 56591 | 
             
                #   @return [Types::LaunchTemplateInstanceMarketOptionsRequest]
         | 
| 56526 56592 | 
             
                #
         | 
| 56527 56593 | 
             
                # @!attribute [rw] credit_specification
         | 
| 56528 | 
            -
                #   The credit option for CPU usage of the instance. Valid for  | 
| 56529 | 
            -
                #    | 
| 56594 | 
            +
                #   The credit option for CPU usage of the instance. Valid only for T
         | 
| 56595 | 
            +
                #   instances.
         | 
| 56530 56596 | 
             
                #   @return [Types::CreditSpecificationRequest]
         | 
| 56531 56597 | 
             
                #
         | 
| 56532 56598 | 
             
                # @!attribute [rw] cpu_options
         | 
| @@ -58437,7 +58503,8 @@ module Aws::EC2 | |
| 58437 58503 | 
             
                #   @return [String]
         | 
| 58438 58504 | 
             
                #
         | 
| 58439 58505 | 
             
                # @!attribute [rw] tag_specifications
         | 
| 58440 | 
            -
                #   The tags | 
| 58506 | 
            +
                #   The tags that are applied to the resources that are created during
         | 
| 58507 | 
            +
                #   instance launch.
         | 
| 58441 58508 | 
             
                #   @return [Array<Types::LaunchTemplateTagSpecification>]
         | 
| 58442 58509 | 
             
                #
         | 
| 58443 58510 | 
             
                # @!attribute [rw] elastic_gpu_specifications
         | 
| @@ -69072,6 +69139,19 @@ module Aws::EC2 | |
| 69072 69139 | 
             
                #   The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
         | 
| 69073 69140 | 
             
                #   @return [String]
         | 
| 69074 69141 | 
             
                #
         | 
| 69142 | 
            +
                # @!attribute [rw] outside_ip_address_type
         | 
| 69143 | 
            +
                #   The type of IPv4 address assigned to the outside interface of the
         | 
| 69144 | 
            +
                #   customer gateway.
         | 
| 69145 | 
            +
                #
         | 
| 69146 | 
            +
                #   Valid values: `PrivateIpv4` \| `PublicIpv4`
         | 
| 69147 | 
            +
                #
         | 
| 69148 | 
            +
                #   Default: `PublicIpv4`
         | 
| 69149 | 
            +
                #   @return [String]
         | 
| 69150 | 
            +
                #
         | 
| 69151 | 
            +
                # @!attribute [rw] transport_transit_gateway_attachment_id
         | 
| 69152 | 
            +
                #   The transit gateway attachment ID in use for the VPN tunnel.
         | 
| 69153 | 
            +
                #   @return [String]
         | 
| 69154 | 
            +
                #
         | 
| 69075 69155 | 
             
                # @!attribute [rw] tunnel_inside_ip_version
         | 
| 69076 69156 | 
             
                #   Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
         | 
| 69077 69157 | 
             
                #   @return [String]
         | 
| @@ -69089,6 +69169,8 @@ module Aws::EC2 | |
| 69089 69169 | 
             
                  :remote_ipv_4_network_cidr,
         | 
| 69090 69170 | 
             
                  :local_ipv_6_network_cidr,
         | 
| 69091 69171 | 
             
                  :remote_ipv_6_network_cidr,
         | 
| 69172 | 
            +
                  :outside_ip_address_type,
         | 
| 69173 | 
            +
                  :transport_transit_gateway_attachment_id,
         | 
| 69092 69174 | 
             
                  :tunnel_inside_ip_version,
         | 
| 69093 69175 | 
             
                  :tunnel_options)
         | 
| 69094 69176 | 
             
                  SENSITIVE = []
         | 
| @@ -69158,6 +69240,8 @@ module Aws::EC2 | |
| 69158 69240 | 
             
                #         remote_ipv_4_network_cidr: "String",
         | 
| 69159 69241 | 
             
                #         local_ipv_6_network_cidr: "String",
         | 
| 69160 69242 | 
             
                #         remote_ipv_6_network_cidr: "String",
         | 
| 69243 | 
            +
                #         outside_ip_address_type: "String",
         | 
| 69244 | 
            +
                #         transport_transit_gateway_attachment_id: "TransitGatewayAttachmentId",
         | 
| 69161 69245 | 
             
                #       }
         | 
| 69162 69246 | 
             
                #
         | 
| 69163 69247 | 
             
                # @!attribute [rw] enable_acceleration
         | 
| @@ -69211,6 +69295,21 @@ module Aws::EC2 | |
| 69211 69295 | 
             
                #   Default: `::/0`
         | 
| 69212 69296 | 
             
                #   @return [String]
         | 
| 69213 69297 | 
             
                #
         | 
| 69298 | 
            +
                # @!attribute [rw] outside_ip_address_type
         | 
| 69299 | 
            +
                #   The type of IPv4 address assigned to the outside interface of the
         | 
| 69300 | 
            +
                #   customer gateway device.
         | 
| 69301 | 
            +
                #
         | 
| 69302 | 
            +
                #   Valid values: `PrivateIpv4` \| `PublicIpv4`
         | 
| 69303 | 
            +
                #
         | 
| 69304 | 
            +
                #   Default: `PublicIpv4`
         | 
| 69305 | 
            +
                #   @return [String]
         | 
| 69306 | 
            +
                #
         | 
| 69307 | 
            +
                # @!attribute [rw] transport_transit_gateway_attachment_id
         | 
| 69308 | 
            +
                #   The transit gateway attachment ID to use for the VPN tunnel.
         | 
| 69309 | 
            +
                #
         | 
| 69310 | 
            +
                #   Required if `OutsideIpAddressType` is set to `PrivateIpv4`.
         | 
| 69311 | 
            +
                #   @return [String]
         | 
| 69312 | 
            +
                #
         | 
| 69214 69313 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptionsSpecification AWS API Documentation
         | 
| 69215 69314 | 
             
                #
         | 
| 69216 69315 | 
             
                class VpnConnectionOptionsSpecification < Struct.new(
         | 
| @@ -69221,7 +69320,9 @@ module Aws::EC2 | |
| 69221 69320 | 
             
                  :local_ipv_4_network_cidr,
         | 
| 69222 69321 | 
             
                  :remote_ipv_4_network_cidr,
         | 
| 69223 69322 | 
             
                  :local_ipv_6_network_cidr,
         | 
| 69224 | 
            -
                  :remote_ipv_6_network_cidr | 
| 69323 | 
            +
                  :remote_ipv_6_network_cidr,
         | 
| 69324 | 
            +
                  :outside_ip_address_type,
         | 
| 69325 | 
            +
                  :transport_transit_gateway_attachment_id)
         | 
| 69225 69326 | 
             
                  SENSITIVE = []
         | 
| 69226 69327 | 
             
                  include Aws::Structure
         | 
| 69227 69328 | 
             
                end
         | 
    
        data/lib/aws-sdk-ec2/vpc.rb
    CHANGED
    
    | @@ -1373,6 +1373,9 @@ module Aws::EC2 | |
| 1373 1373 | 
             
                #   * `entry.rule-action` - Allows or denies the matching traffic (`allow`
         | 
| 1374 1374 | 
             
                #     \| `deny`).
         | 
| 1375 1375 | 
             
                #
         | 
| 1376 | 
            +
                #   * `entry.egress` - A Boolean that indicates the type of rule. Specify
         | 
| 1377 | 
            +
                #     `true` for egress rules, or `false` for ingress rules.
         | 
| 1378 | 
            +
                #
         | 
| 1376 1379 | 
             
                #   * `entry.rule-number` - The number of an entry (in other words, rule)
         | 
| 1377 1380 | 
             
                #     in the set of ACL entries.
         | 
| 1378 1381 | 
             
                #
         | 
    
        data/lib/aws-sdk-ec2.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-ec2
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.320.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Amazon Web Services
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022- | 
| 11 | 
            +
            date: 2022-06-28 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sigv4
         |