libZSservicesZSamazonka-athenaZSamazonka-athena
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Athena.UpdatePreparedStatement

Description

Updates a prepared statement.

Synopsis

Creating a Request

data UpdatePreparedStatement Source #

See: newUpdatePreparedStatement smart constructor.

Constructors

UpdatePreparedStatement' 

Fields

Instances

Instances details
Eq UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Read UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Show UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Generic UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Associated Types

type Rep UpdatePreparedStatement :: Type -> Type #

NFData UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Methods

rnf :: UpdatePreparedStatement -> () #

Hashable UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToJSON UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

AWSRequest UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToHeaders UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToPath UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

ToQuery UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatement = D1 ('MetaData "UpdatePreparedStatement" "Amazonka.Athena.UpdatePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdatePreparedStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

newUpdatePreparedStatement Source #

Create a value of UpdatePreparedStatement 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:description:UpdatePreparedStatement', updatePreparedStatement_description - The description of the prepared statement.

$sel:statementName:UpdatePreparedStatement', updatePreparedStatement_statementName - The name of the prepared statement.

$sel:workGroup:UpdatePreparedStatement', updatePreparedStatement_workGroup - The workgroup for the prepared statement.

$sel:queryStatement:UpdatePreparedStatement', updatePreparedStatement_queryStatement - The query string for the prepared statement.

Request Lenses

updatePreparedStatement_description :: Lens' UpdatePreparedStatement (Maybe Text) Source #

The description of the prepared statement.

updatePreparedStatement_workGroup :: Lens' UpdatePreparedStatement Text Source #

The workgroup for the prepared statement.

updatePreparedStatement_queryStatement :: Lens' UpdatePreparedStatement Text Source #

The query string for the prepared statement.

Destructuring the Response

data UpdatePreparedStatementResponse Source #

See: newUpdatePreparedStatementResponse smart constructor.

Constructors

UpdatePreparedStatementResponse' 

Fields

Instances

Instances details
Eq UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Read UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Show UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Generic UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

Associated Types

type Rep UpdatePreparedStatementResponse :: Type -> Type #

NFData UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.UpdatePreparedStatement

type Rep UpdatePreparedStatementResponse = D1 ('MetaData "UpdatePreparedStatementResponse" "Amazonka.Athena.UpdatePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "UpdatePreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdatePreparedStatementResponse Source #

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

Response Lenses