amazonka-lightsail-1.5.0: Amazon Lightsail SDK.

Copyright(c) 2013-2017 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.Lightsail.GetInstancePortStates

Contents

Description

Returns the port states for a specific virtual private server, or instance .

Synopsis

Creating a Request

getInstancePortStates Source #

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

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

data GetInstancePortStates Source #

See: getInstancePortStates smart constructor.

Instances

Eq GetInstancePortStates Source # 
Data GetInstancePortStates Source # 

Methods

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

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

toConstr :: GetInstancePortStates -> Constr #

dataTypeOf :: GetInstancePortStates -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetInstancePortStates -> () #

AWSRequest GetInstancePortStates Source # 
ToQuery GetInstancePortStates Source # 
ToPath GetInstancePortStates Source # 
ToHeaders GetInstancePortStates Source # 
type Rep GetInstancePortStates Source # 
type Rep GetInstancePortStates = D1 (MetaData "GetInstancePortStates" "Network.AWS.Lightsail.GetInstancePortStates" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" True) (C1 (MetaCons "GetInstancePortStates'" PrefixI True) (S1 (MetaSel (Just Symbol "_gipsInstanceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetInstancePortStates Source # 

Request Lenses

Destructuring the Response

getInstancePortStatesResponse Source #

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

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

data GetInstancePortStatesResponse Source #

See: getInstancePortStatesResponse smart constructor.

Instances

Eq GetInstancePortStatesResponse Source # 
Data GetInstancePortStatesResponse Source # 

Methods

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

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

toConstr :: GetInstancePortStatesResponse -> Constr #

dataTypeOf :: GetInstancePortStatesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstancePortStatesResponse Source # 
Show GetInstancePortStatesResponse Source # 
Generic GetInstancePortStatesResponse Source # 
NFData GetInstancePortStatesResponse Source # 
type Rep GetInstancePortStatesResponse Source # 
type Rep GetInstancePortStatesResponse = D1 (MetaData "GetInstancePortStatesResponse" "Network.AWS.Lightsail.GetInstancePortStates" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "GetInstancePortStatesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gipsrsPortStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstancePortState]))) (S1 (MetaSel (Just Symbol "_gipsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gipsrsPortStates :: Lens' GetInstancePortStatesResponse [InstancePortState] Source #

Information about the port states resulting from your request.