aws-sdk-ec2 1.136.0 → 1.141.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +105 -29
- data/lib/aws-sdk-ec2/client_api.rb +9 -1
- data/lib/aws-sdk-ec2/image.rb +29 -0
- data/lib/aws-sdk-ec2/instance.rb +4 -0
- data/lib/aws-sdk-ec2/resource.rb +8 -10
- data/lib/aws-sdk-ec2/types.rb +175 -21
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 73ab68e70a18b13300810a2f668653113f3476f4
         | 
| 4 | 
            +
              data.tar.gz: fb8eb613cc519843dc5d5cc355dc561b6f52388a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 874afcc64bd2de856f434fd9fda626c9f16c223482d92b07bfb4c721829f7663418be0dc5b3965066d0df4f0093d4dd48d01b7ab7e88a9424b43a16ce7efa415
         | 
| 7 | 
            +
              data.tar.gz: b8d045b920acf0ed15ecffed3b33bb247041e079e67bd68456a46d2fc7d40323c9bf8835ce66eef43dad90fa8651f38f24708acefdb1f588d9d759e82819d29e
         | 
    
        data/lib/aws-sdk-ec2.rb
    CHANGED
    
    
    
        data/lib/aws-sdk-ec2/client.rb
    CHANGED
    
    | @@ -563,7 +563,7 @@ module Aws::EC2 | |
| 563 563 | 
             
                #   resp.byoip_cidr.cidr #=> String
         | 
| 564 564 | 
             
                #   resp.byoip_cidr.description #=> String
         | 
| 565 565 | 
             
                #   resp.byoip_cidr.status_message #=> String
         | 
| 566 | 
            -
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
         | 
| 566 | 
            +
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
         | 
| 567 567 | 
             
                #
         | 
| 568 568 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AdvertiseByoipCidr AWS API Documentation
         | 
| 569 569 | 
             
                #
         | 
| @@ -4624,6 +4624,21 @@ module Aws::EC2 | |
| 4624 4624 | 
             
                #
         | 
| 4625 4625 | 
             
                #   [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
         | 
| 4626 4626 | 
             
                #
         | 
| 4627 | 
            +
                # @option params [Integer] :max_aggregation_interval
         | 
| 4628 | 
            +
                #   The maximum interval of time during which a flow of packets is
         | 
| 4629 | 
            +
                #   captured and aggregated into a flow log record. You can specify 60
         | 
| 4630 | 
            +
                #   seconds (1 minute) or 600 seconds (10 minutes).
         | 
| 4631 | 
            +
                #
         | 
| 4632 | 
            +
                #   When a network interface is attached to a [Nitro-based instance][1],
         | 
| 4633 | 
            +
                #   the aggregation interval is always 60 seconds or less, regardless of
         | 
| 4634 | 
            +
                #   the value that you specify.
         | 
| 4635 | 
            +
                #
         | 
| 4636 | 
            +
                #   Default: 600
         | 
| 4637 | 
            +
                #
         | 
| 4638 | 
            +
                #
         | 
| 4639 | 
            +
                #
         | 
| 4640 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
         | 
| 4641 | 
            +
                #
         | 
| 4627 4642 | 
             
                # @return [Types::CreateFlowLogsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 4628 4643 | 
             
                #
         | 
| 4629 4644 | 
             
                #   * {Types::CreateFlowLogsResult#client_token #client_token} => String
         | 
| @@ -4643,6 +4658,7 @@ module Aws::EC2 | |
| 4643 4658 | 
             
                #     log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
         | 
| 4644 4659 | 
             
                #     log_destination: "String",
         | 
| 4645 4660 | 
             
                #     log_format: "String",
         | 
| 4661 | 
            +
                #     max_aggregation_interval: 1,
         | 
| 4646 4662 | 
             
                #   })
         | 
| 4647 4663 | 
             
                #
         | 
| 4648 4664 | 
             
                # @example Response structure
         | 
| @@ -8355,7 +8371,8 @@ module Aws::EC2 | |
| 8355 8371 | 
             
                #   The Amazon Resource Name (ARN) of the Outpost.
         | 
| 8356 8372 | 
             
                #
         | 
| 8357 8373 | 
             
                # @option params [Integer] :size
         | 
| 8358 | 
            -
                #   The size of the volume, in GiBs.
         | 
| 8374 | 
            +
                #   The size of the volume, in GiBs. You must specify either a snapshot ID
         | 
| 8375 | 
            +
                #   or a volume size.
         | 
| 8359 8376 | 
             
                #
         | 
| 8360 8377 | 
             
                #   Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
         | 
| 8361 8378 | 
             
                #   `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
         | 
| @@ -8365,16 +8382,9 @@ module Aws::EC2 | |
| 8365 8382 | 
             
                #   Default: If you're creating the volume from a snapshot and don't
         | 
| 8366 8383 | 
             
                #   specify a volume size, the default is the snapshot size.
         | 
| 8367 8384 | 
             
                #
         | 
| 8368 | 
            -
                #   <note markdown="1"> At least one of Size or SnapshotId is required.
         | 
| 8369 | 
            -
                #
         | 
| 8370 | 
            -
                #    </note>
         | 
| 8371 | 
            -
                #
         | 
| 8372 8385 | 
             
                # @option params [String] :snapshot_id
         | 
| 8373 | 
            -
                #   The snapshot from which to create the volume.
         | 
| 8374 | 
            -
                #
         | 
| 8375 | 
            -
                #   <note markdown="1"> At least one of Size or SnapshotId are required.
         | 
| 8376 | 
            -
                #
         | 
| 8377 | 
            -
                #    </note>
         | 
| 8386 | 
            +
                #   The snapshot from which to create the volume. You must specify either
         | 
| 8387 | 
            +
                #   a snapshot ID or a volume size.
         | 
| 8378 8388 | 
             
                #
         | 
| 8379 8389 | 
             
                # @option params [String] :volume_type
         | 
| 8380 8390 | 
             
                #   The volume type. This can be `gp2` for General Purpose SSD, `io1` for
         | 
| @@ -8747,6 +8757,9 @@ module Aws::EC2 | |
| 8747 8757 | 
             
                #
         | 
| 8748 8758 | 
             
                #   Default: `true`
         | 
| 8749 8759 | 
             
                #
         | 
| 8760 | 
            +
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         | 
| 8761 | 
            +
                #   The tags to associate with the endpoint.
         | 
| 8762 | 
            +
                #
         | 
| 8750 8763 | 
             
                # @return [Types::CreateVpcEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 8751 8764 | 
             
                #
         | 
| 8752 8765 | 
             
                #   * {Types::CreateVpcEndpointResult#vpc_endpoint #vpc_endpoint} => Types::VpcEndpoint
         | 
| @@ -8765,6 +8778,17 @@ module Aws::EC2 | |
| 8765 8778 | 
             
                #     security_group_ids: ["String"],
         | 
| 8766 8779 | 
             
                #     client_token: "String",
         | 
| 8767 8780 | 
             
                #     private_dns_enabled: false,
         | 
| 8781 | 
            +
                #     tag_specifications: [
         | 
| 8782 | 
            +
                #       {
         | 
| 8783 | 
            +
                #         resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
         | 
| 8784 | 
            +
                #         tags: [
         | 
| 8785 | 
            +
                #           {
         | 
| 8786 | 
            +
                #             key: "String",
         | 
| 8787 | 
            +
                #             value: "String",
         | 
| 8788 | 
            +
                #           },
         | 
| 8789 | 
            +
                #         ],
         | 
| 8790 | 
            +
                #       },
         | 
| 8791 | 
            +
                #     ],
         | 
| 8768 8792 | 
             
                #   })
         | 
| 8769 8793 | 
             
                #
         | 
| 8770 8794 | 
             
                # @example Response structure
         | 
| @@ -8931,6 +8955,9 @@ module Aws::EC2 | |
| 8931 8955 | 
             
                #
         | 
| 8932 8956 | 
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
         | 
| 8933 8957 | 
             
                #
         | 
| 8958 | 
            +
                # @option params [Array<Types::TagSpecification>] :tag_specifications
         | 
| 8959 | 
            +
                #   The tags to associate with the service.
         | 
| 8960 | 
            +
                #
         | 
| 8934 8961 | 
             
                # @return [Types::CreateVpcEndpointServiceConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 8935 8962 | 
             
                #
         | 
| 8936 8963 | 
             
                #   * {Types::CreateVpcEndpointServiceConfigurationResult#service_configuration #service_configuration} => Types::ServiceConfiguration
         | 
| @@ -8944,6 +8971,17 @@ module Aws::EC2 | |
| 8944 8971 | 
             
                #     private_dns_name: "String",
         | 
