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 |
Amazonka.SageMaker.DescribeNotebookInstanceLifecycleConfig
Description
Returns a description of a notebook instance lifecycle configuration.
For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance.
Synopsis
- data DescribeNotebookInstanceLifecycleConfig = DescribeNotebookInstanceLifecycleConfig' {}
- newDescribeNotebookInstanceLifecycleConfig :: Text -> DescribeNotebookInstanceLifecycleConfig
- describeNotebookInstanceLifecycleConfig_notebookInstanceLifecycleConfigName :: Lens' DescribeNotebookInstanceLifecycleConfig Text
- data DescribeNotebookInstanceLifecycleConfigResponse = DescribeNotebookInstanceLifecycleConfigResponse' {}
- newDescribeNotebookInstanceLifecycleConfigResponse :: Int -> DescribeNotebookInstanceLifecycleConfigResponse
- describeNotebookInstanceLifecycleConfigResponse_creationTime :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe UTCTime)
- describeNotebookInstanceLifecycleConfigResponse_onCreate :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe [NotebookInstanceLifecycleHook])
- describeNotebookInstanceLifecycleConfigResponse_lastModifiedTime :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe UTCTime)
- describeNotebookInstanceLifecycleConfigResponse_notebookInstanceLifecycleConfigArn :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe Text)
- describeNotebookInstanceLifecycleConfigResponse_onStart :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe [NotebookInstanceLifecycleHook])
- describeNotebookInstanceLifecycleConfigResponse_notebookInstanceLifecycleConfigName :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe Text)
- describeNotebookInstanceLifecycleConfigResponse_httpStatus :: Lens' DescribeNotebookInstanceLifecycleConfigResponse Int
Creating a Request
data DescribeNotebookInstanceLifecycleConfig Source #
See: newDescribeNotebookInstanceLifecycleConfig
smart constructor.
Constructors
DescribeNotebookInstanceLifecycleConfig' | |
Fields
|
Instances
newDescribeNotebookInstanceLifecycleConfig Source #
Arguments
:: Text |
|
-> DescribeNotebookInstanceLifecycleConfig |
Create a value of DescribeNotebookInstanceLifecycleConfig
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:notebookInstanceLifecycleConfigName:DescribeNotebookInstanceLifecycleConfig'
, describeNotebookInstanceLifecycleConfig_notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration to describe.
Request Lenses
describeNotebookInstanceLifecycleConfig_notebookInstanceLifecycleConfigName :: Lens' DescribeNotebookInstanceLifecycleConfig Text Source #
The name of the lifecycle configuration to describe.
Destructuring the Response
data DescribeNotebookInstanceLifecycleConfigResponse Source #
See: newDescribeNotebookInstanceLifecycleConfigResponse
smart constructor.
Constructors
DescribeNotebookInstanceLifecycleConfigResponse' | |
Fields
|
Instances
newDescribeNotebookInstanceLifecycleConfigResponse Source #
Arguments
:: Int |
|
-> DescribeNotebookInstanceLifecycleConfigResponse |
Create a value of DescribeNotebookInstanceLifecycleConfigResponse
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:creationTime:DescribeNotebookInstanceLifecycleConfigResponse'
, describeNotebookInstanceLifecycleConfigResponse_creationTime
- A timestamp that tells when the lifecycle configuration was created.
$sel:onCreate:DescribeNotebookInstanceLifecycleConfigResponse'
, describeNotebookInstanceLifecycleConfigResponse_onCreate
- The shell script that runs only once, when you create a notebook
instance.
$sel:lastModifiedTime:DescribeNotebookInstanceLifecycleConfigResponse'
, describeNotebookInstanceLifecycleConfigResponse_lastModifiedTime
- A timestamp that tells when the lifecycle configuration was last
modified.
$sel:notebookInstanceLifecycleConfigArn:DescribeNotebookInstanceLifecycleConfigResponse'
, describeNotebookInstanceLifecycleConfigResponse_notebookInstanceLifecycleConfigArn
- The Amazon Resource Name (ARN) of the lifecycle configuration.
$sel:onStart:DescribeNotebookInstanceLifecycleConfigResponse'
, describeNotebookInstanceLifecycleConfigResponse_onStart
- The shell script that runs every time you start a notebook instance,
including when you create the notebook instance.
$sel:notebookInstanceLifecycleConfigName:DescribeNotebookInstanceLifecycleConfig'
, describeNotebookInstanceLifecycleConfigResponse_notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration.
$sel:httpStatus:DescribeNotebookInstanceLifecycleConfigResponse'
, describeNotebookInstanceLifecycleConfigResponse_httpStatus
- The response's http status code.
Response Lenses
describeNotebookInstanceLifecycleConfigResponse_creationTime :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe UTCTime) Source #
A timestamp that tells when the lifecycle configuration was created.
describeNotebookInstanceLifecycleConfigResponse_onCreate :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe [NotebookInstanceLifecycleHook]) Source #
The shell script that runs only once, when you create a notebook instance.
describeNotebookInstanceLifecycleConfigResponse_lastModifiedTime :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe UTCTime) Source #
A timestamp that tells when the lifecycle configuration was last modified.
describeNotebookInstanceLifecycleConfigResponse_notebookInstanceLifecycleConfigArn :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the lifecycle configuration.
describeNotebookInstanceLifecycleConfigResponse_onStart :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe [NotebookInstanceLifecycleHook]) Source #
The shell script that runs every time you start a notebook instance, including when you create the notebook instance.
describeNotebookInstanceLifecycleConfigResponse_notebookInstanceLifecycleConfigName :: Lens' DescribeNotebookInstanceLifecycleConfigResponse (Maybe Text) Source #
The name of the lifecycle configuration.
describeNotebookInstanceLifecycleConfigResponse_httpStatus :: Lens' DescribeNotebookInstanceLifecycleConfigResponse Int Source #
The response's http status code.