Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets the full details of a previously created session, including the session status and configuration.
Synopsis
- data GetSession = GetSession' {}
- newGetSession :: Text -> GetSession
- getSession_sessionId :: Lens' GetSession Text
- data GetSessionResponse = GetSessionResponse' {
- description :: Maybe Text
- engineConfiguration :: Maybe EngineConfiguration
- engineVersion :: Maybe Text
- notebookVersion :: Maybe Text
- sessionConfiguration :: Maybe SessionConfiguration
- sessionId :: Maybe Text
- statistics :: Maybe SessionStatistics
- status :: Maybe SessionStatus
- workGroup :: Maybe Text
- httpStatus :: Int
- newGetSessionResponse :: Int -> GetSessionResponse
- getSessionResponse_description :: Lens' GetSessionResponse (Maybe Text)
- getSessionResponse_engineConfiguration :: Lens' GetSessionResponse (Maybe EngineConfiguration)
- getSessionResponse_engineVersion :: Lens' GetSessionResponse (Maybe Text)
- getSessionResponse_notebookVersion :: Lens' GetSessionResponse (Maybe Text)
- getSessionResponse_sessionConfiguration :: Lens' GetSessionResponse (Maybe SessionConfiguration)
- getSessionResponse_sessionId :: Lens' GetSessionResponse (Maybe Text)
- getSessionResponse_statistics :: Lens' GetSessionResponse (Maybe SessionStatistics)
- getSessionResponse_status :: Lens' GetSessionResponse (Maybe SessionStatus)
- getSessionResponse_workGroup :: Lens' GetSessionResponse (Maybe Text)
- getSessionResponse_httpStatus :: Lens' GetSessionResponse Int
Creating a Request
data GetSession Source #
See: newGetSession
smart constructor.
Instances
:: Text | |
-> GetSession |
Create a value of GetSession
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:
GetSession
, getSession_sessionId
- The session ID.
Request Lenses
getSession_sessionId :: Lens' GetSession Text Source #
The session ID.
Destructuring the Response
data GetSessionResponse Source #
See: newGetSessionResponse
smart constructor.
GetSessionResponse' | |
|
Instances
newGetSessionResponse Source #
Create a value of GetSessionResponse
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:
GetSessionResponse
, getSessionResponse_description
- The session description.
$sel:engineConfiguration:GetSessionResponse'
, getSessionResponse_engineConfiguration
- Contains engine configuration information like DPU usage.
GetSessionResponse
, getSessionResponse_engineVersion
- The engine version used by the session (for example,
PySpark engine version 3
). You can get a list of engine versions by
calling ListEngineVersions.
GetSessionResponse
, getSessionResponse_notebookVersion
- The notebook version.
$sel:sessionConfiguration:GetSessionResponse'
, getSessionResponse_sessionConfiguration
- Contains the workgroup configuration information used by the session.
GetSession
, getSessionResponse_sessionId
- The session ID.
GetSessionResponse
, getSessionResponse_statistics
- Contains the DPU execution time.
GetSessionResponse
, getSessionResponse_status
- Contains information about the status of the session.
GetSessionResponse
, getSessionResponse_workGroup
- The workgroup to which the session belongs.
$sel:httpStatus:GetSessionResponse'
, getSessionResponse_httpStatus
- The response's http status code.
Response Lenses
getSessionResponse_description :: Lens' GetSessionResponse (Maybe Text) Source #
The session description.
getSessionResponse_engineConfiguration :: Lens' GetSessionResponse (Maybe EngineConfiguration) Source #
Contains engine configuration information like DPU usage.
getSessionResponse_engineVersion :: Lens' GetSessionResponse (Maybe Text) Source #
The engine version used by the session (for example,
PySpark engine version 3
). You can get a list of engine versions by
calling ListEngineVersions.
getSessionResponse_notebookVersion :: Lens' GetSessionResponse (Maybe Text) Source #
The notebook version.
getSessionResponse_sessionConfiguration :: Lens' GetSessionResponse (Maybe SessionConfiguration) Source #
Contains the workgroup configuration information used by the session.
getSessionResponse_sessionId :: Lens' GetSessionResponse (Maybe Text) Source #
The session ID.
getSessionResponse_statistics :: Lens' GetSessionResponse (Maybe SessionStatistics) Source #
Contains the DPU execution time.
getSessionResponse_status :: Lens' GetSessionResponse (Maybe SessionStatus) Source #
Contains information about the status of the session.
getSessionResponse_workGroup :: Lens' GetSessionResponse (Maybe Text) Source #
The workgroup to which the session belongs.
getSessionResponse_httpStatus :: Lens' GetSessionResponse Int Source #
The response's http status code.