aws-sdk-ec2 1.391.0 → 1.392.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +5 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-ec2/client.rb +266 -469
 - data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
 - data/lib/aws-sdk-ec2/instance.rb +17 -16
 - data/lib/aws-sdk-ec2/network_acl.rb +1 -1
 - data/lib/aws-sdk-ec2/resource.rb +32 -47
 - data/lib/aws-sdk-ec2/security_group.rb +27 -35
 - data/lib/aws-sdk-ec2/subnet.rb +4 -12
 - data/lib/aws-sdk-ec2/types.rb +259 -273
 - data/lib/aws-sdk-ec2/vpc.rb +21 -29
 - data/lib/aws-sdk-ec2.rb +1 -1
 - metadata +2 -2
 
    
        data/lib/aws-sdk-ec2/vpc.rb
    CHANGED
    
    | 
         @@ -317,11 +317,10 @@ module Aws::EC2 
     | 
|
| 
       317 
317 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       318 
318 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       319 
319 
     | 
    
         
             
                # @option options [required, Array<String>] :groups
         
     | 
| 
       320 
     | 
    
         
            -
                #   The  
     | 
| 
       321 
     | 
    
         
            -
                #    
     | 
| 
      
 320 
     | 
    
         
            +
                #   The IDs of the security groups. You cannot specify security groups
         
     | 
| 
      
 321 
     | 
    
         
            +
                #   from a different VPC.
         
     | 
| 
       322 
322 
     | 
    
         
             
                # @option options [required, String] :instance_id
         
     | 
| 
       323 
     | 
    
         
            -
                #   The ID of  
     | 
| 
       324 
     | 
    
         
            -
                #   VPC.
         
     | 
| 
      
 323 
     | 
    
         
            +
                #   The ID of the EC2-Classic instance.
         
     | 
| 
       325 
324 
     | 
    
         
             
                # @return [Types::AttachClassicLinkVpcResult]
         
     | 
| 
       326 
325 
     | 
    
         
             
                def attach_classic_link_instance(options = {})
         
     | 
| 
       327 
326 
     | 
    
         
             
                  options = options.merge(vpc_id: @id)
         
     | 
| 
         @@ -452,18 +451,14 @@ module Aws::EC2 
     | 
|
| 
       452 
451 
     | 
    
         
             
                #
         
     | 
| 
       453 
452 
     | 
    
         
             
                #   Constraints: Up to 255 characters in length
         
     | 
| 
       454 
453 
     | 
    
         
             
                #
         
     | 
| 
       455 
     | 
    
         
            -
                #    
     | 
| 
       456 
     | 
    
         
            -
                #
         
     | 
| 
       457 
     | 
    
         
            -
                #   Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
         
     | 
| 
      
 454 
     | 
    
         
            +
                #   Valid characters: a-z, A-Z, 0-9, spaces, and
         
     | 
| 
       458 
455 
     | 
    
         
             
                #   .\_-:/()#,@\[\]+=&;\\\{\\}!$*
         
     | 
| 
       459 
456 
     | 
    
         
             
                # @option options [required, String] :group_name
         
     | 
| 
       460 
457 
     | 
    
         
             
                #   The name of the security group.
         
     | 
| 
       461 
458 
     | 
    
         
             
                #
         
     | 
| 
       462 
459 
     | 
    
         
             
                #   Constraints: Up to 255 characters in length. Cannot start with `sg-`.
         
     | 
| 
       463 
460 
     | 
    
         
             
                #
         
     | 
| 
       464 
     | 
    
         
            -
                #    
     | 
| 
       465 
     | 
    
         
            -
                #
         
     | 
| 
       466 
     | 
    
         
            -
                #   Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
         
     | 
| 
      
 461 
     | 
    
         
            +
                #   Valid characters: a-z, A-Z, 0-9, spaces, and
         
     | 
| 
       467 
462 
     | 
    
         
             
                #   .\_-:/()#,@\[\]+=&;\\\{\\}!$*
         
     | 
| 
       468 
463 
     | 
    
         
             
                # @option options [Array<Types::TagSpecification>] :tag_specifications
         
     | 
| 
       469 
464 
     | 
    
         
             
                #   The tags to assign to the security group.
         
     | 
| 
         @@ -518,15 +513,14 @@ module Aws::EC2 
     | 
