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

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

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.

Synopsis

# Creating a Request

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:

• dmaFilters - One or more filters. * moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic ).
• dmaPublicIPs - One or more Elastic IP addresses.
• dmaNextToken - The token to use to retrieve the next page of results.
• dmaDryRun - 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 - 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.

See: describeMovingAddresses smart constructor.

Instances

# Request Lenses

One or more filters. * moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic ).

One or more Elastic IP addresses.

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

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 .

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

Arguments

 :: Int dmarsResponseStatus -> DescribeMovingAddressesResponse

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:

• dmarsMovingAddressStatuses - The status for each Elastic IP address.
• dmarsNextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.
• dmarsResponseStatus - -- | The response status code.

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