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

Description

Deletes the session.

Synopsis

Creating a Request

data DeleteSession Source #

See: newDeleteSession smart constructor.

Constructors

DeleteSession' 

Fields

Instances

Instances details
ToJSON DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

ToHeaders DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

ToPath DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

ToQuery DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

AWSRequest DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Associated Types

type AWSResponse DeleteSession #

Generic DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Associated Types

type Rep DeleteSession :: Type -> Type #

Read DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Show DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

NFData DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Methods

rnf :: DeleteSession -> () #

Eq DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Hashable DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

type AWSResponse DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

type Rep DeleteSession Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

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

newDeleteSession Source #

Create a value of DeleteSession 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:DeleteSession', deleteSession_requestOrigin - The name of the origin of the delete session request.

DeleteSession, deleteSession_id - The ID of the session to be deleted.

Request Lenses

deleteSession_requestOrigin :: Lens' DeleteSession (Maybe Text) Source #

The name of the origin of the delete session request.

deleteSession_id :: Lens' DeleteSession Text Source #

The ID of the session to be deleted.

Destructuring the Response

data DeleteSessionResponse Source #

See: newDeleteSessionResponse smart constructor.

Constructors

DeleteSessionResponse' 

Fields

Instances

Instances details
Generic DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Associated Types

type Rep DeleteSessionResponse :: Type -> Type #

Read DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Show DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

NFData DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

Methods

rnf :: DeleteSessionResponse -> () #

Eq DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

type Rep DeleteSessionResponse Source # 
Instance details

Defined in Amazonka.Glue.DeleteSession

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

newDeleteSessionResponse Source #

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

DeleteSession, deleteSessionResponse_id - Returns the ID of the deleted session.

$sel:httpStatus:DeleteSessionResponse', deleteSessionResponse_httpStatus - The response's http status code.

Response Lenses

deleteSessionResponse_id :: Lens' DeleteSessionResponse (Maybe Text) Source #

Returns the ID of the deleted session.