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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#allocation_idString

[EC2-VPC] The allocation ID. Required for EC2-VPC.

Returns:

  • (String)

    [EC2-VPC] The allocation ID.

#dry_runBoolean

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.

Returns:

  • (Boolean)

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#network_border_groupString

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.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

Returns:

  • (String)

    The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

#public_ipString

[EC2-Classic] The Elastic IP address. Required for EC2-Classic.

Returns:

  • (String)

    [EC2-Classic] The Elastic IP address.