amazonka-sagemaker-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

Data StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

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

Defined in Network.AWS.SageMaker.StopNotebookInstance

Show StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

Generic StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

Associated Types

type Rep StopNotebookInstance :: Type -> Type #

Hashable StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

ToJSON StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

AWSRequest StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

Associated Types

type Rs StopNotebookInstance :: Type #

ToHeaders StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

ToPath StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

ToQuery StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

NFData StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

Methods

rnf :: StopNotebookInstance -> () #

type Rep StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

type Rep StopNotebookInstance = D1 (MetaData "StopNotebookInstance" "Network.AWS.SageMaker.StopNotebookInstance" "amazonka-sagemaker-1.6.1-KSR3FgWuE9u23bvJsHopKu" True) (C1 (MetaCons "StopNotebookInstance'" PrefixI True) (S1 (MetaSel (Just "_sniNotebookInstanceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StopNotebookInstance Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

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

Defined in Network.AWS.SageMaker.StopNotebookInstance

Data StopNotebookInstanceResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

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

Defined in Network.AWS.SageMaker.StopNotebookInstance

Show StopNotebookInstanceResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

Generic StopNotebookInstanceResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

Associated Types

type Rep StopNotebookInstanceResponse :: Type -> Type #

NFData StopNotebookInstanceResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

type Rep StopNotebookInstanceResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopNotebookInstance

type Rep StopNotebookInstanceResponse = D1 (MetaData "StopNotebookInstanceResponse" "Network.AWS.SageMaker.StopNotebookInstance" "amazonka-sagemaker-1.6.1-KSR3FgWuE9u23bvJsHopKu" False) (C1 (MetaCons "StopNotebookInstanceResponse'" PrefixI False) (U1 :: Type -> Type))