amazonka-glue-2.0: Amazon Glue 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.Glue.GetSession

Description

Retrieves the session.

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.Glue.GetSession

ToHeaders GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Methods

toHeaders :: GetSession -> [Header] #

ToPath GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

ToQuery GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

AWSRequest GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Associated Types

type AWSResponse GetSession #

Generic GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Associated Types

type Rep GetSession :: Type -> Type #

Read GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Show GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

NFData GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Methods

rnf :: GetSession -> () #

Eq GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Hashable GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

type AWSResponse GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

type Rep GetSession Source # 
Instance details

Defined in Amazonka.Glue.GetSession

type Rep GetSession = D1 ('MetaData "GetSession" "Amazonka.Glue.GetSession" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestOrigin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") '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:

$sel:requestOrigin:GetSession', getSession_requestOrigin - The origin of the request.

GetSession, getSession_id - The ID of the session.

Request Lenses

getSession_requestOrigin :: Lens' GetSession (Maybe Text) Source #

The origin of the request.

getSession_id :: Lens' GetSession Text Source #

The ID of the session.

Destructuring the Response

data GetSessionResponse Source #

See: newGetSessionResponse smart constructor.

Constructors

GetSessionResponse' 

Fields

Instances

Instances details
Generic GetSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Associated Types

type Rep GetSessionResponse :: Type -> Type #

Read GetSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Show GetSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSession

NFData GetSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSession

Methods

rnf :: GetSessionResponse -> () #

Eq GetSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSession

type Rep GetSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.GetSession

type Rep GetSessionResponse = D1 ('MetaData "GetSessionResponse" "Amazonka.Glue.GetSession" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "GetSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Session)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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:

$sel:session:GetSessionResponse', getSessionResponse_session - The session object is returned in the response.

$sel:httpStatus:GetSessionResponse', getSessionResponse_httpStatus - The response's http status code.

Response Lenses

getSessionResponse_session :: Lens' GetSessionResponse (Maybe Session) Source #

The session object is returned in the response.