aws-sdk-ec2 1.440.0 → 1.442.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +363 -284
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +33 -13
- data/lib/aws-sdk-ec2/security_group.rb +46 -57
- data/lib/aws-sdk-ec2/snapshot.rb +6 -7
- data/lib/aws-sdk-ec2/subnet.rb +4 -4
- data/lib/aws-sdk-ec2/types.rb +240 -236
- data/lib/aws-sdk-ec2/volume.rb +2 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +24 -2
- data/sig/resource.rbs +12 -1
- data/sig/types.rbs +2 -0
- metadata +2 -2
    
        data/lib/aws-sdk-ec2/volume.rb
    CHANGED
    
    | @@ -337,11 +337,11 @@ module Aws::EC2 | |
| 337 337 | 
             
                #     The snapshot must be created on the same Outpost as the volume.
         | 
| 338 338 | 
             
                #
         | 
| 339 339 | 
             
                #   For more information, see [Create local snapshots from volumes on an
         | 
| 340 | 
            -
                #   Outpost][1] in the *Amazon  | 
| 340 | 
            +
                #   Outpost][1] in the *Amazon EBS User Guide*.
         | 
| 341 341 | 
             
                #
         | 
| 342 342 | 
             
                #
         | 
| 343 343 | 
             
                #
         | 
| 344 | 
            -
                #   [1]: https://docs.aws.amazon.com/ | 
| 344 | 
            +
                #   [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
         | 
| 345 345 | 
             
                # @option options [Array<Types::TagSpecification>] :tag_specifications
         | 
| 346 346 | 
             
                #   The tags to apply to the snapshot during creation.
         | 
| 347 347 | 
             
                # @option options [Boolean] :dry_run
         | 
    
        data/lib/aws-sdk-ec2.rb
    CHANGED
    
    
    
        data/sig/client.rbs
    CHANGED
    
    | @@ -967,7 +967,18 @@ module Aws | |
| 967 967 | 
             
                                    source_region: ::String,
         | 
| 968 968 | 
             
                                    ?destination_outpost_arn: ::String,
         | 
| 969 969 | 
             
                                    ?dry_run: bool,
         | 
| 970 | 
            -
                                    ?copy_image_tags: bool
         | 
| 970 | 
            +
                                    ?copy_image_tags: bool,
         | 
| 971 | 
            +
                                    ?tag_specifications: Array[
         | 
| 972 | 
            +
                                      {
         | 
| 973 | 
            +
                                        resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
         | 
| 974 | 
            +
                                        tags: Array[
         | 
| 975 | 
            +
                                          {
         | 
| 976 | 
            +
                                            key: ::String?,
         | 
| 977 | 
            +
                                            value: ::String?
         | 
| 978 | 
            +
                                          },
         | 
| 979 | 
            +
                                        ]?
         | 
| 980 | 
            +
                                      },
         | 
| 981 | 
            +
                                    ]
         | 
| 971 982 | 
             
                                  ) -> _CopyImageResponseSuccess
         | 
| 972 983 | 
             
                                | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyImageResponseSuccess
         | 
| 973 984 |  | 
| @@ -11199,7 +11210,18 @@ module Aws | |
| 11199 11210 | 
             
                                        ?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
         | 
| 11200 11211 | 
             
                                        ?tpm_support: ("v2.0"),
         | 
| 11201 11212 | 
             
                                        ?uefi_data: ::String,
         | 
| 11202 | 
            -
                                        ?imds_support: ("v2.0")
         | 
| 11213 | 
            +
                                        ?imds_support: ("v2.0"),
         | 
| 11214 | 
            +
                                        ?tag_specifications: Array[
         | 
| 11215 | 
            +
                                          {
         | 
| 11216 | 
            +
                                            resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
         | 
| 11217 | 
            +
                                            tags: Array[
         | 
| 11218 | 
            +
                                              {
         | 
| 11219 | 
            +
                                                key: ::String?,
         | 
| 11220 | 
            +
                                                value: ::String?
         | 
| 11221 | 
            +
                                              },
         | 
| 11222 | 
            +
                                            ]?
         | 
| 11223 | 
            +
                                          },
         | 
| 11224 | 
            +
                                        ]
         | 
| 11203 11225 | 
             
                                      ) -> _RegisterImageResponseSuccess
         | 
| 11204 11226 | 
             
                                    | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterImageResponseSuccess
         | 
| 11205 11227 |  | 
    
        data/sig/resource.rbs
    CHANGED
    
    | @@ -703,7 +703,18 @@ module Aws | |
| 703 703 | 
             
                                        ?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
         | 
| 704 704 | 
             
                                        ?tpm_support: ("v2.0"),
         | 
| 705 705 | 
             
                                        ?uefi_data: ::String,
         | 
| 706 | 
            -
                                        ?imds_support: ("v2.0")
         | 
| 706 | 
            +
                                        ?imds_support: ("v2.0"),
         | 
| 707 | 
            +
                                        ?tag_specifications: Array[
         | 
| 708 | 
            +
                                          {
         | 
| 709 | 
            +
                                            resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
         | 
| 710 | 
            +
                                            tags: Array[
         | 
| 711 | 
            +
                                              {
         | 
| 712 | 
            +
                                                key: ::String?,
         | 
| 713 | 
            +
                                                value: ::String?
         | 
| 714 | 
            +
                                              },
         | 
| 715 | 
            +
                                            ]?
         | 
| 716 | 
            +
                                          },
         | 
| 717 | 
            +
                                        ]
         | 
| 707 718 | 
             
                                      ) -> Image
         | 
| 708 719 | 
             
                                    | (?Hash[Symbol, untyped]) -> Image
         | 
| 709 720 |  | 
    
        data/sig/types.rbs
    CHANGED
    
    | @@ -1542,6 +1542,7 @@ module Aws::EC2 | |
| 1542 1542 | 
             
                  attr_accessor destination_outpost_arn: ::String
         | 
| 1543 1543 | 
             
                  attr_accessor dry_run: bool
         | 
| 1544 1544 | 
             
                  attr_accessor copy_image_tags: bool
         | 
| 1545 | 
            +
                  attr_accessor tag_specifications: ::Array[Types::TagSpecification]
         | 
| 1545 1546 | 
             
                  SENSITIVE: []
         | 
| 1546 1547 | 
             
                end
         | 
| 1547 1548 |  | 
| @@ -12049,6 +12050,7 @@ module Aws::EC2 | |
| 12049 12050 | 
             
                  attr_accessor tpm_support: ("v2.0")
         | 
| 12050 12051 | 
             
                  attr_accessor uefi_data: ::String
         | 
| 12051 12052 | 
             
                  attr_accessor imds_support: ("v2.0")
         | 
| 12053 | 
            +
                  attr_accessor tag_specifications: ::Array[Types::TagSpecification]
         | 
| 12052 12054 | 
             
                  SENSITIVE: []
         | 
| 12053 12055 | 
             
                end
         | 
| 12054 12056 |  | 
    
        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.442.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: 2024-03- | 
| 11 | 
            +
            date: 2024-03-12 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |