Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data StopNotebookInstance = StopNotebookInstance' {}
- newStopNotebookInstance :: Text -> StopNotebookInstance
- stopNotebookInstance_notebookInstanceName :: Lens' StopNotebookInstance Text
- data StopNotebookInstanceResponse = StopNotebookInstanceResponse' {
- newStopNotebookInstanceResponse :: StopNotebookInstanceResponse
Creating a Request
data StopNotebookInstance Source #
See: newStopNotebookInstance
smart constructor.
Constructors
StopNotebookInstance' | |
Fields
|
Instances
newStopNotebookInstance Source #
Arguments
:: Text | |
-> StopNotebookInstance |
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.
Constructors
StopNotebookInstanceResponse' | |
Instances
Generic StopNotebookInstanceResponse Source # | |
Defined in Amazonka.SageMaker.StopNotebookInstance Associated Types type Rep StopNotebookInstanceResponse :: Type -> Type # | |
Read StopNotebookInstanceResponse Source # | |
Show StopNotebookInstanceResponse Source # | |
Defined in Amazonka.SageMaker.StopNotebookInstance Methods showsPrec :: Int -> StopNotebookInstanceResponse -> ShowS # show :: StopNotebookInstanceResponse -> String # showList :: [StopNotebookInstanceResponse] -> ShowS # | |
NFData StopNotebookInstanceResponse Source # | |
Defined in Amazonka.SageMaker.StopNotebookInstance Methods rnf :: StopNotebookInstanceResponse -> () # | |
Eq StopNotebookInstanceResponse Source # | |
Defined in Amazonka.SageMaker.StopNotebookInstance Methods (==) :: StopNotebookInstanceResponse -> StopNotebookInstanceResponse -> Bool # (/=) :: StopNotebookInstanceResponse -> StopNotebookInstanceResponse -> Bool # | |
type Rep StopNotebookInstanceResponse Source # | |
Defined in Amazonka.SageMaker.StopNotebookInstance |
newStopNotebookInstanceResponse :: StopNotebookInstanceResponse Source #
Create a value of StopNotebookInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.