Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- createPresignedNotebookInstanceURL :: Text -> CreatePresignedNotebookInstanceURL
- data CreatePresignedNotebookInstanceURL
- cpniuSessionExpirationDurationInSeconds :: Lens' CreatePresignedNotebookInstanceURL (Maybe Natural)
- cpniuNotebookInstanceName :: Lens' CreatePresignedNotebookInstanceURL Text
- createPresignedNotebookInstanceURLResponse :: Int -> CreatePresignedNotebookInstanceURLResponse
- data CreatePresignedNotebookInstanceURLResponse
- cpniursAuthorizedURL :: Lens' CreatePresignedNotebookInstanceURLResponse (Maybe Text)
- cpniursResponseStatus :: Lens' CreatePresignedNotebookInstanceURLResponse Int
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:
cpniuSessionExpirationDurationInSeconds
- The duration of the session, in seconds. The default is 12 hours.cpniuNotebookInstanceName
- The name of the notebook instance.
data CreatePresignedNotebookInstanceURL Source #
See: createPresignedNotebookInstanceURL
smart constructor.
Request Lenses
cpniuSessionExpirationDurationInSeconds :: Lens' CreatePresignedNotebookInstanceURL (Maybe Natural) Source #
The duration of the session, in seconds. The default is 12 hours.
cpniuNotebookInstanceName :: Lens' CreatePresignedNotebookInstanceURL Text Source #
The name of the notebook instance.
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:
cpniursAuthorizedURL
- A JSON object that contains the URL string.cpniursResponseStatus
- -- | The response status code.
data CreatePresignedNotebookInstanceURLResponse Source #
See: createPresignedNotebookInstanceURLResponse
smart constructor.
Response Lenses
cpniursAuthorizedURL :: Lens' CreatePresignedNotebookInstanceURLResponse (Maybe Text) Source #
A JSON object that contains the URL string.
cpniursResponseStatus :: Lens' CreatePresignedNotebookInstanceURLResponse Int Source #
- - | The response status code.