amazonka-athena-2.0: Amazon Athena SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Athena.GetSession

Description

Gets the full details of a previously created session, including the session status and configuration.

Synopsis

Creating a Request

data GetSession Source #

See: newGetSession smart constructor.

Constructors

GetSession' 

Fields

Instances

Instances details
ToJSON GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

ToHeaders GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Methods

toHeaders :: GetSession -> [Header] #

ToPath GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

ToQuery GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

AWSRequest GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Associated Types

type AWSResponse GetSession #

Generic GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Associated Types

type Rep GetSession :: Type -> Type #

Read GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Show GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

NFData GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Methods

rnf :: GetSession -> () #

Eq GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Hashable GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

type AWSResponse GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

type Rep GetSession Source # 
Instance details

Defined in Amazonka.Athena.GetSession

type Rep GetSession = D1 ('MetaData "GetSession" "Amazonka.Athena.GetSession" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "GetSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSession Source #

Arguments

:: Text

GetSession

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

Destructuring the Response

data GetSessionResponse Source #

See: newGetSessionResponse smart constructor.

Constructors

GetSessionResponse' 

Fields

Instances

Instances details
Generic GetSessionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Associated Types

type Rep GetSessionResponse :: Type -> Type #

Read GetSessionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Show GetSessionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetSession

NFData GetSessionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetSession

Methods

rnf :: GetSessionResponse -> () #

Eq GetSessionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetSession

type Rep GetSessionResponse Source # 
Instance details

Defined in Amazonka.Athena.GetSession

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_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_sessionConfiguration :: Lens' GetSessionResponse (Maybe SessionConfiguration) Source #

Contains the workgroup configuration information used by the session.

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.