amazonka-athena-1.6.0: Amazon Athena SDK.

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

Network.AWS.Athena.Types

Contents

Description

 

Synopsis

Service Configuration

athena :: Service Source #

API version 2017-05-18 of the Amazon Athena SDK configuration.

Errors

_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the request was throttled.

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates a platform issue, which may be due to a transient condition or outage.

ColumnNullable

data ColumnNullable Source #

Constructors

NotNull 
Nullable 
Unknown 

Instances

Bounded ColumnNullable Source # 
Enum ColumnNullable Source # 
Eq ColumnNullable Source # 
Data ColumnNullable Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColumnNullable -> c ColumnNullable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColumnNullable #

toConstr :: ColumnNullable -> Constr #

dataTypeOf :: ColumnNullable -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ColumnNullable) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColumnNullable) #

gmapT :: (forall b. Data b => b -> b) -> ColumnNullable -> ColumnNullable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColumnNullable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColumnNullable -> r #

gmapQ :: (forall d. Data d => d -> u) -> ColumnNullable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ColumnNullable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColumnNullable -> m ColumnNullable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnNullable -> m ColumnNullable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnNullable -> m ColumnNullable #

Ord ColumnNullable Source # 
Read ColumnNullable Source # 
Show ColumnNullable Source # 
Generic ColumnNullable Source # 

Associated Types

type Rep ColumnNullable :: * -> * #

Hashable ColumnNullable Source # 
FromJSON ColumnNullable Source # 
NFData ColumnNullable Source # 

Methods

rnf :: ColumnNullable -> () #

ToHeader ColumnNullable Source # 
ToQuery ColumnNullable Source # 
ToByteString ColumnNullable Source # 
FromText ColumnNullable Source # 
ToText ColumnNullable Source # 
type Rep ColumnNullable Source # 
type Rep ColumnNullable = D1 * (MetaData "ColumnNullable" "Network.AWS.Athena.Types.Sum" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) ((:+:) * (C1 * (MetaCons "NotNull" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Nullable" PrefixI False) (U1 *)) (C1 * (MetaCons "Unknown" PrefixI False) (U1 *))))

EncryptionOption

data EncryptionOption Source #

Constructors

CseKMS 
SseKMS 
SseS3 

Instances

Bounded EncryptionOption Source # 
Enum EncryptionOption Source # 
Eq EncryptionOption Source # 
Data EncryptionOption Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EncryptionOption -> c EncryptionOption #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EncryptionOption #

toConstr :: EncryptionOption -> Constr #

dataTypeOf :: EncryptionOption -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EncryptionOption) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EncryptionOption) #

gmapT :: (forall b. Data b => b -> b) -> EncryptionOption -> EncryptionOption #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionOption -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionOption -> r #

gmapQ :: (forall d. Data d => d -> u) -> EncryptionOption -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EncryptionOption -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EncryptionOption -> m EncryptionOption #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionOption -> m EncryptionOption #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionOption -> m EncryptionOption #

Ord EncryptionOption Source # 
Read EncryptionOption Source # 
Show EncryptionOption Source # 
Generic EncryptionOption Source # 
Hashable EncryptionOption Source # 
ToJSON EncryptionOption Source # 
FromJSON EncryptionOption Source # 
NFData EncryptionOption Source # 

Methods

rnf :: EncryptionOption -> () #

ToHeader EncryptionOption Source # 
ToQuery EncryptionOption Source # 
ToByteString EncryptionOption Source # 
FromText EncryptionOption Source # 
ToText EncryptionOption Source # 
type Rep EncryptionOption Source # 
type Rep EncryptionOption = D1 * (MetaData "EncryptionOption" "Network.AWS.Athena.Types.Sum" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) ((:+:) * (C1 * (MetaCons "CseKMS" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "SseKMS" PrefixI False) (U1 *)) (C1 * (MetaCons "SseS3" PrefixI False) (U1 *))))

QueryExecutionState

data QueryExecutionState Source #

Instances

Bounded QueryExecutionState Source # 
Enum QueryExecutionState Source # 
Eq QueryExecutionState Source # 
Data QueryExecutionState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionState -> c QueryExecutionState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionState #

toConstr :: QueryExecutionState -> Constr #

dataTypeOf :: QueryExecutionState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionState) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionState -> QueryExecutionState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionState -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionState -> m QueryExecutionState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionState -> m QueryExecutionState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionState -> m QueryExecutionState #

Ord QueryExecutionState Source # 
Read QueryExecutionState Source # 
Show QueryExecutionState Source # 
Generic QueryExecutionState Source # 
Hashable QueryExecutionState Source # 
FromJSON QueryExecutionState Source # 
NFData QueryExecutionState Source # 

Methods

rnf :: QueryExecutionState -> () #

ToHeader QueryExecutionState Source # 
ToQuery QueryExecutionState Source # 
ToByteString QueryExecutionState Source # 
FromText QueryExecutionState Source # 
ToText QueryExecutionState Source # 
type Rep QueryExecutionState Source # 
type Rep QueryExecutionState = D1 * (MetaData "QueryExecutionState" "Network.AWS.Athena.Types.Sum" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Cancelled" PrefixI False) (U1 *)) (C1 * (MetaCons "Failed" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Queued" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Running" PrefixI False) (U1 *)) (C1 * (MetaCons "Succeeded" PrefixI False) (U1 *)))))

ColumnInfo

data ColumnInfo Source #

Information about the columns in a query execution result.

See: columnInfo smart constructor.

Instances

Eq ColumnInfo Source # 
Data ColumnInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColumnInfo -> c ColumnInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColumnInfo #

toConstr :: ColumnInfo -> Constr #

dataTypeOf :: ColumnInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ColumnInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColumnInfo) #

gmapT :: (forall b. Data b => b -> b) -> ColumnInfo -> ColumnInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColumnInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColumnInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> ColumnInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ColumnInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColumnInfo -> m ColumnInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnInfo -> m ColumnInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnInfo -> m ColumnInfo #

Read ColumnInfo Source # 
Show ColumnInfo Source # 
Generic ColumnInfo Source # 

Associated Types

type Rep ColumnInfo :: * -> * #

Hashable ColumnInfo Source # 
FromJSON ColumnInfo Source # 
NFData ColumnInfo Source # 

Methods

rnf :: ColumnInfo -> () #

type Rep ColumnInfo Source # 

columnInfo Source #

Arguments

:: Text

ciName

-> Text

ciType

-> ColumnInfo 

Creates a value of ColumnInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ciScale - For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.
  • ciPrecision - For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.
  • ciSchemaName - The schema name (database name) to which the query results belong.
  • ciCatalogName - The catalog to which the query results belong.
  • ciCaseSensitive - Indicates whether values in the column are case-sensitive.
  • ciLabel - A column label.
  • ciTableName - The table name for the query results.
  • ciNullable - Indicates the column's nullable status.
  • ciName - The name of the column.
  • ciType - The data type of the column.

ciScale :: Lens' ColumnInfo (Maybe Int) Source #

For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.

ciPrecision :: Lens' ColumnInfo (Maybe Int) Source #

For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.

ciSchemaName :: Lens' ColumnInfo (Maybe Text) Source #

The schema name (database name) to which the query results belong.

ciCatalogName :: Lens' ColumnInfo (Maybe Text) Source #

The catalog to which the query results belong.

ciCaseSensitive :: Lens' ColumnInfo (Maybe Bool) Source #

Indicates whether values in the column are case-sensitive.

ciLabel :: Lens' ColumnInfo (Maybe Text) Source #

A column label.

ciTableName :: Lens' ColumnInfo (Maybe Text) Source #

The table name for the query results.

ciNullable :: Lens' ColumnInfo (Maybe ColumnNullable) Source #

Indicates the column's nullable status.

ciName :: Lens' ColumnInfo Text Source #

The name of the column.

ciType :: Lens' ColumnInfo Text Source #

The data type of the column.

Datum

data Datum Source #

A piece of data (a field in the table).

See: datum smart constructor.

Instances

Eq Datum Source # 

Methods

(==) :: Datum -> Datum -> Bool #

(/=) :: Datum -> Datum -> Bool #

Data Datum Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Datum -> c Datum #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Datum #

toConstr :: Datum -> Constr #

dataTypeOf :: Datum -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Datum) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Datum) #

gmapT :: (forall b. Data b => b -> b) -> Datum -> Datum #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Datum -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Datum -> r #

gmapQ :: (forall d. Data d => d -> u) -> Datum -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Datum -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Datum -> m Datum #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Datum -> m Datum #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Datum -> m Datum #

Read Datum Source # 
Show Datum Source # 

Methods

showsPrec :: Int -> Datum -> ShowS #

show :: Datum -> String #

showList :: [Datum] -> ShowS #

Generic Datum Source # 

Associated Types

type Rep Datum :: * -> * #

Methods

from :: Datum -> Rep Datum x #

to :: Rep Datum x -> Datum #

Hashable Datum Source # 

Methods

hashWithSalt :: Int -> Datum -> Int #

hash :: Datum -> Int #

FromJSON Datum Source # 
NFData Datum Source # 

Methods

rnf :: Datum -> () #

type Rep Datum Source # 
type Rep Datum = D1 * (MetaData "Datum" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" True) (C1 * (MetaCons "Datum'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dVarCharValue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))

datum :: Datum Source #

Creates a value of Datum with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dVarCharValue :: Lens' Datum (Maybe Text) Source #

The value of the datum.

EncryptionConfiguration

data EncryptionConfiguration Source #

If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption option used.

See: encryptionConfiguration smart constructor.

Instances

Eq EncryptionConfiguration Source # 
Data EncryptionConfiguration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EncryptionConfiguration -> c EncryptionConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EncryptionConfiguration #

toConstr :: EncryptionConfiguration -> Constr #

dataTypeOf :: EncryptionConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EncryptionConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EncryptionConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> EncryptionConfiguration -> EncryptionConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EncryptionConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> EncryptionConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EncryptionConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EncryptionConfiguration -> m EncryptionConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionConfiguration -> m EncryptionConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EncryptionConfiguration -> m EncryptionConfiguration #

Read EncryptionConfiguration Source # 
Show EncryptionConfiguration Source # 
Generic EncryptionConfiguration Source # 
Hashable EncryptionConfiguration Source # 
ToJSON EncryptionConfiguration Source # 
FromJSON EncryptionConfiguration Source # 
NFData EncryptionConfiguration Source # 

Methods

rnf :: EncryptionConfiguration -> () #

type Rep EncryptionConfiguration Source # 
type Rep EncryptionConfiguration = D1 * (MetaData "EncryptionConfiguration" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "EncryptionConfiguration'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ecKMSKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ecEncryptionOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * EncryptionOption))))

encryptionConfiguration Source #

Creates a value of EncryptionConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ecKMSKey - For SSE-KMS and CSE-KMS , this is the KMS key ARN or ID.
  • ecEncryptionOption - Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3 ), server-side encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with KMS-managed keys (CSE-KMS) is used.

ecKMSKey :: Lens' EncryptionConfiguration (Maybe Text) Source #

For SSE-KMS and CSE-KMS , this is the KMS key ARN or ID.

ecEncryptionOption :: Lens' EncryptionConfiguration EncryptionOption Source #

Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3 ), server-side encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with KMS-managed keys (CSE-KMS) is used.

NamedQuery

data NamedQuery Source #

A query, where QueryString is the SQL query statements that comprise the query.

See: namedQuery smart constructor.

Instances

Eq NamedQuery Source # 
Data NamedQuery Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NamedQuery -> c NamedQuery #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NamedQuery #

toConstr :: NamedQuery -> Constr #

dataTypeOf :: NamedQuery -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NamedQuery) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NamedQuery) #

gmapT :: (forall b. Data b => b -> b) -> NamedQuery -> NamedQuery #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NamedQuery -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NamedQuery -> r #

gmapQ :: (forall d. Data d => d -> u) -> NamedQuery -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NamedQuery -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NamedQuery -> m NamedQuery #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NamedQuery -> m NamedQuery #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NamedQuery -> m NamedQuery #

Read NamedQuery Source # 
Show NamedQuery Source # 
Generic NamedQuery Source # 

Associated Types

type Rep NamedQuery :: * -> * #

Hashable NamedQuery Source # 
FromJSON NamedQuery Source # 
NFData NamedQuery Source # 

Methods

rnf :: NamedQuery -> () #

type Rep NamedQuery Source # 
type Rep NamedQuery = D1 * (MetaData "NamedQuery" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "NamedQuery'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_nqNamedQueryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_nqDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_nqName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_nqDatabase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_nqQueryString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))

namedQuery Source #

Creates a value of NamedQuery with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nqNamedQueryId :: Lens' NamedQuery (Maybe Text) Source #

The unique identifier of the query.

nqDescription :: Lens' NamedQuery (Maybe Text) Source #

A brief description of the query.

nqName :: Lens' NamedQuery Text Source #

The plain-language name of the query.

nqDatabase :: Lens' NamedQuery Text Source #

The database to which the query belongs.

nqQueryString :: Lens' NamedQuery Text Source #

The SQL query statements that comprise the query.

QueryExecution

data QueryExecution Source #

Information about a single instance of a query execution.

See: queryExecution smart constructor.

Instances

Eq QueryExecution Source # 
Data QueryExecution Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecution -> c QueryExecution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecution #

toConstr :: QueryExecution -> Constr #

dataTypeOf :: QueryExecution -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecution) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecution) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecution -> QueryExecution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecution -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecution -> m QueryExecution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecution -> m QueryExecution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecution -> m QueryExecution #

Read QueryExecution Source # 
Show QueryExecution Source # 
Generic QueryExecution Source # 

Associated Types

type Rep QueryExecution :: * -> * #

Hashable QueryExecution Source # 
FromJSON QueryExecution Source # 
NFData QueryExecution Source # 

Methods

rnf :: QueryExecution -> () #

type Rep QueryExecution Source # 

queryExecution :: QueryExecution Source #

Creates a value of QueryExecution with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qeStatus - The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
  • qeQueryExecutionContext - The database in which the query execution occurred.
  • qeResultConfiguration - The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.
  • qeQuery - The SQL query statements which the query execution ran.
  • qeStatistics - The amount of data scanned during the query execution and the amount of time that it took to execute.
  • qeQueryExecutionId - The unique identifier for each query execution.

qeStatus :: Lens' QueryExecution (Maybe QueryExecutionStatus) Source #

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

qeQueryExecutionContext :: Lens' QueryExecution (Maybe QueryExecutionContext) Source #

The database in which the query execution occurred.

qeResultConfiguration :: Lens' QueryExecution (Maybe ResultConfiguration) Source #

The location in Amazon S3 where query results were stored and the encryption option, if any, used for query results.

qeQuery :: Lens' QueryExecution (Maybe Text) Source #

The SQL query statements which the query execution ran.

qeStatistics :: Lens' QueryExecution (Maybe QueryExecutionStatistics) Source #

The amount of data scanned during the query execution and the amount of time that it took to execute.

qeQueryExecutionId :: Lens' QueryExecution (Maybe Text) Source #

The unique identifier for each query execution.

QueryExecutionContext

data QueryExecutionContext Source #

The database in which the query execution occurs.

See: queryExecutionContext smart constructor.

Instances

Eq QueryExecutionContext Source # 
Data QueryExecutionContext Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionContext -> c QueryExecutionContext #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionContext #

toConstr :: QueryExecutionContext -> Constr #

dataTypeOf :: QueryExecutionContext -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionContext) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionContext) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionContext -> QueryExecutionContext #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionContext -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionContext -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionContext -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionContext -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionContext -> m QueryExecutionContext #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionContext -> m QueryExecutionContext #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionContext -> m QueryExecutionContext #

Read QueryExecutionContext Source # 
Show QueryExecutionContext Source # 
Generic QueryExecutionContext Source # 
Hashable QueryExecutionContext Source # 
ToJSON QueryExecutionContext Source # 
FromJSON QueryExecutionContext Source # 
NFData QueryExecutionContext Source # 

Methods

rnf :: QueryExecutionContext -> () #

type Rep QueryExecutionContext Source # 
type Rep QueryExecutionContext = D1 * (MetaData "QueryExecutionContext" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" True) (C1 * (MetaCons "QueryExecutionContext'" PrefixI True) (S1 * (MetaSel (Just Symbol "_qecDatabase") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))

queryExecutionContext :: QueryExecutionContext Source #

Creates a value of QueryExecutionContext with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

qecDatabase :: Lens' QueryExecutionContext (Maybe Text) Source #

The name of the database.

QueryExecutionStatistics

data QueryExecutionStatistics Source #

The amount of data scanned during the query execution and the amount of time that it took to execute.

See: queryExecutionStatistics smart constructor.

Instances

Eq QueryExecutionStatistics Source # 
Data QueryExecutionStatistics Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionStatistics -> c QueryExecutionStatistics #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionStatistics #

toConstr :: QueryExecutionStatistics -> Constr #

dataTypeOf :: QueryExecutionStatistics -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionStatistics) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionStatistics) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionStatistics -> QueryExecutionStatistics #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatistics -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatistics -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionStatistics -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionStatistics -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionStatistics -> m QueryExecutionStatistics #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatistics -> m QueryExecutionStatistics #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatistics -> m QueryExecutionStatistics #

Read QueryExecutionStatistics Source # 
Show QueryExecutionStatistics Source # 
Generic QueryExecutionStatistics Source # 
Hashable QueryExecutionStatistics Source # 
FromJSON QueryExecutionStatistics Source # 
NFData QueryExecutionStatistics Source # 
type Rep QueryExecutionStatistics Source # 
type Rep QueryExecutionStatistics = D1 * (MetaData "QueryExecutionStatistics" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "QueryExecutionStatistics'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_qesEngineExecutionTimeInMillis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "_qesDataScannedInBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer)))))

queryExecutionStatistics :: QueryExecutionStatistics Source #

Creates a value of QueryExecutionStatistics with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

qesEngineExecutionTimeInMillis :: Lens' QueryExecutionStatistics (Maybe Integer) Source #

The number of milliseconds that the query took to execute.

qesDataScannedInBytes :: Lens' QueryExecutionStatistics (Maybe Integer) Source #

The number of bytes in the data that was queried.

QueryExecutionStatus

data QueryExecutionStatus Source #

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

See: queryExecutionStatus smart constructor.

Instances

Eq QueryExecutionStatus Source # 
Data QueryExecutionStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QueryExecutionStatus -> c QueryExecutionStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QueryExecutionStatus #

toConstr :: QueryExecutionStatus -> Constr #

dataTypeOf :: QueryExecutionStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QueryExecutionStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QueryExecutionStatus) #

gmapT :: (forall b. Data b => b -> b) -> QueryExecutionStatus -> QueryExecutionStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QueryExecutionStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> QueryExecutionStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QueryExecutionStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QueryExecutionStatus -> m QueryExecutionStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatus -> m QueryExecutionStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QueryExecutionStatus -> m QueryExecutionStatus #

Read QueryExecutionStatus Source # 
Show QueryExecutionStatus Source # 
Generic QueryExecutionStatus Source # 
Hashable QueryExecutionStatus Source # 
FromJSON QueryExecutionStatus Source # 
NFData QueryExecutionStatus Source # 

Methods

rnf :: QueryExecutionStatus -> () #

type Rep QueryExecutionStatus Source # 
type Rep QueryExecutionStatus = D1 * (MetaData "QueryExecutionStatus" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "QueryExecutionStatus'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_qesState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe QueryExecutionState))) (S1 * (MetaSel (Just Symbol "_qesStateChangeReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_qesSubmissionDateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_qesCompletionDateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))))))

queryExecutionStatus :: QueryExecutionStatus Source #

Creates a value of QueryExecutionStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • qesState - The state of query execution. SUBMITTED indicates that the query is queued for execution. RUNNING indicates that the query is scanning data and returning results. SUCCEEDED indicates that the query completed without error. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that user input interrupted query execution.
  • qesStateChangeReason - Further detail about the status of the query.
  • qesSubmissionDateTime - The date and time that the query was submitted.
  • qesCompletionDateTime - The date and time that the query completed.

qesState :: Lens' QueryExecutionStatus (Maybe QueryExecutionState) Source #

The state of query execution. SUBMITTED indicates that the query is queued for execution. RUNNING indicates that the query is scanning data and returning results. SUCCEEDED indicates that the query completed without error. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that user input interrupted query execution.

qesStateChangeReason :: Lens' QueryExecutionStatus (Maybe Text) Source #

Further detail about the status of the query.

qesSubmissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime) Source #

The date and time that the query was submitted.

qesCompletionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime) Source #

The date and time that the query completed.

ResultConfiguration

data ResultConfiguration Source #

The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results.

See: resultConfiguration smart constructor.

Instances

Eq ResultConfiguration Source # 
Data ResultConfiguration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResultConfiguration -> c ResultConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResultConfiguration #

toConstr :: ResultConfiguration -> Constr #

dataTypeOf :: ResultConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResultConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResultConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> ResultConfiguration -> ResultConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResultConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResultConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResultConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResultConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResultConfiguration -> m ResultConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultConfiguration -> m ResultConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultConfiguration -> m ResultConfiguration #

Read ResultConfiguration Source # 
Show ResultConfiguration Source # 
Generic ResultConfiguration Source # 
Hashable ResultConfiguration Source # 
ToJSON ResultConfiguration Source # 
FromJSON ResultConfiguration Source # 
NFData ResultConfiguration Source # 

Methods

rnf :: ResultConfiguration -> () #

type Rep ResultConfiguration Source # 
type Rep ResultConfiguration = D1 * (MetaData "ResultConfiguration" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "ResultConfiguration'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rcEncryptionConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe EncryptionConfiguration))) (S1 * (MetaSel (Just Symbol "_rcOutputLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

resultConfiguration Source #

Creates a value of ResultConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rcEncryptionConfiguration - If query results are encrypted in S3, indicates the S3 encryption option used (for example, SSE-KMS or CSE-KMS and key information.
  • rcOutputLocation - The location in S3 where query results are stored.

rcEncryptionConfiguration :: Lens' ResultConfiguration (Maybe EncryptionConfiguration) Source #

If query results are encrypted in S3, indicates the S3 encryption option used (for example, SSE-KMS or CSE-KMS and key information.

rcOutputLocation :: Lens' ResultConfiguration Text Source #

The location in S3 where query results are stored.

ResultSet

data ResultSet Source #

The metadata and rows that comprise a query result set. The metadata describes the column structure and data types.

See: resultSet smart constructor.

Instances

Eq ResultSet Source # 
Data ResultSet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResultSet -> c ResultSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResultSet #

toConstr :: ResultSet -> Constr #

dataTypeOf :: ResultSet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResultSet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResultSet) #

gmapT :: (forall b. Data b => b -> b) -> ResultSet -> ResultSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResultSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResultSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResultSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResultSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResultSet -> m ResultSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSet -> m ResultSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSet -> m ResultSet #

Read ResultSet Source # 
Show ResultSet Source # 
Generic ResultSet Source # 

Associated Types

type Rep ResultSet :: * -> * #

Hashable ResultSet Source # 
FromJSON ResultSet Source # 
NFData ResultSet Source # 

Methods

rnf :: ResultSet -> () #

type Rep ResultSet Source # 
type Rep ResultSet = D1 * (MetaData "ResultSet" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "ResultSet'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rsRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Row]))) (S1 * (MetaSel (Just Symbol "_rsResultSetMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ResultSetMetadata)))))

resultSet :: ResultSet Source #

Creates a value of ResultSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rsRows - The rows in the table.
  • rsResultSetMetadata - The metadata that describes the column structure and data types of a table of query results.

rsRows :: Lens' ResultSet [Row] Source #

The rows in the table.

rsResultSetMetadata :: Lens' ResultSet (Maybe ResultSetMetadata) Source #

The metadata that describes the column structure and data types of a table of query results.

ResultSetMetadata

data ResultSetMetadata Source #

The metadata that describes the column structure and data types of a table of query results.

See: resultSetMetadata smart constructor.

Instances

Eq ResultSetMetadata Source # 
Data ResultSetMetadata Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResultSetMetadata -> c ResultSetMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResultSetMetadata #

toConstr :: ResultSetMetadata -> Constr #

dataTypeOf :: ResultSetMetadata -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResultSetMetadata) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResultSetMetadata) #

gmapT :: (forall b. Data b => b -> b) -> ResultSetMetadata -> ResultSetMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResultSetMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResultSetMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResultSetMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResultSetMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResultSetMetadata -> m ResultSetMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSetMetadata -> m ResultSetMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResultSetMetadata -> m ResultSetMetadata #

Read ResultSetMetadata Source # 
Show ResultSetMetadata Source # 
Generic ResultSetMetadata Source # 
Hashable ResultSetMetadata Source # 
FromJSON ResultSetMetadata Source # 
NFData ResultSetMetadata Source # 

Methods

rnf :: ResultSetMetadata -> () #

type Rep ResultSetMetadata Source # 
type Rep ResultSetMetadata = D1 * (MetaData "ResultSetMetadata" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" True) (C1 * (MetaCons "ResultSetMetadata'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rsmColumnInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [ColumnInfo]))))

resultSetMetadata :: ResultSetMetadata Source #

Creates a value of ResultSetMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rsmColumnInfo - Information about the columns in a query execution result.

rsmColumnInfo :: Lens' ResultSetMetadata [ColumnInfo] Source #

Information about the columns in a query execution result.

Row

data Row Source #

The rows that comprise a query result table.

See: row smart constructor.

Instances

Eq Row Source # 

Methods

(==) :: Row -> Row -> Bool #

(/=) :: Row -> Row -> Bool #

Data Row Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Row -> c Row #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Row #

toConstr :: Row -> Constr #

dataTypeOf :: Row -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Row) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Row) #

gmapT :: (forall b. Data b => b -> b) -> Row -> Row #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Row -> r #

gmapQ :: (forall d. Data d => d -> u) -> Row -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Row -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Row -> m Row #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Row -> m Row #

Read Row Source # 
Show Row Source # 

Methods

showsPrec :: Int -> Row -> ShowS #

show :: Row -> String #

showList :: [Row] -> ShowS #

Generic Row Source # 

Associated Types

type Rep Row :: * -> * #

Methods

from :: Row -> Rep Row x #

to :: Rep Row x -> Row #

Hashable Row Source # 

Methods

hashWithSalt :: Int -> Row -> Int #

hash :: Row -> Int #

FromJSON Row Source # 
NFData Row Source # 

Methods

rnf :: Row -> () #

type Rep Row Source # 
type Rep Row = D1 * (MetaData "Row" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" True) (C1 * (MetaCons "Row'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rowData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [Datum]))))

row :: Row Source #

Creates a value of Row with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rowData - The data that populates a row in a query result table.

rowData :: Lens' Row [Datum] Source #

The data that populates a row in a query result table.

UnprocessedNamedQueryId

data UnprocessedNamedQueryId Source #

Information about a named query ID that could not be processed.

See: unprocessedNamedQueryId smart constructor.

Instances

Eq UnprocessedNamedQueryId Source # 
Data UnprocessedNamedQueryId Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnprocessedNamedQueryId -> c UnprocessedNamedQueryId #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnprocessedNamedQueryId #

toConstr :: UnprocessedNamedQueryId -> Constr #

dataTypeOf :: UnprocessedNamedQueryId -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UnprocessedNamedQueryId) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnprocessedNamedQueryId) #

gmapT :: (forall b. Data b => b -> b) -> UnprocessedNamedQueryId -> UnprocessedNamedQueryId #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedNamedQueryId -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedNamedQueryId -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnprocessedNamedQueryId -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnprocessedNamedQueryId -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnprocessedNamedQueryId -> m UnprocessedNamedQueryId #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedNamedQueryId -> m UnprocessedNamedQueryId #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedNamedQueryId -> m UnprocessedNamedQueryId #

