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

Amazonka.SageMaker.StopTrainingJob

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.

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

data StopTrainingJob Source #

See: newStopTrainingJob smart constructor.

Constructors

StopTrainingJob' 

Fields

Instances

Instances details
Eq StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Read StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Show StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Generic StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Associated Types

type Rep StopTrainingJob :: Type -> Type #

NFData StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Methods

rnf :: StopTrainingJob -> () #

Hashable StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

ToJSON StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

AWSRequest StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Associated Types

type AWSResponse StopTrainingJob #

ToHeaders StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

ToPath StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

ToQuery StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

type Rep StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

type Rep StopTrainingJob = D1 ('MetaData "StopTrainingJob" "Amazonka.SageMaker.StopTrainingJob" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "StopTrainingJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trainingJobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopTrainingJob Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

newStopTrainingJob Source #

Create a value of StopTrainingJob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:trainingJobName:StopTrainingJob', stopTrainingJob_trainingJobName - The name of the training job to stop.

Request Lenses

stopTrainingJob_trainingJobName :: Lens' StopTrainingJob Text Source #

The name of the training job to stop.

Destructuring the Response

data StopTrainingJobResponse Source #

See: newStopTrainingJobResponse smart constructor.

Instances

Instances details
Eq StopTrainingJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Read StopTrainingJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Show StopTrainingJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Generic StopTrainingJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Associated Types

type Rep StopTrainingJobResponse :: Type -> Type #

NFData StopTrainingJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

Methods

rnf :: StopTrainingJobResponse -> () #

type Rep StopTrainingJobResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopTrainingJob

type Rep StopTrainingJobResponse = D1 ('MetaData "StopTrainingJobResponse" "Amazonka.SageMaker.StopTrainingJob" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "StopTrainingJobResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newStopTrainingJobResponse :: StopTrainingJobResponse Source #

Create a value of StopTrainingJobResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.