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

Contents

Description

Stops a training job. To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of the training is not lost.

Training algorithms provided by Amazon SageMaker save the intermediate results of a model training job. This intermediate data is a valid model artifact. You can use the model artifacts that are saved when Amazon SageMaker stops a training job to create a model.

When it receives a StopTrainingJob request, Amazon SageMaker changes the status of the job to Stopping . After Amazon SageMaker stops the job, it sets the status to Stopped .

Synopsis

Creating a Request

stopTrainingJob Source #

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

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

data StopTrainingJob Source #

See: stopTrainingJob smart constructor.

Instances
Eq StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Data StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Methods

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

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

toConstr :: StopTrainingJob -> Constr #

dataTypeOf :: StopTrainingJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Show StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Generic StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Associated Types

type Rep StopTrainingJob :: Type -> Type #

Hashable StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

ToJSON StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

AWSRequest StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Associated Types

type Rs StopTrainingJob :: Type #

ToHeaders StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

ToPath StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

ToQuery StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

NFData StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Methods

rnf :: StopTrainingJob -> () #

type Rep StopTrainingJob Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

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

Defined in Network.AWS.SageMaker.StopTrainingJob

Request Lenses

stjTrainingJobName :: Lens' StopTrainingJob Text Source #

The name of the training job to stop.

Destructuring the Response

stopTrainingJobResponse :: StopTrainingJobResponse Source #

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

data StopTrainingJobResponse Source #

See: stopTrainingJobResponse smart constructor.

Instances
Eq StopTrainingJobResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Data StopTrainingJobResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Methods

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

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

toConstr :: StopTrainingJobResponse -> Constr #

dataTypeOf :: StopTrainingJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopTrainingJobResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Show StopTrainingJobResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Generic StopTrainingJobResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Associated Types

type Rep StopTrainingJobResponse :: Type -> Type #

NFData StopTrainingJobResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

Methods

rnf :: StopTrainingJobResponse -> () #

type Rep StopTrainingJobResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.StopTrainingJob

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