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.Types.PreparedStatement

Description

 
Synopsis

Documentation

data PreparedStatement Source #

A prepared SQL statement for use with Athena.

See: newPreparedStatement smart constructor.

Constructors

PreparedStatement' 

Fields

Instances

Instances details
Eq PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Read PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Show PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Generic PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Associated Types

type Rep PreparedStatement :: Type -> Type #

NFData PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

Methods

rnf :: PreparedStatement -> () #

Hashable PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

FromJSON PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

type Rep PreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.Types.PreparedStatement

type Rep PreparedStatement = D1 ('MetaData "PreparedStatement" "Amazonka.Athena.Types.PreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "PreparedStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "queryStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "statementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPreparedStatement :: PreparedStatement Source #

Create a value of PreparedStatement 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:lastModifiedTime:PreparedStatement', preparedStatement_lastModifiedTime - The last modified time of the prepared statement.

$sel:queryStatement:PreparedStatement', preparedStatement_queryStatement - The query string for the prepared statement.

$sel:statementName:PreparedStatement', preparedStatement_statementName - The name of the prepared statement.

$sel:description:PreparedStatement', preparedStatement_description - The description of the prepared statement.

$sel:workGroupName:PreparedStatement', preparedStatement_workGroupName - The name of the workgroup to which the prepared statement belongs.

preparedStatement_lastModifiedTime :: Lens' PreparedStatement (Maybe UTCTime) Source #

The last modified time of the prepared statement.

preparedStatement_queryStatement :: Lens' PreparedStatement (Maybe Text) Source #

The query string for the prepared statement.

preparedStatement_statementName :: Lens' PreparedStatement (Maybe Text) Source #

The name of the prepared statement.

preparedStatement_description :: Lens' PreparedStatement (Maybe Text) Source #

The description of the prepared statement.

preparedStatement_workGroupName :: Lens' PreparedStatement (Maybe Text) Source #

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