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

Contents

Description

Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.

Synopsis

Creating a Request

rebootInstance Source #

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

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

data RebootInstance Source #

See: rebootInstance smart constructor.

Instances
Eq RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Data RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Methods

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

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

toConstr :: RebootInstance -> Constr #

dataTypeOf :: RebootInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Show RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Generic RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Associated Types

type Rep RebootInstance :: Type -> Type #

Hashable RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

ToJSON RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

AWSRequest RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Associated Types

type Rs RebootInstance :: Type #

ToHeaders RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

ToPath RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

ToQuery RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

NFData RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Methods

rnf :: RebootInstance -> () #

type Rep RebootInstance Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

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

Defined in Network.AWS.Lightsail.RebootInstance

Request Lenses

riInstanceName :: Lens' RebootInstance Text Source #

The name of the instance to reboot.

Destructuring the Response

rebootInstanceResponse Source #

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

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

data RebootInstanceResponse Source #

See: rebootInstanceResponse smart constructor.

Instances
Eq RebootInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Data RebootInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Methods

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

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

toConstr :: RebootInstanceResponse -> Constr #

dataTypeOf :: RebootInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RebootInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Show RebootInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Generic RebootInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Associated Types

type Rep RebootInstanceResponse :: Type -> Type #

NFData RebootInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

Methods

rnf :: RebootInstanceResponse -> () #

type Rep RebootInstanceResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.RebootInstance

type Rep RebootInstanceResponse = D1 (MetaData "RebootInstanceResponse" "Network.AWS.Lightsail.RebootInstance" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "RebootInstanceResponse'" PrefixI True) (S1 (MetaSel (Just "_rirsOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 (MetaSel (Just "_rirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

rirsOperations :: Lens' RebootInstanceResponse [Operation] Source #

An array of key-value pairs containing information about the request operations.

rirsResponseStatus :: Lens' RebootInstanceResponse Int Source #

  • - | The response status code.