amazonka-sagemaker-1.6.0: Amazon SageMaker Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SageMaker.DescribeNotebookInstance

Contents

Description

Returns information about a notebook instance.

Synopsis

Creating a Request

describeNotebookInstance Source #

Creates a value of DescribeNotebookInstance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeNotebookInstance Source #

See: describeNotebookInstance smart constructor.

Instances

Eq DescribeNotebookInstance Source # 
Data DescribeNotebookInstance Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeNotebookInstance -> c DescribeNotebookInstance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeNotebookInstance #

toConstr :: DescribeNotebookInstance -> Constr #

dataTypeOf :: DescribeNotebookInstance -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeNotebookInstance) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeNotebookInstance) #

gmapT :: (forall b. Data b => b -> b) -> DescribeNotebookInstance -> DescribeNotebookInstance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeNotebookInstance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeNotebookInstance -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeNotebookInstance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeNotebookInstance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeNotebookInstance -> m DescribeNotebookInstance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeNotebookInstance -> m DescribeNotebookInstance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeNotebookInstance -> m DescribeNotebookInstance #

Read DescribeNotebookInstance Source # 
Show DescribeNotebookInstance Source # 
Generic DescribeNotebookInstance Source # 
Hashable DescribeNotebookInstance Source # 
ToJSON DescribeNotebookInstance Source # 
NFData DescribeNotebookInstance Source # 
AWSRequest DescribeNotebookInstance Source # 
ToHeaders DescribeNotebookInstance Source # 
ToPath DescribeNotebookInstance Source # 
ToQuery DescribeNotebookInstance Source # 
type Rep DescribeNotebookInstance Source # 
type Rep DescribeNotebookInstance = D1 * (MetaData "DescribeNotebookInstance" "Network.AWS.SageMaker.DescribeNotebookInstance" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" True) (C1 * (MetaCons "DescribeNotebookInstance'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dniNotebookInstanceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeNotebookInstance Source # 

Request Lenses

dniNotebookInstanceName :: Lens' DescribeNotebookInstance Text Source #

The name of the notebook instance that you want information about.

Destructuring the Response

describeNotebookInstanceResponse Source #

Creates a value of DescribeNotebookInstanceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dnirsCreationTime - A timestamp. Use this parameter to return the time when the notebook instance was created
  • dnirsFailureReason - If status is failed, the reason it failed.
  • dnirsNotebookInstanceName - Name of the Amazon SageMaker notebook instance.
  • dnirsSecurityGroups - The IDs of the VPC security groups.
  • dnirsURL - The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.
  • dnirsLastModifiedTime - A timestamp. Use this parameter to retrieve the time when the notebook instance was last modified.
  • dnirsNetworkInterfaceId - Network interface IDs that Amazon SageMaker created at the time of creating the instance.
  • dnirsSubnetId - The ID of the VPC subnet.
  • dnirsInstanceType - The type of ML compute instance running on the notebook instance.
  • dnirsKMSKeyId - AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.
  • dnirsDirectInternetAccess - Describes whether Amazon SageMaker provides internet access to the notebook instance. If this value is set to Disabled, he notebook instance does not have internet access, and cannot connect to Amazon SageMaker training and endpoint services . For more information, see 'appendix-notebook-and-internet-access' .
  • dnirsNotebookInstanceARN - The Amazon Resource Name (ARN) of the notebook instance.
  • dnirsNotebookInstanceLifecycleConfigName - Returns the name of a notebook instance lifecycle configuration. For information about notebook instance lifestyle configurations, see 'notebook-lifecycle-config' .
  • dnirsRoleARN - Amazon Resource Name (ARN) of the IAM role associated with the instance.
  • dnirsResponseStatus - -- | The response status code.
  • dnirsNotebookInstanceStatus - The status of the notebook instance.

data DescribeNotebookInstanceResponse Source #

See: describeNotebookInstanceResponse smart constructor.

Instances

Eq DescribeNotebookInstanceResponse Source # 
Data DescribeNotebookInstanceResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeNotebookInstanceResponse -> c DescribeNotebookInstanceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeNotebookInstanceResponse #

toConstr :: DescribeNotebookInstanceResponse -> Constr #

dataTypeOf :: DescribeNotebookInstanceResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeNotebookInstanceResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeNotebookInstanceResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeNotebookInstanceResponse -> DescribeNotebookInstanceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeNotebookInstanceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeNotebookInstanceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeNotebookInstanceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeNotebookInstanceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeNotebookInstanceResponse -> m DescribeNotebookInstanceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeNotebookInstanceResponse -> m DescribeNotebookInstanceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeNotebookInstanceResponse -> m DescribeNotebookInstanceResponse #

Read DescribeNotebookInstanceResponse Source # 
Show DescribeNotebookInstanceResponse Source # 
Generic DescribeNotebookInstanceResponse Source # 
NFData DescribeNotebookInstanceResponse Source # 
type Rep DescribeNotebookInstanceResponse Source # 
type Rep DescribeNotebookInstanceResponse = D1 * (MetaData "DescribeNotebookInstanceResponse" "Network.AWS.SageMaker.DescribeNotebookInstance" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "DescribeNotebookInstanceResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_dnirsFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsNotebookInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dnirsSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dnirsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsNetworkInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dnirsSubnetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsInstanceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe InstanceType))) (S1 * (MetaSel (Just Symbol "_dnirsKMSKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsDirectInternetAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DirectInternetAccess))) (S1 * (MetaSel (Just Symbol "_dnirsNotebookInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsNotebookInstanceLifecycleConfigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dnirsRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dnirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_dnirsNotebookInstanceStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * NotebookInstanceStatus)))))))

Response Lenses

dnirsCreationTime :: Lens' DescribeNotebookInstanceResponse (Maybe UTCTime) Source #

A timestamp. Use this parameter to return the time when the notebook instance was created

dnirsFailureReason :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

If status is failed, the reason it failed.

dnirsNotebookInstanceName :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

Name of the Amazon SageMaker notebook instance.

dnirsSecurityGroups :: Lens' DescribeNotebookInstanceResponse [Text] Source #

The IDs of the VPC security groups.

dnirsURL :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

The URL that you use to connect to the Jupyter notebook that is running in your notebook instance.

dnirsLastModifiedTime :: Lens' DescribeNotebookInstanceResponse (Maybe UTCTime) Source #

A timestamp. Use this parameter to retrieve the time when the notebook instance was last modified.

dnirsNetworkInterfaceId :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

Network interface IDs that Amazon SageMaker created at the time of creating the instance.

dnirsInstanceType :: Lens' DescribeNotebookInstanceResponse (Maybe InstanceType) Source #

The type of ML compute instance running on the notebook instance.

dnirsKMSKeyId :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the ML storage volume attached to the instance.

dnirsDirectInternetAccess :: Lens' DescribeNotebookInstanceResponse (Maybe DirectInternetAccess) Source #

Describes whether Amazon SageMaker provides internet access to the notebook instance. If this value is set to Disabled, he notebook instance does not have internet access, and cannot connect to Amazon SageMaker training and endpoint services . For more information, see 'appendix-notebook-and-internet-access' .

dnirsNotebookInstanceARN :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the notebook instance.

dnirsNotebookInstanceLifecycleConfigName :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

Returns the name of a notebook instance lifecycle configuration. For information about notebook instance lifestyle configurations, see 'notebook-lifecycle-config' .

dnirsRoleARN :: Lens' DescribeNotebookInstanceResponse (Maybe Text) Source #

Amazon Resource Name (ARN) of the IAM role associated with the instance.