Skip to content

Enable Address Transfer

ec2_enable_address_transfer R Documentation

Enables Elastic IP address transfer

Description

Enables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon VPC User Guide.

Usage

ec2_enable_address_transfer(AllocationId, TransferAccountId, DryRun)

Arguments

AllocationId

[required] The allocation ID of an Elastic IP address.

TransferAccountId

[required] The ID of the account that you want to transfer the Elastic IP address to.

DryRun

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.

Value

A list with the following syntax:

list(
  AddressTransfer = list(
    PublicIp = "string",
    AllocationId = "string",
    TransferAccountId = "string",
    TransferOfferExpirationTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    TransferOfferAcceptedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    AddressTransferStatus = "pending"|"disabled"|"accepted"
  )
)

Request syntax

svc$enable_address_transfer(
  AllocationId = "string",
  TransferAccountId = "string",
  DryRun = TRUE|FALSE
)