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)


39626
39627
39628
39629
39630
39631
39632
39633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39626

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)


39626
39627
39628
39629
39630
39631
39632
39633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39626

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

#network_border_groupString

The location that the IP address is released from.

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)


39626
39627
39628
39629
39630
39631
39632
39633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39626

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)


39626
39627
39628
39629
39630
39631
39632
39633
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39626

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