amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.StopNotebookInstance

Description

Terminates the ML compute instance. Before terminating the instance, SageMaker disconnects the ML storage volume from it. SageMaker preserves the ML storage volume. SageMaker stops charging you for the ML compute instance when you call StopNotebookInstance.

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

data StopNotebookInstance Source #

See: newStopNotebookInstance smart constructor.

Constructors

StopNotebookInstance' 

Fields

Instances

Instances details
ToJSON StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

ToHeaders StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

ToPath StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

ToQuery StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

AWSRequest StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Associated Types

type AWSResponse StopNotebookInstance #

Generic StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Associated Types

type Rep StopNotebookInstance :: Type -> Type #

Read StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Show StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

NFData StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Methods

rnf :: StopNotebookInstance -> () #

Eq StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Hashable StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

type AWSResponse StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

type Rep StopNotebookInstance Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

type Rep StopNotebookInstance = D1 ('MetaData "StopNotebookInstance" "Amazonka.SageMaker.StopNotebookInstance" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "StopNotebookInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notebookInstanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopNotebookInstance Source #

Create a value of StopNotebookInstance 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:

StopNotebookInstance, stopNotebookInstance_notebookInstanceName - The name of the notebook instance to terminate.

Request Lenses

stopNotebookInstance_notebookInstanceName :: Lens' StopNotebookInstance Text Source #

The name of the notebook instance to terminate.

Destructuring the Response

data StopNotebookInstanceResponse Source #

See: newStopNotebookInstanceResponse smart constructor.

Instances

Instances details
Generic StopNotebookInstanceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Associated Types

type Rep StopNotebookInstanceResponse :: Type -> Type #

Read StopNotebookInstanceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Show StopNotebookInstanceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

NFData StopNotebookInstanceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

Eq StopNotebookInstanceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

type Rep StopNotebookInstanceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.StopNotebookInstance

type Rep StopNotebookInstanceResponse = D1 ('MetaData "StopNotebookInstanceResponse" "Amazonka.SageMaker.StopNotebookInstance" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "StopNotebookInstanceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newStopNotebookInstanceResponse :: StopNotebookInstanceResponse Source #

Create a value of StopNotebookInstanceResponse with all optional fields omitted.

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