Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig API.
Synopsis
- data UpdateNotebookInstanceLifecycleConfig = UpdateNotebookInstanceLifecycleConfig' {}
- newUpdateNotebookInstanceLifecycleConfig :: Text -> UpdateNotebookInstanceLifecycleConfig
- updateNotebookInstanceLifecycleConfig_onCreate :: Lens' UpdateNotebookInstanceLifecycleConfig (Maybe [NotebookInstanceLifecycleHook])
- updateNotebookInstanceLifecycleConfig_onStart :: Lens' UpdateNotebookInstanceLifecycleConfig (Maybe [NotebookInstanceLifecycleHook])
- updateNotebookInstanceLifecycleConfig_notebookInstanceLifecycleConfigName :: Lens' UpdateNotebookInstanceLifecycleConfig Text
- data UpdateNotebookInstanceLifecycleConfigResponse = UpdateNotebookInstanceLifecycleConfigResponse' {
- httpStatus :: Int
- newUpdateNotebookInstanceLifecycleConfigResponse :: Int -> UpdateNotebookInstanceLifecycleConfigResponse
- updateNotebookInstanceLifecycleConfigResponse_httpStatus :: Lens' UpdateNotebookInstanceLifecycleConfigResponse Int
Creating a Request
data UpdateNotebookInstanceLifecycleConfig Source #
See: newUpdateNotebookInstanceLifecycleConfig
smart constructor.
UpdateNotebookInstanceLifecycleConfig' | |
|
Instances
newUpdateNotebookInstanceLifecycleConfig Source #
:: Text |
|
-> UpdateNotebookInstanceLifecycleConfig |
Create a value of UpdateNotebookInstanceLifecycleConfig
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:onCreate:UpdateNotebookInstanceLifecycleConfig'
, updateNotebookInstanceLifecycleConfig_onCreate
- The shell script that runs only once, when you create a notebook
instance. The shell script must be a base64-encoded string.
$sel:onStart:UpdateNotebookInstanceLifecycleConfig'
, updateNotebookInstanceLifecycleConfig_onStart
- The shell script that runs every time you start a notebook instance,
including when you create the notebook instance. The shell script must
be a base64-encoded string.
$sel:notebookInstanceLifecycleConfigName:UpdateNotebookInstanceLifecycleConfig'
, updateNotebookInstanceLifecycleConfig_notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration.
Request Lenses
updateNotebookInstanceLifecycleConfig_onCreate :: Lens' UpdateNotebookInstanceLifecycleConfig (Maybe [NotebookInstanceLifecycleHook]) Source #
The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
updateNotebookInstanceLifecycleConfig_onStart :: Lens' UpdateNotebookInstanceLifecycleConfig (Maybe [NotebookInstanceLifecycleHook]) Source #
The shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
updateNotebookInstanceLifecycleConfig_notebookInstanceLifecycleConfigName :: Lens' UpdateNotebookInstanceLifecycleConfig Text Source #
The name of the lifecycle configuration.
Destructuring the Response
data UpdateNotebookInstanceLifecycleConfigResponse Source #
See: newUpdateNotebookInstanceLifecycleConfigResponse
smart constructor.
UpdateNotebookInstanceLifecycleConfigResponse' | |
|
Instances
Eq UpdateNotebookInstanceLifecycleConfigResponse Source # | |
Read UpdateNotebookInstanceLifecycleConfigResponse Source # | |
Show UpdateNotebookInstanceLifecycleConfigResponse Source # | |
Generic UpdateNotebookInstanceLifecycleConfigResponse Source # | |
NFData UpdateNotebookInstanceLifecycleConfigResponse Source # | |
type Rep UpdateNotebookInstanceLifecycleConfigResponse Source # | |
Defined in Amazonka.SageMaker.UpdateNotebookInstanceLifecycleConfig type Rep UpdateNotebookInstanceLifecycleConfigResponse = D1 ('MetaData "UpdateNotebookInstanceLifecycleConfigResponse" "Amazonka.SageMaker.UpdateNotebookInstanceLifecycleConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "UpdateNotebookInstanceLifecycleConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateNotebookInstanceLifecycleConfigResponse Source #
:: Int |
|
-> UpdateNotebookInstanceLifecycleConfigResponse |
Create a value of UpdateNotebookInstanceLifecycleConfigResponse
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:httpStatus:UpdateNotebookInstanceLifecycleConfigResponse'
, updateNotebookInstanceLifecycleConfigResponse_httpStatus
- The response's http status code.
Response Lenses
updateNotebookInstanceLifecycleConfigResponse_httpStatus :: Lens' UpdateNotebookInstanceLifecycleConfigResponse Int Source #
The response's http status code.