|
| 
       518 
513 
     | 
    
         
             
                #
         
     | 
| 
       519 
514 
     | 
    
         
             
                #   To create a subnet in a Local Zone, set this value to the Local Zone
         
     | 
| 
       520 
515 
     | 
    
         
             
                #   ID, for example `us-west-2-lax-1a`. For information about the Regions
         
     | 
| 
       521 
     | 
    
         
            -
                #   that support Local Zones, see [ 
     | 
| 
       522 
     | 
    
         
            -
                #   Elastic Compute Cloud User Guide*.
         
     | 
| 
      
 516 
     | 
    
         
            +
                #   that support Local Zones, see [Local Zones locations][1].
         
     | 
| 
       523 
517 
     | 
    
         
             
                #
         
     | 
| 
       524 
518 
     | 
    
         
             
                #   To create a subnet in an Outpost, set this value to the Availability
         
     | 
| 
       525 
519 
     | 
    
         
             
                #   Zone for the Outpost and specify the Outpost ARN.
         
     | 
| 
       526 
520 
     | 
    
         
             
                #
         
     | 
| 
       527 
521 
     | 
    
         
             
                #
         
     | 
| 
       528 
522 
     | 
    
         
             
                #
         
     | 
| 
       529 
     | 
    
         
            -
                #   [1]:  
     | 
| 
      
 523 
     | 
    
         
            +
                #   [1]: http://aws.amazon.com/about-aws/global-infrastructure/localzones/locations/
         
     | 
| 
       530 
524 
     | 
    
         
             
                # @option options [String] :availability_zone_id
         
     | 
| 
       531 
525 
     | 
    
         
             
                #   The AZ ID or the Local Zone ID of the subnet.
         
     | 
| 
       532 
526 
     | 
    
         
             
                # @option options [String] :cidr_block
         
     | 
| 
         @@ -892,7 +886,7 @@ module Aws::EC2 
     | 
|
| 
       892 
886 
     | 
    
         
             
                #   })
         
     | 
| 
       893 
887 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       894 
888 
     | 
    
         
             
                # @option options [Array<Types::Filter>] :filters
         
     | 
| 
       895 
     | 
    
         
            -
                #    
     | 
| 
      
 889 
     | 
    
         
            +
                #   The filters.
         
     | 
| 
       896 
890 
     | 
    
         
             
                #
         
     | 
| 
       897 
891 
     | 
    
         
             
                #   * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
         
     | 
| 
       898 
892 
     | 
    
         
             
                #     VPC.
         
     | 
| 
         @@ -937,7 +931,7 @@ module Aws::EC2 
     | 
|
| 
       937 
931 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       938 
932 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       939 
933 
     | 
    
         
             
                # @option options [Array<String>] :vpc_peering_connection_ids
         
     | 
| 
       940 
     | 
    
         
            -
                #    
     | 
| 
      
 934 
     | 
    
         
            +
                #   The IDs of the VPC peering connections.
         
     | 
| 
       941 
935 
     | 
    
         
             
                #
         
     | 
| 
       942 
936 
     | 
    
         
             
                #   Default: Describes all your VPC peering connections.
         
     | 
| 
       943 
937 
     | 
    
         
             
                # @return [VpcPeeringConnection::Collection]
         
     | 
| 
         @@ -1320,7 +1314,7 @@ module Aws::EC2 
     | 
|
| 
       1320 
1314 
     | 
    
         
             
                #   })
         
     | 
| 
       1321 
1315 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       1322 
1316 
     | 
    
         
             
                # @option options [Array<Types::Filter>] :filters
         
     | 
| 
       1323 
     | 
    
         
            -
                #    
     | 
| 
      
 1317 
     | 
    
         
            +
                #   The filters.
         
     | 
| 
       1324 
1318 
     | 
    
         
             
                #
         
     | 
| 
       1325 
1319 
     | 
    
         
             
                #   * `attachment.state` - The current state of the attachment between the
         
     | 
| 
       1326 
1320 
     | 
    
         
             
                #     gateway and the VPC (`available`). Present only if a VPC is
         
     | 
| 
         @@ -1348,7 +1342,7 @@ module Aws::EC2 
     | 
|
| 
       1348 
1342 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       1349 
1343 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       1350 
1344 
     | 
    
         
             
                # @option options [Array<String>] :internet_gateway_ids
         
     | 
