Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
This operation returns paginated results.
Synopsis
- data DescribeMovingAddresses = DescribeMovingAddresses' {}
- newDescribeMovingAddresses :: DescribeMovingAddresses
- describeMovingAddresses_dryRun :: Lens' DescribeMovingAddresses (Maybe Bool)
- describeMovingAddresses_filters :: Lens' DescribeMovingAddresses (Maybe [Filter])
- describeMovingAddresses_maxResults :: Lens' DescribeMovingAddresses (Maybe Natural)
- describeMovingAddresses_nextToken :: Lens' DescribeMovingAddresses (Maybe Text)
- describeMovingAddresses_publicIps :: Lens' DescribeMovingAddresses (Maybe [Text])
- data DescribeMovingAddressesResponse = DescribeMovingAddressesResponse' {}
- newDescribeMovingAddressesResponse :: Int -> DescribeMovingAddressesResponse
- describeMovingAddressesResponse_movingAddressStatuses :: Lens' DescribeMovingAddressesResponse (Maybe [MovingAddressStatus])
- describeMovingAddressesResponse_nextToken :: Lens' DescribeMovingAddressesResponse (Maybe Text)
- describeMovingAddressesResponse_httpStatus :: Lens' DescribeMovingAddressesResponse Int
Creating a Request
data DescribeMovingAddresses Source #
See: newDescribeMovingAddresses
smart constructor.
DescribeMovingAddresses' | |
|
Instances
newDescribeMovingAddresses :: DescribeMovingAddresses Source #
Create a value of DescribeMovingAddresses
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DescribeMovingAddresses'
, describeMovingAddresses_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
.
$sel:filters:DescribeMovingAddresses'
, describeMovingAddresses_filters
- One or more filters.
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
$sel:maxResults:DescribeMovingAddresses'
, describeMovingAddresses_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.
DescribeMovingAddresses
, describeMovingAddresses_nextToken
- The token for the next page of results.
$sel:publicIps:DescribeMovingAddresses'
, describeMovingAddresses_publicIps
- One or more Elastic IP addresses.
Request Lenses
describeMovingAddresses_dryRun :: 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
.
describeMovingAddresses_filters :: Lens' DescribeMovingAddresses (Maybe [Filter]) Source #
One or more filters.
moving-status
- The status of the Elastic IP address (MovingToVpc
|RestoringToClassic
).
describeMovingAddresses_maxResults :: Lens' DescribeMovingAddresses (Maybe Natural) 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.
describeMovingAddresses_nextToken :: Lens' DescribeMovingAddresses (Maybe Text) Source #
The token for the next page of results.
describeMovingAddresses_publicIps :: Lens' DescribeMovingAddresses (Maybe [Text]) Source #
One or more Elastic IP addresses.
Destructuring the Response
data DescribeMovingAddressesResponse Source #
See: newDescribeMovingAddressesResponse
smart constructor.
DescribeMovingAddressesResponse' | |
|
Instances
newDescribeMovingAddressesResponse Source #
Create a value of DescribeMovingAddressesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:movingAddressStatuses:DescribeMovingAddressesResponse'
, describeMovingAddressesResponse_movingAddressStatuses
- The status for each Elastic IP address.
DescribeMovingAddresses
, describeMovingAddressesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:DescribeMovingAddressesResponse'
, describeMovingAddressesResponse_httpStatus
- The response's http status code.
Response Lenses
describeMovingAddressesResponse_movingAddressStatuses :: Lens' DescribeMovingAddressesResponse (Maybe [MovingAddressStatus]) Source #
The status for each Elastic IP address.
describeMovingAddressesResponse_nextToken :: 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.
describeMovingAddressesResponse_httpStatus :: Lens' DescribeMovingAddressesResponse Int Source #
The response's http status code.