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 |
Returns information about a notebook instance.
Synopsis
- data DescribeNotebookInstance = DescribeNotebookInstance' {}
- newDescribeNotebookInstance :: Text -> DescribeNotebookInstance
- describeNotebookInstance_notebookInstanceName :: Lens' DescribeNotebookInstance Text
- data DescribeNotebookInstanceResponse = DescribeNotebookInstanceResponse' {
- creationTime :: Maybe POSIX
- failureReason :: Maybe Text
- acceleratorTypes :: Maybe [NotebookInstanceAcceleratorType]
- platformIdentifier :: Maybe Text
- notebookInstanceName :: Maybe Text
- securityGroups :: Maybe [Text]
- additionalCodeRepositories :: Maybe [Text]
- url :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- networkInterfaceId :: Maybe Text
- subnetId :: Maybe Text
- instanceType :: Maybe InstanceType
- notebookInstanceStatus :: Maybe NotebookInstanceStatus
- defaultCodeRepository :: Maybe Text
- volumeSizeInGB :: Maybe Natural
- kmsKeyId :: Maybe Text
- rootAccess :: Maybe RootAccess
- directInternetAccess :: Maybe DirectInternetAccess
- notebookInstanceArn :: Maybe Text
- notebookInstanceLifecycleConfigName :: Maybe Text
- roleArn :: Maybe Text
- httpStatus :: Int
- newDescribeNotebookInstanceResponse :: Int -> DescribeNotebookInstanceResponse
- describeNotebookInstanceResponse_creationTime :: Lens' DescribeNotebookInstanceResponse (Maybe UTCTime)
- describeNotebookInstanceResponse_failureReason :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_acceleratorTypes :: Lens' DescribeNotebookInstanceResponse (Maybe [NotebookInstanceAcceleratorType])
- describeNotebookInstanceResponse_platformIdentifier :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_notebookInstanceName :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_securityGroups :: Lens' DescribeNotebookInstanceResponse (Maybe [Text])
- describeNotebookInstanceResponse_additionalCodeRepositories :: Lens' DescribeNotebookInstanceResponse (Maybe [Text])
- describeNotebookInstanceResponse_url :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_lastModifiedTime :: Lens' DescribeNotebookInstanceResponse (Maybe UTCTime)
- describeNotebookInstanceResponse_networkInterfaceId :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_subnetId :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_instanceType :: Lens' DescribeNotebookInstanceResponse (Maybe InstanceType)
- describeNotebookInstanceResponse_notebookInstanceStatus :: Lens' DescribeNotebookInstanceResponse (Maybe NotebookInstanceStatus)
- describeNotebookInstanceResponse_defaultCodeRepository :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_volumeSizeInGB :: Lens' DescribeNotebookInstanceResponse (Maybe Natural)
- describeNotebookInstanceResponse_kmsKeyId :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_rootAccess :: Lens' DescribeNotebookInstanceResponse (Maybe RootAccess)
- describeNotebookInstanceResponse_directInternetAccess :: Lens' DescribeNotebookInstanceResponse (Maybe DirectInternetAccess)
- describeNotebookInstanceResponse_notebookInstanceArn :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_notebookInstanceLifecycleConfigName :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_roleArn :: Lens' DescribeNotebookInstanceResponse (Maybe Text)
- describeNotebookInstanceResponse_httpStatus :: Lens' DescribeNotebookInstanceResponse Int
Creating a Request
data DescribeNotebookInstance Source #
See: newDescribeNotebookInstance
smart constructor.
DescribeNotebookInstance' | |
|
Instances
newDescribeNotebookInstance Source #
Create a value of DescribeNotebookInstance
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:notebookInstanceName:DescribeNotebookInstance'
, describeNotebookInstance_notebookInstanceName
- The name of the notebook instance that you want information about.
Request Lenses
describeNotebookInstance_notebookInstanceName :: Lens' DescribeNotebookInstance Text Source #
The name of the notebook instance that you want information about.
Destructuring the Response
data DescribeNotebookInstanceResponse Source #
See: newDescribeNotebookInstanceResponse
smart constructor.
DescribeNotebookInstanceResponse' | |
|
Instances
newDescribeNotebookInstanceResponse Source #
Create a value of DescribeNotebookInstanceResponse
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:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_creationTime
- A timestamp. Use this parameter to return the time when the notebook
instance was created
$sel:failureReason:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_failureReason
- If status is Failed
, the reason it failed.
$sel:acceleratorTypes:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_acceleratorTypes
- A list of the Elastic Inference (EI) instance types associated with this
notebook instance. Currently only one EI instance type can be associated
with a notebook instance. For more information, see
Using Elastic Inference in Amazon SageMaker.
$sel:platformIdentifier:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_platformIdentifier
- The platform identifier of the notebook instance runtime environment.
$sel:notebookInstanceName:DescribeNotebookInstance'
, describeNotebookInstanceResponse_notebookInstanceName
- The name of the Amazon SageMaker notebook instance.
$sel:securityGroups:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_securityGroups
- The IDs of the VPC security groups.
$sel:additionalCodeRepositories:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_additionalCodeRepositories
- An array of up to three Git repositories associated with the notebook
instance. These can be either the names of Git repositories stored as
resources in your account, or the URL of Git repositories in
Amazon Web Services CodeCommit
or in any other Git repository. These repositories are cloned at the
same level as the default repository of your notebook instance. For more
information, see
Associating Git Repositories with Amazon SageMaker Notebook Instances.
$sel:url:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_url
- The URL that you use to connect to the Jupyter notebook that is running
in your notebook instance.
$sel:lastModifiedTime:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_lastModifiedTime
- A timestamp. Use this parameter to retrieve the time when the notebook
instance was last modified.
$sel:networkInterfaceId:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_networkInterfaceId
- The network interface IDs that Amazon SageMaker created at the time of
creating the instance.
$sel:subnetId:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_subnetId
- The ID of the VPC subnet.
$sel:instanceType:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_instanceType
- The type of ML compute instance running on the notebook instance.
$sel:notebookInstanceStatus:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_notebookInstanceStatus
- The status of the notebook instance.
$sel:defaultCodeRepository:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_defaultCodeRepository
- The Git repository associated with the notebook instance as its default
code repository. This can be either the name of a Git repository stored
as a resource in your account, or the URL of a Git repository in
Amazon Web Services CodeCommit
or in any other Git repository. When you open a notebook instance, it
opens in the directory that contains this repository. For more
information, see
Associating Git Repositories with Amazon SageMaker Notebook Instances.
$sel:volumeSizeInGB:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_volumeSizeInGB
- The size, in GB, of the ML storage volume attached to the notebook
instance.
$sel:kmsKeyId:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_kmsKeyId
- The Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data
when storing it on the ML storage volume attached to the instance.
$sel:rootAccess:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_rootAccess
- Whether root access is enabled or disabled for users of the notebook
instance.
Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
$sel:directInternetAccess:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_directInternetAccess
- Describes whether Amazon SageMaker provides internet access to the
notebook instance. If this value is set to Disabled, the notebook
instance does not have internet access, and cannot connect to Amazon
SageMaker training and endpoint services.
For more information, see Notebook Instances Are Internet-Enabled by Default.
$sel:notebookInstanceArn:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_notebookInstanceArn
- The Amazon Resource Name (ARN) of the notebook instance.
$sel:notebookInstanceLifecycleConfigName:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_notebookInstanceLifecycleConfigName
- Returns the name of a notebook instance lifecycle configuration.
For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance
$sel:roleArn:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with the
instance.
$sel:httpStatus:DescribeNotebookInstanceResponse'
, describeNotebookInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
describeNotebookInstanceResponse_creationTime :: Lens' DescribeNotebookInstanceResponse (Maybe UTCTime) Source #
A timestamp. Use this parameter to return the time when the notebook instance was created
describeNotebookInstanceResponse_failureReason :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
If status is Failed
, the reason it failed.
describeNotebookInstanceResponse_acceleratorTypes :: Lens' DescribeNotebookInstanceResponse (Maybe [NotebookInstanceAcceleratorType]) Source #
A list of the Elastic Inference (EI) instance types associated with this notebook instance. Currently only one EI instance type can be associated with a notebook instance. For more information, see Using Elastic Inference in Amazon SageMaker.
describeNotebookInstanceResponse_platformIdentifier :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The platform identifier of the notebook instance runtime environment.
describeNotebookInstanceResponse_notebookInstanceName :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The name of the Amazon SageMaker notebook instance.
describeNotebookInstanceResponse_securityGroups :: Lens' DescribeNotebookInstanceResponse (Maybe [Text]) Source #
The IDs of the VPC security groups.
describeNotebookInstanceResponse_additionalCodeRepositories :: Lens' DescribeNotebookInstanceResponse (Maybe [Text]) Source #
An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in Amazon Web Services CodeCommit or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see Associating Git Repositories with Amazon SageMaker Notebook Instances.
describeNotebookInstanceResponse_url :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
describeNotebookInstanceResponse_lastModifiedTime :: Lens' DescribeNotebookInstanceResponse (Maybe UTCTime) Source #
A timestamp. Use this parameter to retrieve the time when the notebook instance was last modified.
describeNotebookInstanceResponse_networkInterfaceId :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The network interface IDs that Amazon SageMaker created at the time of creating the instance.
describeNotebookInstanceResponse_subnetId :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The ID of the VPC subnet.
describeNotebookInstanceResponse_instanceType :: Lens' DescribeNotebookInstanceResponse (Maybe InstanceType) Source #
The type of ML compute instance running on the notebook instance.
describeNotebookInstanceResponse_notebookInstanceStatus :: Lens' DescribeNotebookInstanceResponse (Maybe NotebookInstanceStatus) Source #
The status of the notebook instance.
describeNotebookInstanceResponse_defaultCodeRepository :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in Amazon Web Services CodeCommit or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see Associating Git Repositories with Amazon SageMaker Notebook Instances.
describeNotebookInstanceResponse_volumeSizeInGB :: Lens' DescribeNotebookInstanceResponse (Maybe Natural) Source #
The size, in GB, of the ML storage volume attached to the notebook instance.
describeNotebookInstanceResponse_kmsKeyId :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The Amazon Web Services KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.
describeNotebookInstanceResponse_rootAccess :: Lens' DescribeNotebookInstanceResponse (Maybe RootAccess) Source #
Whether root access is enabled or disabled for users of the notebook instance.
Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
describeNotebookInstanceResponse_directInternetAccess :: Lens' DescribeNotebookInstanceResponse (Maybe DirectInternetAccess) Source #
Describes whether Amazon SageMaker provides internet access to the notebook instance. If this value is set to Disabled, the notebook instance does not have internet access, and cannot connect to Amazon SageMaker training and endpoint services.
For more information, see Notebook Instances Are Internet-Enabled by Default.
describeNotebookInstanceResponse_notebookInstanceArn :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the notebook instance.
describeNotebookInstanceResponse_notebookInstanceLifecycleConfigName :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
Returns the name of a notebook instance lifecycle configuration.
For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance
describeNotebookInstanceResponse_roleArn :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM role associated with the instance.
describeNotebookInstanceResponse_httpStatus :: Lens' DescribeNotebookInstanceResponse Int Source #
The response's http status code.