| 
       1351 
     | 
    
         
            -
                #    
     | 
| 
      
 1345 
     | 
    
         
            +
                #   The IDs of the internet gateways.
         
     | 
| 
       1352 
1346 
     | 
    
         
             
                #
         
     | 
| 
       1353 
1347 
     | 
    
         
             
                #   Default: Describes all your internet gateways.
         
     | 
| 
       1354 
1348 
     | 
    
         
             
                # @return [InternetGateway::Collection]
         
     | 
| 
         @@ -1390,7 +1384,7 @@ module Aws::EC2 
     | 
|
| 
       1390 
1384 
     | 
    
         
             
                #   })
         
     | 
| 
       1391 
1385 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       1392 
1386 
     | 
    
         
             
                # @option options [Array<Types::Filter>] :filters
         
     | 
| 
       1393 
     | 
    
         
            -
                #    
     | 
| 
      
 1387 
     | 
    
         
            +
                #   The filters.
         
     | 
| 
       1394 
1388 
     | 
    
         
             
                #
         
     | 
| 
       1395 
1389 
     | 
    
         
             
                #   * `association.association-id` - The ID of an association ID for the
         
     | 
| 
       1396 
1390 
     | 
    
         
             
                #     ACL.
         
     | 
| 
         @@ -1452,7 +1446,7 @@ module Aws::EC2 
     | 
|
| 
       1452 
1446 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       1453 
1447 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       1454 
1448 
     | 
    
         
             
                # @option options [Array<String>] :network_acl_ids
         
     | 
| 
       1455 
     | 
    
         
            -
                #    
     | 
| 
      
 1449 
     | 
    
         
            +
                #   The IDs of the network ACLs.
         
     | 
| 
       1456 
1450 
     | 
    
         
             
                #
         
     | 
| 
       1457 
1451 
     | 
    
         
             
                #   Default: Describes all your network ACLs.
         
     | 
| 
       1458 
1452 
     | 
    
         
             
                # @return [NetworkAcl::Collection]
         
     | 
| 
         @@ -1658,7 +1652,7 @@ module Aws::EC2 
     | 
|
| 
       1658 
1652 
     | 
    
         
             
                #   })
         
     | 
| 
       1659 
1653 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       1660 
1654 
     | 
    
         
             
                # @option options [Array<Types::Filter>] :filters
         
     | 
| 
       1661 
     | 
    
         
            -
                #    
     | 
| 
      
 1655 
     | 
    
         
            +
                #   The filters.
         
     | 
| 
       1662 
1656 
     | 
    
         
             
                #
         
     | 
| 
       1663 
1657 
     | 
    
         
             
                #   * `accepter-vpc-info.cidr-block` - The IPv4 CIDR block of the accepter
         
     | 
| 
       1664 
1658 
     | 
    
         
             
                #     VPC.
         
     | 
| 
         @@ -1703,7 +1697,7 @@ module Aws::EC2 
     | 
|
| 
       1703 
1697 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       1704 
1698 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       1705 
1699 
     | 
    
         
             
                # @option options [Array<String>] :vpc_peering_connection_ids
         
     | 
| 
       1706 
     | 
    
         
            -
                #    
     | 
| 
      
 1700 
     | 
    
         
            +
                #   The IDs of the VPC peering connections.
         
     | 
| 
       1707 
1701 
     | 
    
         
             
                #
         
     | 
| 
       1708 
1702 
     | 
    
         
             
                #   Default: Describes all your VPC peering connections.
         
     | 
| 
       1709 
1703 
     | 
    
         
             
                # @return [VpcPeeringConnection::Collection]
         
     | 
| 
         @@ -1745,7 +1739,7 @@ module Aws::EC2 
     | 
|
| 
       1745 
1739 
     | 
    
         
             
                #   })
         
     | 
| 
       1746 
1740 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       1747 
1741 
     | 
    
         
             
                # @option options [Array<Types::Filter>] :filters
         
     | 
| 
       1748 
     | 
    
         
            -
                #    
     | 
| 
      
 1742 
     | 
    
         
            +
                #   The filters.
         
     | 
| 
       1749 
1743 
     | 
    
         
             
                #
         
     | 
| 
       1750 
