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

Copyright(c) 2013-2016 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.

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:

data DescribeMovingAddresses Source #

Contains the parameters for DescribeMovingAddresses.

See: describeMovingAddresses smart constructor.

Instances

Eq DescribeMovingAddresses Source # 
Data DescribeMovingAddresses Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeMovingAddresses -> c DescribeMovingAddresses #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeMovingAddresses #

toConstr :: DescribeMovingAddresses -> Constr #

dataTypeOf :: DescribeMovingAddresses -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeMovingAddresses) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeMovingAddresses) #

gmapT :: (forall b. Data b => b -> b) -> DescribeMovingAddresses -> DescribeMovingAddresses #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMovingAddresses -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMovingAddresses -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeMovingAddresses -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeMovingAddresses -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeMovingAddresses -> m DescribeMovingAddresses #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMovingAddresses -> m DescribeMovingAddresses #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMovingAddresses -> m DescribeMovingAddresses #

Read DescribeMovingAddresses Source # 
Show DescribeMovingAddresses Source # 
Generic DescribeMovingAddresses Source # 
Hashable DescribeMovingAddresses Source # 
NFData DescribeMovingAddresses Source # 

Methods

rnf :: DescribeMovingAddresses -> () #

AWSRequest DescribeMovingAddresses Source # 
ToPath DescribeMovingAddresses Source # 
ToHeaders DescribeMovingAddresses Source # 
ToQuery DescribeMovingAddresses Source # 
type Rep DescribeMovingAddresses Source # 
type Rep DescribeMovingAddresses = D1 (MetaData "DescribeMovingAddresses" "Network.AWS.EC2.DescribeMovingAddresses" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DescribeMovingAddresses'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dmaFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) (S1 (MetaSel (Just Symbol "_dmaPublicIPs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_dmaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dmaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dmaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))
type Rs DescribeMovingAddresses Source # 

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 #

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:

data DescribeMovingAddressesResponse Source #

Contains the output of DescribeMovingAddresses.

See: describeMovingAddressesResponse smart constructor.

Instances

Eq DescribeMovingAddressesResponse Source # 
Data DescribeMovingAddressesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeMovingAddressesResponse -> c DescribeMovingAddressesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeMovingAddressesResponse #

toConstr :: DescribeMovingAddressesResponse -> Constr #

dataTypeOf :: DescribeMovingAddressesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeMovingAddressesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeMovingAddressesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeMovingAddressesResponse -> DescribeMovingAddressesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMovingAddressesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMovingAddressesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeMovingAddressesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeMovingAddressesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeMovingAddressesResponse -> m DescribeMovingAddressesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMovingAddressesResponse -> m DescribeMovingAddressesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMovingAddressesResponse -> m DescribeMovingAddressesResponse #

Read DescribeMovingAddressesResponse Source # 
Show DescribeMovingAddressesResponse Source # 
Generic DescribeMovingAddressesResponse Source # 
NFData DescribeMovingAddressesResponse Source # 
type Rep DescribeMovingAddressesResponse Source # 
type Rep DescribeMovingAddressesResponse = D1 (MetaData "DescribeMovingAddressesResponse" "Network.AWS.EC2.DescribeMovingAddresses" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DescribeMovingAddressesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dmarsMovingAddressStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MovingAddressStatus]))) ((:*:) (S1 (MetaSel (Just Symbol "_dmarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dmarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

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.