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

Description

Cancels the statement.

Synopsis

Creating a Request

data CancelStatement Source #

See: newCancelStatement smart constructor.

Constructors

CancelStatement' 

Fields

Instances

Instances details
ToJSON CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

ToHeaders CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

ToPath CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

ToQuery CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

AWSRequest CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Associated Types

type AWSResponse CancelStatement #

Generic CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Associated Types

type Rep CancelStatement :: Type -> Type #

Read CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Show CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

NFData CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Methods

rnf :: CancelStatement -> () #

Eq CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Hashable CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

type AWSResponse CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

type Rep CancelStatement Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

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

newCancelStatement Source #

Create a value of CancelStatement 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:CancelStatement', cancelStatement_requestOrigin - The origin of the request to cancel the statement.

$sel:sessionId:CancelStatement', cancelStatement_sessionId - The Session ID of the statement to be cancelled.

CancelStatement, cancelStatement_id - The ID of the statement to be cancelled.

Request Lenses

cancelStatement_requestOrigin :: Lens' CancelStatement (Maybe Text) Source #

The origin of the request to cancel the statement.

cancelStatement_sessionId :: Lens' CancelStatement Text Source #

The Session ID of the statement to be cancelled.

cancelStatement_id :: Lens' CancelStatement Int Source #

The ID of the statement to be cancelled.

Destructuring the Response

data CancelStatementResponse Source #

See: newCancelStatementResponse smart constructor.

Constructors

CancelStatementResponse' 

Fields

Instances

Instances details
Generic CancelStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Associated Types

type Rep CancelStatementResponse :: Type -> Type #

Read CancelStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Show CancelStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

NFData CancelStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

Methods

rnf :: CancelStatementResponse -> () #

Eq CancelStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

type Rep CancelStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.CancelStatement

type Rep CancelStatementResponse = D1 ('MetaData "CancelStatementResponse" "Amazonka.Glue.CancelStatement" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "CancelStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelStatementResponse Source #

Create a value of CancelStatementResponse 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:httpStatus:CancelStatementResponse', cancelStatementResponse_httpStatus - The response's http status code.

Response Lenses