amazonka-sagemaker-1.6.0: Amazon SageMaker Service 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.SageMaker.StopNotebookInstance

Contents

Description

Terminates the ML compute instance. Before terminating the instance, Amazon SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves the ML storage volume.

To access data on the ML storage volume for a notebook instance that has been terminated, call the StartNotebookInstance API. StartNotebookInstance launches another ML compute instance, configures it, and attaches the preserved ML storage volume so you can continue your work.

Synopsis

Creating a Request

stopNotebookInstance Source #

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

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

data StopNotebookInstance Source #

See: stopNotebookInstance smart constructor.

Instances

Eq StopNotebookInstance Source # 
Data StopNotebookInstance Source # 

Methods

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

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

toConstr :: StopNotebookInstance -> Constr #

dataTypeOf :: StopNotebookInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: StopNotebookInstance -> () #

AWSRequest StopNotebookInstance Source # 
ToHeaders StopNotebookInstance Source # 
ToPath StopNotebookInstance Source # 
ToQuery StopNotebookInstance Source # 
type Rep StopNotebookInstance Source # 
type Rep StopNotebookInstance = D1 * (MetaData "StopNotebookInstance" "Network.AWS.SageMaker.StopNotebookInstance" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" True) (C1 * (MetaCons "StopNotebookInstance'" PrefixI True) (S1 * (MetaSel (Just Symbol "_sniNotebookInstanceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs StopNotebookInstance Source # 

Request Lenses

sniNotebookInstanceName :: Lens' StopNotebookInstance Text Source #

The name of the notebook instance to terminate.

Destructuring the Response

stopNotebookInstanceResponse :: StopNotebookInstanceResponse Source #

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

data StopNotebookInstanceResponse Source #

See: stopNotebookInstanceResponse smart constructor.

Instances

Eq StopNotebookInstanceResponse Source # 
Data StopNotebookInstanceResponse Source # 

Methods

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

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

toConstr :: StopNotebookInstanceResponse -> Constr #

dataTypeOf :: StopNotebookInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopNotebookInstanceResponse Source # 
Show StopNotebookInstanceResponse Source # 
Generic StopNotebookInstanceResponse Source # 
NFData StopNotebookInstanceResponse Source # 
type Rep StopNotebookInstanceResponse Source # 
type Rep StopNotebookInstanceResponse = D1 * (MetaData "StopNotebookInstanceResponse" "Network.AWS.SageMaker.StopNotebookInstance" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "StopNotebookInstanceResponse'" PrefixI False) (U1 *))