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

Description

Executes the statement.

Synopsis

Creating a Request

data RunStatement Source #

See: newRunStatement smart constructor.

Constructors

RunStatement' 

Fields

Instances

Instances details
ToJSON RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

ToHeaders RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

ToPath RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

ToQuery RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

AWSRequest RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Associated Types

type AWSResponse RunStatement #

Generic RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Associated Types

type Rep RunStatement :: Type -> Type #

Read RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Show RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

NFData RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Methods

rnf :: RunStatement -> () #

Eq RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Hashable RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

type AWSResponse RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

type Rep RunStatement Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

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

newRunStatement Source #

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

$sel:sessionId:RunStatement', runStatement_sessionId - The Session Id of the statement to be run.

RunStatement, runStatement_code - The statement code to be run.

Request Lenses

runStatement_sessionId :: Lens' RunStatement Text Source #

The Session Id of the statement to be run.

runStatement_code :: Lens' RunStatement Text Source #

The statement code to be run.

Destructuring the Response

data RunStatementResponse Source #

See: newRunStatementResponse smart constructor.

Constructors

RunStatementResponse' 

Fields

Instances

Instances details
Generic RunStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Associated Types

type Rep RunStatementResponse :: Type -> Type #

Read RunStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Show RunStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

NFData RunStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

Methods

rnf :: RunStatementResponse -> () #

Eq RunStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

type Rep RunStatementResponse Source # 
Instance details

Defined in Amazonka.Glue.RunStatement

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

newRunStatementResponse Source #

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

RunStatementResponse, runStatementResponse_id - Returns the Id of the statement that was run.

$sel:httpStatus:RunStatementResponse', runStatementResponse_httpStatus - The response's http status code.

Response Lenses

runStatementResponse_id :: Lens' RunStatementResponse (Maybe Int) Source #

Returns the Id of the statement that was run.