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

Description

Retrieves the prepared statement with the specified name from the specified workgroup.

Synopsis

Creating a Request

data GetPreparedStatement Source #

See: newGetPreparedStatement smart constructor.

Constructors

GetPreparedStatement' 

Fields

Instances

Instances details
Eq GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Read GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Show GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Generic GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Associated Types

type Rep GetPreparedStatement :: Type -> Type #

NFData GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Methods

rnf :: GetPreparedStatement -> () #

Hashable GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

ToJSON GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

AWSRequest GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Associated Types

type AWSResponse GetPreparedStatement #

ToHeaders GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

ToPath GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

ToQuery GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

type Rep GetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

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

Defined in Amazonka.Athena.GetPreparedStatement

newGetPreparedStatement Source #

Create a value of GetPreparedStatement 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:statementName:GetPreparedStatement', getPreparedStatement_statementName - The name of the prepared statement to retrieve.

$sel:workGroup:GetPreparedStatement', getPreparedStatement_workGroup - The workgroup to which the statement to be retrieved belongs.

Request Lenses

getPreparedStatement_statementName :: Lens' GetPreparedStatement Text Source #

The name of the prepared statement to retrieve.

getPreparedStatement_workGroup :: Lens' GetPreparedStatement Text Source #

The workgroup to which the statement to be retrieved belongs.

Destructuring the Response

data GetPreparedStatementResponse Source #

See: newGetPreparedStatementResponse smart constructor.

Constructors

GetPreparedStatementResponse' 

Fields

Instances

Instances details
Eq GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Read GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Show GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Generic GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

Associated Types

type Rep GetPreparedStatementResponse :: Type -> Type #

NFData GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

type Rep GetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.GetPreparedStatement

type Rep GetPreparedStatementResponse = D1 ('MetaData "GetPreparedStatementResponse" "Amazonka.Athena.GetPreparedStatement" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "GetPreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preparedStatement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PreparedStatement)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPreparedStatementResponse Source #

Create a value of GetPreparedStatementResponse 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:preparedStatement:GetPreparedStatementResponse', getPreparedStatementResponse_preparedStatement - The name of the prepared statement that was retrieved.

$sel:httpStatus:GetPreparedStatementResponse', getPreparedStatementResponse_httpStatus - The response's http status code.

Response Lenses