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

Description

Creates a prepared statement for use with SQL queries in Athena.

Synopsis

Creating a Request

data CreatePreparedStatement Source #

See: newCreatePreparedStatement smart constructor.

Constructors

CreatePreparedStatement' 

Fields

Instances

Instances details
Eq CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Read CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Show CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Generic CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Associated Types

type Rep CreatePreparedStatement :: Type -> Type #

NFData CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Methods

rnf :: CreatePreparedStatement -> () #

Hashable CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToJSON CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

AWSRequest CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToHeaders CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToPath CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

ToQuery CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

type Rep CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

type Rep CreatePreparedStatement = D1 ('MetaData "CreatePreparedStatement" "Amazonka.Athena.CreatePreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "CreatePreparedStatement'" '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 CreatePreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

newCreatePreparedStatement Source #

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

$sel:statementName:CreatePreparedStatement', createPreparedStatement_statementName - The name of the prepared statement.

$sel:workGroup:CreatePreparedStatement', createPreparedStatement_workGroup - The name of the workgroup to which the prepared statement belongs.

$sel:queryStatement:CreatePreparedStatement', createPreparedStatement_queryStatement - The query string for the prepared statement.

Request Lenses

createPreparedStatement_description :: Lens' CreatePreparedStatement (Maybe Text) Source #

The description of the prepared statement.

createPreparedStatement_workGroup :: Lens' CreatePreparedStatement Text Source #

The name of the workgroup to which the prepared statement belongs.

createPreparedStatement_queryStatement :: Lens' CreatePreparedStatement Text Source #

The query string for the prepared statement.

Destructuring the Response

data CreatePreparedStatementResponse Source #

See: newCreatePreparedStatementResponse smart constructor.

Constructors

CreatePreparedStatementResponse' 

Fields

Instances

Instances details
Eq CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Read CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Show CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Generic CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

Associated Types

type Rep CreatePreparedStatementResponse :: Type -> Type #

NFData CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

type Rep CreatePreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.CreatePreparedStatement

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

newCreatePreparedStatementResponse Source #

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

Response Lenses