Class: Aws::EC2::Types::ReleaseAddressRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ReleaseAddressRequest data as a hash:

{
  allocation_id: "AllocationId",
  public_ip: "String",
  network_border_group: "String",
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_idString

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

Returns:

  • (String)


50062
50063
50064
50065
50066
50067
50068
50069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50062

class ReleaseAddressRequest < Struct.new(
  :allocation_id,
  :public_ip,
  :network_border_group,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#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)


50062
50063
50064
50065
50066
50067
50068
50069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50062

class ReleaseAddressRequest < Struct.new(
  :allocation_id,
  :public_ip,
  :network_border_group,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#network_border_groupString

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination error.

Returns:

  • (String)


50062
50063
50064
50065
50066
50067
50068
50069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50062

class ReleaseAddressRequest < Struct.new(
  :allocation_id,
  :public_ip,
  :network_border_group,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#public_ipString

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

Returns:

  • (String)


50062
50063
50064
50065
50066
50067
50068
50069
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 50062

class ReleaseAddressRequest < Struct.new(
  :allocation_id,
  :public_ip,
  :network_border_group,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end