Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

DescribeMovingAddresses

Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

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.

Type: Boolean

Required: No

Filter.N

One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).

Type: Array of Filter objects

Required: No

MaxResults

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

Type: Integer

Required: No

NextToken

The token to use to retrieve the next page of results.

Type: String

Required: No

PublicIp.N

One or more Elastic IP addresses.

Type: Array of strings

Required: No

Response Elements

The following elements are returned by the service.

movingAddressStatusSet

The status for each Elastic IP address.

Type: Array of MovingAddressStatus objects

nextToken

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Type: String

requestId

The ID of the request.

Type: String

Errors

For information about the errors that are common to all actions, see Common Client Errors.

Example

Example

This example describes all your moving Elastic IP addresses.

Sample Request

https://ec2.amazonaws.com/?Action=DescribeMovingAddresses
&AUTHPARAMS

Sample Response

<DescribeMovingAddressesResponse xmlns="http://ec2.amazonaws.com/doc/2016-11-15/">
    <requestId>127c36e6-6781-469f-89c1-EXAMPLE</requestId>
    <movingAddressStatusSet>
        <item>
            <publicIp>198.18.125.129</publicIp>
            <moveStatus>MovingToVpc</moveStatus>
        </item>
    </movingAddressStatusSet>
</DescribeMovingAddressesResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: