amazonka-lightsail-1.6.1: Amazon Lightsail 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.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 # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

Data GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

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

Defined in Network.AWS.Lightsail.GetInstancePortStates

Show GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

Generic GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

Associated Types

type Rep GetInstancePortStates :: Type -> Type #

Hashable GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

ToJSON GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

AWSRequest GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

Associated Types

type Rs GetInstancePortStates :: Type #

ToHeaders GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

ToPath GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

ToQuery GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

NFData GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

Methods

rnf :: GetInstancePortStates -> () #

type Rep GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

type Rep GetInstancePortStates = D1 (MetaData "GetInstancePortStates" "Network.AWS.Lightsail.GetInstancePortStates" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" True) (C1 (MetaCons "GetInstancePortStates'" PrefixI True) (S1 (MetaSel (Just "_gipsInstanceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetInstancePortStates Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

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

Defined in Network.AWS.Lightsail.GetInstancePortStates

Data GetInstancePortStatesResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

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

Defined in Network.AWS.Lightsail.GetInstancePortStates

Show GetInstancePortStatesResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

Generic GetInstancePortStatesResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

Associated Types

type Rep GetInstancePortStatesResponse :: Type -> Type #

NFData GetInstancePortStatesResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

type Rep GetInstancePortStatesResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetInstancePortStates

type Rep GetInstancePortStatesResponse = D1 (MetaData "GetInstancePortStatesResponse" "Network.AWS.Lightsail.GetInstancePortStates" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "GetInstancePortStatesResponse'" PrefixI True) (S1 (MetaSel (Just "_gipsrsPortStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstancePortState])) :*: S1 (MetaSel (Just "_gipsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gipsrsPortStates :: Lens' GetInstancePortStatesResponse [InstancePortState] Source #

Information about the port states resulting from your request.