You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::ReleaseAddressRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ReleaseAddressRequest
- Defined in:
- (unknown)
Overview
When passing ReleaseAddressRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
allocation_id: "AllocationId",
public_ip: "String",
network_border_group: "String",
dry_run: false,
}
Instance Attribute Summary collapse
-
#allocation_id ⇒ String
[EC2-VPC] The allocation ID.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#network_border_group ⇒ String
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
-
#public_ip ⇒ String
[EC2-Classic] The Elastic IP address.
Instance Attribute Details
#allocation_id ⇒ String
[EC2-VPC] The allocation ID. Required for EC2-VPC.
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
#network_border_group ⇒ String
The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
If you provide an incorrect network border group, you will receive an
InvalidAddress.NotFound
error. For more information, see Error
Codes.
InvalidParameterCombination
error. For more information, see Error
Codes.
#public_ip ⇒ String
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.