amazonka-opsworks-1.6.0: Amazon OpsWorks 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.OpsWorks.DescribeElasticIPs

Contents

Description

Describes Elastic IP addresses .

Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .

Synopsis

Creating a Request

describeElasticIPs :: DescribeElasticIPs Source #

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

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

  • deiInstanceId - The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.
  • deiIPs - An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.
  • deiStackId - A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack.

data DescribeElasticIPs Source #

See: describeElasticIPs smart constructor.

Instances

Eq DescribeElasticIPs Source # 
Data DescribeElasticIPs Source # 

Methods

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

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

toConstr :: DescribeElasticIPs -> Constr #

dataTypeOf :: DescribeElasticIPs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeElasticIPs Source # 
Show DescribeElasticIPs Source # 
Generic DescribeElasticIPs Source # 
Hashable DescribeElasticIPs Source # 
ToJSON DescribeElasticIPs Source # 
NFData DescribeElasticIPs Source # 

Methods

rnf :: DescribeElasticIPs -> () #

AWSRequest DescribeElasticIPs Source # 
ToHeaders DescribeElasticIPs Source # 
ToPath DescribeElasticIPs Source # 
ToQuery DescribeElasticIPs Source # 
type Rep DescribeElasticIPs Source # 
type Rep DescribeElasticIPs = D1 * (MetaData "DescribeElasticIPs" "Network.AWS.OpsWorks.DescribeElasticIPs" "amazonka-opsworks-1.6.0-dhw3H9lmJm2qKjEl8vg7Z" False) (C1 * (MetaCons "DescribeElasticIPs'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_deiInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_deiIPs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_deiStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))
type Rs DescribeElasticIPs Source # 

Request Lenses

deiInstanceId :: Lens' DescribeElasticIPs (Maybe Text) Source #

The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

deiIPs :: Lens' DescribeElasticIPs [Text] Source #

An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

deiStackId :: Lens' DescribeElasticIPs (Maybe Text) Source #

A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack.

Destructuring the Response

describeElasticIPsResponse Source #

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

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

data DescribeElasticIPsResponse Source #

Contains the response to a DescribeElasticIps request.

See: describeElasticIPsResponse smart constructor.

Instances

Eq DescribeElasticIPsResponse Source # 
Data DescribeElasticIPsResponse Source # 

Methods

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

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

toConstr :: DescribeElasticIPsResponse -> Constr #

dataTypeOf :: DescribeElasticIPsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeElasticIPsResponse Source # 
Show DescribeElasticIPsResponse Source # 
Generic DescribeElasticIPsResponse Source # 
NFData DescribeElasticIPsResponse Source # 
type Rep DescribeElasticIPsResponse Source # 
type Rep DescribeElasticIPsResponse = D1 * (MetaData "DescribeElasticIPsResponse" "Network.AWS.OpsWorks.DescribeElasticIPs" "amazonka-opsworks-1.6.0-dhw3H9lmJm2qKjEl8vg7Z" False) (C1 * (MetaCons "DescribeElasticIPsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_deirsElasticIPs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ElasticIP]))) (S1 * (MetaSel (Just Symbol "_deirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

deirsElasticIPs :: Lens' DescribeElasticIPsResponse [ElasticIP] Source #

An ElasticIps object that describes the specified Elastic IP addresses.