| 8945 8972 | 
             
                #     network_load_balancer_arns: ["String"], # required
         | 
| 8946 8973 | 
             
                #     client_token: "String",
         | 
| 8974 | 
            +
                #     tag_specifications: [
         | 
| 8975 | 
            +
                #       {
         | 
| 8976 | 
            +
                #         resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
         | 
| 8977 | 
            +
                #         tags: [
         | 
| 8978 | 
            +
                #           {
         | 
| 8979 | 
            +
                #             key: "String",
         | 
| 8980 | 
            +
                #             value: "String",
         | 
| 8981 | 
            +
                #           },
         | 
| 8982 | 
            +
                #         ],
         | 
| 8983 | 
            +
                #       },
         | 
| 8984 | 
            +
                #     ],
         | 
| 8947 8985 | 
             
                #   })
         | 
| 8948 8986 | 
             
                #
         | 
| 8949 8987 | 
             
                # @example Response structure
         | 
| @@ -11486,7 +11524,7 @@ module Aws::EC2 | |
| 11486 11524 | 
             
                #   resp.byoip_cidr.cidr #=> String
         | 
| 11487 11525 | 
             
                #   resp.byoip_cidr.description #=> String
         | 
| 11488 11526 | 
             
                #   resp.byoip_cidr.status_message #=> String
         | 
| 11489 | 
            -
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
         | 
| 11527 | 
            +
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
         | 
| 11490 11528 | 
             
                #
         | 
| 11491 11529 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionByoipCidr AWS API Documentation
         | 
| 11492 11530 | 
             
                #
         | 
| @@ -12301,7 +12339,7 @@ module Aws::EC2 | |
| 12301 12339 | 
             
                #   resp.byoip_cidrs[0].cidr #=> String
         | 
| 12302 12340 | 
             
                #   resp.byoip_cidrs[0].description #=> String
         | 
| 12303 12341 | 
             
                #   resp.byoip_cidrs[0].status_message #=> String
         | 
| 12304 | 
            -
                #   resp.byoip_cidrs[0].state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
         | 
| 12342 | 
            +
                #   resp.byoip_cidrs[0].state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
         | 
| 12305 12343 | 
             
                #   resp.next_token #=> String
         | 
| 12306 12344 | 
             
                #
         | 
| 12307 12345 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeByoipCidrs AWS API Documentation
         | 
| @@ -13965,6 +14003,7 @@ module Aws::EC2 | |
| 13965 14003 | 
             
                #   resp.flow_logs[0].log_destination_type #=> String, one of "cloud-watch-logs", "s3"
         | 
| 13966 14004 | 
             
                #   resp.flow_logs[0].log_destination #=> String
         | 
| 13967 14005 | 
             
                #   resp.flow_logs[0].log_format #=> String
         | 
| 14006 | 
            +
                #   resp.flow_logs[0].max_aggregation_interval #=> Integer
         | 
| 13968 14007 | 
             
                #   resp.next_token #=> String
         | 
| 13969 14008 | 
             
                #
         | 
| 13970 14009 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs AWS API Documentation
         | 
| @@ -14945,6 +14984,8 @@ module Aws::EC2 | |
| 14945 14984 | 
             
                #   resp.images[0].kernel_id #=> String
         | 
| 14946 14985 | 
             
                #   resp.images[0].owner_id #=> String
         | 
| 14947 14986 | 
             
                #   resp.images[0].platform #=> String, one of "Windows"
         | 
| 14987 | 
            +
                #   resp.images[0].platform_details #=> String
         | 
| 14988 | 
            +
                #   resp.images[0].usage_operation #=> String
         | 
| 14948 14989 | 
             
                #   resp.images[0].product_codes #=> Array
         | 
| 14949 14990 | 
             
                #   resp.images[0].product_codes[0].product_code_id #=> String
         | 
| 14950 14991 | 
             
                #   resp.images[0].product_codes[0].product_code_type #=> String, one of "devpay", "marketplace"
         | 
| @@ -20136,7 +20177,7 @@ module Aws::EC2 | |
| 20136 20177 | 
             
                # * *implicit*\: An AWS account has implicit create volume permissions
         | 
| 20137 20178 | 
             
                #   for all snapshots it owns.
         | 
| 20138 20179 | 
             
                #
         | 
| 20139 | 
            -
                # The list of snapshots returned can be  | 
| 20180 | 
            +
                # The list of snapshots returned can be filtered by specifying snapshot
         | 
| 20140 20181 | 
             
                # IDs, snapshot owners, or AWS accounts with create volume permissions.
         | 
| 20141 20182 | 
             
                # If no options are specified, Amazon EC2 returns all snapshots for
         | 
| 20142 20183 | 
             
                # which you have create volume permissions.
         | 
| @@ -20165,6 +20206,9 @@ module Aws::EC2 | |
| 20165 20206 | 
             
                # to a subsequent `DescribeSnapshots` request to retrieve the remaining
         | 
| 20166 20207 | 
             
                # results.
         | 
| 20167 20208 | 
             
                #
         | 
| 20209 | 
            +
                # To get the state of fast snapshot restores for a snapshot, use
         | 
| 20210 | 
            +
                # DescribeFastSnapshotRestores.
         | 
| 20211 | 
            +
                #
         | 
| 20168 20212 | 
             
                # For more information about EBS snapshots, see [Amazon EBS
         | 
| 20169 20213 | 
             
                # Snapshots][1] in the *Amazon Elastic Compute Cloud User Guide*.
         | 
| 20170 20214 | 
             
                #
         | 
| @@ -20809,8 +20853,16 @@ module Aws::EC2 | |
| 20809 20853 | 
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups #=> Array
         | 
| 20810 20854 | 
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.load_balancers_config.target_groups_config.target_groups[0].arn #=> String
         | 
| 20811 20855 | 
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.instance_pools_to_use_count #=> Integer
         | 
| 20856 | 
            +
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications #=> Array
         | 
| 20857 | 
            +
                #   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", "elastic-ip", "fleet", "fpga-image", "host-reservation", "image", "instance", "internet-gateway", "key-pair", "launch-template", "natgateway", "network-acl", "network-interface", "placement-group", "reserved-instances", "route-table", "security-group", "snapshot", "spot-fleet-request", "spot-instances-request", "subnet", "traffic-mirror-filter", "traffic-mirror-session", "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", "vpc", "vpc-peering-connection", "vpn-connection", "vpn-gateway"
         | 
| 20858 | 
            +
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags #=> Array
         | 
| 20859 | 
            +
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].key #=> String
         | 
| 20860 | 
            +
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_config.tag_specifications[0].tags[0].value #=> String
         | 
| 20812 20861 | 
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_id #=> String
         | 
| 20813 20862 | 
             
                #   resp.spot_fleet_request_configs[0].spot_fleet_request_state #=> String, one of "submitted", "active", "cancelled", "failed", "cancelled_running", "cancelled_terminating", "modifying"
         | 
| 20863 | 
            +
                #   resp.spot_fleet_request_configs[0].tags #=> Array
         | 
| 20864 | 
            +
                #   resp.spot_fleet_request_configs[0].tags[0].key #=> String
         | 
| 20865 | 
            +
                #   resp.spot_fleet_request_configs[0].tags[0].value #=> String
         | 
| 20814 20866 | 
             
                #
         | 
| 20815 20867 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests AWS API Documentation
         | 
| 20816 20868 | 
             
                #
         | 
| @@ -22766,6 +22818,10 @@ module Aws::EC2 | |
| 22766 22818 | 
             
                #   * `encrypted` - Indicates whether the volume is encrypted (`true` \|
         | 
| 22767 22819 | 
             
                #     `false`)
         | 
| 22768 22820 | 
             
                #
         | 
| 22821 | 
            +
                #   * `fast-restored` - Indicates whether the volume was created from a
         | 
| 22822 | 
            +
                #     snapshot that is enabled for fast snapshot restore (`true` \|
         | 
| 22823 | 
            +
                #     `false`).
         | 
| 22824 | 
            +
                #
         | 
| 22769 22825 | 
             
                #   * `size` - The size of the volume, in GiB.
         | 
| 22770 22826 | 
             
                #
         | 
| 22771 22827 | 
             
                #   * `snapshot-id` - The snapshot from which the volume was created.
         | 
| @@ -25280,6 +25336,13 @@ module Aws::EC2 | |
| 25280 25336 | 
             
                # restores, use DescribeFastSnapshotRestores. To disable fast snapshot
         | 
| 25281 25337 | 
             
                # restores, use DisableFastSnapshotRestores.
         | 
| 25282 25338 | 
             
                #
         | 
| 25339 | 
            +
                # For more information, see [Amazon EBS Fast Snapshot Restore][1] in the
         | 
| 25340 | 
            +
                # *Amazon Elastic Compute Cloud User Guide*.
         | 
| 25341 | 
            +
                #
         | 
| 25342 | 
            +
                #
         | 
| 25343 | 
            +
                #
         | 
| 25344 | 
            +
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-fast-snapshot-restore.html
         | 
| 25345 | 
            +
                #
         | 
| 25283 25346 | 
             
                # @option params [required, Array<String>] :availability_zones
         | 
| 25284 25347 | 
             
                #   One or more Availability Zones. For example, `us-east-2a`.
         | 
| 25285 25348 | 
             
                #
         | 
| @@ -31014,7 +31077,7 @@ module Aws::EC2 | |
| 31014 31077 | 
             
                #   resp.byoip_cidr.cidr #=> String
         | 
| 31015 31078 | 
             
                #   resp.byoip_cidr.description #=> String
         | 
| 31016 31079 | 
             
                #   resp.byoip_cidr.status_message #=> String
         | 
| 31017 | 
            -
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
         | 
| 31080 | 
            +
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
         | 
| 31018 31081 | 
             
                #
         | 
| 31019 31082 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionByoipCidr AWS API Documentation
         | 
| 31020 31083 | 
             
                #
         | 
| @@ -31385,22 +31448,24 @@ module Aws::EC2 | |
| 31385 31448 | 
             
                # (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
         | 
| 31386 31449 | 
             
                # product code associated with an AMI to verify the subscription status
         | 
| 31387 31450 | 
             
                # for package updates. To create a new AMI for operating systems that
         | 
| 31388 | 
            -
                # require a billing product code, do the | 
| 31451 | 
            +
                # require a billing product code, instead of registering the AMI, do the
         | 
| 31452 | 
            +
                # following to preserve the billing product code association:
         | 
| 31389 31453 | 
             
                #
         | 
| 31390 31454 | 
             
                # 1.  Launch an instance from an existing AMI with that billing product
         | 
| 31391 31455 | 
             
                #     code.
         | 
| 31392 31456 | 
             
                #
         | 
| 31393 31457 | 
             
                # 2.  Customize the instance.
         | 
| 31394 31458 | 
             
                #
         | 
| 31395 | 
            -
                # 3.  Create  | 
| 31396 | 
            -
                #     the billing product code association.
         | 
| 31459 | 
            +
                # 3.  Create an AMI from the instance using CreateImage.
         | 
| 31397 31460 | 
             
                #
         | 
| 31398 31461 | 
             
                # If you purchase a Reserved Instance to apply to an On-Demand Instance
         | 
| 31399 31462 | 
             
                # that was launched from an AMI with a billing product code, make sure
         | 
| 31400 31463 | 
             
                # that the Reserved Instance has the matching billing product code. If
         | 
| 31401 31464 | 
             
                # you purchase a Reserved Instance without the matching billing product
         | 
| 31402 31465 | 
             
                # code, the Reserved Instance will not be applied to the On-Demand
         | 
| 31403 | 
            -
                # Instance.
         | 
| 31466 | 
            +
                # Instance. For information about how to obtain the platform details and
         | 
| 31467 | 
            +
                # billing information of an AMI, see [Obtaining Billing Information][3]
         | 
| 31468 | 
            +
                # in the *Amazon Elastic Compute Cloud User Guide*.
         | 
| 31404 31469 | 
             
                #
         | 
| 31405 31470 | 
             
                # If needed, you can deregister an AMI at any time. Any modifications
         | 
| 31406 31471 | 
             
                # you make to an AMI backed by an instance store volume invalidates its
         | 
| @@ -31411,6 +31476,7 @@ module Aws::EC2 | |
| 31411 31476 | 
             
                #
         | 
| 31412 31477 | 
             
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html
         | 
| 31413 31478 | 
             
                # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-snapshot.html
         | 
| 31479 | 
            +
                # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
         | 
| 31414 31480 | 
             
                #
         | 
| 31415 31481 | 
             
                # @option params [String] :image_location
         | 
| 31416 31482 | 
             
                #   The full path to your AMI manifest in Amazon S3 storage. The specified
         | 
| @@ -32514,9 +32580,9 @@ module Aws::EC2 | |
| 32514 32580 | 
             
                # are in different Spot pools, you can improve the availability of your
         | 
| 32515 32581 | 
             
                # fleet.
         | 
| 32516 32582 | 
             
                #
         | 
| 32517 | 
            -
                # You can specify tags for the Spot Instances. You cannot | 
| 32518 | 
            -
                # resource types in a Spot Fleet request because only the | 
| 32519 | 
            -
                # resource  | 
| 32583 | 
            +
                # You can specify tags for the Spot Fleet and Spot Instances. You cannot
         | 
| 32584 | 
            +
                # tag other resource types in a Spot Fleet request because only the
         | 
| 32585 | 
            +
                # `spot-fleet-request` and `instance` resource types are supported.
         | 
| 32520 32586 | 
             
                #
         | 
| 32521 32587 | 
             
                # For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
         | 
| 32522 32588 | 
             
                # User Guide for Linux Instances*.
         | 
| @@ -32834,6 +32900,17 @@ module Aws::EC2 | |
| 32834 32900 | 
             
                #         },
         | 
| 32835 32901 | 
             
                #       },
         | 
| 32836 32902 | 
             
                #       instance_pools_to_use_count: 1,
         | 
| 32903 | 
            +
                #       tag_specifications: [
         | 
| 32904 | 
            +
                #         {
         | 
| 32905 | 
            +
                #           resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
         | 
| 32906 | 
            +
                #           tags: [
         | 
| 32907 | 
            +
                #             {
         | 
| 32908 | 
            +
                #               key: "String",
         | 
| 32909 | 
            +
                #               value: "String",
         | 
| 32910 | 
            +
                #             },
         | 
| 32911 | 
            +
                #           ],
         | 
| 32912 | 
            +
                #         },
         | 
| 32913 | 
            +
                #       ],
         | 
| 32837 32914 | 
             
                #     },
         | 
| 32838 32915 | 
             
                #   })
         | 
| 32839 32916 | 
             
                #
         | 
| @@ -35189,11 +35266,10 @@ module Aws::EC2 | |
| 35189 35266 | 
             
                # EC2 charges a one-minute minimum for instance usage, and thereafter
         | 
| 35190 35267 | 
             
                # charges per second for instance usage.
         | 
| 35191 35268 | 
             
                #
         | 
| 35192 | 
            -
                # You can't  | 
| 35193 | 
            -
                #  | 
| 35194 | 
            -
                #  | 
| 35195 | 
            -
                #  | 
| 35196 | 
            -
                # User Guide*.
         | 
| 35269 | 
            +
                # You can't hibernate Spot Instances, and you can't stop or hibernate
         | 
| 35270 | 
            +
                # instance store-backed instances. For information about using
         | 
| 35271 | 
            +
                # hibernation for Spot Instances, see [Hibernating Interrupted Spot
         | 
| 35272 | 
            +
                # Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
         | 
| 35197 35273 | 
             
                #
         | 
| 35198 35274 | 
             
                # When you stop or hibernate an instance, we shut it down. You can
         | 
| 35199 35275 | 
             
                # restart your instance at any time. Before stopping or hibernating an
         | 
| @@ -35854,7 +35930,7 @@ module Aws::EC2 | |
| 35854 35930 | 
             
                #   resp.byoip_cidr.cidr #=> String
         | 
| 35855 35931 | 
             
                #   resp.byoip_cidr.description #=> String
         | 
| 35856 35932 | 
             
                #   resp.byoip_cidr.status_message #=> String
         | 
| 35857 | 
            -
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned"
         | 
| 35933 | 
            +
                #   resp.byoip_cidr.state #=> String, one of "advertised", "deprovisioned", "failed-deprovision", "failed-provision", "pending-deprovision", "pending-provision", "provisioned", "provisioned-not-publicly-advertisable"
         | 
| 35858 35934 | 
             
                #
         | 
| 35859 35935 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/WithdrawByoipCidr AWS API Documentation
         | 
| 35860 35936 | 
             
                #
         | 
| @@ -35878,7 +35954,7 @@ module Aws::EC2 | |
| 35878 35954 | 
             
                    params: params,
         | 
| 35879 35955 | 
             
                    config: config)
         | 
| 35880 35956 | 
             
                  context[:gem_name] = 'aws-sdk-ec2'
         | 
| 35881 | 
            -
                  context[:gem_version] = '1. | 
| 35957 | 
            +
                  context[:gem_version] = '1.141.0'
         | 
| 35882 35958 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 35883 35959 | 
             
                end
         | 
| 35884 35960 |  | 
| @@ -2840,6 +2840,7 @@ module Aws::EC2 | |
| 2840 2840 | 
             
                CreateFlowLogsRequest.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "LogDestinationType"))
         | 
| 2841 2841 | 
             
                CreateFlowLogsRequest.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "LogDestination"))
         | 
| 2842 2842 | 
             
                CreateFlowLogsRequest.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "LogFormat"))
         | 
| 2843 | 
            +
                CreateFlowLogsRequest.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxAggregationInterval"))
         | 
| 2843 2844 | 
             
                CreateFlowLogsRequest.struct_class = Types::CreateFlowLogsRequest
         | 
| 2844 2845 |  | 
| 2845 2846 | 
             
                CreateFlowLogsResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
         | 
| @@ -3233,6 +3234,7 @@ module Aws::EC2 | |
| 3233 3234 | 
             
                CreateVpcEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "SecurityGroupId"))
         | 
| 3234 3235 | 
             
                CreateVpcEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
         | 
| 3235 3236 | 
             
                CreateVpcEndpointRequest.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsEnabled"))
         | 
| 3237 | 
            +
                CreateVpcEndpointRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
         | 
| 3236 3238 | 
             
                CreateVpcEndpointRequest.struct_class = Types::CreateVpcEndpointRequest
         | 
| 3237 3239 |  | 
| 3238 3240 | 
             
                CreateVpcEndpointResult.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, location_name: "vpcEndpoint"))
         | 
| @@ -3244,6 +3246,7 @@ module Aws::EC2 | |
| 3244 3246 | 
             
                CreateVpcEndpointServiceConfigurationRequest.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "PrivateDnsName"))
         | 
| 3245 3247 | 
             
                CreateVpcEndpointServiceConfigurationRequest.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "NetworkLoadBalancerArn"))
         | 
| 3246 3248 | 
             
                CreateVpcEndpointServiceConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
         | 
| 3249 | 
            +
                CreateVpcEndpointServiceConfigurationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
         | 
| 3247 3250 | 
             
                CreateVpcEndpointServiceConfigurationRequest.struct_class = Types::CreateVpcEndpointServiceConfigurationRequest
         | 
| 3248 3251 |  | 
| 3249 3252 | 
             
                CreateVpcEndpointServiceConfigurationResult.add_member(:service_configuration, Shapes::ShapeRef.new(shape: ServiceConfiguration, location_name: "serviceConfiguration"))
         | 
| @@ -5446,6 +5449,7 @@ module Aws::EC2 | |
| 5446 5449 | 
             
                FlowLog.add_member(:log_destination_type, Shapes::ShapeRef.new(shape: LogDestinationType, location_name: "logDestinationType"))
         | 
| 5447 5450 | 
             
                FlowLog.add_member(:log_destination, Shapes::ShapeRef.new(shape: String, location_name: "logDestination"))
         | 
| 5448 5451 | 
             
                FlowLog.add_member(:log_format, Shapes::ShapeRef.new(shape: String, location_name: "logFormat"))
         | 
| 5452 | 
            +
                FlowLog.add_member(:max_aggregation_interval, Shapes::ShapeRef.new(shape: Integer, location_name: "maxAggregationInterval"))
         | 
| 5449 5453 | 
             
                FlowLog.struct_class = Types::FlowLog
         | 
| 5450 5454 |  | 
| 5451 5455 | 
             
                FlowLogSet.member = Shapes::ShapeRef.new(shape: FlowLog, location_name: "item")
         | 
| @@ -5820,6 +5824,8 @@ module Aws::EC2 | |
| 5820 5824 | 
             
                Image.add_member(:kernel_id, Shapes::ShapeRef.new(shape: String, location_name: "kernelId"))
         | 
| 5821 5825 | 
             
                Image.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "imageOwnerId"))
         | 
| 5822 5826 | 
             
                Image.add_member(:platform, Shapes::ShapeRef.new(shape: PlatformValues, location_name: "platform"))
         | 
| 5827 | 
            +
                Image.add_member(:platform_details, Shapes::ShapeRef.new(shape: String, location_name: "platformDetails"))
         | 
| 5828 | 
            +
                Image.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
         | 
| 5823 5829 | 
             
                Image.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
         | 
| 5824 5830 | 
             
                Image.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: String, location_name: "ramdiskId"))
         | 
| 5825 5831 | 
             
                Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "imageState"))
         | 
| @@ -8578,10 +8584,11 @@ module Aws::EC2 | |
| 8578 8584 | 
             
                SpotFleetMonitoring.struct_class = Types::SpotFleetMonitoring
         | 
| 8579 8585 |  | 
| 8580 8586 | 
             
                SpotFleetRequestConfig.add_member(:activity_status, Shapes::ShapeRef.new(shape: ActivityStatus, location_name: "activityStatus"))
         | 
| 8581 | 
            -
                SpotFleetRequestConfig.add_member(:create_time, Shapes::ShapeRef.new(shape:  | 
| 8587 | 
            +
                SpotFleetRequestConfig.add_member(:create_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "createTime"))
         | 
| 8582 8588 | 
             
                SpotFleetRequestConfig.add_member(:spot_fleet_request_config, Shapes::ShapeRef.new(shape: SpotFleetRequestConfigData, location_name: "spotFleetRequestConfig"))
         | 
| 8583 8589 | 
             
                SpotFleetRequestConfig.add_member(:spot_fleet_request_id, Shapes::ShapeRef.new(shape: String, location_name: "spotFleetRequestId"))
         | 
| 8584 8590 | 
             
                SpotFleetRequestConfig.add_member(:spot_fleet_request_state, Shapes::ShapeRef.new(shape: BatchState, location_name: "spotFleetRequestState"))
         | 
| 8591 | 
            +
                SpotFleetRequestConfig.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
         | 
| 8585 8592 | 
             
                SpotFleetRequestConfig.struct_class = Types::SpotFleetRequestConfig
         | 
| 8586 8593 |  | 
| 8587 8594 | 
             
                SpotFleetRequestConfigData.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: AllocationStrategy, location_name: "allocationStrategy"))
         | 
| @@ -8606,6 +8613,7 @@ module Aws::EC2 | |
| 8606 8613 | 
             
                SpotFleetRequestConfigData.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
         | 
| 8607 8614 | 
             
                SpotFleetRequestConfigData.add_member(:load_balancers_config, Shapes::ShapeRef.new(shape: LoadBalancersConfig, location_name: "loadBalancersConfig"))
         | 
| 8608 8615 | 
             
                SpotFleetRequestConfigData.add_member(:instance_pools_to_use_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instancePoolsToUseCount"))
         | 
| 8616 | 
            +
                SpotFleetRequestConfigData.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
         | 
| 8609 8617 | 
             
                SpotFleetRequestConfigData.struct_class = Types::SpotFleetRequestConfigData
         | 
| 8610 8618 |  | 
| 8611 8619 | 
             
                SpotFleetRequestConfigSet.member = Shapes::ShapeRef.new(shape: SpotFleetRequestConfig, location_name: "item")
         | 
    
        data/lib/aws-sdk-ec2/image.rb
    CHANGED
    
    | @@ -84,6 +84,35 @@ module Aws::EC2 | |
| 84 84 | 
             
                  data[:platform]
         | 
| 85 85 | 
             
                end
         | 
| 86 86 |  | 
| 87 | 
            +
                # The platform details associated with the billing code of the AMI. For
         | 
| 88 | 
            +
                # more information, see [Obtaining Billing Information][1] in the
         | 
| 89 | 
            +
                # *Amazon Elastic Compute Cloud User Guide*.
         | 
| 90 | 
            +
                #
         | 
| 91 | 
            +
                #
         | 
| 92 | 
            +
                #
         | 
| 93 | 
            +
                # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
         | 
| 94 | 
            +
                # @return [String]
         | 
| 95 | 
            +
                def platform_details
         | 
| 96 | 
            +
                  data[:platform_details]
         | 
| 97 | 
            +
                end
         | 
| 98 | 
            +
             | 
| 99 | 
            +
                # The operation of the Amazon EC2 instance and the billing code that is
         | 
| 100 | 
            +
                # associated with the AMI. `usageOperation` corresponds to the
         | 
| 101 | 
            +
                # [lineitem/Operation][1] column on your AWS Cost and Usage Report and
         | 
| 102 | 
            +
                # in the [AWS Price List API][2]. For the list of `UsageOperation`
         | 
| 103 | 
            +
                # codes, see [Platform Details and Usage Operation Billing Codes][3] in
         | 
| 104 | 
            +
                # the *Amazon Elastic Compute Cloud User Guide*.
         | 
| 105 | 
            +
                #
         | 
| 106 | 
            +
                #
         | 
| 107 | 
            +
                #
         | 
| 108 | 
            +
                # [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
         | 
| 109 | 
            +
                # [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
         | 
| 110 | 
            +
                # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info
         | 
| 111 | 
            +
                # @return [String]
         | 
| 112 | 
            +
                def usage_operation
         | 
| 113 | 
            +
                  data[:usage_operation]
         | 
| 114 | 
            +
                end
         | 
| 115 | 
            +
             | 
| 87 116 | 
             
                # Any product codes associated with the AMI.
         | 
| 88 117 | 
             
                # @return [Array<Types::ProductCode>]
         | 
| 89 118 | 
             
                def product_codes
         | 
    
        data/lib/aws-sdk-ec2/instance.rb
    CHANGED
    
    | @@ -1344,6 +1344,10 @@ module Aws::EC2 | |
| 1344 1344 | 
             
                #   * `encrypted` - Indicates whether the volume is encrypted (`true` \|
         | 
| 1345 1345 | 
             
                #     `false`)
         | 
| 1346 1346 | 
             
                #
         | 
| 1347 | 
            +
                #   * `fast-restored` - Indicates whether the volume was created from a
         | 
| 1348 | 
            +
                #     snapshot that is enabled for fast snapshot restore (`true` \|
         | 
| 1349 | 
            +
                #     `false`).
         | 
| 1350 | 
            +
                #
         | 
| 1347 1351 | 
             
                #   * `size` - The size of the volume, in GiB.
         | 
| 1348 1352 | 
             
                #
         | 
| 1349 1353 | 
             
                #   * `snapshot-id` - The snapshot from which the volume was created.
         | 
    
        data/lib/aws-sdk-ec2/resource.rb
    CHANGED
    
    | @@ -990,7 +990,8 @@ module Aws::EC2 | |
| 990 990 | 
             
                # @option options [String] :outpost_arn
         | 
| 991 991 | 
             
                #   The Amazon Resource Name (ARN) of the Outpost.
         | 
| 992 992 | 
             
                # @option options [Integer] :size
         | 
| 993 | 
            -
                #   The size of the volume, in GiBs.
         | 
| 993 | 
            +
                #   The size of the volume, in GiBs. You must specify either a snapshot ID
         | 
| 994 | 
            +
                #   or a volume size.
         | 
| 994 995 | 
             
                #
         | 
| 995 996 | 
             
                #   Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
         | 
| 996 997 | 
             
                #   `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
         | 
| @@ -999,16 +1000,9 @@ module Aws::EC2 | |
| 999 1000 | 
             
                #
         | 
| 1000 1001 | 
             
                #   Default: If you're creating the volume from a snapshot and don't
         | 
| 1001 1002 | 
             
                #   specify a volume size, the default is the snapshot size.
         | 
| 1002 | 
            -
                #
         | 
| 1003 | 
            -
                #   <note markdown="1"> At least one of Size or SnapshotId is required.
         | 
| 1004 | 
            -
                #
         | 
| 1005 | 
            -
                #    </note>
         | 
| 1006 1003 | 
             
                # @option options [String] :snapshot_id
         | 
| 1007 | 
            -
                #   The snapshot from which to create the volume.
         | 
| 1008 | 
            -
                #
         | 
| 1009 | 
            -
                #   <note markdown="1"> At least one of Size or SnapshotId are required.
         | 
| 1010 | 
            -
                #
         | 
| 1011 | 
            -
                #    </note>
         | 
| 1004 | 
            +
                #   The snapshot from which to create the volume. You must specify either
         | 
| 1005 | 
            +
                #   a snapshot ID or a volume size.
         | 
| 1012 1006 | 
             
                # @option options [String] :volume_type
         | 
| 1013 1007 | 
             
                #   The volume type. This can be `gp2` for General Purpose SSD, `io1` for
         | 
| 1014 1008 | 
             
                #   Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
         | 
| @@ -2939,6 +2933,10 @@ module Aws::EC2 | |
| 2939 2933 | 
             
                #   * `encrypted` - Indicates whether the volume is encrypted (`true` \|
         | 
| 2940 2934 | 
             
                #     `false`)
         | 
| 2941 2935 | 
             
                #
         | 
| 2936 | 
            +
                #   * `fast-restored` - Indicates whether the volume was created from a
         | 
| 2937 | 
            +
                #     snapshot that is enabled for fast snapshot restore (`true` \|
         | 
| 2938 | 
            +
                #     `false`).
         | 
| 2939 | 
            +
                #
         | 
| 2942 2940 | 
             
                #   * `size` - The size of the volume, in GiB.
         | 
| 2943 2941 | 
             
                #
         | 
| 2944 2942 | 
             
                #   * `snapshot-id` - The snapshot from which the volume was created.
         | 
    
        data/lib/aws-sdk-ec2/types.rb
    CHANGED
    
    | @@ -5400,6 +5400,7 @@ module Aws::EC2 | |
| 5400 5400 | 
             
                #         log_destination_type: "cloud-watch-logs", # accepts cloud-watch-logs, s3
         | 
| 5401 5401 | 
             
                #         log_destination: "String",
         | 
| 5402 5402 | 
             
                #         log_format: "String",
         | 
| 5403 | 
            +
                #         max_aggregation_interval: 1,
         | 
| 5403 5404 | 
             
                #       }
         | 
| 5404 5405 | 
             
                #
         | 
| 5405 5406 | 
             
                # @!attribute [rw] dry_run
         | 
| @@ -5506,6 +5507,22 @@ module Aws::EC2 | |
| 5506 5507 | 
             
                #   [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
         | 
| 5507 5508 | 
             
                #   @return [String]
         | 
| 5508 5509 | 
             
                #
         | 
| 5510 | 
            +
                # @!attribute [rw] max_aggregation_interval
         | 
| 5511 | 
            +
                #   The maximum interval of time during which a flow of packets is
         | 
| 5512 | 
            +
                #   captured and aggregated into a flow log record. You can specify 60
         | 
| 5513 | 
            +
                #   seconds (1 minute) or 600 seconds (10 minutes).
         | 
| 5514 | 
            +
                #
         | 
| 5515 | 
            +
                #   When a network interface is attached to a [Nitro-based instance][1],
         | 
| 5516 | 
            +
                #   the aggregation interval is always 60 seconds or less, regardless of
         | 
| 5517 | 
            +
                #   the value that you specify.
         | 
| 5518 | 
            +
                #
         | 
| 5519 | 
            +
                #   Default: 600
         | 
| 5520 | 
            +
                #
         | 
| 5521 | 
            +
                #
         | 
| 5522 | 
            +
                #
         | 
| 5523 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
         | 
| 5524 | 
            +
                #   @return [Integer]
         | 
| 5525 | 
            +
                #
         | 
| 5509 5526 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest AWS API Documentation
         | 
| 5510 5527 | 
             
                #
         | 
| 5511 5528 | 
             
                class CreateFlowLogsRequest < Struct.new(
         | 
| @@ -5518,7 +5535,8 @@ module Aws::EC2 | |
| 5518 5535 | 
             
                  :traffic_type,
         | 
| 5519 5536 | 
             
                  :log_destination_type,
         | 
| 5520 5537 | 
             
                  :log_destination,
         | 
| 5521 | 
            -
                  :log_format | 
| 5538 | 
            +
                  :log_format,
         | 
| 5539 | 
            +
                  :max_aggregation_interval)
         | 
| 5522 5540 | 
             
                  include Aws::Structure
         | 
| 5523 5541 | 
             
                end
         | 
| 5524 5542 |  | 
| @@ -8361,7 +8379,8 @@ module Aws::EC2 | |
| 8361 8379 | 
             
                #   @return [String]
         | 
| 8362 8380 | 
             
                #
         | 
| 8363 8381 | 
             
                # @!attribute [rw] size
         | 
| 8364 | 
            -
                #   The size of the volume, in GiBs.
         | 
| 8382 | 
            +
                #   The size of the volume, in GiBs. You must specify either a snapshot
         | 
| 8383 | 
            +
                #   ID or a volume size.
         | 
| 8365 8384 | 
             
                #
         | 
| 8366 8385 | 
             
                #   Constraints: 1-16,384 for `gp2`, 4-16,384 for `io1`, 500-16,384 for
         | 
| 8367 8386 | 
             
                #   `st1`, 500-16,384 for `sc1`, and 1-1,024 for `standard`. If you
         | 
| @@ -8370,18 +8389,11 @@ module Aws::EC2 | |
| 8370 8389 | 
             
                #
         | 
| 8371 8390 | 
             
                #   Default: If you're creating the volume from a snapshot and don't
         | 
| 8372 8391 | 
             
                #   specify a volume size, the default is the snapshot size.
         | 
| 8373 | 
            -
                #
         | 
| 8374 | 
            -
                #   <note markdown="1"> At least one of Size or SnapshotId is required.
         | 
| 8375 | 
            -
                #
         | 
| 8376 | 
            -
                #    </note>
         | 
| 8377 8392 | 
             
                #   @return [Integer]
         | 
| 8378 8393 | 
             
                #
         | 
| 8379 8394 | 
             
                # @!attribute [rw] snapshot_id
         | 
| 8380 | 
            -
                #   The snapshot from which to create the volume.
         | 
| 8381 | 
            -
                #
         | 
| 8382 | 
            -
                #   <note markdown="1"> At least one of Size or SnapshotId are required.
         | 
| 8383 | 
            -
                #
         | 
| 8384 | 
            -
                #    </note>
         | 
| 8395 | 
            +
                #   The snapshot from which to create the volume. You must specify
         | 
| 8396 | 
            +
                #   either a snapshot ID or a volume size.
         | 
| 8385 8397 | 
             
                #   @return [String]
         | 
| 8386 8398 | 
             
                #
         | 
| 8387 8399 | 
             
                # @!attribute [rw] volume_type
         | 
| @@ -8510,6 +8522,17 @@ module Aws::EC2 | |
| 8510 8522 | 
             
                #         security_group_ids: ["String"],
         | 
| 8511 8523 | 
             
                #         client_token: "String",
         | 
| 8512 8524 | 
             
                #         private_dns_enabled: false,
         | 
| 8525 | 
            +
                #         tag_specifications: [
         | 
| 8526 | 
            +
                #           {
         | 
| 8527 | 
            +
                #             resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
         | 
| 8528 | 
            +
                #             tags: [
         | 
| 8529 | 
            +
                #               {
         | 
| 8530 | 
            +
                #                 key: "String",
         | 
| 8531 | 
            +
                #                 value: "String",
         | 
| 8532 | 
            +
                #               },
         | 
| 8533 | 
            +
                #             ],
         | 
| 8534 | 
            +
                #           },
         | 
| 8535 | 
            +
                #         ],
         | 
| 8513 8536 | 
             
                #       }
         | 
| 8514 8537 | 
             
                #
         | 
| 8515 8538 | 
             
                # @!attribute [rw] dry_run
         | 
| @@ -8583,6 +8606,10 @@ module Aws::EC2 | |
| 8583 8606 | 
             
                #   Default: `true`
         | 
| 8584 8607 | 
             
                #   @return [Boolean]
         | 
| 8585 8608 | 
             
                #
         | 
| 8609 | 
            +
                # @!attribute [rw] tag_specifications
         | 
| 8610 | 
            +
                #   The tags to associate with the endpoint.
         | 
| 8611 | 
            +
                #   @return [Array<Types::TagSpecification>]
         | 
| 8612 | 
            +
                #
         | 
| 8586 8613 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest AWS API Documentation
         | 
| 8587 8614 | 
             
                #
         | 
| 8588 8615 | 
             
                class CreateVpcEndpointRequest < Struct.new(
         | 
| @@ -8595,7 +8622,8 @@ module Aws::EC2 | |
| 8595 8622 | 
             
                  :subnet_ids,
         | 
| 8596 8623 | 
             
                  :security_group_ids,
         | 
| 8597 8624 | 
             
                  :client_token,
         | 
| 8598 | 
            -
                  :private_dns_enabled | 
| 8625 | 
            +
                  :private_dns_enabled,
         | 
| 8626 | 
            +
                  :tag_specifications)
         | 
| 8599 8627 | 
             
                  include Aws::Structure
         | 
| 8600 8628 | 
             
                end
         | 
| 8601 8629 |  | 
| @@ -8627,6 +8655,17 @@ module Aws::EC2 | |
| 8627 8655 | 
             
                #         private_dns_name: "String",
         | 
| 8628 8656 | 
             
                #         network_load_balancer_arns: ["String"], # required
         | 
| 8629 8657 | 
             
                #         client_token: "String",
         | 
| 8658 | 
            +
                #         tag_specifications: [
         | 
| 8659 | 
            +
                #           {
         | 
| 8660 | 
            +
                #             resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
         | 
| 8661 | 
            +
                #             tags: [
         | 
| 8662 | 
            +
                #               {
         | 
| 8663 | 
            +
                #                 key: "String",
         | 
| 8664 | 
            +
                #                 value: "String",
         | 
| 8665 | 
            +
                #               },
         | 
| 8666 | 
            +
                #             ],
         | 
| 8667 | 
            +
                #           },
         | 
| 8668 | 
            +
                #         ],
         | 
| 8630 8669 | 
             
                #       }
         | 
| 8631 8670 | 
             
                #
         | 
| 8632 8671 | 
             
                # @!attribute [rw] dry_run
         | 
| @@ -8661,6 +8700,10 @@ module Aws::EC2 | |
| 8661 8700 | 
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
         | 
| 8662 8701 | 
             
                #   @return [String]
         | 
| 8663 8702 | 
             
                #
         | 
| 8703 | 
            +
                # @!attribute [rw] tag_specifications
         | 
| 8704 | 
            +
                #   The tags to associate with the service.
         | 
| 8705 | 
            +
                #   @return [Array<Types::TagSpecification>]
         | 
| 8706 | 
            +
                #
         | 
| 8664 8707 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfigurationRequest AWS API Documentation
         | 
| 8665 8708 | 
             
                #
         | 
| 8666 8709 | 
             
                class CreateVpcEndpointServiceConfigurationRequest < Struct.new(
         | 
| @@ -8668,7 +8711,8 @@ module Aws::EC2 | |
| 8668 8711 | 
             
                  :acceptance_required,
         | 
| 8669 8712 | 
             
                  :private_dns_name,
         | 
| 8670 8713 | 
             
                  :network_load_balancer_arns,
         | 
| 8671 | 
            -
                  :client_token | 
| 8714 | 
            +
                  :client_token,
         | 
| 8715 | 
            +
                  :tag_specifications)
         | 
| 8672 8716 | 
             
                  include Aws::Structure
         | 
| 8673 8717 | 
             
                end
         | 
| 8674 8718 |  | 
| @@ -19807,6 +19851,10 @@ module Aws::EC2 | |
| 19807 19851 | 
             
                #   * `encrypted` - Indicates whether the volume is encrypted (`true` \|
         | 
| 19808 19852 | 
             
                #     `false`)
         | 
| 19809 19853 | 
             
                #
         | 
| 19854 | 
            +
                #   * `fast-restored` - Indicates whether the volume was created from a
         | 
| 19855 | 
            +
                #     snapshot that is enabled for fast snapshot restore (`true` \|
         | 
| 19856 | 
            +
                #     `false`).
         | 
| 19857 | 
            +
                #
         | 
| 19810 19858 | 
             
                #   * `size` - The size of the volume, in GiB.
         | 
| 19811 19859 | 
             
                #
         | 
| 19812 19860 | 
             
                #   * `snapshot-id` - The snapshot from which the volume was created.
         | 
| @@ -22268,6 +22316,8 @@ module Aws::EC2 | |
| 22268 22316 | 
             
                #   Amazon EBS encryption. For more information, see [Supported Instance
         | 
| 22269 22317 | 
             
                #   Types][2].
         | 
| 22270 22318 | 
             
                #
         | 
| 22319 | 
            +
                #   This parameter is not returned by .
         | 
| 22320 | 
            +
                #
         | 
| 22271 22321 | 
             
                #
         | 
| 22272 22322 | 
             
                #
         | 
| 22273 22323 | 
             
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters
         | 
| @@ -23917,7 +23967,10 @@ module Aws::EC2 | |
| 23917 23967 | 
             
                #   @return [String]
         | 
| 23918 23968 | 
             
                #
         | 
| 23919 23969 | 
             
                # @!attribute [rw] subnet_id
         | 
| 23920 | 
            -
                #   The  | 
| 23970 | 
            +
                #   The IDs of the subnets in which to launch the instances. Separate
         | 
| 23971 | 
            +
                #   multiple subnet IDs using commas (for example,
         | 
| 23972 | 
            +
                #   `subnet-1234abcdeexample1, subnet-0987cdef6example2`). A request of
         | 
| 23973 | 
            +
                #   type `instant` can have only one subnet ID.
         | 
| 23921 23974 | 
             
                #   @return [String]
         | 
| 23922 23975 | 
             
                #
         | 
| 23923 23976 | 
             
                # @!attribute [rw] availability_zone
         | 
| @@ -24088,6 +24141,21 @@ module Aws::EC2 | |
| 24088 24141 | 
             
                #   The format of the flow log record.
         | 
| 24089 24142 | 
             
                #   @return [String]
         | 
| 24090 24143 | 
             
                #
         | 
| 24144 | 
            +
                # @!attribute [rw] max_aggregation_interval
         | 
| 24145 | 
            +
                #   The maximum interval of time, in seconds, during which a flow of
         | 
| 24146 | 
            +
                #   packets is captured and aggregated into a flow log record.
         | 
| 24147 | 
            +
                #
         | 
| 24148 | 
            +
                #   When a network interface is attached to a [Nitro-based instance][1],
         | 
| 24149 | 
            +
                #   the aggregation interval is always 60 seconds (1 minute) or less,
         | 
| 24150 | 
            +
                #   regardless of the specified value.
         | 
| 24151 | 
            +
                #
         | 
| 24152 | 
            +
                #   Valid Values: `60` \| `600`
         | 
| 24153 | 
            +
                #
         | 
| 24154 | 
            +
                #
         | 
| 24155 | 
            +
                #
         | 
| 24156 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
         | 
| 24157 | 
            +
                #   @return [Integer]
         | 
| 24158 | 
            +
                #
         | 
| 24091 24159 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog AWS API Documentation
         | 
| 24092 24160 | 
             
                #
         | 
| 24093 24161 | 
             
                class FlowLog < Struct.new(
         | 
| @@ -24102,7 +24170,8 @@ module Aws::EC2 | |
| 24102 24170 | 
             
                  :traffic_type,
         | 
| 24103 24171 | 
             
                  :log_destination_type,
         | 
| 24104 24172 | 
             
                  :log_destination,
         | 
| 24105 | 
            -
                  :log_format | 
| 24173 | 
            +
                  :log_format,
         | 
| 24174 | 
            +
                  :max_aggregation_interval)
         | 
| 24106 24175 | 
             
                  include Aws::Structure
         | 
| 24107 24176 | 
             
                end
         | 
| 24108 24177 |  | 
| @@ -26019,6 +26088,31 @@ module Aws::EC2 | |
| 26019 26088 | 
             
                #   blank.
         | 
| 26020 26089 | 
             
                #   @return [String]
         | 
| 26021 26090 | 
             
                #
         | 
| 26091 | 
            +
                # @!attribute [rw] platform_details
         | 
| 26092 | 
            +
                #   The platform details associated with the billing code of the AMI.
         | 
| 26093 | 
            +
                #   For more information, see [Obtaining Billing Information][1] in the
         | 
| 26094 | 
            +
                #   *Amazon Elastic Compute Cloud User Guide*.
         | 
| 26095 | 
            +
                #
         | 
| 26096 | 
            +
                #
         | 
| 26097 | 
            +
                #
         | 
| 26098 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
         | 
| 26099 | 
            +
                #   @return [String]
         | 
| 26100 | 
            +
                #
         | 
| 26101 | 
            +
                # @!attribute [rw] usage_operation
         | 
| 26102 | 
            +
                #   The operation of the Amazon EC2 instance and the billing code that
         | 
| 26103 | 
            +
                #   is associated with the AMI. `usageOperation` corresponds to the
         | 
| 26104 | 
            +
                #   [lineitem/Operation][1] column on your AWS Cost and Usage Report and
         | 
| 26105 | 
            +
                #   in the [AWS Price List API][2]. For the list of `UsageOperation`
         | 
| 26106 | 
            +
                #   codes, see [Platform Details and Usage Operation Billing Codes][3]
         | 
| 26107 | 
            +
                #   in the *Amazon Elastic Compute Cloud User Guide*.
         | 
| 26108 | 
            +
                #
         | 
| 26109 | 
            +
                #
         | 
| 26110 | 
            +
                #
         | 
| 26111 | 
            +
                #   [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
         | 
| 26112 | 
            +
                #   [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
         | 
| 26113 | 
            +
                #   [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info
         | 
| 26114 | 
            +
                #   @return [String]
         | 
| 26115 | 
            +
                #
         | 
| 26022 26116 | 
             
                # @!attribute [rw] product_codes
         | 
| 26023 26117 | 
             
                #   Any product codes associated with the AMI.
         | 
| 26024 26118 | 
             
                #   @return [Array<Types::ProductCode>]
         | 
| @@ -26097,6 +26191,8 @@ module Aws::EC2 | |
| 26097 26191 | 
             
                  :kernel_id,
         | 
| 26098 26192 | 
             
                  :owner_id,
         | 
| 26099 26193 | 
             
                  :platform,
         | 
| 26194 | 
            +
                  :platform_details,
         | 
| 26195 | 
            +
                  :usage_operation,
         | 
| 26100 26196 | 
             
                  :product_codes,
         | 
| 26101 26197 | 
             
                  :ramdisk_id,
         | 
| 26102 26198 | 
             
                  :state,
         | 
| @@ -28264,6 +28360,9 @@ module Aws::EC2 | |
| 28264 28360 | 
             
                #
         | 
| 28265 28361 | 
             
                # @!attribute [rw] network_interface_id
         | 
| 28266 28362 | 
             
                #   The ID of the network interface.
         | 
| 28363 | 
            +
                #
         | 
| 28364 | 
            +
                #   If you are creating a Spot Fleet, omit this parameter because you
         | 
| 28365 | 
            +
                #   can’t specify a network interface ID in a launch specification.
         | 
| 28267 28366 | 
             
                #   @return [String]
         | 
| 28268 28367 | 
             
                #
         | 
| 28269 28368 | 
             
                # @!attribute [rw] private_ip_address
         | 
| @@ -35249,11 +35348,15 @@ module Aws::EC2 | |
| 35249 35348 | 
             
                #
         | 
| 35250 35349 | 
             
                #   If not specified, an Availability Zone will be automatically chosen
         | 
| 35251 35350 | 
             
                #   for you based on the load balancing criteria for the Region.
         | 
| 35351 | 
            +
                #
         | 
| 35352 | 
            +
                #   This parameter is not supported by .
         | 
| 35252 35353 | 
             
                #   @return [String]
         | 
| 35253 35354 | 
             
                #
         | 
| 35254 35355 | 
             
                # @!attribute [rw] affinity
         | 
| 35255 35356 | 
             
                #   The affinity setting for the instance on the Dedicated Host. This
         | 
| 35256 35357 | 
             
                #   parameter is not supported for the ImportInstance command.
         | 
| 35358 | 
            +
                #
         | 
| 35359 | 
            +
                #   This parameter is not supported by .
         | 
| 35257 35360 | 
             
                #   @return [String]
         | 
| 35258 35361 | 
             
                #
         | 
| 35259 35362 | 
             
                # @!attribute [rw] group_name
         | 
| @@ -35263,11 +35366,15 @@ module Aws::EC2 | |
| 35263 35366 | 
             
                # @!attribute [rw] partition_number
         | 
| 35264 35367 | 
             
                #   The number of the partition the instance is in. Valid only if the
         | 
| 35265 35368 | 
             
                #   placement group strategy is set to `partition`.
         | 
| 35369 | 
            +
                #
         | 
| 35370 | 
            +
                #   This parameter is not supported by .
         | 
| 35266 35371 | 
             
                #   @return [Integer]
         | 
| 35267 35372 | 
             
                #
         | 
| 35268 35373 | 
             
                # @!attribute [rw] host_id
         | 
| 35269 35374 | 
             
                #   The ID of the Dedicated Host on which the instance resides. This
         | 
| 35270 35375 | 
             
                #   parameter is not supported for the ImportInstance command.
         | 
| 35376 | 
            +
                #
         | 
| 35377 | 
            +
                #   This parameter is not supported by .
         | 
| 35271 35378 | 
             
                #   @return [String]
         | 
| 35272 35379 | 
             
                #
         | 
| 35273 35380 | 
             
                # @!attribute [rw] tenancy
         | 
| @@ -35275,16 +35382,22 @@ module Aws::EC2 | |
| 35275 35382 | 
             
                #   An instance with a tenancy of `dedicated` runs on single-tenant
         | 
| 35276 35383 | 
             
                #   hardware. The `host` tenancy is not supported for the ImportInstance
         | 
| 35277 35384 | 
             
                #   command.
         | 
| 35385 | 
            +
                #
         | 
| 35386 | 
            +
                #   This parameter is not supported by .
         | 
| 35278 35387 | 
             
                #   @return [String]
         | 
| 35279 35388 | 
             
                #
         | 
| 35280 35389 | 
             
                # @!attribute [rw] spread_domain
         | 
| 35281 35390 | 
             
                #   Reserved for future use.
         | 
| 35391 | 
            +
                #
         | 
| 35392 | 
            +
                #   This parameter is not supported by .
         | 
| 35282 35393 | 
             
                #   @return [String]
         | 
| 35283 35394 | 
             
                #
         | 
| 35284 35395 | 
             
                # @!attribute [rw] host_resource_group_arn
         | 
| 35285 35396 | 
             
                #   The ARN of the host resource group in which to launch the instances.
         | 
| 35286 35397 | 
             
                #   If you specify a host resource group ARN, omit the **Tenancy**
         | 
| 35287 35398 | 
             
                #   parameter or set it to `host`.
         | 
| 35399 | 
            +
                #
         | 
| 35400 | 
            +
                #   This parameter is not supported by .
         | 
| 35288 35401 | 
             
                #   @return [String]
         | 
| 35289 35402 | 
             
                #
         | 
| 35290 35403 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement AWS API Documentation
         | 
| @@ -37743,6 +37856,17 @@ module Aws::EC2 | |
| 37743 37856 | 
             
                #             },
         | 
| 37744 37857 | 
             
                #           },
         | 
| 37745 37858 | 
             
                #           instance_pools_to_use_count: 1,
         | 
| 37859 | 
            +
                #           tag_specifications: [
         | 
| 37860 | 
            +
                #             {
         | 
| 37861 | 
            +
                #               resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
         | 
| 37862 | 
            +
                #               tags: [
         | 
| 37863 | 
            +
                #                 {
         | 
| 37864 | 
            +
                #                   key: "String",
         | 
| 37865 | 
            +
                #                   value: "String",
         | 
| 37866 | 
            +
                #                 },
         | 
| 37867 | 
            +
                #               ],
         | 
| 37868 | 
            +
                #             },
         | 
| 37869 | 
            +
                #           ],
         | 
| 37746 37870 | 
             
                #         },
         | 
| 37747 37871 | 
             
                #       }
         | 
| 37748 37872 | 
             
                #
         | 
| @@ -42362,6 +42486,10 @@ module Aws::EC2 | |
| 42362 42486 | 
             
                #   The state of the Spot Fleet request.
         | 
| 42363 42487 | 
             
                #   @return [String]
         | 
| 42364 42488 | 
             
                #
         | 
| 42489 | 
            +
                # @!attribute [rw] tags
         | 
| 42490 | 
            +
                #   The tags for a Spot Fleet resource.
         | 
| 42491 | 
            +
                #   @return [Array<Types::Tag>]
         | 
| 42492 | 
            +
                #
         | 
| 42365 42493 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfig AWS API Documentation
         | 
| 42366 42494 | 
             
                #
         | 
| 42367 42495 | 
             
                class SpotFleetRequestConfig < Struct.new(
         | 
| @@ -42369,7 +42497,8 @@ module Aws::EC2 | |
| 42369 42497 | 
             
                  :create_time,
         | 
| 42370 42498 | 
             
                  :spot_fleet_request_config,
         | 
| 42371 42499 | 
             
                  :spot_fleet_request_id,
         | 
| 42372 | 
            -
                  :spot_fleet_request_state | 
| 42500 | 
            +
                  :spot_fleet_request_state,
         | 
| 42501 | 
            +
                  :tags)
         | 
| 42373 42502 | 
             
                  include Aws::Structure
         | 
| 42374 42503 | 
             
                end
         | 
| 42375 42504 |  | 
| @@ -42519,6 +42648,17 @@ module Aws::EC2 | |
| 42519 42648 | 
             
                #           },
         | 
| 42520 42649 | 
             
                #         },
         | 
| 42521 42650 | 
             
                #         instance_pools_to_use_count: 1,
         | 
| 42651 | 
            +
                #         tag_specifications: [
         | 
| 42652 | 
            +
                #           {
         | 
| 42653 | 
            +
                #             resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
         | 
| 42654 | 
            +
                #             tags: [
         | 
| 42655 | 
            +
                #               {
         | 
| 42656 | 
            +
                #                 key: "String",
         | 
| 42657 | 
            +
                #                 value: "String",
         | 
| 42658 | 
            +
                #               },
         | 
| 42659 | 
            +
                #             ],
         | 
| 42660 | 
            +
                #           },
         | 
| 42661 | 
            +
                #         ],
         | 
| 42522 42662 | 
             
                #       }
         | 
| 42523 42663 | 
             
                #
         | 
| 42524 42664 | 
             
                # @!attribute [rw] allocation_strategy
         | 
| @@ -42707,6 +42847,19 @@ module Aws::EC2 | |
| 42707 42847 | 
             
                #   pools that you specify.
         | 
| 42708 42848 | 
             
                #   @return [Integer]
         | 
| 42709 42849 | 
             
                #
         | 
| 42850 | 
            +
                # @!attribute [rw] tag_specifications
         | 
| 42851 | 
            +
                #   The key-value pair for tagging the Spot Fleet request on creation.
         | 
| 42852 | 
            +
                #   The value for `ResourceType` must be `spot-fleet-request`, otherwise
         | 
| 42853 | 
            +
                #   the Spot Fleet request fails. To tag instances at launch, specify
         | 
| 42854 | 
            +
                #   the tags in the [launch template][1]. For information about tagging
         | 
| 42855 | 
            +
                #   after launch, see [Tagging Your Resources][2].
         | 
| 42856 | 
            +
                #
         | 
| 42857 | 
            +
                #
         | 
| 42858 | 
            +
                #
         | 
| 42859 | 
            +
                #   [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
         | 
| 42860 | 
            +
                #   [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
         | 
| 42861 | 
            +
                #   @return [Array<Types::TagSpecification>]
         | 
| 42862 | 
            +
                #
         | 
| 42710 42863 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
         | 
| 42711 42864 | 
             
                #
         | 
| 42712 42865 | 
             
                class SpotFleetRequestConfigData < Struct.new(
         | 
| @@ -42731,7 +42884,8 @@ module Aws::EC2 | |
| 42731 42884 | 
             
                  :replace_unhealthy_instances,
         | 
| 42732 42885 | 
             
                  :instance_interruption_behavior,
         | 
| 42733 42886 | 
             
                  :load_balancers_config,
         | 
| 42734 | 
            -
                  :instance_pools_to_use_count | 
| 42887 | 
            +
                  :instance_pools_to_use_count,
         | 
| 42888 | 
            +
                  :tag_specifications)
         | 
| 42735 42889 | 
             
                  include Aws::Structure
         | 
| 42736 42890 | 
             
                end
         | 
| 42737 42891 |  | 
| @@ -42751,8 +42905,8 @@ module Aws::EC2 | |
| 42751 42905 | 
             
                #       }
         | 
| 42752 42906 | 
             
                #
         | 
| 42753 42907 | 
             
                # @!attribute [rw] resource_type
         | 
| 42754 | 
            -
                #   The type of resource. Currently, the only resource  | 
| 42755 | 
            -
                #   supported  | 
| 42908 | 
            +
                #   The type of resource. Currently, the only resource types that are
         | 
| 42909 | 
            +
                #   supported are `spot-fleet-request` and `instance`.
         | 
| 42756 42910 | 
             
                #   @return [String]
         | 
| 42757 42911 | 
             
                #
         | 
| 42758 42912 | 
             
                # @!attribute [rw] tags
         | 
| @@ -45314,7 +45468,7 @@ module Aws::EC2 | |
| 45314 45468 | 
             
                #   @return [String]
         | 
| 45315 45469 | 
             
                #
         | 
| 45316 45470 | 
             
                # @!attribute [rw] ipv_6_support
         | 
| 45317 | 
            -
                #   Indicates whether IPv6 support is  | 
| 45471 | 
            +
                #   Indicates whether IPv6 support is disabled.
         | 
| 45318 45472 | 
             
                #   @return [String]
         | 
| 45319 45473 | 
             
                #
         | 
| 45320 45474 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayVpcAttachmentOptions AWS API Documentation
         | 
| @@ -47071,7 +47225,7 @@ module Aws::EC2 | |
| 47071 47225 | 
             
                  include Aws::Structure
         | 
| 47072 47226 | 
             
                end
         | 
| 47073 47227 |  | 
| 47074 | 
            -
                # The tunnel options for a VPN  | 
| 47228 | 
            +
                # The tunnel options for a single VPN tunnel.
         | 
| 47075 47229 | 
             
                #
         | 
| 47076 47230 | 
             
                # @note When making an API call, you may pass VpnTunnelOptionsSpecification
         | 
| 47077 47231 | 
             
                #   data as a hash:
         | 
    
        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.141.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: 2020- | 
| 11 | 
            +
            date: 2020-02-11 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sigv4
         |