| 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.UpdateNotebookInstanceLifecycleConfig
Description
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.
Constructors
| UpdateNotebookInstanceLifecycleConfig' | |
Fields 
  | |
Instances
newUpdateNotebookInstanceLifecycleConfig Source #
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.
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.
Constructors
| UpdateNotebookInstanceLifecycleConfigResponse' | |
Fields 
  | |
Instances
newUpdateNotebookInstanceLifecycleConfigResponse Source #
Arguments
| :: 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.