amazonka-ec2-1.0.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeMovingAddresses

Contents

Description

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.

See: AWS API Reference for DescribeMovingAddresses.

Synopsis

Creating a Request

describeMovingAddresses :: DescribeMovingAddresses Source

Creates a value of DescribeMovingAddresses with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dmaPublicIPs :: Lens' DescribeMovingAddresses [Text] Source

One or more Elastic IP addresses.

dmaFilters :: Lens' DescribeMovingAddresses [Filter] Source

One or more filters.

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

dmaNextToken :: Lens' DescribeMovingAddresses (Maybe Text) Source

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

dmaDryRun :: Lens' DescribeMovingAddresses (Maybe Bool) Source

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.

dmaMaxResults :: Lens' DescribeMovingAddresses (Maybe Int) Source

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.

Destructuring the Response

describeMovingAddressesResponse Source

Creates a value of DescribeMovingAddressesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dmarsNextToken :: Lens' DescribeMovingAddressesResponse (Maybe Text) Source

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