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

Contents

Description

Returns a URL that you can use to connect to the Juypter server from a notebook instance. In the Amazon SageMaker console, when you choose Open next to a notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server home page from the notebook instance. The console uses this API to get the URL and show the page.

Synopsis

Creating a Request

createPresignedNotebookInstanceURL Source #

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

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

data CreatePresignedNotebookInstanceURL Source #

See: createPresignedNotebookInstanceURL smart constructor.

Instances

Eq CreatePresignedNotebookInstanceURL Source # 
Data CreatePresignedNotebookInstanceURL Source # 

Methods

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

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

toConstr :: CreatePresignedNotebookInstanceURL -> Constr #

dataTypeOf :: CreatePresignedNotebookInstanceURL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePresignedNotebookInstanceURL Source # 
Show CreatePresignedNotebookInstanceURL Source # 
Generic CreatePresignedNotebookInstanceURL Source # 
Hashable CreatePresignedNotebookInstanceURL Source # 
ToJSON CreatePresignedNotebookInstanceURL Source # 
NFData CreatePresignedNotebookInstanceURL Source # 
AWSRequest CreatePresignedNotebookInstanceURL Source # 
ToHeaders CreatePresignedNotebookInstanceURL Source # 
ToPath CreatePresignedNotebookInstanceURL Source # 
ToQuery CreatePresignedNotebookInstanceURL Source # 
type Rep CreatePresignedNotebookInstanceURL Source # 
type Rep CreatePresignedNotebookInstanceURL = D1 * (MetaData "CreatePresignedNotebookInstanceURL" "Network.AWS.SageMaker.CreatePresignedNotebookInstanceURL" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "CreatePresignedNotebookInstanceURL'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpniuSessionExpirationDurationInSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_cpniuNotebookInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs CreatePresignedNotebookInstanceURL Source # 

Request Lenses

cpniuSessionExpirationDurationInSeconds :: Lens' CreatePresignedNotebookInstanceURL (Maybe Natural) Source #

The duration of the session, in seconds. The default is 12 hours.

Destructuring the Response

createPresignedNotebookInstanceURLResponse Source #

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

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

data CreatePresignedNotebookInstanceURLResponse Source #

Instances

Eq CreatePresignedNotebookInstanceURLResponse Source # 
Data CreatePresignedNotebookInstanceURLResponse Source # 

Methods

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

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

toConstr :: CreatePresignedNotebookInstanceURLResponse -> Constr #

dataTypeOf :: CreatePresignedNotebookInstanceURLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreatePresignedNotebookInstanceURLResponse Source # 
Show CreatePresignedNotebookInstanceURLResponse Source # 
Generic CreatePresignedNotebookInstanceURLResponse Source # 
NFData CreatePresignedNotebookInstanceURLResponse Source # 
type Rep CreatePresignedNotebookInstanceURLResponse Source # 
type Rep CreatePresignedNotebookInstanceURLResponse = D1 * (MetaData "CreatePresignedNotebookInstanceURLResponse" "Network.AWS.SageMaker.CreatePresignedNotebookInstanceURL" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "CreatePresignedNotebookInstanceURLResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cpniursAuthorizedURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cpniursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses