amazonka-opsworks-1.4.5: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.StopInstance

Contents

Description

Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances .

Required Permissions : To use this action, an IAM user must have a 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

stopInstance Source #

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

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

data StopInstance Source #

See: stopInstance smart constructor.

Instances

Eq StopInstance Source # 
Data StopInstance Source # 

Methods

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

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

toConstr :: StopInstance -> Constr #

dataTypeOf :: StopInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopInstance Source # 
Show StopInstance Source # 
Generic StopInstance Source # 

Associated Types

type Rep StopInstance :: * -> * #

Hashable StopInstance Source # 
ToJSON StopInstance Source # 
NFData StopInstance Source # 

Methods

rnf :: StopInstance -> () #

AWSRequest StopInstance Source # 
ToPath StopInstance Source # 
ToHeaders StopInstance Source # 
ToQuery StopInstance Source # 
type Rep StopInstance Source # 
type Rep StopInstance = D1 (MetaData "StopInstance" "Network.AWS.OpsWorks.StopInstance" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" True) (C1 (MetaCons "StopInstance'" PrefixI True) (S1 (MetaSel (Just Symbol "_siInstanceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StopInstance Source # 

Request Lenses

Destructuring the Response

stopInstanceResponse :: StopInstanceResponse Source #

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

data StopInstanceResponse Source #

See: stopInstanceResponse smart constructor.

Instances

Eq StopInstanceResponse Source # 
Data StopInstanceResponse Source # 

Methods

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

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

toConstr :: StopInstanceResponse -> Constr #

dataTypeOf :: StopInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopInstanceResponse Source # 
Show StopInstanceResponse Source # 
Generic StopInstanceResponse Source # 
NFData StopInstanceResponse Source # 

Methods

rnf :: StopInstanceResponse -> () #

type Rep StopInstanceResponse Source # 
type Rep StopInstanceResponse = D1 (MetaData "StopInstanceResponse" "Network.AWS.OpsWorks.StopInstance" "amazonka-opsworks-1.4.5-7XI4vLMXIJB3lyxy2oXKSd" False) (C1 (MetaCons "StopInstanceResponse'" PrefixI False) U1)