aws-sdk-ec2 1.479.0 → 1.480.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/classic_address.rb +11 -11
- data/lib/aws-sdk-ec2/client.rb +2723 -2713
- data/lib/aws-sdk-ec2/client_api.rb +438 -436
- data/lib/aws-sdk-ec2/dhcp_options.rb +6 -6
- data/lib/aws-sdk-ec2/image.rb +82 -82
- data/lib/aws-sdk-ec2/instance.rb +285 -285
- data/lib/aws-sdk-ec2/key_pair.rb +12 -12
- data/lib/aws-sdk-ec2/key_pair_info.rb +27 -27
- data/lib/aws-sdk-ec2/network_acl.rb +60 -60
- data/lib/aws-sdk-ec2/network_interface.rb +65 -65
- data/lib/aws-sdk-ec2/placement_group.rb +11 -11
- data/lib/aws-sdk-ec2/resource.rb +597 -597
- data/lib/aws-sdk-ec2/route.rb +30 -30
- data/lib/aws-sdk-ec2/route_table.rb +37 -37
- data/lib/aws-sdk-ec2/security_group.rb +137 -137
- data/lib/aws-sdk-ec2/snapshot.rb +77 -77
- data/lib/aws-sdk-ec2/subnet.rb +276 -276
- data/lib/aws-sdk-ec2/types.rb +3284 -3291
- data/lib/aws-sdk-ec2/volume.rb +93 -93
- data/lib/aws-sdk-ec2/vpc.rb +143 -143
- data/lib/aws-sdk-ec2/vpc_address.rb +17 -17
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +5 -5
- data/sig/client.rbs +872 -872
- data/sig/dhcp_options.rbs +3 -3
- data/sig/image.rbs +41 -41
- data/sig/instance.rbs +108 -108
- data/sig/key_pair.rbs +6 -6
- data/sig/key_pair_info.rbs +3 -3
- data/sig/network_acl.rbs +16 -16
- data/sig/network_interface.rbs +22 -22
- data/sig/placement_group.rbs +3 -3
- data/sig/resource.rbs +201 -201
- data/sig/route.rbs +9 -9
- data/sig/route_table.rbs +10 -10
- data/sig/security_group.rbs +110 -110
- data/sig/snapshot.rbs +34 -34
- data/sig/subnet.rbs +116 -116
- data/sig/types.rbs +438 -437
- data/sig/volume.rbs +33 -33
- data/sig/vpc.rbs +46 -46
- data/sig/vpc_address.rbs +8 -8
- data/sig/waiters.rbs +113 -113
- metadata +2 -2
    
        data/lib/aws-sdk-ec2/route.rb
    CHANGED
    
    | @@ -277,14 +277,11 @@ module Aws::EC2 | |
| 277 277 | 
             
                # @example Request syntax with placeholder values
         | 
| 278 278 | 
             
                #
         | 
| 279 279 | 
             
                #   route.delete({
         | 
| 280 | 
            -
                #     destination_ipv_6_cidr_block: "String",
         | 
| 281 280 | 
             
                #     destination_prefix_list_id: "PrefixListResourceId",
         | 
| 282 281 | 
             
                #     dry_run: false,
         | 
| 282 | 
            +
                #     destination_ipv_6_cidr_block: "String",
         | 
| 283 283 | 
             
                #   })
         | 
| 284 284 | 
             
                # @param [Hash] options ({})
         | 
| 285 | 
            -
                # @option options [String] :destination_ipv_6_cidr_block
         | 
| 286 | 
            -
                #   The IPv6 CIDR range for the route. The value you specify must match
         | 
| 287 | 
            -
                #   the CIDR for the route exactly.
         | 
| 288 285 | 
             
                # @option options [String] :destination_prefix_list_id
         | 
| 289 286 | 
             
                #   The ID of the prefix list for the route.
         | 
| 290 287 | 
             
                # @option options [Boolean] :dry_run
         | 
| @@ -292,6 +289,9 @@ module Aws::EC2 | |
| 292 289 | 
             
                #   without actually making the request, and provides an error response.
         | 
| 293 290 | 
             
                #   If you have the required permissions, the error response is
         | 
| 294 291 | 
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         | 
| 292 | 
            +
                # @option options [String] :destination_ipv_6_cidr_block
         | 
| 293 | 
            +
                #   The IPv6 CIDR range for the route. The value you specify must match
         | 
