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

Contents

Description

Closes the public ports on a specific Amazon Lightsail instance.

Synopsis

Creating a Request

closeInstancePublicPorts Source #

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

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

  • cippPortInfo - Information about the public port you are trying to close.
  • cippInstanceName - The name of the instance on which you're attempting to close the public ports.

data CloseInstancePublicPorts Source #

See: closeInstancePublicPorts smart constructor.

Instances
Eq CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Data CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Methods

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

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

toConstr :: CloseInstancePublicPorts -> Constr #

dataTypeOf :: CloseInstancePublicPorts -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Show CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Generic CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Associated Types

type Rep CloseInstancePublicPorts :: Type -> Type #

Hashable CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

ToJSON CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

AWSRequest CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Associated Types

type Rs CloseInstancePublicPorts :: Type #

ToHeaders CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

ToPath CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

ToQuery CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

NFData CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPorts = D1 (MetaData "CloseInstancePublicPorts" "Network.AWS.Lightsail.CloseInstancePublicPorts" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "CloseInstancePublicPorts'" PrefixI True) (S1 (MetaSel (Just "_cippPortInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PortInfo) :*: S1 (MetaSel (Just "_cippInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CloseInstancePublicPorts Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Request Lenses

cippPortInfo :: Lens' CloseInstancePublicPorts PortInfo Source #

Information about the public port you are trying to close.

cippInstanceName :: Lens' CloseInstancePublicPorts Text Source #

The name of the instance on which you're attempting to close the public ports.

Destructuring the Response

closeInstancePublicPortsResponse Source #

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

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

data CloseInstancePublicPortsResponse Source #

See: closeInstancePublicPortsResponse smart constructor.

Instances
Eq CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Data CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Methods

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

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

toConstr :: CloseInstancePublicPortsResponse -> Constr #

dataTypeOf :: CloseInstancePublicPortsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Show CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Generic CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

Associated Types

type Rep CloseInstancePublicPortsResponse :: Type -> Type #

NFData CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPortsResponse = D1 (MetaData "CloseInstancePublicPortsResponse" "Network.AWS.Lightsail.CloseInstancePublicPorts" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "CloseInstancePublicPortsResponse'" PrefixI True) (S1 (MetaSel (Just "_cipprsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 (MetaSel (Just "_cipprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

cipprsOperation :: Lens' CloseInstancePublicPortsResponse (Maybe Operation) Source #

An array of key-value pairs that contains information about the operation.