Learn R Programming

paws.compute (version 0.1.12)

ec2_restore_address_to_classic: Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform

Description

Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.

Usage

ec2_restore_address_to_classic(DryRun, PublicIp)

Value

A list with the following syntax:

list(
  PublicIp = "string",
  Status = "MoveInProgress"|"InVpc"|"InClassic"
)

Arguments

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.

PublicIp

[required] The Elastic IP address.

Request syntax

svc$restore_address_to_classic(
  DryRun = TRUE|FALSE,
  PublicIp = "string"
)

Examples

Run this code
if (FALSE) {
# This example restores the specified Elastic IP address to the
# EC2-Classic platform.
svc$restore_address_to_classic(
  PublicIp = "198.51.100.0"
)
}

Run the code above in your browser using DataLab