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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • 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.

data DescribeMovingAddresses Source #

Contains the parameters for DescribeMovingAddresses.

See: describeMovingAddresses smart constructor.

Instances
Eq DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Data DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Show DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Generic DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Associated Types

type Rep DescribeMovingAddresses :: Type -> Type #

Hashable DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

AWSRequest DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Associated Types

type Rs DescribeMovingAddresses :: Type #

ToHeaders DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

ToPath DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

ToQuery DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

NFData DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Methods

rnf :: DescribeMovingAddresses -> () #

type Rep DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

type Rep DescribeMovingAddresses = D1 (MetaData "DescribeMovingAddresses" "Network.AWS.EC2.DescribeMovingAddresses" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeMovingAddresses'" PrefixI True) ((S1 (MetaSel (Just "_dmaFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_dmaPublicIPs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_dmaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dmaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dmaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeMovingAddresses Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Data DescribeMovingAddressesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Show DescribeMovingAddressesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Generic DescribeMovingAddressesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

Associated Types

type Rep DescribeMovingAddressesResponse :: Type -> Type #

NFData DescribeMovingAddressesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

type Rep DescribeMovingAddressesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeMovingAddresses

type Rep DescribeMovingAddressesResponse = D1 (MetaData "DescribeMovingAddressesResponse" "Network.AWS.EC2.DescribeMovingAddresses" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeMovingAddressesResponse'" PrefixI True) (S1 (MetaSel (Just "_dmarsMovingAddressStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MovingAddressStatus])) :*: (S1 (MetaSel (Just "_dmarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dmarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.