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

Description

Stops the session.

Synopsis

Creating a Request

data StopSession Source #

See: newStopSession smart constructor.

Constructors

StopSession' 

Fields

Instances

Instances details
ToJSON StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

ToHeaders StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Methods

toHeaders :: StopSession -> [Header] #

ToPath StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

ToQuery StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

AWSRequest StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Associated Types

type AWSResponse StopSession #

Generic StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Associated Types

type Rep StopSession :: Type -> Type #

Read StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Show StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

NFData StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Methods

rnf :: StopSession -> () #

Eq StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Hashable StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

type AWSResponse StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

type Rep StopSession Source # 
Instance details

Defined in Amazonka.Glue.StopSession

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

newStopSession Source #

Create a value of StopSession 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:StopSession', stopSession_requestOrigin - The origin of the request.

StopSession, stopSession_id - The ID of the session to be stopped.

Request Lenses

stopSession_id :: Lens' StopSession Text Source #

The ID of the session to be stopped.

Destructuring the Response

data StopSessionResponse Source #

See: newStopSessionResponse smart constructor.

Constructors

StopSessionResponse' 

Fields

Instances

Instances details
Generic StopSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Associated Types

type Rep StopSessionResponse :: Type -> Type #

Read StopSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Show StopSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.StopSession

NFData StopSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.StopSession

Methods

rnf :: StopSessionResponse -> () #

Eq StopSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.StopSession

type Rep StopSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.StopSession

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

newStopSessionResponse Source #

Create a value of StopSessionResponse 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:

StopSession, stopSessionResponse_id - Returns the Id of the stopped session.

$sel:httpStatus:StopSessionResponse', stopSessionResponse_httpStatus - The response's http status code.

Response Lenses

stopSessionResponse_id :: Lens' StopSessionResponse (Maybe Text) Source #

Returns the Id of the stopped session.