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.UpdateNotebookInstance

Contents

Description

Updates a notebook instance. NotebookInstance updates include upgrading or downgrading the ML compute instance used for your notebook instance to accommodate changes in your workload requirements. You can also update the VPC security groups.

Synopsis

Creating a Request

updateNotebookInstance Source #

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

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

data UpdateNotebookInstance Source #

See: updateNotebookInstance smart constructor.

Instances

Eq UpdateNotebookInstance Source # 
Data UpdateNotebookInstance Source # 

Methods

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

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

toConstr :: UpdateNotebookInstance -> Constr #

dataTypeOf :: UpdateNotebookInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateNotebookInstance Source # 
Show UpdateNotebookInstance Source # 
Generic UpdateNotebookInstance Source # 
Hashable UpdateNotebookInstance Source # 
ToJSON UpdateNotebookInstance Source # 
NFData UpdateNotebookInstance Source # 

Methods

rnf :: UpdateNotebookInstance -> () #

AWSRequest UpdateNotebookInstance Source # 
ToHeaders UpdateNotebookInstance Source # 
ToPath UpdateNotebookInstance Source # 
ToQuery UpdateNotebookInstance Source # 
type Rep UpdateNotebookInstance Source # 
type Rep UpdateNotebookInstance = D1 * (MetaData "UpdateNotebookInstance" "Network.AWS.SageMaker.UpdateNotebookInstance" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "UpdateNotebookInstance'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uniInstanceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe InstanceType))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uniRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uniNotebookInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateNotebookInstance Source # 

Request Lenses

uniInstanceType :: Lens' UpdateNotebookInstance (Maybe InstanceType) Source #

The Amazon ML compute instance type.

uniRoleARN :: Lens' UpdateNotebookInstance (Maybe Text) Source #

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

uniNotebookInstanceName :: Lens' UpdateNotebookInstance Text Source #

The name of the notebook instance to update.

Destructuring the Response

updateNotebookInstanceResponse Source #

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

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

data UpdateNotebookInstanceResponse Source #

See: updateNotebookInstanceResponse smart constructor.

Instances

Eq UpdateNotebookInstanceResponse Source # 
Data UpdateNotebookInstanceResponse Source # 

Methods

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

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

toConstr :: UpdateNotebookInstanceResponse -> Constr #

dataTypeOf :: UpdateNotebookInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateNotebookInstanceResponse Source # 
Show UpdateNotebookInstanceResponse Source # 
Generic UpdateNotebookInstanceResponse Source # 
NFData UpdateNotebookInstanceResponse Source # 
type Rep UpdateNotebookInstanceResponse Source # 
type Rep UpdateNotebookInstanceResponse = D1 * (MetaData "UpdateNotebookInstanceResponse" "Network.AWS.SageMaker.UpdateNotebookInstance" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" True) (C1 * (MetaCons "UpdateNotebookInstanceResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_unirsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses