amazonka-athena-2.0: Amazon Athena 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.Athena.BatchGetPreparedStatement

Description

Returns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide. Requires you to have access to the workgroup to which the prepared statements belong. If a prepared statement cannot be retrieved for the name specified, the statement is listed in UnprocessedPreparedStatementNames.

Synopsis

Creating a Request

data BatchGetPreparedStatement Source #

See: newBatchGetPreparedStatement smart constructor.

Constructors

BatchGetPreparedStatement' 

Fields

Instances

Instances details
ToJSON BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

ToHeaders BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

ToPath BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

ToQuery BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

AWSRequest BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Generic BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Associated Types

type Rep BatchGetPreparedStatement :: Type -> Type #

Read BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Show BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

NFData BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Eq BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Hashable BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

type AWSResponse BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

type Rep BatchGetPreparedStatement Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

type Rep BatchGetPreparedStatement = D1 ('MetaData "BatchGetPreparedStatement" "Amazonka.Athena.BatchGetPreparedStatement" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "BatchGetPreparedStatement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preparedStatementNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "workGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newBatchGetPreparedStatement Source #

Create a value of BatchGetPreparedStatement 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:preparedStatementNames:BatchGetPreparedStatement', batchGetPreparedStatement_preparedStatementNames - A list of prepared statement names to return.

BatchGetPreparedStatement, batchGetPreparedStatement_workGroup - The name of the workgroup to which the prepared statements belong.

Request Lenses

batchGetPreparedStatement_workGroup :: Lens' BatchGetPreparedStatement Text Source #

The name of the workgroup to which the prepared statements belong.

Destructuring the Response

data BatchGetPreparedStatementResponse Source #

See: newBatchGetPreparedStatementResponse smart constructor.

Constructors

BatchGetPreparedStatementResponse' 

Fields

Instances

Instances details
Generic BatchGetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Associated Types

type Rep BatchGetPreparedStatementResponse :: Type -> Type #

Read BatchGetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Show BatchGetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

NFData BatchGetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

Eq BatchGetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

type Rep BatchGetPreparedStatementResponse Source # 
Instance details

Defined in Amazonka.Athena.BatchGetPreparedStatement

type Rep BatchGetPreparedStatementResponse = D1 ('MetaData "BatchGetPreparedStatementResponse" "Amazonka.Athena.BatchGetPreparedStatement" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "BatchGetPreparedStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preparedStatements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PreparedStatement])) :*: (S1 ('MetaSel ('Just "unprocessedPreparedStatementNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedPreparedStatementName])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newBatchGetPreparedStatementResponse Source #

Create a value of BatchGetPreparedStatementResponse 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:preparedStatements:BatchGetPreparedStatementResponse', batchGetPreparedStatementResponse_preparedStatements - The list of prepared statements returned.

$sel:unprocessedPreparedStatementNames:BatchGetPreparedStatementResponse', batchGetPreparedStatementResponse_unprocessedPreparedStatementNames - A list of one or more prepared statements that were requested but could not be returned.

$sel:httpStatus:BatchGetPreparedStatementResponse', batchGetPreparedStatementResponse_httpStatus - The response's http status code.

Response Lenses

batchGetPreparedStatementResponse_unprocessedPreparedStatementNames :: Lens' BatchGetPreparedStatementResponse (Maybe [UnprocessedPreparedStatementName]) Source #

A list of one or more prepared statements that were requested but could not be returned.