1744 
     | 
    
         
             
                #   * `association.route-table-association-id` - The ID of an association
         
     | 
| 
       1751 
1745 
     | 
    
         
             
                #     ID for the route table.
         
     | 
| 
         @@ -1820,7 +1814,7 @@ module Aws::EC2 
     | 
|
| 
       1820 
1814 
     | 
    
         
             
                #   If you have the required permissions, the error response is
         
     | 
| 
       1821 
1815 
     | 
    
         
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         
     | 
| 
       1822 
1816 
     | 
    
         
             
                # @option options [Array<String>] :route_table_ids
         
     | 
| 
       1823 
     | 
    
         
            -
                #    
     | 
| 
      
 1817 
     | 
    
         
            +
                #   The IDs of the route tables.
         
     | 
| 
       1824 
1818 
     | 
    
         
             
                #
         
     | 
| 
       1825 
1819 
     | 
    
         
             
                #   Default: Describes all your route tables.
         
     | 
| 
       1826 
1820 
     | 
    
         
             
                # @return [RouteTable::Collection]
         
     | 
| 
         @@ -1950,10 +1944,8 @@ module Aws::EC2 
     | 
|
| 
       1950 
1944 
     | 
    
         
             
                #
         
     | 
| 
       1951 
1945 
     | 
    
         
             
                #   Default: Describes all of your security groups.
         
     | 
| 
       1952 
1946 
     | 
    
         
             
                # @option options [Array<String>] :group_names
         
     | 
| 
       1953 
     | 
    
         
            -
                #   \[ 
     | 
| 
       1954 
     | 
    
         
            -
                #    
     | 
| 
       1955 
     | 
    
         
            -
                #   ID. For security groups in a nondefault VPC, use the `group-name`
         
     | 
| 
       1956 
     | 
    
         
            -
                #   filter to describe security groups by name.
         
     | 
| 
      
 1947 
     | 
    
         
            +
                #   \[Default VPC\] The names of the security groups. You can specify
         
     | 
| 
      
 1948 
     | 
    
         
            +
                #   either the security group name or the security group ID.
         
     | 
| 
       1957 
1949 
     | 
    
         
             
                #
         
     | 
| 
       1958 
1950 
     | 
    
         
             
                #   Default: Describes all of your security groups.
         
     | 
| 
       1959 
1951 
     | 
    
         
             
                # @option options [Boolean] :dry_run
         
     | 
| 
         @@ -2000,7 +1992,7 @@ module Aws::EC2 
     | 
|
| 
       2000 
1992 
     | 
    
         
             
                #   })
         
     | 
| 
       2001 
1993 
     | 
    
         
             
                # @param [Hash] options ({})
         
     | 
| 
       2002 
1994 
     | 
    
         
             
                # @option options [Array<Types::Filter>] :filters
         
     | 
| 
       2003 
     | 
    
         
            -
                #    
     | 
| 
      
 1995 
     | 
    
         
            +
                #   The filters.
         
     | 
| 
       2004 
1996 
     | 
    
         
             
                #
         
     | 
| 
       2005 
1997 
     | 
    
         
             
                #   * `availability-zone` - The Availability Zone for the subnet. You can
         
     | 
| 
       2006 
1998 
     | 
    
         
             
                #     also use `availabilityZone` as the filter name.
         
     | 
| 
         @@ -2089,7 +2081,7 @@ module Aws::EC2 
     | 
|
| 
       2089 
2081 
     | 
    
         
             
                #
         
     | 
| 
       2090 
2082 
     | 
    
         
             
                #   * `vpc-id` - The ID of the VPC for the subnet.
         
     | 
| 
       2091 
2083 
     | 
    
         
             
                # @option options [Array<String>] :subnet_ids
         
     | 
| 
       2092 
     | 
    
         
            -
                #    
     | 
| 
      
 2084 
     | 
    
         
            +
                #   The IDs of the subnets.
         
     | 
| 
       2093 
2085 
     | 
    
         
             
                #
         
     | 
| 
       2094 
2086 
     | 
    
         
             
                #   Default: Describes all your subnets.
         
     | 
| 
       2095 
2087 
     | 
    
         
             
                # @option options [Boolean] :dry_run
         
     | 
    
        data/lib/aws-sdk-ec2.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-ec2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.392.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: 2023-07- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-07-19 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sigv4
         
     |