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

Contents

Description

Describes one or more of the your NAT gateways.

Synopsis

Creating a Request

describeNatGateways :: DescribeNatGateways Source #

Creates a value of DescribeNatGateways with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeNatGateways Source #

Contains the parameters for DescribeNatGateways.

See: describeNatGateways smart constructor.

Instances

Eq DescribeNatGateways Source # 
Data DescribeNatGateways Source # 

Methods

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

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

toConstr :: DescribeNatGateways -> Constr #

dataTypeOf :: DescribeNatGateways -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeNatGateways Source # 
Show DescribeNatGateways Source # 
Generic DescribeNatGateways Source # 
Hashable DescribeNatGateways Source # 
NFData DescribeNatGateways Source # 

Methods

rnf :: DescribeNatGateways -> () #

AWSRequest DescribeNatGateways Source # 
ToPath DescribeNatGateways Source # 
ToHeaders DescribeNatGateways Source # 
ToQuery DescribeNatGateways Source # 
type Rep DescribeNatGateways Source # 
type Rep DescribeNatGateways = D1 (MetaData "DescribeNatGateways" "Network.AWS.EC2.DescribeNatGateways" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DescribeNatGateways'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dngNatGatewayIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dngNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dngFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) (S1 (MetaSel (Just Symbol "_dngMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeNatGateways Source # 

Request Lenses

dngNatGatewayIds :: Lens' DescribeNatGateways [Text] Source #

One or more NAT gateway IDs.

dngNextToken :: Lens' DescribeNatGateways (Maybe Text) Source #

The token to retrieve the next page of results.

dngFilter :: Lens' DescribeNatGateways [Filter] Source #

One or more filters.

  • 'nat-gateway-id' - The ID of the NAT gateway.
  • state - The state of the NAT gateway (pending | failed | available | deleting | deleted).
  • 'subnet-id' - The ID of the subnet in which the NAT gateway resides.
  • 'vpc-id' - The ID of the VPC in which the NAT gateway resides.

dngMaxResults :: Lens' DescribeNatGateways (Maybe Int) Source #

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value specified is greater than 1000, we return only 1000 items.

Destructuring the Response

describeNatGatewaysResponse Source #

Creates a value of DescribeNatGatewaysResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeNatGatewaysResponse Source #

Contains the output of DescribeNatGateways.

See: describeNatGatewaysResponse smart constructor.

Instances

Eq DescribeNatGatewaysResponse Source # 
Data DescribeNatGatewaysResponse Source # 

Methods

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

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

toConstr :: DescribeNatGatewaysResponse -> Constr #

dataTypeOf :: DescribeNatGatewaysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeNatGatewaysResponse Source # 
Show DescribeNatGatewaysResponse Source # 
Generic DescribeNatGatewaysResponse Source # 
NFData DescribeNatGatewaysResponse Source # 
type Rep DescribeNatGatewaysResponse Source # 
type Rep DescribeNatGatewaysResponse = D1 (MetaData "DescribeNatGatewaysResponse" "Network.AWS.EC2.DescribeNatGateways" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DescribeNatGatewaysResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dngrsNatGateways") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NatGateway]))) ((:*:) (S1 (MetaSel (Just Symbol "_dngrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dngrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dngrsNatGateways :: Lens' DescribeNatGatewaysResponse [NatGateway] Source #

Information about the NAT gateways.

dngrsNextToken :: Lens' DescribeNatGatewaysResponse (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.