| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.EC2.DescribeMovingAddresses
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
- describeMovingAddresses :: DescribeMovingAddresses
- data DescribeMovingAddresses
- dmaFilters :: Lens' DescribeMovingAddresses [Filter]
- dmaPublicIPs :: Lens' DescribeMovingAddresses [Text]
- dmaNextToken :: Lens' DescribeMovingAddresses (Maybe Text)
- dmaDryRun :: Lens' DescribeMovingAddresses (Maybe Bool)
- dmaMaxResults :: Lens' DescribeMovingAddresses (Maybe Int)
- describeMovingAddressesResponse :: Int -> DescribeMovingAddressesResponse
- data DescribeMovingAddressesResponse
- dmarsMovingAddressStatuses :: Lens' DescribeMovingAddressesResponse [MovingAddressStatus]
- dmarsNextToken :: Lens' DescribeMovingAddressesResponse (Maybe Text)
- dmarsResponseStatus :: Lens' DescribeMovingAddressesResponse Int
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:
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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.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 returnedNextTokenvalue. This value can be between 5 and 1000; ifMaxResultsis given a value outside of this range, an error is returned. Default: If no value is provided, the default is 1000.
data DescribeMovingAddresses Source #
Contains the parameters for DescribeMovingAddresses.
See: describeMovingAddresses smart constructor.
Instances
Request Lenses
dmaFilters :: Lens' DescribeMovingAddresses [Filter] Source #
One or more filters. * moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic ).
dmaPublicIPs :: Lens' DescribeMovingAddresses [Text] Source #
One or more Elastic IP addresses.
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 #
Arguments
| :: Int | |
| -> 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 isnullwhen there are no more results to return.dmarsResponseStatus- -- | The response status code.
data DescribeMovingAddressesResponse Source #
Contains the output of DescribeMovingAddresses.
See: describeMovingAddressesResponse smart constructor.
Instances
Response Lenses
dmarsMovingAddressStatuses :: Lens' DescribeMovingAddressesResponse [MovingAddressStatus] Source #
The status for each Elastic IP address.
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.
dmarsResponseStatus :: Lens' DescribeMovingAddressesResponse Int Source #
- - | The response status code.