| 294 | 
            +
                #   the CIDR for the route exactly.
         | 
| 295 295 | 
             
                # @return [EmptyStructure]
         | 
| 296 296 | 
             
                def delete(options = {})
         | 
| 297 297 | 
             
                  options = options.merge(
         | 
| @@ -307,60 +307,60 @@ module Aws::EC2 | |
| 307 307 | 
             
                # @example Request syntax with placeholder values
         | 
| 308 308 | 
             
                #
         | 
| 309 309 | 
             
                #   route.replace({
         | 
| 310 | 
            -
                #     destination_ipv_6_cidr_block: "String",
         | 
| 311 310 | 
             
                #     destination_prefix_list_id: "PrefixListResourceId",
         | 
| 312 | 
            -
                #     dry_run: false,
         | 
| 313 311 | 
             
                #     vpc_endpoint_id: "VpcEndpointId",
         | 
| 314 | 
            -
                #     egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
         | 
| 315 | 
            -
                #     gateway_id: "RouteGatewayId",
         | 
| 316 | 
            -
                #     instance_id: "InstanceId",
         | 
| 317 312 | 
             
                #     local_target: false,
         | 
| 318 | 
            -
                #     nat_gateway_id: "NatGatewayId",
         | 
| 319 313 | 
             
                #     transit_gateway_id: "TransitGatewayId",
         | 
| 320 314 | 
             
                #     local_gateway_id: "LocalGatewayId",
         | 
| 321 315 | 
             
                #     carrier_gateway_id: "CarrierGatewayId",
         | 
| 316 | 
            +
                #     core_network_arn: "CoreNetworkArn",
         | 
| 317 | 
            +
                #     dry_run: false,
         | 
| 318 | 
            +
                #     gateway_id: "RouteGatewayId",
         | 
| 319 | 
            +
                #     destination_ipv_6_cidr_block: "String",
         | 
| 320 | 
            +
                #     egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
         | 
| 321 | 
            +
                #     instance_id: "InstanceId",
         | 
| 322 322 | 
             
                #     network_interface_id: "NetworkInterfaceId",
         | 
| 323 323 | 
             
                #     vpc_peering_connection_id: "VpcPeeringConnectionId",
         | 
| 324 | 
            -
                #      | 
| 324 | 
            +
                #     nat_gateway_id: "NatGatewayId",
         | 
| 325 325 | 
             
                #   })
         | 
| 326 326 | 
             
                # @param [Hash] options ({})
         | 
| 327 | 
            -
                # @option options [String] :destination_ipv_6_cidr_block
         | 
| 328 | 
            -
                #   The IPv6 CIDR address block used for the destination match. The value
         | 
| 329 | 
            -
                #   that you provide must match the CIDR of an existing route in the
         | 
| 330 | 
            -
                #   table.
         | 
| 331 327 | 
             
                # @option options [String] :destination_prefix_list_id
         | 
| 332 328 | 
             
                #   The ID of the prefix list for the route.
         | 
| 333 | 
            -
                # @option options [Boolean] :dry_run
         | 
| 334 | 
            -
                #   Checks whether you have the required permissions for the action,
         | 
| 335 | 
            -
                #   without actually making the request, and provides an error response.
         | 
| 336 | 
            -
                #   If you have the required permissions, the error response is
         | 
| 337 | 
            -
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         | 
| 338 329 | 
             
                # @option options [String] :vpc_endpoint_id
         | 
| 339 330 | 
             
                #   The ID of a VPC endpoint. Supported for Gateway Load Balancer
         | 
| 340 331 | 
             
                #   endpoints only.
         | 
| 341 | 
            -
                # @option options [String] :egress_only_internet_gateway_id
         | 
| 342 | 
            -
                #   \[IPv6 traffic only\] The ID of an egress-only internet gateway.
         | 
| 343 | 
            -
                # @option options [String] :gateway_id
         | 
| 344 | 
            -
                #   The ID of an internet gateway or virtual private gateway.
         | 
| 345 | 
            -
                # @option options [String] :instance_id
         | 
| 346 | 
            -
                #   The ID of a NAT instance in your VPC.
         | 
| 347 332 | 
             
                # @option options [Boolean] :local_target
         | 
| 348 333 | 
             
                #   Specifies whether to reset the local route to its default target
         | 
| 349 334 | 
             
                #   (`local`).
         | 
| 350 | 
            -
                # @option options [String] :nat_gateway_id
         | 
| 351 | 
            -
                #   \[IPv4 traffic only\] The ID of a NAT gateway.
         | 
| 352 335 | 
             
                # @option options [String] :transit_gateway_id
         | 
| 353 336 | 
             
                #   The ID of a transit gateway.
         | 
| 354 337 | 
             
                # @option options [String] :local_gateway_id
         | 
| 355 338 | 
             
                #   The ID of the local gateway.
         | 
| 356 339 | 
             
                # @option options [String] :carrier_gateway_id
         | 
| 357 340 | 
             
                #   \[IPv4 traffic only\] The ID of a carrier gateway.
         | 
| 341 | 
            +
                # @option options [String] :core_network_arn
         | 
| 342 | 
            +
                #   The Amazon Resource Name (ARN) of the core network.
         | 
| 343 | 
            +
                # @option options [Boolean] :dry_run
         | 
| 344 | 
            +
                #   Checks whether you have the required permissions for the action,
         | 
| 345 | 
            +
                #   without actually making the request, and provides an error response.
         | 
| 346 | 
            +
                #   If you have the required permissions, the error response is
         | 
| 347 | 
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         | 
| 348 | 
            +
                # @option options [String] :gateway_id
         | 
| 349 | 
            +
                #   The ID of an internet gateway or virtual private gateway.
         | 
| 350 | 
            +
                # @option options [String] :destination_ipv_6_cidr_block
         | 
| 351 | 
            +
                #   The IPv6 CIDR address block used for the destination match. The value
         | 
| 352 | 
            +
                #   that you provide must match the CIDR of an existing route in the
         | 
| 353 | 
            +
                #   table.
         | 
| 354 | 
            +
                # @option options [String] :egress_only_internet_gateway_id
         | 
| 355 | 
            +
                #   \[IPv6 traffic only\] The ID of an egress-only internet gateway.
         | 
| 356 | 
            +
                # @option options [String] :instance_id
         | 
| 357 | 
            +
                #   The ID of a NAT instance in your VPC.
         | 
| 358 358 | 
             
                # @option options [String] :network_interface_id
         | 
| 359 359 | 
             
                #   The ID of a network interface.
         | 
| 360 360 | 
             
                # @option options [String] :vpc_peering_connection_id
         | 
| 361 361 | 
             
                #   The ID of a VPC peering connection.
         | 
| 362 | 
            -
                # @option options [String] : | 
| 363 | 
            -
                #    | 
| 362 | 
            +
                # @option options [String] :nat_gateway_id
         | 
| 363 | 
            +
                #   \[IPv4 traffic only\] The ID of a NAT gateway.
         | 
| 364 364 | 
             
                # @return [EmptyStructure]
         | 
| 365 365 | 
             
                def replace(options = {})
         | 
| 366 366 | 
             
                  options = options.merge(
         | 
| @@ -200,11 +200,13 @@ module Aws::EC2 | |
| 200 200 | 
             
                # @example Request syntax with placeholder values
         | 
| 201 201 | 
             
                #
         | 
| 202 202 | 
             
                #   routetableassociation = route_table.associate_with_subnet({
         | 
| 203 | 
            +
                #     gateway_id: "RouteGatewayId",
         | 
| 203 204 | 
             
                #     dry_run: false,
         | 
| 204 205 | 
             
                #     subnet_id: "SubnetId",
         | 
| 205 | 
            -
                #     gateway_id: "RouteGatewayId",
         | 
| 206 206 | 
             
                #   })
         | 
| 207 207 | 
             
                # @param [Hash] options ({})
         | 
| 208 | 
            +
                # @option options [String] :gateway_id
         | 
| 209 | 
            +
                #   The ID of the internet gateway or virtual private gateway.
         | 
| 208 210 | 
             
                # @option options [Boolean] :dry_run
         | 
| 209 211 | 
             
                #   Checks whether you have the required permissions for the action,
         | 
| 210 212 | 
             
                #   without actually making the request, and provides an error response.
         | 
| @@ -212,8 +214,6 @@ module Aws::EC2 | |
| 212 214 | 
             
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         | 
| 213 215 | 
             
                # @option options [String] :subnet_id
         | 
| 214 216 | 
             
                #   The ID of the subnet.
         | 
| 215 | 
            -
                # @option options [String] :gateway_id
         | 
| 216 | 
            -
                #   The ID of the internet gateway or virtual private gateway.
         | 
| 217 217 | 
             
                # @return [RouteTableAssociation]
         | 
| 218 218 | 
             
                def associate_with_subnet(options = {})
         | 
| 219 219 | 
             
                  options = options.merge(route_table_id: @id)
         | 
| @@ -229,52 +229,28 @@ module Aws::EC2 | |
| 229 229 | 
             
                # @example Request syntax with placeholder values
         | 
| 230 230 | 
             
                #
         | 
| 231 231 | 
             
                #   route = route_table.create_route({
         | 
| 232 | 
            -
                #     destination_cidr_block: "String",
         | 
| 233 | 
            -
                #     destination_ipv_6_cidr_block: "String",
         | 
| 234 232 | 
             
                #     destination_prefix_list_id: "PrefixListResourceId",
         | 
| 235 | 
            -
                #     dry_run: false,
         | 
| 236 233 | 
             
                #     vpc_endpoint_id: "VpcEndpointId",
         | 
| 237 | 
            -
                #     egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
         | 
| 238 | 
            -
                #     gateway_id: "RouteGatewayId",
         | 
| 239 | 
            -
                #     instance_id: "InstanceId",
         | 
| 240 | 
            -
                #     nat_gateway_id: "NatGatewayId",
         | 
| 241 234 | 
             
                #     transit_gateway_id: "TransitGatewayId",
         | 
| 242 235 | 
             
                #     local_gateway_id: "LocalGatewayId",
         | 
| 243 236 | 
             
                #     carrier_gateway_id: "CarrierGatewayId",
         | 
| 237 | 
            +
                #     core_network_arn: "CoreNetworkArn",
         | 
| 238 | 
            +
                #     dry_run: false,
         | 
| 239 | 
            +
                #     destination_cidr_block: "String",
         | 
| 240 | 
            +
                #     gateway_id: "RouteGatewayId",
         | 
| 241 | 
            +
                #     destination_ipv_6_cidr_block: "String",
         | 
| 242 | 
            +
                #     egress_only_internet_gateway_id: "EgressOnlyInternetGatewayId",
         | 
| 243 | 
            +
                #     instance_id: "InstanceId",
         | 
| 244 244 | 
             
                #     network_interface_id: "NetworkInterfaceId",
         | 
| 245 245 | 
             
                #     vpc_peering_connection_id: "VpcPeeringConnectionId",
         | 
| 246 | 
            -
                #      | 
| 246 | 
            +
                #     nat_gateway_id: "NatGatewayId",
         | 
| 247 247 | 
             
                #   })
         | 
| 248 248 | 
             
                # @param [Hash] options ({})
         | 
| 249 | 
            -
                # @option options [String] :destination_cidr_block
         | 
| 250 | 
            -
                #   The IPv4 CIDR address block used for the destination match. Routing
         | 
| 251 | 
            -
                #   decisions are based on the most specific match. We modify the
         | 
| 252 | 
            -
                #   specified CIDR block to its canonical form; for example, if you
         | 
| 253 | 
            -
                #   specify `100.68.0.18/18`, we modify it to `100.68.0.0/18`.
         | 
| 254 | 
            -
                # @option options [String] :destination_ipv_6_cidr_block
         | 
| 255 | 
            -
                #   The IPv6 CIDR block used for the destination match. Routing decisions
         | 
| 256 | 
            -
                #   are based on the most specific match.
         | 
| 257 249 | 
             
                # @option options [String] :destination_prefix_list_id
         | 
| 258 250 | 
             
                #   The ID of a prefix list used for the destination match.
         | 
| 259 | 
            -
                # @option options [Boolean] :dry_run
         | 
| 260 | 
            -
                #   Checks whether you have the required permissions for the action,
         | 
| 261 | 
            -
                #   without actually making the request, and provides an error response.
         | 
| 262 | 
            -
                #   If you have the required permissions, the error response is
         | 
| 263 | 
            -
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         | 
| 264 251 | 
             
                # @option options [String] :vpc_endpoint_id
         | 
| 265 252 | 
             
                #   The ID of a VPC endpoint. Supported for Gateway Load Balancer
         | 
| 266 253 | 
             
                #   endpoints only.
         | 
| 267 | 
            -
                # @option options [String] :egress_only_internet_gateway_id
         | 
| 268 | 
            -
                #   \[IPv6 traffic only\] The ID of an egress-only internet gateway.
         | 
| 269 | 
            -
                # @option options [String] :gateway_id
         | 
| 270 | 
            -
                #   The ID of an internet gateway or virtual private gateway attached to
         | 
| 271 | 
            -
                #   your VPC.
         | 
| 272 | 
            -
                # @option options [String] :instance_id
         | 
| 273 | 
            -
                #   The ID of a NAT instance in your VPC. The operation fails if you
         | 
| 274 | 
            -
                #   specify an instance ID unless exactly one network interface is
         | 
| 275 | 
            -
                #   attached.
         | 
| 276 | 
            -
                # @option options [String] :nat_gateway_id
         | 
| 277 | 
            -
                #   \[IPv4 traffic only\] The ID of a NAT gateway.
         | 
| 278 254 | 
             
                # @option options [String] :transit_gateway_id
         | 
| 279 255 | 
             
                #   The ID of a transit gateway.
         | 
| 280 256 | 
             
                # @option options [String] :local_gateway_id
         | 
| @@ -284,12 +260,36 @@ module Aws::EC2 | |
| 284 260 | 
             
                #
         | 
| 285 261 | 
             
                #   You can only use this option when the VPC contains a subnet which is
         | 
| 286 262 | 
             
                #   associated with a Wavelength Zone.
         | 
| 263 | 
            +
                # @option options [String] :core_network_arn
         | 
| 264 | 
            +
                #   The Amazon Resource Name (ARN) of the core network.
         | 
| 265 | 
            +
                # @option options [Boolean] :dry_run
         | 
| 266 | 
            +
                #   Checks whether you have the required permissions for the action,
         | 
| 267 | 
            +
                #   without actually making the request, and provides an error response.
         | 
| 268 | 
            +
                #   If you have the required permissions, the error response is
         | 
| 269 | 
            +
                #   `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
         | 
| 270 | 
            +
                # @option options [String] :destination_cidr_block
         | 
| 271 | 
            +
                #   The IPv4 CIDR address block used for the destination match. Routing
         | 
| 272 | 
            +
                #   decisions are based on the most specific match. We modify the
         | 
| 273 | 
            +
                #   specified CIDR block to its canonical form; for example, if you
         | 
| 274 | 
            +
                #   specify `100.68.0.18/18`, we modify it to `100.68.0.0/18`.
         | 
| 275 | 
            +
                # @option options [String] :gateway_id
         | 
| 276 | 
            +
                #   The ID of an internet gateway or virtual private gateway attached to
         | 
| 277 | 
            +
                #   your VPC.
         | 
| 278 | 
            +
                # @option options [String] :destination_ipv_6_cidr_block
         | 
| 279 | 
            +
                #   The IPv6 CIDR block used for the destination match. Routing decisions
         | 
| 280 | 
            +
                #   are based on the most specific match.
         | 
| 281 | 
            +
                # @option options [String] :egress_only_internet_gateway_id
         | 
| 282 | 
            +
                #   \[IPv6 traffic only\] The ID of an egress-only internet gateway.
         | 
| 283 | 
            +
                # @option options [String] :instance_id
         | 
| 284 | 
            +
                #   The ID of a NAT instance in your VPC. The operation fails if you
         | 
| 285 | 
            +
                #   specify an instance ID unless exactly one network interface is
         | 
| 286 | 
            +
                #   attached.
         | 
| 287 287 | 
             
                # @option options [String] :network_interface_id
         | 
| 288 288 | 
             
                #   The ID of a network interface.
         | 
| 289 289 | 
             
                # @option options [String] :vpc_peering_connection_id
         | 
| 290 290 | 
             
                #   The ID of a VPC peering connection.
         | 
| 291 | 
            -
                # @option options [String] : | 
| 292 | 
            -
                #    | 
| 291 | 
            +
                # @option options [String] :nat_gateway_id
         | 
| 292 | 
            +
                #   \[IPv4 traffic only\] The ID of a NAT gateway.
         | 
| 293 293 | 
             
                # @return [Route]
         | 
| 294 294 | 
             
                def create_route(options = {})
         | 
| 295 295 | 
             
                  options = options.merge(route_table_id: @id)
         |