Read UnprocessedNamedQueryId Source # 
Show UnprocessedNamedQueryId Source # 
Generic UnprocessedNamedQueryId Source # 
Hashable UnprocessedNamedQueryId Source # 
FromJSON UnprocessedNamedQueryId Source # 
NFData UnprocessedNamedQueryId Source # 

Methods

rnf :: UnprocessedNamedQueryId -> () #

type Rep UnprocessedNamedQueryId Source # 
type Rep UnprocessedNamedQueryId = D1 * (MetaData "UnprocessedNamedQueryId" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "UnprocessedNamedQueryId'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_unqiNamedQueryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_unqiErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_unqiErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))

unprocessedNamedQueryId :: UnprocessedNamedQueryId Source #

Creates a value of UnprocessedNamedQueryId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • unqiNamedQueryId - The unique identifier of the named query.
  • unqiErrorCode - The error code returned when the processing request for the named query failed, if applicable.
  • unqiErrorMessage - The error message returned when the processing request for the named query failed, if applicable.

unqiNamedQueryId :: Lens' UnprocessedNamedQueryId (Maybe Text) Source #

The unique identifier of the named query.

unqiErrorCode :: Lens' UnprocessedNamedQueryId (Maybe Text) Source #

The error code returned when the processing request for the named query failed, if applicable.

unqiErrorMessage :: Lens' UnprocessedNamedQueryId (Maybe Text) Source #

The error message returned when the processing request for the named query failed, if applicable.

UnprocessedQueryExecutionId

data UnprocessedQueryExecutionId Source #

Describes a query execution that failed to process.

See: unprocessedQueryExecutionId smart constructor.

Instances

Eq UnprocessedQueryExecutionId Source # 
Data UnprocessedQueryExecutionId Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UnprocessedQueryExecutionId -> c UnprocessedQueryExecutionId #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UnprocessedQueryExecutionId #

toConstr :: UnprocessedQueryExecutionId -> Constr #

dataTypeOf :: UnprocessedQueryExecutionId -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UnprocessedQueryExecutionId) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UnprocessedQueryExecutionId) #

gmapT :: (forall b. Data b => b -> b) -> UnprocessedQueryExecutionId -> UnprocessedQueryExecutionId #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedQueryExecutionId -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UnprocessedQueryExecutionId -> r #

gmapQ :: (forall d. Data d => d -> u) -> UnprocessedQueryExecutionId -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UnprocessedQueryExecutionId -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UnprocessedQueryExecutionId -> m UnprocessedQueryExecutionId #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedQueryExecutionId -> m UnprocessedQueryExecutionId #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UnprocessedQueryExecutionId -> m UnprocessedQueryExecutionId #

Read UnprocessedQueryExecutionId Source # 
Show UnprocessedQueryExecutionId Source # 
Generic UnprocessedQueryExecutionId Source # 
Hashable UnprocessedQueryExecutionId Source # 
FromJSON UnprocessedQueryExecutionId Source # 
NFData UnprocessedQueryExecutionId Source # 
type Rep UnprocessedQueryExecutionId Source # 
type Rep UnprocessedQueryExecutionId = D1 * (MetaData "UnprocessedQueryExecutionId" "Network.AWS.Athena.Types.Product" "amazonka-athena-1.6.0-KugH04EmDfr8lF2gyqYv3y" False) (C1 * (MetaCons "UnprocessedQueryExecutionId'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uqeiErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uqeiQueryExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uqeiErrorMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))

unprocessedQueryExecutionId :: UnprocessedQueryExecutionId Source #

Creates a value of UnprocessedQueryExecutionId with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uqeiErrorCode - The error code returned when the query execution failed to process, if applicable.
  • uqeiQueryExecutionId - The unique identifier of the query execution.
  • uqeiErrorMessage - The error message returned when the query execution failed to process, if applicable.

uqeiErrorCode :: Lens' UnprocessedQueryExecutionId (Maybe Text) Source #

The error code returned when the query execution failed to process, if applicable.

uqeiQueryExecutionId :: Lens' UnprocessedQueryExecutionId (Maybe Text) Source #

The unique identifier of the query execution.

uqeiErrorMessage :: Lens' UnprocessedQueryExecutionId (Maybe Text) Source #

The error message returned when the query execution failed to process, if applicable.